
html:has(body.bh-gov-modern) {
    min-height:100%;
    background:#073474;
}

body.bh-gov-modern {
    margin:0!important;
    min-height:100vh;
    background:linear-gradient(
        120deg,#082c65,#07499b
    )!important;
    color:#ffffff!important;
    font-family:Arial,Helvetica,sans-serif!important;
}

.bh-gov-shell {
    max-width:1200px;
    margin:35px auto;
    padding:0 28px 55px;
    box-sizing:border-box;
}

.bh-gov-hero {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    min-height:300px;
    padding:42px;
    box-sizing:border-box;
    border-radius:20px;
    border:1px solid #65b5e5;
    background:linear-gradient(
        115deg,#0861b4,#08a5e7
    );
    box-shadow:0 12px 35px #001c5020;
}

.bh-gov-eyebrow {
    color:#ffe18a!important;
    font-size:12px;
    letter-spacing:1.5px;
    font-weight:900;
    margin-bottom:20px;
}

.bh-gov-hero h1 {
    font-size:clamp(36px,5vw,56px)!important;
    line-height:1.06!important;
    font-weight:900!important;
    color:#ffffff!important;
    margin:0 0 18px!important;
}

.bh-gov-hero p {
    color:#ffffff!important;
    font-size:15px;
    line-height:1.7;
    max-width:590px;
}

.bh-gov-actions {
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:22px;
}

.bh-gov-actions a {
    display:inline-block;
    background:#ffe18a!important;
    color:#193858!important;
    border:1px solid #ffe18a;
    border-radius:10px;
    padding:15px 23px;
    font-weight:700;
    text-decoration:none!important;
}

.bh-gov-actions a:last-child {
    background:#07539a!important;
    color:#ffffff!important;
    border-color:#8fc7ed;
}

.bh-gov-illustration {
    flex:0 0 210px;
    margin-right:15px;
}

.bh-gov-illustration svg {
    display:block;
    width:100%;
    height:auto;
}

.bh-gov-section-title {
    color:#ffffff!important;
    font-size:25px!important;
    font-weight:800!important;
    margin:28px 0 20px!important;
}

.bh-gov-shortcuts {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
    margin-bottom:28px;
}

.bh-gov-shortcuts a {
    display:flex;
    flex-direction:column;
    gap:12px;
    min-height:120px;
    padding:24px;
    box-sizing:border-box;
    background:linear-gradient(
        135deg,#14559a,#176bb2
    );
    border:1px solid #5596cf;
    border-radius:16px;
    color:#ffffff!important;
    text-decoration:none!important;
    transition:transform .2s,background .2s;
}

.bh-gov-shortcuts a:hover {
    background:#227ac1;
    transform:translateY(-3px);
}

.bh-gov-shortcuts strong {
    color:#ffe18a;
    font-size:19px;
}

.bh-gov-shortcuts span {
    color:#e0efff;
    font-size:14px;
    line-height:1.5;
}

.bh-gov-original {
    color:#ffffff!important;
}

.bh-gov-original main {
    max-width:none!important;
    margin:0!important;
    padding:0!important;
}

.bh-gov-original header,
.bh-gov-original nav {
    background:#104d91!important;
    color:#ffffff!important;
    border:1px solid #4389ca!important;
    border-radius:12px!important;
    margin-bottom:20px!important;
    padding:16px!important;
}

.bh-gov-original nav {
    display:flex!important;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
}

.bh-gov-original nav a {
    color:#ffffff!important;
    font-size:13px;
    font-weight:700;
    text-decoration:none;
    padding:7px 10px;
}

.bh-gov-original :is(
    .hero,.card,.panel,.job,.box,.section,
    .department,.department-card,.summary,
    .dashboard-card,.application
) {
    color:#ffffff!important;
    background:linear-gradient(
        135deg,#14559a,#176bb2
    )!important;
    border:1px solid #5596cf!important;
    border-radius:16px!important;
    box-shadow:none!important;
}

.bh-gov-original :is(h1,h2,h3,h4) {
    color:#ffffff!important;
    font-family:Arial,Helvetica,sans-serif!important;
    font-weight:800!important;
}

.bh-gov-original :is(
    p,label,li,small
) {
    color:#e0efff;
}

.bh-gov-original :is(
    .grid,.cards,.departments
) {
    gap:16px!important;
}

.bh-gov-original a:not(.button):not(.btn) {
    color:#ffe18a;
}

.bh-gov-original :is(
    input:not([type=hidden]):not([type=radio]):not([type=checkbox]),
    select,textarea
) {
    color:#ffffff!important;
    background:#093c78!important;
    border:1px solid #639ed5!important;
    padding:13px!important;
    border-radius:9px!important;
    box-sizing:border-box;
    max-width:100%;
}

.bh-gov-original :is(
    button,input[type=submit],.button,.btn
) {
    background:#ffe18a!important;
    color:#193858!important;
    border:1px solid #ffe18a!important;
    padding:12px 20px!important;
    border-radius:9px!important;
    font-weight:800!important;
}

.bh-gov-original :is(
    button:disabled,input:disabled
) {
    opacity:.5;
    cursor:not-allowed;
}

.bh-gov-original table {
    width:100%;
    border-collapse:collapse;
    background:#104d91!important;
    color:#ffffff!important;
}

.bh-gov-original :is(th,td) {
    padding:14px!important;
    border-bottom:1px solid #4389ca!important;
}

.bh-gov-original th {
    background:#093c78!important;
    color:#ffe18a!important;
}

.bh-gov-original footer {
    color:#c1daf4!important;
    background:transparent!important;
    border-top:1px solid #4389ca;
    margin-top:35px;
    padding:24px;
}

@media(max-width:800px) {
    .bh-gov-hero {
        padding:30px;
    }

    .bh-gov-illustration {
        flex-basis:130px;
        margin-right:0;
    }

    .bh-gov-shortcuts {
        grid-template-columns:1fr;
    }

    .bh-gov-original :is(.grid,.cards) {
        grid-template-columns:1fr!important;
    }
}

@media(max-width:550px) {
    .bh-gov-shell {
        margin:20px auto;
        padding:0 14px 30px;
    }

    .bh-gov-hero {
        padding:25px;
    }

    .bh-gov-illustration {
        display:none;
    }
}
