:root {
  --content-ink: #16332a;
  --content-deep: #082d22;
  --content-green: #0b4a37;
  --content-green-mid: #176b4d;
  --content-mint: #b9dec9;
  --content-soft: #dcece4;
  --content-cream: #f7f3ea;
  --content-paper: #fffdf8;
  --content-coral: #e8785f;
  --content-muted: #5e746c;
  --content-line: rgba(11, 74, 55, 0.14);
  --content-shadow: 0 24px 60px rgba(9, 48, 36, 0.11);
}

body.articles-hub-page,
body.network-page {
  color: var(--content-ink);
  background: var(--content-paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.articles-hub-page .container,
body.network-page .container {
  max-width: 1200px;
}

.content-primary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 24px;
  border: 1px solid var(--content-green);
  border-radius: 999px;
  color: #fff;
  background: var(--content-green);
  box-shadow: 0 12px 28px rgba(11, 74, 55, 0.18);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.content-primary-button:hover {
  color: #fff;
  background: var(--content-green-mid);
  transform: translateY(-2px);
}

.content-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--content-green);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.content-text-link:hover {
  color: var(--content-coral);
}

/* Central de artigos */
body.articles-hub-page {
  background: var(--content-paper);
}

body.articles-hub-page .articles-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 42px;
  color: var(--content-ink);
  background:
    radial-gradient(circle at 8% 18%, rgba(185, 222, 201, 0.52), transparent 25%),
    linear-gradient(135deg, var(--content-cream), #fffdf8 68%);
}

body.articles-hub-page .articles-hero::after {
  content: "";
  position: absolute;
  top: -190px;
  right: -160px;
  width: 480px;
  height: 480px;
  border: 80px solid rgba(232, 120, 95, 0.1);
  border-radius: 50%;
}

body.articles-hub-page .articles-hero .container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
}

.articles-hero__grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 84px;
  align-items: center;
}

.articles-hero__copy .section-kicker,
.articles-toolbar .section-kicker,
.partner-results-head .section-kicker,
.guide-hero .section-kicker {
  margin-bottom: 16px;
  color: var(--content-green-mid);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

body.articles-hub-page .articles-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--content-deep);
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

body.articles-hub-page .articles-hero p {
  max-width: 650px;
  margin: 26px 0 0;
  color: var(--content-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.articles-hero__actions,
.guide-hero__actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
}

.featured-story {
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 38px;
  border-radius: 34px;
  color: #fff;
  background: var(--content-green);
  box-shadow: var(--content-shadow);
}

.featured-story::before,
.featured-story::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.featured-story::before {
  top: -100px;
  right: -70px;
  width: 280px;
  height: 280px;
}

.featured-story::after {
  top: -42px;
  right: -12px;
  width: 160px;
  height: 160px;
}

.featured-story__tag {
  position: absolute;
  top: 26px;
  left: 26px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--content-deep);
  background: var(--content-mint);
  font-size: 0.64rem;
  font-weight: 800;
}

.featured-story__icon {
  position: absolute;
  top: 54px;
  right: 34px;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: var(--content-mint);
  font-size: 2rem;
}

.featured-story > p {
  margin: 0 0 8px !important;
  color: var(--content-mint) !important;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-story h2 {
  max-width: 410px;
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.featured-story a {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

body.articles-hub-page .articles-hero .hero-chips {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 48px;
  padding: 18px 0 0;
  border-top: 1px solid var(--content-line);
  overflow-x: auto;
  scrollbar-width: none;
}

body.articles-hub-page .articles-hero .hero-chips::-webkit-scrollbar {
  display: none;
}

body.articles-hub-page .articles-hero .hero-chips a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--content-line);
  border-radius: 999px;
  color: var(--content-green);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: none;
  font-size: 0.7rem;
  font-weight: 700;
}

body.articles-hub-page .articles-hero .hero-chips a:hover {
  color: #fff;
  background: var(--content-green);
}

body.articles-hub-page .articles-section {
  padding: 92px 0 110px;
  background: var(--content-paper);
}

.articles-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 30px;
}

.articles-toolbar__heading h2 {
  margin: 0;
  color: var(--content-deep);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.articles-toolbar__heading > p {
  margin: 9px 0 0;
  color: var(--content-muted);
  font-size: 0.72rem;
}

.articles-search,
.network-search {
  min-width: min(100%, 360px);
  height: 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--content-line);
  border-radius: 16px;
  background: #fff;
}

.articles-search > span,
.network-search > span {
  color: var(--content-green-mid);
  font-size: 1.25rem;
}

.articles-search input,
.network-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--content-ink);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
}

.articles-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 38px;
}

.articles-filters button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--content-line);
  border-radius: 999px;
  color: var(--content-green);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
}

.articles-filters button:hover,
.articles-filters button.is-active {
  border-color: var(--content-green);
  color: #fff;
  background: var(--content-green);
}

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

body.articles-hub-page .article-card {
  min-height: 350px;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--content-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}

body.articles-hub-page .article-card:hover {
  border-color: rgba(11, 74, 55, 0.35);
  box-shadow: 0 20px 44px rgba(9, 48, 36, 0.09);
  transform: translateY(-4px);
}

body.articles-hub-page .article-meta {
  gap: 6px;
}

body.articles-hub-page .article-meta span {
  min-height: 28px;
  padding: 0 9px;
  border: 0;
  color: var(--content-green);
  background: var(--content-soft);
  font-size: 0.58rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

body.articles-hub-page .article-card-date {
  margin: 0;
  color: var(--content-muted);
  font-size: 0.61rem;
}

body.articles-hub-page .article-card h2,
body.articles-hub-page .article-card h3 {
  margin: 0;
  color: var(--content-deep);
  font-size: 1.16rem;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

body.articles-hub-page .article-card > p:not(.article-card-date) {
  margin: 0;
  color: var(--content-muted);
  font-size: 0.76rem;
  line-height: 1.65;
}

body.articles-hub-page .article-card > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  color: var(--content-green);
  font-size: 0.74rem;
  text-decoration: none;
}

body.articles-hub-page .article-card > a::after {
  content: "→";
  transition: transform 0.2s ease;
}

body.articles-hub-page .article-card > a:hover::after {
  transform: translateX(3px);
}

.articles-empty {
  padding: 70px 24px;
  border: 1px dashed var(--content-line);
  border-radius: 24px;
  color: var(--content-muted);
  text-align: center;
}

.articles-empty > span {
  color: var(--content-green-mid);
  font-size: 2.4rem;
}

.articles-empty h2 {
  margin: 12px 0 4px;
  color: var(--content-deep);
  font-size: 1.25rem;
}

.articles-empty p {
  margin: 0;
  font-size: 0.78rem;
}

.content-load-more {
  min-height: 48px;
  display: block;
  margin: 34px auto 0;
  padding: 0 22px;
  border: 1px solid var(--content-line);
  border-radius: 999px;
  color: var(--content-green);
  background: transparent;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.content-load-more:hover {
  border-color: var(--content-green);
  color: #fff;
  background: var(--content-green);
}

body.articles-hub-page .articles-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-top: 74px;
  padding: 34px;
  border-radius: 24px;
  color: #fff;
  background: var(--content-deep);
  text-align: left;
}

body.articles-hub-page .articles-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
}

body.articles-hub-page .articles-footer > div > span {
  color: var(--content-coral);
  font-size: 1.8rem;
  font-variation-settings: "FILL" 1;
}

body.articles-hub-page .articles-footer p,
body.articles-hub-page .articles-footer strong {
  display: block;
  margin: 0;
}

body.articles-hub-page .articles-footer p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
}

body.articles-hub-page .articles-footer strong {
  margin-bottom: 3px;
  color: #fff;
  font-size: 0.86rem;
}

body.articles-hub-page .articles-footer .content-primary-button {
  flex: 0 0 auto;
  color: var(--content-deep);
  background: var(--content-cream);
  box-shadow: none;
}

/* Guia de ILPIs e cuidado */
body.network-page {
  background: var(--content-paper);
}

.guide-page-main {
  background: var(--content-paper);
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 68px;
  background: var(--content-cream);
}

.guide-hero::before {
  content: "";
  position: absolute;
  top: -170px;
  left: -150px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(185, 222, 201, 0.45);
}

.guide-hero__shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 40px));
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 84px;
  align-items: center;
  margin: 0 auto;
}

.guide-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--content-deep);
  font-size: clamp(3.2rem, 6vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.98;
}

.guide-hero__copy > p {
  max-width: 670px;
  margin: 26px 0 0;
  color: var(--content-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.guide-hero__card {
  min-height: 390px;
  padding: 38px;
  border-radius: 34px;
  color: #fff;
  background: var(--content-green);
  box-shadow: var(--content-shadow);
}

.guide-hero__card-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 42px;
  border-radius: 20px;
  color: var(--content-deep);
  background: var(--content-mint);
  font-size: 2rem;
}

.guide-hero__card h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: 1.75rem;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.guide-hero__card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-hero__card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 700;
}

.guide-hero__card li span {
  color: var(--content-mint);
  font-size: 1.05rem;
}

.guide-hero__card > p {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.65rem;
  line-height: 1.55;
}

body.network-page .network-city-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid var(--content-line);
  overflow-x: auto;
  scrollbar-width: none;
}

body.network-page .network-city-links::-webkit-scrollbar { display: none; }

body.network-page .network-city-links a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border: 1px solid var(--content-line);
  border-radius: 999px;
  color: var(--content-green);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 700;
  text-decoration: none;
}

body.network-page .network-city-links a:hover {
  color: #fff;
  background: var(--content-green);
}

body.network-page .network-shell {
  width: min(1240px, calc(100% - 40px));
  max-width: none;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 34px;
  margin: 0 auto;
  padding: 72px 0 110px;
}

body.network-page .network-sidebar {
  top: 106px;
  padding: 22px;
  border: 1px solid var(--content-line);
  border-radius: 24px;
  background: var(--content-cream);
  box-shadow: none;
}

.network-sidebar__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.network-sidebar__heading > span {
  color: var(--content-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.network-sidebar__heading button {
  padding: 0;
  border: 0;
  color: var(--content-green-mid);
  background: transparent;
  font-size: 0.64rem;
  font-weight: 800;
  cursor: pointer;
}

body.network-page .network-search {
  min-width: 0;
  height: 48px;
  padding-inline: 12px;
  border-radius: 13px;
}

body.network-page .network-filter-group {
  margin-bottom: 22px;
}

body.network-page .network-filter-group h3 {
  margin-bottom: 10px;
  color: var(--content-muted);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

body.network-page .network-service-grid .partner-filter-icon-button,
body.network-page .network-service-grid .partner-filter-secondary,
body.network-page .network-select {
  border: 1px solid var(--content-line);
  background: #fff;
}

body.network-page .network-service-grid .partner-filter-icon-button.is-active,
body.network-page .network-service-grid .partner-filter-secondary.is-active {
  background: var(--content-green);
}

body.network-page .network-secondary-link {
  color: var(--content-green);
  font-size: 0.72rem;
  font-weight: 800;
}

body.network-page .partner-results-head {
  align-items: flex-end;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--content-line);
}

body.network-page .partner-results-head > div {
  display: grid;
}

body.network-page .partner-results-head .section-kicker {
  margin-bottom: 5px;
}

body.network-page .partner-results-head strong {
  color: var(--content-deep);
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

body.network-page .partner-results-head > p {
  max-width: 360px;
  margin: 0;
  color: var(--content-muted);
  font-size: 0.7rem;
  text-align: right;
}

body.network-page .partner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

body.network-page .partner-card {
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--content-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: none;
}

body.network-page .partner-card:hover {
  border-color: rgba(11, 74, 55, 0.34);
  box-shadow: 0 20px 44px rgba(9, 48, 36, 0.09);
  transform: translateY(-4px);
}

body.network-page .partner-card h2,
body.network-page .partner-card h3 {
  color: var(--content-deep);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

body.network-page .partner-badge {
  color: var(--content-green);
  background: var(--content-soft);
  font-size: 0.62rem;
}

body.network-page .partner-description {
  min-height: 0;
  color: var(--content-muted);
  font-size: 0.75rem;
  line-height: 1.65;
}

body.network-page .partner-stats {
  border-radius: 0;
}

body.network-page .partner-contact {
  margin-top: auto;
}

body.network-page .partner-empty {
  grid-column: 1 / -1;
  padding: 70px 24px;
  border: 1px dashed var(--content-line);
  border-radius: 24px;
  color: var(--content-muted);
  background: var(--content-cream);
  text-align: center;
}

@media (max-width: 980px) {
  .articles-hero__grid,
  .guide-hero__shell {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .featured-story,
  .guide-hero__card {
    max-width: 720px;
  }

  body.articles-hub-page .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.network-page .network-shell {
    grid-template-columns: 1fr;
  }

  body.network-page .network-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 680px) {
  body.articles-hub-page .articles-hero,
  .guide-hero {
    padding: 58px 0 36px;
  }

  body.articles-hub-page .articles-hero h1,
  .guide-hero h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .articles-hero__actions,
  .guide-hero__actions,
  .articles-toolbar,
  body.articles-hub-page .articles-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .articles-hero__actions .content-text-link,
  .guide-hero__actions .content-text-link {
    justify-content: center;
  }

  .featured-story,
  .guide-hero__card {
    min-height: 350px;
    padding: 28px;
    border-radius: 26px;
  }

  body.articles-hub-page .articles-section {
    padding: 68px 0 82px;
  }

  .articles-search {
    width: 100%;
    min-width: 0;
  }

  .articles-filters {
    flex-wrap: nowrap;
    margin-right: -20px;
    padding-right: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .articles-filters::-webkit-scrollbar { display: none; }
  .articles-filters button { flex: 0 0 auto; }

  body.articles-hub-page .article-grid,
  body.network-page .partner-grid {
    grid-template-columns: 1fr;
  }

  body.articles-hub-page .articles-footer .content-primary-button {
    width: 100%;
  }

  .guide-hero__shell,
  body.network-page .network-shell {
    width: min(100% - 32px, 1200px);
  }

  body.network-page .partner-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body.network-page .partner-results-head > p {
    text-align: left;
  }
}
