:root {
    --navy: #102747;
    --navy-deep: #091a30;
    --navy-soft: #1b3a60;
    --gold: #d9a928;
    --gold-light: #f5d477;
    --paper: #f6f4ee;
    --ink: #24364c;
    --muted: #738092;
    --line: #e6e1d5;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--paper); }
a { color: inherit; }

/* PUBLIC PORTAL TOP BAR */
.portal-topbar {
    height: 88px;
    position: sticky;
    top: 0;
    z-index: 100;

    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 34px;
    color: #fff;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(217,169,40,.55);
}
.portal-brand { min-width: 0; display: flex; align-items: center; gap: 14px; text-decoration: none; }
.portal-logo { width: 57px; height: 57px; flex: 0 0 57px; object-fit: contain; border-radius: 50%; background: #fff; padding: 4px; }
.portal-logo-fallback { display: grid; place-items: center; color: var(--gold); font-size: 27px; }
.portal-brand-text { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.portal-brand-text strong { max-width: 720px; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: 16px; font-weight: 600; line-height: 1.35; }
.portal-brand-text small { color: var(--gold-light); font-size: 11px; letter-spacing: .4px; }
.topbar-contact { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.topbar-contact a { color: #e8edf4; text-decoration: none; font-size: 12px; white-space: nowrap; }
.topbar-contact i { margin-right: 7px; color: var(--gold-light); }
.sidebar-toggle { display: none; border: 1px solid rgba(245,212,119,.4); background: transparent; color: var(--gold-light); border-radius: 4px; padding: 9px 11px; font-size: 17px; cursor: pointer; }

/* EXPANDABLE NAVIGATION RAIL */
.portal-shell { min-height: calc(100vh - 88px); }
.portal-sidebar {
    position: fixed; z-index: 25; top: 88px; bottom: 0; left: 0; width: 78px; overflow: hidden;
    display: flex; flex-direction: column; background: var(--navy); color: #fff;
    border-right: 1px solid rgba(217,169,40,.28); transition: width .28s ease, transform .28s ease;
}
.portal-sidebar:hover, .portal-sidebar:focus-within { width: 264px; box-shadow: 14px 0 35px rgba(7,22,40,.12); }
.sidebar-caption { padding: 29px 25px 17px; color: #aebbd0; font-size: 9px; font-weight: 700; letter-spacing: 2px; white-space: nowrap; opacity: 0; transition: opacity .18s ease; }
.portal-sidebar:hover .sidebar-caption, .portal-sidebar:focus-within .sidebar-caption { opacity: 1; }
.side-navigation { display: flex; flex-direction: column; padding: 0 10px; gap: 5px; }
.side-link { position: relative; min-height: 49px; display: flex; align-items: center; gap: 17px; padding: 0 14px; color: #d4dce8; text-decoration: none; border-radius: 5px; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.side-link:hover { color: #fff; background: rgba(255,255,255,.075); }
.side-link.active { color: var(--gold-light); background: rgba(217,169,40,.13); }
.side-link.active::before { content: ''; position: absolute; left: -10px; top: 9px; bottom: 9px; width: 3px; background: var(--gold); border-radius: 0 3px 3px 0; }
.side-icon { width: 22px; flex: 0 0 22px; display: inline-flex; justify-content: center; font-size: 16px; color: var(--gold-light); }
.side-label { flex: 1; font-size: 12px; letter-spacing: .1px; opacity: 0; transition: opacity .15s ease; }
.portal-sidebar:hover .side-label, .portal-sidebar:focus-within .side-label { opacity: 1; }
.side-arrow { color: #8190a6; font-size: 9px; opacity: 0; }
.portal-sidebar:hover .side-arrow, .portal-sidebar:focus-within .side-arrow { opacity: 1; }
.sidebar-divider { height: 1px; margin: 10px 9px; background: rgba(255,255,255,.11); }
.sidebar-bottom { display: flex; align-items: center; gap: 12px; margin-top: auto; padding: 18px 17px 22px; border-top: 1px solid rgba(255,255,255,.1); white-space: nowrap; }
.heritage-mark { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; border: 1px solid rgba(245,212,119,.55); border-radius: 50%; color: var(--gold-light); }
.sidebar-bottom div { display: flex; flex-direction: column; gap: 4px; opacity: 0; transition: opacity .15s ease; }
.portal-sidebar:hover .sidebar-bottom div, .portal-sidebar:focus-within .sidebar-bottom div { opacity: 1; }
.sidebar-bottom strong { color: #fff; font-size: 11px; }
.sidebar-bottom small { color: #aebbd0; font-size: 10px; }

/* MAIN CONTENT */
.portal-main { min-height: calc(100vh - 88px); margin-left: 78px; padding: 0 42px; transition: margin-left .28s ease; }
/* Push the page content aside while the desktop navigation rail expands. */
@media (min-width: 761px) {
    .portal-shell:has(.portal-sidebar:hover) .portal-main,
    .portal-shell:has(.portal-sidebar:focus-within) .portal-main {
        margin-left: 264px;
    }
}

.home-intro-row { max-width: 1390px; margin: auto; min-height: 62px; display: flex; align-items: center; justify-content: space-between; }
.home-breadcrumb { display: flex; align-items: center; gap: 10px; color: #9a9b98; font-size: 9px; letter-spacing: 1.5px; }
.home-breadcrumb strong { color: var(--navy); font-size: 9px; }
.home-breadcrumb i { color: var(--gold); font-size: 10px; }
.established-note { display: flex; align-items: center; gap: 8px; color: #687586; font-size: 10px; letter-spacing: .7px; text-transform: uppercase; }
.established-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(217,169,40,.15); }

/* EDITORIAL HERO */
.home-hero {
    position: relative; isolation: isolate; overflow: hidden; min-height: 430px; max-width: 1390px; margin: 0 auto;
    display: flex; align-items: center; background: var(--navy-deep) url('../images/bank-building.jpg') center 45%/cover no-repeat;
    box-shadow: 0 16px 38px rgba(14,31,52,.12);
}
.hero-image-shade {
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7,22,40,.88) 0%, rgba(7,22,40,.62) 42%, rgba(7,22,40,.16) 100%);
}
.hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding: 58px 7%;
    color: #fff;
}
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: #b48a25; font-size: 9px; font-weight: 700; letter-spacing: 2.3px; }
.eyebrow { color: var(--gold-light); }
.eyebrow span { width: 28px; height: 1px; background: var(--gold); }
.hero-copy h1 { margin: 24px 0 17px; color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(38px, 5vw, 66px); font-weight: 400; line-height: 1.08; letter-spacing: -.9px; }
.hero-copy h1 em, .heritage-heading h2 em, .discover-heading h2 em, .home-contact-band h2 em { color: var(--gold-light); font-weight: 400; }
.hero-copy p { max-width: 490px; margin: 0; color: #d8dfeb; font-size: 14px; line-height: 1.8; }
.hero-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 30px; padding-bottom: 9px; color: var(--gold-light); border-bottom: 1px solid rgba(245,212,119,.65); text-decoration: none; font-size: 12px; font-weight: 700; letter-spacing: .3px; }
.hero-link i { transition: transform .2s ease; }
.hero-link:hover i { transform: translateX(5px); }
.hero-year { position: absolute; right: 35px; bottom: 30px; display: flex; flex-direction: column; align-items: flex-end; color: #fff; }
.hero-year strong { font-family: Georgia, 'Times New Roman', serif; color: rgba(255,255,255,.82); font-size: 35px; font-weight: 400; }
.hero-year span { color: var(--gold-light); font-size: 8px; letter-spacing: 2px; }
.hero-index { position: absolute; right: 35px; top: 32px; display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75); font-size: 9px; letter-spacing: 1px; }
.hero-index span:first-child { color: var(--gold-light); }
.hero-index i { width: 34px; height: 1px; background: var(--gold); }

/* HERITAGE INTRO */
.heritage-strip { max-width: 1390px; margin: 0 auto; padding: 57px 5.5%; display: grid; grid-template-columns: 1fr 1.45fr auto; align-items: center; gap: 45px; border-bottom: 1px solid var(--line); }
.heritage-heading h2 { margin: 13px 0 0; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 30px; font-weight: 400; line-height: 1.2; }
.heritage-heading h2 em { color: #b58a25; }
.heritage-description p { margin: 0 0 15px; color: #647184; font-size: 13px; line-height: 1.85; }
.text-link { color: var(--navy); text-decoration: none; font-size: 11px; font-weight: 700; }
.text-link i { margin-left: 8px; color: #b58a25; }
.heritage-seal { width: 100px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #d8cba7; border-radius: 50%; color: #a77e20; text-align: center; }
.heritage-seal i { font-size: 24px; }
.heritage-seal span { font-size: 7px; font-weight: 700; line-height: 1.5; letter-spacing: 1px; }

/* QUICK LINKS */
.home-discover { max-width: 1390px; margin: 0 auto; padding: 52px 5.5% 66px; }
.discover-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin: 12px 0 25px; }
.discover-heading h2 { margin: 0; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 32px; font-weight: 400; }
.discover-heading h2 em { color: #b58a25; }
.discover-heading p { margin: 0 0 4px; color: var(--muted); font-size: 11px; }
.discover-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discover-card { position: relative; min-height: 205px; padding: 25px 22px 22px; text-decoration: none; border-right: 1px solid var(--line); transition: background .2s ease, transform .2s ease; }
.discover-card:first-child { border-left: 1px solid var(--line); }
.discover-card:hover { z-index: 1; background: #fff; transform: translateY(-4px); box-shadow: 0 12px 28px rgba(16,39,71,.07); }
.discover-icon { width: 40px; height: 40px; display: grid; place-items: center; color: #a77e20; background: #f0e8d5; border-radius: 50%; font-size: 16px; }
.discover-number { position: absolute; top: 29px; right: 20px; color: #b7b5ad; font-family: Georgia, 'Times New Roman', serif; font-size: 12px; }
.discover-card h3 { margin: 23px 0 8px; color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 17px; font-weight: 500; }
.discover-card p { max-width: 220px; margin: 0; color: #7a8593; font-size: 11px; line-height: 1.7; }
.card-arrow { position: absolute; right: 20px; bottom: 20px; color: #b58a25; font-size: 11px; }

/* CONTACT BAND AND FOOTER */
.home-contact-band { max-width: 1390px; margin: 0 auto 45px; padding: 35px 5.5%; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--navy); color: #fff; }
.home-contact-band h2 { margin: 10px 0 7px; font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; }
.home-contact-band h2 em { color: var(--gold-light); }
.home-contact-band p { margin: 0; color: #c2ccda; font-size: 11px; }
.contact-outline-link { display: inline-flex; align-items: center; gap: 17px; padding: 13px 17px; color: var(--gold-light); border: 1px solid rgba(245,212,119,.65); text-decoration: none; font-size: 11px; white-space: nowrap; transition: background .2s ease; }
.contact-outline-link:hover { background: rgba(217,169,40,.13); }
.portal-footer { max-width: 1390px; margin: 0 auto; padding: 0 5.5% 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; color: #778291; }
.portal-footer strong { color: var(--navy); font-family: Georgia, 'Times New Roman', serif; font-size: 13px; font-weight: 600; }
.portal-footer p { max-width: 600px; margin: 7px 0 0; font-size: 10px; line-height: 1.6; }
.footer-meta { display: flex; align-items: center; gap: 18px; font-size: 10px; white-space: nowrap; }
.footer-meta a { color: #8c6b20; text-decoration: none; }

/* MOBILE DRAWER */
.sidebar-backdrop { display: none; }
@media (max-width: 1050px) {
    .portal-main { padding: 0 25px; }
    .heritage-strip { gap: 25px; padding-left: 3%; padding-right: 3%; }
    .home-discover { padding-left: 3%; padding-right: 3%; }
    .discover-card { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 760px) {
    .portal-topbar { height: 76px; padding: 0 15px; gap: 12px; }
    .sidebar-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .portal-logo { width: 45px; height: 45px; flex-basis: 45px; }
    .portal-brand { gap: 9px; }
    .portal-brand-text strong { max-width: 230px; font-size: 11px; }
    .portal-brand-text small { font-size: 9px; }
    .topbar-contact { display: none; }
    .portal-sidebar { top: 76px; width: 275px; max-width: 84vw; transform: translateX(-105%); transition: transform .25s ease; box-shadow: none; }
    .portal-sidebar.sidebar-open { transform: translateX(0); box-shadow: 15px 0 35px rgba(7,22,40,.22); }
    .sidebar-caption, .side-label, .side-arrow, .sidebar-bottom div { opacity: 1; }
    .sidebar-backdrop.backdrop-visible { display: block; position: fixed; z-index: 20; inset: 76px 0 0; background: rgba(5,15,28,.48); }
    .portal-main { min-height: calc(100vh - 76px); margin-left: 0; padding: 0 15px; }
    .home-intro-row { min-height: 50px; }
    .home-breadcrumb { font-size: 8px; }
    .established-note { font-size: 8px; }
    .home-hero { min-height: 390px; background-position: 58% center; }
    .hero-image-shade { background: linear-gradient(90deg, rgba(7,22,40,.94), rgba(7,22,40,.62)); }
    .hero-copy { padding: 45px 25px; }
    .hero-copy h1 { font-size: clamp(37px, 10vw, 52px); }
    .hero-copy p { font-size: 12px; }
    .hero-year { right: 20px; bottom: 18px; }
    .hero-year strong { font-size: 25px; }
    .hero-index { right: 20px; top: 18px; }
    .heritage-strip { grid-template-columns: 1fr; gap: 20px; padding: 38px 8px; }
    .heritage-heading h2 { font-size: 27px; }
    .heritage-seal { display: none; }
    .discover-heading { display: block; }
    .discover-heading h2 { font-size: 28px; }
    .discover-heading p { margin-top: 8px; line-height: 1.6; }
    .discover-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .discover-card { min-height: 190px; padding: 20px 14px; border-bottom: 1px solid var(--line); }
    .discover-card:nth-child(odd) { border-left: 1px solid var(--line); }
    .discover-card h3 { font-size: 15px; }
    .home-contact-band { display: block; padding: 28px 22px; margin-bottom: 30px; }
    .home-contact-band h2 { font-size: 24px; }
    .contact-outline-link { margin-top: 20px; }
    .portal-footer { display: block; padding: 0 5px 25px; }
    .footer-meta { justify-content: space-between; margin-top: 16px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* EXISTING ABOUT PAGE IMAGE STYLES */
.about-bank-image { width: 100%; max-width: 650px; max-height: 380px; object-fit: cover; border-radius: 8px; margin: 15px 0 20px; display: block; border: 3px solid #f0f1f3; }
.about-description { font-size: 15px; line-height: 1.9; color: #39485c; text-align: justify; }

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #26364b;
    background: #f7f8fa;
}

/* HEADER */

.website-header {
    background: #102747;
    color: white;
    border-bottom: 4px solid #d9a928;
    position: relative;
    z-index: 100;
}

.header-container {
    max-width: 1250px;
    margin: auto;
    padding: 15px 20px;

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

.bank-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bank-logo,
.default-logo {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: contain;
    background: white;
    padding: 5px;
}

.default-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d9a928;
    font-size: 35px;
}

.bank-title h2 {
    margin: 0;
    font-size: 19px;
    line-height: 1.4;
}

.bank-title p {
    color: #f5d477;
    font-size: 12px;
    margin: 5px 0 0;
}

.header-contact {
    font-size: 13px;
    line-height: 2;
}

.header-contact i {
    color: #f5d477;
    margin-right: 7px;
}


/* NAVIGATION */

.website-nav {
    position: sticky;
    top: 0;
    background: #18385f;
    z-index: 90;
    border-bottom: 2px solid #d9a928;
}

.nav-container {
    max-width: 1250px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-container a {
    padding: 16px 13px;
    color: white;
    text-decoration: none;
    font-size: 13px;
    transition: 0.2s;
}

.nav-container a:hover,
.nav-container a.active {
    background: #d9a928;
    color: #102747;
    font-weight: bold;
}

.mobile-nav-toggle {
    display: none;
}


/* HERO */

.hero-section {
    min-height: 480px;
    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(8, 26, 48, 0.90),
            rgba(8, 26, 48, 0.35)
        ),
        url('../images/bank-building.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1250px;
    width: 100%;
    margin: auto;
    padding: 50px 30px;
    color: white;
}

.hero-label {
    color: #f5d477;
    letter-spacing: 3px;
    font-size: 13px;
    font-weight: bold;
}

.hero-content h1 {
    font-size: clamp(30px, 4vw, 46px);
    max-width: 750px;
    line-height: 1.2;
    margin: 18px 0;
}

.hero-content p {
    font-size: 18px;
}

.gold-button {
    display: inline-block;
    padding: 13px 23px;
    background: #d9a928;
    color: #102747;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 15px;
}

.gold-button:hover {
    background: #f5d477;
}


/* MAIN CONTENT */

.website-main {
    max-width: 1150px;
    margin: 35px auto;
    padding: 0 20px;
}

.website-section {
    background: white;
    padding: 30px;
    margin-bottom: 22px;
    border-radius: 8px;
    border: 1px solid #e5e9ef;
    scroll-margin-top: 75px;
}

.website-section h2 {
    color: #102747;
    font-size: 23px;
    border-left: 5px solid #d9a928;
    padding-left: 13px;
    margin-top: 0;
}

.website-section p {
    line-height: 1.8;
    font-size: 14px;
}


/* CONTACT */

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0;
}

.contact-details > div {
    background: #f5f7fa;
    padding: 20px;
    border-radius: 7px;
}

.contact-details i {
    font-size: 25px;
    color: #d9a928;
}

.contact-details h3 {
    color: #102747;
    font-size: 16px;
}


/* FOOTER */

.website-footer {
    background: #102747;
    color: white;
    padding: 35px 20px;
    text-align: center;
    border-top: 4px solid #d9a928;
}

.website-footer h3 {
    color: #f5d477;
}

.website-footer p {
    font-size: 12px;
    line-height: 1.7;
}


/* MOBILE */

@media(max-width: 800px) {

    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .bank-title h2 {
        font-size: 15px;
    }

    .bank-logo,
    .default-logo {
        width: 58px;
        height: 58px;
    }

    .header-contact {
        font-size: 12px;
    }

    .mobile-nav-toggle {
        display: block;
        width: 100%;
        padding: 13px;
        background: #18385f;
        border: none;
        color: white;
        font-size: 15px;
        text-align: left;
        cursor: pointer;
    }

    .nav-container {
        display: none;
        flex-direction: column;
    }

    .nav-container.show {
        display: flex;
    }

    .nav-container a {
        padding: 12px 20px;
    }

    .hero-section {
        min-height: 350px;
    }

    .hero-content h1 {
        font-size: 29px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .website-section {
        padding: 20px;
    }

}


/* ABOUT US PUBLIC SECTION */

.about-bank-image {
    width: 100%;
    max-width: 650px;
    max-height: 380px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0 20px;
    display: block;
    border: 3px solid #f0f1f3;
}

.about-description {
    font-size: 15px;
    line-height: 1.9;
    color: #39485c;
    text-align: justify;
}

/* Keep the new homepage palette while legacy page styles remain available. */
body.portal-body { background: var(--paper); color: var(--ink); }



/* DYNAMIC HOMEPAGE SLIDER */
.home-slider {
    position: relative;
    max-width: 1390px;
    margin: 0 auto;
}
.home-slider .home-hero { display: none; }
.home-slider .home-hero.is-current { display: flex; }
.home-slider .home-hero[style*="background-image"] {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.home-slider .home-hero .hero-year,
.home-slider .home-hero .hero-index {
    z-index: 1;
}
.slider-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border: 1px solid rgba(245,212,119,.65);
    border-radius: 50%;
    color: var(--gold-light);
    background: rgba(7,22,40,.55);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}
.slider-arrow:hover { color: var(--navy); background: var(--gold-light); }
.slider-prev { left: 18px; }
.slider-next { right: 18px; }
.slider-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}
.slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 20px;
    background: rgba(255,255,255,.45);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}
.slider-dot.active {
    width: 25px;
    border-color: var(--gold-light);
    background: var(--gold-light);
}
@media(max-width:760px) {
    .slider-arrow { width: 34px; height: 34px; }
    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }
    .slider-dots { bottom: 12px; }
}


/* SHARED PUBLIC WEBSITE FOOTER */
.site-footer {
    display: block; margin-top: 42px; padding: 30px 5.5% 18px;
    color: #fff; background: var(--navy-deep); border-top: 3px solid var(--gold);
}
.site-footer-main {
    display:flex; align-items:center; justify-content:space-between; gap:28px;
    max-width:1390px; margin:0 auto;
}
.site-footer-bank { min-width:0; }
.site-footer-kicker {
    display:block; margin-bottom:8px; color:var(--gold-light);
    font-size:9px; font-weight:700; letter-spacing:2px;
}
.site-footer-bank h2 {
    margin:0 0 10px; color:#fff;
    font:400 clamp(17px,2vw,22px)/1.4 Georgia,'Times New Roman',serif;
}
.site-footer-location {
    display:flex; align-items:flex-start; gap:9px; margin:0;
    color:#d4dce8; font-size:11px; line-height:1.7;
}
.site-footer-location i { margin-top:3px; color:var(--gold-light); }
.site-footer-map {
    display:inline-flex; flex:0 0 auto; align-items:center; gap:10px;
    padding:12px 16px; color:var(--gold-light);
    border:1px solid rgba(245,212,119,.55); text-decoration:none; font-size:11px;
    transition:background .2s,color .2s;
}
.site-footer-map:hover { color:var(--navy-deep); background:var(--gold-light); }
.site-footer-bottom {
    display:flex; justify-content:space-between; align-items:center; gap:14px;
    max-width:1390px; margin:24px auto 0; padding-top:15px;
    border-top:1px solid rgba(255,255,255,.16); color:#c7d1df; font-size:10px;
}
.site-footer-credit a { color:var(--gold-light); font-weight:600; text-decoration:none; }
.site-footer-credit a:hover { text-decoration:underline; }
@media (max-width:760px) {
    .site-footer { padding:25px 20px 16px; }
    .site-footer-main { align-items:flex-start; flex-direction:column; gap:18px; }
    .site-footer-map { align-self:flex-start; }
    .site-footer-bottom { align-items:flex-start; flex-direction:column; gap:8px; }
}


/* PUBLIC FOOTER: keep it inside portal-main so it moves with the expandable sidebar. */
.portal-main > .site-footer {
    display: block;
    width: 100%;
    max-width: none;
    margin: 42px 0 0;
    padding: 30px 5.5% 18px;
    box-sizing: border-box;
}
.portal-main > .site-footer .site-footer-main,
.portal-main > .site-footer .site-footer-bottom {
    width: 100%;
    max-width: 1390px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 760px) {
    .portal-main > .site-footer {
        margin-top: 30px;
        padding: 25px 20px 16px;
    }
}

/* GO TO TOP BUTTON */
.go-to-top {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 12px;
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.go-to-top:hover {
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

#pageTop {
    scroll-margin-top: 0;
}

/* Allow scrolling to lower sidebar navigation links */
.portal-sidebar {
    overflow-x: hidden;
    overflow-y: auto;
}