:root {
  --color-primary: #0b4275;
  --color-primary-dark: #073a68;
  --color-bg: #f7fbff;
  --color-surface: #ffffff;
  --color-text: #173d66;
  --color-muted: #53606b;
  --color-border: #dce6ef;
  --color-accent: #ff8126;
  --font-main: "Helvetica Neue", Arial, sans-serif;
  --container-width: 1200px;
  --page-gutter: clamp(24px, 5vw, 80px);
  --section-space: clamp(72px, 7vw, 108px);
  --header-height: 88px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  color: var(--color-text);
  background: #ffffff;
  font-family: var(--font-main);
  padding-top: var(--header-height);
}

.site-shell,
.site-canvas {
  width: 100%;
}

body:not([class*="elementor-page-"]) .site-main,
.site-header.header-full-width,
.site-footer.footer-full-width {
  width: 100%;
  max-width: none;
  padding: 0;
}

body:not([class*="elementor-page-"]) .site-main {
  padding-inline: 0;
}

.site-header .header-inner,
.site-footer .footer-inner {
  width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), var(--container-width));
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), var(--container-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  min-height: 88px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(219, 227, 236, 0.85);
  box-shadow: 0 7px 18px rgba(28, 58, 87, 0.09);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  min-height: 88px;
}

.site-logo {
  color: var(--color-primary);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.8vw, 44px);
  color: #202a35;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--color-accent);
  content: "";
  opacity: 0;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  opacity: 1;
}

.menu-toggle {
  display: none;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 46px;
  padding: 10px 24px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.header-cta,
.btn-accent {
  color: #ffffff;
  background: var(--color-accent);
}

.header-cta {
  justify-self: end;
}

.btn-primary {
  color: #ffffff;
  background: var(--color-primary);
}

.btn-secondary {
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.84);
  border-color: var(--color-primary);
}

.hero-section {
  position: relative;
  min-height: clamp(590px, calc(100svh - var(--header-height)), 760px);
  overflow: hidden;
  background: #edf6fd;
}

.hero-section::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.92) 34%, rgba(247, 251, 255, 0.3) 58%, rgba(247, 251, 255, 0) 76%);
  content: "";
  pointer-events: none;
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 610px) 1fr;
  align-items: center;
  min-height: inherit;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 610px;
  padding: 64px 44px 64px 0;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.hero-copy h1,
.about-copy h2,
.impact-copy h2,
.contact-heading h2,
.section-title {
  margin: 0;
}

.hero-copy h1 {
  color: var(--color-primary);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 800;
  line-height: 1.12;
}

.hero-text {
  max-width: 540px;
  margin: 22px 0 0;
  color: #343c45;
  font-size: clamp(16px, 1.3vw, 18px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.about-portrait,
.article-media {
  overflow: hidden;
}

.podcast-section {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(40px, 5vh, 58px) 0;
  background: linear-gradient(180deg, #eef6fc 0%, #ffffff 100%);
}

.podcast-inner {
  display: grid;
  justify-items: center;
  gap: clamp(20px, 2.5vh, 28px);
}

.podcast-video {
  width: min(100%, 820px);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--color-primary-dark);
  box-shadow: 0 18px 44px rgba(16, 57, 94, 0.18);
}

.podcast-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* A imagem de referencia funciona como sprite para preservar os recortes aprovados. */
.reference-crop {
  display: block;
  max-width: none;
  height: auto;
}

.section-title {
  position: relative;
  color: var(--color-primary);
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.section-title::after,
.about-copy h2::after,
.impact-copy h2::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 20px auto 0;
  background: var(--color-accent);
  content: "";
}

.expertise-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, #f8fbfe 0%, #ffffff 100%);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(48px, 5vw, 76px);
}

.expertise-card {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 0;
  padding: 0 clamp(28px, 4vw, 64px);
  text-align: center;
}

.expertise-card:not(:last-child)::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  min-height: 220px;
  background: #d5e0eb;
  content: "";
}

.icon-badge {
  width: 72px;
  height: 68px;
  margin-bottom: 22px;
  color: var(--color-primary);
}

.icon-badge svg {
  width: 100%;
  height: 100%;
}

.expertise-card h3,
.article-body h3 {
  margin: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.expertise-card h3 {
  max-width: 240px;
  font-size: clamp(19px, 1.8vw, 24px);
  line-height: 1.25;
}

.expertise-card p {
  max-width: 260px;
  margin: 24px 0 0;
  color: #4b5661;
  font-size: 16px;
  line-height: 1.7;
}

.about-section {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.about-section::after {
  position: absolute;
  top: 30%;
  right: 0;
  width: 130px;
  height: 220px;
  background: radial-gradient(circle, rgba(12, 66, 117, 0.22) 0 1px, transparent 1.3px) 0 0 / 13px 13px;
  content: "";
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(500px, 38.2vw, 560px);
}

.about-portrait {
  position: relative;
  min-height: clamp(500px, 38.2vw, 560px);
}

.reference-crop--about {
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: none;
}

.about-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 560px;
  padding: 64px 40px 64px 70px;
}

.about-copy h2 {
  color: var(--color-primary);
  font-size: clamp(36px, 3.5vw, 50px);
  font-weight: 800;
  line-height: 1.2;
}

.about-copy h2::after,
.impact-copy h2::after {
  margin-right: auto;
  margin-left: 0;
}

.about-copy p {
  margin: 26px 0 0;
  color: #4a5662;
  font-size: 17px;
  line-height: 1.75;
}

.about-copy .btn {
  margin-top: 30px;
}

.articles-section {
  padding: var(--section-space) 0;
  background: linear-gradient(180deg, #f3f9fe 0%, #ffffff 100%);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: 42px;
}

.article-card {
  min-width: 0;
  overflow: hidden;
  padding: 8px 8px 24px;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(11, 54, 94, 0.12);
}

.article-media {
  position: relative;
  aspect-ratio: 187 / 84;
  border-radius: 5px;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: 3px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.article-media > .post-tag,
.post-card-media > .post-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
}

.article-media .reference-crop {
  width: 424.06%;
}

.reference-crop--card-1 {
  transform: translate(-10.34%, -57.94%);
}

.reference-crop--card-2 {
  transform: translate(-37.96%, -57.94%);
}

.reference-crop--card-3 {
  transform: translate(-65.45%, -57.94%);
}

.article-body {
  padding: 22px 16px 0;
}

.article-body h3 {
  font-size: clamp(19px, 1.7vw, 23px);
  line-height: 1.3;
}

.article-body p {
  margin: 16px 0 0;
  color: #4f5d68;
  font-size: 16px;
  line-height: 1.55;
}

.article-body a {
  display: inline-block;
  margin-top: 20px;
  color: var(--color-accent);
  font-size: 15px;
  font-weight: 700;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

.impact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 7vw, 104px) 0;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(7, 58, 104, 0.91) 0%, rgba(0, 74, 129, 0.9) 100%),
    url("../img/eduardo-impact-wide.png") left center / cover no-repeat;
}

.impact-overlay {
  display: none;
}

.impact-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  column-gap: clamp(48px, 7vw, 108px);
  align-items: start;
}

.impact-copy,
.impact-stats {
  display: contents;
}

.impact-copy h2 {
  grid-column: 1;
  max-width: 510px;
  color: #ffffff;
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.25;
}

.impact-copy h2::after {
  width: 46px;
}

.impact-copy p {
  grid-column: 1;
  max-width: 490px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.65;
}

.stats-grid {
  grid-row: 1 / span 2;
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-self: center;
}

.stat-item {
  display: grid;
  justify-items: center;
  align-content: start;
  min-width: 0;
  min-height: 170px;
  padding: 0 18px;
  color: #ffffff;
  text-align: center;
}

.stat-item:not(:last-child) {
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.stat-item svg {
  width: 38px;
  height: 38px;
  margin-bottom: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.stat-value {
  display: block;
  color: #ffffff;
  font-size: clamp(34px, 3vw, 46px);
  font-weight: 800;
  line-height: 1;
}

.stat-value--text {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.stat-label {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.4;
}

.impact-points {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  width: 100%;
  padding: 46px 0 0;
  margin: 54px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.52);
  list-style: none;
}

.impact-points li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  min-width: 0;
}

.point-icon {
  display: block;
  width: 50px;
  color: #ffffff;
}

.point-icon svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.impact-points strong {
  display: block;
  color: #ffffff;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.impact-points span span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
}

.impact-stats .btn {
  grid-column: 1 / -1;
  justify-self: center;
  margin-top: 52px;
  min-width: 280px;
}

.contact-section {
  padding: clamp(54px, 5vw, 78px) 0;
  background: #ffffff;
}

.contact-container {
  max-width: 980px;
}

.contact-heading {
  text-align: center;
}

.contact-heading h2 {
  color: var(--color-primary);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}

.contact-heading p {
  margin: 14px 0 0;
  color: #66717c;
  font-size: 14px;
  line-height: 1.5;
}

.contact-form {
  margin-top: 24px;
  padding: clamp(18px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #e1e8ef;
  border-radius: 7px;
  box-shadow: 0 8px 22px rgba(11, 54, 94, 0.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.contact-form label {
  display: block;
  min-width: 0;
}

.contact-form span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  color: #273847;
  background: #ffffff;
  border: 1px solid #dfe7ef;
  border-radius: 4px;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 90px;
  padding-top: 14px;
  resize: vertical;
}

.label-message {
  margin-top: 12px;
}

.contact-form .btn {
  display: flex;
  min-width: 280px;
  margin: 20px auto 0;
}

.life-section {
  position: relative;
  padding: clamp(72px, 7vw, 108px) 0;
  background:
    radial-gradient(circle, rgba(12, 66, 117, 0.07) 0 1px, transparent 1.2px) 0 4px / 14px 14px,
    linear-gradient(135deg, #edf6fd 0%, #ffffff 48%, #ffffff 100%);
}

.life-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: center;
}

.life-photo {
  overflow: hidden;
  aspect-ratio: 766 / 984;
}

.life-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.life-copy {
  max-width: 590px;
}

.life-copy h1 {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(42px, 4.5vw, 62px);
  font-weight: 800;
  line-height: 1.08;
}

.life-copy h1::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 24px 0 0;
  background: var(--color-accent);
  content: "";
}

.life-copy h2 {
  margin: 28px 0 0;
  color: var(--color-primary);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
}

.life-copy p {
  margin: 24px 0 0;
  color: #3e4d5a;
  font-size: 17px;
  line-height: 1.8;
}

.volunteer-section,
.apae-transformation-section {
  padding: clamp(72px, 7vw, 108px) 0;
  background: linear-gradient(180deg, #f3f9fe 0%, #ffffff 100%);
}

.volunteer-inner {
  max-width: 960px;
}

.volunteer-inner h2,
.apae-heading h2,
.apae-transformation-header h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.12;
}

.volunteer-inner h2::after,
.apae-heading h2::after,
.apae-transformation-header h2::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 24px 0 0;
  background: var(--color-accent);
  content: "";
}

.volunteer-lead {
  max-width: 760px;
  margin: 28px 0 0;
  color: #3e4d5a;
  font-size: 20px;
  line-height: 1.6;
}

.volunteer-label {
  margin: 28px 0 0;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 800;
}

.entity-tags,
.article-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.entity-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  color: var(--color-primary);
  background: #ffffff;
  border: 1px solid #bfd0df;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.apae-story-section {
  padding: clamp(72px, 7vw, 108px) 0;
  background: #ffffff;
}

.apae-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

.apae-copy p {
  margin: 0;
  color: #3e4d5a;
  font-size: 17px;
  line-height: 1.8;
}

.apae-copy p + p {
  margin-top: 24px;
}

.apae-transformation-header {
  max-width: 880px;
}

.apae-transformation-header .eyebrow {
  margin-bottom: 18px;
}

.apae-transformation-lead {
  margin: 28px 0 0;
  color: var(--color-primary);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.35;
}

.apae-transformation-summary {
  max-width: 850px;
  margin: 18px 0 0;
  color: #3e4d5a;
  font-size: 17px;
  line-height: 1.8;
}

.apae-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(44px, 6vw, 86px);
  margin-top: 54px;
  border-top: 1px solid #cddbe7;
}

.apae-result {
  padding: 34px 0;
  border-bottom: 1px solid #cddbe7;
}

.apae-result h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.apae-result p,
.apae-result ul {
  margin: 16px 0 0;
  color: #3e4d5a;
  font-size: 16px;
  line-height: 1.7;
}

.apae-result ul {
  padding-left: 20px;
}

.posts-hero {
  padding: clamp(30px, 4vh, 42px) 0;
  background:
    radial-gradient(circle, rgba(12, 66, 117, 0.08) 0 1px, transparent 1.2px) 0 4px / 14px 14px,
    linear-gradient(135deg, #edf6fd 0%, #ffffff 58%);
}

.posts-hero-inner {
  max-width: 850px;
}

.posts-page .posts-hero-inner {
  max-width: 1000px;
}

.posts-hero h1,
.article-header h1 {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
}

.posts-page .posts-hero h1 {
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.1;
}

.posts-hero h1::after,
.article-header h1::after {
  display: block;
  width: 54px;
  height: 3px;
  margin: 24px 0 0;
  background: var(--color-accent);
  content: "";
}

.posts-page .posts-hero h1::after {
  margin-top: 14px;
}

.posts-hero p {
  max-width: 720px;
  margin: 26px 0 0;
  color: #465563;
  font-size: 18px;
  line-height: 1.7;
}

.posts-page .posts-hero p {
  max-width: 980px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.5;
}

.posts-page .posts-list-section {
  padding: clamp(34px, 5vh, 48px) 0;
}

.posts-page .posts-grid {
  gap: 24px;
}

.posts-page .post-card-media {
  aspect-ratio: 2.2 / 1;
}

.posts-page .post-card-body {
  padding: 18px;
}

.posts-page .post-card-body h2 {
  font-size: 19px;
  line-height: 1.25;
}

.posts-page .post-card-body p {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.posts-page .post-read-more {
  margin-top: 14px;
}

.posts-list-section,
.videos-list-section {
  padding: var(--section-space) 0;
  background: #ffffff;
}

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

.post-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(11, 54, 94, 0.1);
}

.post-card-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.post-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 26px;
}

.post-card-body h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.post-card-body p {
  margin: 16px 0 0;
  color: #4f5d68;
  font-size: 15px;
  line-height: 1.6;
}

.post-read-more {
  display: inline-block;
  margin-top: 22px;
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 800;
}

.video-card {
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce5ed;
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(11, 54, 94, 0.1);
}

.video-card-frame {
  aspect-ratio: 16 / 9;
  background: var(--color-primary-dark);
}

.video-card-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  padding: 26px;
}

.video-card-body h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
}

.video-card-body p {
  margin: 16px 0 0;
  color: #4f5d68;
  font-size: 15px;
  line-height: 1.6;
}

.video-single {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.video-single h1 {
  max-width: 900px;
  margin: 0 0 40px;
  color: var(--color-primary);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.08;
}

.video-single .podcast-video {
  margin-inline: auto;
}

.video-single-content {
  max-width: 820px;
  margin: 42px auto 0;
  color: #3e4d5a;
  font-size: 18px;
  line-height: 1.75;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 52px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--color-primary);
  background: #ffffff;
  border: 1px solid #bfd0df;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.pagination .is-current {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.pagination .pagination-next {
  width: auto;
  padding: 0 16px;
}

.article-page {
  background: #ffffff;
}

.article-header {
  max-width: 920px;
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: 46px;
}

.article-tag-list {
  margin: 0 0 22px;
}

.article-lead {
  max-width: 780px;
  margin: 26px 0 0;
  color: #4b5966;
  font-size: 20px;
  line-height: 1.65;
}

.article-featured {
  width: min(calc(100% - var(--page-gutter) - var(--page-gutter)), 1200px);
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}

.article-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-content {
  max-width: 800px;
  padding: 62px 0 88px;
}

.article-content > p {
  margin: 0;
  color: #374958;
  font-size: 18px;
  line-height: 1.85;
}

.article-content > p + p {
  margin-top: 26px;
}

.article-video {
  margin-top: 54px;
  padding-top: 44px;
  border-top: 1px solid #d5e0ea;
}

.article-video h2 {
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.2;
}

.article-video p {
  margin: 16px 0 0;
  color: #4b5966;
  font-size: 16px;
  line-height: 1.7;
}

.video-frame {
  margin-top: 26px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #073a68;
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.article-back {
  display: inline-flex;
  margin-top: 34px;
  color: var(--color-primary);
  font-size: 15px;
  font-weight: 800;
}

.site-footer {
  width: 100%;
  color: #ffffff;
  background: linear-gradient(90deg, #073a68 0%, #064b80 100%);
}

.whatsapp-float {
  position: fixed;
  z-index: 95;
  right: clamp(18px, 2vw, 30px);
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #ffffff;
  background: #168c4e;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(8, 66, 38, 0.26);
  transition: bottom 180ms ease, background-color 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #ffffff;
  background: #0f7540;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cookie-banner {
  position: fixed;
  z-index: 110;
  right: 0;
  bottom: 0;
  left: 0;
  color: #ffffff;
  background: #073a68;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -8px 24px rgba(16, 42, 66, 0.2);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 72px;
  padding-block: 10px;
}

.cookie-banner p {
  max-width: 800px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-banner p a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-button {
  min-height: 42px;
  padding: 9px 18px;
  border: 1px solid #ffffff;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.cookie-button--primary {
  color: #073a68;
  background: #ffffff;
}

.cookie-button--secondary {
  color: #ffffff;
  background: transparent;
}

.cookie-banner-visible .whatsapp-float {
  bottom: 96px;
}

.privacy-section {
  padding: var(--section-space) 0;
}

.privacy-content {
  max-width: 900px;
}

.privacy-content h1 {
  margin: 0 0 42px;
  color: var(--color-primary);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
}

.privacy-content h2 {
  margin: 38px 0 14px;
  color: var(--color-primary);
  font-size: 26px;
}

.privacy-content p,
.privacy-content li {
  color: #465563;
  font-size: 17px;
  line-height: 1.75;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  min-height: 90px;
}

.footer-brand {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
}

.footer-social svg,
.footer-contact svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 12px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.footer-contact svg {
  width: 28px;
  height: 28px;
}

.reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  :root {
    --page-gutter: clamp(36px, 6vw, 64px);
  }

  .header-inner {
    grid-template-columns: minmax(170px, 1fr) auto minmax(160px, 1fr);
  }

  .site-nav {
    gap: 22px;
    font-size: 13px;
  }

  .header-cta {
    padding-inline: 18px;
  }

  .hero-copy {
    padding-right: 36px;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 4.6vw, 50px);
  }

  .about-copy {
    padding-left: 52px;
  }

  .impact-grid {
    column-gap: 44px;
  }

  .stat-item {
    padding-inline: 10px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: clamp(28px, 6vw, 48px);
    --section-space: 76px;
    --header-height: 72px;
  }

  .site-header,
  .header-inner {
    min-height: 72px;
  }

  .header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
  }

  .site-logo {
    font-size: 23px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex: 0 0 44px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 7px;
    background: #ffffff;
  }

  .menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--color-primary);
  }

  .menu-open .site-header {
    overflow: visible;
  }

  .menu-open .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: calc(0px - var(--page-gutter));
    left: calc(0px - var(--page-gutter));
    display: grid;
    gap: 0;
    padding: 10px var(--page-gutter) 18px;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    box-shadow: 0 14px 24px rgba(28, 58, 87, 0.13);
  }

  .menu-open .site-nav .menu {
    display: grid;
    width: 100%;
    gap: 0;
  }

  .menu-open .site-nav a {
    padding: 14px 0;
  }

  .menu-open .site-nav a::after {
    right: auto;
    width: 34px;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-section {
    min-height: clamp(620px, calc(100svh - var(--header-height)), 820px);
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy {
    max-width: 590px;
    padding: 70px 0 48px;
  }

  .hero-section::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.98) 0%, rgba(247, 251, 255, 0.9) 52%, rgba(247, 251, 255, 0.1) 78%);
  }

  .hero-background {
    object-position: 68% center;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 7vw, 54px);
  }

  .expertise-card {
    padding-inline: 24px;
  }

  .expertise-card p {
    font-size: 15px;
  }

  .about-section {
    padding-bottom: 76px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .about-portrait {
    width: calc(100% + var(--page-gutter) + var(--page-gutter));
    min-height: 500px;
    margin-left: calc(0px - var(--page-gutter));
  }

  .reference-crop--about {
    width: 100%;
    transform: none;
  }

  .about-copy {
    max-width: 680px;
    padding: 64px 0 0;
  }

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

  .article-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 10px);
    justify-self: center;
  }

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

  .impact-copy h2,
  .impact-copy p,
  .stats-grid,
  .impact-points,
  .impact-stats .btn {
    grid-column: 1;
  }

  .impact-copy h2 {
    max-width: 620px;
  }

  .impact-copy p {
    max-width: 580px;
  }

  .stats-grid {
    grid-row: auto;
    margin-top: 52px;
  }

  .impact-points {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .impact-points li {
    max-width: 620px;
  }

  .life-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .life-copy {
    max-width: 680px;
  }

  .apae-story-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

@media (max-width: 640px) {
  :root {
    --page-gutter: 20px;
    --section-space: 60px;
  }

  .hero-copy {
    padding: 50px 0 260px;
  }

  .eyebrow {
    margin-bottom: 16px;
    font-size: 11px;
    line-height: 1.4;
  }

  .hero-copy h1 {
    font-size: clamp(32px, 9.5vw, 40px);
    line-height: 1.15;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 15px;
    line-height: 1.6;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
  }

  .hero-actions .btn {
    width: 100%;
    min-width: 0;
    padding-inline: 12px;
    font-size: 12px;
  }

  .hero-section::before {
    background: linear-gradient(180deg, rgba(247, 251, 255, 0.99) 0%, rgba(247, 251, 255, 0.94) 57%, rgba(247, 251, 255, 0.22) 77%, rgba(247, 251, 255, 0) 100%);
  }

  .hero-background {
    object-position: 68% center;
  }

  .podcast-section {
    min-height: auto;
    padding: 52px 0;
  }

  .podcast-inner {
    gap: 24px;
  }

  .cookie-banner-inner {
    display: grid;
    gap: 14px;
    padding-block: 18px;
  }

  .cookie-actions,
  .cookie-button {
    width: 100%;
  }

  .cookie-button {
    flex: 1 1 0;
  }

  .cookie-banner-visible .whatsapp-float {
    bottom: 186px;
  }

  .whatsapp-float {
    width: 54px;
    height: 54px;
  }

  .section-title {
    font-size: 28px;
  }

  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 36px;
  }

  .expertise-card {
    padding: 36px 8px;
  }

  .expertise-card:first-child {
    padding-top: 0;
  }

  .expertise-card:not(:last-child)::after {
    top: auto;
    right: 15%;
    bottom: 0;
    left: 15%;
    width: auto;
    height: 1px;
    min-height: 0;
  }

  .expertise-card h3 {
    font-size: 21px;
  }

  .expertise-card p {
    margin-top: 16px;
  }

  .about-section {
    padding-bottom: 60px;
  }

  .about-section::after {
    display: none;
  }

  .about-portrait {
    min-height: 390px;
  }

  .reference-crop--about {
    width: 100%;
    transform: none;
  }

  .about-copy {
    padding-top: 48px;
  }

  .about-copy h2 {
    font-size: 34px;
  }

  .about-copy p {
    margin-top: 22px;
    font-size: 16px;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .article-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .article-body {
    padding: 20px 12px 0;
  }

  .article-body h3 {
    font-size: 20px;
  }

  .article-body p {
    font-size: 15px;
  }

  .impact-section {
    padding: 64px 0;
  }

  .impact-overlay {
    display: none;
  }

  .impact-copy h2 {
    font-size: 30px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .stat-item {
    min-height: 155px;
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .impact-points {
    margin-top: 44px;
    padding-top: 38px;
  }

  .impact-points li {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 14px;
  }

  .point-icon,
  .point-icon svg {
    width: 44px;
    height: 44px;
  }

  .impact-points strong {
    font-size: 17px;
  }

  .impact-stats .btn,
  .contact-form .btn {
    width: 100%;
    min-width: 0;
  }

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

  .contact-form {
    padding: 16px;
  }

  .life-section {
    padding: 54px 0 64px;
  }

  .life-grid {
    gap: 42px;
  }

  .life-copy h1 {
    font-size: 36px;
  }

  .life-copy h2 {
    font-size: 24px;
  }

  .life-copy p {
    font-size: 16px;
    line-height: 1.7;
  }

  .volunteer-section,
  .apae-story-section,
  .apae-transformation-section,
  .posts-list-section {
    padding: 60px 0;
  }

  .volunteer-inner h2,
  .apae-heading h2,
  .apae-transformation-header h2 {
    font-size: 32px;
  }

  .volunteer-lead {
    font-size: 18px;
  }

  .apae-results-grid,
  .posts-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .apae-result h3,
  .post-card-body h2 {
    font-size: 21px;
  }

  .posts-hero {
    padding: 40px 0;
  }

  .posts-hero h1,
  .article-header h1 {
    font-size: 38px;
  }

  .posts-hero p,
  .article-lead {
    font-size: 17px;
  }

  .article-header {
    padding-top: 58px;
    padding-bottom: 36px;
  }

  .article-featured {
    aspect-ratio: 4 / 3;
  }

  .article-content {
    padding: 46px 0 64px;
  }

  .article-content > p {
    font-size: 17px;
    line-height: 1.75;
  }

  .pagination {
    margin-top: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 24px;
    padding: 30px 0;
  }

  .footer-contact {
    justify-self: center;
    font-size: 16px;
  }
}

@media (max-width: 380px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    min-height: 360px;
  }

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

  .stat-item,
  .stat-item:nth-child(2) {
    min-height: 0;
    padding: 0 0 30px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }
}

.site-nav .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: inherit;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav .menu-item {
  margin: 0;
}

.site-nav .current-menu-item > a::after,
.site-nav .current_page_item > a::after,
.site-nav .current-menu-ancestor > a::after {
  opacity: 1;
}

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

.screen-reader-text:focus,
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 12px 16px;
  top: 12px;
  left: 12px;
  z-index: 1000;
  color: #ffffff;
  background: var(--color-primary);
}

.generic-page > section:first-child,
.generic-page > .wp-block-group:first-child {
  margin-top: 0;
}

.contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-message {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}

.form-message.is-success {
  color: #0d5933;
  background: #e7f7ee;
  border: 1px solid #bae3c8;
}

.form-message.is-error {
  color: #8a2d1a;
  background: #fff1ec;
  border: 1px solid #ffd0c1;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pagination .page-numbers.current {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #d9e5ef;
  border-radius: 999px;
}
