/* V28 — dynamic, humanized government header */
.government-v28 .v28-header{
    --v28-blue:#0f4c8a;
    --v28-ink:#082f61;
    --v28-line:#d7e2ef;
    --v28-muted:#64748b;
    background:#fff;
}

.government-v28 .v28-header__utility{
    background:#f8fbff;
    border-top:3px solid #14814f;
    border-bottom:1px solid #dbe6f1;
}

.government-v28 .v28-header__utility-inner{
    min-height:42px;
}

.government-v28 .v28-header__brand-row{
    min-height:92px;
    padding-top:10px;
    padding-bottom:10px;
    gap:20px;
}

/* Both logos remain free-standing: no white rectangle, border or shadow. */
.government-v28 .v28-brand__logo,
.government-v28 .v28-flag-logo{
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    overflow:visible !important;
}

.government-v28 .v28-brand__logo{
    width:72px;
    height:72px;
    flex:0 0 72px;
}

.government-v28 .v28-brand__logo img{
    width:100%;
    height:100%;
    object-fit:contain;
    filter:drop-shadow(0 6px 10px rgba(15,48,95,.10));
}

.government-v28 .v28-flag-logo{
    width:45px;
    min-width:45px;
    height:55px;
    align-items:center;
    justify-content:center;
}

.government-v28 .v28-flag-logo img{
    width:43px;
    height:52px;
    object-fit:contain;
    filter:drop-shadow(0 5px 7px rgba(10,45,95,.14));
}

.government-v28 .v28-header__actions{
    min-width:0;
    flex:1 1 auto;
    justify-content:flex-end;
    gap:12px;
}

.government-v28 .v28-action-rail{
    display:flex;
    align-items:stretch;
    justify-content:flex-end;
    gap:10px;
    min-width:0;
    max-width:min(900px, 62vw);
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    scrollbar-width:none;
    padding:4px 2px;
}

.government-v28 .v28-action-rail::-webkit-scrollbar{display:none;}

.government-v28 .v28-header-action{
    --action:#1764b1;
    --action-soft:#eef6ff;
    position:relative;
    display:grid;
    grid-template-columns:42px minmax(108px,1fr) 18px;
    align-items:center;
    gap:10px;
    flex:0 0 auto;
    min-width:190px;
    min-height:58px;
    padding:8px 12px 8px 9px;
    color:#103b72;
    text-decoration:none;
    background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
    border:1px solid #d8e4f1;
    border-radius:14px;
    box-shadow:0 8px 22px rgba(19,61,112,.06);
    transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.government-v28 .v28-header-action::before{
    content:"";
    position:absolute;
    inset:8px auto 8px 0;
    width:3px;
    border-radius:0 5px 5px 0;
    background:var(--action);
}

.government-v28 .v28-header-action:hover,
.government-v28 .v28-header-action:focus-visible{
    transform:translateY(-2px);
    color:#082f61;
    background:#fff;
    border-color:color-mix(in srgb,var(--action) 32%,#d8e4f1);
    box-shadow:0 12px 28px rgba(19,61,112,.11);
}
/* 
.government-v28 .v28-header-action.is-green{--action:#0b8a70;--action-soft:#e9f8f4;}
.government-v28 .v28-header-action.is-red{--action:#d52b3f;--action-soft:#fff0f2;}
.government-v28 .v28-header-action.is-gold{--action:#b77900;--action-soft:#fff8e6;}
.government-v28 .v28-header-action.is-neutral{--action:#53657b;--action-soft:#f1f5f9;} */

.government-v28 .v28-header-action__icon{
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    border-radius:11px;
    background:var(--action-soft);
    color:var(--action);
}

.government-v28 .v28-header-action__icon svg{
    width:21px;
    height:21px;
    fill:currentColor;
}

.government-v28 .v28-header-action__copy{
    min-width:0;
    line-height:1.15;
}

.government-v28 .v28-header-action__copy small{
    display:block;
    margin-bottom:3px;
    overflow:hidden;
    color:#73849b;
    font-size:10px;
    font-weight:600;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.government-v28 .v28-header-action__copy strong{
    display:block;
    overflow:hidden;
    color:#103b72;
    font-size:13px;
    font-weight:800;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.government-v28 .v28-header-action__arrow{
    color:var(--action);
    font-size:15px;
    transition:transform .18s ease;
}
.government-v28 .v28-header-action:hover .v28-header-action__arrow{transform:translateX(3px);}

.government-v28 .v28-search-toggle{
    display:grid;
    place-items:center;
    flex:0 0 42px;
    width:42px;
    height:42px;
    padding:0;
    color:#123e72;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
}

.government-v28 .v28-search-toggle::before{
    content:"";
    position:absolute;
    width:38px;
    height:38px;
    border:1px solid #d8e4f1;
    border-radius:50%;
    background:#fff;
    box-shadow:0 5px 14px rgba(16,57,106,.05);
    transition:.18s ease;
}

.government-v28 .v28-search-toggle:hover::before,
.government-v28 .v28-search-toggle:focus-visible::before{
    border-color:#a9c5e4;
    box-shadow:0 8px 18px rgba(16,57,106,.10);
    transform:scale(1.05);
}

.government-v28 .v28-search-toggle svg{
    position:relative;
    z-index:1;
    width:20px;
    height:20px;
    fill:currentColor;
}

.government-v28 .v28-header-search{
    border-top:1px solid #e2eaf3;
    background:#fff;
    box-shadow:0 12px 30px rgba(15,46,90,.10);
}

.government-v28 .v28-header-search form{
    display:grid;
    grid-template-columns:28px minmax(0,1fr) auto auto;
    align-items:center;
    gap:10px;
    padding-top:12px;
    padding-bottom:12px;
}

.government-v28 .v28-header-search__icon svg{
    width:20px;
    height:20px;
    fill:#5c7390;
}

.government-v28 .v28-header-search input{
    min-width:0;
    height:46px;
    border:0;
    outline:0;
    font-size:15px;
}

.government-v28 .v28-header-search button[type="submit"]{
    min-height:40px;
    padding:0 20px;
    border:0;
    border-radius:10px;
    background:#104c8b;
    color:#fff;
    font-weight:800;
}

.government-v28 .v28-nav{
    box-shadow:0 8px 20px rgba(8,45,91,.08);
}

@media (max-width:1399.98px){
    .government-v28 .v28-header-action{min-width:170px;grid-template-columns:38px minmax(92px,1fr) 14px;}
    .government-v28 .v28-header-action__icon{width:36px;height:36px;}
    .government-v28 .v28-action-rail{max-width:57vw;}
}

@media (max-width:1199.98px){
    .government-v28 .v28-header__brand-row{
        flex-wrap:wrap;
        padding-bottom:8px;
    }
    .government-v28 .v28-brand{flex:1 1 520px;}
    .government-v28 .v28-header__actions{flex:1 1 100%;justify-content:space-between;}
    .government-v28 .v28-action-rail{max-width:calc(100vw - 190px);justify-content:flex-start;}
    .government-v28 .v28-header-action{min-width:178px;}
}

@media (max-width:767.98px){
    .government-v28 .v28-header__utility-inner{min-height:38px;}
    .government-v28 .v28-header__brand-row{min-height:auto;gap:8px;padding-top:8px;}
    .government-v28 .v28-brand__logo{width:58px;height:58px;flex-basis:58px;}
    .government-v28 .v28-brand__copy strong{font-size:clamp(19px,5.5vw,27px);}
    .government-v28 .v28-header__actions{align-items:center;gap:7px;}
    .government-v28 .v28-action-rail{order:3;flex:1 1 100%;max-width:100%;padding:5px 0 2px;}
    .government-v28 .v28-header-action{min-width:165px;min-height:52px;padding:6px 9px 6px 7px;border-radius:12px;}
    .government-v28 .v28-header-action__copy small{display:none;}
    .government-v28 .v28-header-action__copy strong{font-size:12px;}
    .government-v28 .v28-header-action__icon{width:36px;height:36px;border-radius:9px;}
    .government-v28 .v28-search-toggle{margin-left:auto;}
    .government-v28 .v28-header-search form{grid-template-columns:24px minmax(0,1fr) auto;}
    .government-v28 .v28-header-search button[data-humanized-search-close]{display:none;}
    .government-v28 .v28-header-search button[type="submit"]{padding:0 12px;}
}

@media (prefers-reduced-motion:reduce){
    .government-v28 .v28-header-action,
    .government-v28 .v28-header-action__arrow,
    .government-v28 .v28-search-toggle::before{transition:none!important;}
}
