/* HÔPITAL JAMOT — COMPLETE TOP BAR STYLESHEET
   Replace top-bar.css with this file.
   Desktop: the 40px utility row scrolls away; the menu remains sticky.
   Mobile: the existing mobile menu remains sticky.
   Page-specific sticky bars can use top: var(--hjy-sticky-nav-height).
*/

/* for /top-bar.php */
/* =========================================================
   VARIABLES
========================================================= */
:root {
    --hjy-navy-deep: #001f3d;
    --hjy-navy: #00325d;
    --hjy-blue: #1399ed;
    --hjy-blue-bright: #32b7ff;
    --hjy-red: #f20d2f;
    --hjy-red-dark: #d50827;
    --hjy-white: #ffffff;
    --hjy-container: 1500px;
    --hjy-utility-height: 40px;
    --hjy-sticky-nav-height: 83px;
}
/* =========================================================
   HEADER CSS ISOLATION
   Prevent page-level CSS from altering the shared header
========================================================= */
.hjy-site-header,
.hjy-site-header *,
.hjy-site-header *::before,
.hjy-site-header *::after {
    box-sizing: border-box;
}
.hjy-site-header {
    position: sticky;
    top: calc(0px - var(--hjy-utility-height));
    z-index: 1000;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #fff;
    font-family:
        Inter,
        "Segoe UI",
        Arial,
        sans-serif;
    line-height: 1.2;
}
/* Prevent page-level img rules from modifying header images */
.hjy-site-header img {
    display: block;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}
/* Prevent page-level anchor rules from leaking into header */
.hjy-site-header a {
    margin: 0;
    font-family: inherit;
    text-decoration: none;
}
/* Header lists must never inherit page list styling */
.hjy-site-header ul,
.hjy-site-header ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Header buttons must not inherit page button styling */
.hjy-site-header button {
    font: inherit;
}
/* =========================================================
   HEADER CONTAINER
========================================================= */
.hjy-container {
    width: min(
        calc(100% - 64px),
        var(--hjy-container)
    );
    margin-inline: auto;
}
/* =========================================================
   DESKTOP UTILITY BAR
========================================================= */
.hjy-utility {
    height: var(--hjy-utility-height);
    min-height: var(--hjy-utility-height);
    background:
        linear-gradient(
            90deg,
            #001c38 0%,
            #003263 52%,
            #001d3b 100%
        );
    border-bottom:
        1px solid rgba(255,255,255,.14);
}
.hjy-utility__inner {
    display: flex;
    height: 100%;
    min-height: 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.hjy-utility__left,
.hjy-utility__right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.hjy-utility a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
}
.hjy-utility a:hover,
.hjy-utility a:focus-visible {
    color: var(--hjy-blue-bright);
}
.hjy-phone-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: currentColor;
}
.hjy-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
/* =========================================================
   DESKTOP MAIN HEADER
========================================================= */
.hjy-main {
    position: relative;
    background:
        linear-gradient(
            110deg,
            #002648 0%,
            #064f88 48%,
            #159ee9 100%
        );
    border-bottom:
        1px solid rgba(255,255,255,.16);
}
/*
   The main navigation row is allowed to grow wider than the
   global 1500px container so the two institutional logos
   plus nine navigation items can breathe on large screens.
*/
.hjy-main .hjy-container {
    width: min(
        calc(100% - 48px),
        1680px
    );
}
.hjy-main__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: clamp(10px, 1vw, 20px);
}
/* =========================================================
   DESKTOP HEADER LOGOS
========================================================= */
.hjy-header-logo {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.hjy-header-logo img {
    display: block;
    width: auto;
    height: 60px;
    object-fit: contain;
}
/*
   UHC / CSU logo — far left
   Slightly enlarged to visually balance the HJY roundel.
*/
.hjy-header-logo--uhc img {
    height: 66px;
    max-width: 120px;
    border-radius: 6px;
}
/* Hospital logo — far right */
.hjy-header-logo--hospital img {
    max-width: 95px;
}
/* =========================================================
   DESKTOP NAVIGATION
========================================================= */
.hjy-desktop-nav {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    align-self: stretch;
}
.hjy-nav-list {
    display: flex;
    width: 100%;
    align-items: stretch;
    justify-content: center;
    gap: clamp(0px, .25vw, 6px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.hjy-nav-list li {
    display: flex;
    align-items: stretch;
}
.hjy-nav-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        0 clamp(6px, .5vw, 11px);
    color: rgba(255,255,255,.92);
    font-size:
        clamp(.71rem, .64rem + .12vw, .84rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}
.hjy-nav-link::after {
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 3px;
    border-radius: 3px;
    background: var(--hjy-red);
    content: "";
    opacity: 0;
    transform: scaleX(.3);
    transition:
        opacity .18s ease,
        transform .18s ease;
}
.hjy-nav-link:hover,
.hjy-nav-link:focus-visible {
    color: #fff;
}
.hjy-nav-link:hover::after,
.hjy-nav-link:focus-visible::after,
.hjy-nav-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}
/* =========================================================
   DESKTOP APPOINTMENT BUTTON
========================================================= */
.hjy-desktop-appointment {
    display: inline-flex;
    min-height: 48px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 7px;
    background: var(--hjy-red);
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background .18s ease,
        transform .18s ease;
}
.hjy-desktop-appointment:hover,
.hjy-desktop-appointment:focus-visible {
    background: var(--hjy-red-dark);
    transform: translateY(-1px);
}
.hjy-arrow {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
/* =========================================================
   MOBILE HEADER
   HIDDEN ON DESKTOP
========================================================= */
.hjy-mobile-bar {
    display: none;
}
/* =========================================================
   MOBILE DROPDOWN
========================================================= */
.hjy-mobile-nav {
    display: none;
    background:
        linear-gradient(
            180deg,
            #00325d 0%,
            #001f3d 100%
        );
    border-top:
        1px solid rgba(255,255,255,.12);
    box-shadow:
        0 15px 30px rgba(0,0,0,.20);
}
.hjy-mobile-nav.is-open {
    display: block;
}
.hjy-mobile-nav__inner {
    padding:
        10px 0 20px;
}
/* =========================================================
   MOBILE DROPDOWN — DUAL INSTITUTIONAL BRANDING
   ---------------------------------------------------------
   Matches the current /top-bar.php markup exactly:
   LEFT   → UHC / CSU logo
   CENTER → HÔPITAL JAMOT DE YAOUNDÉ identity
   RIGHT  → HJY logo
   The three items remain on ONE row, mirroring the desktop
   header arrangement while scaling cleanly on small screens.
========================================================= */
.hjy-mobile-menu-logos {
    display: grid;
    grid-template-columns:
        minmax(58px, 78px)
        minmax(0, 1fr)
        minmax(58px, 78px);
    width: 100%;
    align-items: center;
    column-gap: 14px;
    padding:
        14px
        10px
        16px;
    border-bottom:
        1px solid rgba(255,255,255,.12);
}
/* =========================================================
   MOBILE DROPDOWN LOGO LINKS
========================================================= */
.hjy-mobile-menu-logo {
    display: flex;
    width: 100%;
    min-width: 0;
    height: 72px;
    align-items: center;
    color: #fff;
    text-decoration: none;
}
/* LEFT — UHC / CSU */
.hjy-mobile-menu-logo--uhc {
    justify-content: flex-start;
}
/* RIGHT — HJY */
.hjy-mobile-menu-logo--hospital {
    justify-content: flex-end;
}
/* =========================================================
   MOBILE DROPDOWN LOGO IMAGES
   ---------------------------------------------------------
   Do not force equal image widths. The CSU/UHC mark and the
   HJY roundel have different natural aspect ratios.
========================================================= */
.hjy-mobile-menu-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 68px;
    flex: 0 1 auto;
    object-fit: contain;
}
/* CSU / UHC logo */
.hjy-mobile-menu-logo--uhc img {
    max-width: 74px;
    object-position: left center;
    border-radius: 5px;
}
/* HJY logo */
.hjy-mobile-menu-logo--hospital img {
    max-width: 74px;
    object-position: right center;
}
/* =========================================================
   MOBILE DROPDOWN — CENTER HOSPITAL IDENTITY
========================================================= */
.hjy-mobile-menu-brand__text {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1.15;
    text-align: center;
}
/* Hospital name */
.hjy-mobile-menu-brand__text strong {
    display: block;
    width: 100%;
    color: #fff;
    font-size: clamp(.78rem, 2.7vw, .94rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: .01em;
    overflow-wrap: normal;
}
/* Hospital subtitle */
.hjy-mobile-menu-brand__text span {
    display: block;
    margin-top: 5px;
    color: rgba(255,255,255,.72);
    font-size: clamp(.60rem, 2.1vw, .70rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
}
/* =========================================================
   MOBILE DROPDOWN BRANDING — SMALL PHONES
========================================================= */
@media (max-width: 420px) {
    .hjy-mobile-menu-logos {
        grid-template-columns:
            54px
            minmax(0, 1fr)
            54px;
        column-gap: 9px;
        padding:
            12px
            4px
            14px;
    }
    .hjy-mobile-menu-logo {
        height: 58px;
    }
    .hjy-mobile-menu-logo img {
        max-height: 54px;
    }
    .hjy-mobile-menu-logo--uhc img,
    .hjy-mobile-menu-logo--hospital img {
        max-width: 54px;
    }
    .hjy-mobile-menu-brand__text strong {
        font-size: .78rem;
        line-height: 1.16;
    }
    .hjy-mobile-menu-brand__text span {
        margin-top: 4px;
        font-size: .60rem;
        letter-spacing: .025em;
    }
}
/* =========================================================
   MOBILE DROPDOWN BRANDING — VERY SMALL PHONES
========================================================= */
@media (max-width: 350px) {
    .hjy-mobile-menu-logos {
        grid-template-columns:
            48px
            minmax(0, 1fr)
            48px;
        column-gap: 7px;
        padding-inline: 2px;
    }
    .hjy-mobile-menu-logo {
        height: 52px;
    }
    .hjy-mobile-menu-logo img {
        max-height: 48px;
    }
    .hjy-mobile-menu-logo--uhc img,
    .hjy-mobile-menu-logo--hospital img {
        max-width: 48px;
    }
    .hjy-mobile-menu-brand__text strong {
        font-size: .72rem;
    }
    .hjy-mobile-menu-brand__text span {
        font-size: .56rem;
    }
}
/* =========================================================
   MOBILE LINKS
========================================================= */
.hjy-mobile-nav-list {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.hjy-mobile-nav-link {
    position: relative;
    display: flex;
    min-height: 46px;
    align-items: center;
    padding:
        0 14px;
    border-bottom:
        1px solid rgba(255,255,255,.07);
    color: rgba(255,255,255,.94);
    font-size: .89rem;
    font-weight: 600;
    text-decoration: none;
}
.hjy-mobile-nav-link::before {
    width: 3px;
    height: 19px;
    margin-right: 11px;
    border-radius: 2px;
    background: var(--hjy-red);
    content: "";
    opacity: 0;
}
.hjy-mobile-nav-link.is-active::before {
    opacity: 1;
}
/* =========================================================
   MOBILE MENU ACTIONS
========================================================= */
.hjy-mobile-actions {
    display: grid;
    gap: 9px;
    margin-top: 14px;
}
.hjy-mobile-action {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding:
        8px 12px;
    border:
        1px solid rgba(255,255,255,.45);
    border-radius: 6px;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.hjy-mobile-action--appointment {
    border-color: var(--hjy-red);
    background: var(--hjy-red);
}
.hjy-mobile-action--appointment:hover,
.hjy-mobile-action--appointment:focus-visible {
    border-color: var(--hjy-red-dark);
    background: var(--hjy-red-dark);
}
/* =========================================================
   MOBILE HAMBURGER
========================================================= */
.hjy-menu-button {
    display: inline-flex;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}
.hjy-menu-lines,
.hjy-menu-lines::before,
.hjy-menu-lines::after {
    display: block;
    width: 27px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
    content: "";
    transition:
        transform .2s ease,
        opacity .2s ease;
}
.hjy-menu-lines {
    position: relative;
}
.hjy-menu-lines::before {
    position: absolute;
    top: -8px;
    left: 0;
}
.hjy-menu-lines::after {
    position: absolute;
    top: 8px;
    left: 0;
}
.hjy-menu-button[aria-expanded="true"]
.hjy-menu-lines {
    background: transparent;
}
.hjy-menu-button[aria-expanded="true"]
.hjy-menu-lines::before {
    top: 0;
    transform: rotate(45deg);
}
.hjy-menu-button[aria-expanded="true"]
.hjy-menu-lines::after {
    top: 0;
    transform: rotate(-45deg);
}
/* =========================================================
   COMPACT DESKTOP / LAPTOP HEADER
   ---------------------------------------------------------
   Keeps both institutional logos visible while reducing
   horizontal pressure before switching to mobile.
========================================================= */
@media (max-width: 1500px) and (min-width: 1051px) {
    .hjy-main .hjy-container {
        width: calc(100% - 32px);
    }
    .hjy-main__inner {
        gap: 10px;
    }
    /* Left UHC / CSU logo */
    .hjy-header-logo--uhc img {
        height: 54px;
        max-width: 82px;
    }
    /* Right hospital logo */
    .hjy-header-logo--hospital img {
        height: 54px;
        max-width: 76px;
    }
    .hjy-nav-list {
        gap: 0;
    }
    .hjy-nav-link {
        padding: 0 clamp(4px, .35vw, 7px);
        font-size:
            clamp(.66rem, .54rem + .18vw, .76rem);
    }
    .hjy-desktop-appointment {
        min-height: 44px;
        gap: 7px;
        padding: 0 14px;
        font-size: .76rem;
    }
    .hjy-arrow {
        width: 15px;
        height: 15px;
    }
}
/* =========================================================
   MOBILE
========================================================= */
@media (max-width: 1050px) {
    :root {
        --hjy-sticky-nav-height: 59px;
    }
    .hjy-site-header {
        top: 0;
    }
    /*
       IMPORTANT:
       Desktop's two header rows disappear completely.
    */
    .hjy-utility,
    .hjy-main {
        display: none;
    }
    /*
       The ONLY permanently visible mobile header.
    */
    .hjy-mobile-bar {
        display: block;
        background:
            linear-gradient(
                90deg,
                #001c38 0%,
                #003263 55%,
                #001d3b 100%
            );
        border-bottom:
            1px solid rgba(255,255,255,.14);
    }
    .hjy-mobile-bar__inner {
        display: flex;
        width: calc(100% - 28px);
        min-height: 58px;
        margin-inline: auto;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    /* Emergency */
    .hjy-mobile-emergency {
        display: inline-flex;
        min-width: 0;
        align-items: center;
        gap: 8px;
        color: #fff;
        font-size: .78rem;
        font-weight: 700;
        text-decoration: none;
    }
    .hjy-mobile-emergency .hjy-phone-icon {
        width: 17px;
        height: 17px;
    }
    /* Right controls */
    .hjy-mobile-controls {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        gap: 9px;
    }
    /* Language */
    .hjy-mobile-language {
        display: inline-flex;
        min-height: 32px;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding:
            0 8px;
        border:
            1px solid rgba(255,255,255,.28);
        border-radius: 5px;
        color: #fff;
        font-size: .75rem;
        font-weight: 700;
        text-decoration: none;
    }
    .hjy-mobile-language .hjy-icon {
        width: 15px;
        height: 15px;
    }
    /* Dropdown */
    .hjy-mobile-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1001;
        max-height:
            calc(100dvh - var(--hjy-sticky-nav-height));
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .hjy-mobile-nav__inner {
        width: calc(100% - 28px);
        margin-inline: auto;
    }
}
/* =========================================================
   SMALL PHONES
========================================================= */
@media (max-width: 420px) {
    :root {
        --hjy-sticky-nav-height: 57px;
    }
    .hjy-mobile-bar__inner,
    .hjy-mobile-nav__inner {
        width: calc(100% - 22px);
    }
    .hjy-mobile-bar__inner {
        min-height: 56px;
    }
    .hjy-mobile-emergency {
        gap: 6px;
        font-size: .72rem;
    }
    .hjy-mobile-language {
        min-height: 30px;
        padding:
            0 7px;
        font-size: .70rem;
    }
    .hjy-menu-button {
        width: 37px;
        height: 37px;
        flex-basis: 37px;
    }
    .hjy-menu-lines,
    .hjy-menu-lines::before,
    .hjy-menu-lines::after {
        width: 25px;
    }
}
/* =========================================================
   VERY SMALL PHONES
========================================================= */
@media (max-width: 350px) {
    .hjy-mobile-emergency {
        font-size: .67rem;
    }
    .hjy-mobile-language {
        padding:
            0 5px;
    }
}
/* =========================================================
   FALLBACK
========================================================= */
@supports not (height: 100dvh) {
    @media (max-width: 1050px) {
        .hjy-mobile-nav {
            max-height:
                calc(100vh - var(--hjy-sticky-nav-height));
        }
    }
}
/* =========================================================
   REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    .hjy-site-header * {
        transition: none !important;
    }
}
/* =========================================================
   DESKTOP UTILITY PATIENT PORTAL BUTTON
========================================================= */
.hjy-utility a.hjy-utility-portal {
    min-height: 29px;
    padding: 0 12px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 5px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    transition:
        background .18s ease,
        border-color .18s ease,
        transform .18s ease;
}
.hjy-utility a.hjy-utility-portal:hover,
.hjy-utility a.hjy-utility-portal:focus-visible {
    border-color: #fff;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    transform: translateY(-1px);
}
/* =========================================================
   SEARCH CONTROL AND PANEL — PHASE 1
   Kept outside the desktop nav to preserve nine nav links.
========================================================= */
.hjy-site-header .hjy-search-toggle {
    display: inline-flex;
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 6px;
    background: rgba(255,255,255,.08);
    color: #fff;
    cursor: pointer;
}
.hjy-site-header .hjy-search-toggle:hover,
.hjy-site-header .hjy-search-toggle:focus-visible,
.hjy-site-header .hjy-search-toggle[aria-expanded="true"] {
    background: rgba(255,255,255,.2);
    outline-offset: 3px;
}
.hjy-site-header .hjy-search-toggle--mobile { display: none; }
.hjy-site-header .hjy-search-panel[hidden] { display: none !important; }
.hjy-site-header .hjy-search-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1002;
    background: #fff;
    color: #001f3d;
    border-top: 3px solid var(--hjy-red);
    box-shadow: 0 18px 35px rgba(0,0,0,.2);
}
.hjy-site-header .hjy-search-panel__inner {
    width: min(calc(100% - 48px), 900px);
    margin-inline: auto;
    padding: 22px 0 26px;
}
.hjy-site-header .hjy-search-panel__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    font-size: 1.05rem;
}
.hjy-site-header .hjy-search-panel__close {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #00325d;
    font-size: 1.8rem;
    cursor: pointer;
}
.hjy-site-header .hjy-search-form { display: flex; gap: 10px; }
.hjy-site-header .hjy-search-form input {
    flex: 1 1 auto;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #b5c7d8;
    border-radius: 6px;
    background: #fff;
    color: #001f3d;
    font: inherit;
    font-size: .95rem;
}
.hjy-site-header .hjy-search-form button {
    flex: 0 0 auto;
    padding: 0 22px;
    border: 0;
    border-radius: 6px;
    background: var(--hjy-red);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.hjy-site-header .hjy-search-form button:hover { background: var(--hjy-red-dark); }
.hjy-site-header .hjy-search-panel__status { margin: 12px 0 0; color: #425a71; font-size: .88rem; }
.hjy-site-header .hjy-search-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}
@media (max-width: 1050px) {
    .hjy-site-header .hjy-search-toggle--desktop { display: none; }
    .hjy-site-header .hjy-search-toggle--mobile { display: inline-flex; width: 36px; height: 36px; }
    .hjy-site-header .hjy-search-panel__inner { width: calc(100% - 28px); padding: 16px 0 20px; }
}
@media (max-width: 420px) {
    .hjy-site-header .hjy-search-panel__inner { width: calc(100% - 22px); }
    .hjy-site-header .hjy-search-form { gap: 6px; }
    .hjy-site-header .hjy-search-form button { padding-inline: 12px; font-size: .82rem; }
    .hjy-site-header .hjy-search-form input { font-size: .84rem; }
    .hjy-site-header .hjy-mobile-controls { gap: 5px; }
}
/* Search result links */
.hjy-site-header .hjy-search-results { max-height: min(48vh, 440px); overflow-y: auto; overscroll-behavior: contain; margin-top: 10px; }
.hjy-site-header .hjy-search-result { display: flex; flex-direction: column; gap: 4px; padding: 12px 10px; border-bottom: 1px solid #dce6ef; color: #00325d; }
.hjy-site-header .hjy-search-result:hover, .hjy-site-header .hjy-search-result:focus-visible { background: #eff7fd; }
.hjy-site-header .hjy-search-result strong { font-size: .92rem; }
.hjy-site-header .hjy-search-result small { color: #536f87; font-size: .73rem; }
.hjy-site-header .hjy-search-result span { color: #425a71; font-size: .82rem; line-height: 1.4; }
/* =========================================================
   STACKED SCHEDULE / APPOINTMENT ACTIONS
   Top and bottom are separate, fully clickable links.
========================================================= */
.hjy-site-header .hjy-desktop-action-stack {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    width: clamp(166px, 13vw, 208px);
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.5);
}
.hjy-site-header .hjy-desktop-action-stack .hjy-desktop-appointment {
    display: flex;
    width: 100%;
    min-height: 30px;
    padding: 5px 8px;
    border-radius: 0;
    font-size: clamp(.65rem, .65rem + .08vw, .76rem);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    transform: none;
}
.hjy-site-header .hjy-desktop-appointment--schedules {
    background: #ffffff;
    color: #00325d;
    border-bottom: 1px solid rgba(0,31,61,.18);
}
.hjy-site-header .hjy-desktop-appointment--schedules:hover,
.hjy-site-header .hjy-desktop-appointment--schedules:focus-visible {
    background: #e9f2fb;
    color: #00325d;
    transform: none;
}
.hjy-site-header .hjy-desktop-appointment--request {
    background: var(--hjy-red);
    color: #fff;
}
.hjy-site-header .hjy-desktop-appointment--request:hover,
.hjy-site-header .hjy-desktop-appointment--request:focus-visible {
    background: var(--hjy-red-dark);
    transform: none;
}
.hjy-site-header .hjy-mobile-action-stack {
    display: grid;
    grid-template-rows: 1fr 1fr;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 6px;
}
.hjy-site-header .hjy-mobile-action-stack .hjy-mobile-action {
    min-height: 40px;
    border: 0;
    border-radius: 0;
    font-weight: 600;
}
.hjy-site-header .hjy-mobile-action--schedules {
    background: #fff;
    color: #00325d;
    border-bottom: 1px solid #d6e1ed !important;
}
.hjy-site-header .hjy-mobile-action--schedules:hover,
.hjy-site-header .hjy-mobile-action--schedules:focus-visible {
    background: #e9f2fb;
    color: #00325d;
}
