/*****
Theme Name: MBFC Header + Selected Pages Child
Theme URI: https://mhthemes.com/themes/mh-newsdesk/
Description: This is a child theme for MH Newsdesk WordPress theme to make customizations much easier for you. By using this child theme you make sure, that you keep your changes after an update of the parent theme.
Author: MH Themes
Author URI: http://www.mhthemes.com/
Template: mh-newsdesk
Version: 2.1.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*****/

/* ============================================================
   MBFC header/menu styling graft — header shown sitewide only.
   Does not modify content below the header.
   ============================================================ */
:root {
    --mbfc-v915-navy: #0b1828;
    --mbfc-v915-navy-2: #162540;
    --mbfc-v915-red: #d92b2b;
    --mbfc-v915-red-hi: #b91c1c;
    --mbfc-v915-green: #16A34A;
    --mbfc-v915-text: #1A2E4A;
    --mbfc-v915-border: #E2E8F0;
    --mbfc-v915-max: 1280px;
}
body.mbfc-2026 .mbfc-sitewide-header,
body.mbfc-2026 .mh-header.mbfc-sitewide-header {
    position: relative !important;
    top: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1000 !important;
}
body.mbfc-2026 .mbfc-v915-topbar {
    background: var(--mbfc-v915-navy) !important;
    border-bottom: 1px solid rgba(255,255,255,.06) !important;
    color: #fff !important;
}
body.mbfc-2026 .mbfc-v915-topbar .top-bar-inner {
    max-width: var(--mbfc-v915-max);
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
body.mbfc-2026 .mbfc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
}
body.mbfc-2026 .mbfc-brand__logo-img {
    display: block;
    max-height: 44px;
    width: auto;
}
body.mbfc-2026 .mbfc-brand__mic svg {
    display: block;
    width: 28px;
    height: 34px;
}
body.mbfc-2026 .mbfc-brand__name {
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
    color: #fff !important;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: .015em;
    text-transform: uppercase;
}
body.mbfc-2026 .mbfc-brand__name-main,
body.mbfc-2026 .mbfc-brand__name-alt { color: #fff !important; }
body.mbfc-2026 .mbfc-brand__name-sep { color: var(--mbfc-v915-red) !important; }
body.mbfc-2026 .mbfc-v915-topbar .top-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
body.mbfc-2026 .mbfc-v915-topbar .top-actions a {
    color: rgba(255,255,255,.92) !important;
    text-decoration: none !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    line-height: 1;
}
body.mbfc-2026 .mbfc-v915-topbar .top-actions a.top-member { color: #ffd75b !important; }
body.mbfc-2026 .mbfc-v915-topbar .top-actions a.btn-myaccount {
    background: #fff !important;
    color: var(--mbfc-v915-navy) !important;
}
body.mbfc-2026 .mbfc-v915-topbar .top-actions a.btn-myaccount:hover { background: #f3f4f6 !important; }
body.mbfc-2026 .mbfc-v915-topbar .top-actions a.top-logout:hover,
body.mbfc-2026 .mbfc-v915-topbar .top-actions a.top-member:hover { color: #fff !important; }

body.mbfc-2026 .mbfc-v915-hero {
    background: var(--mbfc-v915-navy-2) !important;
    padding: 52px 20px 44px !important;
    color: #fff !important;
    text-align: center !important;
    border-bottom: 0 !important;
}
body.mbfc-2026 .mbfc-v915-hero .hero-inner { max-width: 700px; margin: 0 auto; }
body.mbfc-2026 .mbfc-v915-hero .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.9) !important;
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 18px;
}
body.mbfc-2026 .mbfc-v915-hero .hero-eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mbfc-v915-green);
    box-shadow: 0 0 0 0 rgba(22,163,74,0.6);
    animation: mbfc-v915-pulse 2s ease-in-out infinite;
}
@keyframes mbfc-v915-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.55); }
    50%      { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}
body.mbfc-2026 .mbfc-v915-hero .tagline {
    color: rgba(255,255,255,.92) !important;
    font-size: clamp(1rem, 2vw, 1.18rem) !important;
    line-height: 1.55 !important;
    margin: 0 0 24px !important;
    font-weight: 400 !important;
}
body.mbfc-2026 .mbfc-v915-hero .tagline strong { color: #fff !important; font-weight: 700 !important; }
body.mbfc-2026 .mbfc-v915-search-form {
    display: flex !important;
    align-items: stretch !important;
    background: #fff !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.18) !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}
body.mbfc-2026 .mbfc-v915-search-form .mbfc-v915-search-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    border: 0 !important;
    padding: 16px 22px !important;
    font-size: 1rem !important;
    color: var(--mbfc-v915-text) !important;
    background: transparent !important;
    outline: none !important;
    box-shadow: none !important;
}
body.mbfc-2026 .mbfc-v915-search-form .mbfc-v915-search-input::placeholder {
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-size: 0.85rem;
}
body.mbfc-2026 .mbfc-v915-search-form .mbfc-v915-mic {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    margin: auto 6px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--mbfc-v915-navy);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
}
body.mbfc-2026 .mbfc-v915-search-form .mbfc-v915-mic:hover { background: #e2e8f0; }
body.mbfc-2026 .mbfc-v915-search-form .mbfc-v915-mic.is-listening {
    background: var(--mbfc-v915-red);
    color: #fff;
    animation: mbfc-v915-mic-pulse 1.2s ease-in-out infinite;
}
@keyframes mbfc-v915-mic-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(217,43,43,0.6); }
    50%      { box-shadow: 0 0 0 8px rgba(217,43,43,0); }
}
body.mbfc-2026 .mbfc-v915-search-form button[type="submit"] {
    flex: 0 0 auto;
    border: 0;
    background: var(--mbfc-v915-red) !important;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 26px;
    cursor: pointer;
    transition: background 0.15s ease;
}
body.mbfc-2026 .mbfc-v915-search-form button[type="submit"]:hover { background: var(--mbfc-v915-red-hi) !important; }
body.mbfc-2026 .mbfc-v915-hero .hero-sub-links {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
body.mbfc-2026 .mbfc-v915-hero .hero-sub-links a {
    color: rgba(255,255,255,.82) !important;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease, color 0.15s ease;
}
body.mbfc-2026 .mbfc-v915-hero .hero-sub-links a:hover { background: rgba(255,255,255,.18); color: #fff !important; }

body.mbfc-2026 .mbfc-v915-mainnav {
    background: #1a1a1a !important;
    color: #fff !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18) !important;
    border: 0 !important;
}
body.mbfc-2026 .mbfc-v915-mainnav .nav-inner {
    max-width: var(--mbfc-v915-max);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}
body.mbfc-2026 .mbfc-v915-mainnav .nav-menu,
body.mbfc-2026 .mbfc-v915-mainnav .menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}
body.mbfc-2026 .mbfc-v915-mainnav .nav-menu > li,
body.mbfc-2026 .mbfc-v915-mainnav .menu > li { position: relative !important; }
body.mbfc-2026 .mbfc-v915-mainnav .nav-menu > li > a,
body.mbfc-2026 .mbfc-v915-mainnav .menu > li > a {
    display: block !important;
    padding: 14px 16px !important;
    color: #e5e7eb !important;
    text-decoration: none !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
}
body.mbfc-2026 .mbfc-v915-mainnav .nav-menu > li > a:hover,
body.mbfc-2026 .mbfc-v915-mainnav .menu > li > a:hover,
body.mbfc-2026 .mbfc-v915-mainnav .nav-menu > li.current-menu-item > a,
body.mbfc-2026 .mbfc-v915-mainnav .menu > li.current-menu-item > a {
    color: #fff !important;
    background: rgba(255,255,255,0.05) !important;
}
body.mbfc-2026 .mbfc-v915-mainnav .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 240px !important;
    background: #1a1a1a !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 6px 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3) !important;
    border-radius: 0 0 8px 8px !important;
    display: none !important;
    z-index: 1001 !important;
}
body.mbfc-2026 .mbfc-v915-mainnav li:hover > .sub-menu,
body.mbfc-2026 .mbfc-v915-mainnav li:focus-within > .sub-menu { display: block !important; }
body.mbfc-2026 .mbfc-v915-mainnav .sub-menu a {
    display: block !important;
    padding: 10px 16px !important;
    color: #e5e7eb !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
body.mbfc-2026 .mbfc-v915-mainnav .sub-menu a:hover { background: rgba(255,255,255,0.08) !important; color: #fff !important; }
body.mbfc-2026 .mbfc-v915-mainnav .mbfc-menu-toggle {
    display: none;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 14px 12px;
}
body.mbfc-2026 .mbfc-v915-mainnav .mbfc-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
}
@media (max-width: 900px) {
    body.mbfc-2026 .mbfc-v915-topbar .top-bar-inner { justify-content: center; text-align: center; }
    body.mbfc-2026 .mbfc-v915-topbar .top-actions { justify-content: center; }
    body.mbfc-2026 .mbfc-v915-hero { padding: 34px 14px 30px !important; }
    body.mbfc-2026 .mbfc-v915-search-form { border-radius: 18px !important; flex-wrap: nowrap !important; }
    body.mbfc-2026 .mbfc-v915-search-form .mbfc-v915-search-input { padding: 13px 14px !important; font-size: .92rem !important; }
    body.mbfc-2026 .mbfc-v915-search-form button[type="submit"] { padding: 0 16px !important; font-size: .78rem !important; }
    body.mbfc-2026 .mbfc-v915-mainnav .mbfc-menu-toggle { display: inline-block !important; }
    body.mbfc-2026 .mbfc-v915-mainnav .nav-inner { align-items: flex-start; flex-direction: column; }
    body.mbfc-2026 .mbfc-v915-mainnav .nav-menu,
    body.mbfc-2026 .mbfc-v915-mainnav .menu {
        display: none !important;
        flex-direction: column !important;
        width: 100% !important;
        padding: 8px 0 12px !important;
    }
    body.mbfc-2026 .mbfc-v915-mainnav.is-open .nav-menu,
    body.mbfc-2026 .mbfc-v915-mainnav.is-open .menu { display: flex !important; }
    body.mbfc-2026 .mbfc-v915-mainnav .sub-menu {
        position: static !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 0 0 18px !important;
        background: transparent !important;
    }
    body.mbfc-2026 .mbfc-v915-mainnav li:hover > .sub-menu { display: none !important; }
    body.mbfc-2026 .mbfc-v915-mainnav li.is-mobile-open > .sub-menu { display: block !important; }
}


/* ============================================================
   SELECTED PAGE OVERRIDES ONLY
   Search results, Membership Levels, and Support/Donation pages.
   ============================================================ */
/* ═══════════════════════════════════════
   v9.16 SEARCH RESULTS ONLY
   Copied from v9.16.42 search-result presentation.
   Scoped to search results classes/pages; sidebar/layout below header otherwise unchanged.
═══════════════════════════════════════ */
body.mbfc-2026 {
    --c-text: #1f2933;
    --c-text-muted: #5b6470;
    --c-bg: #ffffff;
    --c-bg-alt: #f7f8fa;
    --c-border: #e2e6eb;
    --c-link: #1d6bbf;
    --c-link-hover: #144a85;
    --shell-max: 1240px;
    --mbfc-red: #c1272d;
    --mbfc-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --mbfc-font-mono: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
body.mbfc-2026 .mbfc-shell { max-width: var(--shell-max); margin: 0 auto; padding: 0 24px; width: 100%; }
body.mbfc-2026 .mbfc-v4-kicker {
    font-family: var(--mbfc-font-mono) !important;
    color: var(--mbfc-red) !important;
    font-size: .72rem !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}
body.search .mbfc-result-card img,
body.search article img,
body.search .entry-content img,
body.search-results .mbfc-result-card img,
body.search-results article img,
body.search-results .entry-content img { display: none !important; }

.mbfc56-search-hero {
    padding: clamp(28px, 4vw, 48px) 0;
    border-bottom: 1px solid #dbe4ef;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}
body.mbfc-2026 .mbfc56-search-hero h1 {
    max-width: 900px;
    margin: 8px 0 10px !important;
    color: #071d33 !important;
    font-size: clamp(2rem, 3.8vw, 3.2rem) !important;
    font-weight: 760 !important;
    line-height: 1.13 !important;
    letter-spacing: -0.035em !important;
    text-wrap: balance;
}
.mbfc56-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    max-width: 920px;
    overflow: hidden;
    border: 2px solid #071d33;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(7,29,51,.075);
}
.mbfc56-search-form input {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    border: 0 !important;
    outline: 0 !important;
    background: #fffdf9;
    color: #071d33;
    font-size: 1.08rem;
    font-weight: 650;
}
.mbfc56-search-form button {
    min-height: 58px;
    padding: 0 26px;
    border: 0 !important;
    background: #174ea6;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 850;
    cursor: pointer;
}
.mbfc56-search-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.mbfc56-search-tools a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #ffffff;
    color: #174ea6 !important;
    font-size: .95rem;
    font-weight: 850;
    text-decoration: none !important;
}
.mbfc56-search-tools a:hover,
.mbfc56-search-tools a:focus { border-color: #bdd5f5; background: #eef5ff; }
.mbfc56-search-page { padding: 28px 0 56px; background: #f5f8fc; }
.mbfc56-search-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: 28px;
    align-items: start;
}
.mbfc56-results { min-width: 0; }
.mbfc56-results-list { display: grid; gap: 12px; }
.mbfc56-result-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 20px;
    border: 1px solid #dbe4ef;
    border-left: 5px solid #174ea6;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(7,29,51,.045);
}
.mbfc56-result-row:hover,
.mbfc56-result-row:focus-within {
    border-color: #bdd5f5;
    border-left-color: #c1272d;
    box-shadow: 0 14px 30px rgba(7,29,51,.07);
}
.mbfc56-result-main { min-width: 0; display: grid; gap: 8px; }
body.mbfc-2026 .mbfc56-result-row h2 {
    margin: 0 !important;
    color: #071d33 !important;
    font-size: clamp(1.18rem, 1.7vw, 1.42rem) !important;
    font-weight: 780 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.025em !important;
    text-wrap: balance;
}
.mbfc56-result-row h2 a { color: #071d33 !important; text-decoration: none !important; }
.mbfc56-result-row h2 a:hover,
.mbfc56-result-row h2 a:focus { color: #174ea6 !important; text-decoration: underline !important; text-underline-offset: 3px; }
.mbfc56-result-row p {
    max-width: 820px;
    margin: 0 !important;
    color: #435267 !important;
    font-size: .98rem !important;
    line-height: 1.52 !important;
}
.mbfc56-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mbfc56-chip {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f2f6fb;
    color: #243548;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.mbfc56-result-action { align-self: stretch; display: flex; align-items: center; }
.mbfc56-result-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #071d33;
    color: #ffffff !important;
    font-size: .94rem;
    font-weight: 850;
    white-space: nowrap;
    text-decoration: none !important;
}
.mbfc56-result-action a:hover,
.mbfc56-result-action a:focus { background: #174ea6; }
.mbfc56-pagination { margin-top: 20px; }
.mbfc56-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mbfc56-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #ffffff;
    color: #071d33 !important;
    font-size: .95rem;
    font-weight: 850;
    text-decoration: none !important;
}
.mbfc56-pagination .page-numbers.current { border-color: #071d33; background: #071d33; color: #ffffff !important; }
.mbfc56-no-results {
    padding: 24px;
    border: 1px solid #dbe4ef;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(7,29,51,.055);
}
body.mbfc-2026 .mbfc56-no-results h2 { margin: 0 0 8px !important; font-size: clamp(1.45rem, 2.3vw, 1.95rem) !important; }
.mbfc56-no-results p { margin: 0 0 14px !important; color: #435267 !important; }
.mbfc56-no-results a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #071d33;
    color: #ffffff !important;
    font-weight: 850;
    text-decoration: none !important;
}
body.search .mbfc-read-later-wrap,
body.search .mbfc-read-later,
body.search-results .mbfc-read-later-wrap,
body.search-results .mbfc-read-later { display: none !important; }
@media (max-width: 1020px) {
    .mbfc56-search-layout { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .mbfc56-search-form { grid-template-columns: 1fr; border-radius: 18px; }
    .mbfc56-search-form button { width: 100%; }
    .mbfc56-result-row { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
    .mbfc56-result-action { align-self: auto; }
    .mbfc56-result-action a { width: 100%; }
    .mbfc56-search-tools,
    .mbfc56-search-tools a { width: 100%; }
}

/* v9.16 search result layout fix: keep the existing sidebar full-width inside the search grid */
body.search .mbfc56-search-layout > .mh-sidebar,
body.search-results .mbfc56-search-layout > .mh-sidebar,
body.search .mbfc56-search-layout > .mbfc-sidebar,
body.search-results .mbfc56-search-layout > .mbfc-sidebar,
body.search .mbfc56-search-layout aside,
body.search-results .mbfc56-search-layout aside {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    display: block !important;
}

body.search .mbfc56-search-layout,
body.search-results .mbfc56-search-layout {
    grid-template-columns: minmax(0, 1fr) 320px !important;
}

@media (max-width: 1020px) {
    body.search .mbfc56-search-layout,
    body.search-results .mbfc56-search-layout {
        grid-template-columns: 1fr !important;
    }
}


/* --- MBFC v9.16 membership levels content area --- */
   - removes the $1 first-month intro offer from the membership page
   - replaces plan cards with a simple list
   - sorts regular membership levels from highest price to lowest
   ============================================================ */

.mbfc64-membership-hero {
    padding: clamp(32px, 4vw, 54px) 0;
    border-bottom: 1px solid #dbe4ef;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.mbfc64-membership-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: 28px;
    align-items: center;
}

.mbfc64-eyebrow {
    display: inline-flex;
    margin: 0 0 10px !important;
    color: #c1272d !important;
    font-size: .82rem !important;
    font-weight: 850 !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    text-transform: uppercase;
}

body.mbfc-2026 .mbfc64-membership-hero h1 {
    max-width: 820px;
    margin: 0 0 10px !important;
    color: #071d33 !important;
    font-size: clamp(2rem, 3.8vw, 3.1rem) !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.032em !important;
    text-wrap: balance;
}

.mbfc64-membership-hero p:not(.mbfc64-eyebrow) {
    max-width: 760px;
    margin: 0 !important;
    color: #435267 !important;
    font-size: 1.08rem !important;
    line-height: 1.6 !important;
}

.mbfc64-membership-hero aside,
.mbfc64-side-card {
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(7,29,51,.05);
}

.mbfc64-membership-hero aside strong {
    display: block;
    margin-bottom: 6px;
    color: #071d33;
    font-size: 1.08rem;
    font-weight: 750;
}

.mbfc64-membership-hero aside span {
    display: block;
    color: #435267;
    font-size: .98rem;
    line-height: 1.5;
}

.mbfc64-membership-page {
    padding: 30px 0 62px;
    background: #f5f8fc;
}

.mbfc64-membership-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 28px;
    align-items: start;
}

.mbfc64-membership-main {
    display: grid;
    gap: 22px;
    min-width: 0;
}

.mbfc64-plan-list-card,
.mbfc64-support-options {
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid #dbe4ef;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(7,29,51,.055);
}

.mbfc64-section-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf2f7;
}

body.mbfc-2026 .mbfc64-section-head h2,
body.mbfc-2026 .mbfc64-support-options h2,
body.mbfc-2026 .mbfc64-side-card h2 {
    margin: 0 0 8px !important;
    color: #071d33 !important;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem) !important;
    font-weight: 680 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.024em !important;
}

.mbfc64-section-head p:not(.mbfc64-eyebrow),
.mbfc64-support-options p,
.mbfc64-side-card p {
    margin: 0 !important;
    color: #435267 !important;
    font-size: 1rem !important;
    line-height: 1.58 !important;
}

.mbfc64-plan-list {
    display: grid;
    border: 1px solid #dbe4ef;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
}

.mbfc64-plan-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr) 110px 100px;
    gap: 16px;
    align-items: center;
    min-height: 104px;
    padding: 18px 20px;
    border-bottom: 1px solid #edf2f7;
    background: #ffffff;
}

.mbfc64-plan-row:last-child {
    border-bottom: 0;
}

.mbfc64-plan-row:hover,
.mbfc64-plan-row:focus-within {
    background: #f8fbff;
}

.mbfc64-plan-row__label span {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff1f2;
    color: #b51f2a;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.mbfc64-plan-row__body {
    min-width: 0;
}

body.mbfc-2026 .mbfc64-plan-row h3 {
    margin: 0 0 5px !important;
    color: #071d33 !important;
    font-size: clamp(1.08rem, 1.5vw, 1.28rem) !important;
    font-weight: 720 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.018em !important;
    text-wrap: balance;
}

.mbfc64-plan-row p {
    margin: 0 !important;
    color: #435267 !important;
    font-size: .98rem !important;
    line-height: 1.45 !important;
}

.mbfc64-plan-row__price {
    text-align: right;
}

.mbfc64-plan-row__price strong {
    color: #147a50;
    font-size: 1.22rem;
    font-weight: 850;
    white-space: nowrap;
}

.mbfc64-plan-row__action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    width: 100%;
    padding: 0 14px;
    border-radius: 999px;
    background: #071d33;
    color: #ffffff !important;
    font-size: .98rem;
    font-weight: 780;
    text-decoration: none !important;
}

.mbfc64-plan-row__action a:hover,
.mbfc64-plan-row__action a:focus {
    background: #174ea6;
}

.mbfc64-support-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #fffafa 100%);
    border-color: #f0d9de;
}

.mbfc64-support-options__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.mbfc64-support-options__actions a {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: #ffffff;
    color: #071d33 !important;
    font-size: .95rem;
    font-weight: 760;
    text-decoration: none !important;
    white-space: nowrap;
}

.mbfc64-support-options__actions a:first-child {
    border-color: #c1272d;
    background: #c1272d;
    color: #ffffff !important;
}

.mbfc64-membership-sidebar {
    position: sticky;
    top: 20px;
    display: grid;
    gap: 16px;
}

.mbfc64-side-card.is-primary {
    background: linear-gradient(180deg, #0b2a4a 0%, #092342 100%);
    border-color: #0f3560;
}

.mbfc64-side-card.is-primary p,
.mbfc64-side-card.is-primary h2,
.mbfc64-side-card.is-primary strong,
.mbfc64-side-card.is-primary span,
.mbfc64-side-card.is-primary li {
    color: #ffffff !important;
}

.mbfc64-side-card.is-primary p {
    color: #ffccd0 !important;
    font-size: .78rem !important;
    font-weight: 850 !important;
    letter-spacing: .1em !important;
    text-transform: uppercase;
}

.mbfc64-side-card ul {
    display: grid;
    gap: 12px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mbfc64-side-card li {
    display: grid;
    gap: 2px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.mbfc64-side-card li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.mbfc64-side-card li strong {
    font-size: .98rem;
    font-weight: 760;
    line-height: 1.3;
}

.mbfc64-side-card li span {
    color: rgba(255,255,255,.8) !important;
    font-size: .94rem;
    line-height: 1.42;
}

.mbfc64-empty {
    padding: 18px;
    border: 1px solid #dbe4ef;
    border-radius: 16px;
    background: #f8fafc;
}

/* Hide previous membership-page card systems if cached/leftover styles try to show */
body.page-template-page-membership-levels .mbfc52-page,
body.page-template-page-membership-account-membership-levels .mbfc52-page,
body.page-membership-levels .mbfc52-page {
    display: none !important;
}

@media (max-width: 1050px) {
    .mbfc64-membership-hero__inner,
    .mbfc64-membership-layout,
    .mbfc64-support-options {
        grid-template-columns: 1fr;
    }

    .mbfc64-membership-sidebar {
        position: static;
    }
}

@media (max-width: 820px) {
    .mbfc64-plan-row {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: start;
    }

    .mbfc64-plan-row__price {
        text-align: left;
    }

    .mbfc64-plan-row__action a,
    .mbfc64-support-options__actions,
    .mbfc64-support-options__actions a {
        width: 100%;
    }
}


/* ============================================================
   v6.5 selected membership levels only
   ============================================================ */

.mbfc65-group-pricing-note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border: 1px solid #c9daf5;
    border-left: 6px solid #174ea6;
    border-radius: 18px;
    background: #f8fbff;
    box-shadow: 0 10px 24px rgba(7,29,51,.045);
}

.mbfc65-group-pricing-note strong {
    color: #071d33;
    font-size: 1.08rem;
    font-weight: 760;
    line-height: 1.2;
}

.mbfc65-group-pricing-note span {
    color: #435267;
    font-size: 1rem;
    line-height: 1.4;
}

.mbfc65-group-pricing-note a {
    color: #174ea6 !important;
    font-weight: 760;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mbfc64-plan-row__label span {
    background: #f8fafc;
    color: #5e2330;
    border: 1px solid #edf2f7;
}

.mbfc64-plan-row:first-child .mbfc64-plan-row__label span,
.mbfc64-plan-row:nth-child(2) .mbfc64-plan-row__label span {
    background: #fff1f2;
    color: #b51f2a;
    border-color: #ffd4d8;
}

@media (max-width: 720px) {
    .mbfc65-group-pricing-note {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ============================================================
   v6.6 membership cleanup

/* ═══════════════════════════════════════
   v9.16 MEMBERSHIP LEVELS CONTENT ONLY
   Preserves current theme header/menu; no v9.16 sidebar rail.
═══════════════════════════════════════ */
body.mbfc-2026.page-membership-levels .mbfc64-membership-layout,
body.mbfc-2026.page-template-page-membership-levels .mbfc64-membership-layout,
body.mbfc-2026.page-template-page-membership-levels-php .mbfc64-membership-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 1080px !important;
}
body.mbfc-2026.page-membership-levels .mbfc64-membership-sidebar,
body.mbfc-2026.page-template-page-membership-levels .mbfc64-membership-sidebar,
body.mbfc-2026.page-template-page-membership-levels-php .mbfc64-membership-sidebar {
    display: none !important;
}
body.mbfc-2026 .mbfc64-membership-page .mbfc64-membership-main {
    width: 100% !important;
}
body.mbfc-2026 .mbfc64-membership-page a,
body.mbfc-2026 .mbfc64-membership-hero a {
    text-decoration: none !important;
}
body.mbfc-2026 .mbfc64-membership-page p,
body.mbfc-2026 .mbfc64-membership-page li,
body.mbfc-2026 .mbfc64-membership-page span,
body.mbfc-2026 .mbfc64-membership-hero p,
body.mbfc-2026 .mbfc64-membership-hero span {
    font-family: var(--mbfc-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif) !important;
}
body.mbfc-2026 .mbfc64-plan-row__action a {
    color: #fff !important;
}

/* ============================================================
   MBFC membership page sidebar hard fix
   Restores the v9.16 right-rail cards/buttons inside v4.1 theme.
   ============================================================ */
.page-template-page-membership-levels .mbfc64-membership-layout,
.page-template-page-membership-levels-php .mbfc64-membership-layout,
.page-id-0 .mbfc64-membership-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px) !important;
    gap: 28px !important;
    align-items: start !important;
    max-width: 1224px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.page-template-page-membership-levels .mbfc64-membership-sidebar,
.page-template-page-membership-levels-php .mbfc64-membership-sidebar,
.mbfc64-membership-layout .mbfc64-membership-sidebar {
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: sticky !important;
    top: 20px !important;
    gap: 16px !important;
    width: auto !important;
    min-width: 0 !important;
}

.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate,
.mbfc64-membership-sidebar .mbfc64-side-card {
    box-sizing: border-box !important;
    width: 100% !important;
    padding: 18px !important;
    border: 1px solid #dbe4ef !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 28px rgba(7,29,51,.05) !important;
}

.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate .mbfc-rail-donate__kicker {
    margin: 0 0 8px !important;
    color: #c1272d !important;
    font-size: .76rem !important;
    font-weight: 850 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate .mbfc-rail-donate__title,
.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate h2 {
    margin: 0 0 10px !important;
    color: #071d33 !important;
    -webkit-text-fill-color: #071d33 !important;
    font-size: 1.08rem !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    letter-spacing: 0 !important;
}

.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate p {
    margin: 0 0 12px !important;
    color: #435267 !important;
    font-size: .96rem !important;
    line-height: 1.5 !important;
}

.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate .mbfc-btn,
.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate a.mbfc-btn,
.mbfc64-membership-sidebar .mbfc-membership-sidebar-donate a.mbfc-btn--ghost {
    display: inline-block !important;
    padding: 10px 14px !important;
    border: 1px solid #d0d9e6 !important;
    border-radius: 7px !important;
    background: #ffffff !important;
    color: #071d33 !important;
    -webkit-text-fill-color: #071d33 !important;
    font-size: .95rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card.is-primary {
    padding: 22px !important;
    border-color: #0f3560 !important;
    border-radius: 18px !important;
    background: #092b4f !important;
    background-image: linear-gradient(180deg, #0b2f57 0%, #082747 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 12px 28px rgba(7,29,51,.08) !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card.is-primary *,
.mbfc64-membership-sidebar .mbfc64-side-card.is-primary h1,
.mbfc64-membership-sidebar .mbfc64-side-card.is-primary h2,
.mbfc64-membership-sidebar .mbfc64-side-card.is-primary h3,
.mbfc64-membership-sidebar .mbfc64-side-card.is-primary p,
.mbfc64-membership-sidebar .mbfc64-side-card.is-primary strong,
.mbfc64-membership-sidebar .mbfc64-side-card.is-primary span,
.mbfc64-membership-sidebar .mbfc64-side-card.is-primary li {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card.is-primary > p:first-child {
    margin: 0 0 8px !important;
    color: #ffccd0 !important;
    -webkit-text-fill-color: #ffccd0 !important;
    font-size: .76rem !important;
    font-weight: 850 !important;
    letter-spacing: .12em !important;
    line-height: 1 !important;
    text-transform: uppercase !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card.is-primary h2 {
    margin: 0 0 16px !important;
    font-size: clamp(1.55rem, 2.3vw, 1.95rem) !important;
    font-weight: 850 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.03em !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card.is-primary ul {
    display: grid !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card.is-primary li {
    display: grid !important;
    gap: 3px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid rgba(255,255,255,.16) !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card.is-primary li:last-child {
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.mbfc64-membership-sidebar .mbfc64-side-card:not(.is-primary) h2 {
    color: #071d33 !important;
    -webkit-text-fill-color: #071d33 !important;
}

@media (max-width: 900px) {
    .page-template-page-membership-levels .mbfc64-membership-layout,
    .page-template-page-membership-levels-php .mbfc64-membership-layout,
    .mbfc64-membership-layout {
        grid-template-columns: 1fr !important;
    }
    .mbfc64-membership-sidebar {
        position: static !important;
    }
}

/* MBFC v9.16 Support Page (content + sidebar only) */
body.mbfc-2026 .mbfc62-support-hero,
body.mbfc-2026 .mbfc62-support-page { box-sizing: border-box; }
body.mbfc-2026 .mbfc62-support-hero {
  padding: clamp(34px,4.5vw,56px) 0 28px;
  border-bottom: 1px solid #dbe4ef;
  background: linear-gradient(180deg,#fff 0%,#f8fbff 100%);
}
body.mbfc-2026 .mbfc-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; box-sizing: border-box; }
body.mbfc-2026 .mbfc62-eyebrow {
  display: inline-flex; margin: 0 0 12px !important; color: #c1272d !important;
  font-size: .84rem !important; font-weight: 800 !important; letter-spacing: .12em !important; text-transform: uppercase;
}
body.mbfc-2026 .mbfc62-support-hero h1 {
  max-width: 820px; margin: 0 0 10px !important; color: #071d33 !important;
  font-size: clamp(2rem,4vw,3.35rem) !important; font-weight: 800 !important; line-height: 1.08 !important;
}
body.mbfc-2026 .mbfc62-support-intro {
  max-width: 760px; margin: 0 0 20px !important; color: #43556e !important;
  font-size: clamp(1rem,1.55vw,1.18rem) !important; line-height: 1.65 !important;
}
body.mbfc-2026 .mbfc62-support-pillrow { display: flex; flex-wrap: wrap; gap: 10px; }
body.mbfc-2026 .mbfc62-support-pillrow a {
  display: inline-flex; align-items: center; justify-content: center; padding: 10px 14px;
  border: 1px solid #cbd7e6; border-radius: 999px; background: #fff; color: #0a4aa2 !important;
  font-weight: 800; font-size: .92rem; text-decoration: none !important;
}
body.mbfc-2026 .mbfc62-support-pillrow a:hover { background:#edf5ff; color:#063b80 !important; }
body.mbfc-2026 .mbfc62-support-page { background:#f3f7fb; padding: clamp(28px,4vw,46px) 0; }
body.mbfc-2026 .mbfc62-support-layout { display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:28px; align-items:start; }
body.mbfc-2026 .mbfc62-support-main { min-width:0; display:grid; gap:22px; }
body.mbfc-2026 .mbfc62-lane-grid { display:grid; gap:18px; }
body.mbfc-2026 .mbfc62-lane,
body.mbfc-2026 .mbfc62-data-strip,
body.mbfc-2026 .mbfc62-sidebox {
  background:#fff; border:1px solid #dbe4ef; border-radius:18px; box-shadow:0 14px 30px rgba(7,29,51,.06); box-sizing:border-box;
}
body.mbfc-2026 .mbfc62-lane { padding:26px; }
body.mbfc-2026 .mbfc62-lane.is-primary { border-top:5px solid #0a56b5; }
body.mbfc-2026 .mbfc62-lane-head span,
body.mbfc-2026 .mbfc62-lane-head--donate span {
  display:inline-flex; margin:0 0 10px; color:#c1272d !important; font-size:.78rem !important; font-weight:900 !important; letter-spacing:.12em !important; text-transform:uppercase;
}
body.mbfc-2026 .mbfc62-lane h2,
body.mbfc-2026 .mbfc62-data-strip h2,
body.mbfc-2026 .mbfc62-sidebox h2 {
  margin:0 0 10px !important; color:#071d33 !important; font-weight:900 !important; line-height:1.12 !important;
}
body.mbfc-2026 .mbfc62-lane h2 { font-size:clamp(1.45rem,2.2vw,2rem) !important; }
body.mbfc-2026 .mbfc62-data-strip h2 { font-size:clamp(1.35rem,2vw,1.8rem) !important; }
body.mbfc-2026 .mbfc62-sidebox h2 { font-size:clamp(1.3rem,2vw,1.75rem) !important; }
body.mbfc-2026 .mbfc62-lane p,
body.mbfc-2026 .mbfc62-data-strip p,
body.mbfc-2026 .mbfc62-sidebox p,
body.mbfc-2026 .mbfc62-sidebox li { color:#43556e !important; line-height:1.6 !important; }
body.mbfc-2026 .mbfc62-checklist { list-style:none; margin:18px 0 0; padding:0; display:grid; gap:10px; }
body.mbfc-2026 .mbfc62-checklist li { position:relative; padding-left:28px; color:#21364f; font-weight:700; }
body.mbfc-2026 .mbfc62-checklist li:before { content:'✓'; position:absolute; left:0; top:0; color:#008a45; font-weight:900; }
body.mbfc-2026 .mbfc62-action-row { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
body.mbfc-2026 .mbfc62-action-row a,
body.mbfc-2026 .mbfc62-data-strip > a {
  display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:11px 16px;
  border-radius:999px; border:1px solid #cbd7e6; background:#fff; color:#071d33 !important; font-weight:900; text-decoration:none !important;
}
body.mbfc-2026 .mbfc62-action-row a.is-primary,
body.mbfc-2026 .mbfc62-data-strip > a { background:#071d33; color:#fff !important; border-color:#071d33; }
body.mbfc-2026 .mbfc62-lane--donate-clean,
body.mbfc-2026 .mbfc62-lane--donate-full { padding:0 !important; overflow:hidden; }
body.mbfc-2026 .mbfc62-lane-head--donate { padding:24px 26px 12px; border-bottom:1px solid #e7edf5; }
body.mbfc-2026 .mbfc62-lane-head--donate h2 { margin:0 !important; font-size:clamp(1.65rem,2.5vw,2.35rem) !important; }
body.mbfc-2026 .mbfc62-donorbox-wrap,
body.mbfc-2026 .mbfc62-donorbox-wrap--big { padding:18px 18px 24px; background:#fff; }
body.mbfc-2026 .mbfc62-donorbox-wrap iframe { background:#fff; border-radius:12px; }
body.mbfc-2026 .mbfc62-data-strip { display:flex; justify-content:space-between; align-items:center; gap:20px; padding:24px 26px; border-left:5px solid #0a56b5; }
body.mbfc-2026 .mbfc62-data-strip p { margin:0 !important; }
body.mbfc-2026 .mbfc62-support-sidebar { display:grid; gap:18px; position:sticky; top:22px; }
body.mbfc-2026 .mbfc62-sidebox { padding:22px; }
body.mbfc-2026 .mbfc62-sidebox.is-accent { background:#07294f !important; border-color:#07294f !important; color:#fff !important; }
body.mbfc-2026 .mbfc62-sidebox.is-accent,
body.mbfc-2026 .mbfc62-sidebox.is-accent * { color:#fff !important; }
body.mbfc-2026 .mbfc62-sidebox.is-accent > p { color:#ffb4b4 !important; font-size:.78rem !important; font-weight:900 !important; letter-spacing:.12em !important; text-transform:uppercase; margin:0 0 8px !important; }
body.mbfc-2026 .mbfc62-sidebox ul { list-style:none; margin:14px 0 0; padding:0; display:grid; gap:0; }
body.mbfc-2026 .mbfc62-sidebox li { display:grid; gap:2px; padding:12px 0; border-bottom:1px solid #e7edf5; }
body.mbfc-2026 .mbfc62-sidebox li:last-child { border-bottom:0; padding-bottom:0; }
body.mbfc-2026 .mbfc62-sidebox.is-accent li { border-bottom-color:rgba(255,255,255,.16); }
body.mbfc-2026 .mbfc62-sidebox li strong { color:#071d33; font-weight:900; }
body.mbfc-2026 .mbfc62-sidebox.is-accent li strong { color:#fff !important; }
body.mbfc-2026 .mbfc62-sidebox li span { color:#5e6b7c; }
body.mbfc-2026 .mbfc62-sidebox.is-accent li span { color:rgba(255,255,255,.82) !important; }
body.mbfc-2026 .mbfc98-side-link { color:#fff !important; font-weight:800; text-decoration:underline; }
@media (max-width: 900px) {
  body.mbfc-2026 .mbfc62-support-layout,
  body.mbfc-2026 .mbfc62-data-strip { grid-template-columns:1fr; display:grid; }
  body.mbfc-2026 .mbfc62-support-sidebar { position:static; }
  body.mbfc-2026 .mbfc62-data-strip > a { width:100%; }
}
@media (max-width: 640px) {
  body.mbfc-2026 .mbfc-shell { padding:0 16px; }
  body.mbfc-2026 .mbfc62-lane,
  body.mbfc-2026 .mbfc62-lane--donate-full { padding:16px !important; }
  body.mbfc-2026 .mbfc62-lane--donate-full { padding:0 !important; }
  body.mbfc-2026 .mbfc62-action-row a { width:100%; }
}

/* Support page API/Data button correction */
body.mbfc-2026 .mbfc62-data-strip > a,
body.mbfc-2026 .mbfc62-data-strip a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 210px !important;
  max-width: 100% !important;
  min-height: 48px !important;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  background: #071d33 !important;
  border: 1px solid #071d33 !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap !important;
}
body.mbfc-2026 .mbfc62-data-strip > a:hover,
body.mbfc-2026 .mbfc62-data-strip a:hover {
  background: #0b315c !important;
  border-color: #0b315c !important;
  color: #ffffff !important;
}

/* ============================================================
   MBFC membership Select button fit fix
   Keeps page design intact; only prevents action buttons from clipping.
   ============================================================ */
.mbfc64-plan-row {
    grid-template-columns: 130px minmax(0, 1fr) 110px 128px !important;
}

.mbfc64-plan-row__action {
    min-width: 128px !important;
    width: 128px !important;
    justify-self: end !important;
    overflow: visible !important;
}

.mbfc64-plan-row__action a {
    box-sizing: border-box !important;
    width: 128px !important;
    min-width: 128px !important;
    max-width: 128px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
    white-space: nowrap !important;
    overflow: visible !important;
}

@media (max-width: 820px) {
    .mbfc64-plan-row {
        grid-template-columns: 1fr !important;
    }

    .mbfc64-plan-row__action {
        width: 100% !important;
        min-width: 0 !important;
        justify-self: stretch !important;
    }

    .mbfc64-plan-row__action a {
        width: 100% !important;
        max-width: 240px !important;
        min-width: 0 !important;
    }
}

/* MBFC header social menu: restores existing Max Mega Menu social_nav inside the new header */
.mbfc-header-social-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}
.mbfc-header-social-nav #mega-menu-wrap-social_nav,
.mbfc-header-social-nav .mega-menu-wrap,
.mbfc-header-social-nav ul {
    margin: 0;
}
@media only screen and (max-width: 780px) {
    .mbfc-header-social-nav {
        order: 3;
        width: 100%;
        flex-basis: 100%;
        margin-top: 8px;
    }
}

/* ============================================================
   MBFC header icon menu cleanup
   Uses existing header_nav icons, hides the built-in menu search item,
   and forces the menu strip to match the dark top bar background.
   ============================================================ */
body.mbfc-2026 .mbfc-header-social-nav,
body.mbfc-2026 .mbfc-header-social-nav #mega-menu-wrap-header_nav,
body.mbfc-2026 .mbfc-header-social-nav #mega-menu-header_nav,
body.mbfc-2026 .mbfc-header-social-nav .mega-menu-toggle,
body.mbfc-2026 .mbfc-header-social-nav .mega-menu-toggle + #mega-menu-header_nav {
    background: var(--mbfc-v915-navy) !important;
    background-color: var(--mbfc-v915-navy) !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Hide the Max Mega Menu search item from this top icon row only. */
body.mbfc-2026 .mbfc-header-social-nav #mega-menu-item-22627,
body.mbfc-2026 .mbfc-header-social-nav li.mega-menu-item-22627,
body.mbfc-2026 .mbfc-header-social-nav .mega-search-wrap,
body.mbfc-2026 .mbfc-header-social-nav .mega-search {
    display: none !important;
}

body.mbfc-2026 .mbfc-header-social-nav #mega-menu-header_nav > li.mega-menu-item > a.mega-menu-link {
    background: var(--mbfc-v915-navy) !important;
    background-color: var(--mbfc-v915-navy) !important;
    padding-left: 7px !important;
    padding-right: 7px !important;
}

body.mbfc-2026 .mbfc-header-social-nav #mega-menu-header_nav > li.mega-menu-item > a.mega-menu-link:hover,
body.mbfc-2026 .mbfc-header-social-nav #mega-menu-header_nav > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link {
    background: rgba(255,255,255,.08) !important;
    background-color: rgba(255,255,255,.08) !important;
}

/* MBFC fix: keep search box text from displaying in all caps */
.mbfc-hero-search input,
.mbfc-hero-search input[type="search"],
.mbfc-hero-search input[type="text"],
.mbfc-search-form input,
.mbfc-search-form input[type="search"],
.mbfc-search-form input[type="text"],
.search-form .search-field {
    text-transform: none !important;
}


/* Logged-out top CTA: make membership value clearer without changing logged-in state */
body.mbfc-2026 .mbfc-v915-topbar .top-actions a.top-member-join {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    background: #19b86a !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 6px 16px rgba(25,184,106,.22);
    font-size: 0.94rem;
    font-weight: 800;
    padding: 9px 15px;
    line-height: 1.05;
    white-space: nowrap;
}

body.mbfc-2026 .mbfc-v915-topbar .top-actions a.top-member-join:hover,
body.mbfc-2026 .mbfc-v915-topbar .top-actions a.top-member-join:focus {
    background: #16a35f !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

body.mbfc-2026 .mbfc-v915-topbar .top-member-join__star {
    color: #ffffff;
    font-size: 1rem;
}

body.mbfc-2026 .mbfc-v915-topbar .top-member-join__main {
    color: #ffffff;
}

body.mbfc-2026 .mbfc-v915-topbar .top-member-join__price {
    color: #fff7c2;
    font-size: 0.82rem;
    font-weight: 800;
}

@media (max-width: 640px) {
    body.mbfc-2026 .mbfc-v915-topbar .top-actions a.top-member-join {
        font-size: 0.84rem;
        padding: 8px 11px;
        gap: 5px;
    }
    body.mbfc-2026 .mbfc-v915-topbar .top-member-join__price {
        display: none;
    }
}


/* ============================================================
   Native mobile/tablet navigation
   Uses the same assigned main_nav menu without JavaScript.
   Desktop navigation remains unchanged.
   ============================================================ */
.mbfc-native-mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    body.mbfc-2026 .mbfc-v915-mainnav {
        display: none !important;
    }

    body.mbfc-2026 .mbfc-native-mobile-nav {
        display: block !important;
        background: #071d33;
        border-top: 3px solid #e32636;
        padding: 12px 14px;
        position: relative;
        z-index: 1000;
    }

    body.mbfc-2026 .mbfc-native-mobile-menu {
        margin: 0;
        padding: 0;
    }

    body.mbfc-2026 .mbfc-native-mobile-menu > summary {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        width: 100%;
        min-height: 48px;
        box-sizing: border-box;
        border: 1px solid rgba(255,255,255,.28);
        border-radius: 999px;
        background: rgba(255,255,255,.06);
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .04em;
        cursor: pointer;
        list-style: none;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }

    body.mbfc-2026 .mbfc-native-mobile-menu > summary::-webkit-details-marker {
        display: none;
    }

    body.mbfc-2026 .mbfc-native-mobile-menu[open] > summary {
        background: rgba(255,255,255,.13);
        border-radius: 14px 14px 0 0;
    }

    body.mbfc-2026 .mbfc-native-mobile-panel {
        background: #111;
        border: 1px solid rgba(255,255,255,.16);
        border-top: 0;
        border-radius: 0 0 14px 14px;
        overflow: hidden;
    }

    body.mbfc-2026 .mbfc-native-mobile-list,
    body.mbfc-2026 .mbfc-native-mobile-list ul {
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    body.mbfc-2026 .mbfc-native-mobile-list > li {
        margin: 0 !important;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    body.mbfc-2026 .mbfc-native-mobile-list > li:last-child {
        border-bottom: 0;
    }

    body.mbfc-2026 .mbfc-native-mobile-list a {
        display: block !important;
        padding: 14px 16px !important;
        background: transparent !important;
        color: #fff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        text-decoration: none !important;
        text-transform: none !important;
    }

    body.mbfc-2026 .mbfc-native-mobile-list a:active,
    body.mbfc-2026 .mbfc-native-mobile-list a:hover,
    body.mbfc-2026 .mbfc-native-mobile-list .current-menu-item > a {
        background: #c8102e !important;
        color: #fff !important;
    }

    body.mbfc-2026 .mbfc-native-mobile-list .sub-menu {
        display: block !important;
        position: static !important;
        width: auto !important;
        min-width: 0 !important;
        padding: 0 0 7px 15px !important;
        background: rgba(255,255,255,.04) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    body.mbfc-2026 .mbfc-native-mobile-list .sub-menu li {
        border: 0 !important;
    }

    body.mbfc-2026 .mbfc-native-mobile-list .sub-menu a {
        padding: 10px 14px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: rgba(255,255,255,.88) !important;
    }
}

@media (min-width: 901px) {
    body.mbfc-2026 .mbfc-native-mobile-nav {
        display: none !important;
    }
}
