/* Shared FBL24 header, utility drawer and Home-style footer. */

body.fbl24-clean-ui {
    --fbl24-chrome-green: #07943f;
    --fbl24-chrome-green-dark: #057a35;
    --fbl24-chrome-navy: #071326;
    --fbl24-chrome-muted: #65758b;
    --fbl24-chrome-line: #dce5ef;
    --fbl24-chrome-shadow: 0 18px 42px rgba(15, 23, 42, .12);
}

body.fbl24-clean-ui.fbl24-drawer-open {
    overflow: hidden;
}

body.fbl24-clean-ui .fbl24-main-header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 9990;
    border-bottom: 1px solid var(--fbl24-chrome-line);
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Top utility strip (Download App / Follow Us / language) */
body.fbl24-clean-ui .fbl24-topbar {
    border-bottom: 1px solid var(--fbl24-chrome-line);
    background: var(--fbl24-chrome-navy);
    color: #e6edf6;
}

body.fbl24-clean-ui .fbl24-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(100% - 40px, 1500px);
    margin: 0 auto;
    min-height: 34px;
    font-size: 12.5px;
    font-weight: 600;
}

body.fbl24-clean-ui .fbl24-topbar-download {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e6edf6;
}

body.fbl24-clean-ui .fbl24-topbar-download:hover,
body.fbl24-clean-ui .fbl24-topbar-download:focus-visible {
    color: #fff;
}

body.fbl24-clean-ui .fbl24-topbar-download i {
    color: var(--fbl24-chrome-green);
}

body.fbl24-clean-ui .fbl24-topbar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

body.fbl24-clean-ui .fbl24-topbar-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.fbl24-clean-ui .fbl24-topbar-label {
    color: #9fb0c5;
    font-weight: 700;
}

body.fbl24-clean-ui .fbl24-topbar-social a,
body.fbl24-clean-ui .fbl24-topbar-social button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, .08);
    color: #e6edf6;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

body.fbl24-clean-ui .fbl24-topbar-social a:hover,
body.fbl24-clean-ui .fbl24-topbar-social button:hover,
body.fbl24-clean-ui .fbl24-topbar-social a:focus-visible,
body.fbl24-clean-ui .fbl24-topbar-social button:focus-visible {
    background: var(--fbl24-chrome-green);
    color: #fff;
}

body.fbl24-clean-ui .fbl24-topbar-language {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    background: transparent;
    color: #e6edf6;
    font: inherit;
    cursor: pointer;
}

body.fbl24-clean-ui .fbl24-topbar-language:hover,
body.fbl24-clean-ui .fbl24-topbar-language:focus-visible {
    border-color: var(--fbl24-chrome-green);
    color: #fff;
}

@media (max-width: 720px) {
    body.fbl24-clean-ui .fbl24-topbar-label {
        display: none;
    }
}

@media (max-width: 520px) {
    body.fbl24-clean-ui .fbl24-topbar-download span {
        display: none;
    }
}

body.fbl24-clean-ui .fbl24-header-inner {
    grid-template-columns: 190px minmax(360px, 1fr) auto;
    gap: 28px;
    width: min(100% - 40px, 1500px);
    min-height: 86px;
    padding: 0;
}

body.fbl24-clean-ui .fbl24-brand {
    gap: 11px;
}

body.fbl24-clean-ui .fbl24-brand-logo {
    width: 50px;
    height: 50px;
    border: 1px solid #172033;
    border-radius: 13px;
    background: #061126;
    box-shadow: 0 10px 22px rgba(7, 19, 38, .16);
    object-fit: cover;
}

body.fbl24-clean-ui .fbl24-brand-name {
    font-size: 35px;
}

body.fbl24-clean-ui .fbl24-primary-nav {
    gap: 32px;
}

body.fbl24-clean-ui .fbl24-menu-btn {
    display: inline-flex !important;
    flex: 0 0 auto;
}

body.fbl24-clean-ui .fbl24-account-link {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.fbl24-clean-ui .fbl24-header-search {
    position: relative;
}

body.fbl24-clean-ui .fbl24-header-search .fbl24-master-search-clear {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    color: #64748b;
}

.fbl24-master-search-clear[hidden],
.fbl24-master-search-panel[hidden] {
    display: none !important;
}

.fbl24-master-search-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 10010;
    width: min(720px, calc(100vw - 32px));
    max-height: min(680px, calc(100vh - 130px));
    overflow-y: auto;
    border: 1px solid var(--fbl24-chrome-line);
    border-radius: 18px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .2);
    color: var(--fbl24-chrome-navy);
}

.fbl24-master-search-top {
    margin-bottom: 12px;
    padding: 12px;
    border: 1px solid #dcefe3;
    border-radius: 14px;
    background: #f7fcf9;
}

.fbl24-master-search-top > span,
.fbl24-master-search-group h3 {
    display: block;
    margin: 0 0 8px;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fbl24-master-search-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.fbl24-master-search-group {
    min-width: 0;
    padding: 10px;
    border: 1px solid #e5ebf2;
    border-radius: 14px;
}

.fbl24-master-search-row {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 11px;
    align-items: center;
    min-height: 58px;
    border-radius: 10px;
    color: var(--fbl24-chrome-navy);
    padding: 7px;
    text-decoration: none;
}

.fbl24-master-search-row:hover,
.fbl24-master-search-row:focus-visible {
    background: #edf9f1;
}

.fbl24-master-search-image {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e1e8f0;
    border-radius: 11px;
    background: #fff;
    color: var(--fbl24-chrome-green-dark);
    font-size: 12px;
    font-weight: 900;
}

.fbl24-master-search-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.fbl24-master-search-row strong,
.fbl24-master-search-row small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fbl24-master-search-row strong {
    font-size: 14px;
}

.fbl24-master-search-row small {
    margin-top: 4px;
    color: #64748b;
    font-size: 11px;
}

.fbl24-master-search-state {
    display: grid;
    gap: 5px;
    min-height: 92px;
    place-content: center;
    color: #64748b;
    text-align: center;
}

.fbl24-master-search-state strong {
    color: var(--fbl24-chrome-navy);
}

.fbl24-master-search-state.is-error strong {
    color: #be123c;
}

.fbl24-master-search-all {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    border-radius: 11px;
    background: var(--fbl24-chrome-green);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.fbl24-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 9995;
    border: 0;
    background: rgba(2, 10, 24, .56);
    opacity: 0;
    cursor: pointer;
    transition: opacity .22s ease;
    backdrop-filter: blur(3px);
}

.fbl24-drawer-overlay.is-open {
    opacity: 1;
}

.fbl24-site-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 9996;
    display: flex;
    width: min(430px, 100%);
    height: 100dvh;
    flex-direction: column;
    border-left: 1px solid rgba(220, 229, 239, .9);
    background: #fff;
    box-shadow: -24px 0 60px rgba(4, 15, 34, .18);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform .24s ease, visibility .24s ease;
}

.fbl24-site-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

.fbl24-drawer-head {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--fbl24-chrome-line);
}

.fbl24-drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--fbl24-chrome-navy);
    font-family: Outfit, system-ui, sans-serif;
    font-size: 28px;
    font-weight: 900;
    text-decoration: none;
}

.fbl24-drawer-brand img {
    width: 46px;
    height: 46px;
    border: 1px solid #172033;
    border-radius: 12px;
    object-fit: cover;
}

.fbl24-drawer-brand b {
    color: var(--fbl24-chrome-green);
}

.fbl24-drawer-close {
    display: inline-grid;
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--fbl24-chrome-line);
    border-radius: 13px;
    background: #f8fafc;
    color: var(--fbl24-chrome-navy);
    cursor: pointer;
    font-size: 22px;
}

.fbl24-drawer-body {
    display: grid;
    gap: 18px;
    overflow-y: auto;
    padding: 22px;
}

.fbl24-drawer-search {
    position: relative;
    display: none;
    grid-template-columns: minmax(0, 1fr) 42px 48px;
    min-height: 50px;
    overflow: hidden;
    border: 1px solid var(--fbl24-chrome-line);
    border-radius: 13px;
    background: #f8fafc;
}

.fbl24-drawer-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    padding: 0 14px;
}

.fbl24-drawer-search button {
    border: 0;
    background: transparent;
    color: var(--fbl24-chrome-navy);
    cursor: pointer;
}

.fbl24-drawer-search .fbl24-master-search-clear {
    width: 42px;
}

.fbl24-drawer-search .fbl24-master-search-panel {
    position: static;
    grid-column: 1 / -1;
    width: 100%;
    max-height: 55vh;
    margin-top: 8px;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: none;
}

.fbl24-drawer-nav {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
}

.fbl24-drawer-nav a,
.fbl24-drawer-section > a,
.fbl24-drawer-language {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 12px;
    border: 1px solid #e4eaf1;
    border-radius: 12px;
    background: #fff;
    color: var(--fbl24-chrome-navy);
    padding: 0 14px;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
}

.fbl24-drawer-nav a.is-active {
    border-color: #b9e5c8;
    background: #eaf8ef;
    color: var(--fbl24-chrome-green-dark);
}

.fbl24-drawer-section {
    display: grid;
    gap: 9px;
    padding: 17px;
    border: 1px solid var(--fbl24-chrome-line);
    border-radius: 18px;
    background: #fbfcfe;
}

.fbl24-drawer-section h2 {
    margin: 0 0 4px;
    color: var(--fbl24-chrome-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fbl24-drawer-section > a:hover,
.fbl24-drawer-section > a:focus-visible,
.fbl24-drawer-language:hover,
.fbl24-drawer-language:focus-visible {
    border-color: #a9dfbb;
    color: var(--fbl24-chrome-green-dark);
}

.fbl24-drawer-language {
    width: 100%;
    cursor: pointer;
}

.fbl24-drawer-social {
    display: flex;
    gap: 10px;
}

.fbl24-drawer-social a,
.fbl24-drawer-social button {
    display: inline-grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid var(--fbl24-chrome-line);
    border-radius: 12px;
    background: #fff;
    color: var(--fbl24-chrome-navy);
    cursor: pointer;
    font-size: 17px;
    text-decoration: none;
}

.fbl24-drawer-account {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.fbl24-drawer-account a {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--fbl24-chrome-green);
    border-radius: 12px;
    background: #fff;
    color: var(--fbl24-chrome-green-dark);
    font-weight: 900;
    text-decoration: none;
}

.fbl24-drawer-account a.is-primary {
    background: var(--fbl24-chrome-green);
    color: #fff;
}

.fbl24-drawer-account a.is-danger {
    border-color: #efb4bb;
    color: #bd1e35;
}

.fbl24-chrome-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 10020;
    max-width: min(360px, calc(100% - 32px));
    padding: 13px 17px;
    border-radius: 12px;
    background: #071326;
    color: #fff;
    box-shadow: var(--fbl24-chrome-shadow);
    opacity: 0;
    transform: translateY(12px);
    transition: .18s ease;
    pointer-events: none;
    font-weight: 750;
}

.fbl24-chrome-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Home footer, shared by every PHP template. */
.site-footer {
    margin-top: 42px;
    color: #e5edf7;
    font-family: Inter, Outfit, system-ui, sans-serif;
}

.footer-feature-strip {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto 38px;
}

.footer-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    padding: 28px 36px;
    border: 1px solid rgba(225, 232, 240, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 26px rgba(15, 32, 56, .09);
}

.footer-feature {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
    min-width: 0;
}

.footer-feature-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 1px solid #e5ecf4;
    border-radius: 50%;
    background: #fff;
    color: var(--fbl24-chrome-green);
    box-shadow: 0 14px 25px rgba(15, 32, 56, .07);
}

.footer-feature-icon svg,
.footer-language svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.footer-feature h2 {
    margin: 2px 0 8px;
    color: var(--fbl24-chrome-navy);
    font-size: 18px;
}

.footer-feature p {
    margin: 0;
    color: #40506a;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.6;
}

.footer-main,
.footer-bottom {
    background: radial-gradient(circle at top left, rgba(7, 150, 59, .12), transparent 34rem), linear-gradient(135deg, #071326, #091b34 55%, #071426);
}

.footer-main-inner,
.footer-bottom-inner {
    width: min(1440px, calc(100% - 64px));
    margin: 0 auto;
}

.footer-main-inner {
    display: grid;
    grid-template-columns: minmax(230px, 1.25fr) repeat(3, minmax(145px, .8fr)) minmax(250px, 1.2fr);
    gap: 38px;
    padding: 64px 0 54px;
}

.footer-brand-col,
.footer-link-col,
.footer-newsletter {
    min-width: 0;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    color: #fff;
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

body.fbl24-clean-ui .footer-brand {
    align-items: center;
    gap: 7px;
}

.footer-brand img {
    width: 58px;
    height: 58px;
    margin-right: 5px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    object-fit: cover;
}

body.fbl24-clean-ui .footer-brand img {
    width: 58px;
    height: 58px;
    margin-right: 5px;
    border-radius: 14px;
    object-fit: cover;
}

.footer-brand span {
    color: #fff;
}

.footer-brand b {
    color: #16b755;
}

.footer-brand-col p,
.footer-newsletter p {
    margin: 0;
    color: #c9d4e4;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
}

.footer-brand-col .footer-tagline {
    margin-bottom: 22px;
    color: #f7fbff;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.footer-social button {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    cursor: pointer;
    font-weight: 900;
}

.footer-link-col,
.footer-newsletter {
    display: grid;
    align-content: start;
    gap: 14px;
}

.footer-link-col h2,
.footer-newsletter h2 {
    position: relative;
    margin: 0 0 17px;
    padding-bottom: 18px;
    color: #fff;
    font-size: 18px;
}

.footer-link-col h2::after,
.footer-newsletter h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 42px;
    height: 3px;
    border-radius: 999px;
    background: var(--fbl24-chrome-green);
    content: "";
}

.footer-link-col a {
    color: #edf5ff;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
}

.footer-link-col a:hover,
.footer-link-col a:focus-visible {
    color: #32d26b;
}

.footer-newsletter-form {
    display: grid;
    gap: 13px;
    margin-top: 24px;
}

.footer-newsletter-form input {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    border: 1px solid rgba(221, 231, 244, .22);
    border-radius: 9px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    outline: 0;
}

.footer-newsletter-form button {
    min-height: 52px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(135deg, #12b750, #08a43f);
    color: #fff;
    cursor: pointer;
    font-weight: 850;
}

.footer-note {
    min-height: 18px;
    color: #a7b5c8;
    font-size: 12px;
}

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

.footer-bottom-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 28px;
    min-height: 106px;
    align-items: center;
    padding: 22px 0;
}

.footer-bottom p {
    margin: 0;
    color: #c5d0df;
    font-size: 14px;
}

.footer-trust {
    display: flex;
    gap: 24px;
    color: #cbd6e4;
    font-size: 14px;
    font-weight: 750;
    white-space: nowrap;
}

.footer-language {
    position: relative;
}

.footer-language > button {
    display: inline-flex;
    min-width: 145px;
    height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(221, 231, 244, .22);
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    cursor: pointer;
}

.footer-language svg {
    width: 18px;
    height: 18px;
}

.footer-language .topbar-dropdown {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    min-width: 150px;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
}

.footer-language .topbar-dropdown button {
    width: 100%;
    min-height: 38px;
    border: 0;
    background: transparent;
    color: var(--fbl24-chrome-navy);
    text-align: left;
}

@media (max-width: 1280px) {
    body.fbl24-clean-ui .fbl24-header-inner {
        grid-template-columns: 175px minmax(330px, 1fr) auto;
        gap: 18px;
    }

    body.fbl24-clean-ui .fbl24-primary-nav {
        gap: 22px;
    }

    body.fbl24-clean-ui .fbl24-header-search {
        width: min(300px, 25vw);
    }

    .footer-main-inner {
        grid-template-columns: 1.1fr repeat(2, minmax(150px, .8fr));
    }

    .footer-newsletter {
        gri