/* GNSH Government Portal V12 — compact hero, dynamic schedule desk, cleaner quick links */

body.government-v12{
    --v12-hero-min-height:496px;
    --v12-slide-height:404px;
    --v12-radius:10px;
    --v12-inner-radius:8px;
}

body.government-v12 .v10-home-hero{
    padding:.8rem 0 1rem;
}

/* Balanced fixed-height hero block */
@media (min-width:1200px){
    body.government-v12 .v10-home-hero__grid{
        align-items:stretch;
        grid-auto-rows:minmax(var(--v12-hero-min-height), auto);
        gap:.9rem;
    }

    body.government-v12 .v10-home-hero__main{
        min-height:var(--v12-hero-min-height);
        height:100%;
        display:flex;
        flex-direction:column;
    }

    body.government-v12 .v10-editorial-panel{
        min-height:var(--v12-hero-min-height) !important;
        height:100% !important;
        display:grid;
        grid-template-rows:auto minmax(0,1fr) auto;
    }

    body.government-v12 .v10-slider{
        flex:1 1 auto;
        min-height:0;
    }

    body.government-v12 .v10-update-list,
    body.government-v12 .v10-person-list{
        min-height:0;
        max-height:none;
        overflow:auto;
    }
}

/* Smaller fixed hero image height */
body.government-v12 .v12-slider,
body.government-v12 .v12-slider .carousel-inner,
body.government-v12 .v12-slider .carousel-item,
body.government-v12 .v12-slide,
body.government-v12 .v12-slide img{
    height:var(--v12-slide-height);
    min-height:var(--v12-slide-height);
}

body.government-v12 .v12-slide img{
    object-fit:cover;
}

body.government-v12 .v12-slide__caption{
    left:6%;
    right:8%;
    bottom:8%;
    max-width:680px;
}

body.government-v12 .v12-slide__caption h1{
    max-width:680px;
    font-size:clamp(2rem,2.8vw,3.45rem);
    line-height:1.02;
}

body.government-v12 .v12-slide__caption p{
    max-width:620px;
}

/* Compact service desk */
body.government-v12 .v12-service-desk{
    margin-top:0;
    grid-template-columns:1.05fr .95fr 1.58fr 1.02fr;
    border-top:0;
    border-radius:0 0 var(--v12-radius) var(--v12-radius);
    overflow:hidden;
}

body.government-v12 .v12-service-desk__label{
    padding:.75rem .95rem;
}

body.government-v12 .v12-service-item{
    gap:.65rem;
    padding:.7rem .8rem;
    min-height:70px;
}

body.government-v12 .v12-service-item__icon{
    font-size:.95rem;
}

body.government-v12 .v12-service-item small{
    font-size:.62rem;
    letter-spacing:.02em;
}

body.government-v12 .v12-service-item strong{
    font-size:.8rem;
    line-height:1.28;
}

body.government-v12 .v12-service-item__copy{
    display:flex;
    flex-direction:column;
    gap:.18rem;
    min-width:0;
}

body.government-v12 .v12-service-item__line{
    display:flex;
    flex-direction:column;
    gap:.02rem;
    min-width:0;
}

body.government-v12 .v12-service-item__line strong{
    color:#123d73;
    font-size:.77rem;
    font-weight:860;
}

body.government-v12 .v12-service-item__line em{
    color:#6c7f97;
    font-size:.67rem;
    font-style:normal;
    line-height:1.32;
}

body.government-v12 .v12-service-item--schedule{
    align-items:flex-start;
    background:linear-gradient(180deg,#fff 0%, #f9fbfe 100%);
}

body.government-v12 .v12-service-item--schedule .v10-service-item__arrow{
    align-self:center;
}

/* Quick section gets more human spacing */
body.government-v12 .v12-quick-section{
    padding-top:.25rem;
}

body.government-v12 .government-quick-card{
    border-radius:14px;
    box-shadow:0 10px 24px rgba(12,50,102,.05);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.government-v12 .government-quick-card:hover,
body.government-v12 .government-quick-card:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 14px 30px rgba(12,50,102,.09);
}

body.government-v12 .government-quick-card__icon{
    border-radius:10px;
}

/* Responsive */
@media (max-width:1399.98px){
    body.government-v12{
        --v12-slide-height:380px;
        --v12-hero-min-height:470px;
    }

    body.government-v12 .v12-service-desk{
        grid-template-columns:1fr .95fr 1.45fr 1fr;
    }
}

@media (max-width:1199.98px){
    body.government-v12{
        --v12-slide-height:360px;
    }

    body.government-v12 .v12-service-desk{
        grid-template-columns:1fr 1fr 1.2fr;
        border-radius:14px;
        margin-top:.7rem;
    }

    body.government-v12 .v12-service-desk__label{
        grid-column:1 / -1;
        flex-direction:row;
        align-items:center;
        justify-content:space-between;
    }
}

@media (max-width:991.98px){
    body.government-v12{
        --v12-slide-height:340px;
    }

    body.government-v12 .v10-editorial-panel{
        min-height:0 !important;
        height:auto !important;
    }
}

@media (max-width:767.98px){
    body.government-v12{
        --v12-slide-height:300px;
    }

    body.government-v12 .v12-slide__caption{
        left:7%;
        right:7%;
        bottom:10%;
    }

    body.government-v12 .v12-slide__caption h1{
        font-size:clamp(1.7rem,8.5vw,2.45rem);
    }

    body.government-v12 .v12-service-desk{
        grid-template-columns:1fr;
    }

    body.government-v12 .v12-service-item + .v12-service-item,
    body.government-v12 .v12-service-desk__label + .v12-service-item{
        border-left:0;
        border-top:1px solid #e1e8f1;
    }

    body.government-v12 .v12-service-item{
        min-height:auto;
        padding:.82rem .88rem;
    }
}

@media (max-width:575.98px){
    body.government-v12{
        --v12-slide-height:272px;
    }

    body.government-v12 .v10-home-hero{
        padding-top:.6rem;
    }

    body.government-v12 .v10-panel-heading h2{
        font-size:1.08rem;
    }
}
