
.sg-newhome{--nh:#174a7e;--nh2:#0f6f61;background:#f6f8fb;color:#10233d}.sg-nh-hero{position:relative;min-height:460px;background:var(--sg-nh-hero) center/cover no-repeat;display:flex;align-items:center}.sg-nh-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,24,45,.91),rgba(7,24,45,.55) 58%,rgba(7,24,45,.16))}.sg-nh-hero-inner{position:relative;display:grid;grid-template-columns:1.5fr .7fr;gap:42px;align-items:center}.sg-nh-copy{color:#fff;max-width:760px;padding:70px 0}.sg-nh-copy>span,.sg-nh-heading span,.sg-nh-mol>span{font-size:12px;font-weight:900;letter-spacing:.13em}.sg-nh-copy h1{font-size:clamp(38px,5vw,64px);line-height:1.04;margin:9px 0 15px}.sg-nh-copy p{font-size:18px;max-width:620px}.sg-nh-search{display:flex;max-width:610px;background:#fff;padding:6px;border-radius:12px;margin-top:26px}.sg-nh-search input{flex:1;border:0;padding:13px 15px;min-width:0}.sg-nh-search button{border:0;background:var(--nh);color:#fff;border-radius:8px;padding:0 25px;font-weight:800}.sg-nh-identity{background:rgba(255,255,255,.94);padding:28px;border-radius:18px;display:grid;gap:8px;box-shadow:0 20px 55px rgba(0,0,0,.22)}.sg-nh-identity small{font-weight:900;color:var(--nh)}.sg-nh-identity strong{font-size:22px}.sg-nh-identity span{color:#64748b}.sg-nh-identity a{margin-top:10px;font-weight:800;text-decoration:none}.sg-nh-services{padding-top:62px;padding-bottom:54px}.sg-nh-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:22px}.sg-nh-heading span{color:var(--nh)}.sg-nh-heading h2{font-size:30px;margin:5px 0 0}.sg-nh-heading>a{font-weight:800;text-decoration:none}.sg-nh-service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.sg-nh-service-grid>a{display:grid;grid-template-columns:48px 1fr auto;gap:14px;align-items:center;background:#fff;border:1px solid #e1e8f0;border-radius:14px;padding:20px;text-decoration:none;color:inherit;box-shadow:0 8px 24px rgba(15,35,65,.05);transition:.2s}.sg-nh-service-grid>a:hover{transform:translateY(-3px);border-color:var(--nh)}.sg-nh-service-grid i{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;background:#edf4fb;color:var(--nh)}.sg-nh-service-grid svg{width:23px;height:23px;fill:currentColor}.sg-nh-service-grid strong,.sg-nh-service-grid small{display:block}.sg-nh-service-grid small{margin-top:3px;color:#6b7b8f}.sg-nh-service-grid b{color:var(--nh);font-size:20px}.sg-nh-main{display:grid;grid-template-columns:.9fr 1.1fr;gap:22px;padding-bottom:60px}.sg-nh-mol{min-height:360px;border-radius:20px;padding:34px;color:#fff;text-decoration:none;background-image:linear-gradient(0deg,rgba(4,22,42,.88),rgba(4,22,42,.22)),var(--sg-nh-mol);background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end}.sg-nh-mol h2{font-size:34px;margin:6px 0}.sg-nh-news{background:#fff;border:1px solid #e1e8f0;border-radius:20px;padding:30px}.sg-nh-news article{display:grid;grid-template-columns:90px 1fr;gap:12px;padding:16px 0;border-top:1px solid #edf1f5}.sg-nh-news time{font-weight:800;color:var(--nh)}.sg-nh-news h3{font-size:16px;margin:0}.sg-nh-news h3 a{color:inherit;text-decoration:none}.sg-nh-actions{background:var(--nh);padding:20px 0}.sg-nh-actions .sg-container{display:grid;grid-template-columns:repeat(4,1fr)}.sg-nh-actions a{color:#fff;text-align:center;text-decoration:none;font-weight:800;padding:10px;border-right:1px solid rgba(255,255,255,.18)}
/* V8 Civic Dashboard */.sg-newhome--dashboard{--nh:#0d4f86}.sg-newhome--dashboard .sg-nh-hero{min-height:390px}.sg-newhome--dashboard .sg-nh-service-grid{grid-template-columns:repeat(2,1fr)}.sg-newhome--dashboard .sg-nh-service-grid>a{border-radius:8px;border-left:5px solid var(--nh)}.sg-newhome--dashboard .sg-nh-main{grid-template-columns:1fr 1.25fr}
/* V9 Community Story */.sg-newhome--story{--nh:#7b3f2c;background:#fffaf5}.sg-newhome--story .sg-nh-hero{min-height:600px}.sg-newhome--story .sg-nh-overlay{background:linear-gradient(0deg,rgba(43,22,14,.83),rgba(43,22,14,.12) 70%)}.sg-newhome--story .sg-nh-hero-inner{display:flex;align-items:flex-end}.sg-newhome--story .sg-nh-copy{padding-top:230px;max-width:850px}.sg-newhome--story .sg-nh-identity{display:none}.sg-newhome--story .sg-nh-service-grid{grid-template-columns:repeat(3,1fr)}.sg-newhome--story .sg-nh-service-grid>a{display:block;border-radius:24px;padding:26px}.sg-newhome--story .sg-nh-service-grid i{margin-bottom:15px}.sg-newhome--story .sg-nh-service-grid b{display:none}.sg-newhome--story .sg-nh-main{grid-template-columns:1.2fr .8fr}
/* V10 Minimal Premium */.sg-newhome--minimal{--nh:#17202a;background:#fff}.sg-newhome--minimal .sg-nh-hero{min-height:410px;background-position:center right}.sg-newhome--minimal .sg-nh-overlay{background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.96) 48%,rgba(255,255,255,.2) 78%)}.sg-newhome--minimal .sg-nh-copy{color:#111827;max-width:650px}.sg-newhome--minimal .sg-nh-copy h1{font-weight:500;letter-spacing:-.03em}.sg-newhome--minimal .sg-nh-copy>span{color:#667085}.sg-newhome--minimal .sg-nh-identity{display:none}.sg-newhome--minimal .sg-nh-search{border:1px solid #d9dee5;box-shadow:none}.sg-newhome--minimal .sg-nh-service-grid{grid-template-columns:repeat(6,1fr)}.sg-newhome--minimal .sg-nh-service-grid>a{display:block;text-align:center;border:0;border-top:2px solid #111827;border-radius:0;box-shadow:none;padding:22px 10px}.sg-newhome--minimal .sg-nh-service-grid i{margin:0 auto 12px;background:#f4f5f6}.sg-newhome--minimal .sg-nh-service-grid small,.sg-newhome--minimal .sg-nh-service-grid b{display:none}.sg-newhome--minimal .sg-nh-main{grid-template-columns:1fr 1fr}.sg-newhome--minimal .sg-nh-news,.sg-newhome--minimal .sg-nh-mol{border-radius:4px}
/* V11 Public Services Hub */.sg-newhome--hub{--nh:#005a70;--nh2:#00a3a3;background:#eef7f8}.sg-newhome--hub .sg-nh-hero{min-height:360px}.sg-newhome--hub .sg-nh-overlay{background:linear-gradient(110deg,rgba(0,67,84,.95),rgba(0,103,112,.78))}.sg-newhome--hub .sg-nh-identity{border-radius:8px}.sg-newhome--hub .sg-nh-services{margin-top:-42px;position:relative;z-index:2}.sg-newhome--hub .sg-nh-service-grid{grid-template-columns:repeat(3,1fr);background:#fff;padding:18px;border-radius:20px;box-shadow:0 18px 50px rgba(0,65,75,.15)}.sg-newhome--hub .sg-nh-service-grid>a{box-shadow:none;border:0;background:#f4fafb}.sg-newhome--hub .sg-nh-main{grid-template-columns:1fr 1fr}
@media(max-width:1000px){.sg-nh-hero-inner,.sg-nh-main{grid-template-columns:1fr}.sg-nh-identity{display:none}.sg-nh-service-grid,.sg-newhome--minimal .sg-nh-service-grid{grid-template-columns:repeat(2,1fr)}.sg-newhome--story .sg-nh-main{grid-template-columns:1fr}.sg-nh-actions .sg-container{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.sg-nh-copy{padding:55px 0}.sg-nh-copy h1{font-size:38px}.sg-nh-search{display:block}.sg-nh-search button{width:100%;padding:12px}.sg-nh-service-grid,.sg-newhome--dashboard .sg-nh-service-grid,.sg-newhome--story .sg-nh-service-grid,.sg-newhome--minimal .sg-nh-service-grid,.sg-newhome--hub .sg-nh-service-grid{grid-template-columns:1fr}.sg-newhome--story .sg-nh-copy{padding-top:180px}.sg-nh-news article{grid-template-columns:1fr}.sg-nh-actions .sg-container{grid-template-columns:1fr 1fr}}


/* V8-V11 standard SpaceGov sidebar: quick links + configured banners */
.sg-nh-body{
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:24px;
    align-items:start;
    padding-bottom:60px;
}
.sg-nh-body .sg-nh-main{
    padding-bottom:0;
}
.sg-nh-body .sg-showcase-sidebar{
    min-width:0;
}
.sg-nh-body .sg-sidebar-banners{
    margin-top:18px;
}
.sg-nh-body .sg-banners--sidebar{
    display:grid;
    gap:16px;
}
.sg-nh-body .sg-banners--sidebar img{
    width:100%;
    height:auto;
    display:block;
}
@media(max-width:1000px){
    .sg-nh-body{grid-template-columns:1fr}
}


/* SpaceGov 1.1.20 — V8–V11 polish */
.sg-newhome{
    --nh-border:#dce5ee;
    --nh-soft:#eef4f9;
}
.sg-newhome .sg-container{
    width:min(1180px,calc(100% - 36px));
}
.sg-newhome .sg-nh-heading h2{
    letter-spacing:-.025em;
}
.sg-newhome .sg-nh-heading>a,
.sg-newhome .sg-nh-identity a,
.sg-newhome .sg-nh-mol b{
    transition:opacity .18s ease,transform .18s ease;
}
.sg-newhome .sg-nh-heading>a:hover,
.sg-newhome .sg-nh-identity a:hover,
.sg-newhome .sg-nh-mol:hover b{
    opacity:.78;
}
.sg-newhome .sg-nh-search input:focus{
    outline:2px solid color-mix(in srgb,var(--nh) 35%,transparent);
    outline-offset:1px;
    border-radius:7px;
}
.sg-newhome .sg-nh-search button{
    cursor:pointer;
}
.sg-newhome .sg-nh-service-grid>a:focus-visible,
.sg-newhome .sg-nh-actions a:focus-visible,
.sg-newhome .sg-nh-mol:focus-visible{
    outline:3px solid #ffcb3d;
    outline-offset:3px;
}

/* Colored service icon accents; colors remain restrained and institutional */
.sg-newhome .sg-nh-service-grid>a:nth-child(1) i{background:#e8f1ff;color:#1769c2}
.sg-newhome .sg-nh-service-grid>a:nth-child(2) i{background:#e9f7f2;color:#15815f}
.sg-newhome .sg-nh-service-grid>a:nth-child(3) i{background:#f1edff;color:#7156c8}
.sg-newhome .sg-nh-service-grid>a:nth-child(4) i{background:#fff0ed;color:#c75a45}
.sg-newhome .sg-nh-service-grid>a:nth-child(5) i{background:#fff5df;color:#ad7311}
.sg-newhome .sg-nh-service-grid>a:nth-child(6) i{background:#eaf7fb;color:#087b98}
.sg-newhome .sg-nh-service-grid>a:hover i{
    transform:scale(1.05);
}
.sg-newhome .sg-nh-service-grid i{
    transition:transform .18s ease;
}
.sg-newhome .sg-nh-news article h3{
    line-height:1.38;
}
.sg-newhome .sg-nh-news article h3 a:hover{
    color:var(--nh);
}
.sg-newhome .sg-nh-actions a:last-child{
    border-right:0;
}

/* Sidebar refinement shared by V8–V11 */
.sg-nh-body .sg-showcase-sidebar{
    position:sticky;
    top:22px;
}
.sg-nh-body .sg-sidebar-card{
    box-shadow:0 10px 30px rgba(17,45,78,.055);
}
.sg-nh-body .sg-sidebar-links a{
    transition:background .16s ease,transform .16s ease;
}
.sg-nh-body .sg-sidebar-links a:hover{
    transform:translateX(2px);
}
.sg-nh-body .sg-banner-card img{
    transition:transform .22s ease;
}
.sg-nh-body .sg-banner-card:hover img{
    transform:scale(1.012);
}

/* V8 — Civic Dashboard: compact, data-oriented, administrative */
.sg-newhome--dashboard{
    --nh:#0b5b9a;
    --nh-border:#d7e4ef;
    background:#f3f7fb;
}
.sg-newhome--dashboard .sg-nh-hero{
    min-height:410px;
    border-bottom:1px solid #d7e4ef;
}
.sg-newhome--dashboard .sg-nh-overlay{
    background:linear-gradient(90deg,rgba(6,34,61,.94),rgba(13,79,134,.76) 66%,rgba(13,79,134,.28));
}
.sg-newhome--dashboard .sg-nh-copy h1{
    max-width:760px;
}
.sg-newhome--dashboard .sg-nh-identity{
    border-radius:10px;
    border-top:5px solid var(--nh);
}
.sg-newhome--dashboard .sg-nh-services{
    padding-top:44px;
    padding-bottom:42px;
}
.sg-newhome--dashboard .sg-nh-service-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
}
.sg-newhome--dashboard .sg-nh-service-grid>a{
    border-radius:10px;
    border-left:4px solid var(--nh);
    box-shadow:0 6px 20px rgba(25,65,105,.04);
}
.sg-newhome--dashboard .sg-nh-main{
    grid-template-columns:1fr;
}
.sg-newhome--dashboard .sg-nh-mol{
    min-height:260px;
    border-radius:12px;
}
.sg-newhome--dashboard .sg-nh-news{
    border-radius:12px;
    padding:26px;
}
.sg-newhome--dashboard .sg-nh-news article{
    grid-template-columns:100px 1fr;
}
.sg-newhome--dashboard .sg-nh-actions{
    background:#073d69;
}

/* V9 — Community Story: warm editorial composition */
.sg-newhome--story{
    --nh:#9a4d34;
    --nh-soft:#fff3eb;
    background:#fffaf6;
}
.sg-newhome--story .sg-nh-hero{
    min-height:620px;
    border-radius:0 0 34px 34px;
    overflow:hidden;
}
.sg-newhome--story .sg-nh-overlay{
    background:linear-gradient(0deg,rgba(45,20,12,.9),rgba(45,20,12,.08) 72%);
}
.sg-newhome--story .sg-nh-copy{
    padding-top:250px;
    padding-bottom:66px;
}
.sg-newhome--story .sg-nh-copy h1{
    max-width:830px;
    text-shadow:0 3px 24px rgba(0,0,0,.18);
}
.sg-newhome--story .sg-nh-services{
    padding-top:52px;
}
.sg-newhome--story .sg-nh-service-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
}
.sg-newhome--story .sg-nh-service-grid>a{
    border-radius:20px;
    border-color:#f0ded4;
    box-shadow:0 12px 30px rgba(104,54,33,.06);
}
.sg-newhome--story .sg-nh-main{
    grid-template-columns:1fr;
}
.sg-newhome--story .sg-nh-mol{
    min-height:390px;
    border-radius:26px;
}
.sg-newhome--story .sg-nh-news{
    border-radius:26px;
    border-color:#f0ded4;
}
.sg-newhome--story .sg-nh-news article{
    grid-template-columns:110px 1fr;
}
.sg-newhome--story .sg-nh-actions{
    background:#6d3828;
}

/* V10 — Minimal Premium: restrained typography and thin lines */
.sg-newhome--minimal{
    --nh:#17212b;
    --nh-border:#d9dde2;
    --nh-soft:#f5f6f7;
    background:#fff;
}
.sg-newhome--minimal .sg-nh-hero{
    min-height:430px;
    border-bottom:1px solid #e4e7ea;
}
.sg-newhome--minimal .sg-nh-overlay{
    background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 49%,rgba(255,255,255,.3) 82%);
}
.sg-newhome--minimal .sg-nh-copy{
    color:#17212b;
    max-width:650px;
}
.sg-newhome--minimal .sg-nh-copy h1{
    font-weight:520;
    letter-spacing:-.045em;
}
.sg-newhome--minimal .sg-nh-copy p{
    color:#53606e;
}
.sg-newhome--minimal .sg-nh-copy>span{
    color:#7a8490;
}
.sg-newhome--minimal .sg-nh-services{
    padding-top:54px;
}
.sg-newhome--minimal .sg-nh-service-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    border-top:1px solid #dfe3e7;
    border-bottom:1px solid #dfe3e7;
    gap:0;
}
.sg-newhome--minimal .sg-nh-service-grid>a{
    display:grid;
    grid-template-columns:42px 1fr;
    text-align:left;
    border:0;
    border-right:1px solid #e3e6e9;
    border-bottom:1px solid #e3e6e9;
    border-radius:0;
    box-shadow:none;
    padding:22px;
}
.sg-newhome--minimal .sg-nh-service-grid>a:nth-child(3n){
    border-right:0;
}
.sg-newhome--minimal .sg-nh-service-grid>a:nth-last-child(-n+3){
    border-bottom:0;
}
.sg-newhome--minimal .sg-nh-service-grid i{
    margin:0;
    border-radius:50%;
}
.sg-newhome--minimal .sg-nh-service-grid small{
    display:block;
}
.sg-newhome--minimal .sg-nh-service-grid b{
    display:none;
}
.sg-newhome--minimal .sg-nh-main{
    grid-template-columns:1fr 1fr;
}
.sg-newhome--minimal .sg-nh-news,
.sg-newhome--minimal .sg-nh-mol{
    border-radius:3px;
    box-shadow:none;
}
.sg-newhome--minimal .sg-nh-mol{
    min-height:330px;
}
.sg-newhome--minimal .sg-sidebar-card{
    border-radius:4px;
    box-shadow:none;
}
.sg-newhome--minimal .sg-nh-actions{
    background:#17212b;
}

/* V11 — Public Services Hub: digital service portal */
.sg-newhome--hub{
    --nh:#006d7b;
    --nh2:#00a9a5;
    --nh-soft:#ecf8f8;
    background:#eef7f8;
}
.sg-newhome--hub .sg-nh-hero{
    min-height:390px;
}
.sg-newhome--hub .sg-nh-overlay{
    background:linear-gradient(110deg,rgba(0,73,87,.96),rgba(0,135,141,.77));
}
.sg-newhome--hub .sg-nh-copy h1{
    max-width:760px;
}
.sg-newhome--hub .sg-nh-services{
    margin-top:-48px;
    padding-top:0;
    position:relative;
    z-index:3;
}
.sg-newhome--hub .sg-nh-heading:first-child{
    padding-top:26px;
}
.sg-newhome--hub .sg-nh-service-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    padding:16px;
    background:#fff;
    border:1px solid #d8ecec;
    border-radius:20px;
    box-shadow:0 18px 48px rgba(0,87,96,.12);
}
.sg-newhome--hub .sg-nh-service-grid>a{
    border:1px solid #e0eeee;
    background:#f5fbfb;
    box-shadow:none;
}
.sg-newhome--hub .sg-nh-service-grid>a:hover{
    background:#fff;
    border-color:#9ed6d7;
}
.sg-newhome--hub .sg-nh-main{
    grid-template-columns:1fr;
}
.sg-newhome--hub .sg-nh-news{
    order:-1;
    border-color:#d6e9e9;
}
.sg-newhome--hub .sg-nh-mol{
    min-height:280px;
}
.sg-newhome--hub .sg-sidebar-card{
    border-color:#d4e8e9;
}
.sg-newhome--hub .sg-nh-actions{
    background:#005463;
}

/* Responsive polish */
@media(max-width:1100px){
    .sg-newhome .sg-container{
        width:min(100% - 28px,1180px);
    }
    .sg-nh-body{
        grid-template-columns:minmax(0,1fr) 280px;
        gap:20px;
    }
    .sg-newhome--minimal .sg-nh-main{
        grid-template-columns:1fr;
    }
}
@media(max-width:1000px){
    .sg-nh-body{
        grid-template-columns:1fr;
    }
    .sg-nh-body .sg-showcase-sidebar{
        position:static;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .sg-nh-body .sg-sidebar-banners{
        grid-column:1/-1;
    }
    .sg-newhome--story .sg-nh-service-grid,
    .sg-newhome--hub .sg-nh-service-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}
@media(max-width:700px){
    .sg-newhome .sg-container{
        width:min(100% - 22px,1180px);
    }
    .sg-newhome .sg-nh-heading{
        align-items:flex-start;
        flex-direction:column;
    }
    .sg-newhome .sg-nh-heading h2{
        font-size:25px;
    }
    .sg-newhome--minimal .sg-nh-service-grid,
    .sg-newhome--story .sg-nh-service-grid,
    .sg-newhome--hub .sg-nh-service-grid{
        grid-template-columns:1fr;
    }
    .sg-newhome--minimal .sg-nh-service-grid>a{
        border-right:0;
        border-bottom:1px solid #e3e6e9;
    }
    .sg-newhome--minimal .sg-nh-service-grid>a:last-child{
        border-bottom:0;
    }
    .sg-nh-body .sg-showcase-sidebar{
        grid-template-columns:1fr;
    }
    .sg-nh-body .sg-sidebar-banners{
        grid-column:auto;
    }
}
@media(prefers-reduced-motion:reduce){
    .sg-newhome *,
    .sg-newhome *::before,
    .sg-newhome *::after{
        scroll-behavior:auto!important;
        transition:none!important;
        animation:none!important;
    }
}

.sg-showcase-news article p,.sg-nh-news article p{grid-column:2;margin:4px 0 0;color:#64788c;font-size:.86rem;line-height:1.5}.sg-nh-news article p{grid-column:2}@media(max-width:700px){.sg-showcase-news article p,.sg-nh-news article p{grid-column:1}}


/* Announcement excerpt refinement */
.sg-showcase-news article p,
.sg-nh-news article p {
    margin:6px 0 0 !important;
    color:#64788c !important;
    font-size:.86rem !important;
    line-height:1.5 !important;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:3;
    overflow:hidden;
    max-width:100%;
    word-break:normal;
    overflow-wrap:anywhere;
}

/* SpaceGov 1.1.28 thumbnail compatibility */
.sg-home-news-thumb img{width:100%;height:100%;object-fit:cover;display:block}


/* SpaceGov 1.1.29 — full-width news rows without featured image */
.sg-showcase-news article:not(.has-thumb),
.sg-nh-news article:not(.has-thumb){width:100%;max-width:none}
.sg-showcase-news article.has-thumb,
.sg-nh-news article.has-thumb{width:100%;max-width:none}
