:root {
    color-scheme: light;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #172033;
    background: #f5f7fa;
}

* { box-sizing: border-box; }
html { overflow-x: hidden; }
body { margin: 0; min-width: 0; font-size: 1rem; }
a { color: #075f55; overflow-wrap: anywhere; }
img { display: block; max-width: 100%; height: auto; }
.site-header { padding: clamp(.75rem, 2vw, 1.25rem) max(1rem, calc((100% - 52rem) / 2)); background: #073b36; }
.site-header > a { display: block; max-width: 100%; color: #fff; font-size: clamp(1rem, 2.2vw, 1.25rem); font-weight: 700; line-height: 1.25; text-decoration: none; overflow-wrap: anywhere; }
.site-header nav { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .75rem; min-width: 0; }
.site-header nav a { min-width: 0; padding: .25rem 0; }
.content-shell { width: min(52rem, calc(100% - 2rem)); min-width: 0; margin: clamp(1rem, 4vw, 2rem) auto; padding: clamp(1rem, 4vw, 3rem); background: #fff; }
h1, h2, h3, h4 { line-height: 1.15; overflow-wrap: anywhere; }
.excerpt { color: #445066; font-size: 1.1rem; }
.featured-media, .media-gallery figure { margin: 1.5rem 0; }
.featured-media img { width: 100%; height: auto; object-fit: contain; }
.media-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.media-gallery figure { min-width: 0; }
.documents { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid #d8dde5; }
.news-list { display: grid; gap: 1rem; padding-left: 1.25rem; }
.news-list h2 { margin-bottom: .25rem; }
.editorial-body { min-width: 0; overflow-wrap: anywhere; }
.editorial-body img, .editorial-body video, .editorial-body embed, .editorial-body object { max-width: 100%; height: auto; }
.editorial-body video, .editorial-body embed, .editorial-body object { width: 100%; }
.editorial-body table { display: block; max-width: 100%; min-width: 100%; overflow-x: auto; border-collapse: collapse; }
pre { max-width: 100%; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; }

:root {
    --paper: #f6f4ee;
    --paper-2: #efede4;
    --ink: #20242b;
    --ink-2: #454b55;
    --muted: #59616c;
    --rule: #d9d6c9;
    /* Prueba visual temporal: derivada del azul dominante #000098 del banner histórico. */
    --accent-test: #30366f;
    --accent-test-dark: #242a5a;
    --accent-test-soft: #e7e8f1;
    --white: #ffffff;
    --container: 75rem;
    --reading-width: 50rem;
    --brand: var(--accent-test);
    --brand-dark: var(--accent-test-dark);
    --surface: var(--paper);
    --surface-alt: var(--paper-2);
    --text: var(--ink);
    --border: var(--rule);
    --shadow: 0 .9rem 2.4rem rgba(32, 36, 43, .075);
    --brand-950: var(--accent-test-dark);
    --brand-900: var(--accent-test-dark);
    --brand-800: var(--accent-test);
    --brand-700: var(--accent-test-dark);
    --brand-100: var(--accent-test-soft);
    --brand-50: var(--accent-test-soft);
    --ink-950: var(--ink);
    --ink-700: var(--ink-2);
    --ink-500: var(--muted);
    --line: var(--rule);
    --surface-soft: var(--paper-2);
    --site-width: var(--container);
    --radius-sm: .25rem;
    --radius-md: .5rem;
    --radius-lg: .75rem;
    --shadow-soft: var(--shadow);
    --space-1: .5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --space-6: 4rem;
    --space-7: 5rem;
}

html {
    overflow-x: hidden;
    background: var(--paper);
}

body {
    min-width: 0;
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
}

a {
    color: var(--accent-test);
    text-underline-offset: .18em;
}

a:hover {
    color: var(--ink);
}

a:focus-visible {
    outline: .18rem solid var(--accent-test);
    outline-offset: .2rem;
    border-radius: .2rem;
}

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

h1,
h2,
h3,
h4 {
    margin-top: 0;
    color: var(--ink);
    font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    font-weight: 700;
    letter-spacing: -.025em;
    line-height: 1.05;
    overflow-wrap: anywhere;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.55rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

h4 {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

p {
    margin-top: 0;
}

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

.site-container {
    width: min(var(--site-width), calc(100% - 3rem));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    padding: 0;
    border-bottom: 1px solid var(--rule);
    background: rgba(246, 244, 238, .97);
    box-shadow: 0 .25rem 1rem rgba(32, 36, 43, .055);
    backdrop-filter: blur(.65rem);
}

.site-header__inner {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.site-brand {
    display: inline-flex;
    max-width: 28rem;
    align-items: center;
    gap: .8rem;
    color: var(--ink);
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    font-weight: 760;
    line-height: 1.3;
    text-decoration: none;
}

.site-brand__logo {
    width: 4.15rem;
    height: 4.15rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.site-brand:hover {
    color: var(--accent-test);
}

.site-header .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .2rem;
    margin: 0;
}

.site-navigation {
    min-width: 0;
}

.site-navigation__toggle,
.site-navigation__trigger {
    display: none;
}

.site-navigation__toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-navigation__trigger {
    display: none;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding-inline: 1rem;
    border: 1px solid var(--rule);
    border-radius: 999px;
    color: var(--ink);
    cursor: pointer;
    font-size: .9rem;
    font-weight: 750;
}

.site-navigation__trigger span,
.site-navigation__trigger span::before,
.site-navigation__trigger span::after {
    width: 1rem;
    height: 1px;
    background: currentcolor;
}

.site-navigation__trigger span {
    position: relative;
    display: block;
}

.site-navigation__trigger span::before,
.site-navigation__trigger span::after {
    position: absolute;
    left: 0;
    content: "";
}

.site-navigation__trigger span::before {
    top: -.3rem;
}

.site-navigation__trigger span::after {
    top: .3rem;
}

.site-navigation__toggle:focus-visible + .site-navigation__trigger {
    outline: .18rem solid var(--accent-test);
    outline-offset: .2rem;
}

.site-header .site-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    color: var(--ink-2);
    font-size: .94rem;
    font-weight: 680;
    line-height: 1.2;
    text-decoration: none;
}

.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible {
    color: var(--ink);
    background: var(--paper-2);
}

.site-header .site-nav a::after {
    position: absolute;
    right: .7rem;
    bottom: .28rem;
    left: .7rem;
    height: 1px;
    background: var(--accent-test);
    content: "";
    opacity: 0;
    transform: scaleX(.45);
    transition: opacity 180ms ease, transform 180ms ease;
}

.site-header .site-nav a {
    position: relative;
}

.site-header .site-nav a:hover::after,
.site-header .site-nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.site-main {
    padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(4.5rem, 8vw, 7rem);
    background:
        linear-gradient(to bottom, var(--paper-2) 0, var(--paper-2) 17rem, var(--paper) 17rem);
}

.content-shell {
    width: min(var(--site-width), calc(100% - 3rem));
    min-width: 0;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.home-main {
    min-width: 0;
}

.home-hero {
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: var(--paper);
}

.home-hero__media {
    overflow: hidden;
    margin: 0;
    background: var(--paper);
}

.home-hero__media img {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    object-fit: contain;
}

/* The banner stays intact; its verified identity is readable on small screens. */
.home-hero__caption {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.home-section {
    position: relative;
    padding-block: clamp(4.5rem, 8vw, 7rem);
    background: var(--surface);
}

.home-section--about {
    padding-top: clamp(5.5rem, 9vw, 8rem);
}

.home-section--news,
.home-section--partners {
    background: var(--paper-2);
}

.home-section__inner {
    min-width: 0;
}

.home-section__content {
    max-width: var(--reading-width);
}

.home-section__content h2 {
    margin-bottom: var(--space-4);
}

.home-section__content h3 {
    margin-bottom: var(--space-2);
}

.home-section__content h4 {
    margin-bottom: var(--space-3);
    color: var(--brand-800);
}

.home-section__content p {
    color: var(--ink-700);
    font-size: clamp(1rem, 1.35vw, 1.125rem);
}

.home-section__content > a,
.button {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.1rem;
    border: 1px solid var(--brand-800);
    border-radius: var(--radius-sm);
    background: var(--brand-800);
    color: var(--white);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
}

.home-section__content > a:hover,
.button:hover {
    border-color: var(--brand-700);
    background: var(--brand-700);
    color: var(--white);
}

.button--secondary {
    background: transparent;
    color: var(--brand-800);
}

.button--secondary:hover {
    color: var(--white);
}

.home-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(2.5rem, 6vw, 5.25rem);
}

.home-about__media {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--paper-2);
    box-shadow: 0 1.1rem 2.8rem rgba(32, 36, 43, .1);
    transform: translateX(-1rem);
}

.home-about__media img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.home-about__media figcaption {
    padding: .6rem var(--space-2);
    color: var(--ink-500);
    background: var(--white);
    font-size: .78rem;
}

.home-section--about .home-section__content {
    max-width: none;
    position: relative;
    padding-left: var(--space-4);
}

.home-section--about .home-section__content::before {
    position: absolute;
    top: .25rem;
    bottom: .25rem;
    left: 0;
    width: .24rem;
    border-radius: 999px;
    background: var(--accent-test);
    content: "";
}

.home-section--partners {
    overflow: hidden;
    background: var(--paper-2);
}

.home-section--partners .home-section__content {
    max-width: none;
}

.home-media-gallery {
    display: flex;
    gap: var(--space-2);
    margin: 0;
}

.partner-carousel {
    margin-top: var(--space-4);
}

.partner-carousel__controls {
    display: flex;
    justify-content: flex-end;
    gap: .55rem;
    margin-bottom: var(--space-2);
}

.partner-carousel__controls button {
    display: inline-grid;
    width: 2.9rem;
    height: 2.9rem;
    place-items: center;
    padding: 0;
    border: 1px solid var(--rule);
    border-radius: 50%;
    color: var(--ink);
    background: var(--paper);
    cursor: pointer;
    font: inherit;
    font-size: 1.15rem;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.partner-carousel__controls button:hover:not(:disabled) {
    border-color: var(--accent-test);
    color: var(--white);
    background: var(--accent-test);
}

.partner-carousel__controls button:focus-visible,
.partner-carousel__viewport:focus-visible {
    outline: .18rem solid var(--accent-test);
    outline-offset: .2rem;
}

.partner-carousel__controls button:disabled {
    cursor: default;
    opacity: .38;
}

.partner-carousel__viewport {
    overflow-x: auto;
    padding: .15rem .1rem .85rem;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: var(--muted) transparent;
    scrollbar-width: thin;
    overscroll-behavior-inline: contain;
}

.home-media-gallery figure {
    display: flex;
    flex: 0 0 calc((100% - 4rem) / 5);
    min-width: 0;
    min-height: 10rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: var(--space-3);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 .4rem 1.2rem rgba(32, 36, 43, .04);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
}

.home-media-gallery figure:hover {
    border-color: rgba(48, 54, 111, .45);
    box-shadow: 0 .75rem 1.8rem rgba(32, 36, 43, .075);
    transform: translateY(-.2rem);
}

.home-media-gallery figure > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--radius-md) - .2rem);
}

.home-media-gallery img {
    width: 100%;
    max-height: 7rem;
    object-fit: contain;
}

.home-section--impact .home-section__inner {
    padding: clamp(2rem, 6vw, 4.5rem);
    border-top: .2rem solid var(--accent-test);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--ink);
    box-shadow: 0 1.2rem 3rem rgba(32, 36, 43, .12);
}

.home-impact-grid {
    display: grid;
    grid-template-columns: minmax(14rem, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.home-impact__media {
    margin: 0;
    padding: var(--space-3);
    border-radius: var(--radius-md);
    background: var(--white);
}

.home-impact__media img {
    width: 100%;
    object-fit: contain;
}

.home-section--impact .home-section__content,
.home-section--impact .home-section__content h2,
.home-section--impact .home-section__content p {
    color: var(--white);
}

.home-section--impact .home-section__content > a {
    border-color: var(--paper);
    background: var(--white);
    color: var(--brand-950);
}

.home-section--impact .home-section__content > a:hover {
    background: var(--brand-100);
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.section-eyebrow {
    margin-bottom: .45rem;
    color: var(--accent-test);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .17em;
    text-transform: uppercase;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: clamp(1.25rem, 2.4vw, 2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-card {
    display: flex;
    min-width: 0;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: 0 .5rem 1.4rem rgba(32, 36, 43, .045);
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.news-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--paper-2);
}

.news-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.news-card:hover {
    border-color: rgba(48, 54, 111, .38);
    box-shadow: 0 .9rem 2.1rem rgba(32, 36, 43, .085);
    transform: translateY(-.28rem);
}

.news-card:hover .news-card__media img {
    transform: scale(1.025);
}

.news-card__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    padding: clamp(1.35rem, 2.2vw, 1.75rem);
}

.news-card time,
.article-header time {
    color: var(--ink-500);
    font-size: .88rem;
    font-weight: 650;
    letter-spacing: .025em;
}

.news-card :is(h2, h3) {
    display: -webkit-box;
    overflow: hidden;
    margin: .65rem 0 .8rem;
    font-size: clamp(1.2rem, 1.7vw, 1.5rem);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.news-card :is(h2, h3) a {
    color: var(--ink-950);
    text-decoration: none;
}

.news-card :is(h2, h3) a:hover {
    color: var(--brand-800);
}

.news-card p {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: var(--space-3);
    color: var(--ink-700);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.text-action {
    align-self: flex-start;
    margin-top: auto;
    color: var(--brand-800);
    font-weight: 750;
    text-decoration-thickness: .1rem;
}

.home-news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: var(--space-5);
}

.home-news-pagination__label {
    margin-right: .35rem;
    color: var(--ink-500);
    font-size: .88rem;
    font-weight: 700;
}

.home-news-pagination a,
.home-news-pagination__ellipsis {
    display: inline-flex;
    min-width: 2.6rem;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 750;
    line-height: 1;
}

.home-news-pagination a {
    border: 1px solid var(--line);
    color: var(--brand-900);
    background: var(--white);
    text-decoration: none;
}

.home-news-pagination a:hover,
.home-news-pagination a.is-current {
    border-color: var(--brand-800);
    color: var(--white);
    background: var(--brand-800);
}

.home-section--contact {
    background: var(--brand-50);
}

.home-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-3);
}

.home-contact-card {
    min-width: 0;
    padding: var(--space-4);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--white);
}

.home-contact-card h2 {
    margin-bottom: 0;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.breadcrumb {
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--ink-500);
    font-size: .92rem;
}

.breadcrumb a {
    font-weight: 650;
}

.page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--line);
}

.page-heading h1 {
    margin-bottom: 0;
}

.page-heading p {
    margin-bottom: .4rem;
    color: var(--ink-500);
    font-weight: 650;
}

.news-grid--archive {
    row-gap: var(--space-4);
}

.archive-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}

.archive-pagination__pages {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-pagination__control,
.archive-pagination__page,
.archive-pagination__ellipsis {
    display: inline-flex;
    min-width: 2.75rem;
    min-height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-weight: 750;
    line-height: 1;
}

.archive-pagination__control,
.archive-pagination__page {
    border: 1px solid var(--line);
    color: var(--brand-900);
    background: var(--white);
    text-decoration: none;
}

.archive-pagination__control {
    gap: .45rem;
    padding-inline: .9rem;
}

.archive-pagination__control:hover,
.archive-pagination__page:hover {
    border-color: var(--brand-700);
    color: var(--white);
    background: var(--brand-800);
}

.archive-pagination__page.is-current {
    border-color: var(--brand-800);
    color: var(--white);
    background: var(--brand-800);
}

.archive-pagination__control.is-disabled {
    cursor: not-allowed;
    opacity: .45;
}

.article-shell {
    min-width: 0;
    padding: clamp(2rem, 5vw, 4.75rem);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius-lg) + .35rem);
    background: var(--paper);
    box-shadow: 0 1rem 2.8rem rgba(32, 36, 43, .07);
}

.page-intro {
    max-width: 62rem;
    margin-inline: auto;
}

.page-intro--with-media {
    display: grid;
    grid-template-columns: minmax(16rem, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.article-header {
    max-width: 53rem;
    margin-inline: auto;
    text-align: center;
}

.page-intro--with-media .article-header {
    margin-inline: 0;
    text-align: left;
}

.article-kicker {
    margin-bottom: var(--space-2);
    color: var(--accent-test);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.article-header h1 {
    margin-bottom: var(--space-3);
    font-size: clamp(2.05rem, 4.8vw, 4rem);
}

.page-lead-media {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--paper-2);
    box-shadow: 0 .85rem 2rem rgba(32, 36, 43, .09);
}

.page-lead-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.content-page--historia .page-lead-media {
    max-width: 37.5rem;
    justify-self: end;
}

.content-page--impacto-empresarial .page-intro--with-media {
    display: block;
}

.content-page--impacto-empresarial .page-intro--with-media .article-header {
    margin-inline: auto;
    text-align: center;
}

.content-page--impacto-empresarial .page-lead-media {
    max-width: 52rem;
    margin: var(--space-5) auto 0;
    padding: clamp(1rem, 3vw, 2rem);
    border-top: .2rem solid var(--accent-test);
    background: var(--white);
}

.content-page--directorio .article-body > h2 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

.membership-information address {
    display: grid;
    gap: .5rem;
    font-style: normal;
}

.membership-information address a {
    width: fit-content;
    max-width: 100%;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
}

.article-header .excerpt {
    margin: var(--space-3) auto 0;
    color: var(--ink-700);
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.featured-media {
    max-width: 62rem;
    margin: var(--space-5) auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--brand-50);
}

.featured-media img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.article-body {
    max-width: var(--reading-width);
    margin: var(--space-5) auto 0;
    color: var(--ink-2);
    font-size: clamp(1.02rem, 1.35vw, 1.125rem);
    overflow-wrap: anywhere;
}

.article-body > :first-child {
    margin-top: 0;
}

.article-body p,
.article-body ul,
.article-body ol,
.article-body blockquote {
    margin-bottom: var(--space-3);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    margin-top: var(--space-5);
    margin-bottom: var(--space-2);
}

.article-body h2 {
    padding-top: var(--space-3);
    border-top: 1px solid var(--line);
    color: var(--brand-900);
}

.article-body h3 {
    color: var(--brand-900);
}

.article-body blockquote {
    margin-inline: 0;
    padding: var(--space-2) var(--space-3);
    border-left: .25rem solid var(--brand-700);
    background: var(--brand-50);
}

.editorial-body img,
.editorial-body video,
.editorial-body embed,
.editorial-body object {
    max-width: 100%;
    height: auto;
}

.editorial-body video,
.editorial-body embed,
.editorial-body object {
    width: 100%;
}

.editorial-body table {
    display: block;
    max-width: 100%;
    min-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.article-media-gallery {
    display: grid;
    max-width: 62rem;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-4);
    margin: var(--space-5) auto 0;
}

.article-media-gallery figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
}

.article-media-gallery img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.documents {
    max-width: var(--reading-width);
    margin: var(--space-5) auto 0;
    padding-top: var(--space-4);
    border-top: 1px solid var(--line);
}

.site-footer {
    width: auto;
    margin: 0;
    padding: 0;
    color: var(--paper-2);
    border-top: .22rem solid var(--accent-test);
    background:
        radial-gradient(circle at 10% 0, rgba(48, 54, 111, .1), transparent 28%),
        var(--ink);
}

.site-footer__inner {
    display: grid;
    min-height: 15rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .8fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 3rem);
    padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.site-footer__brand-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    color: var(--white);
    font-size: 1.08rem;
    font-weight: 750;
    line-height: 1.3;
    text-decoration: none;
}

.site-footer__brand-link img {
    width: 3.7rem;
    height: 3.7rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.site-footer__brand p {
    margin: .6rem 0 0;
    color: rgba(246, 244, 238, .72);
    font-size: .9rem;
}

.site-footer__nav {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: .38rem;
}

.site-footer__nav a {
    color: var(--paper-2);
    font-size: .9rem;
    font-weight: 650;
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.site-footer__nav a:hover {
    color: var(--white);
    transform: translateX(.18rem);
}

.site-footer__column h2 {
    margin-bottom: var(--space-2);
    color: var(--white);
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer__column p {
    color: rgba(246, 244, 238, .72);
    font-size: .88rem;
    line-height: 1.55;
}

.site-footer__contact address {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
    color: var(--paper-2);
    font-size: .88rem;
    font-style: normal;
    line-height: 1.5;
}

.site-footer__contact a {
    color: var(--paper);
}

.site-footer__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2);
    padding-block: var(--space-2);
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(246, 244, 238, .64);
    font-size: .8rem;
}

.whatsapp-float {
    position: fixed;
    z-index: 18;
    right: clamp(1rem, 2vw, 1.65rem);
    bottom: clamp(1rem, 2vw, 1.65rem);
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border: 1px solid rgba(32, 36, 43, .1);
    border-radius: 50%;
    color: var(--white);
    background: var(--accent-test);
    box-shadow: 0 .45rem 1.4rem rgba(32, 36, 43, .18);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.whatsapp-float:hover {
    color: var(--white);
    box-shadow: 0 .65rem 1.7rem rgba(32, 36, 43, .24);
    transform: translateY(-.12rem);
}

.whatsapp-float svg {
    width: 2rem;
    height: 2rem;
}

.whatsapp-float:focus-visible {
    outline: .2rem solid var(--accent-test);
    outline-offset: .2rem;
}

pre {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

@media (max-width: 68.75rem) {
    .home-media-gallery figure {
        flex-basis: calc((100% - 3rem) / 4);
    }
}

@media (max-width: 56.25rem) {
    .site-header__inner {
        min-height: 4.6rem;
        align-items: center;
        flex-direction: row;
        gap: var(--space-2);
        padding-block: .55rem;
    }

    .site-brand {
        min-width: 0;
        max-width: calc(100% - 6.5rem);
    }

    .site-navigation {
        position: relative;
        margin-left: auto;
    }

    .site-navigation__trigger {
        display: inline-flex;
    }

    .site-navigation__toggle:not(:checked) ~ .site-nav {
        display: none;
    }

    .site-header .site-nav {
        position: absolute;
        top: calc(100% + .7rem);
        right: 0;
        display: grid;
        width: min(22rem, calc(100vw - 2rem));
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: .3rem;
        padding: .65rem;
        border: 1px solid var(--rule);
        border-radius: var(--radius-md);
        background: var(--paper);
        box-shadow: 0 1rem 2.5rem rgba(32, 36, 43, .14);
    }

    .site-header .site-nav a {
        justify-content: flex-start;
    }

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

    .home-about-grid,
    .home-impact-grid,
    .page-intro--with-media {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-about__media {
        transform: none;
    }

    .content-page--historia .page-lead-media {
        width: min(100%, 37.5rem);
        justify-self: center;
    }

    .home-media-gallery figure {
        flex-basis: calc((100% - 2rem) / 3);
    }

    .site-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-4);
    }
}

@media (max-width: 43.75rem) {
    :root {
        --space-7: 4rem;
    }

    .site-container,
    .content-shell {
        width: min(100% - 2rem, var(--site-width));
    }

    .home-hero__caption {
        position: static;
        width: min(100% - 2rem, var(--site-width));
        height: auto;
        padding-block: 1.5rem;
        overflow: visible;
        clip-path: none;
        white-space: normal;
        text-align: center;
    }

    .home-hero__caption h1 {
        margin: 0;
        font-size: clamp(1.4rem, 5.5vw, 2rem);
        line-height: 1.2;
    }

    .home-hero__caption p {
        margin: .75rem 0 0;
        color: var(--accent-test);
        font-weight: 650;
    }

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

    .home-about-grid {
        gap: var(--space-4);
    }

    .section-heading,
    .page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .article-shell {
        padding: var(--space-3);
        border-radius: var(--radius-md);
    }

    .page-intro--with-media {
        gap: var(--space-4);
    }

    .site-footer__meta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 37.5rem) {
    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 3.35rem;
        height: 3.35rem;
    }

    .site-footer {
        padding-bottom: 5rem;
    }

    .home-media-gallery figure {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .archive-pagination {
        gap: .35rem;
        margin-top: var(--space-5);
    }

    .archive-pagination__desktop-only {
        display: none;
    }

    .archive-pagination__control {
        width: 2.75rem;
        padding-inline: 0;
    }

    .archive-pagination__label {
        display: none;
    }

    .site-brand {
        max-width: 4rem;
    }

    .site-brand span {
        display: none;
    }

    .site-brand__logo {
        width: 3.4rem;
        height: 3.4rem;
    }

    .site-header .site-nav a {
        min-width: 0;
        min-height: 2.75rem;
        padding: .55rem .6rem;
    }

    .site-main {
        padding-block: var(--space-4) var(--space-5);
    }

    .home-section {
        padding-block: var(--space-6);
    }

    .home-section--about .home-section__content {
        padding-left: var(--space-3);
    }

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

    .news-card :is(h2, h3) {
        font-size: 1.28rem;
    }

    .home-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-contact-card {
        padding: var(--space-3);
    }

    .article-header {
        text-align: left;
    }

    .article-header h1 {
        font-size: clamp(1.8rem, 7.5vw, 2.1rem);
    }

    .featured-media,
    .article-body,
    .article-media-gallery {
        margin-top: var(--space-4);
    }

    .site-footer__nav {
        display: flex;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 26.25rem) {
    .home-media-gallery figure {
        min-height: 8rem;
        padding: var(--space-2);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .whatsapp-float {
        display: none;
    }
}
