/* Shared accessibility adjustments, loaded after the page styles. */
.skip-link { position: fixed; left: 1rem; top: 0; transform: translateY(-150%); z-index: 100000; padding: .8rem 1rem; color: #fff; background: #1a3a5c; border-radius: 0 0 .5rem .5rem; }
.skip-link:focus, .skip-link:focus-visible { transform: translateY(0); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [role="button"]:focus-visible, [tabindex]:focus-visible { outline: 3px solid #1a3a5c !important; outline-offset: 3px; box-shadow: 0 0 0 6px #fff !important; }
[hidden] { display: none !important; }
main { scroll-margin-top: 8rem; }
.va-topic-detail h2, #expertise-overview-title, .va-topic-menu a, [aria-invalid="true"] { scroll-margin-top: 8rem; }
.footer-section .footer-brand-heading { font-size: 1.5rem; color: #fff; margin-bottom: 1rem; }
.footer-section h3:not(.footer-brand-heading) { font-size: 1.125rem; }
.cookie-modal-overlay { width: 100vw; height: 100vh; max-width: none; max-height: none; border: 0; margin: 0; }
.cookie-modal-overlay::backdrop { background: rgba(15, 23, 42, .4); }
.about-section-sub { color: #596273 !important; }
.about-introduction .about-accent-orange.about-mission-card h3 { color: #ac4708; }
.about-introduction .about-accent-teal.about-mission-card h3 { color: #08798d; }
.share-label { color: #596273 !important; }
.va-topic-back { color: #ff1fb6 !important; }
.admin-sidebar-subtitle { color: #596273 !important; opacity: 1 !important; }
.admin-clean .articles-toolbar h2, .admin-clean .articles-toolbar p { color: #263452 !important; }
.admin-clean .metric-label { color: #596273 !important; opacity: 1 !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.form-error-message { color: #991b1b; }
/* Original light brand surfaces; independent text colors retain legibility. */
[data-light-palette="pink"] { --color-accent-text: #c52569; }
[data-light-palette="cyan"] { --color-accent-text: #176b91; }
[data-light-palette="green"] { --color-accent-text: #1b6940; }
[data-light-palette] > .hero, [data-light-palette] > .hero-subpage,
[data-light-palette] .hero-title, [data-light-palette] .hero-subtitle,
[data-light-palette] > .hero-subpage > .container > span,
[data-light-palette] .btn-primary { color: #10182b !important; opacity: 1; }
[data-light-palette] > .hero-subpage .btn-outline-light { color: #17213a !important; border-color: #17213a !important; }
.expertises-page .va-featured-item.is-active, .expertises-page .va-topic-item.is-active,
.expertises-page .va-cta-button { color: #17213a !important; }
.about-page .btn-primary { color: #10182b !important; }
[data-error-summary] { padding: 1rem; border: 2px solid #991b1b; margin-block: 1rem; }
[data-error-summary] a { color: #991b1b; text-decoration: underline; }
input::placeholder, textarea::placeholder { color: #596579; opacity: 1; }
.chatbot-send-btn, .hamburger, .cookie-btn { min-width: 44px; min-height: 44px; }
.motion-toggle { display: block; margin: 1rem auto; padding: .5rem 1rem; border: 1px solid currentColor; background: #fff; color: #1a3a5c; border-radius: .5rem; }
.footer-legal .footer-preference { font: inherit; color: inherit; background: transparent; border: 0; padding: .5rem 0; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media (max-width: 480px) {
    .cookie-banner-content, .cookie-modal { max-height: 75vh; overflow-y: auto; }
    .chatbot-window { max-width: calc(100vw - 24px); max-height: 75vh; }
}
