/* Local, opt-in reading preferences. No filter is applied to a page container,
   so fixed navigation, dialogs and article controls keep their normal positions. */
body.a11y-readable,body.a11y-readable :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,output,span,strong,em,small,figcaption,li,dt,dd,blockquote,th,td){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:normal!important}
body.underline-links a:not(.brand){text-decoration-line:underline!important;text-decoration-thickness:max(1px,.08em)!important;text-underline-offset:.2em!important}
body.reduce-motion,body.reduce-motion *,body.reduce-motion *::before,body.reduce-motion *::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
body.reduce-motion .reveal{opacity:1!important;transform:none!important}
body.a11y-grayscale{--a11y-bg:#fff;--a11y-fg:#161616;--a11y-link:#181818;--a11y-border:#737373;--a11y-panel:#f2f2f2;--a11y-focus:#000}
body.high-contrast{--a11y-bg:#000;--a11y-fg:#fff;--a11y-link:#fff212;--a11y-border:#fff;--a11y-panel:#111;--a11y-focus:#fff212}
body.a11y-negative{--a11y-bg:#1d1e24;--a11y-fg:#fff;--a11y-link:#9eecff;--a11y-border:#c9cad2;--a11y-panel:#2b2d35;--a11y-focus:#9eecff}
body.a11y-light{--a11y-bg:#fff;--a11y-fg:#111;--a11y-link:#123b9d;--a11y-border:#626778;--a11y-panel:#f4f5f8;--a11y-focus:#123b9d}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light){--green:var(--a11y-link);--dark:var(--a11y-bg);--ink:var(--a11y-fg);--muted:var(--a11y-fg);--paper:var(--a11y-panel);--line:var(--a11y-border);--asur-blue:var(--a11y-link);--asur-navy:var(--a11y-bg);--asur-soft:var(--a11y-panel);--asur-line:var(--a11y-border);background:var(--a11y-bg)!important;color:var(--a11y-fg)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(header,footer,main,section,article,aside,nav,figure,figcaption,form,fieldset,details,summary,dialog,table,thead,tbody,tfoot,tr,th,td,blockquote){background-color:var(--a11y-bg)!important;background-image:none!important;color:var(--a11y-fg)!important;border-color:var(--a11y-border)!important;box-shadow:none!important;backdrop-filter:none!important}

body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) div{background-color:transparent!important;background-image:none!important;color:var(--a11y-fg)!important;border-color:var(--a11y-border)!important;box-shadow:none!important;backdrop-filter:none!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :is(.brand img,.partner-logos img,.utility-emblem){background-color:#292b37!important;border-radius:4px;padding:4px}
body.a11y-grayscale *::before,body.a11y-grayscale *::after{filter:grayscale(1)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(h1,h2,h3,h4,h5,h6,p,span,strong,em,small,li,dt,dd,label,legend,output,time){color:var(--a11y-fg)!important;text-shadow:none!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(a,a span,a strong,a em,a small){color:var(--a11y-link)!important;text-decoration-color:currentColor!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(a,button,input,textarea,select){background-color:var(--a11y-bg)!important;background-image:none!important;color:var(--a11y-fg)!important;border-color:var(--a11y-border)!important;text-shadow:none!important;box-shadow:none!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(a){color:var(--a11y-link)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(button,.button,.filter,input,textarea,select){border:1px solid var(--a11y-border)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(button:hover,a.button:hover,button[aria-pressed=true],button[aria-current=page],a[aria-current=page]){background:var(--a11y-panel)!important;text-decoration:underline!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(input,textarea,select){caret-color:var(--a11y-fg)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) input::placeholder,body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) textarea::placeholder{color:var(--a11y-fg)!important;opacity:.8}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid var(--a11y-focus)!important;outline-offset:4px!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(section,article,div)::before,body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :where(section,article,div)::after{background-image:none!important;box-shadow:none!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) :is(.slider-copy,.slide-copy,.slide-content,.hero-caption,.story-meta,.story-copy,.welcome-copy,.heritage-copy,.language-copy,.lsu-copy){background:var(--a11y-bg)!important;padding:clamp(12px,2vw,24px)!important}
body:is(.high-contrast,.a11y-negative,.a11y-light) :is(.welcome-title-accent,.heritage-copy em,.lsu-copy em,.impact-value,.impact-percentage){color:var(--a11y-link)!important}
body.a11y-grayscale :is(img,video,canvas,svg){filter:grayscale(1)!important}
body.a11y-grayscale :is(.hero-visual,.news-image,.article-main-photo) img{filter:grayscale(1)!important}
body:is(.high-contrast,.a11y-negative,.a11y-light) :is(img,video){filter:none!important}
body.a11y-grayscale:is(.high-contrast,.a11y-negative,.a11y-light) :is(img,video,canvas,svg){filter:grayscale(1)!important}
/* A calm, compact panel. At enlarged text sizes it flows vertically. */
#access-dialog{width:min(760px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:26px;border:1px solid #d5d6e8;border-radius:18px;background:#fff;color:#25264f;box-shadow:0 24px 100px #17184e40;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;font-size:1rem;line-height:1.55}
#access-dialog::backdrop{background:#15163e99;backdrop-filter:blur(4px)}
#access-dialog .access-dialog-head,#access-dialog>.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 12px;padding:0;border:0}
#access-dialog .dialog-heading{display:flex;align-items:center;gap:12px;min-width:0}
#access-dialog .dialog-emblem{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#eeeeff;color:#3e4095}
#access-dialog h2{min-width:0;max-width:100%;margin:0;font-size:1.7rem;line-height:1.15;letter-spacing:-.025em;color:#25264f;overflow-wrap:anywhere}
#access-dialog [data-close]{display:grid;place-items:center;flex:none;width:44px;height:44px;min-width:44px;min-height:44px;border:1px solid #d3d4e5;border-radius:50%;background:#fff;color:#25264f;font-size:1rem;line-height:1}
#access-dialog :is(.access-summary,.dialog-description){margin:0 0 20px;max-width:64ch;color:#535571;font-size:.9rem;line-height:1.65}
#access-dialog .access-section{margin:0;padding:20px 0;border-top:1px solid #dedfec}
#access-dialog .access-section-title{margin:0 0 13px;color:#25264f;font-size:1.03rem;font-weight:750;line-height:1.4;letter-spacing:0}
#access-dialog .access-options-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#access-dialog .access-option{display:flex;align-items:center;gap:10px;min-width:0;min-height:72px;margin:0;padding:12px;border:1px solid #d5d6e7;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .15s,background .15s}
#access-dialog .access-option:hover{border-color:#686aa9;background:#fafaff}
#access-dialog .access-option:has(input:checked){border-color:#3e4095;background:#f0f0ff;box-shadow:inset 0 0 0 1px #3e4095}
#access-dialog .access-option:has(input:focus-visible){outline:3px solid #3e4095;outline-offset:3px}
#access-dialog .access-option-icon{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:8px;background:#eeeeff;color:#3e4095}
#access-dialog .access-option-icon svg{width:21px;height:21px;stroke-width:1.7}
#access-dialog .access-option>div{min-width:0;flex:1}
#access-dialog .access-option strong{display:block;margin:0;color:#25264f;font-size:.88rem;font-weight:750;line-height:1.4}
#access-dialog .access-option small,#access-dialog .access-choice-description{display:block;margin:3px 0 0;color:#5b5d75;font-size:.74rem;line-height:1.45}
#access-dialog .access-option input{appearance:auto;flex:none;width:21px;height:21px;margin:0 0 0 auto;accent-color:#3e4095;cursor:pointer}
#access-dialog .access-text-size{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-width:0;padding:14px 16px;border:1px solid #d5d6e7;border-radius:10px;background:#f8f8ff}
#access-dialog .access-text-size>span{font-size:.9rem;font-weight:650;min-width:0}
#access-dialog .access-toolbar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;min-width:0}
#access-dialog .access-toolbar button{display:grid;place-items:center;flex:none;min-width:44px;min-height:44px;padding:7px;border:1px solid #bcbdd8;border-radius:7px;background:#fff;color:#25264f;font-size:1rem;font-weight:750;line-height:1}
#access-dialog .access-toolbar button:disabled{opacity:.45}
#access-dialog #font-size{display:block;min-width:60px;text-align:center;color:#25264f;font-size:.95rem;font-weight:750;font-variant-numeric:tabular-nums}
#access-dialog .access-reader-actions{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 14px}
#access-dialog .access-reader-actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 14px;border:1px solid #bfc0d9;border-radius:8px;background:#fff;color:#303279;font-size:.84rem;line-height:1.4;font-weight:700}
#access-dialog .access-reader-actions button:first-child{background:#3e4095;border-color:#3e4095;color:#fff}
#access-dialog .access-reader-actions button svg{width:18px;height:18px;flex:none}
#access-dialog .access-reader-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
#access-dialog .access-reader-settings label{display:grid;align-content:start;gap:6px;min-width:0;font-size:.79rem;line-height:1.4;font-weight:650;color:#25264f}
#access-dialog .access-reader-settings select,#access-dialog .access-reader-settings input{width:100%;min-width:0;min-height:44px;margin:0;padding:8px 10px;border:1px solid #bfc0d9;border-radius:7px;background:#fff;color:#25264f;font-size:.82rem}
#access-dialog .access-reader-status{min-height:1.5em;margin:12px 0;color:#3e4095;font-size:.82rem;font-weight:650;line-height:1.5}
#access-dialog :is(.access-media-note,.access-help,.dialog-note){margin:12px 0 0;color:#575975;font-size:.76rem;line-height:1.65}
#access-dialog .access-help a{color:#303279;text-decoration:underline;text-underline-offset:3px}
#access-dialog .access-reset,#access-dialog #reset-access{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;margin-top:0;padding:11px 16px;border:1px solid #bfc0d9;border-radius:8px;background:#fff;color:#303279;font-size:.86rem;font-weight:700;line-height:1.4}
#access-dialog .access-reset svg,#access-dialog #reset-access svg{width:19px;height:19px}
#access-dialog :is(a,button,input,select):focus-visible{outline:3px solid #3e4095;outline-offset:3px}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog .access-option:has(input:checked){outline:2px solid var(--a11y-link)!important;outline-offset:-2px}
@media(max-width:560px){#access-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:18px;border-radius:14px}#access-dialog h2{font-size:1.45rem}#access-dialog .access-options-grid{grid-template-columns:1fr}#access-dialog .access-reader-settings{grid-template-columns:1fr}#access-dialog .access-option{min-height:68px;padding:12px}#access-dialog .access-text-size{padding:12px;gap:12px}#access-dialog .access-reader-actions button{flex:1 1 auto}}
@media(prefers-reduced-motion:reduce){#access-dialog *{transition:none!important}}
@media(forced-colors:active){#access-dialog .access-option:has(input:checked){outline:2px solid Highlight}#access-dialog :is(button,input,select,a):focus-visible{outline-color:Highlight}}
@media print{#access-dialog,.access-float{display:none!important}body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light){--a11y-bg:#fff;--a11y-fg:#000;--a11y-link:#000;--a11y-panel:#fff;--a11y-border:#000}}

#access-dialog .access-text-options{margin-top:10px}
#access-dialog .access-audio>summary{cursor:pointer;min-height:44px;display:list-item;padding:10px 0;margin:0;list-style-position:inside}
#access-dialog .access-audio>summary::marker{color:#3e4095}
#access-dialog .access-audio[open]>summary{margin-bottom:8px}
#access-dialog .access-video-description{margin:18px 0 0;padding:14px;border:1px solid #d5d6e7;border-radius:10px;background:#f8f8ff}
#access-dialog .access-video-description>summary{min-height:44px;cursor:pointer;list-style-position:inside;color:#303279;font-size:.87rem;font-weight:750;line-height:1.5;padding-block:8px}
#access-dialog .access-video-description>p:not(.access-media-note){margin:12px 0;color:#535571;font-size:.84rem;line-height:1.7}
#access-dialog .access-video-description .access-reader-actions{margin:14px 0 0}
#access-dialog .access-help{padding-top:15px;border-top:1px solid #dedfec}
/* Override the former dark panel header: its white close icon must remain visible. */
#access-dialog{color-scheme:light}
#access-dialog .dialog-top>[data-close]{display:grid;visibility:visible;opacity:1;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;border:1px solid #8f91b4;border-radius:50%;background:#fff;color:#25264f;font-size:1rem;line-height:1}
#access-dialog .dialog-top>[data-close]:hover{background:#eeeeff;color:#25264f;border-color:#3e4095}
#access-dialog .access-option input{color-scheme:light}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog .access-option-icon{background:transparent!important;color:var(--a11y-fg)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog .dialog-top>[data-close]{color:var(--a11y-fg)!important;background:var(--a11y-bg)!important;border-color:var(--a11y-border)!important}
.a11y-reading{outline:3px solid #3e4095;outline-offset:4px}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) .a11y-reading{outline-color:var(--a11y-focus)!important}
/* Keep accessibility reachable while the first-visit privacy notice is present. */
/* Every card in a color mode uses that same palette, including its label surface. */
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog :is(.access-option,.access-text-size,.access-video-description,.dialog-emblem,.access-option-icon){background:var(--a11y-bg)!important;color:var(--a11y-fg)!important;border-color:var(--a11y-border)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog .access-option:hover,body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog .access-option:has(input:checked){background:var(--a11y-panel)!important;color:var(--a11y-fg)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog input{accent-color:var(--a11y-link)!important}
body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) #access-dialog summary::marker{color:var(--a11y-fg)!important}

/* JUVESUR: preserve the original layout at 100%; reading preferences are opt-in. */
.access-float{position:fixed;z-index:70;bottom:18px;right:18px;display:grid;place-items:center;width:48px;height:48px;padding:10px;border:2px solid white;border-radius:50%;background:#754092;color:white;box-shadow:0 3px 14px #0005;cursor:pointer}
.access-float svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.access-float svg circle{fill:currentColor;stroke:none}
:focus-visible{outline:3px solid #074f68;outline-offset:4px}
:is(.full-section,.about-page,.objectives-page,.interior-footer,.lightbox) :focus-visible{outline-color:#fff;box-shadow:0 0 0 5px #253f57}
:where(a,button,input,textarea,select,summary){touch-action:manipulation}
.main-menu a[aria-current=page],.interior-page .nav-item>a[aria-current=page]{color:#007d91}
.main-menu a:hover,.submenu a:hover{color:#007d91}
.section-card.pink,.about-page{background-color:#c93673}
.section-card.blue{background-color:#247cb5}
.objectives-guide .objective-tab{background:#2476b3}
.objectives-guide .objective-tab[aria-selected=true]{background:#fff}
.objectives-guide .objective-tab:hover{background:#17649e}
.objectives-guide .objective-tab[aria-selected=true]:hover{background:#fff}
.contact-submit{background-color:#00768a}
.contact-form{gap:10px}
.contact-form>label{font-weight:700;font-size:.9rem;color:#132d38;text-shadow:0 1px 1px #fff8}
.contact-form>input,.contact-form>textarea{margin-bottom:6px}
.contact-form .field-error{padding:5px 8px;margin:0;background:#fff;color:#912a45;font-size:.85rem;line-height:1.45}
.contact-form [aria-invalid=true]{border:3px solid #912a45}
.contact-form .form-status{background:#fff;color:#243d49;padding:10px;font-size:.9rem;line-height:1.5}
.contact-form [hidden]{display:none}
.contact-credit a,.interior-footer p a,.empty-page a{text-decoration:underline;text-underline-offset:.18em}
.empty-page a{color:#00798b}
.hero-pause{opacity:1}
.hero-dot,.section-dot{position:relative}

.hero-controls{gap:14px}
.hero-description{pointer-events:none}
.lightbox figure{max-height:calc(100dvh - 70px);overflow:auto;overscroll-behavior:contain}
.lightbox [hidden]{display:none!important}
.lightbox-close,.lightbox-prev,.lightbox-next{min-width:30px;min-height:44px}
#lightbox-image{background:#111119}
body.a11y-text-enlarged.home-page{height:auto;overflow:auto}
body.a11y-text-enlarged.home-page main,body.a11y-text-enlarged .fullpage,body.a11y-text-enlarged .fullpage-track,body.a11y-text-enlarged .full-section,body.a11y-text-enlarged .section-inner{height:auto;overflow:visible}
body.a11y-text-enlarged .fullpage-track{transform:none!important;will-change:auto}
body.a11y-text-enlarged .full-section{min-height:calc(100svh - var(--header));scroll-margin-top:var(--header)}
body.a11y-text-enlarged .hero{height:calc(100svh - var(--header));min-height:560px;overflow:hidden}
body.a11y-text-enlarged .section-dots{display:none}
body.a11y-text-enlarged .section-cards{grid-template-columns:1fr}
body.a11y-text-enlarged .section-card{min-height:320px;padding:35px 20px}
body.a11y-text-enlarged .section-top{min-height:340px;padding:50px 25px;flex-wrap:wrap}
body.a11y-text-enlarged .section-panels{grid-template-rows:auto auto}
body.a11y-text-enlarged .donation-layout,body.a11y-text-enlarged .contact-layout{grid-template-columns:1fr}
body.a11y-text-enlarged .donation-left{grid-template-rows:auto auto}
body.a11y-text-enlarged .donation-copy{padding:45px 25px}
body.a11y-text-enlarged .donation-art{min-height:500px}
body.a11y-text-enlarged .contact-form-wrap{padding:160px 25px 50px;background:#00b8ce}
body.a11y-text-enlarged .contact-details{padding:240px 25px 50px;min-height:600px;background:#1d202d;position:relative}
body.a11y-text-enlarged .contact-details .map-link{position:static;display:inline-flex;align-items:center;width:auto;height:auto;min-height:44px;padding:10px;color:#fff;background:#24475c;text-decoration:underline;opacity:1;transform:none}

body.a11y-text-enlarged .site-header .menu-toggle{display:block}
body.a11y-text-enlarged .site-header nav{display:none;position:absolute;top:var(--header);left:0;right:0;height:auto;max-height:calc(100dvh - var(--header));overflow:auto;background:#fff}
body.a11y-text-enlarged .site-header nav.is-open{display:block}
body.a11y-text-enlarged .main-menu{display:block;font-size:1rem}
body.a11y-text-enlarged .main-menu>li{height:auto;display:block;border-bottom:1px solid #eee}
body.a11y-text-enlarged .main-menu>li>a,body.a11y-text-enlarged .nav-item>a{padding:15px 25px;display:block;flex:1}
body.a11y-text-enlarged .nav-item{justify-content:space-between}
body.a11y-text-enlarged .submenu-toggle{display:block;min-width:50px}
body.a11y-text-enlarged .submenu{display:none;position:static;transform:none;opacity:1;visibility:visible;box-shadow:none;width:auto}
body.a11y-text-enlarged .has-submenu.open .submenu{display:block}
body.a11y-text-enlarged .about-grid,body.a11y-text-enlarged .members-grid,body.a11y-text-enlarged .objective-panel{grid-template-columns:1fr;width:100%;max-width:100%;min-width:0}
body.a11y-text-enlarged .about-copy{width:auto;min-width:0}
body.a11y-text-enlarged .about-video{width:min(100%,500px);margin:auto}
body.a11y-text-enlarged .objective-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
body.a11y-text-enlarged .gallery-timeline:before{display:none}
body.a11y-text-enlarged .gallery-event,body.a11y-text-enlarged .gallery-event.is-right{width:100%;margin-left:0;min-width:0}
body.a11y-text-enlarged .gallery-event:before{display:none}
body.a11y-text-enlarged .interior-footer{flex-direction:column;align-items:center;text-align:center;gap:20px}
body.a11y-text-enlarged :is(p,li,h1,h2,h3,a,button,label,output,figcaption){overflow-wrap:anywhere}
@media(max-width:390px){.donation-payments{grid-template-columns:1fr}.payment{min-height:180px}.gallery-page{padding-inline:12px}.gallery-filter{flex-wrap:wrap}.gallery-event,.gallery-event.is-right{padding:10px}.hero-controls{gap:12px}.hero-pause{max-width:140px}.access-float{right:12px;bottom:12px}}
@media(forced-colors:active){:focus-visible{outline-color:Highlight!important}.hero-pause,.hero-arrow,.hero-dot,.section-dot{border:2px solid ButtonText}.hero-underlined:after{border-bottom:3px solid CanvasText}}
@media print{.access-float,#access-dialog{display:none!important}}

.donation-copy{background:#c93673}
.payment.brou{background:#235d95}
.payment.mercado{background:#007a9e}
.gallery-event time{color:#606c75}
.hero-dot{width:24px;height:24px;min-width:24px;min-height:24px}
.hero-pause{bottom:48px}
.section-dot{width:24px;height:24px}
.gallery-text-alternative{grid-column:1/-1;font-size:.9rem;line-height:1.65;margin:12px 0 0;text-align:left}
.gallery-text-alternative summary{cursor:pointer;min-height:44px;padding:8px 4px;text-decoration:underline;text-underline-offset:.2em}
.gallery-text-alternative p{margin:8px 4px;white-space:pre-line;overflow-wrap:anywhere}
.gallery-text-alternative[hidden]{display:none}
.lightbox figure:focus-visible{outline-offset:0}

/* Dropdown state is explicit, including Escape while its trigger retains focus. */
@media(min-width:901px){body:not(.a11y-text-enlarged) .has-submenu:not(.open) .submenu{opacity:0;visibility:hidden;transform:translateY(6px)}body:not(.a11y-text-enlarged) .has-submenu.open .submenu{opacity:1;visibility:visible;transform:translateY(0)}}
.objectives-guide .objective-tab>span:last-child{min-width:0;overflow-wrap:anywhere}
@media(max-width:390px){.objectives-guide .objective-tab{padding:10px 8px;gap:6px}.objectives-guide .objective-letter{flex-basis:20px;width:20px;height:20px}}

@media(min-width:901px){body:not(.a11y-text-enlarged) .submenu-toggle{display:inline-grid;place-items:center;min-width:26px;min-height:32px;padding:4px;font-size:16px}}
.lightbox-original{display:inline-flex;align-items:center;min-height:44px;padding:6px;color:#fff;text-decoration:underline;font-size:.9rem}

.submenu{transition:opacity .15s,transform .15s}

/* Reliable control contrast over every illustrated sky/grass background. */
.hero-arrow,.hero-pause{background:#173b48;color:#fff;border:1px solid #fff;opacity:1}
.hero-arrow:hover,.hero-pause:hover{background:#102c38}
.hero-dot{background:#173b48;border-color:#fff}
.hero-dot[aria-current=true]{background:#fff;border-color:#173b48}
.section-dot:before{background:#fff;box-shadow:0 0 0 2px #143c4d}
.section-dot[aria-current=true]:after{inset:auto;left:50%;top:50%;transform:translate(-50%,-50%);background:transparent;border:2px solid #fff;box-shadow:0 0 0 2px #143c4d}

body:is(.a11y-grayscale,.high-contrast,.a11y-negative,.a11y-light) *{transition:none!important}

/* Enlarged arrow glyphs must remain inside their contrasting circular controls. */
body.a11y-text-enlarged .hero-arrow{width:2.75rem;height:2.75rem;min-width:2.75rem;font-size:2.125rem;line-height:1;padding:0;align-items:center;justify-items:center}
