*{box-sizing:border-box}
:root{--primary:#317d9f;--accent:#20c5c7;--ink:#26343d;--soft:#ecffff}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#f8ffff}
a{text-decoration:none;color:inherit}
.utility{min-height:38px;padding:0 14px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:space-between;font-size:11px}
.utility>div:first-child{display:flex;gap:25px;align-items:center;flex-wrap:wrap}
.top-icons{display:flex;gap:6px}.top-icons img{width:30px;height:30px;border-radius:50%;object-fit:cover}
.navigation{height:72px;background:var(--primary);display:flex;align-items:center;padding:0 16px;position:relative;z-index:50}
.logo{width:150px;flex:0 0 150px;color:#fff}.logo img{max-width:125px;max-height:58px;object-fit:contain}.logo strong{font-size:13px}
.navigation nav{display:flex;height:100%}.nav-item{position:relative}.nav-item>a{height:100%;display:flex;align-items:center;padding:0 17px;color:#fff;font-size:12px;font-weight:700}.nav-item:hover>a{background:rgba(255,255,255,.1)}
.drop-menu,.mega-menu{display:none;position:absolute;top:72px;left:0;background:#fff;box-shadow:0 15px 35px rgba(0,0,0,.17);border-top:3px solid var(--accent);padding:12px;z-index:100}.nav-item:hover>.drop-menu,.nav-item:hover>.mega-menu{display:flex}.drop-menu{min-width:250px;flex-direction:column}.mega-menu{width:min(900px,85vw);flex-wrap:wrap;gap:16px}.menu-column{min-width:185px;display:flex;flex-direction:column}.menu-column a{padding:8px 10px;border-bottom:1px solid #f0f2f2;font-size:12px}.menu-title{font-weight:800}.menu-toggle{display:none;margin-left:auto;border:0;background:transparent;color:#fff;font-size:25px}
.hero-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(320px,1fr);gap:4px;background:#efffff;padding-top:26px}
.slider{height:425px;position:relative;overflow:hidden;margin-left:28px;background:#dcebec}.slide{display:none;width:100%;height:100%;position:relative}.slide.active{display:block}.slide img{width:100%;height:100%;object-fit:cover}.empty-slide.active{display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-slide strong{font-size:30px;color:var(--primary)}.empty-slide span{margin-top:10px;color:#77858b}.caption{position:absolute;left:80px;bottom:55px;background:#fff;padding:14px 20px}.caption strong,.caption span{display:block}.caption span{font-size:12px;color:#777;margin-top:5px}.prev,.next{position:absolute;top:46%;width:44px;height:44px;border-radius:50%;border:1px solid #ddd;background:#fff;font-size:28px;cursor:pointer}.prev{left:10px}.next{right:10px}.dots{position:absolute;bottom:15px;left:0;right:0;text-align:center}.dots button{width:9px;height:9px;border:0;border-radius:50%;padding:0;margin:0 4px;background:#fff}.dots button.active{background:var(--accent)}
.hero-layout>aside{background:#fff}.side-box{border-bottom:4px solid #29383d}.side-box h3{margin:0;height:42px;background:var(--accent);color:#fff;display:flex;align-items:center;padding:0 23px;font-size:13px;font-weight:400}.side-box>a,.side-box>span{display:block;padding:10px 24px;border-bottom:1px dotted #ddd;color:#777;font-size:12px}.tabs{display:flex}.tab-btn{flex:1;border:0;padding:11px;background:#f6f7f7;color:#7b8388}.tab-btn.active{color:var(--accent);background:#fff;border-top:2px solid var(--accent)}.tab-panel{display:none;max-height:220px;overflow:auto}.tab-panel.active{display:block}.notice-item{padding:10px 15px;background:#347f9f;color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}.notice-item strong,.notice-item small{display:block;font-size:11px}.notice-item small{opacity:.8;margin-top:5px}.notice-item b{color:#fff13b;font-size:10px}.empty-small{padding:20px;color:#888}
.ticker{height:46px;display:flex;background:#1f2b30;color:#dbe1e3}.ticker>strong{width:150px;background:#e24b3d;color:#fff;display:flex;align-items:center;justify-content:center;font-size:12px}.ticker>div{display:flex;align-items:center;gap:40px;overflow:hidden;padding:0 25px;white-space:nowrap;font-size:12px}
.welcome{padding:25px 7% 35px;background:#efffff}.welcome>h1{text-align:center;font-size:36px;font-weight:300;margin:0 0 18px}.welcome-grid{display:grid;grid-template-columns:330px minmax(0,1fr);gap:8px}.quick-links,.about-area{background:#fff}.quick-links h3{margin:0;height:42px;background:var(--accent);color:#fff;display:flex;align-items:center;padding:0 22px;font-size:13px;font-weight:400}.quick-links a,.quick-links span{display:block;padding:12px 22px;border-bottom:1px dotted #ddd;color:#747c80;font-size:13px}.about-tabs{display:flex;gap:8px;padding-bottom:10px;background:#efffff}.about-btn{border:1px solid #ddd;background:#fff;padding:11px 24px;color:#737b80}.about-btn.active{border-color:var(--accent);color:var(--accent)}.about-panel{display:none;border:1px solid #dce3e4;padding:12px;min-height:240px;line-height:1.7;color:#676e72;font-size:14px}.about-panel.active{display:flex;gap:20px}.about-panel img{width:210px;height:190px;object-fit:cover}
.news{padding:30px 7%;background:#fff}.news>h3{font-size:14px;font-weight:400;border-bottom:1px solid #ddd;padding-bottom:12px}.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.news-grid article{border:1px solid #e1e7e8}.news-grid img{width:100%;height:150px;object-fit:cover}.news-grid article>div{padding:13px}.news-grid p{font-size:12px;color:#777;line-height:1.5}
.stats{display:grid;grid-template-columns:repeat(4,1fr);padding:25px 10% 35px;background:#efffff;text-align:center}.stats article{padding:15px}.stat-icon{font-size:33px;color:var(--accent)}.stats strong{display:block;font-size:38px;color:#626669;margin:14px 0}.stats span{font-size:19px;color:#777;font-weight:300}
footer{background:#347f9f;color:#fff;border-top:5px solid #344b40}.footer-grid{display:grid;grid-template-columns:1fr 1.2fr 1fr 1.4fr;gap:30px;padding:20px 4%}.footer-grid h4{font-size:13px;font-weight:400}.footer-grid p{font-size:12px;line-height:1.6}.footer-grid iframe,.map-empty{width:100%;height:180px;border:0;background:#dbeaea;color:#5e7077;display:flex;align-items:center;justify-content:center;font-size:12px}.important-links{display:flex;flex-wrap:wrap;gap:6px}.important-links a{padding:9px 11px;background:#185873;font-size:10px}.member{display:flex;gap:10px;background:#f7f9f9;color:#37434a;padding:10px;margin-bottom:7px}.member img{width:58px;height:58px;object-fit:cover}.member small{display:block;color:#69777c;margin-top:5px}.footer-bottom{display:flex;justify-content:space-between;background:#164761;padding:8px 4%;font-size:11px;color:#c2d4dc}
.simple-header{height:65px;background:var(--primary);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.page-wrap{max-width:1100px;margin:30px auto;padding:0 20px}.page-card{background:#fff;border:1px solid #e0e6e8;padding:30px}.featured{max-width:100%;max-height:420px;object-fit:cover}.page-content{line-height:1.8;color:#626b70}
@media(max-width:1000px){.hero-layout{grid-template-columns:1fr}.slider{margin:0 15px}.hero-layout>aside{margin:0 15px}.news-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.utility>div:first-child span:not(:first-child){display:none}.top-icons{display:none}.navigation{height:auto;min-height:68px}.menu-toggle{display:block}.navigation nav{display:none;position:absolute;left:0;right:0;top:68px;height:auto;background:var(--primary);flex-direction:column}.navigation nav.open{display:flex}.nav-item>a{height:auto;padding:14px 20px}.drop-menu,.mega-menu,.nav-item:hover>.drop-menu,.nav-item:hover>.mega-menu{position:static;width:100%;display:none;box-shadow:none;border:0;background:#276d8a}.nav-item.open>.drop-menu,.nav-item.open>.mega-menu{display:flex}.menu-column a{color:#fff;border-color:rgba(255,255,255,.13)}.slider{height:300px}.welcome-grid{grid-template-columns:1fr}.about-tabs{overflow:auto}.about-panel.active{flex-direction:column}.news-grid,.stats,.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:8px}}
/*
Append the contents of this file to:
publicsite/static/publicsite/site.css
*/

.inner-hero{
    padding:34px 7%;
    background:linear-gradient(120deg,#e9ffff,#f8ffff);
    border-bottom:1px solid #dce8e8;
}
.inner-hero h1{
    margin:0 0 10px;
    font-size:30px;
    font-weight:500;
}
.breadcrumb{
    display:flex;
    gap:8px;
    align-items:center;
    color:#77858b;
    font-size:12px;
}
.breadcrumb a{color:var(--primary);font-weight:700}
.inner-content-wrap{
    max-width:1200px;
    margin:28px auto 45px;
    padding:0 20px;
}
.inner-card{
    background:#fff;
    border:1px solid #e0e7e8;
    border-radius:4px;
    padding:28px;
}
.inner-featured{
    width:100%;
    max-height:430px;
    object-fit:cover;
    margin-bottom:22px;
}
.inner-rich-text{
    color:#5f696e;
    font-size:14px;
    line-height:1.8;
}
.empty-inner{
    padding:35px;
    text-align:center;
    color:#8a969b;
}
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.gallery-card{
    background:#fff;
    border:1px solid #e1e7e8;
    overflow:hidden;
}
.gallery-card img{
    width:100%;
    height:240px;
    object-fit:cover;
    display:block;
}
.gallery-card>div{padding:14px}
.gallery-card strong{display:block}
.gallery-card small{
    display:block;
    color:#899398;
    margin-top:6px;
}
.public-table-wrap{overflow:auto}
.public-table{
    width:100%;
    border-collapse:collapse;
}
.public-table th,
.public-table td{
    padding:13px 12px;
    border-bottom:1px solid #edf0f1;
    text-align:left;
    font-size:13px;
}
.public-table th{
    background:#f6fbfb;
    color:#5d696f;
    font-size:11px;
    text-transform:uppercase;
}
.public-action{
    display:inline-block;
    padding:7px 12px;
    border-radius:4px;
    background:var(--accent);
    color:#fff;
    font-size:11px;
    font-weight:700;
}
.public-list-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:15px 5px;
    border-bottom:1px solid #edf0f1;
}
.public-list-row:last-child{border-bottom:0}
.public-list-row small{
    display:block;
    margin-top:5px;
    color:#8a9499;
}
.new-label{
    display:inline-block;
    margin-right:6px;
    color:#e34738;
    font-size:10px;
}
.news-list-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}
.news-list-card{
    border:1px solid #e0e6e8;
    background:#fff;
}
.news-list-card img{
    width:100%;
    height:190px;
    object-fit:cover;
}
.news-list-card>div{padding:16px}
.news-list-card small{
    display:block;
    margin-top:7px;
    color:#8a9499;
}
.news-list-card p{
    color:#697378;
    font-size:12px;
    line-height:1.6;
}
@media(max-width:850px){
    .gallery-grid,
    .news-list-grid{
        grid-template-columns:repeat(2,1fr);
    }
}
@media(max-width:600px){
    .gallery-grid,
    .news-list-grid{
        grid-template-columns:1fr;
    }
    .public-list-row{
        align-items:flex-start;
        flex-direction:column;
    }
}
/*
============================================================
MODERN MUNICIPAL WEBSITE THEME
Append this file to publicsite/static/publicsite/site.css
============================================================
*/

:root {
    --primary: #173f63;
    --primary-dark: #0d2c47;
    --primary-soft: #eaf2f7;

    --accent: #e29b3a;
    --accent-dark: #bd7721;
    --accent-soft: #fff6e9;

    --surface: #ffffff;
    --surface-alt: #f4f8fb;

    --text-main: #213140;
    --text-muted: #6f7d89;

    --border: #dce5eb;

    --success: #18865c;

    --shadow-sm:
        0 5px 18px
        rgba(21, 55, 80, .07);

    --shadow-md:
        0 16px 40px
        rgba(21, 55, 80, .11);
}


/* =========================================================
   GLOBAL
========================================================= */

body {
    background:
        linear-gradient(
            180deg,
            #f8fbfd 0%,
            #f4f8fb 100%
        );

    color: var(--text-main);
}


/* =========================================================
   TOP UTILITY
========================================================= */

.utility {
    min-height: 40px;

    background:
        linear-gradient(
            90deg,
            var(--primary-dark),
            var(--primary)
        );

    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}

.utility a,
.utility span {
    color:
        rgba(255,255,255,.92);
}


/* =========================================================
   MAIN NAVIGATION
========================================================= */

.navigation {
    min-height: 78px;
    height: 78px;

    background: #ffffff;

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 5px 20px
        rgba(24, 56, 80, .05);
}

.logo {
    color: var(--primary);
}

.logo strong {
    color: var(--primary);

    font-size: 14px;
    font-weight: 900;

    line-height: 1.3;
}

.nav-item > a {
    color: var(--primary-dark);

    font-size: 12px;
    font-weight: 800;

    letter-spacing: .3px;

    position: relative;
}

.nav-item > a::after {
    content: "";

    position: absolute;

    left: 17px;
    right: 17px;
    bottom: 0;

    height: 3px;

    background: var(--accent);

    transform: scaleX(0);

    transition:
        transform .2s ease;
}

.nav-item:hover > a {
    background: var(--primary-soft);

    color: var(--primary);
}

.nav-item:hover > a::after {
    transform: scaleX(1);
}


.drop-menu,
.mega-menu {
    top: 78px;

    border-top:
        4px solid var(--accent);

    border-radius:
        0 0 10px 10px;

    box-shadow: var(--shadow-md);
}

.menu-column a:hover {
    color: var(--accent-dark);

    background: var(--accent-soft);
}


/* =========================================================
   HOME HERO
========================================================= */

.hero-layout {
    background:
        linear-gradient(
            180deg,
            #edf4f8,
            #f9fcfd
        );
}

.side-box h3,
.quick-links h3 {
    background:
        linear-gradient(
            90deg,
            var(--primary),
            #285f89
        );
}

.tab-btn.active {
    color: var(--accent-dark);

    border-top:
        2px solid var(--accent);
}

.caption {
    border-left:
        5px solid var(--accent);

    box-shadow: var(--shadow-md);

    border-radius: 7px;
}


/* =========================================================
   TICKER
========================================================= */

.ticker {
    background: var(--primary-dark);
}

.ticker > strong {
    background: var(--accent);

    color: #ffffff;
}


/* =========================================================
   HOME CONTENT
========================================================= */

.welcome,
.stats {
    background:
        linear-gradient(
            180deg,
            #f5f9fb,
            #edf5f8
        );
}

.about-btn.active {
    color: var(--accent-dark);

    border-color: var(--accent);

    background: var(--accent-soft);
}

.stat-icon {
    color: var(--accent);
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background:
        linear-gradient(
            135deg,
            var(--primary),
            var(--primary-dark)
        );

    border-top:
        5px solid var(--accent);
}

.important-links a {
    background:
        rgba(255,255,255,.1);

    border:
        1px solid
        rgba(255,255,255,.12);

    border-radius: 5px;
}

.important-links a:hover {
    background: var(--accent);
}

.footer-bottom {
    background: #081f33;
}


/* =========================================================
   PREMIUM INNER PAGE HERO
========================================================= */

.premium-inner-hero {
    position: relative;

    overflow: hidden;

    min-height: 205px;

    padding:
        48px 7%
        42px;

    background:
        linear-gradient(
            120deg,
            var(--primary-dark),
            var(--primary)
        );

    border-bottom:
        5px solid var(--accent);

    color: #ffffff;
}

.premium-inner-hero::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -90px;
    top: -170px;

    border-radius: 50%;

    background:
        rgba(255,255,255,.06);
}

.premium-inner-hero::after {
    content: "";

    position: absolute;

    width: 210px;
    height: 210px;

    right: 110px;
    bottom: -150px;

    border-radius: 50%;

    border:
        45px solid
        rgba(226,155,58,.13);
}

.inner-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(13,44,71,.15),
            transparent
        );
}

.inner-hero-content {
    position: relative;

    z-index: 2;

    max-width: 1180px;

    margin: 0 auto;
}

.premium-inner-hero h1 {
    margin:
        15px 0 5px;

    color: #ffffff;

    font-size: 38px;
    font-weight: 700;

    letter-spacing: -.5px;
}

.premium-inner-hero .breadcrumb {
    color:
        rgba(255,255,255,.72);
}

.premium-inner-hero .breadcrumb a {
    color: var(--accent);

    font-weight: 800;
}

.inner-lead {
    max-width: 700px;

    margin-top: 10px;

    color:
        rgba(255,255,255,.8);

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   TWO COLUMN DETAIL PAGE
========================================================= */

.detail-layout-wrap {
    padding:
        35px 20px
        55px;
}

.detail-layout {
    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        290px
        minmax(0, 1fr);

    gap: 26px;

    align-items: start;
}


/* =========================================================
   DETAIL SIDEBAR
========================================================= */

.sidebar-sticky {
    position: sticky;

    top: 20px;
}

.sidebar-card {
    margin-bottom: 20px;

    overflow: hidden;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow-sm);
}

.sidebar-card-title {
    min-height: 54px;

    padding: 0 18px;

    display: flex;
    align-items: center;

    gap: 9px;

    background:
        linear-gradient(
            100deg,
            var(--primary),
            #285f89
        );

    color: #ffffff;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: .3px;
}

.sidebar-title-icon {
    color: var(--accent);

    font-size: 17px;
}

.sidebar-nav {
    padding: 8px;
}

.sidebar-parent {
    display: block;

    margin-bottom: 5px;

    padding: 11px 12px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 900;

    border-radius: 7px;

    background: var(--primary-soft);
}

.sidebar-link {
    display: flex;

    gap: 8px;

    align-items: center;

    padding: 10px 11px;

    border-bottom:
        1px solid #eef2f5;

    color: #5f6f7b;

    font-size: 12px;

    transition:
        background .2s ease,
        color .2s ease,
        padding-left .2s ease;
}

.sidebar-link:last-child {
    border-bottom: 0;
}

.sidebar-link span {
    color: var(--accent);

    font-size: 17px;
}

.sidebar-link:hover {
    padding-left: 16px;

    color: var(--primary);

    background: #f5f9fb;
}

.sidebar-link.active {
    color: var(--primary);

    font-weight: 800;

    background:
        linear-gradient(
            90deg,
            var(--accent-soft),
            #ffffff
        );

    border-left:
        3px solid var(--accent);
}


.sidebar-service-list {
    padding: 8px;
}

.sidebar-service-list a {
    display: block;

    padding: 10px 11px;

    border-bottom:
        1px solid #eef2f5;

    color: #5f6f7b;

    font-size: 12px;
}

.sidebar-service-list a:hover {
    color: var(--accent-dark);

    background: var(--accent-soft);
}


.sidebar-help {
    display: flex;

    gap: 13px;

    align-items: center;

    padding: 17px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            #efb661
        );

    color: #ffffff;

    box-shadow:
        0 10px 30px
        rgba(189,119,33,.18);
}

.help-icon {
    width: 44px;
    height: 44px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.17);

    font-size: 20px;
}

.sidebar-help small,
.sidebar-help strong,
.sidebar-help span {
    display: block;
}

.sidebar-help small {
    opacity: .85;

    font-size: 10px;
}

.sidebar-help strong {
    margin-top: 4px;

    font-size: 14px;
}

.sidebar-help span {
    margin-top: 3px;

    font-size: 10px;

    opacity: .9;
}


/* =========================================================
   DETAIL MAIN CONTENT
========================================================= */

.modern-content-card {
    overflow: hidden;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius: 14px;

    box-shadow: var(--shadow-sm);
}

.featured-image-wrap {
    position: relative;

    height: 350px;

    overflow: hidden;
}

.featured-image-wrap::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 60%,
            rgba(13,44,71,.28)
        );
}

.modern-featured {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.content-heading-row {
    position: relative;

    padding:
        27px 30px
        17px;

    display: flex;

    justify-content:
        space-between;

    align-items:
        flex-start;
}

.content-kicker {
    color: var(--accent-dark);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: 1.4px;

    text-transform: uppercase;
}

.content-heading-row h2 {
    margin:
        5px 0 0;

    color: var(--primary-dark);

    font-size: 26px;
    font-weight: 700;
}

.content-decoration {
    width: 50px;
    height: 4px;

    margin-top: 7px;

    border-radius: 5px;

    background: var(--accent);
}

.modern-rich-text {
    padding:
        0 30px
        34px;

    color: #5b6974;

    font-size: 14px;

    line-height: 1.85;
}

.modern-rich-text p {
    margin:
        0 0 16px;
}

.modern-rich-text h2,
.modern-rich-text h3,
.modern-rich-text h4 {
    color: var(--primary);

    margin-top: 25px;
}

.modern-rich-text ul,
.modern-rich-text ol {
    padding-left: 22px;
}

.modern-rich-text li {
    margin-bottom: 8px;
}

.modern-rich-text a {
    color: var(--accent-dark);

    text-decoration: underline;
}


.empty-modern {
    padding:
        25px 30px
        40px;

    text-align: center;

    color: var(--text-muted);
}

.empty-modern-icon {
    width: 60px;
    height: 60px;

    margin:
        0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--accent-soft);

    color: var(--accent-dark);

    font-size: 23px;
}

.empty-modern h3 {
    margin: 0;

    color: var(--primary);
}

.empty-modern p {
    margin-top: 7px;

    font-size: 12px;
}


/* =========================================================
   DETAIL BOTTOM ACTION CARDS
========================================================= */

.detail-bottom-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;

    margin-top: 18px;
}

.bottom-action-card {
    min-height: 90px;

    padding: 18px;

    display: flex;

    align-items: center;

    gap: 14px;

    background: #ffffff;

    border:
        1px solid var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow-sm);

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.bottom-action-card:hover {
    transform:
        translateY(-2px);

    box-shadow: var(--shadow-md);
}

.bottom-action-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--primary-soft);

    font-size: 20px;
}

.bottom-action-card strong,
.bottom-action-card small {
    display: block;
}

.bottom-action-card strong {
    color: var(--primary);
}

.bottom-action-card small {
    margin-top: 4px;

    color: var(--text-muted);

    font-size: 11px;
}

.bottom-arrow {
    margin-left: auto;

    color: var(--accent-dark);

    font-size: 20px;
}


/* =========================================================
   GALLERY / PUBLIC LIST PAGES
========================================================= */

.gallery-card,
.news-list-card,
.inner-card {
    border-radius: 12px;

    box-shadow: var(--shadow-sm);
}

.gallery-card {
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.gallery-card:hover {
    transform:
        translateY(-4px);

    box-shadow: var(--shadow-md);
}

.public-table th {
    background:
        var(--primary-soft);

    color: var(--primary);
}

.public-action {
    background: var(--accent);

    color: #ffffff;
}

.public-action:hover {
    background: var(--accent-dark);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1000px) {

    .detail-layout {
        grid-template-columns:
            245px
            minmax(0, 1fr);
    }

}


@media(max-width: 820px) {

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky {
        position: static;
    }

    .detail-sidebar {
        order: 2;
    }

    .detail-main {
        order: 1;
    }

    .premium-inner-hero h1 {
        font-size: 31px;
    }

}


@media(max-width: 760px) {

    .navigation {
        background: #ffffff;
    }

    .menu-toggle {
        color: var(--primary);
    }

    .navigation nav {
        top: 78px;

        background:
            var(--primary-dark);
    }

    .nav-item > a {
        color: #ffffff;
    }

    .nav-item > a::after {
        display: none;
    }

}


@media(max-width: 600px) {

    .premium-inner-hero {
        min-height: 175px;

        padding:
            35px 20px;
    }

    .premium-inner-hero h1 {
        font-size: 27px;
    }

    .detail-layout-wrap {
        padding:
            20px 12px
            35px;
    }

    .content-heading-row {
        padding:
            22px 20px
            15px;
    }

    .modern-rich-text {
        padding:
            0 20px
            27px;
    }

    .featured-image-wrap {
        height: 240px;
    }

    .detail-bottom-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   HOME HERO / NOTICE BOARD BALANCE FIX - 2026-08
========================================================= */

.hero-layout {
    align-items: start;
    grid-template-columns: minmax(0, 3fr) minmax(340px, 1fr);
    gap: 10px;
    padding: 26px 18px 0;
}

.slider {
    margin-left: 10px;
    height: 425px;
    border-radius: 8px 0 0 8px;
    box-shadow: 0 10px 28px rgba(13, 44, 71, .10);
}

.hero-sidebar {
    height: 425px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 10px 28px rgba(13, 44, 71, .08);
    scrollbar-width: thin;
    scrollbar-color: #b9c8d2 transparent;
}

.hero-sidebar::-webkit-scrollbar {
    width: 6px;
}

.hero-sidebar::-webkit-scrollbar-thumb {
    background: #b9c8d2;
    border-radius: 20px;
}

.hero-sidebar .side-box {
    border-bottom: 1px solid #dfe8ee;
}

.hero-sidebar .side-box:last-child {
    border-bottom: 0;
}

.hero-sidebar .side-box h3 {
    height: 40px;
    font-weight: 700;
    letter-spacing: .2px;
}

.notice-board-box {
    background: #fff;
}

.notice-tabs {
    position: sticky;
    top: 0;
    z-index: 2;
    border-bottom: 1px solid #e5ebef;
}

.notice-tabs .tab-btn {
    cursor: pointer;
    font-weight: 700;
    transition: background .18s ease, color .18s ease;
}

.notice-tabs .tab-btn:hover {
    background: #fff8ed;
    color: var(--accent-dark);
}

.notice-board-box .tab-panel {
    max-height: none;
    overflow: visible;
}

.notice-list {
    background: #fff;
}

.notice-link {
    min-height: 54px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 14px !important;
    background: #fff !important;
    color: var(--text-main) !important;
    border-bottom: 1px solid #e7edf1 !important;
    transition: background .18s ease, padding-left .18s ease;
}

.notice-link:hover {
    background: #f4f8fb !important;
    padding-left: 18px !important;
}

.notice-copy {
    min-width: 0;
    display: block;
}

.notice-link strong {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #24425a;
    font-size: 11px;
    line-height: 1.35;
}

.notice-link small {
    display: block;
    margin-top: 4px;
    color: #788793;
    font-size: 10px;
}

.notice-link b {
    display: inline-block;
    margin-bottom: 3px;
    color: #c67b12;
    font-size: 9px;
    letter-spacing: .5px;
}

.notice-arrow {
    flex: 0 0 auto;
    color: var(--accent-dark);
    font-size: 22px;
    line-height: 1;
}

.side-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 39px;
    padding: 9px 14px;
    color: var(--primary) !important;
    background: #f4f8fb;
    border-top: 1px solid #e0e8ed;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15px;
    transition: background .18s ease, color .18s ease;
}

.side-view-all:hover {
    color: #fff !important;
    background: var(--primary);
}

.side-view-all span {
    font-size: 16px;
}

/*
 Slider and right column now have the same fixed visual height.
 If CMS adds more services later, only the right column scrolls.
 Therefore the ticker/welcome section never gets pushed down and
 no blank gap is created under the slider.
 */

@media (max-width: 1000px) {
    .hero-layout {
        grid-template-columns: 1fr;
        padding: 18px 15px 0;
    }

    .slider {
        margin: 0;
        border-radius: 8px;
    }

    .hero-sidebar {
        height: auto;
        max-height: none;
        overflow: visible;
        margin: 0;
        border-radius: 8px;
    }
}

@media (max-width: 760px) {
    .slider {
        height: 300px;
    }

    .notice-link strong {
        white-space: normal;
    }
}


/* =========================================================
   MODERN INDEPENDENT-COLUMN HOMEPAGE
   Reference behaviour: left and right columns flow separately.
   The right rail can grow without creating blank space under slider.
========================================================= */

.modern-home-shell {
    width: min(1500px, calc(100% - 34px));
    margin: 24px auto 42px;

    display: grid;
    grid-template-columns:
        minmax(0, 3fr)
        minmax(340px, 1fr);

    gap: 18px;
    align-items: start;
}

.modern-home-main,
.modern-home-rail {
    min-width: 0;
}

.modern-home-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modern-home-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* =========================
   SLIDER
========================= */

.modern-slider-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: #fff;

    box-shadow: var(--shadow-md);
}

.modern-slider {
    width: 100%;
    height: 470px;

    margin: 0 !important;

    border-radius: 0;

    background: #dfeaf1;
}

.modern-slider .slide img {
    transform: scale(1.001);
    transition: transform 5s ease;
}

.modern-slider .slide.active img {
    transform: scale(1.035);
}

.modern-slide-shade {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(7, 28, 44, .52) 0%,
            rgba(7, 28, 44, .18) 43%,
            rgba(7, 28, 44, .03) 72%
        );

    pointer-events: none;
}

.modern-caption {
    left: 34px;
    bottom: 32px;

    width: min(460px, calc(100% - 100px));

    padding: 19px 21px;

    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 12px;

    background: rgba(255, 255, 255, .94);

    box-shadow:
        0 14px 38px
        rgba(0, 0, 0, .18);

    backdrop-filter: blur(14px);
}

.modern-caption small {
    display: block;

    margin-bottom: 6px;

    color: var(--accent-dark);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.1px;
}

.modern-caption strong {
    color: var(--primary-dark);

    font-size: 18px;
    line-height: 1.35;
}

.modern-caption span {
    margin-top: 6px;

    color: var(--text-muted);

    font-size: 11px;
    line-height: 1.55;
}

.modern-slide-link {
    display: inline-flex;

    margin-top: 11px;

    align-items: center;
    gap: 6px;

    color: var(--accent-dark);

    font-size: 10px;
    font-weight: 900;
}

.modern-slider-arrow {
    width: 42px;
    height: 42px;

    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.50);

    background: rgba(255,255,255,.94);

    color: var(--primary);

    box-shadow:
        0 8px 22px
        rgba(0,0,0,.13);

    transition:
        transform .18s ease,
        background .18s ease;
}

.modern-slider-arrow:hover {
    background: var(--accent);

    color: #fff;

    transform:
        translateY(-50%)
        scale(1.06);
}

.modern-slider .dots {
    bottom: 18px;
}

.modern-slider .dots button {
    width: 8px;
    height: 8px;

    border:
        1px solid
        rgba(255,255,255,.80);

    background:
        rgba(255,255,255,.68);
}

.modern-slider .dots button.active {
    width: 20px;

    border-radius: 10px;

    background: var(--accent);
}


/* =========================
   TICKER
========================= */

.modern-ticker {
    min-height: 52px;

    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 11px;

    background: #fff;

    box-shadow: var(--shadow-sm);
}

.modern-ticker-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background:
        linear-gradient(
            110deg,
            var(--accent-dark),
            var(--accent)
        );

    color: #fff;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .7px;
}

.ticker-pulse {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #fff;

    box-shadow:
        0 0 0 5px
        rgba(255,255,255,.18);
}

.modern-ticker-track {
    min-width: 0;

    display: flex;
    align-items: center;
    gap: 32px;

    overflow: hidden;

    padding: 0 18px;

    white-space: nowrap;
}

.modern-ticker-track a,
.modern-ticker-track > span {
    color: #536675;

    font-size: 11px;

    transition: color .18s ease;
}

.modern-ticker-track a:hover {
    color: var(--accent-dark);
}

.modern-ticker-track a > span {
    margin-right: 6px;

    color: var(--accent);

    font-size: 7px;
}


/* =========================
   SHARED HEADING
========================= */

.section-heading {
    margin-bottom: 20px;
}

.section-heading.compact {
    margin-bottom: 15px;
}

.section-kicker {
    display: block;

    margin-bottom: 6px;

    color: var(--accent-dark);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: 1.4px;
}

.section-heading h2 {
    margin: 0;

    color: var(--primary-dark);

    font-size: 28px;
    font-weight: 800;

    line-height: 1.25;
}

.section-heading p {
    margin: 7px 0 0;

    color: var(--text-muted);

    font-size: 12px;
}


/* =========================
   WELCOME
========================= */

.modern-welcome {
    padding: 27px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f8fbfd
        );

    box-shadow: var(--shadow-sm);
}

.modern-welcome-grid {
    display: grid;
    grid-template-columns: 265px minmax(0, 1fr);

    gap: 16px;
    align-items: start;
}

.modern-quick-card,
.modern-about-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 12px;

    background: #fff;
}

.modern-card-head {
    min-height: 67px;

    padding: 12px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary)
        );

    color: #fff;
}

.modern-card-head > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.modern-card-head strong {
    font-size: 12px;
}

.modern-card-head small {
    color: rgba(255,255,255,.62);

    font-size: 8px;
}

.modern-head-icon {
    width: 28px;
    height: 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: rgba(255,255,255,.12);

    color: var(--accent);
}

.modern-quick-list a {
    min-height: 46px;

    padding: 0 13px;

    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) 12px;

    align-items: center;
    gap: 7px;

    border-bottom: 1px solid #edf1f4;

    color: #627481;

    font-size: 10px;

    transition:
        background .18s ease,
        color .18s ease,
        padding-left .18s ease;
}

.modern-quick-list a:last-child {
    border-bottom: 0;
}

.modern-quick-list a:hover {
    padding-left: 17px;

    background: var(--accent-soft);

    color: var(--primary-dark);
}

.quick-dot {
    color: var(--accent);

    font-size: 6px;
}

.modern-quick-list b {
    color: var(--accent-dark);

    font-size: 17px;
}


/* ABOUT */

.modern-about-card {
    min-width: 0;
}

.modern-about-tabs {
    display: flex;
    gap: 0;

    overflow-x: auto;

    border-bottom: 1px solid var(--border);

    background: #f7fafc;
}

.modern-about-btn {
    min-height: 48px;

    padding: 0 17px;

    border: 0;
    border-right: 1px solid var(--border);

    background: transparent;

    color: #778793;

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .4px;

    white-space: nowrap;

    cursor: pointer;
}

.modern-about-btn.active {
    position: relative;

    background: #fff;

    color: var(--primary);
}

.modern-about-btn.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;
    bottom: 0;

    height: 3px;

    border-radius: 5px 5px 0 0;

    background: var(--accent);
}

.modern-about-panel {
    min-height: 285px;

    padding: 18px;

    border: 0 !important;

    background: #fff;

    gap: 18px;
}

.modern-about-image {
    width: 215px;
    flex: 0 0 215px;

    overflow: hidden;

    border-radius: 10px;

    background: #edf3f7;
}

.modern-about-image img {
    width: 100% !important;
    height: 100% !important;
    min-height: 220px;

    object-fit: cover;

    transition: transform .3s ease;
}

.modern-about-panel:hover
.modern-about-image img {
    transform: scale(1.025);
}

.modern-about-copy {
    min-width: 0;
}

.content-label {
    display: block;

    margin-bottom: 6px;

    color: var(--accent-dark);

    font-size: 8px;
    font-weight: 900;

    letter-spacing: 1px;
}

.modern-about-copy h3 {
    margin: 0 0 10px;

    color: var(--primary-dark);

    font-size: 18px;
}

.modern-about-text {
    max-height: 205px;

    overflow: hidden;

    color: #647581;

    font-size: 11px;
    line-height: 1.8;
}

.modern-about-text p:first-child {
    margin-top: 0;
}


/* =========================
   STATS
========================= */

.modern-stat-section {
    padding: 24px;

    border: 1px solid var(--border);
    border-radius: 15px;

    background: #fff;

    box-shadow: var(--shadow-sm);
}

.modern-stats {
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0,1fr));

    gap: 12px;
}

.modern-stats article {
    min-height: 105px;

    padding: 16px;

    display: flex;
    align-items: center;
    gap: 13px;

    border: 1px solid var(--border);
    border-radius: 11px;

    background:
        linear-gradient(
            145deg,
            #f9fbfd,
            #ffffff
        );
}

.modern-stat-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 21px;
}

.modern-stats strong {
    display: block;

    color: var(--primary-dark);

    font-size: 24px;
    font-weight: 900;

    line-height: 1;
}

.modern-stats span {
    display: block;

    margin-top: 6px;

    color: var(--text-muted);

    font-size: 9px;
    font-weight: 700;
}


/* =========================
   RIGHT RAIL
========================= */

.modern-rail-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 13px;

    background: #fff;

    box-shadow: var(--shadow-sm);
}

.modern-rail-title {
    min-height: 52px;

    padding: 10px 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    border-bottom: 1px solid rgba(255,255,255,.10);

    background:
        linear-gradient(
            110deg,
            var(--primary-dark),
            var(--primary)
        );

    color: #fff;
}

.modern-rail-title > div {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .35px;

    text-transform: uppercase;
}

.modern-rail-title > div > span {
    color: var(--accent);
}

.modern-rail-title small {
    color: rgba(255,255,255,.55);

    font-size: 8px;
}

.modern-rail-title > a {
    color: var(--accent);

    font-size: 8px;
    font-weight: 900;

    text-transform: uppercase;
}


/* Rail links */

.modern-rail-links a {
    min-height: 43px;

    padding: 0 13px;

    display: grid;
    grid-template-columns: 28px minmax(0,1fr) 12px;

    align-items: center;
    gap: 7px;

    border-bottom: 1px solid #edf1f4;

    color: #61727f;

    font-size: 10px;

    transition:
        background .18s ease,
        color .18s ease;
}

.modern-rail-links a:last-child {
    border-bottom: 0;
}

.modern-rail-links a:hover {
    background: var(--accent-soft);

    color: var(--primary-dark);
}

.rail-link-icon {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: var(--primary-soft);

    color: var(--primary);
}

.modern-rail-links b {
    color: var(--accent-dark);

    font-size: 17px;
}


/* Online services */

.modern-service-row {
    min-height: 50px;

    padding: 7px 12px;

    display: grid;
    grid-template-columns:
        34px
        minmax(0, 1fr)
        auto;

    align-items: center;
    gap: 8px;

    border-bottom: 1px solid #edf1f4;

    color: #536774;

    transition:
        background .18s ease,
        transform .18s ease;
}

.modern-service-row:last-child {
    border-bottom: 0;
}

a.modern-service-row:hover {
    background: #f7fafc;

    transform: translateX(2px);
}

.service-icon {
    width: 31px;
    height: 31px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 13px;
}

.service-name {
    font-size: 10px;
    font-weight: 700;
}

.service-action {
    padding: 4px 7px;

    border-radius: 20px;

    background: var(--accent-soft);

    color: var(--accent-dark);

    font-size: 8px;
    font-weight: 900;
}

.modern-service-row.disabled {
    opacity: .65;
}

.modern-service-row.disabled
.service-action {
    background: #eef2f4;

    color: #7d8a93;
}


/* Notices / Tenders */

.modern-notice-tabs {
    border-bottom: 1px solid var(--border);

    background: #f7fafc;
}

.modern-tab-btn {
    min-height: 43px;

    padding: 0 12px;

    cursor: pointer;

    font-size: 10px;
    font-weight: 800;
}

.modern-tab-btn.active {
    color: var(--primary);

    border-top: 0;

    border-bottom: 3px solid var(--accent);

    background: #fff;
}

.modern-tab-panel {
    max-height: none !important;
    overflow: visible !important;
}

.modern-notice-row {
    min-height: 64px;

    padding: 8px 11px;

    display: grid;
    grid-template-columns:
        42px
        minmax(0,1fr)
        14px;

    align-items: center;
    gap: 9px;

    border-bottom: 1px solid #edf1f4;

    background: #fff;

    transition:
        background .18s ease,
        padding-left .18s ease;
}

.modern-notice-row:hover {
    padding-left: 14px;

    background: #f8fbfd;
}

.modern-date-box {
    width: 39px;
    height: 43px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background:
        linear-gradient(
            145deg,
            var(--primary-soft),
            #f7fafc
        );

    color: var(--primary);
}

.modern-date-box strong {
    font-size: 15px;
    line-height: 1;
}

.modern-date-box span {
    margin-top: 3px;

    color: var(--accent-dark);

    font-size: 7px;
    font-weight: 900;

    text-transform: uppercase;
}

.modern-notice-copy {
    min-width: 0;
}

.modern-notice-copy > b {
    display: inline-block;

    margin-bottom: 2px;

    color: var(--accent-dark);

    font-size: 7px;
}

.modern-notice-copy > strong {
    display: block;

    overflow: hidden;

    color: #415664;

    font-size: 9.5px;
    font-weight: 800;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-notice-copy > small {
    display: block;

    margin-top: 4px;

    overflow: hidden;

    color: #8a98a2;

    font-size: 8px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.modern-row-arrow {
    color: var(--accent-dark);

    font-size: 18px;
}

.modern-view-all {
    min-height: 42px;

    padding: 0 13px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    background: #f5f9fb;

    color: var(--primary) !important;

    font-size: 9px;
    font-weight: 900;

    text-transform: uppercase;

    letter-spacing: .4px;
}

.modern-view-all:hover {
    background: var(--primary);

    color: #fff !important;
}


/* Latest news rail */

.modern-news-item {
    min-height: 88px;

    padding: 9px;

    display: grid;
    grid-template-columns:
        92px
        minmax(0,1fr);

    gap: 10px;

    border-bottom: 1px solid #edf1f4;

    background: #fff;

    transition: background .18s ease;
}

.modern-news-item:last-child {
    border-bottom: 0;
}

.modern-news-item:hover {
    background: #f8fbfd;
}

.modern-news-item img,
.news-placeholder {
    width: 92px;
    height: 69px;

    border-radius: 7px;

    object-fit: cover;
}

.news-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-soft);

    color: var(--primary);

    font-size: 10px;
    font-weight: 900;
}

.modern-news-item strong {
    display: block;

    margin-bottom: 4px;

    color: #405462;

    font-size: 10px;
    line-height: 1.35;
}

.modern-news-item p {
    margin: 0;

    color: #7c8b96;

    font-size: 8.5px;
    line-height: 1.45;
}

.modern-news-item small {
    display: block;

    margin-top: 5px;

    color: var(--accent-dark);

    font-size: 7.5px;
    font-weight: 800;
}

.modern-empty {
    padding: 18px 14px;

    color: #8a98a2;

    font-size: 9px;

    text-align: center;
}


/* =========================
   FOOTER POLISH
========================= */

footer {
    margin-top: 0;

    border-top: 4px solid var(--accent);

    background:
        linear-gradient(
            120deg,
            var(--primary-dark),
            var(--primary)
        );
}

.footer-grid {
    gap: 38px;

    padding-top: 28px;
    padding-bottom: 28px;
}

.footer-grid h4 {
    color: var(--accent);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.footer-grid p,
.footer-grid small {
    color: rgba(255,255,255,.70);
}

.important-links a {
    border: 1px solid rgba(255,255,255,.10);

    border-radius: 6px;

    background: rgba(255,255,255,.07);

    transition: background .18s ease;
}

.important-links a:hover {
    background: var(--accent);

    color: #fff;
}

.member {
    border-radius: 8px;

    background: rgba(255,255,255,.94);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.09);

    background: rgba(5, 24, 38, .50);
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width: 1180px) {

    .modern-home-shell {
        width: min(100% - 24px, 1400px);

        grid-template-columns:
            minmax(0, 2.25fr)
            minmax(315px, 1fr);

        gap: 14px;
    }

    .modern-slider {
        height: 420px;
    }

    .modern-welcome-grid {
        grid-template-columns: 230px minmax(0,1fr);
    }

    .modern-about-image {
        width: 185px;
        flex-basis: 185px;
    }

    .modern-stats {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }
}


@media(max-width: 920px) {

    .modern-home-shell {
        grid-template-columns: 1fr;
    }

    .modern-home-rail {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0,1fr));

        align-items: start;
    }

    .modern-notice-card,
    .modern-news-rail {
        grid-column: span 1;
    }

    .modern-slider {
        height: 390px;
    }

}


@media(max-width: 700px) {

    .modern-home-shell {
        width: calc(100% - 18px);

        margin-top: 12px;
    }

    .modern-home-rail {
        grid-template-columns: 1fr;
    }

    .modern-slider {
        height: 300px;
    }

    .modern-caption {
        left: 18px;
        right: 18px;
        bottom: 20px;

        width: auto;

        padding: 13px 15px;
    }

    .modern-caption strong {
        font-size: 15px;
    }

    .modern-caption span {
        display: none;
    }

    .modern-ticker {
        grid-template-columns: 105px minmax(0,1fr);
    }

    .modern-ticker-label {
        font-size: 8px;
    }

    .modern-welcome {
        padding: 17px;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .modern-welcome-grid {
        grid-template-columns: 1fr;
    }

    .modern-about-panel {
        min-height: 0;

        flex-direction: column;
    }

    .modern-about-image {
        width: 100%;
        height: 190px;
        flex-basis: auto;
    }

    .modern-about-image img {
        min-height: 190px;
    }

    .modern-about-text {
        max-height: none;
    }

    .modern-stats {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   FULL WIDTH + LARGER TEXT UPDATE
   Uses almost the full browser width and improves readability.
========================================================= */

.modern-home-shell {
    width: calc(100% - 24px) !important;
    max-width: none !important;

    margin: 18px 12px 42px !important;

    grid-template-columns:
        minmax(0, 3.25fr)
        minmax(390px, 1fr) !important;

    gap: 16px !important;
}


/* Slider becomes wider with the page */
.modern-slider {
    height: 500px !important;
}


/* Header / nav readability */
.main-nav a,
.nav a,
header nav a {
    font-size: 13px !important;
}


/* Slider caption */
.modern-caption {
    width: min(560px, calc(100% - 110px)) !important;
    padding: 22px 24px !important;
}

.modern-caption small {
    font-size: 10px !important;
}

.modern-caption strong {
    font-size: 22px !important;
}

.modern-caption span {
    font-size: 13px !important;
    line-height: 1.65 !important;
}

.modern-slide-link {
    font-size: 12px !important;
}


/* Ticker */
.modern-ticker {
    min-height: 58px !important;
    grid-template-columns: 160px minmax(0, 1fr) !important;
}

.modern-ticker-label {
    font-size: 11px !important;
}

.modern-ticker-track a,
.modern-ticker-track > span {
    font-size: 13px !important;
}


/* Main content headings */
.section-kicker {
    font-size: 10px !important;
}

.section-heading h2 {
    font-size: 31px !important;
}

.section-heading p {
    font-size: 14px !important;
}


/* Welcome / quick links / about */
.modern-welcome {
    padding: 30px !important;
}

.modern-welcome-grid {
    grid-template-columns: 300px minmax(0, 1fr) !important;
    gap: 18px !important;
}

.modern-card-head strong {
    font-size: 14px !important;
}

.modern-card-head small {
    font-size: 10px !important;
}

.modern-quick-list a {
    min-height: 50px !important;
    font-size: 12px !important;
}

.modern-about-btn {
    min-height: 52px !important;
    padding: 0 20px !important;
    font-size: 11px !important;
}

.modern-about-panel {
    min-height: 320px !important;
    padding: 22px !important;
}

.modern-about-image {
    width: 245px !important;
    flex-basis: 245px !important;
}

.content-label {
    font-size: 9px !important;
}

.modern-about-copy h3 {
    font-size: 21px !important;
}

.modern-about-text {
    max-height: 245px !important;
    font-size: 13px !important;
    line-height: 1.85 !important;
}


/* Statistics */
.modern-stat-section {
    padding: 28px !important;
}

.modern-stats article {
    min-height: 116px !important;
    padding: 18px !important;
}

.modern-stat-icon {
    width: 52px !important;
    height: 52px !important;
    flex-basis: 52px !important;
    font-size: 23px !important;
}

.modern-stats strong {
    font-size: 28px !important;
}

.modern-stats span {
    font-size: 11px !important;
}


/* Right column headings */
.modern-rail-title {
    min-height: 58px !important;
    padding: 12px 15px !important;
}

.modern-rail-title > div {
    font-size: 13px !important;
}

.modern-rail-title small,
.modern-rail-title > a {
    font-size: 9px !important;
}


/* E-service / quick links */
.modern-rail-links a {
    min-height: 49px !important;
    grid-template-columns: 32px minmax(0, 1fr) 14px !important;
    font-size: 12px !important;
}

.rail-link-icon {
    width: 29px !important;
    height: 29px !important;
}


/* Online applications */
.modern-service-row {
    min-height: 57px !important;
    grid-template-columns: 38px minmax(0, 1fr) auto !important;
    padding: 8px 13px !important;
}

.service-icon {
    width: 34px !important;
    height: 34px !important;
}

.service-name {
    font-size: 12px !important;
}

.service-action {
    padding: 5px 9px !important;
    font-size: 9px !important;
}


/* Notice / tender */
.modern-tab-btn {
    min-height: 47px !important;
    font-size: 12px !important;
}

.modern-notice-row {
    min-height: 72px !important;
    grid-template-columns: 46px minmax(0,1fr) 15px !important;
    padding: 9px 12px !important;
}

.modern-date-box {
    width: 43px !important;
    height: 49px !important;
}

.modern-date-box strong {
    font-size: 17px !important;
}

.modern-date-box span {
    font-size: 8px !important;
}

.modern-notice-copy > b {
    font-size: 8px !important;
}

.modern-notice-copy > strong {
    font-size: 11.5px !important;
}

.modern-notice-copy > small {
    font-size: 9.5px !important;
}

.modern-view-all {
    min-height: 46px !important;
    font-size: 10px !important;
}


/* Latest news */
.modern-news-item {
    min-height: 102px !important;
    grid-template-columns: 108px minmax(0,1fr) !important;
    padding: 11px !important;
}

.modern-news-item img,
.news-placeholder {
    width: 108px !important;
    height: 81px !important;
}

.modern-news-item strong {
    font-size: 12px !important;
}

.modern-news-item p {
    font-size: 10px !important;
}

.modern-news-item small {
    font-size: 9px !important;
}


/* Footer readability */
.footer-grid p,
.footer-grid small,
.footer-grid a {
    font-size: 12px !important;
}

.footer-grid h4 {
    font-size: 12px !important;
}


/* Large desktop */
@media (min-width: 1600px) {

    .modern-home-shell {
        width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;

        grid-template-columns:
            minmax(0, 3.45fr)
            minmax(420px, 1fr) !important;
    }

    .modern-slider {
        height: 520px !important;
    }

    .modern-caption strong {
        font-size: 23px !important;
    }

}


/* Medium desktop */
@media (max-width: 1180px) {

    .modern-home-shell {
        width: calc(100% - 20px) !important;
        margin-left: 10px !important;
        margin-right: 10px !important;

        grid-template-columns:
            minmax(0, 2.4fr)
            minmax(330px, 1fr) !important;
    }

    .modern-welcome-grid {
        grid-template-columns:
            260px
            minmax(0, 1fr) !important;
    }

    .modern-about-image {
        width: 210px !important;
        flex-basis: 210px !important;
    }

}


/* Tablet */
@media (max-width: 920px) {

    .modern-home-shell {
        grid-template-columns: 1fr !important;
    }

    .modern-home-rail {
        grid-template-columns:
            repeat(2, minmax(0,1fr)) !important;
    }

}


/* Mobile */
@media (max-width: 700px) {

    .modern-home-shell {
        width: calc(100% - 12px) !important;
        margin: 8px 6px 26px !important;
    }

    .modern-home-rail {
        grid-template-columns: 1fr !important;
    }

    .modern-slider {
        height: 310px !important;
    }

    .modern-caption {
        width: auto !important;
        left: 14px !important;
        right: 14px !important;
        padding: 14px 16px !important;
    }

    .modern-caption strong {
        font-size: 17px !important;
    }

    .modern-ticker {
        grid-template-columns: 105px minmax(0,1fr) !important;
    }

    .modern-welcome-grid {
        grid-template-columns: 1fr !important;
    }

    .modern-about-image {
        width: 100% !important;
        flex-basis: auto !important;
    }

}
