:root {
    --navy: #142b46;
    --navy-light: #1d3c5e;
    --blue: #2878bd;
    --text: #263445;
    --muted: #687789;
    --background: #f4f6f9;
    --border: #e2e7ed;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.topbar {
    height: 72px;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    padding: 0 30px;
    gap: 18px;
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 19px;
    font-weight: 700;
}

.brand img {
    width: 150px;
    height: 41px;
    object-fit: contain;
}

.brand span {
    border-left: 1px solid rgba(255,255,255,.35);
    padding-left: 14px;
}

.topbar-label {
    margin-left: auto;
    color: #c5d2e0;
    font-size: 13px;
}

.menu-toggle {
    display: none;
    color: white;
    background: none;
    border: 0;
    font-size: 25px;
    cursor: pointer;
}

.layout {
    display: flex;
    min-height: calc(100vh - 72px);
}

.sidebar {
    width: 265px;
    flex: 0 0 265px;
    background: var(--white);
    border-right: 1px solid var(--border);
    padding: 27px 18px;
    display: flex;
    flex-direction: column;
}

#sideNavigation {
    display: flex;
    flex-direction: column;
}

.nav-heading {
    color: #8491a0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    margin: 17px 10px 7px;
}

.nav-heading:first-child {
    margin-top: 0;
}

#sideNavigation a {
    display: block;
    padding: 9px 12px;
    margin: 1px 0;
    border-radius: 6px;
    color: #435367;
    font-size: 14px;
    transition: background .15s, color .15s;
}

#sideNavigation a:hover {
    color: var(--blue);
    background: #edf4fa;
}

.sidebar-footer {
    margin-top: auto;
    padding: 30px 10px 5px;
    color: #98a3af;
    font-size: 12px;
}

.content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 48px 24px;
}

.breadcrumb {
    color: #8a96a4;
    font-size: 12px;
    margin-bottom: 25px;
}

.hero {
    background: linear-gradient(120deg, #173653, #285b83);
    color: white;
    border-radius: 12px;
    padding: 45px;
    margin-bottom: 38px;
}

.eyebrow {
    color: #a9cce9;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hero h1 {
    margin: 10px 0;
    font-size: 32px;
    line-height: 1.25;
}

.hero p {
    max-width: 650px;
    color: #d4e1ec;
    margin-bottom: 0;
}

.section {
    margin-bottom: 38px;
}

.section h2 {
    font-size: 21px;
    margin: 0 0 19px;
    color: #1c3046;
}

.cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

.card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 9px;
    padding: 23px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 20px rgba(24,48,73,.08);
}

.card-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    background: #edf4fa;
    color: var(--blue);
    border-radius: 8px;
    font-size: 21px;
}

.card h3 {
    margin: 14px 0 5px;
    font-size: 17px;
}

.card p {
    margin: 0 0 15px;
    color: var(--muted);
    font-size: 13px;
}

.card-link {
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
}

.page-footer {
    border-top: 1px solid var(--border);
    margin-top: 55px;
    padding-top: 20px;
    color: #8995a2;
    font-size: 12px;
}

@media (max-width: 850px) {
    .content {
        padding: 28px 25px;
    }

    .sidebar {
        width: 240px;
        flex-basis: 240px;
    }
}

@media (max-width: 650px) {
    .topbar {
        height: 64px;
        padding: 0 15px;
        gap: 12px;
    }

    .menu-toggle {
        display: block;
    }

    .brand {
        gap: 9px;
        font-size: 16px;
    }

    .brand img {
        width: 120px;
        height: auto;
    }

    .brand span {
        padding-left: 9px;
    }

    .topbar-label {
        display: none;
    }

    .layout {
        display: block;
        min-height: calc(100vh - 64px);
    }

    .sidebar {
        display: none;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid var(--border);
        padding: 18px;
    }

    .sidebar.open {
        display: flex;
    }

    .content {
        padding: 22px 16px;
    }

    .hero {
        padding: 28px 23px;
        margin-bottom: 30px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card {
        padding: 20px;
    }
}

/* Active navigation item */
#sideNavigation a.active {
    color: var(--blue);
    background: #edf4fa;
    font-weight: 700;
}

/* News content */
.news-content {
    max-width: 1400px;
}

#newsFrame {
    display: block;
    width: 100%;
    min-height: 800px;
    border: 0;
    background: white;
}

@media (max-width: 650px) {
    #newsFrame {
        min-height: 1000px;
    }
}

/* White header */
.topbar {
    background: #ffffff;
    color: #173653;
    box-shadow: 0 2px 8px rgba(23, 54, 83, 0.10);
    border-bottom: 1px solid #e2e7ed;
}

.brand span {
    border-left-color: rgba(23, 54, 83, 0.25);
}

.topbar-label {
    color: #687789;
}

.menu-toggle {
    color: #173653;
}

.brand img {
    width: 150px;
    height: auto;
    display: block;
    object-fit: contain;
}

#contentFrame {
    display: block;
    width: 100%;
    min-height: 800px;
    border: 0;
    background: #fff;
}

@media (max-width: 650px) {
    #contentFrame {
        min-height: 1000px;
    }
}
