/*
Theme Name: Westbridge 2026
Theme URI: https://westbridge.sk/
Description: Modern bilingual child theme for Westbridge.
Author: Westbridge
Template: westbridge
Version: 1.0.3
Text Domain: westbridge-2026
*/

/* --------------------- Westbridge 2026 --------------------- */
:root {
    --wb-navy: #091381;
    --wb-navy-deep: #071052;
    --wb-blue: #2534ad;
    --wb-cyan: #2cc5f5;
    --wb-cyan-soft: #dff7ff;
    --wb-ink: #11183c;
    --wb-muted: #59617c;
    --wb-line: #dfe4f1;
    --wb-surface: #f5f7fc;
    --wb-white: #ffffff;
    --wb-radius: 20px;
    --wb-shadow: 0 18px 48px rgba(9, 19, 129, .10);
}

html { scroll-behavior: smooth; }
body {
    background: var(--wb-white);
    color: var(--wb-ink);
    font-family: 'Readex Pro', sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

body.admin-bar .wb-site-header { top: 32px; }
.wb-shell { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.wb-skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: #fff; color: var(--wb-navy); padding: 12px 18px; border-radius: 8px; }
.wb-skip-link:focus { top: 12px; }

.wb-site-header { position: sticky; top: 0; z-index: 1000; background: rgba(9, 19, 129, .98); box-shadow: 0 8px 28px rgba(4, 11, 67, .15); }
.wb-navbar { min-height: 82px; margin: 0; border: 0; border-radius: 0; background: transparent; }
.wb-nav-shell { display: flex; align-items: center; min-height: 82px; }
.wb-brand { display: flex; align-items: center; height: auto; padding: 0; margin-right: 40px; }
.wb-brand img { width: 190px; max-height: 44px; }
.wb-nav-collapse { display: flex !important; align-items: center; flex: 1; min-height: 82px; padding: 0; }
.wb-nav-list { display: flex; align-items: center; gap: 3px; margin: 0 auto 0 0; }
.wb-nav-list > li > a { color: #fff !important; font-size: 14px; font-weight: 500; padding: 30px 11px; background: transparent !important; }
.wb-nav-list > li > a:hover, .wb-nav-list > li.active > a, .wb-nav-list > li.current-menu-item > a { color: var(--wb-cyan) !important; }
.wb-nav-list .sub-menu { display: none; position: absolute; min-width: 280px; padding: 12px; margin: 0; list-style: none; background: #fff; border-radius: 14px; box-shadow: var(--wb-shadow); }
.wb-nav-list li:hover > .sub-menu, .wb-nav-list li:focus-within > .sub-menu { display: block; }
.wb-nav-list .sub-menu a { display: block; color: var(--wb-ink); padding: 10px 12px; border-radius: 8px; font-size: 14px; }
.wb-nav-list .sub-menu a:hover { color: var(--wb-navy); background: var(--wb-cyan-soft); }
.wb-nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 14px; }
.wb-lang-link { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #fff; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-size: 13px; font-weight: 600; }
.wb-lang-link:hover { color: var(--wb-navy); background: #fff; }
.wb-menu-toggle { margin: 20px 0; border-color: rgba(255,255,255,.35); }
.wb-menu-toggle .icon-bar { background: #fff; }

.wb2026 *, .wb-site-footer * { box-sizing: border-box; }
.wb2026 h1, .wb2026 h2, .wb2026 h3, .wb2026 h4 { color: var(--wb-ink); font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.wb2026 h1 { font-size: clamp(42px, 6vw, 78px); }
.wb2026 h2 { font-size: clamp(32px, 4vw, 50px); }
.wb2026 h3 { font-size: clamp(21px, 2.4vw, 28px); }
.wb2026 p { color: var(--wb-muted); }
.wb2026 a { color: var(--wb-navy); }
.wb2026 img { max-width: 100%; height: auto; }

.wb-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px; border: 1px solid var(--wb-navy); border-radius: 999px; background: var(--wb-navy); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.wb-button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(9,19,129,.18); }
.wb-button--nav { min-height: 44px; padding: 11px 18px; border-color: var(--wb-cyan); background: var(--wb-cyan); color: var(--wb-navy) !important; white-space: nowrap; }
.wb-button--light { border-color: #fff; background: #fff; color: var(--wb-navy) !important; }
.wb-button--ghost { background: transparent; color: var(--wb-navy) !important; }
.wb-button--ghost-light { border-color: rgba(255,255,255,.5); background: transparent; color: #fff !important; }

.wb-section { padding: 96px 0; }
.wb-section--soft { background: var(--wb-surface); }
.wb-section--dark { background: var(--wb-navy-deep); }
.wb-section--dark h2, .wb-section--dark h3, .wb-section--dark p { color: #fff; }
.wb-section-head { max-width: 780px; margin-bottom: 42px; }
.wb-section-head p { max-width: 680px; font-size: 18px; }
.wb-eyebrow { display: inline-block; margin-bottom: 16px; color: var(--wb-blue); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.wb-section--dark .wb-eyebrow, .wb-hero .wb-eyebrow { color: var(--wb-cyan); }

.wb-hero { position: relative; overflow: hidden; padding: 110px 0 90px; background: radial-gradient(circle at 85% 20%, rgba(44,197,245,.28), transparent 30%), linear-gradient(135deg, var(--wb-navy-deep), var(--wb-navy)); }
.wb-hero:after { content: ''; position: absolute; width: 520px; height: 520px; right: -180px; bottom: -320px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.wb-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(360px, .82fr); align-items: center; gap: 70px; }
.wb-hero h1 { max-width: 850px; margin: 0 0 24px; color: #fff; }
.wb-hero-copy > p { max-width: 700px; color: rgba(255,255,255,.82); font-size: 20px; }
.wb-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.wb-proof-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 30px 0 0; list-style: none; }
.wb-proof-list li { padding: 8px 12px; color: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; font-size: 13px; }
.wb-hero-visual { display: grid; gap: 14px; }
.wb-signal-card { padding: 22px 24px; border: 1px solid rgba(255,255,255,.17); border-radius: 18px; background: rgba(255,255,255,.10); backdrop-filter: blur(10px); color: #fff; }
.wb-signal-card:nth-child(2) { transform: translateX(-28px); }
.wb-signal-card strong { display: block; margin-bottom: 5px; color: #fff; font-size: 17px; }
.wb-signal-card span { color: rgba(255,255,255,.72); font-size: 14px; }

.wb-grid { display: grid; gap: 24px; }
.wb-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wb-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wb-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wb-card { display: flex; flex-direction: column; min-height: 100%; padding: 30px; border: 1px solid var(--wb-line); border-radius: var(--wb-radius); background: #fff; box-shadow: 0 8px 24px rgba(9,19,129,.04); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.wb-card:hover { transform: translateY(-4px); border-color: rgba(37,52,173,.24); box-shadow: var(--wb-shadow); }
.wb-card h3 { margin: 8px 0 12px; }
.wb-card p { margin-bottom: 20px; }
.wb-card .wb-text-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.wb-card .wb-text-link:after { content: ' →'; color: var(--wb-cyan); }
.wb-card--featured { border-color: var(--wb-cyan); background: linear-gradient(160deg, #fff, var(--wb-cyan-soft)); }
.wb-card-kicker { color: var(--wb-blue); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

.wb-bridge { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; }
.wb-bridge-panel { position: relative; min-height: 360px; border-radius: 28px; background: linear-gradient(145deg, var(--wb-navy), var(--wb-blue)); box-shadow: var(--wb-shadow); }
.wb-bridge-panel:before, .wb-bridge-panel:after { content: ''; position: absolute; border-radius: 18px; background: #fff; box-shadow: var(--wb-shadow); }
.wb-bridge-panel:before { width: 58%; height: 48%; left: 10%; top: 13%; }
.wb-bridge-panel:after { width: 48%; height: 42%; right: 8%; bottom: 10%; background: var(--wb-cyan-soft); }
.wb-check-list { display: grid; gap: 12px; padding: 0; margin: 26px 0 0; list-style: none; }
.wb-check-list li { position: relative; padding-left: 30px; color: var(--wb-muted); }
.wb-check-list li:before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--wb-blue); font-weight: 700; }

.wb-chip-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.wb-chip { display: inline-flex; padding: 12px 16px; border: 1px solid var(--wb-line); border-radius: 999px; background: #fff; color: var(--wb-ink) !important; font-weight: 500; text-decoration: none !important; }
.wb-chip:hover { border-color: var(--wb-cyan); background: var(--wb-cyan-soft); }

.wb-steps { counter-reset: wb-step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wb-step { counter-increment: wb-step; padding: 26px; border-top: 3px solid var(--wb-cyan); background: rgba(255,255,255,.07); border-radius: 0 0 16px 16px; }
.wb-step:before { content: '0' counter(wb-step); display: block; margin-bottom: 30px; color: var(--wb-cyan); font-size: 13px; font-weight: 700; }
.wb-step h3 { color: #fff; font-size: 21px; }
.wb-step p { color: rgba(255,255,255,.72); font-size: 14px; }

.wb-cta { padding: 62px; border-radius: 28px; background: linear-gradient(135deg, var(--wb-navy), var(--wb-blue)); color: #fff; }
.wb-cta h2, .wb-cta p { color: #fff; }
.wb-cta p { max-width: 720px; color: rgba(255,255,255,.78); font-size: 18px; }
.wb-cta .wb-hero-actions { margin-top: 26px; }

.wb-page-hero { padding: 86px 0 72px; background: radial-gradient(circle at 90% 10%, rgba(44,197,245,.22), transparent 28%), var(--wb-navy-deep); }
.wb-page-hero h1 { max-width: 900px; margin: 18px 0; color: #fff; }
.wb-page-hero p { max-width: 780px; color: rgba(255,255,255,.78); font-size: 19px; }
.wb-page-hero--compact { padding: 68px 0 54px; }
.wb-breadcrumbs { display: flex; gap: 8px; color: rgba(255,255,255,.7); font-size: 13px; }
.wb-breadcrumbs a { color: var(--wb-cyan); }
.wb-page-content > .wb-section:first-child { padding-top: 80px; }
.wb-sticky-nav { position: sticky; top: 82px; z-index: 50; overflow-x: auto; padding: 14px 0; border-bottom: 1px solid var(--wb-line); background: rgba(255,255,255,.96); }
.wb-sticky-nav .wb-shell { display: flex; gap: 20px; white-space: nowrap; }
.wb-sticky-nav a { color: var(--wb-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
.wb-sticky-nav a:hover { color: var(--wb-navy); }

.wb-site-footer { padding: 72px 0 24px; background: var(--wb-navy-deep); color: rgba(255,255,255,.74); }
.wb-footer-grid { display: grid; grid-template-columns: 1.55fr 1fr 1fr 1fr; gap: 50px; }
.wb-footer-logo img { width: 185px; }
.wb-footer-brand p { max-width: 390px; margin-top: 22px; color: rgba(255,255,255,.67); font-size: 14px; }
.wb-site-footer h2 { margin: 6px 0 20px; color: #fff; font-size: 15px; font-weight: 600; letter-spacing: .03em; }
.wb-site-footer ul { padding: 0; margin: 0; list-style: none; }
.wb-site-footer li { margin-bottom: 10px; }
.wb-site-footer a { color: rgba(255,255,255,.72); font-size: 14px; text-decoration: none; }
.wb-site-footer a:hover { color: var(--wb-cyan); }
.wb-footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.13); font-size: 12px; }

@media (max-width: 1199px) {
    .wb-nav-list > li > a { padding-left: 8px; padding-right: 8px; font-size: 13px; }
    .wb-button--nav { padding-left: 14px; padding-right: 14px; font-size: 13px; }
    .wb-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 991px) {
    body.admin-bar .wb-site-header { top: 46px; }
    .wb-shell { width: min(100% - 32px, 760px); }
    .wb-navbar, .wb-nav-shell { min-height: 72px; }
    .wb-nav-shell { display: block; position: relative; padding-top: 14px; }
    .wb-brand img { width: 170px; }
    .wb-menu-toggle { display: block; position: absolute; right: 0; top: 0; }
    .wb-nav-collapse { display: none !important; min-height: auto; padding: 18px 0 24px; border: 0; box-shadow: none; }
    .wb-nav-collapse.in { display: block !important; }
    .wb-nav-list { display: block; width: 100%; }
    .wb-nav-list > li > a { padding: 11px 0; font-size: 15px; }
    .wb-nav-list .sub-menu { display: block; position: static; padding: 0 0 8px 16px; background: transparent; box-shadow: none; }
    .wb-nav-list .sub-menu a { color: rgba(255,255,255,.72); padding: 7px 0; }
    .wb-nav-actions { margin: 14px 0 0; }
    .wb-hero-grid, .wb-bridge { grid-template-columns: 1fr; }
    .wb-hero-visual { max-width: 620px; }
    .wb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wb-sticky-nav { top: 72px; }
}

@media (max-width: 767px) {
    .wb-shell { width: min(100% - 28px, 620px); }
    .wb-section { padding: 70px 0; }
    .wb-hero { padding: 78px 0 68px; }
    .wb-hero-grid { gap: 48px; }
    .wb-hero h1 { font-size: clamp(40px, 12vw, 58px); }
    .wb-hero-copy > p { font-size: 17px; }
    .wb-signal-card:nth-child(2) { transform: none; }
    .wb-grid--2, .wb-grid--3, .wb-grid--4 { grid-template-columns: 1fr; }
    .wb-steps { grid-template-columns: 1fr; }
    .wb-cta { padding: 38px 26px; }
    .wb-footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .wb-footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { transition: none !important; animation: none !important; }
}

/* Layout hardening against Bootstrap styles inherited from the parent theme. */
.wb-site-header {
    height: auto !important;
    min-height: 88px;
    background: linear-gradient(135deg, var(--wb-navy-deep), var(--wb-navy));
}
.wb-button { line-height: 1.2; text-align: center; }
.wb2026 h1, .wb2026 h2, .wb2026 h3, .wb2026 h4 { margin-top: 0; }
.wb-section-head h2 { margin-bottom: 18px; }
.wb-section--dark .wb-card h3 { color: var(--wb-ink); }
.wb-section--dark .wb-card p { color: var(--wb-muted); }

@media (min-width: 992px) {
    .wb-site-header .wb-navbar {
        height: 88px !important;
        min-height: 88px !important;
        padding: 0 !important;
    }
    .wb-site-header .wb-nav-shell {
        display: flex !important;
        align-items: center !important;
        height: 88px !important;
        min-height: 88px !important;
    }
    .wb-site-header .wb-brand {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        height: 88px !important;
        margin: 0 36px 0 0 !important;
    }
    .wb-site-header .wb-nav-collapse.collapse {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        height: 88px !important;
        min-height: 88px !important;
        padding: 0 !important;
    }
    .wb-site-header .wb-nav-list {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        height: 88px !important;
        padding: 0 !important;
        margin: 0 auto 0 0 !important;
    }
    .wb-site-header .wb-nav-list > li { float: none !important; }
    .wb-site-header .wb-nav-list > li > a {
        display: flex;
        align-items: center;
        height: 88px;
        padding-top: 0;
        padding-bottom: 0;
    }
    .wb-site-header .wb-nav-actions {
        flex: 0 0 auto;
        align-items: center !important;
        height: 88px;
        margin: 0 0 0 14px !important;
    }
}

@media (max-width: 991px) {
    .wb-site-header { min-height: 72px; }
    .wb-site-header .wb-brand { float: none !important; }
    .wb-site-header .wb-nav-list { float: none !important; padding: 0 !important; margin: 0 !important; }
    .wb-site-header .wb-nav-actions { align-items: stretch; }
    .wb-site-header .wb-button--nav { justify-content: center; }
}

/* WB mobile accordion navigation */
.wb-submenu-toggle { display: none; }
@media (max-width: 991px) {
    body.wb-mobile-menu-open { overflow: hidden; }

    .wb-site-header .wb-nav-shell { position: relative; }

    body .wb-site-header .wb-nav-shell > .wb-nav-collapse {
        position: absolute !important;
        top: 72px !important;
        left: 50% !important;
        right: auto !important;
        width: 100vw !important;
        max-height: calc(100vh - 72px) !important;
        max-height: calc(100dvh - 72px) !important;
        margin: 0 !important;
        padding: 10px 20px 18px !important;
        transform: translateX(-50%);
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
        border: 0 !important;
        border-bottom: 3px solid var(--wb-cyan) !important;
        background: linear-gradient(160deg, var(--wb-navy-deep), var(--wb-navy)) !important;
        box-shadow: 0 18px 34px rgba(4, 11, 67, .28) !important;
        text-align: left !important;
    }

    .wb-site-header .wb-nav-list {
        display: block !important;
        width: 100% !important;
    }

    .wb-site-header .wb-nav-list > li {
        position: relative;
        float: none !important;
        padding: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, .11);
    }

    .wb-site-header .wb-nav-list > li:last-child { border-bottom: 0; }

    .wb-site-header .wb-nav-list > li > a {
        display: block !important;
        width: 100%;
        padding: 12px 4px !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 600;
        line-height: 1.3;
        text-align: left;
    }

    .wb-site-header .wb-nav-list > li.wb-has-submenu > a { padding-right: 52px !important; }

    .wb-site-header .wb-nav-list .sub-menu {
        display: none !important;
        position: static !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 0 10px 16px !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

    .wb-site-header .wb-nav-list > li.wb-submenu-open > .sub-menu { display: block !important; }

    .wb-site-header .wb-nav-list .sub-menu li {
        padding: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, .07);
    }

    .wb-site-header .wb-nav-list .sub-menu a {
        display: block;
        padding: 10px 8px !important;
        border-radius: 8px;
        color: rgba(255, 255, 255, .78) !important;
        font-size: 14px !important;
        line-height: 1.35;
        text-align: left;
    }

    .wb-site-header .wb-nav-list .sub-menu a:hover,
    .wb-site-header .wb-nav-list .sub-menu a:focus,
    .wb-site-header .wb-nav-list .sub-menu .active > a,
    .wb-site-header .wb-nav-list .sub-menu .current-menu-item > a {
        background: rgba(44, 197, 245, .12) !important;
        color: #fff !important;
    }

    .wb-submenu-toggle {
        position: absolute;
        top: 2px;
        right: 0;
        z-index: 2;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 40px;
        padding: 0;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #fff;
        appearance: none;
    }

    .wb-submenu-toggle:hover,
    .wb-submenu-toggle:focus {
        outline: 0;
        background: rgba(255, 255, 255, .11);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
    }

    .wb-submenu-toggle:focus-visible { outline: 2px solid var(--wb-cyan); outline-offset: 2px; }

    .wb-submenu-toggle-icon {
        width: 9px;
        height: 9px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform .18s ease;
    }

    .wb-submenu-toggle[aria-expanded="true"] .wb-submenu-toggle-icon {
        transform: translateY(2px) rotate(225deg);
    }

    .wb-site-header .wb-nav-actions {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center !important;
        gap: 12px;
        margin: 14px 0 0 !important;
        padding-top: 14px;
        border-top: 1px solid rgba(255, 255, 255, .16);
    }

    .wb-site-header .wb-lang-link {
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .wb-site-header .wb-button--nav {
        width: 100%;
        min-height: 44px;
        padding: 10px 16px;
    }

    .wb-menu-toggle {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        padding: 10px !important;
        border-radius: 10px;
        transition: background .18s ease, border-color .18s ease;
    }

    .wb-menu-toggle:hover,
    .wb-menu-toggle:focus {
        outline: 0;
        border-color: rgba(255, 255, 255, .65) !important;
        background: rgba(255, 255, 255, .10) !important;
    }

    .wb-menu-toggle:focus-visible { outline: 2px solid var(--wb-cyan); outline-offset: 2px; }

    .wb-menu-toggle .icon-bar {
        transform-origin: center;
        transition: transform .2s ease, opacity .15s ease;
    }

    .wb-menu-toggle[aria-expanded="true"] .icon-bar:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
    .wb-menu-toggle[aria-expanded="true"] .icon-bar:nth-of-type(3) { opacity: 0; }
    .wb-menu-toggle[aria-expanded="true"] .icon-bar:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
}

/* Keep both language menus within compact desktop widths. */
@media (min-width: 992px) and (max-width: 1199px) {
  .wb-site-header .wb-brand { margin-right: 16px !important; flex-shrink: 0; }
  .wb-site-header .wb-brand img { width: 150px; }
  .wb-site-header .wb-nav-list { gap: 0; }
  .wb-site-header .wb-nav-list > li > a { padding-left: 6px; padding-right: 6px; font-size: 12px; white-space: nowrap; }
  .wb-site-header .wb-nav-actions { margin-left: 8px !important; gap: 8px; }
  .wb-site-header .wb-lang-link { width: 36px; height: 36px; }
  .wb-site-header .wb-button--nav { padding-left: 12px; padding-right: 12px; font-size: 12px; }
}

/* WB shared colour and contrast fixes — 2026-10-16 */
body .wb-site-header,
body .wb-site-footer,
body .wb-hero,
body .wb-page-hero,
body .wbn-hero,
body .wba-hero,
body .wbs-hero,
body .wbp-hero,
body .wbh-hero,
body .wbc-hero,
body .wbgm-hero,
body .wbi-archive-hero,
body .wbi-single-hero,
body .wbn-final-cta,
body .wba-final-cta,
body .wbs-final-cta,
body .wbp-final-cta,
body .wbh-final-cta,
body .wb-cta,
body .wb-section--dark {
  background: #071052 !important;
}
body .wbn-hero::before { background: none !important; }
body .wb-site-header { box-shadow: none; }
body .wb-site-header .wb-button--nav {
  background: #fff !important;
  border-color: #fff !important;
  color: #071052 !important;
}
body .wb-site-header .wb-button--nav:hover,
body .wb-site-header .wb-button--nav:focus-visible {
  background: #dff7ff !important;
  border-color: #dff7ff !important;
  color: #071052 !important;
}
body .wb-button--ghost-light:hover,
body .wb-button--ghost-light:focus-visible {
  background: #fff !important;
  border-color: #fff !important;
  color: #071052 !important;
}
/* The accounting status card is a light surface, not a translucent hero card. */
body .wba-hero aside.wba-month-card {
  padding: 0 !important;
  background: #fff !important;
  color: #11183c;
  border: 1px solid #dfe4f1;
  backdrop-filter: none;
}
body .wba-month-card .wba-month-head strong,
body .wba-month-card .wba-month-row strong,
body .wba-month-card .wba-month-foot strong { color: #11183c; }
body .wba-month-card .wba-month-head span,
body .wba-month-card .wba-month-row span,
body .wba-month-card .wba-month-foot span { color: #59617c; }
body .wba-month-card .wba-month-row.is-active { background: #eaf7fc; }
body .wba-month-card .wba-month-foot { background: #f5f7fc; }
body .wba-hero .wba-hero-note { color: #c8d3eb !important; }
body .wba-hero:has(> .wba-hero-grid) { padding-top: 0; padding-bottom: 0; }
/* Cookie plugin writes inline white backgrounds: override only the footer link. */
body .wb-site-footer .cli_settings_button {
  background: transparent !important;
  color: #dce5fa !important;
  border: 0;
  box-shadow: none;
}
body .wb-site-footer .cli_settings_button:hover,
body .wb-site-footer .cli_settings_button:focus-visible {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 991px) {
  body .wb-site-header .wb-nav-shell > .wb-nav-collapse { background: #071052 !important; }
}
