:root {
  --brand-blue: #055C99;
  --brand-blue-dark: #033A69;
  --brand-gold: #FAAB08;
  --white: #FFFFFF;
  --gray-050: #F7F8FA;
  --gray-100: #EEF1F4;
  --gray-300: #CDD4DD;
  --gray-700: #334155;
  --gray-900: #111827;
  --shadow-soft: 0 10px 30px rgba(3, 58, 105, 0.12);
  --menu-width: 270px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-900);
  background: var(--gray-050);
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand-blue-dark);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 1rem;
  z-index: 2000;
}

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

.side-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--menu-width);
  height: 100vh;
  background: var(--brand-blue-dark);
  color: var(--white);
  padding: 1rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1200;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.25s ease;
}

.menu-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.menu-toggle-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.menu-title {
  margin: 0;
  font-weight: 700;
}

.side-nav {
  display: grid;
  gap: 0.38rem;
}

.side-nav a {
  color: var(--white);
  text-decoration: none;
  padding: 0.58rem 0.65rem;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
}

.side-nav a:hover,
.side-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}

.side-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.side-language-switcher {
  margin-top: auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  width: 100%;
  padding: 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
}

.side-language-switcher label {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #ffffff !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.side-language-switcher label::before {
  content: "\1F310";
  font-size: 0.95rem;
  line-height: 1;
}

.language-dropdown {
  position: relative;
  width: 100%;
}

.language-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 10px;
  padding: 0.48rem 0.65rem;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
}

.language-trigger:hover,
.language-trigger:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.language-caret {
  font-size: 0.9rem;
}

.language-menu {
  position: absolute;
  z-index: 1250;
  left: 0;
  right: 0;
  top: calc(100% + 0.35rem);
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(3, 58, 105, 0.98);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  display: none;
}

.language-dropdown.open .language-menu {
  display: block;
}

.language-dropdown.open-up .language-menu {
  top: auto;
  bottom: calc(100% + 0.35rem);
}

.language-dropdown.open .language-caret {
  transform: rotate(180deg);
}

.language-option {
  width: 100%;
  border: none;
  text-align: left;
  color: #ffffff;
  background: transparent;
  border-radius: 8px;
  padding: 0.45rem 0.5rem;
  font-size: 0.94rem;
  font-weight: 600;
  cursor: pointer;
}

.language-option:hover,
.language-option:focus-visible,
.language-option[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.page-shell {
  margin-left: var(--menu-width);
  transition: margin-left 0.25s ease;
}

.menu-reopen {
  position: fixed;
  left: 0.9rem;
  top: 0.9rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: var(--brand-blue-dark);
  color: var(--white);
  cursor: pointer;
  z-index: 1300;
  display: none;
}

.menu-reopen:hover,
.menu-reopen:focus-visible {
  background: var(--brand-blue);
  outline: none;
}

body.menu-collapsed .side-menu {
  transform: translateX(-100%);
}

body.menu-collapsed .page-shell {
  margin-left: 0;
}

body.menu-collapsed .menu-reopen {
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--gray-300);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(4px);
}

.header-content {
  min-height: 130px;
  display: flex;
  justify-content: flex-start;
  gap: 1.25rem;
  align-items: center;
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.header-slogan {
  margin: 0;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 92, 153, 0.24);
  background: linear-gradient(90deg, rgba(5, 92, 153, 0.08), rgba(250, 171, 8, 0.08));
  color: var(--brand-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.72rem;
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: min(640px, 65vw);
  max-height: 120px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.language-switcher label {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--gray-700);
}

.language-switcher select {
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-900);
  border-radius: 10px;
  padding: 0.42rem 0.65rem;
  font-size: 0.94rem;
  font-weight: 600;
}

.language-switcher select:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 1px;
}

.hero {
  background:
    linear-gradient(135deg, rgba(5, 92, 153, 0.93), rgba(3, 58, 105, 0.95)),
    radial-gradient(circle at 25% 18%, rgba(250, 171, 8, 0.4), transparent 42%);
  color: var(--white);
}

.hero-inner {
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.hero-kicker {
  margin: 0;
  color: #e9f3fd;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-kicker[data-i18n="hero.kicker"] {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.55rem;
  color: #fef9e7;
  letter-spacing: 0.11em;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid rgba(250, 171, 8, 0.52);
  border-radius: 999px;
  padding: 0.28rem 0.66rem;
  background: linear-gradient(90deg, rgba(250, 171, 8, 0.16), rgba(255, 255, 255, 0.04));
  box-shadow: 0 4px 12px rgba(250, 171, 8, 0.18);
}

.slogan-presence {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(3, 58, 105, 0.1);
  background:
    linear-gradient(180deg, #fffdf6 0%, #ffffff 100%),
    radial-gradient(circle at 10% 10%, rgba(250, 171, 8, 0.12), transparent 36%);
}

.slogan-presence-inner {
  padding-block: clamp(0.9rem, 2.1vw, 1.3rem);
}

.slogan-presence-lead {
  margin: 0;
  color: var(--brand-blue-dark);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.83rem;
  font-weight: 700;
}

.slogan-presence-primary {
  margin: 0.28rem 0 0;
  color: var(--brand-blue-dark);
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.045em;
}

.slogan-presence-secondary {
  margin: 0.3rem 0 0;
  color: var(--gray-700);
  max-width: 68ch;
  font-size: 0.98rem;
}

.slogan-marquee {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.65rem;
  overflow: hidden;
  user-select: none;
  opacity: 0.62;
}

.slogan-marquee-track {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: max-content;
  animation: slogan-scroll 52s linear infinite;
}

.slogan-marquee-item {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.58rem;
  border-radius: 999px;
  border: 1px solid rgba(5, 92, 153, 0.14);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-blue);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

@keyframes slogan-scroll {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(calc(-50% - 0.325rem));
  }
}

h1,
h2 {
  line-height: 1.25;
  margin-top: 0;
}

h1 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  max-width: 20ch;
}

.hero-subtitle {
  margin: 0;
  color: #fef3c7;
  font-size: clamp(1.2rem, 2.3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

#objetivos {
  background: linear-gradient(135deg, #044778, #03345d);
  color: var(--white);
}

#objetivos .hero-inner {
  padding-block: clamp(1.4rem, 3vw, 2.2rem);
}

#objetivos h2 {
  color: var(--white);
  margin-bottom: 0.45rem;
}

#objetivos .hero-subtitle {
  color: #fef3c7;
}

.section {
  padding-block: clamp(2.3rem, 5vw, 4rem);
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.readable-block {
  max-width: 78ch;
}

#quienes-somos .readable-block {
  max-width: max-content;
  padding: 1rem 1.2rem;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(3, 58, 105, 0.08);
}

#quienes-somos [data-i18n="aboutPage.intro.body"] {
  margin-bottom: 0;
  white-space: nowrap;
  font-size: 0.98rem;
}

.identity-highlight {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--brand-blue-dark);
  background: rgba(5, 92, 153, 0.1);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 1rem;
  color: var(--brand-blue-dark);
}

.subsection-title {
  margin: 1.4rem 0 0.8rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  color: var(--brand-blue-dark);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.pillar-card {
  padding: 1.35rem 1.4rem;
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 26px rgba(3, 58, 105, 0.1);
}

.pillar-card .subsection-title {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.pillar-card p {
  margin: 0;
  color: #1f2937;
  line-height: 1.82;
  font-size: 1.02rem;
  text-wrap: pretty;
  text-align: justify;
  text-justify: inter-word;
}

.pillar-card p + p {
  margin-top: 1rem;
}

.pillar-card .section-note {
  padding-top: 0.8rem;
  border-top: 1px dashed #c8d8ea;
  color: #334155;
  font-size: 0.98rem;
}

.quote-block {
  margin: 1.3rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid var(--brand-gold);
  background: rgba(5, 92, 153, 0.06);
  border-radius: 10px;
}

.quote-block p {
  margin: 0;
  font-style: italic;
}

.quote-block cite {
  display: block;
  margin-top: 0.7rem;
  color: var(--gray-700);
  font-size: 0.95rem;
}

p {
  margin-top: 0;
}

.values-list {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.95rem;
  max-width: 78ch;
}

.values-list li {
  padding-left: 0.35rem;
}

.team-grid {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.team-member {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: var(--white);
  padding: 0.75rem;
}

.team-card__inner {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.team-member__name {
  font-weight: 600;
  color: var(--brand-blue-dark);
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
}

.team-card__photo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid var(--gray-300);
}

.team-card__desc {
  font-size: 0.875rem;
  color: #4b5563;
  line-height: 1.55;
  margin: 0;
}

.objectives-articles {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  align-items: start;
}

.objective-article {
  padding: 1.2rem 1.25rem;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 22px rgba(3, 58, 105, 0.08);
  height: fit-content;
}

.objective-article h2 {
  margin-bottom: 0.8rem;
}

.objective-article p,
.objective-article .values-list li {
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
}

.objective-article .section-note {
  margin-top: 0.7rem;
}

.objective-article--educativos {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.objective-article--tecnicos {
  grid-column: 2;
  grid-row: 1;
}

.objective-article--financieros {
  grid-column: 2;
  grid-row: 2;
}

.section-head {
  margin-bottom: 1.35rem;
}

.section-note {
  max-width: 72ch;
  color: var(--gray-700);
}

.carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.carousel-control {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--brand-blue-dark);
  font-size: 1.4rem;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  transform: translateY(-2px);
  background: var(--gray-100);
  outline: none;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1rem, 2.5vw, 1.7rem);
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1rem;
  min-height: 310px;
}

.testimonial-media {
  display: flex;
  justify-content: center;
}

.testimonial-media img {
  border-radius: 50%;
  border: 3px solid var(--brand-gold);
  width: 96px;
  height: 96px;
  object-fit: cover;
}

.testimonial-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}

.testimonial-role,
.testimonial-project {
  margin: 0.35rem 0 0;
  color: var(--gray-700);
}

.testimonial-role {
  font-weight: 700;
  color: var(--brand-blue);
}

.testimonial-text {
  margin-top: 0.9rem;
  white-space: pre-wrap;
  font-size: 1.05rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.carousel-dots button {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 999px;
  background: var(--gray-300);
  cursor: pointer;
}

.carousel-dots button[aria-current="true"] {
  width: 30px;
  background: var(--brand-blue);
}

.program-card {
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 10px 22px rgba(3, 58, 105, 0.08);
  padding: 1.1rem;
}

.program-card + .program-card {
  margin-top: 1.15rem;
}

.project-block-title {
  margin: 0.95rem 0 0.55rem;
  color: var(--brand-blue-dark);
  font-size: 1.04rem;
}

.project-placeholder {
  margin: 0;
  padding: 0.72rem 0.82rem;
  border: 1px dashed #c8d8ea;
  border-radius: 10px;
  background: #f8fbff;
  color: #4b5563;
  font-style: italic;
}

.project-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 0.42rem 0.72rem;
  border-radius: 8px;
  font-weight: 700;
}

.project-social-icon {
  width: 1rem;
  height: 1rem;
  display: inline-flex;
}

.project-social-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.project-social-link:hover,
.project-social-link:focus-visible {
  background: var(--brand-blue-dark);
  outline: none;
}

.program-card__header {
  display: grid;
  grid-template-columns: minmax(0, 220px) 1fr;
  gap: 1rem;
  align-items: center;
}

.program-card__logo {
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  border: 1px solid #dbe6f2;
  border-radius: 12px;
  padding: 0.4rem;
  background: #ffffff;
}

.program-card__title {
  margin-top: 0;
}

.program-card__summary {
  margin: 0;
}

.program-media-title {
  margin: 1rem 0 0.65rem;
  color: var(--brand-blue-dark);
  font-size: 1.1rem;
}

.program-collapse {
  margin-top: 0.85rem;
  border: 1px solid #c9d9eb;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
}

.program-collapse summary {
  cursor: pointer;
  padding: 0.7rem 0.9rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  background: rgba(5, 92, 153, 0.08);
}

.program-collapse__content {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.program-collapse__content p {
  margin: 0;
  text-align: justify;
}

.program-collapse__paragraph {
  padding: 0.8rem 0.9rem;
  border: 1px solid #e2ebf5;
  border-radius: 10px;
  background: #ffffff;
  line-height: 1.75;
  color: #1f2937;
  box-shadow: 0 4px 10px rgba(3, 58, 105, 0.05);
}

.program-collapse__paragraph--lead {
  border-left: 4px solid var(--brand-gold);
  background: #fffcf3;
  font-weight: 600;
}

.program-collapse__paragraph--milestone {
  border-left: 4px solid var(--brand-blue);
  background: #f5faff;
}

.video-carousel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: start;
}

.video-carousel .video-slides {
  width: 100%;
}

.video-slide {
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #ffffff;
  padding: 0.75rem;
}

.video-slide h5 {
  margin: 0 0 0.6rem;
  color: var(--brand-blue-dark);
  font-size: 1rem;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #e7eef6;
  border-radius: 10px;
  overflow: hidden;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-local-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1rem;
  background: #f8fbff;
  color: var(--gray-700);
}

.video-local-fallback p {
  margin: 0;
  font-size: 0.95rem;
}

.video-local-fallback a {
  justify-self: center;
  text-decoration: none;
  background: var(--brand-blue);
  color: #ffffff;
  padding: 0.48rem 0.8rem;
  border-radius: 8px;
  font-weight: 700;
}

.video-local-fallback a:hover,
.video-local-fallback a:focus-visible {
  background: var(--brand-blue-dark);
  outline: none;
}

.video-carousel-control {
  width: 42px;
  height: 42px;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-blue-dark);
  font-size: 1.35rem;
  cursor: pointer;
}

.video-carousel-control:hover,
.video-carousel-control:focus-visible {
  background: var(--gray-100);
  outline: none;
}

.video-carousel-dots {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.6rem;
}

.video-carousel-dots button {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: var(--gray-300);
  cursor: pointer;
}

.video-carousel-dots button[aria-current="true"] {
  width: 26px;
  background: var(--brand-blue);
}

.site-footer {
  margin-top: 2rem;
  background: var(--brand-blue-dark);
  color: var(--white);
}

.site-footer .container {
  padding: 1rem 0;
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
}

.footer-contact {
  margin-top: 0.4rem !important;
  font-size: 0.96rem !important;
}

.footer-contact a {
  color: #dbeafe;
  text-decoration: underline;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #ffffff;
}

.footer-policy {
  margin-top: 0.45rem !important;
}

.footer-policy a {
  color: #dbeafe;
  text-decoration: underline;
}

.footer-policy a:hover,
.footer-policy a:focus-visible {
  color: #ffffff;
}

.contact-stack {
  display: grid;
  gap: 1.5rem;
}

.contact-eyebrow {
  margin: 0 0 0.45rem;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
}

.grant-layout,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.grant-card,
.contact-info-card,
.contact-form-card {
  border: 1px solid #dbe6f2;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 28px rgba(3, 58, 105, 0.08);
}

.grant-card,
.contact-info-card {
  padding: 1.35rem 1.4rem;
}

.grant-card .subsection-title,
.contact-info-card h2 {
  margin-top: 0;
}

.grant-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.grant-list--compact {
  gap: 0.7rem;
}

.grant-list li {
  color: #1f2937;
}

.grant-cta {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dashed #c8d8ea;
}

.grant-cta__text {
  margin-bottom: 0.9rem;
  color: var(--gray-700);
}

.grant-cta__button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #ffffff;
  text-decoration: none;
  padding: 0.8rem 1.15rem;
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(3, 58, 105, 0.16);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.grant-cta__button:hover,
.grant-cta__button:focus-visible,
.form-submit:hover,
.form-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(3, 58, 105, 0.2);
  outline: none;
}

.contact-info-card {
  display: grid;
  align-content: start;
  gap: 1rem;
}

.contact-info-panel {
  padding: 0.95rem 1rem;
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #ffffff;
}

.contact-info-panel--soft {
  background: #fffcf3;
  border-color: rgba(250, 171, 8, 0.35);
}

.contact-info-label {
  margin: 0 0 0.28rem;
  color: var(--brand-blue-dark);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-info-link {
  color: var(--brand-blue);
  font-weight: 700;
  text-decoration: none;
}

.contact-info-link:hover,
.contact-info-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.contact-info-note {
  margin: 0;
  color: var(--gray-700);
}

.contact-form-card {
  padding: 1.35rem 1.4rem;
  display: grid;
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.42rem;
}

.form-field label {
  color: var(--brand-blue-dark);
  font-size: 0.95rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: var(--gray-900);
  padding: 0.82rem 0.95rem;
  font: inherit;
  resize: vertical;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  border-color: rgba(5, 92, 153, 0.55);
  box-shadow: 0 0 0 4px rgba(5, 92, 153, 0.12);
  outline: none;
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #c2410c;
  box-shadow: 0 0 0 4px rgba(194, 65, 12, 0.1);
}

.field-error {
  min-height: 1.2rem;
  margin: 0;
  color: #9a3412;
  font-size: 0.88rem;
  font-weight: 600;
}

.form-helper {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.94rem;
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.form-submit[disabled] {
  opacity: 0.75;
  cursor: wait;
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.form-status[data-state="success"] {
  color: #166534;
}

.privacy-policy-section {
  background:
    radial-gradient(circle at top left, rgba(250, 171, 8, 0.14), transparent 30%),
    linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.privacy-policy-layout {
  display: grid;
}

.privacy-policy-card {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(1.35rem, 2.8vw, 2.1rem);
  border: 1px solid #dbe6f2;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 40px rgba(3, 58, 105, 0.1);
}

.privacy-policy-header {
  margin-bottom: 1.4rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #dbe6f2;
}

.privacy-policy-eyebrow {
  margin: 0 0 0.35rem;
  color: var(--brand-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.privacy-policy-content h3 {
  margin: 1.45rem 0 0.65rem;
  color: var(--brand-blue-dark);
  font-size: 1.18rem;
}

.privacy-policy-content p,
.privacy-policy-content li {
  color: #1f2937;
  text-align: justify;
  text-justify: inter-word;
}

.privacy-policy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.privacy-policy-content a {
  color: var(--brand-blue-dark);
}

.privacy-consent {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: grid;
  place-items: end center;
  padding: 1rem;
  background: rgba(3, 58, 105, 0.36);
  backdrop-filter: blur(3px);
}

.privacy-consent__card {
  width: min(720px, 100%);
  padding: 1rem;
  border: 1px solid rgba(5, 92, 153, 0.16);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 45px rgba(3, 58, 105, 0.2);
}

.privacy-consent__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.privacy-consent__language-label {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.88rem;
  font-weight: 600;
}

.privacy-consent__languages {
  display: inline-flex;
  gap: 0.4rem;
}

.privacy-consent__lang-button {
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-blue-dark);
  padding: 0.3rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.privacy-consent__lang-button[aria-pressed="true"] {
  border-color: rgba(5, 92, 153, 0.3);
  background: rgba(5, 92, 153, 0.08);
}

.privacy-consent__title {
  margin: 0;
  color: var(--brand-blue-dark);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.privacy-consent__message {
  margin: 0.6rem 0 0;
  color: var(--gray-700);
}

.privacy-consent__link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--brand-blue-dark);
  font-weight: 700;
}

.privacy-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.privacy-consent__button {
  min-width: 140px;
  border-radius: 12px;
  padding: 0.72rem 1rem;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-consent__button--accept {
  border: 1px solid rgba(5, 92, 153, 0.25);
  background: var(--brand-blue-dark);
  color: #ffffff;
}

.privacy-consent__button--reject {
  border: 1px solid var(--gray-300);
  background: #ffffff;
  color: var(--gray-900);
}

.privacy-consent__button:hover,
.privacy-consent__button:focus-visible,
.privacy-consent__lang-button:hover,
.privacy-consent__lang-button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.privacy-consent__actions--single {
  justify-content: flex-start;
}

.privacy-consent__actions--single .privacy-consent__button {
  min-width: 180px;
}

body.privacy-consent-active .side-menu,
body.privacy-consent-active .menu-reopen,
body.privacy-consent-active .skip-link {
  pointer-events: none;
}

body.privacy-consent-policy-page .page-shell {
  padding-bottom: 13.5rem;
}

body.privacy-consent-policy-page .page-shell a,
body.privacy-consent-policy-page .page-shell button,
body.privacy-consent-policy-page .page-shell input,
body.privacy-consent-policy-page .page-shell select,
body.privacy-consent-policy-page .page-shell textarea,
body.privacy-consent-policy-page .page-shell summary,
body.privacy-consent-policy-page .page-shell [role="button"],
body.privacy-consent-policy-page .page-shell [tabindex] {
  pointer-events: none;
}

.privacy-consent--policy-page {
  inset: auto 0 0 0;
  place-items: end center;
  padding: 0 1rem 1rem;
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}

.privacy-consent--policy-page .privacy-consent__card {
  width: min(860px, 100%);
  pointer-events: auto;
  border-color: rgba(5, 92, 153, 0.22);
  box-shadow: 0 16px 34px rgba(3, 58, 105, 0.16);
}

.support-qr-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1350;
  display: grid;
  justify-items: end;
  gap: 0.6rem;
}

.support-qr-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(3, 58, 105, 0.25);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 18px rgba(3, 58, 105, 0.2);
  cursor: pointer;
}

.support-qr-button.is-close {
  width: 40px;
  height: 40px;
  padding: 0;
  font-size: 1.35rem;
  line-height: 1;
}

.support-qr-close-icon {
  font-weight: 700;
  line-height: 1;
}

.support-qr-button:hover,
.support-qr-button:focus-visible {
  background: #ffffff;
  border-color: rgba(3, 58, 105, 0.45);
  outline: none;
}

.support-qr-bubble {
  width: min(74vw, 250px);
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 30px rgba(3, 58, 105, 0.18);
  padding: 0.6rem;
}

.support-qr-title {
  margin: 0 0 0.45rem;
  text-align: center;
  color: var(--brand-blue-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.support-qr-bubble img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.support-networks-intro {
  background:
    radial-gradient(circle at top right, rgba(250, 171, 8, 0.14), transparent 28%),
    linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.support-networks-intro__content {
  max-width: 76ch;
}

.support-allies-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ally-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1.25rem;
  border: 1px solid #dbe6f2;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(3, 58, 105, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ally-card:hover,
.ally-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px rgba(3, 58, 105, 0.13);
}

.ally-card--subud {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(250, 171, 8, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(5, 92, 153, 0.06), rgba(255, 255, 255, 0.98));
}

.ally-card__hero {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 0.75rem;
  text-align: center;
}

.ally-card__content {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.ally-card__logo {
  width: 100%;
  max-width: 240px;
  max-height: 120px;
  object-fit: contain;
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  padding: 0.75rem;
  background: #ffffff;
}

.ally-card__logo--subud {
  max-width: 180px;
  max-height: 160px;
  padding: 0.95rem;
}

.ally-card__logo--subud-inline {
  justify-self: center;
  margin-bottom: 0.15rem;
}

.ally-card__title {
  margin: 0;
  color: var(--brand-blue-dark);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.ally-card__summary {
  margin: 0;
  color: #334155;
}

.ally-card__group {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(5, 92, 153, 0.1);
  text-align: center;
}

.ally-card__eyebrow,
.expert-card__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(5, 92, 153, 0.1);
  color: var(--brand-blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.ally-pill-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ally-pill-list li {
  padding: 0.58rem 0.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d7e3ef;
  color: #1f2937;
  font-weight: 600;
}

.ally-pill-list__logo-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.35rem 0.45rem;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #d7e3ef;
}

.ally-pill-list__logo {
  width: min(100%, 170px);
  height: auto;
  max-height: 88px;
  border-radius: 16px;
}

.ally-card--document {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.ally-card--document .ally-card__logo {
  max-width: 320px;
  max-height: 220px;
  padding: 1rem;
}

.ally-document-preview {
  min-height: 190px;
  display: grid;
  align-content: space-between;
  padding: 1rem;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #eef5fc 100%);
  border: 1px solid #d7e3ef;
}

.ally-document-preview__badge {
  justify-self: start;
  display: inline-flex;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-gold);
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ally-document-preview__mark {
  justify-self: center;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
}

.ally-document-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 12px 22px rgba(3, 58, 105, 0.16);
}

.ally-document-link:hover,
.ally-document-link:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.experts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.expert-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid #dbe6f2;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 12px 24px rgba(3, 58, 105, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(3, 58, 105, 0.12);
}

.expert-card__avatar {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 30% 25%, rgba(250, 171, 8, 0.34), transparent 28%),
    linear-gradient(135deg, rgba(5, 92, 153, 0.16), rgba(3, 58, 105, 0.9));
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.expert-card__body {
  display: grid;
  gap: 0.55rem;
}

.expert-card__name {
  margin: 0;
  color: var(--brand-blue-dark);
  font-size: 1.15rem;
}

.expert-card__role {
  margin: 0;
  color: var(--brand-blue);
  font-weight: 700;
}

.expert-card__description {
  margin: 0;
  color: #475569;
}

@media (max-width: 860px) {
  :root {
    --menu-width: 240px;
  }

  .header-content {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0.85rem 0;
  }

  .brand {
    align-items: center;
  }

  .header-slogan {
    letter-spacing: 0.09em;
    font-size: 0.68rem;
    text-align: center;
  }

  .brand-logo {
    width: min(560px, 78vw);
    max-height: 80px;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .testimonial-media {
    justify-content: flex-start;
  }

  .pillars-grid,
  .team-grid,
  .objectives-articles,
  .grant-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .program-card__header {
    grid-template-columns: 1fr;
  }

  .support-allies-grid,
  .experts-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ally-card--subud,
  .ally-card--document {
    grid-template-columns: 1fr;
  }

  .objectives-articles {
    grid-template-rows: auto;
    min-height: auto;
  }

  .objective-article--educativos,
  .objective-article--tecnicos,
  .objective-article--financieros {
    grid-column: 1;
    grid-row: auto;
  }

  #quienes-somos .readable-block {
    max-width: 78ch;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  #quienes-somos [data-i18n="aboutPage.intro.body"] {
    white-space: normal;
    font-size: 1rem;
  }

  .support-qr-widget {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .privacy-consent {
    place-items: end stretch;
  }

  .privacy-consent__topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  body.privacy-consent-policy-page .page-shell {
    padding-bottom: 15rem;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1.05rem;
  }

  :root {
    --menu-width: 220px;
  }

  .brand-logo {
    width: 100%;
    max-height: 74px;
  }

  .carousel {
    grid-template-columns: 1fr;
  }

  .video-carousel {
    grid-template-columns: 1fr;
  }

  .support-allies-grid,
  .experts-grid {
    grid-template-columns: 1fr;
  }

  .carousel-control {
    width: 100%;
    height: 44px;
    border-radius: 10px;
  }

  .video-carousel-control {
    width: 100%;
    height: 44px;
    border-radius: 10px;
  }

  .language-switcher {
    width: 100%;
  }

  .language-trigger {
    min-width: 140px;
  }

  .support-qr-widget {
    right: 0.6rem;
    bottom: 0.6rem;
  }

  .support-qr-button {
    padding: 0.45rem 0.78rem;
    font-size: 0.84rem;
  }

  .support-qr-button.is-close {
    width: 38px;
    height: 38px;
  }

  .support-qr-bubble {
    width: min(86vw, 220px);
  }

  .privacy-consent {
    padding: 0.7rem;
  }

  .privacy-consent__card {
    padding: 0.9rem;
    border-radius: 16px;
  }

  .privacy-consent__actions {
    flex-direction: column;
  }

  .privacy-consent__button {
    width: 100%;
  }

  .privacy-consent--policy-page {
    padding: 0 0.7rem 0.7rem;
  }

  body.privacy-consent-policy-page .page-shell {
    padding-bottom: 17rem;
  }

  .slogan-presence-primary {
    letter-spacing: 0.03em;
  }

  .slogan-marquee-item {
    font-size: 0.78rem;
  }
}

/* AfterSchool – timeline & image grid */
.program-timeline {
  margin-top: 0.5rem;
}

.program-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.program-image-grid img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid #dbe6f2;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

@media (prefers-reduced-motion: reduce) {
  .slogan-marquee-track {
    animation: none;
  }
}


/* =============================================================
   E-NEWS PAGE
   ============================================================= */

.enews-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1.75rem;
  align-items: start;
}

.enews-sidebar {
  position: sticky;
  top: calc(130px + 1rem);
  max-height: calc(100vh - 160px);
  overflow-y: auto;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbe6f2;
  border-radius: 14px;
  padding: 1rem 0.85rem;
  box-shadow: 0 6px 18px rgba(3, 58, 105, 0.07);
}

.enews-sidebar-title {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-blue-dark);
}

.enews-issue-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.38rem;
}

.enews-issue-btn {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid var(--gray-300);
  border-radius: 9px;
  padding: 0.55rem 0.72rem;
  background: var(--white);
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.14s, color 0.14s, border-color 0.14s;
}

.enews-issue-btn:hover,
.enews-issue-btn:focus-visible {
  background: var(--gray-100);
  border-color: var(--brand-blue);
  color: var(--brand-blue-dark);
  outline: none;
}

.enews-issue-btn.active {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

.enews-no-issues {
  font-size: 0.92rem;
  color: var(--gray-700);
  font-style: italic;
  padding: 0.5rem 0.25rem;
}

.enews-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
}

.enews-viewer-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
}

.enews-download-link {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  text-decoration: none;
  background: var(--brand-gold);
  color: var(--gray-900);
  padding: 0.44rem 0.9rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.enews-download-link:hover,
.enews-download-link:focus-visible {
  opacity: 0.88;
  outline: none;
}

.enews-download-icon {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  flex-shrink: 0;
}

.enews-download-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.enews-viewer-body {
  display: grid;
  gap: 0.75rem;
}

.enews-pdf-frame {
  display: block;
  width: 100%;
  height: 78vh;
  min-height: 520px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: var(--gray-100);
}

.enews-pdf-fallback {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #dbe6f2;
  border-radius: 10px;
  background: #f8fbff;
}

.enews-pdf-fallback p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  flex: 1 1 200px;
}

.enews-open-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  background: var(--brand-blue);
  color: var(--white);
  padding: 0.4rem 0.82rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.enews-open-link:hover,
.enews-open-link:focus-visible {
  background: var(--brand-blue-dark);
  outline: none;
}

@media (max-width: 860px) {
  .enews-layout {
    grid-template-columns: 180px 1fr;
    gap: 1.25rem;
  }
  .enews-sidebar {
    position: static;
    max-height: none;
  }
}

@media (max-width: 640px) {
  .enews-layout {
    grid-template-columns: 1fr;
  }
  .enews-sidebar {
    position: static;
    max-height: 220px;
    overflow-y: auto;
  }
  .enews-issue-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  .enews-issue-btn {
    width: auto;
  }
  .enews-pdf-frame {
    height: 60vh;
    min-height: 340px;
  }
}
