/* Homolog: ODS e Agenda 2030 — light paper, 2026 type and gold ink. */
.page-template-page-ods .site-header {
  background: rgba(20, 20, 20, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ods-page,
.ods-page.theme-light {
  position: relative;
  z-index: 2;
  isolation: isolate;
  min-height: 100vh;
  background-color: #f4eee4;
  background-image:
    radial-gradient(ellipse 72% 58% at 90% 8%, rgba(232, 200, 114, 0.34) 0%, transparent 58%),
    radial-gradient(ellipse 50% 42% at 6% 86%, rgba(196, 90, 56, 0.1) 0%, transparent 64%),
    linear-gradient(168deg, #fffdf8 0%, #f6efe4 48%, #efe4d4 100%);
  color: var(--ink, #1a1712);
  font-family: var(--f-primary);
  font-style: normal;
}
.ods-page h1,
.ods-page h2,
.ods-page h3,
.ods-page p,
.ods-page figcaption {
  font-family: var(--f-primary);
  font-style: normal;
}
.ods-page ::selection {
  background: #141414;
  color: #f7f7f6;
}

.ods-intro {
  padding: 9rem 0 3.5rem;
}
.ods-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.7fr);
  gap: 4rem 5rem;
  align-items: center;
}
.ods-intro__copy h1 {
  font-family: var(--f-primary);
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: none;
  margin: 0 0 1.75rem;
  color: var(--ink, #1a1712);
}
.ods-intro__copy p {
  max-width: 38rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink-soft, #3f3a32);
  margin: 0 0 1.15rem;
}
.ods-intro__copy p:last-child {
  margin-bottom: 0;
}
.ods-intro__mark {
  margin: 0;
  justify-self: end;
  width: min(100%, 22rem);
  background: none;
}
.ods-intro__mark img {
  display: block;
  width: 100%;
  height: auto;
  background: none;
}

.ods-goals {
  padding: 1rem 0 6.5rem;
}
.ods-seals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.25rem 1.5rem;
}
.ods-seals figure {
  margin: 0;
}
.ods-seals img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  animation: ods-rise 0.9s var(--ease-expo, cubic-bezier(0.16, 1, 0.3, 1)) both;
}
.ods-seals li:nth-child(2) img { animation-delay: 0.07s; }
.ods-seals li:nth-child(3) img { animation-delay: 0.14s; }
.ods-seals li:nth-child(4) img { animation-delay: 0.21s; }
.ods-seals li:nth-child(5) img { animation-delay: 0.28s; }
.ods-seals li:nth-child(6) img { animation-delay: 0.35s; }
.ods-seals figcaption {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink, #1a1712);
}

.ods-closing {
  max-width: 46rem;
  margin: 3.5rem auto 0;
  text-align: center;
}
.ods-closing p {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--ink, #1a1712);
  margin: 0 0 1.15rem;
}
.ods-closing p:last-child {
  margin-bottom: 0;
  font-family: var(--f-primary);
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-style: normal;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

.ods-credit {
  margin: 2.75rem 0 0;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--gold-ink, #c21850);
}

.is-homolog .nav-links {
  gap: 0.95rem;
}
.is-homolog .nav-links a,
.is-homolog .mobile-nav a,
.is-homolog .footer__link {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@keyframes ods-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ods-seals img {
    animation: none;
  }
}

@media (max-width: 980px) {
  .ods-intro {
    padding: 8rem 0 2.5rem;
  }
  .ods-intro__grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .ods-intro__copy h1 {
    max-width: none;
  }
  .ods-intro__mark {
    justify-self: center;
    width: min(100%, 16rem);
  }
  .ods-seals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ods-intro {
    padding: 7.25rem 0 2rem;
  }
  .ods-intro__copy p {
    font-size: 1.02rem;
  }
  .ods-seals {
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem 1rem;
  }
  .ods-closing {
    text-align: left;
    margin-top: 2.5rem;
  }
  .ods-closing p {
    font-size: 1.05rem;
  }
  .ods-goals {
    padding-bottom: 4.5rem;
  }
}
