:root {
  --navy: #06243f;
  --navy-2: #0b385f;
  --teal: #0aa6a6;
  --teal-dark: #087f83;
  --gold: #d8a94a;
  --ink: #162332;
  --muted: #607080;
  --line: #dbe6ef;
  --paper: #f7fbfd;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(6, 36, 63, 0.14);
  --soft: 0 14px 36px rgba(6, 36, 63, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 230, 239, 0.95);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  min-width: 210px;
  display: inline-flex;
  align-items: center;
}

.brand strong {
  display: block;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.05;
}

.brand span span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 13px;
  color: #304252;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 750;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--teal-dark);
  background: rgba(10, 166, 166, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--navy-2));
  box-shadow: 0 16px 34px rgba(10, 166, 166, 0.24);
}

.btn-gold {
  color: #061f35;
  background: #ffc247;
  box-shadow: 0 14px 30px rgba(216, 169, 74, 0.22);
}

.breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.breadcrumb .shell {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5a6d80;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #476176;
}

.breadcrumb span:last-child {
  min-width: 0;
}

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 36, 63, 0.98), rgba(9, 73, 95, 0.94)),
    url("/assets/saude-internacional-hero.png") center / cover;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(216, 169, 74, 0.26), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
}

.blog-hero .shell {
  position: relative;
  z-index: 1;
}

.kicker {
  margin: 0 0 14px;
  color: #80ece5;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-hero h1,
.article-title {
  max-width: 900px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.35rem, 5vw, 4.9rem);
  line-height: 1.02;
}

.blog-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.72;
}

.hero-pills,
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.13);
  font-size: 0.84rem;
  font-weight: 800;
}

.blog-list {
  padding: 74px 0 90px;
}

.list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.list-head h2 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.08;
}

.list-head p {
  max-width: 450px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft);
  transition: transform 0.24s, box-shadow 0.24s, border-color 0.24s;
}

.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(10, 166, 166, 0.34);
  box-shadow: var(--shadow);
}

.post-card img {
  width: 100%;
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  background: #eaf2f6;
}

.post-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.library-hero h1 {
  max-width: 920px;
}

.editorial-pillars {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: -46px;
}

.editorial-pillars article {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft);
}

.editorial-pillars span,
.post-card > a > span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.editorial-pillars h2 {
  margin: 10px 0 8px;
  color: var(--navy);
  font-size: 1.18rem;
}

.editorial-pillars p,
.post-card > a > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.post-list {
  padding: 70px 0 90px;
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.posts-grid .post-card {
  min-height: 0;
}

.post-card > a {
  display: grid;
  gap: 12px;
  height: 100%;
  padding: 0 22px 22px;
}

.post-card > a > img {
  width: calc(100% + 44px);
  height: 190px;
  max-width: none;
  margin: 0 -22px 8px;
  aspect-ratio: auto;
  object-fit: cover;
}

.post-card > a > h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.18rem;
  line-height: 1.3;
}

.post-card > a > small {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 820;
}

.cat {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-card h3 {
  margin: 0 0 13px;
  color: var(--navy);
  font-size: 1.12rem;
  line-height: 1.32;
}

.post-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.post-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(219, 230, 239, 0.9);
  color: var(--muted);
  font-size: 0.82rem;
}

.post-card footer strong {
  color: var(--navy);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 2fr) 380px;
  gap: 28px;
  align-items: start;
  padding: 54px 0 86px;
}

.article-main,
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--soft);
}

.article-cover {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  background: #eaf2f6;
}

.article-head {
  padding: clamp(26px, 5vw, 48px);
  border-bottom: 1px solid var(--line);
}

.article-head .article-meta {
  margin: 0 0 20px;
}

.article-head .pill {
  color: #476176;
  border-color: #dce8f0;
  background: #f4f9fb;
}

.article-head h1 {
  margin: 0;
  color: #071f39;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.article-head p {
  max-width: 850px;
  margin: 22px 0 0;
  color: #536579;
  font-size: 1.08rem;
  line-height: 1.72;
}

.author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-photo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 8px 18px rgba(6, 36, 63, 0.16);
}

.author strong,
.author span {
  display: block;
}

.author strong {
  color: var(--navy);
}

.author span {
  color: var(--muted);
  font-size: 0.84rem;
}

.share-button {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy);
}

.article-body {
  padding: clamp(28px, 5vw, 54px);
}

.article-block {
  padding: 34px 0;
  border-bottom: 1px solid rgba(219, 230, 239, 0.92);
}

.article-block:first-child {
  padding-top: 0;
}

.article-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.article-body h2 {
  margin: 0 0 18px;
  color: #071f39;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.22;
  text-transform: uppercase;
}

.article-body p {
  margin: 0 0 18px;
  color: #2e4256;
  font-size: 1.04rem;
  line-height: 1.86;
}

.article-body strong {
  color: #071f39;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(28px, 5vw, 54px) clamp(28px, 5vw, 54px);
}

.article-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: var(--teal-dark);
  background: #edfafa;
  border: 1px solid #d7f1ef;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
}

.article-body ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.article-body li {
  position: relative;
  padding-left: 26px;
  color: #33485a;
  line-height: 1.72;
}

.article-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(10, 166, 166, 0.12);
}

.note {
  margin-top: 24px;
  padding: 18px 20px;
  color: #27465a;
  background: #f3faf9;
  border: 1px solid #d8eeeb;
  border-radius: 8px;
  line-height: 1.72;
}

.sidebar {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 16px;
}

.side-card {
  padding: 24px;
}

.side-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: #edfafa;
  border-radius: 8px;
  margin-bottom: 18px;
}

.side-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.14rem;
}

.side-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.related-list {
  display: grid;
  gap: 0;
  margin: 18px -24px -24px;
  border-top: 1px solid var(--line);
}

.related-list a {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}

.related-list a:last-child {
  border-bottom: 0;
}

.related-number {
  color: #b9d2f4;
  font-size: 1.4rem;
  font-weight: 950;
}

.related-list strong {
  display: block;
  color: #071f39;
  font-size: 0.94rem;
  line-height: 1.35;
}

.related-list span {
  display: block;
  margin-bottom: 5px;
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.newsletter {
  color: #fff;
  background: #062e63;
  border-color: #062e63;
}

.newsletter h3,
.newsletter p {
  color: #fff;
}

.footer {
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background:
    radial-gradient(circle at 12% 0%, rgba(10, 166, 166, 0.18), transparent 34%),
    linear-gradient(180deg, #05243d 0%, #031625 100%);
}

.footer .shell {
  padding: 46px 0 26px;
}

.footer a {
  color: #a6f3ef;
  font-weight: 760;
}

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.footer-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #f2cd73;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-cta h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.footer-cta p {
  max-width: 700px;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.footer-cta .btn-gold {
  color: var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr 0.74fr 0.9fr;
  gap: 30px;
  align-items: start;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1.28rem;
  line-height: 1.1;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
}

.footer-brand p {
  max-width: 330px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

.footer-title {
  margin: 0 0 14px;
  color: #f2cd73;
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.footer-lines,
.footer-nav,
.footer-social-list {
  display: grid;
  gap: 10px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.footer-lines p,
.footer-nav a,
.footer-social-list a {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-nav a:hover,
.footer-social-list a:hover,
.footer-lines a:hover {
  color: #a6f3ef;
}

.footer-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.84rem;
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

@media (max-width: 1020px) {
  .nav-links {
    display: none;
  }

  .article-shell,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .editorial-pillars,
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .sidebar {
    position: static;
  }

  .list-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .shell {
    width: calc(100% - 26px);
  }

  .brand {
    min-width: 0;
  }

  .topbar .btn-primary {
    display: none;
  }

  .blog-hero {
    padding-top: 52px;
  }

  .blog-hero h1,
  .article-head h1 {
    font-size: clamp(1.72rem, 8vw, 2.25rem);
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }

  .breadcrumb .shell {
    overflow: hidden;
  }

  .breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .article-shell {
    padding-top: 24px;
  }

  .article-head,
  .article-body,
  .side-card {
    padding: 22px;
  }

  .author-row {
    align-items: start;
    flex-direction: column;
  }

  .share-button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .editorial-pillars,
  .posts-grid {
    grid-template-columns: 1fr;
  }

}
