@font-face {
  font-family: "Nunito";
  src: url("../vendor/ubold-fonts/nunito/Nunito-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../vendor/ubold-fonts/nunito/Nunito-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("../vendor/ubold-fonts/nunito/Nunito-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-950: #00365f;
  --blue-900: #004b79;
  --blue-800: #00679e;
  --blue-700: #087da7;
  --green: #4caf50;
  --yellow: #ffd200;
  --text: #14324d;
  --muted: #637587;
  --line: #d9e4ec;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 45, 88, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 64, 128, 0.08);
  transition: box-shadow 180ms ease;
  animation: headerReveal 420ms ease-out both;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(0, 32, 68, 0.12);
}

.site-nav {
  width: min(1360px, calc(100% - 2rem));
  min-height: 4.8rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  height: 3.25rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2.6rem;
  padding: 0.65rem clamp(0.35rem, 0.7vw, 0.65rem);
  border-radius: 999px;
  font-size: clamp(0.78rem, 1.12vw, 0.9rem);
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  color: #004080;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: #005f85;
  background: rgba(0, 103, 158, 0.08);
  outline: none;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 64, 128, 0.08);
  padding: 0.65rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  margin: 5px 0;
  background: #004080;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 7rem 0 4.75rem;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(25, 162, 191, 0.34) 0 13rem, transparent 32rem),
    radial-gradient(circle at 22% 72%, rgba(11, 133, 161, 0.28) 0 12rem, transparent 30rem),
    linear-gradient(132deg, #003963 0%, #005c8d 47%, #087da7 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.09), transparent 28%, rgba(0, 34, 70, 0.18) 75%);
  background-size: 5rem 5rem, 5rem 5rem, auto;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 28, 58, 0.35), transparent 34%, transparent 72%, rgba(0, 28, 58, 0.22)),
    radial-gradient(circle at 50% 62%, rgba(0, 176, 190, 0.18), transparent 26rem);
}

.water-canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  pointer-events: none;
}

.water-light {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(110deg, transparent 0 13%, rgba(150, 233, 255, 0.13) 22%, transparent 34%),
    linear-gradient(102deg, transparent 42%, rgba(255, 255, 255, 0.12) 53%, transparent 66%),
    radial-gradient(ellipse at 78% 75%, rgba(255, 255, 255, 0.11), transparent 28rem);
  filter: blur(8px);
  mix-blend-mode: screen;
}

.hero-inner {
  width: min(1240px, calc(100% - 2rem));
  display: grid;
  grid-template-columns: minmax(21rem, 33rem) minmax(32rem, 56rem);
  gap: clamp(5.75rem, 9vw, 8rem);
  align-items: center;
  justify-content: center;
}

.hero-logo img {
  width: clamp(22rem, 30vw, 33rem);
  filter:
    drop-shadow(0 0.55rem 1rem rgba(0, 16, 36, 0.42))
    drop-shadow(0 0 1.2rem rgba(255, 255, 255, 0.08));
  animation: heroReveal 560ms 80ms ease-out both;
}

.hero-copy h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.hero-copy p {
  margin: 0;
  max-width: 56rem;
  color: #fff;
  font-size: clamp(1.85rem, 2.55vw, 2.85rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0.45rem 1.25rem rgba(0, 25, 54, 0.45);
  animation: heroReveal 560ms 150ms ease-out both;
}

.hero-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
  animation: heroReveal 560ms 220ms ease-out both;
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 0.85rem, 0);
  transition:
    opacity 420ms ease,
    transform 420ms ease-out;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@keyframes headerReveal {
  from {
    opacity: 0;
    transform: translateY(-1.25rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 0.9rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-logo img,
  .hero-copy p,
  .hero-actions {
    animation: none;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.button {
  min-height: 3.65rem;
  width: clamp(20rem, 24vw, 24rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 1rem 2rem rgba(0, 28, 55, 0.24);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: #004080;
  background: var(--yellow);
}

.button-secondary {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.1);
}

.section {
  padding: 5.5rem 0;
  background: var(--white);
}

.section-light {
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading span {
  display: inline-flex;
  padding: 0.48rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  color: #087246;
  background: rgba(76, 175, 80, 0.11);
  font-weight: 800;
  font-size: 0.88rem;
}

.section-heading h2 {
  margin: 0 0 1rem;
  color: #004080;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.feature-image {
  width: 100%;
  height: 26rem;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-card h3,
.feature-card h3,
.info-card h3,
.person-card h3,
.news-card h3 {
  margin: 0 0 0.8rem;
  color: #004080;
  line-height: 1.2;
}

.content-card p,
.feature-card p,
.info-card p,
.person-card p,
.news-card p {
  color: var(--muted);
  line-height: 1.65;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.metrics div {
  padding: 1rem;
  border-left: 4px solid var(--yellow);
  background: rgba(255, 210, 0, 0.12);
  border-radius: 8px;
}

.metrics div:nth-child(2) {
  border-left-color: var(--green);
  background: rgba(76, 175, 80, 0.12);
}

.metrics strong {
  display: block;
  color: #004080;
  font-size: 2rem;
}

.metrics span {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1.5rem;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.info-card,
.feature-card,
.person-card,
.partner-card,
.news-card,
.contact-card {
  padding: 1.5rem;
  border: 1px solid rgba(0, 64, 128, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 45, 88, 0.08);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  display: grid;
  place-items: center;
  margin-bottom: 1.35rem;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #004f8f, #006bb3);
  font-weight: 800;
}

.card-icon .bi {
  font-size: 1.85rem;
  line-height: 1;
}

.about-cards {
  gap: 2rem;
}

.about-card {
  min-height: 13.6rem;
  will-change: transform;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.about-card h3 {
  transition: color 220ms ease;
}

.about-card .card-icon {
  transition:
    transform 260ms ease,
    background 260ms ease,
    box-shadow 260ms ease;
}

.about-card:hover,
.about-card:focus-within {
  transform: translateY(-0.55rem);
  border-color: rgba(0, 107, 179, 0.18);
  box-shadow: 0 1.25rem 3rem rgba(56, 65, 74, 0.16);
}

.about-card:hover h3,
.about-card:focus-within h3 {
  color: #4caf50;
}

.about-card:hover .card-icon,
.about-card:focus-within .card-icon {
  transform: scale(1.08) rotate(-2deg);
  background: linear-gradient(135deg, #4caf50, #66bb6a);
  box-shadow: 0 0.85rem 1.5rem rgba(76, 175, 80, 0.22);
}

.objective-cards {
  gap: 2rem;
}

.objective-card {
  min-height: 15.2rem;
  padding: 1.85rem 1.65rem 1.7rem;
  border: 1px solid rgba(0, 64, 128, 0.07) !important;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.75rem 2.6rem rgba(56, 65, 74, 0.08);
  will-change: transform;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.objective-card h3 {
  margin-bottom: 0.85rem;
  color: #004080;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  transition: color 220ms ease;
}

.objective-card p {
  margin-bottom: 0;
  color: #34495f;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
}

.objective-icon {
  width: 3.55rem;
  height: 3.55rem;
  margin-bottom: 1.35rem;
  background: #4caf50;
  box-shadow: none;
  transition:
    transform 260ms ease,
    background-color 260ms ease,
    box-shadow 260ms ease;
}

.objective-icon .bi {
  font-size: 1.35rem;
}

.objective-card:hover,
.objective-card:focus-within {
  transform: translateY(-0.55rem);
  border-color: rgba(76, 175, 80, 0.22) !important;
  box-shadow: 0 1.25rem 3rem rgba(56, 65, 74, 0.16);
}

.objective-card:hover h3,
.objective-card:focus-within h3 {
  color: #4caf50;
}

.objective-card:hover .objective-icon,
.objective-card:focus-within .objective-icon {
  transform: scale(1.08) rotate(-2deg);
  background: #006bb3;
  box-shadow: 0 0.85rem 1.5rem rgba(0, 107, 179, 0.22);
}

.stats-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 2rem;
  border-radius: 8px;
  color: #fff;
  background:
    radial-gradient(circle at 72% 36%, rgba(30, 167, 198, 0.26), transparent 22rem),
    linear-gradient(90deg, #004080, #006bb3);
  text-align: center;
}

.stats-band > div {
  position: relative;
  z-index: 2;
}

.stats-water-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  opacity: 0.42;
  pointer-events: none;
}

.stats-band strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.stats-band span {
  color: rgba(255, 255, 255, 0.82);
}

.timeline {
  max-width: 1050px;
  margin: 0 auto 3rem;
  display: grid;
  gap: 2.35rem;
}

.timeline article {
  position: relative;
  width: calc(100% - 7.25rem);
  min-height: 6.1rem;
  padding: 1.35rem 1.65rem;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(0, 64, 128, 0.08);
  box-shadow: 0 0.75rem 2.5rem rgba(56, 65, 74, 0.09);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.method-step {
  --method-color: #0060a9;
  margin-left: 6.25rem;
}

.method-step:nth-child(even) {
  margin-left: auto;
  margin-right: 6.25rem;
}

.method-step:nth-child(2) {
  --method-color: #4caf50;
}

.method-step:nth-child(3) {
  --method-color: #ffc400;
}

.method-step:nth-child(4) {
  --method-color: #d87b2a;
}

.method-step:nth-child(5) {
  --method-color: #0060a9;
}

@media (hover: hover) {
  .timeline article:hover {
    transform: translateY(-0.35rem);
    border-color: rgba(0, 96, 169, 0.16);
    box-shadow: 0 1.1rem 2.8rem rgba(56, 65, 74, 0.17);
  }

  .timeline article:hover .method-icon {
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 1rem 1.75rem rgba(0, 45, 88, 0.22);
  }
}

.timeline span {
  position: static;
}

.timeline .method-number {
  display: inline-block;
  margin-right: 0.72rem;
  color: rgba(0, 64, 128, 0.22);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 700;
}

.timeline h3,
.timeline p {
  margin: 0;
}

.timeline h3 {
  display: inline;
  color: #004080;
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.timeline p {
  margin-top: 0.7rem;
  color: #34495f;
  line-height: 1.55;
  font-size: 0.96rem;
}

.method-icon {
  position: absolute !important;
  top: 50%;
  left: -5.15rem;
  z-index: 2;
  width: 4.05rem;
  height: 4.05rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--method-color);
  box-shadow: 0 0.8rem 1.55rem rgba(56, 65, 74, 0.18);
  transform: translateY(-50%);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.method-step:nth-child(even) .method-icon {
  left: auto;
  right: -5.15rem;
}

.method-icon .bi {
  font-size: 1.45rem;
  line-height: 1;
}

.feature-card img,
.news-card img {
  width: 100%;
  height: 13rem;
  object-fit: cover;
  border-radius: 8px;
  margin-top: 1rem;
}

.project-structure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.project-structure article {
  min-height: 13.25rem;
  padding: 1.35rem;
  border: 1px solid rgba(0, 64, 128, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(0, 45, 88, 0.08);
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.project-structure article:hover,
.project-structure article:focus-within {
  transform: translateY(-0.45rem);
  border-color: rgba(76, 175, 80, 0.2);
  box-shadow: 0 1.15rem 2.5rem rgba(56, 65, 74, 0.15);
}

.project-structure span {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #fff;
  background: #006bb3;
  font-size: 1.25rem;
}

.project-structure h3 {
  margin: 0 0 0.65rem;
  color: #004080;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.project-structure p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 0.75rem;
  align-items: stretch;
}

#sobre .section-heading {
  max-width: none;
}

.section-heading .project-title {
  max-width: none;
  margin-inline: auto;
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  line-height: 1.35;
  text-wrap: balance;
}

#objetivo-do-projeto {
  scroll-margin-top: 7rem;
}

.stage-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #34495f;
  font-size: 0.96rem;
  line-height: 1.65;
}

.stage-list li + li {
  margin-top: 0.65rem;
}

.partners-description {
  max-width: 62rem;
  margin: -0.5rem auto 2.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.partners-description p + p {
  margin-top: 0.85rem;
}

.team-status {
  grid-column: 1 / -1;
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}

.team-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.team-card h3 {
  margin: 0 0 0.25rem;
  color: #004080;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.team-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.4;
}

.team-institution {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.team-card .team-areas {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.team-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.6rem;
}

.team-details {
  min-width: 0;
  font-size: 0.78rem;
}

.team-details .team-affiliations {
  margin-top: 0.4rem;
}

.team-affiliations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.team-card .team-affiliations span {
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  background: #edf4f9;
  color: #385980;
  font-size: 0.72rem;
  line-height: 1.35;
}

.team-card-footer > a {
  color: #004080;
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.transparency-access h2 {
  margin: 0.35rem 0 0.5rem;
  color: #004080;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.person-card {
  min-height: 13rem;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 1.25rem;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.person-card:hover,
.person-card:focus-within {
  transform: translateY(-0.45rem);
  border-color: rgba(0, 107, 179, 0.16);
  box-shadow: 0 1.15rem 2.5rem rgba(56, 65, 74, 0.15);
}

.person-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.4rem;
  gap: 1.1rem;
  align-items: start;
}

.person-card h3 {
  margin-bottom: 0.75rem;
  max-width: 14rem;
  font-size: clamp(1.32rem, 1.7vw, 1.62rem);
  font-weight: 500;
  letter-spacing: 0;
}

.person-card p {
  margin: 0 0 0.5rem;
  color: #087246;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.person-card span:not(.person-photo):not(.supervision-badges span) {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.person-photo {
  width: 5.15rem;
  height: 5.15rem;
  position: relative;
  border: 4px solid #004080;
  border-radius: 50%;
  color: #004080;
  background: linear-gradient(145deg, #ffffff, #dcecf9);
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 0.45rem 1rem rgba(0, 45, 88, 0.12);
  overflow: hidden;
}

.person-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--photo-position, center);
  /* Compensa as margens dos recortes originais sem alterar os arquivos. */
  transform: translate(var(--photo-x, 0%), var(--photo-y, 0%)) scale(var(--photo-scale, 1.04));
}

.person-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.person-card-footer-end {
  justify-content: flex-end;
}

.person-links,
.supervision-badges {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.person-links a,
.supervision-badges span {
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  color: #004080;
  background: rgba(0, 107, 179, 0.1);
  font-size: 0.95rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.person-links a:hover,
.person-links a:focus-visible {
  color: #fff;
  background: #004080;
  transform: translateY(-2px);
  outline: none;
}

.supervision-badges span {
  color: #fff;
  background: #006bb3;
}

.partners-section {
  overflow: hidden;
}

.partners-carousel {
  position: relative;
  margin-top: 2.25rem;
  padding: 0 3.35rem;
}

.partners-track {
  --partner-gap: 1.35rem;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4.05rem) / 4);
  gap: var(--partner-gap);
  overflow-x: auto;
  padding: 0.25rem 0.1rem 1rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.partners-track::-webkit-scrollbar {
  display: none;
}

.partner-card {
  min-height: 14.8rem;
  display: grid;
  place-items: center;
  padding: 1.55rem;
  text-align: center;
  text-decoration: none;
  scroll-snap-align: start;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.partner-card:hover,
.partner-card:focus-within {
  transform: translateY(-0.4rem);
  border-color: rgba(0, 107, 179, 0.16);
  box-shadow: 0 1.15rem 2.5rem rgba(56, 65, 74, 0.14);
}

.partner-card img {
  width: 100%;
  max-width: 15.5rem;
  height: 10.25rem;
  object-fit: contain;
  filter: saturate(0.96);
}

.partners-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #004080;
  box-shadow: 0 0.85rem 1.75rem rgba(0, 45, 88, 0.18);
  transform: translateY(-50%);
  transition: background-color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.partners-control:hover,
.partners-control:focus-visible {
  background: #006bb3;
  transform: translateY(-50%) scale(1.04);
  outline: none;
}

.partners-control[disabled] {
  opacity: 0.35;
  cursor: default;
}

.partners-control-prev {
  left: 0;
}

.partners-control-next {
  right: 0;
}

.news-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease;
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-0.45rem);
  box-shadow: 0 1.15rem 2.5rem rgba(56, 65, 74, 0.15);
}

.news-card img {
  height: 12.4rem;
  margin: 0;
  border-radius: 0;
}

.news-card div {
  padding: 1.35rem 1.45rem 1.45rem;
}

.news-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: 0.22rem 0.72rem;
  border-radius: 999px;
  color: #fff;
  background: #4caf50;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1;
}

.news-date {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.8rem;
  color: #6c757d !important;
  font-size: 0.86rem;
  line-height: 1.2;
}

.news-card h3 {
  min-height: 3.2rem;
  font-size: 1.15rem;
}

.news-card p:not(.news-date),
.news-summary {
  margin-bottom: 1.2rem;
}

.news-summary p,
.news-summary ul,
.news-summary ol {
  margin: 0 0 0.8rem;
}

.news-summary p:last-child,
.news-summary ul:last-child,
.news-summary ol:last-child {
  margin-bottom: 0;
}

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #004080;
  font-weight: 800;
  font-size: 0.94rem;
  transition: color 180ms ease, transform 180ms ease;
}

.news-link:hover,
.news-link:focus-visible {
  color: #4caf50;
  transform: translateX(0.15rem);
  outline: none;
}

.news-actions {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

.button-news {
  border-radius: 0;
  color: #fff;
  background: #004080;
  box-shadow: none;
}

.button-news:hover,
.button-news:focus-visible {
  color: #fff;
  background: #006bb3;
}

.news-archive-filter {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(11rem, 14rem) minmax(11rem, 14rem);
  gap: 1rem;
  align-items: end;
  padding: 1.25rem;
  margin-bottom: 2.2rem;
  border: 1px solid #e5edf5;
  border-radius: 0.45rem;
  background: #fff;
  box-shadow: 0 1rem 2.2rem rgba(0, 64, 128, 0.08);
}

.news-archive-filter label {
  display: grid;
  gap: 0.45rem;
  color: #004080;
  font-size: 0.88rem;
  font-weight: 800;
}

.news-archive-filter input,
.news-archive-filter select {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.72rem 0.9rem;
  border: 1px solid #d8e1ea;
  border-radius: 0.32rem;
  color: #1f3447;
  background: #fff;
  font: inherit;
}

.news-archive-filter input:focus,
.news-archive-filter select:focus {
  border-color: #006bb3;
  outline: 0;
  box-shadow: 0 0 0 0.18rem rgba(0, 107, 179, 0.12);
}

.news-archive-status {
  margin: 0 0 1.25rem;
  color: #667085;
  font-weight: 700;
}

.news-empty-state {
  grid-column: 1 / -1;
  padding: 2rem;
  border: 1px dashed #c8d6e5;
  border-radius: 0.45rem;
  color: #667085;
  text-align: center;
  background: #fff;
}

.news-detail-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 8.8rem 0 4.8rem;
  color: #fff;
  background:
    radial-gradient(circle at 72% 24%, rgba(25, 162, 191, 0.26), transparent 26rem),
    linear-gradient(132deg, #003963 0%, #005c8d 54%, #087da7 100%);
}

.news-detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 28, 58, 0.32), transparent 42%, rgba(0, 28, 58, 0.18)),
    radial-gradient(circle at 52% 70%, rgba(255, 255, 255, 0.1), transparent 24rem);
}

.news-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.55rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
}

.news-breadcrumb a:hover,
.news-breadcrumb a:focus-visible {
  color: var(--yellow);
  outline: none;
}

.news-detail-heading {
  width: min(100%, 70rem);
  max-width: none;
}

.news-detail-tag {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.32rem 0.85rem;
  margin-bottom: 1.2rem;
  border-radius: 999px;
  color: #004080;
  background: var(--yellow);
  font-size: 0.82rem;
  font-weight: 900;
}

.news-detail-heading h1 {
  margin: 0 0 1.2rem;
  max-width: 67rem;
  font-size: clamp(2.1rem, 4.5vw, 4rem);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 0.45rem 1.25rem rgba(0, 25, 54, 0.42);
}

.news-detail-summary {
  margin: 0 0 1.5rem;
  max-width: 66rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.news-detail-summary p,
.news-detail-summary ul,
.news-detail-summary ol {
  margin: 0 0 0.8rem;
}

.news-detail-summary p:last-child,
.news-detail-summary ul:last-child,
.news-detail-summary ol:last-child {
  margin-bottom: 0;
}

.news-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  font-weight: 700;
}

.news-detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.news-detail-section {
  padding: 4rem 0 5.5rem;
  background: linear-gradient(180deg, #fff 0%, var(--soft) 100%);
}

.news-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 19rem;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.news-article {
  min-width: 0;
}

.news-cover-figure {
  margin: 0 0 2rem;
}

.news-cover {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.news-image-source {
  margin-top: 0.55rem;
  color: #667085;
  font-size: 0.92rem;
  font-style: italic;
  text-align: left;
}

.news-article-body {
  padding: 2rem;
  border: 1px solid rgba(0, 64, 128, 0.06);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.75rem 2.2rem rgba(56, 65, 74, 0.08);
}

.news-article-body p {
  margin: 0 0 1.35rem;
  color: #34495f;
  font-size: 1.06rem;
  line-height: 1.82;
}

.news-article-body p:last-child {
  margin-bottom: 0;
}

.news-article-body h2 {
  margin: 2rem 0 0.9rem;
  color: #004080;
  font-size: 1.65rem;
  line-height: 1.2;
}

.news-article-body ul,
.news-article-body ol {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  color: #34495f;
  line-height: 1.75;
}

.news-article-body li {
  margin-bottom: 0.55rem;
}

.news-article-body blockquote {
  margin: 1.6rem 0;
  padding: 0.4rem 0 0.4rem 1.2rem;
  border-left: 4px solid #006bb3;
  color: #004080;
  font-weight: 700;
}

.news-summary strong,
.news-summary b,
.news-article-body strong,
.news-article-body b {
  font-weight: 800;
}

.news-article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4rem 0;
  border-radius: 8px;
  box-shadow: 0 0.75rem 2rem rgba(0, 64, 128, 0.12);
}

.news-summary a,
.news-article-body a {
  color: #004080;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.news-detail-summary a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ql-align-center {
  text-align: center;
}

.ql-align-right {
  text-align: right;
}

.ql-align-justify {
  text-align: justify;
}

.ql-size-small {
  font-size: 0.85em;
}

.ql-size-large {
  font-size: 1.3em;
}

.ql-size-huge {
  font-size: 1.65em;
}

.ql-font-serif {
  font-family: Georgia, "Times New Roman", serif;
}

.ql-font-monospace {
  font-family: "Courier New", monospace;
}

.news-article-footer {
  display: flex;
  margin-top: 2rem;
}

.button-news-detail {
  width: auto;
  min-width: 14rem;
  min-height: 3.15rem;
  color: #fff;
  background: #004080;
  box-shadow: 0 0.7rem 1.5rem rgba(0, 45, 88, 0.18);
}

.button-news-detail i {
  margin-right: 0.45rem;
}

.news-sidebar {
  position: sticky;
  top: 6.2rem;
  display: grid;
  gap: 1.25rem;
}

.news-side-card {
  padding: 1.35rem;
  border: 1px solid rgba(0, 64, 128, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(0, 45, 88, 0.08);
}

.news-side-card h2 {
  margin: 0 0 1rem;
  color: #004080;
  font-size: 1.1rem;
  font-weight: 800;
}

.news-share {
  display: flex;
  gap: 0.7rem;
}

.news-share a,
.news-share button {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border: 0;
  color: #004080;
  background: rgba(0, 107, 179, 0.1);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.news-share a:hover,
.news-share a:focus-visible,
.news-share button:hover,
.news-share button:focus-visible {
  color: #fff;
  background: #004080;
  transform: translateY(-2px);
  outline: none;
}

.news-share-status {
  min-height: 1.15rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.related-news {
  display: grid;
  gap: 0.95rem;
}

.related-news a {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid rgba(0, 64, 128, 0.08);
}

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

.related-news span {
  color: #4caf50;
  font-size: 0.78rem;
  font-weight: 900;
}

.related-news strong {
  color: #004080;
  line-height: 1.3;
}

.related-news a:hover strong,
.related-news a:focus-visible strong {
  color: #4caf50;
}

.section-contact {
  background: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(24rem, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
  max-width: 68rem;
  margin: 3.5rem auto 0;
}

.contact-info-list {
  display: grid;
  gap: 1.2rem;
}

.contact-info-card,
.contact-form-card {
  background: #fff;
  border: 1px solid rgba(0, 64, 128, 0.06);
  border-radius: 8px;
  box-shadow: 0 0.75rem 1.75rem rgba(56, 65, 74, 0.12);
}

.contact-info-card {
  display: grid;
  grid-template-columns: 3.05rem 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 5.05rem;
  padding: 1rem;
  color: var(--text);
}

.contact-info-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  color: #fff;
  background: #4caf50;
  font-size: 1.2rem;
}

.contact-info-card h3 {
  margin: 0 0 0.35rem;
  color: #004080;
  font-size: 1.05rem;
  font-weight: 800;
}

.contact-info-card p {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.contact-image {
  width: 100%;
  height: 12.8rem;
  margin-top: 0.55rem;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0.75rem 1.75rem rgba(56, 65, 74, 0.12);
}

.contact-form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.6rem;
}

.form-row {
  display: grid;
  gap: 0.55rem;
}

.form-row-full {
  grid-column: 1 / -1;
}

.form-row label {
  color: #004080;
  font-size: 0.86rem;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid rgba(56, 65, 74, 0.18);
  border-radius: 0;
  color: var(--text);
  background: #fff;
  font: inherit;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-row input {
  height: 3rem;
  padding: 0 1rem;
}

.form-row textarea {
  min-height: 8.5rem;
  resize: vertical;
  padding: 0.85rem 1rem;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #98a6ad;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: #4caf50;
  box-shadow: 0 0 0 0.18rem rgba(76, 175, 80, 0.13);
}

.contact-submit {
  grid-column: 1 / -1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: #4caf50;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: #43a047;
  box-shadow: 0 0.75rem 1.4rem rgba(76, 175, 80, 0.22);
  transform: translateY(-1px);
  outline: none;
}

.contact-submit:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.contact-form-status {
  grid-column: 1 / -1;
  min-height: 1.35rem;
  margin: -0.35rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.contact-form-status.is-success {
  color: #2f9e44;
}

.contact-form-status.is-error {
  color: #c92a2a;
}

.contact-form-status.is-sending {
  color: #004080;
}

.transparency-access {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 80, 160, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0.65rem 1.7rem rgba(56, 65, 74, 0.08);
}

.transparency-access span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: #4caf50;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.transparency-access h3 {
  margin: 0 0 0.45rem;
  color: #004080;
  font-size: 1.35rem;
}

.transparency-access p {
  max-width: 48rem;
  margin: 0;
  color: var(--muted);
}

.transparency-access-button {
  flex: 0 0 auto;
  border-radius: 999px;
  background: #005aa0;
  color: #fff;
}

.transparency-access-button:hover,
.transparency-access-button:focus-visible {
  background: #004080;
  color: #fff;
}

.site-footer {
  padding: 3rem 0 2rem;
  background: #004080;
  color: #fff;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr 1.1fr 1.25fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 2.25rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.35rem;
}

.footer-logo img {
  height: 3.35rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p,
.footer-newsletter p,
.footer-contact p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-brand p {
  max-width: 19rem;
}

.site-footer h3 {
  margin: 0 0 1.15rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-links a,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 180ms ease;
}

.footer-links a {
  margin-bottom: 0.58rem;
  font-size: 0.95rem;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: var(--yellow);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.footer-social a {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  transition: background-color 180ms ease, transform 180ms ease;
}

.footer-social a:hover {
  background: rgba(255, 210, 0, 0.9);
  color: #004080;
  transform: translateY(-2px);
}

.footer-contact {
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.7rem;
  align-items: start;
}

.footer-contact i {
  color: var(--yellow);
  font-size: 1rem;
  line-height: 1.35;
}

.footer-contact small {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  line-height: 1.2;
}

.newsletter-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.newsletter-form input {
  width: 100%;
  height: 2.65rem;
  padding: 0 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  outline: 0;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.newsletter-form input:focus {
  border-color: var(--yellow);
}

.newsletter-form button {
  height: 2.65rem;
  border: 0;
  border-radius: 0;
  color: #004080;
  background: var(--yellow);
  font-weight: 800;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.newsletter-form button:hover {
  background: #ffc400;
  transform: translateY(-1px);
}

.newsletter-form button:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.newsletter-status {
  min-height: 1.15rem;
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.82rem;
  line-height: 1.4;
}

.newsletter-status.is-success {
  color: #b7f7cc;
}

.newsletter-status.is-error {
  color: #ffd1d1;
}

.newsletter-status.is-sending {
  color: #fff1a8;
}

.footer-pattern-divider {
  height: 1.1rem;
  margin-top: 0.25rem;
  background-image: url("../external-assets/footer-hachura-strip.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: auto 1.1rem;
  opacity: 0.58;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.35rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 1.6rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .site-nav {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
    font-size: 0.95rem;
    text-align: left;
  }

  .hero {
    padding-top: 6rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-logo {
    display: grid;
    place-items: center;
  }

  .hero-logo img {
    width: min(78vw, 28rem);
  }

  .hero-copy p {
    margin: 0 auto;
    max-width: 42rem;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .project-structure {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-track {
    grid-auto-columns: calc((100% - 2.7rem) / 3);
  }

  .split,
  .cards.three,
  .cards.two,
  .news-detail-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    max-width: 44rem;
  }

  .timeline article,
  .method-step:nth-child(even) {
    width: calc(100% - 5.5rem);
    margin-left: 5.5rem;
    margin-right: 0;
  }

  .method-step:nth-child(even) .method-icon {
    left: -4.55rem;
    right: auto;
  }

  .method-icon {
    left: -4.55rem;
    width: 3.7rem;
    height: 3.7rem;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-archive-filter {
    grid-template-columns: 1fr 1fr;
  }

  .news-archive-filter label:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container,
  .site-nav,
  .hero-inner {
    width: min(100% - 1.25rem, 1180px);
  }

  .brand img {
    height: 2.65rem;
  }

  .hero-logo img {
    width: min(82vw, 20rem);
  }

  .hero-copy p {
    font-size: clamp(1.45rem, 8vw, 2.25rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .news-archive-filter {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .news-archive-filter label:first-child {
    grid-column: auto;
  }

  .button {
    width: min(calc(100vw - 2rem), 21rem);
  }

  .news-detail-hero {
    padding: 6.4rem 0 3.4rem;
  }

  .news-detail-heading h1 {
    font-size: clamp(1.85rem, 9.2vw, 2.45rem);
  }

  .news-detail-summary {
    font-size: 1rem;
  }

  .news-detail-meta {
    flex-direction: column;
    gap: 0.6rem;
  }

  .news-detail-section {
    padding: 3rem 0 4rem;
  }

  .news-cover {
    aspect-ratio: 4 / 3;
  }

  .news-article-body {
    padding: 1.25rem;
  }

  .news-sidebar {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4rem 0;
  }

  .feature-image {
    height: 18rem;
  }

  .project-structure {
    grid-template-columns: 1fr;
  }

  .person-main {
    grid-template-columns: minmax(0, 1fr) 4.6rem;
  }

  .person-photo {
    width: 4.35rem;
    height: 4.35rem;
    border-width: 3px;
  }

  .person-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .partners-carousel {
    padding: 0 2.85rem;
  }

  .partners-track {
    grid-auto-columns: 100%;
  }

  .partner-card {
    min-height: 13rem;
    padding: 1.35rem;
  }

  .partner-card img {
    height: 9rem;
    max-width: 15rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    margin-top: 2.25rem;
  }

  .contact-form-card {
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .contact-image {
    height: 11rem;
  }

  .transparency-access {
    align-items: flex-start;
    flex-direction: column;
  }

  .transparency-access-button {
    width: 100%;
  }

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

  .footer-bottom div {
    flex-direction: column;
    gap: 0.7rem;
  }

  .metrics,
  .stats-band {
    grid-template-columns: 1fr;
  }

  .timeline {
    gap: 1.4rem;
  }

  .timeline article,
  .method-step:nth-child(even) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 1.25rem;
  }

  .method-icon,
  .method-step:nth-child(even) .method-icon {
    position: relative !important;
    top: auto;
    left: auto;
    right: auto;
    width: 3.2rem;
    height: 3.2rem;
    margin-bottom: 1rem;
    transform: none;
  }

  .timeline .method-number {
    font-size: 1.35rem;
  }

  .timeline h3 {
    display: inline;
    font-size: 1.1rem;
  }
}

@media (min-width: 641px) and (max-width: 760px) {
  .partners-track {
    grid-auto-columns: calc((100% - 1.35rem) / 2);
  }
}
