
/* Desktop two-state planenews header. Mobile/tablet rules intentionally untouched. */
@media (min-width: 1025px) {
    .libu-site-header {
        position: relative !important;
        top: auto !important;
        z-index: 100 !important;
        box-shadow: none !important;
    }
    .libu-site-header .libu-masthead {
        height: 104px !important;
        min-height: 104px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 28px !important;
    }
    .libu-site-header .libu-brand { flex: 0 0 auto; }
    .libu-site-header .libu-brand-logo {
        width: 48px !important; height: 48px !important;
        max-width: 48px !important; max-height: 48px !important;
    }
    .libu-site-header .libu-brand-name { font-size: 22px !important; }
    .libu-header-search {
        width: min(380px, 38%);
        height: 40px;
        display: flex;
        align-items: center;
        overflow: hidden;
        margin: 0 auto;
        border: 1px solid #e2e5ea;
        border-radius: 22px;
        background: #fff;
        box-shadow: 0 1px 3px rgba(0,0,0,.04);
    }
    .libu-header-search input,
    .libu-compact-search input {
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        height: 100%;
        margin: 0;
        padding: 0 16px;
        border: 0 !important;
        outline: 0;
        background: transparent !important;
        color: #222 !important;
        font: 14px Arial, Helvetica, sans-serif;
        box-shadow: none !important;
    }
    .libu-header-search button,
    .libu-compact-search button {
        display: inline-flex;
        flex: 0 0 56px;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 40px;
        padding: 0;
        border: 0;
        border-radius: 22px;
        background: #fff !important;
        color: #123B66 !important;
        cursor: pointer;
    }
    .libu-header-search button svg,
    .libu-compact-search button svg {
        width: 20px;
        height: 20px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }
    .libu-category-nav {
        min-height: 48px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    .libu-category-nav > .container {
        min-height: 48px;
        padding: 0 16px !important;
        background: #123B66 !important;
    }
    .libu-category-list,
    #libu-category-list {
        min-height: 48px !important;
        gap: 27px !important;
        overflow: hidden !important;
    }
    .libu-category-list a,
    #libu-category-list a {
        color: #fff !important;
        font-size: 13px !important;
        line-height: 48px !important;
    }
    .libu-category-list a:hover,
    #libu-category-list a:hover { color: #d8d8d8 !important; }

    .libu-compact-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10050;
        height: 58px;
        background: rgba(255,255,255,.98);
        border-bottom: 1px solid #dedede;
        box-shadow: 0 2px 8px rgba(0,0,0,.07);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-110%);
        transition: transform .28s cubic-bezier(.2,.75,.25,1), opacity .18s ease, visibility .18s ease;
    }
    .libu-compact-header.is-visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
    .libu-compact-header-inner {
        height: 58px;
        display: flex;
        align-items: center;
        gap: 24px;
        padding: 0 16px;
    }
    .libu-compact-brand-slot { flex: 0 0 auto; }
    .libu-compact-brand-slot .libu-brand-link { gap: 7px !important; }
    .libu-compact-brand-slot .libu-brand-logo {
        width: 27px !important; height: 27px !important;
        max-width: 27px !important; max-height: 27px !important;
    }
    .libu-compact-brand-slot .libu-brand-name { font-size: 18px !important; }
    .libu-compact-nav-slot { flex: 1 1 auto; min-width: 0; overflow: hidden; }
    .libu-compact-category-list {
        display: flex !important;
        align-items: center;
        gap: 20px !important;
        min-height: 58px;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        list-style: none;
        white-space: nowrap;
    }
    .libu-compact-category-list li { flex: 0 0 auto; margin: 0; padding: 0; }
    .libu-compact-category-list a {
        display: block;
        color: #123B66 !important;
        font-size: 12px !important;
        font-weight: 700;
        line-height: 58px;
        white-space: nowrap;
    }
    .libu-compact-search {
        display: flex;
        flex: 0 0 190px;
        width: 190px;
        height: 34px;
        overflow: hidden;
        border: 1px solid #e2e5ea;
        border-radius: 18px;
        background: #fff;
    }
    .libu-compact-search input { padding: 0 11px; font-size: 12px; }
    .libu-compact-search button { flex-basis: 38px; width: 38px; height: 34px; }
    .libu-compact-search button svg { width: 17px; height: 17px; }
    .libu-compact-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; }
    .libu-compact-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 26px;
        height: 28px;
        padding: 3px;
        border: 0;
        background: transparent;
        cursor: pointer;
    }
    .libu-compact-menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 1px; background: #123B66; }
    .libu-category-nav.is-lifted {
        opacity: 0;
        transform: translateY(-10px);
        transition: opacity .18s ease, transform .22s ease;
    }
}
@media (min-width: 1025px) and (max-width: 1250px) {
    .libu-compact-header-inner { gap: 12px; }
    .libu-compact-category-list { gap: 12px !important; }
    .libu-compact-category-list a { font-size: 11px !important; }
    .libu-compact-search { flex-basis: 145px; width: 145px; }
}
@media (max-width: 1024px) {
    .libu-header-search,
    .libu-compact-header { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
    .libu-compact-header,
    .libu-category-nav { transition: none !important; }
}
