:root{
    --v6-surface:#ffffff;
    --v6-surface-alt:#f4f8fd;
    --v6-line:#d7e2f0;
    --v6-text:#123562;
    --v6-muted:#5b7192;
    --v6-shadow:0 18px 40px rgba(14,53,110,.08);
}

body.government-v6{
    background:linear-gradient(180deg,#f3f7fc 0%,#f8fbff 100%);
}

/* Header refinements */
.v6-header{
    box-shadow:0 10px 24px rgba(15,40,90,.05);
}
.v6-header__brand-row{
    gap:1.25rem;
}
.v6-header__actions{
    gap:.75rem;
    align-items:center;
}
.v6-header-action{
    min-width:220px;
    border:1px solid var(--v6-line);
    border-radius:18px;
    background:linear-gradient(180deg,#fff 0%,#f7fafd 100%);
    box-shadow:0 8px 20px rgba(17,67,135,.06);
}
.v6-header-action--secondary{
    min-width:190px;
}
.v6-flag-badge{
    display:flex;
    align-items:center;
    gap:.65rem;
    padding:.7rem .9rem;
    border-radius:18px;
    text-decoration:none;
    color:var(--v6-text);
    border:1px solid var(--v6-line);
    background:#fff;
    box-shadow:0 8px 20px rgba(17,67,135,.05);
}
.v6-flag-badge img{
    width:34px;
    height:34px;
    object-fit:contain;
}
.v6-flag-badge span{
    font-size:.9rem;
    font-weight:700;
}
.v6-submenu{
    border:1px solid #d8e4f3;
    border-top:3px solid var(--gh-primary);
    border-radius:0 0 22px 22px;
    box-shadow:var(--v6-shadow);
}
.v6-submenu .humanized-submenu__heading{
    padding-right:1.5rem;
    border-right:1px solid #e3ebf6;
}
.v6-submenu .humanized-submenu__heading p{
    margin:.65rem 0 0;
    font-size:.94rem;
    line-height:1.55;
    color:var(--v6-muted);
}
.v6-submenu .humanized-submenu__grid a{
    border-radius:16px;
    border:1px solid transparent;
    transition:.2s ease;
}
.v6-submenu .humanized-submenu__grid a:hover,
.v6-submenu .humanized-submenu__grid a:focus-visible{
    border-color:#d6e6fb;
    background:#f6fbff;
    transform:translateY(-1px);
}

/* Home hero with updates + slider + personnel */
.v6-home-hero{
    padding-top:1.35rem;
}
.v6-home-hero__grid{
    display:grid;
    grid-template-columns:minmax(280px,1.02fr) minmax(0,1.9fr) minmax(300px,.95fr);
    gap:1.2rem;
    align-items:start;
}
.v6-side-panel{
    background:#fff;
    border:1px solid #dbe6f3;
    border-radius:28px;
    box-shadow:var(--v6-shadow);
    overflow:hidden;
}
.v6-side-panel__head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:1rem;
    padding:1.35rem 1.4rem 1rem;
    border-bottom:1px solid #e4ecf6;
    background:linear-gradient(180deg,#fff 0%,#f8fbfe 100%);
}
.v6-side-panel__head small{
    display:block;
    margin-bottom:.3rem;
    font-size:.74rem;
    letter-spacing:.12em;
    font-weight:800;
    text-transform:uppercase;
    color:#d43a32;
}
.v6-side-panel__head h2{
    margin:0;
    font-size:1.35rem;
    line-height:1.15;
    color:#123d7a;
}
.v6-side-panel__head a{
    white-space:nowrap;
    font-weight:800;
    text-decoration:none;
    color:#1554b7;
}
.v6-side-panel__empty{
    padding:1.5rem;
    color:var(--v6-muted);
}
.v6-update-scroller{
    max-height:540px;
    overflow:auto;
    padding:.9rem;
    scroll-behavior:smooth;
}
.v6-update-scroller__track{
    display:grid;
    gap:.8rem;
}
.v6-update-card{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:.85rem;
    padding:.85rem;
    text-decoration:none;
    color:inherit;
    border:1px solid #e0e9f5;
    border-radius:18px;
    background:#fff;
    transition:.2s ease;
}
.v6-update-card:hover,
.v6-update-card:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 10px 26px rgba(16,65,130,.08);
    border-color:#d3e2f6;
}
.v6-update-card img,
.v6-update-card__placeholder{
    width:72px;
    height:72px;
    border-radius:16px;
    object-fit:cover;
    background:linear-gradient(135deg,#1554b7,#0f766e);
}
.v6-update-card__placeholder{
    display:grid;
    place-items:center;
    color:#fff;
    font-weight:800;
    font-size:1.1rem;
}
.v6-update-card__copy{
    min-width:0;
}
.v6-update-card__meta{
    display:block;
    margin-bottom:.35rem;
    font-size:.75rem;
    text-transform:uppercase;
    letter-spacing:.06em;
    font-weight:800;
    color:#d43a32;
}
.v6-update-card strong{
    display:block;
    font-size:.98rem;
    line-height:1.4;
    color:#153e78;
}
.v6-update-card p{
    margin:.35rem 0 0;
    font-size:.88rem;
    line-height:1.55;
    color:#587091;
}
.v6-home-hero__media .professional-slide{
    min-height:460px;
}
.v6-home-hero__media .professional-slider{
    border-radius:30px;
    overflow:hidden;
    box-shadow:var(--v6-shadow);
}
.v6-home-hero .professional-service-strip{
    margin-top:1rem;
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.v6-side-panel--leadership{
    min-height:100%;
}
.v6-side-panel--leadership .professional-leadership__head,
.v6-side-panel--leadership .professional-leadership__list,
.v6-side-panel--leadership .professional-leadership__help{
    padding-left:1.25rem;
    padding-right:1.25rem;
}
.v6-side-panel--leadership .professional-person{
    border-radius:18px;
    background:#fbfdff;
}

/* Quick cards */
.v6-quick-section{
    padding-top:1rem;
}
.v6-quick-section__head{
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:1rem;
    margin-bottom:1rem;
}
.v6-quick-section__head small{
    display:block;
    margin-bottom:.35rem;
    font-size:.74rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:#d43a32;
}
.v6-quick-section__head h2{
    margin:0;
    font-size:1.7rem;
    color:#123d7a;
}
.v6-quick-section__head a{
    color:#1554b7;
    font-weight:800;
    text-decoration:none;
}
.v6-government-quick-grid{
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:.9rem;
}
.v6-government-quick-grid .government-quick-card{
    min-height:110px;
    border-radius:20px;
    background:#fff;
    border:1px solid #d9e5f2;
    box-shadow:0 8px 24px rgba(12,55,115,.05);
}
.v6-government-quick-grid .government-quick-card__copy strong{
    font-size:1rem;
}
.v6-government-quick-grid .government-quick-card__copy small{
    line-height:1.45;
}

/* Remove old large public-content gap if markup survives cache for a request */
.gh-updates-section.government-updates{
    display:none !important;
}

/* Notice popup */
.gh-notice-popup .modal-content{
    border-radius:28px;
    overflow:hidden;
}
.gh-notice-popup .modal-header{
    padding:1.2rem 1.4rem;
    background:linear-gradient(135deg,#0d3c79,#12649e 60%,#0f766e);
    color:#fff;
}
.gh-notice-popup .gh-popup-kicker{
    display:block;
    margin-bottom:.35rem;
    font-size:.75rem;
    letter-spacing:.12em;
    font-weight:800;
    text-transform:uppercase;
    color:#bfd7ff;
}
.gh-notice-popup .modal-title{
    font-size:1.5rem;
    line-height:1.25;
}
.gh-notice-popup .btn-close{
    filter:invert(1);
}
.gh-popup-body{
    padding:1.25rem;
}
.gh-popup-media{
    margin-bottom:1rem;
    border-radius:20px;
    overflow:hidden;
    border:1px solid #dbe6f1;
}
.gh-popup-media img{
    display:block;
    width:100%;
    height:auto;
}
.gh-popup-content{
    color:#243f63;
    line-height:1.7;
}
.gh-popup-footer{
    padding:1rem 1.25rem 1.25rem;
}

/* Document viewer full-image comfort */
[data-image-document] .gh-image-document__viewport,
.gh-image-document__viewport{
    min-height:520px;
}
.gh-image-document__sheet img,
[data-image-document-source]{
    max-width:100%;
    height:auto;
    object-fit:contain;
}

/* Responsive */
@media (max-width: 1399.98px){
    .v6-home-hero__grid{
        grid-template-columns:minmax(260px,.95fr) minmax(0,1.7fr) minmax(280px,.9fr);
    }
    .v6-government-quick-grid{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}
@media (max-width: 1199.98px){
    .v6-home-hero__grid{
        grid-template-columns:1fr;
    }
    .v6-home-hero__media{ order:1; }
    .v6-side-panel--updates{ order:2; }
    .v6-side-panel--leadership{ order:3; }
    .v6-update-scroller{ max-height:430px; }
}
@media (max-width: 991.98px){
    .v6-header__actions{
        margin-left:auto;
    }
    .v6-quick-section__head{
        align-items:flex-start;
        flex-direction:column;
    }
    .v6-government-quick-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media (max-width: 767.98px){
    .v6-home-hero .professional-service-strip{
        grid-template-columns:1fr;
    }
    .v6-side-panel__head,
    .v6-quick-section__head{
        padding-right:1rem;
        padding-left:1rem;
    }
    .v6-update-card{
        grid-template-columns:60px minmax(0,1fr);
    }
    .v6-update-card img,
    .v6-update-card__placeholder{
        width:60px;
        height:60px;
    }
    .v6-government-quick-grid{
        grid-template-columns:1fr;
    }
    .v6-header-action{
        min-width:auto;
    }
}
