/*
 * Public site header (application/views/header.php).
 *
 * Fixed to the top of the viewport. At the top of the page it is transparent
 * over the teal hero every public page opens with; once the page scrolls, JS
 * adds .is-scrolled and it becomes a frosted white bar with dark text. The
 * mobile menu (.is-open) uses the same solid look so the bar and the panel
 * read as one surface.
 */

:root {
    --site-nav-h: 88px;          /* header height at the top of the page */
    --site-nav-h-scrolled: 68px; /* visible header height once scrolled */
    --site-nav-ink: #0f2e2b;
    --site-nav-teal: #0d9488;
    --site-nav-teal-deep: #0f766e;
    /* Accessible teals for text/fills (WCAG AAA, >= 7:1): #0b4f49 as text on
       white is 9.4:1; white on #0a5c55 is 7.6:1. The brand #0d9488 only
       reaches 3.7:1 with white, so it's kept for decoration, not text. */
    --site-nav-teal-text: #0b4f49;
    --site-nav-teal-fill: #0a5c55;
    --site-nav-teal-fill-hover: #083f3a;
    --site-nav-ease: cubic-bezier(.22, .61, .36, 1);
}

@media (max-width: 900px) {
    :root {
        --site-nav-h: 72px;
        --site-nav-h-scrolled: 60px;
    }
}

/* The header is out of flow, so push page content down by its height. The
   teal gradient each page puts on this wrapper shows through the transparent
   header, which keeps the "header melts into the hero" look. */
.page-shell > div:first-child {
    padding-top: var(--site-nav-h);
}

/* Each page's teal hero then slides up under the header, so the header sits on
   one continuous gradient instead of a separate band with a visible seam. The
   transparent top border keeps the hero's own padding untouched; its gradient
   paints through the border thanks to background-origin. */
.page-shell :is(.clinic-hero, .svc-hero, .contact-hero, .blog-hero, .auth-hero,
                .apt-hero, .wl-hero, .mh-hero, .mrx-hero, .mrxv-hero) {
    margin-top: calc(-1 * var(--site-nav-h));
    border-top: var(--site-nav-h) solid transparent;
    background-origin: border-box;
}

/* The home hero clips its decorative circles with overflow:hidden, which cuts
   at the padding edge and would slice them flat along that border. Pad it
   instead (values = landing3.php's own padding-top + header height). */
.page-shell .clinic-hero {
    border-top: 0;
    padding-top: calc(var(--site-nav-h) + 60px);
}

@media (max-width: 768px) {
    .page-shell .clinic-hero { padding-top: calc(var(--site-nav-h) + 40px); }
}

/* The 404 page has no teal hero; its own background runs under the header. */
.page-shell:has(.not-found) > div:first-child {
    padding-top: 0;
}

/* Anchor jumps (e.g. /#contact) and keyboard focus scrolled into view land
   below the fixed header instead of under it (WCAG 2.4.11 Focus Not Obscured). */
html {
    scroll-padding-top: calc(var(--site-nav-h-scrolled) + 16px);
}

/* Skip link (WCAG 2.4.1): first thing a keyboard user reaches, hidden until focused. */
.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1100;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--site-nav-teal-fill);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 6px var(--site-nav-teal-fill);
    color: #fff;
}

/* ---------- Bar ---------- */

.site-header {
    /* Tone for the transparent state: light text on the teal hero. */
    /* Links are full-strength (no muted tone) in every state: contrast is the
       priority, the active page is marked by weight + underline instead. */
    --nav-fg: #fff;
    --nav-fg-muted: #fff;
    --nav-indicator: #a7f3d0;
    --nav-cta-bg: #fff;
    --nav-cta-fg: var(--site-nav-teal-text);
    --nav-cta-bg-hover: #e8f8f5;
    --nav-ring: #fff;
    --nav-chip-border: rgba(255, 255, 255, .45);
    --nav-chip-bg: rgba(255, 255, 255, .12);
    --nav-chip-bg-hover: rgba(255, 255, 255, .24);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    isolation: isolate;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--site-nav-ease),
                border-color .3s var(--site-nav-ease),
                box-shadow .3s var(--site-nav-ease),
                -webkit-backdrop-filter .3s var(--site-nav-ease),
                backdrop-filter .3s var(--site-nav-ease),
                transform .3s var(--site-nav-ease);
}

/* Scrim behind the transparent header. White text straight on the brand
   gradient only reaches ~3.5:1 at its light end; this light dark-teal wash
   deepens just the band the nav sits on (and fades out below it) so white nav
   text clears 4.5:1 (WCAG AA) anywhere across the bar, without visibly
   darkening the hero. It fades away once the frosted bar takes over. */
.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, rgba(3, 38, 35, .28) 0%, rgba(3, 38, 35, .24) 62%, rgba(3, 38, 35, 0) 100%);
    pointer-events: none;
    transition: opacity .3s var(--site-nav-ease);
}

.site-header.is-scrolled::before,
.site-header.is-open::before,
.page-shell:has(.not-found) .site-header::before {
    opacity: 0;
}

/* Shrink on scroll without animating any layout property: the header keeps
   its full height and slides up by the difference, so only
   --site-nav-h-scrolled of it stays on screen; .site-nav then slides back
   down by half that to stay centred in the visible part, and the logo
   scales. All transforms, so the animation stays on the compositor. */
.site-header.is-scrolled {
    transform: translateY(calc(var(--site-nav-h-scrolled) - var(--site-nav-h)));
}

/* The transformed .site-nav is the containing block for the mobile menu and
   notification panels, so they're offset from its box; once scrolled that box
   sits half the shrink lower, which this cancels out to keep an even gap. */
.site-header {
    --nav-panel-top: calc(var(--site-nav-h) + 8px);
}

.site-header.is-scrolled {
    --nav-panel-top: calc(var(--site-nav-h) + 8px - (var(--site-nav-h) - var(--site-nav-h-scrolled)) / 2);
}

.site-header.is-scrolled,
.site-header.is-open,
.page-shell:has(.not-found) .site-header {
    /* Dark text on the frosted bar (and on the light 404 page). */
    --nav-fg: var(--site-nav-ink);
    --nav-fg-muted: var(--site-nav-ink);
    --nav-indicator: var(--site-nav-teal);
    --nav-cta-bg: var(--site-nav-teal-fill);
    --nav-cta-fg: #fff;
    --nav-cta-bg-hover: var(--site-nav-teal-fill-hover);
    --nav-ring: var(--site-nav-teal-fill);
    --nav-chip-border: #cfe7e3;
    --nav-chip-bg: #fff;
    --nav-chip-bg-hover: #effaf8;
}

.site-header.is-scrolled,
.site-header.is-open {
    background: rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
    backdrop-filter: saturate(170%) blur(18px);
    border-bottom-color: rgba(15, 118, 110, .10);
    box-shadow: 0 10px 30px -18px rgba(15, 60, 55, .35);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .site-header.is-scrolled,
    .site-header.is-open { background: rgba(255, 255, 255, .97); }
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    height: var(--site-nav-h);
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    /* Always transformed (even at 0) so it stays the panels' containing block
       in both states instead of switching mid-animation. */
    transform: translateY(0);
    transition: transform .3s var(--site-nav-ease);
}

.site-header.is-scrolled .site-nav {
    transform: translateY(calc((var(--site-nav-h) - var(--site-nav-h-scrolled)) / 2));
}

/* ---------- Logo ---------- */

.site-nav .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    border-radius: 50%;
}

.site-nav .logo img {
    width: 64px;
    height: 64px;
    max-width: none;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    transform-origin: left center;
    transition: transform .3s var(--site-nav-ease);
}

.site-header.is-scrolled .site-nav .logo img {
    transform: scale(.75); /* 64px -> 48px */
}

/* ---------- Links ---------- */

.site-nav .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 32px);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.site-nav .nav-links > li > a,
.site-nav .nav-user-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px; /* WCAG 2.5.5 target size (AAA) */
    padding: 10px 4px;
    border: 0;
    background: none;
    color: var(--nav-fg-muted);
    font: inherit;
    font-size: 1.0625rem; /* 17px */
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}

/* Underline that grows in on hover and stays on the current page. */
.site-nav .nav-links > li > a::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    bottom: 6px;
    height: 3px;
    border-radius: 3px;
    background: var(--nav-indicator);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .25s var(--site-nav-ease);
}

.site-nav .nav-links > li > a:hover,
.site-nav .nav-user-toggle:hover,
.site-nav .nav-links > li > a[aria-current="page"],
.site-nav .nav-user-menu.is-current .nav-user-toggle {
    color: var(--nav-fg);
}

.site-nav .nav-links > li > a:hover::after,
.site-nav .nav-links > li > a[aria-current="page"]::after {
    transform: scaleX(1);
}

.site-nav .nav-links > li > a[aria-current="page"],
.site-nav .nav-user-menu.is-current .nav-user-toggle {
    font-weight: 700;
}

.site-nav .nav-user-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform .2s ease;
}

.site-nav .nav-user-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Visible keyboard focus everywhere in the header. */
.site-header a,
.site-header button {
    touch-action: manipulation;
}

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid var(--nav-ring);
    outline-offset: 3px;
    border-radius: 6px;
}

.site-nav .logo:focus-visible { border-radius: 50%; }

/* ---------- Right-hand actions ---------- */

.site-nav .nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--nav-cta-bg);
    color: var(--nav-cta-fg);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .35);
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.site-nav .nav-cta:hover {
    background: var(--nav-cta-bg-hover);
    color: var(--nav-cta-fg);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .4);
}

.site-nav .nav-cta:active { transform: translateY(0) scale(.98); }

/* ---------- User dropdown ---------- */

.site-nav .nav-user-menu { position: relative; }

.site-nav .nav-user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-width: 200px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #e3efed;
    border-radius: 14px;
    box-shadow: 0 18px 40px -16px rgba(15, 60, 55, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.site-nav .nav-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav .nav-user-dropdown li a {
    display: block;
    padding: 12px 14px; /* 44px+ targets */
    border-radius: 9px;
    color: #1e293b;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color .15s ease, color .15s ease;
}

.site-nav .nav-user-dropdown li a:hover,
.site-nav .nav-user-dropdown li a[aria-current="page"] {
    background: #effaf8;
    color: var(--site-nav-teal-text);
}

.site-nav .nav-user-dropdown li.nav-user-logout {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #eef2f1;
}

/* ---------- Notification bell ---------- */

.nav-notification-menu {
    position: relative;
    display: flex;
    align-items: center;
}

.patient-bell-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--nav-chip-border);
    border-radius: 50%;
    background: var(--nav-chip-bg);
    color: var(--nav-fg);
    transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.patient-bell-toggle:hover {
    background: var(--nav-chip-bg-hover);
    color: var(--nav-fg);
    transform: translateY(-1px);
}

.patient-bell-toggle svg { display: block; width: 18px; height: 18px; }

.patient-bell-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ef4444;
}

.patient-notification-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    z-index: 10;
    width: 380px;
    max-width: calc(100vw - 24px);
    background: #fff;
    border: 1px solid #e2ece9;
    border-radius: 16px;
    box-shadow: 0 24px 48px -12px rgba(15, 60, 55, .28), 0 4px 12px rgba(15, 23, 42, .06);
    color: #1f2937;
    overflow: hidden;
}

.patient-notification-dropdown.show { display: block; animation: nd-pop .16s ease-out; }
@keyframes nd-pop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .patient-notification-dropdown.show { animation: none; } }

/* Header: title + count pill on the left, "Mark all as read" on the right */
.patient-notification-dropdown > #patientBellDropdownTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    background: linear-gradient(180deg, #f6fbfa 0%, #fff 100%);
    border-bottom: 1px solid #e8f0ee;
}
.patient-notification-dropdown .notif-count {
    display: inline-block;
    min-width: 22px;
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 999px;
    background: #0d9488;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
    vertical-align: 2px;
}
.patient-notification-dropdown .notif-markall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: none;
    padding: 6px 12px;
    border: 1px solid #cfe7e3;
    border-radius: 999px;
    background: #fff;
    color: #0f766e;
    font: inherit;
    font-size: .78rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .15s, border-color .15s, color .15s;
}
.patient-notification-dropdown .notif-markall:hover { background: #0d9488; border-color: #0d9488; color: #fff; }
.patient-notification-dropdown .notif-markall svg { width: 14px; height: 14px; }

/* List */
.patient-notification-dropdown ul { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbd5d1 transparent; }
.patient-notification-dropdown ul::-webkit-scrollbar { width: 6px; }
.patient-notification-dropdown ul::-webkit-scrollbar-track { background: transparent; }
.patient-notification-dropdown ul::-webkit-scrollbar-thumb { background: #cbd5d1; border-radius: 6px; }
.patient-notification-dropdown ul::-webkit-scrollbar-thumb:hover { background: #9fb0ab; }
.patient-notification-dropdown li { position: relative; margin: 0; padding: 0; background: #fff; transition: background-color .15s; }
.patient-notification-dropdown li + li { border-top: 1px solid #f0f4f3; }
.patient-notification-dropdown li:hover { background: #f7fbfa; }
.patient-notification-dropdown li a,
.patient-notification-dropdown li a:hover { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px 4px; color: #374151; text-decoration: none; }
.patient-notification-dropdown .notif-ico {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e6f6f4;
    color: #0d9488;
}
.patient-notification-dropdown .notif-ico svg { width: 18px; height: 18px; }
.patient-notification-dropdown .notif-ico::after { content: ""; position: absolute; top: 0; right: 0; width: 10px; height: 10px; border-radius: 50%; background: #0d9488; border: 2px solid #fff; }
.patient-notification-dropdown .notif-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; color: #374151; }
.patient-notification-dropdown .notif-body strong { color: #0f172a; font-size: .9rem; font-weight: 700; line-height: 1.35; }
.patient-notification-dropdown .notif-body span { color: #5b6672; font-size: .82rem; line-height: 1.5; }
.patient-notification-dropdown .notif-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 18px 12px 68px; }
.patient-notification-dropdown .notif-foot small { color: #94a3b8; font-size: .72rem; }
.patient-notification-dropdown .notif-markone {
    padding: 2px 0;
    border: 0;
    background: none;
    color: #0d9488;
    font: inherit;
    font-size: .76rem;
    font-weight: 600;
    cursor: pointer;
}
.patient-notification-dropdown .notif-markone:hover { color: #0f766e; text-decoration: underline; }
.patient-notification-dropdown .notif-markall:disabled,
.patient-notification-dropdown .notif-markone:disabled { opacity: .5; cursor: default; }
.patient-notification-dropdown .nav-bell-empty { padding: 34px 18px; color: #94a3b8; text-align: center; font-size: .88rem; }

/* ---------- Menu button (tablet / phone) ---------- */

.site-nav .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--nav-chip-border);
    border-radius: 12px;
    background: var(--nav-chip-bg);
    color: var(--nav-fg);
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}

.site-nav .nav-toggle:hover { background: var(--nav-chip-bg-hover); }

.site-nav .nav-toggle-bars {
    position: relative;
    display: block;
    width: 20px;
    height: 14px;
}

.site-nav .nav-toggle-bars span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s var(--site-nav-ease), opacity .2s ease, top .25s var(--site-nav-ease);
}

.site-nav .nav-toggle-bars span:nth-child(1) { top: 0; }
.site-nav .nav-toggle-bars span:nth-child(2) { top: 6px; }
.site-nav .nav-toggle-bars span:nth-child(3) { top: 12px; }

.site-header.is-open .nav-toggle-bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle-bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Contact Us lives in the bar on desktop and inside the menu panel on mobile. */
.site-nav .nav-links .nav-mobile-cta { display: none; }

@media (max-width: 1100px) {
    .site-nav { padding: 0 24px; gap: 16px; }
}

@media (max-width: 900px) {
    .site-nav {
        padding: 0 16px;
        gap: 10px;
    }

    .site-nav .logo img { width: 52px; height: 52px; }
    .site-header.is-scrolled .site-nav .logo img { transform: scale(.8077); } /* 52px -> 42px */

    .site-nav .nav-actions { margin-left: auto; gap: 8px; }
    .site-nav .nav-actions .nav-cta { display: none; }
    .site-nav .nav-toggle { display: inline-flex; }

    /* Menu panel: drops down under the bar. */
    .site-nav .nav-links {
        position: absolute;
        top: var(--nav-panel-top);
        left: 12px;
        right: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin: 0;
        padding: 10px;
        max-height: calc(100dvh - var(--site-nav-h) - 24px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: #fff;
        border: 1px solid #e3efed;
        border-radius: 20px;
        box-shadow: 0 24px 48px -20px rgba(15, 60, 55, .4);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .22s ease, transform .22s var(--site-nav-ease), visibility .22s;
    }

    .site-header.is-open .nav-links {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .site-nav .nav-links > li > a,
    .site-nav .nav-user-toggle {
        display: flex;
        width: 100%;
        padding: 14px 14px;
        border-radius: 12px;
        color: #1e293b;
        font-size: 1.0625rem;
    }

    .site-nav .nav-links > li > a::after { display: none; }

    .site-nav .nav-links > li > a:hover,
    .site-nav .nav-user-toggle:hover {
        background: #f3faf9;
        color: var(--site-nav-ink);
    }

    .site-nav .nav-links > li > a[aria-current="page"],
    .site-nav .nav-user-menu.is-current .nav-user-toggle {
        background: #effaf8;
        color: var(--site-nav-teal-text);
    }

    .site-nav .nav-user-toggle { justify-content: space-between; }

    /* The account submenu expands inline inside the panel. */
    .site-nav .nav-user-dropdown {
        position: static;
        display: none;
        min-width: 0;
        margin: 2px 0 6px 14px;
        padding: 0 0 0 10px;
        border: 0;
        border-left: 2px solid #d5efeb;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .site-nav .nav-user-dropdown.show { display: flex; }
    .site-nav .nav-user-dropdown li.nav-user-logout { border-top: 0; margin-top: 0; padding-top: 0; }

    .site-nav .nav-links .nav-mobile-cta {
        display: block;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid #eef2f1;
    }

    .site-nav .nav-links .nav-mobile-cta a {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 14px;
        border-radius: 999px;
        background: var(--site-nav-teal-fill);
        color: #fff;
        font-weight: 700;
    }

    .site-nav .nav-links .nav-mobile-cta a:hover {
        background: var(--site-nav-teal-fill-hover);
        color: #fff;
    }

    /* Pin the notification panel across the bar so it can't run off the left
       edge from a bell that sits mid-bar (offset via --nav-panel-top above). */
    .patient-notification-dropdown {
        position: fixed;
        top: var(--nav-panel-top);
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .site-header,
    .site-header *,
    .site-header *::before,
    .site-header *::after {
        transition: none !important;
    }
}

/* Skip-link landing point: receives focus so the next Tab continues from the
   page content, but it isn't a control, so it needs no visible ring. */
#main-content:focus {
    outline: none;
}
