@font-face {
 font-family: 'DM Sans';
 font-style: normal;
 font-weight: 400 700;
 font-display: swap;
 src: url(/fonts/dm-sans-latin-ext-v17.woff2) format('woff2');
 unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
 font-family: 'DM Sans';
 font-style: normal;
 font-weight: 400 700;
 font-display: swap;
 src: url(/fonts/dm-sans-latin-v17.woff2) format('woff2');
 unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{--ink:#20243b;--muted:#656b7c;--blue:#2c3787;--red:#ed2429;--gold:#c48b19;--line:#e2e5ef;--paper:#f6f7fb}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff;color:var(--ink);font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:focus-visible{outline:3px solid #2c3787;outline-offset:6px}a,button{-webkit-tap-highlight-color:transparent}p{line-height:1.7} .wrap{max-width:1200px;margin:auto;padding-left:48px;padding-right:48px}.header{max-width:1400px;margin:auto;padding:27px 48px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:13px;font-size:13px;line-height:1.35}.brand strong{font-size:17px;font-weight:600}.brand-logo{display:block;width:60px;height:60px;object-fit:contain;flex-shrink:0}.brand strong{color:var(--blue)}nav{display:flex;align-items:center;gap:34px;font-size:13px}nav a:hover,.text-link:hover{color:var(--blue)}.nav-location{border:1px solid var(--line);padding:12px 18px;border-radius:4px}.nav-location span{margin-left:16px}.hero{padding-top:66px;padding-bottom:0}.eyebrow,.small-label,.section-label{font-size:10px;letter-spacing:1.7px;font-weight:600}.eyebrow{display:flex;align-items:center;gap:10px}.dot{display:inline-block;width:6px;height:6px;background:var(--blue);border-radius:50%;vertical-align:middle;margin-right:5px}h1{font-size:clamp(60px,7.6vw,100px);line-height:1.06;letter-spacing:-5px;font-weight:500;margin:33px 0 36px}h1>span{color:#5866a0}.hero-bottom{display:flex;justify-content:space-between;align-items:end;gap:32px}.hero-bottom p{font-size:16px;color:var(--muted);max-width:460px;margin:0}.button{display:inline-flex;justify-content:space-between;align-items:center;gap:35px;padding:17px 23px;font-size:13px;font-weight:500;border-radius:4px;transition:background .2s,transform .2s}.button:hover{transform:translateY(-2px)}.dark{background:var(--blue);color:white}.dark:hover{background:#202a6e}.light{border:1px solid #d8ddec}.light:hover{background:var(--paper)}.hero-foot{margin-top:62px;border-top:1px solid var(--line);padding:19px 0;display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.hero-foot a span{margin-left:20px}.section{padding-top:95px;padding-bottom:100px;display:grid;grid-template-columns:1fr 2fr;gap:40px}.section-label{color:var(--muted);line-height:1.6}h2{font-size:clamp(34px,4.4vw,55px);line-height:1.12;letter-spacing:-2px;font-weight:500;margin:0 0 26px}.large-copy{font-size:21px;line-height:1.55;max-width:550px;margin-bottom:18px}.muted{color:var(--muted);font-size:14px;max-width:490px}.association{margin-top:35px;padding-top:23px;border-top:1px solid var(--line);max-width:490px}.association .small-label{color:var(--muted);font-size:9px}.association p{font-size:14px;margin-bottom:0}.media-section{background:var(--paper);padding:58px 0 48px}.media-section .section-label{display:flex;justify-content:space-between;gap:24px}.media-heading{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:end;margin-top:42px;margin-bottom:36px}.media-heading h2{margin-bottom:0}.media-heading p{font-size:14px;color:var(--muted);max-width:290px;margin:0 0 3px}.accent{color:var(--gold)}.live-feature{background:#fff;border:1px solid var(--line);border-radius:5px;padding:38px;display:grid;grid-template-columns:1.5fr 1fr;gap:28px;transition:border-color .2s}.live-feature:hover{border-color:var(--blue)}.live-feature h3{font-size:33px;font-weight:500;line-height:1.15;letter-spacing:-1px;margin:25px 0 15px}.live-feature p{color:var(--muted);font-size:13px;max-width:310px}.text-link{display:inline-flex;gap:37px;font-size:13px;margin-top:18px;font-weight:600}.signal{border-left:1px solid var(--line);display:flex;flex-direction:column;justify-content:center;align-items:center;gap:20px;color:#2c3787}.signal>span{font-size:110px;font-weight:400;line-height:1}.signal small{font-size:9px;letter-spacing:3px}.resource-grid{display:grid;grid-template-columns:1fr 1fr;margin-top:18px;gap:18px}.resource{border:1px solid #dfe3ef;padding:28px;border-radius:5px;transition:background .2s}.resource:hover{background:white}.resource-top{display:flex;justify-content:space-between;font-size:11px;color:var(--muted)}.resource-top span{font-size:22px}.resource h3{font-size:23px;font-weight:500;letter-spacing:-.5px;margin:17px 0 10px}.resource p{color:var(--muted);font-size:13px;max-width:310px;margin:0 0 28px}.resource>.small-label{font-size:9px;letter-spacing:1.1px}.external-note{font-size:11px;color:var(--muted);margin-top:22px;margin-bottom:0}.location{padding-top:95px}.directions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.address-note{border-top:1px solid var(--line);margin-top:32px;padding-top:18px;display:flex;gap:17px;align-items:center}.address-note>span{font-size:27px;color:var(--blue)}.address-note p{font-size:12px;color:var(--muted);margin:0}.address-note strong{font-weight:500;color:var(--ink)}.footer{border-top:1px solid var(--line);padding-top:38px;padding-bottom:22px}.footer-top{display:grid;grid-template-columns:1fr 1fr auto;gap:35px;align-items:start}.footer-name{font-size:30px;line-height:1.08;letter-spacing:-1px}.footer-top p{font-size:12px;color:var(--muted);margin:0}.back-top{font-size:11px}.footer-bottom{display:flex;justify-content:space-between;gap:22px;border-top:1px solid var(--line);margin-top:36px;padding-top:20px;font-size:10px;color:var(--muted)}.skip{position:absolute;top:-70px;background:var(--ink);color:white;padding:12px;z-index:10}.skip:focus{top:10px}@media(min-width:1500px){.hero{padding-top:85px}}@media(max-width:700px){.wrap{padding-left:24px;padding-right:24px}.header{padding:20px 24px;align-items:start}.brand{flex-shrink:0}.brand-logo{width:46px;height:46px}nav{gap:12px;flex-wrap:wrap;justify-content:flex-end;font-size:11px;max-width:190px}nav a:first-child{display:none}.nav-location{padding:8px 11px}.nav-location span{margin-left:7px}.hero{padding-top:44px}.eyebrow{font-size:8px;letter-spacing:1.2px}h1{font-size:clamp(43px,9.7vw,68px);letter-spacing:-2.6px;margin:28px 0}.hero-bottom{display:block}.hero-bottom p{font-size:14px}.hero-bottom .button{margin-top:25px}.hero-foot{margin-top:40px}.section{grid-template-columns:1fr;gap:28px;padding-top:55px;padding-bottom:60px}h2{letter-spacing:-1.5px;font-size:37px}.large-copy{font-size:19px}.media-section{padding:35px 0}.media-section .section-label>span:last-child{display:none}.media-heading{grid-template-columns:1fr;gap:16px;margin:28px 0}.media-heading p{max-width:340px}.live-feature{padding:26px;grid-template-columns:1fr}.live-feature h3{font-size:29px}.signal{display:none}.resource-grid{gap:12px}.resource{padding:19px}.resource h3{font-size:20px}.resource p{font-size:12px}.resource>.small-label{font-size:8px;overflow-wrap:anywhere}.footer-top{grid-template-columns:1fr;gap:22px}.footer-bottom{flex-direction:column;gap:10px}.button{padding:16px 18px;gap:24px}.footer{padding-top:30px}.external-note{line-height:1.6}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Color identity: blue for actions, red and gold for restrained details. */
.footer-brand{display:flex;gap:16px;align-items:center}.footer-brand img{flex-shrink:0;object-fit:contain}.live-feature .dot{background:var(--red)}.association{border-top-color:#e6d7b4}.nav-location:hover{border-color:var(--blue);background:var(--paper)}.resource-top>span,.text-link{color:var(--blue)}.hero-foot{position:relative}.hero-foot:before{content:"";position:absolute;top:-1px;left:0;width:48px;height:2px;background:var(--gold)}

/* Institutional heading stays readable across screen sizes. */
.hero h1{font-size:clamp(45px,6.7vw,84px);letter-spacing:-3.5px}.brand strong{font-size:15px}.brand{font-size:11px}.brand-logo{width:64px;height:64px}@media(max-width:700px){.hero h1{font-size:clamp(36px,8.8vw,58px);letter-spacing:-1.8px}.header{flex-wrap:wrap;gap:18px}.brand{font-size:10px}.brand strong{font-size:13px}.brand-logo{width:50px;height:50px}.header nav{max-width:none;width:100%;justify-content:space-between}.header nav a:first-child{display:inline}}

#carpa-sitio, #en-vivo { grid-template-columns: 1fr; }
#carpa-sitio h3 { margin-top: 0; }
#en-vivo iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 4px; }

.secondary-page {
 padding-top: clamp(36px, 7vw, 72px);
 padding-bottom: clamp(56px, 9vw, 100px);
}

.secondary-page h1 {
 font-size: clamp(44px, 7vw, 76px);
 letter-spacing: -0.055em;
 margin: 24px 0 12px;
}

nav a[aria-current="page"] {
 color: var(--blue);
 font-weight: 700;
}

nav a[aria-current="page"] {
 text-decoration: underline;
 text-underline-offset: 5px;
}

.gallery-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
 gap: 16px;
 margin-top: 28px;
}

.gallery-grid a {
 display: block;
 border-radius: 6px;
 background: var(--paper);
}

.gallery-grid img {
 height: auto;
 display: block;
 width: 100%;
 aspect-ratio: 4 / 3;
 object-fit: cover;
 border-radius: inherit;
}

.live-status {
 padding: clamp(24px, 7vw, 72px) 20px;
 background: var(--paper);
 border: 1px solid var(--line);
 border-radius: 6px;
 text-align: center;
 color: var(--muted);
}

@media (max-width: 700px) {
 .header nav {
 justify-content: flex-start;
 gap: 10px 16px;
 }
}

.link-arrow {
 display: inline-block;
 position: relative;
 width: .8rem;
 height: .8rem;
 flex: 0 0 .8rem;
 vertical-align: -.06em;
}
.link-arrow::before, .link-arrow::after {
 content: "";
 position: absolute;
 display: block;
}
.link-arrow::before {
 width: 80%;
 height: 1.5px;
 background: currentColor;
 left: 11%;
 top: 48%;
 transform: rotate(-45deg);
}
.link-arrow::after {
 width: 48%;
 height: 48%;
 border-top: 1.5px solid currentColor;
 border-right: 1.5px solid currentColor;
 top: 8%;
 right: 8%;
}
.link-arrow-inline { transform: rotate(45deg); }
.button .link-arrow, .text-link .link-arrow, .resource-top .link-arrow { align-self: center; }

.header {
 position: sticky;
 top: 0;
 z-index: 20;
 min-height: 78px;
 padding-block: 12px;
 background: linear-gradient(115deg, #ffffff 10%, #f7f8fef5 70%, #eff2fcf0);
 -webkit-backdrop-filter: blur(14px);
 backdrop-filter: blur(14px);
}
.brand-name {
 font-size: 21px;
 font-weight: 600;
 line-height: 1.05;
 letter-spacing: -.035em;
}
.header nav a[aria-current="page"] { font-weight: 700; }
.footer-top { grid-template-columns: 1fr 1fr; }
.skip:focus { z-index: 30; }
.scroll-top {
 position: fixed;
 right: max(18px, env(safe-area-inset-right));
 bottom: max(18px, env(safe-area-inset-bottom));
 z-index: 21;
 width: 46px;
 height: 46px;
 display: grid;
 place-items: center;
 border-radius: 50%;
 background: var(--blue);
 color: #fff;
 box-shadow: 0 4px 16px #20243b33;
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
 transition: opacity 200ms ease, visibility 0s linear 200ms;
}
.scroll-top.is-visible {
 opacity: 1;
 visibility: visible;
 pointer-events: auto;
 transition-delay: 0s;
}
.scroll-top[hidden] { display: none; }
.scroll-top:hover { background: #202a6e; }
.scroll-top span {
 position: relative;
 width: 2px;
 height: 15px;
 background: currentColor;
}
.scroll-top span::before {
 content: "";
 position: absolute;
 top: 0;
 left: 50%;
 width: 8px;
 height: 8px;
 border-top: 2px solid currentColor;
 border-left: 2px solid currentColor;
 transform: translateX(-50%) rotate(45deg);
}
@media (max-width: 700px) {
 .header {
 align-items: center;
 min-height: 66px;
 padding: 10px 16px;
 gap: 8px 18px;
 flex-wrap: wrap;
 }
 .header nav { justify-content: flex-start; max-width: none; gap: 8px 14px; }
 .header nav a:first-child { display: inline; }
 .brand-name { font-size: 18px; }
 .footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
}

.header {
 width: 100%;
 max-width: none;
 padding-inline: max(24px, calc((100vw - 1304px) / 2));
 background: linear-gradient(112deg, rgb(255 255 255 / 88%), rgb(240 244 255 / 62%));
 -webkit-backdrop-filter: blur(10px) saturate(125%);
 backdrop-filter: blur(10px) saturate(125%);
}
.header a, .menu-toggle, .privacy-link { min-height: 44px; }
.header nav a { display: flex; align-items: center; }
.header :focus-visible, .scroll-top:focus-visible, .privacy-link:focus-visible {
 outline: 2px solid var(--blue);
 outline-offset: 3px;
}
.menu-toggle { display: none; }
.footer-top { grid-template-columns: minmax(0, 1fr) auto; }
.privacy-link { display: inline-flex; align-items: center; font-size: 12px; text-decoration: underline; }
.privacy-page > :is(p, dl, ul) { max-width: 65ch; }
.privacy-page h2 { font-size: clamp(23px, 4vw, 32px); letter-spacing: -.025em; margin: 30px 0 8px; }
.privacy-page a { text-decoration: underline; }
.privacy-page li { margin: 12px 0; }

@media (max-width: 860px) {
 .header { min-height: 68px; padding: 9px 16px; gap: 8px 14px; flex-wrap: wrap; }
 .header .brand-logo { width: 42px; height: 42px; }
 .header nav { width: 100%; max-width: none; gap: 4px 18px; justify-content: flex-start; }
 .header nav a:first-child { display: flex; }
 .header .menu-toggle:not([hidden]) {
 display: inline-flex;
 align-items: center;
 gap: 9px;
 padding: 0 12px;
 border: 1px solid #c9cee1;
 border-radius: 8px;
 color: var(--ink);
 background: rgb(255 255 255 / 56%);
 font: 600 14px 'DM Sans', Arial, sans-serif;
 cursor: pointer;
 }
 .menu-icon {
 width: 17px;
 height: 13px;
 background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
 border-block: 1.5px solid currentColor;
 }
 .header .menu-toggle:not([hidden]) + nav {
 position: absolute;
 top: calc(100% + 6px);
 left: 12px;
 right: 12px;
 width: auto;
 display: grid;
 gap: 0;
 padding: 6px 12px;
 max-height: calc(100dvh - 90px);
 overflow: auto;
 font-size: 15px;
 background: #fff;
 border: 1px solid var(--line);
 border-radius: 10px;
 box-shadow: 0 10px 30px #20243b26;
 }
 .header .menu-toggle[aria-expanded="false"]:not([hidden]) + nav { display: none; }
 .header .menu-toggle:not([hidden]) + nav a { padding: 0 8px; }
 .header .menu-toggle:not([hidden]) + nav a + a { border-top: 1px solid var(--line); }
}
@media (max-width: 760px) {
 .footer-top { grid-template-columns: 1fr; gap: 12px; }
}

.footer-links { flex-wrap: wrap; gap: 0 18px; max-width: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; text-decoration: underline; }
.contact-form { display: grid; gap: 16px; max-width: 580px; margin-top: 28px; }
.contact-form label { display: grid; gap: 6px; font-weight: 600; }
.contact-form input:not([type=checkbox]), .contact-form textarea {
 width: 100%;
 padding: 10px 12px;
 min-height: 44px;
 border: 1px solid #9da6bf;
 border-radius: 6px;
 font: inherit;
 color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.contact-form .contact-consent { display: flex; align-items: start; font-weight: 400; }
.contact-form p { margin: 0; }
.contact-form button { justify-self: start; border: 0; cursor: pointer; }
.contact-form :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.contact-success { color: #255843; }
@media (max-width: 760px) {
 .footer-links { justify-content: flex-start; gap: 0 18px; }
 .footer-links a:first-child { display: inline-flex; }
}

 .header .language-switch { position: relative; flex-shrink: 0; }
.language-switch summary {
 min-height: 44px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 padding-inline: 12px;
 border: 1px solid #d8ddec;
 border-radius: 8px;
 background: rgb(255 255 255 / 61%);
 color: var(--blue);
 font-weight: 600;
 font-size: 13px;
 cursor: pointer;
 list-style: none;
}
.language-switch summary::-webkit-details-marker { display: none; }
.language-switch summary::after {
 content: "";
 width: 6px;
 height: 6px;
 border-right: 1.5px solid;
 border-bottom: 1.5px solid;
 transform: translateY(-2px) rotate(45deg);
}
.language-switch[open] summary::after { transform: translateY(1px) rotate(225deg); }
.language-panel {
 position: absolute;
 z-index: 1;
 top: calc(100% + 8px);
 right: 0;
 width: 190px;
 padding: 10px;
 background: white;
 border: 1px solid var(--line);
 border-radius: 10px;
 box-shadow: 0 12px 32px #20243b24;
}
.language-panel p { margin: 2px 8px 8px; font-size: 12px; color: var(--muted); }
.language-current, .language-panel .language-choice {
 min-height: 44px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: 0 8px;
 border-radius: 6px;
 font-size: 14px;
}
.language-current span { font-size: 11px; color: var(--muted); }
.language-current { color: var(--blue); font-weight: 600; background: #e9edf9; }
.language-panel .language-choice:hover, .language-panel .language-choice:focus-visible { color: var(--blue); background: var(--paper); }
@media (min-width: 861px) {
 .header .language-switch { order: 1; }
 .header nav { margin-left: auto; gap: clamp(12px, 2.25vw, 34px); }
}
@media (max-width: 860px) {
 .header { column-gap: 8px; }
 .header .language-switch { margin-left: auto; }
 .language-switch summary { padding-inline: 8px; gap: 5px; }
 .header .menu-toggle:not([hidden]) { padding-inline: 8px; gap: 5px; }
}
#nosotros h3 { margin: 28px 0 6px; font-size: 19px; }
#nosotros dl.association { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
#nosotros dt, .contact-details dt { font-weight: 600; }
#nosotros dd, .contact-details dd { margin: 0; }
#nosotros .muted a, .contact-details dl a, .contact-map { text-decoration: underline; text-underline-offset: 3px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; align-items: start; }
.footer-social a {
 display: inline-flex;
 align-items: center;
 min-height: 44px;
 padding: 0 14px;
 border: 1px solid #d8ddec;
 border-radius: 6px;
 font-size: 13px;
 font-weight: 600;
 color: var(--blue);
}
.footer-social a:hover, .contact-channels a:hover { background: var(--paper); border-color: var(--blue); }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 32px; margin-top: 32px; }
.contact-details, .contact-message { padding: clamp(20px, 3.5vw, 36px); border: 1px solid var(--line); border-radius: 8px; }
.contact-details { background: var(--paper); }
.contact-layout h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.035em; margin-bottom: 16px; }
.contact-details dd { margin: 4px 0 18px; line-height: 1.55; overflow-wrap: anywhere; }
.contact-details h3 { margin: 30px 0 12px; font-size: 17px; }
.contact-channels { display: grid; gap: 8px; }
.contact-channels a {
 display: grid;
 gap: 3px;
 padding: 10px 12px;
 border: 1px solid var(--line);
 border-radius: 6px;
 background: #fff;
 color: var(--blue);
 font-weight: 600;
}
.contact-channels span { font-size: 13px; font-weight: 400; color: var(--muted); }
.contact-message .contact-form { margin-top: 0; }
@media (max-width: 760px) {
 #nosotros dl.association { grid-template-columns: 1fr; }
 #nosotros dd + dt { margin-top: 8px; }
 .contact-layout { grid-template-columns: 1fr; gap: 16px; }
}

.about-page dl.association { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; }
.about-page dt { font-weight: 600; }
.about-page dd { margin: 0; }
@media (max-width: 480px) {
 .about-page dl.association { grid-template-columns: 1fr; }
 .about-page dd + dt { margin-top: 8px; }
}

.footer-social a, .contact-channels a { display: flex; align-items: center; gap: 10px; }
.social-icon { flex: 0 0 22px; fill: currentColor; }
.youtube-icon { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.contact-channels .social-label { display: grid; gap: 3px; color: var(--blue); font-size: inherit; font-weight: 600; }
.footer-top { row-gap: 12px; }

.hero-photo {
 aspect-ratio: 4 / 3;
 object-fit: cover;
 display: block;
 width: 100%;
 height: auto;
 border-radius: 8px;
 margin: 0 0 24px;
}
@media (min-width: 900px) {
 .hero {
 display: grid;
 grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
 grid-template-rows: auto auto auto auto;
 column-gap: clamp(32px, 4vw, 62px);
 align-items: start;
 }
 .hero .eyebrow, .hero h1, .hero-bottom { grid-column: 1; }
 .hero h1 { font-size: clamp(43px, 5.3vw, 70px); letter-spacing: -.055em; margin-block: 20px 24px; }
 .hero-photo { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0; }
 .hero-bottom { flex-wrap: wrap; gap: 16px; align-items: start; }
 .hero-foot { grid-column: 1 / -1; margin-top: 42px; }
}

.footer-identity { display: grid; align-content: start; gap: 12px; }
.footer-identity p { line-height: 1.55; }
.footer-links, .footer-social { align-self: start; }

.footer-actions { display: grid; justify-items: end; gap: 6px; }
.footer-actions .footer-links { justify-content: flex-end; }
@media (max-width: 760px) {
 .footer-actions { justify-items: start; }
 .footer-actions .footer-links { justify-content: flex-start; }
}

.gallery-viewer {
 width: min(1080px, calc(100% - 24px));
 max-height: calc(100dvh - 24px);
 padding: 14px;
 overflow: auto;
 color: #fff;
 background: #171c32;
 border: 1px solid #ffffff30;
 border-radius: 12px;
}
.gallery-viewer::backdrop { background: rgb(15 19 34 / 82%); }
body:has(.gallery-viewer[open]) { overflow: hidden; }
.gallery-viewer-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.gallery-viewer-count { margin: 0; padding-inline: 8px; font-size: 14px; }
.gallery-viewer-stage { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 8px; align-items: center; }
.gallery-viewer-stage figure { margin: 0; min-width: 0; text-align: center; }
.gallery-viewer-image { display: block; width: 100%; max-height: min(70dvh, 780px); object-fit: contain; }
.gallery-viewer-button {
 display: grid;
 place-items: center;
 width: 44px;
 height: 44px;
 padding: 0;
 border: 1px solid #ffffff55;
 border-radius: 8px;
 color: #fff;
 background: #ffffff14;
 font: 26px/1 Arial, sans-serif;
 cursor: pointer;
}
.gallery-viewer-button:hover { background: #ffffff2a; }
.gallery-viewer-button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.gallery-viewer-button:disabled { visibility: hidden; }
.gallery-chevron { width: 10px; height: 10px; border-right: 2px solid; border-top: 2px solid; transform: rotate(45deg); }
[data-step="-1"] .gallery-chevron { transform: rotate(-135deg); }
@media (max-width: 600px) {
 .gallery-viewer-stage { grid-template-columns: 1fr 1fr; }
 .gallery-viewer-stage figure { grid-column: 1 / -1; grid-row: 1; }
 .gallery-viewer-stage [data-step="1"] { justify-self: end; }
}

@media (min-width: 861px) {
 .header .brand-logo { width: 54px; height: 54px; }
}
.activities-empty {
 margin-top: 30px;
 padding: 16px 20px;
 max-width: 65ch;
 border: 1px solid var(--line);
 border-radius: 8px;
 background: var(--paper);
}
@media (max-width: 420px) {
 .header { padding-inline: 12px; }
 .header .brand { gap: 7px; }
 .header .brand-logo { width: 36px; height: 36px; }
}
@media (max-width: 360px) {
 .header .menu-toggle { min-width: 44px; justify-content: center; }
 .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

.live-player {
 display: block;
 width: 100%;
 aspect-ratio: 16 / 9;
 border: 0;
}

body {
 min-height: 100vh;
 min-height: 100dvh;
 display: flex;
 flex-direction: column;
}
body > .header, body > .footer { flex-shrink: 0; }
body > main { flex: 1 0 auto; }
body > .footer {
 width: 100%;
 margin-block: 0;
}
 @media (max-width: 860px) { .header .menu-toggle { margin-left: auto; } .header nav .language-switch { margin: 0; padding-block: 4px; border-top: 1px solid var(--line); } .header nav .language-switch summary { width: 100%; justify-content: space-between; padding: 0 8px; border: 0; border-radius: 0; background: transparent; font-size: inherit; } .header nav .language-panel { position: static; width: auto; margin-block: 4px 8px; padding: 8px; box-shadow: none; } } 
/* About: the Scripture studies introduce the official media. */
.media-introduction { max-width: 74ch; margin: 36px 0 44px; }
.media-introduction h2 { max-width: 22ch; }
.media-introduction p { font-size: 16px; }
.media-invitation { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-bottom: 28px; }
.media-invitation h2 { font-size: 30px; letter-spacing: -.8px; margin: 0; }
.media-invitation p { font-size: 14px; color: var(--muted); margin: 0; max-width: 48ch; }
#carpa-sitio.resource-feature { display: block; background: transparent; border: 1px solid #dfe3ef; padding: 28px; transition: background .2s; }
#carpa-sitio.resource-feature:hover { background: #fff; border-color: #dfe3ef; }
#carpa-sitio.resource-feature h3 { margin: 17px 0 28px; }
.resource-feature .resource-top { align-items: center; }
.resource-feature .resource-top > span:first-child { font-size: 10px; letter-spacing: 1.2px; color: var(--muted); }
.previous-broadcast { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.previous-broadcast h2 { font-size: clamp(28px, 4vw, 38px); letter-spacing: -1px; }
.previous-status { padding: clamp(24px, 7vw, 64px) 20px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; text-align: center; color: var(--muted); line-height: 1.7; }

/* A manually controlled carousel with the complete photo collection below. */
.gallery-carousel[hidden] { display: none; }
.gallery-carousel { margin-top: 32px; }
.gallery-carousel-stage { border-radius: 12px; overflow: hidden; background: #eef0f5; }
.gallery-featured { display: block; aspect-ratio: 16 / 9; touch-action: pan-y pinch-zoom; }
.gallery-featured img { display: block; width: 100%; height: 100%; object-fit: contain; }
.gallery-featured:focus-visible { outline-offset: -5px; }
.gallery-carousel-controls { display: flex; align-items: center; justify-content: center; gap: 24px; padding-top: 16px; }
.gallery-carousel-button { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--blue); background: #fff; cursor: pointer; transition: background .2s; }
.gallery-carousel-button:hover { background: var(--paper); }
.gallery-carousel-button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.gallery-carousel-button:disabled { opacity: .35; cursor: default; }
[data-carousel-step="-1"] .gallery-chevron { transform: rotate(-135deg); }
.gallery-carousel-count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 60px; text-align: center; }
.gallery-carousel:not([hidden]) + .gallery-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.gallery-carousel:not([hidden]) + .gallery-grid a { overflow: hidden; outline-offset: 3px; transition: opacity .2s; }
.gallery-carousel:not([hidden]) + .gallery-grid a:hover { opacity: .78; }
.gallery-grid a[aria-current="true"] { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 700px) {
 .media-introduction { margin: 28px 0 36px; }
 .media-invitation { grid-template-columns: 1fr; gap: 14px; }
 #carpa-sitio.resource-feature { padding: 19px; }
 #carpa-sitio.resource-feature h3 { font-size: 24px; }
 .gallery-carousel { margin-top: 24px; }
 .gallery-featured { aspect-ratio: 4 / 3; }
 .gallery-carousel-stage { border-radius: 8px; }
 .gallery-carousel:not([hidden]) + .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
 .previous-broadcast { margin-top: 40px; padding-top: 30px; }
}

/* Panoramic cover, aligned with the About content. */
.about-cover { position: relative; isolation: isolate; overflow: hidden; background: #263b58; }
.about-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; z-index: -2; }
.about-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 23 47 / 65%), rgb(10 23 47 / 24%) 72%, rgb(10 23 47 / 12%)); z-index: -1; }
.about-cover > .wrap { width: 100%; min-height: clamp(280px, 28vw, 400px); display: flex; align-items: center; padding-block: 56px; }
.about-cover h1 { color: #fff; font-size: clamp(44px, 7vw, 76px); line-height: 1.06; letter-spacing: -.055em; font-weight: 500; margin: 0; text-shadow: 0 2px 18px rgb(0 0 0 / 12%); }
.about-cover + .about-page { padding-top: clamp(36px, 5vw, 56px); }
.about-cover + .about-page > p:first-child { margin-top: 0; }
@media (max-width: 700px) {
 .about-cover > .wrap { min-height: 240px; padding-block: 40px; }
 .about-cover > img { object-position: 53% 52%; }
 .about-cover::before { background: linear-gradient(90deg, rgb(10 23 47 / 65%), rgb(10 23 47 / 28%)); }
}

/* Panoramic carousel; the full image remains available in the viewer. */
.gallery-featured { aspect-ratio: 2 / 1; }
.gallery-featured img { object-fit: cover; }
.gallery-autoplay { min-height:44px; padding:8px 14px; border:1px solid var(--line); border-radius:24px; background:white; color:var(--blue); font:inherit; font-size:13px; cursor:pointer; }
.gallery-autoplay:hover { background:var(--paper); }
.gallery-autoplay:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
.gallery-carousel-controls { gap:16px; flex-wrap:wrap; }
@media(max-width:700px) { .gallery-featured { aspect-ratio:16 / 9; } .gallery-carousel-controls { gap:12px; } }

/* Sliding photos remain clipped to the panoramic frame. */
.gallery-featured { position:relative; overflow:hidden; }
.gallery-featured img { position:absolute; inset:0; }

/* Frosted liquid-glass header, retaining the existing white tint. */
.header {
 isolation: isolate;
 background: linear-gradient(112deg, rgb(255 255 255 / 88%), rgb(240 244 255 / 62%));
 -webkit-backdrop-filter: blur(24px) saturate(165%) brightness(1.035);
 backdrop-filter: blur(24px) saturate(165%) brightness(1.035);
 border-bottom: 1px solid rgb(255 255 255 / 72%);
 box-shadow: inset 0 1px 0 rgb(255 255 255 / 92%), inset 0 -1px 0 rgb(125 143 184 / 14%), 0 5px 22px rgb(31 49 88 / 8%);
}
.header::before {
 content: "";
 position: absolute;
 inset: 0;
 z-index: -1;
 pointer-events: none;
 background: radial-gradient(ellipse at 15% 0%, rgb(255 255 255 / 28%), transparent 62%), linear-gradient(175deg, rgb(255 255 255 / 16%) 0%, transparent 45%, rgb(211 224 255 / 10%) 100%);
 box-shadow: inset 1px 0 0 rgb(255 255 255 / 45%), inset -1px 0 0 rgb(255 255 255 / 35%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
 .header { background: rgb(249 250 254 / 97%); }
}
@media (max-width: 700px) {
 .header { -webkit-backdrop-filter: blur(18px) saturate(155%) brightness(1.035); backdrop-filter: blur(18px) saturate(155%) brightness(1.035); }
}
 /* Previous broadcast: secondary preview, live stream keeps full width. */ .previous-broadcast { max-width: 420px; margin-top: 40px; padding-top: 24px; } .previous-broadcast h2 { font-size: clamp(20px, 2.5vw, 24px); letter-spacing: -.4px; margin-bottom: 16px; } .previous-broadcast .live-player { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; min-height: 0; } .previous-broadcast .previous-status { padding: 24px 18px; font-size: 14px; } 