/* Michigan Black Friday - 2026 holiday campaign layer (campaign kit 2026-11-22, Tony 17:34).
   M.A.X. 2026-11-22 for V.A.U.G.H.N.: loaded from includes/head-common.php after style.css.
   Holds the campaign tokens (site-wide), the navy seasonal header, the dates ribbon and the mobile sticky CTA.
   Light theme only: nothing here reads prefers-color-scheme. Contrast measured against the tokens:
   cream on navy 15.5:1, navy on gold 10.8:1, gold on navy 10.8:1, cream on cranberry 8.7:1. */

:root {
    --mbf26-navy: #081F2A;
    --mbf26-forest: #103B35;
    --mbf26-cranberry: #831E3A;
    --mbf26-cream: #F9F5EB;
    --mbf26-gold: #F5C968;
    --mbf26-gold-hover: #FFDEA0;
    --mbf26-focus: #7DCCE1;
}

/* ---------- Seasonal header (includes/nav.php adds .mbf26-header while the 2026 logo is on) ---------- */
.site-header.mbf26-header,
.site-header.mbf26-header.header-scrolled {
    background: var(--mbf26-navy);
    border-bottom: 1px solid rgba(245, 201, 104, 0.22);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}
.site-header.mbf26-header.header-scrolled { box-shadow: 0 2px 18px rgba(0, 0, 0, 0.35); }
.site-header.mbf26-header .nav-logo { gap: 0; color: var(--mbf26-cream); }
.site-header.mbf26-header .nav-logo img {
    display: block;
    height: 64px;
    width: auto;
    max-width: none;
    border-radius: 0;
}
.site-header.mbf26-header #nav-menu { background: var(--mbf26-navy); }
.site-header.mbf26-header #nav-menu .nav-link { color: var(--mbf26-cream); }
.site-header.mbf26-header #nav-menu .nav-link:hover,
.site-header.mbf26-header #nav-menu .nav-link.active {
    color: var(--mbf26-gold);
    background: rgba(245, 201, 104, 0.12);
}
.site-header.mbf26-header #nav-menu .nav-link.nav-cta,
.site-header.mbf26-header #nav-menu .nav-link.nav-cta:visited {
    background: var(--mbf26-gold) !important;
    color: var(--mbf26-navy) !important;
    font-weight: 700;
    border-radius: 8px;
}
.site-header.mbf26-header #nav-menu .nav-link.nav-cta:hover {
    background: var(--mbf26-gold-hover) !important;
    color: var(--mbf26-navy) !important;
}
.site-header.mbf26-header .nav-toggle-bar { background: var(--mbf26-cream); }
.site-header.mbf26-header a:focus-visible,
.site-header.mbf26-header button:focus-visible {
    outline: 3px solid var(--mbf26-focus);
    outline-offset: 3px;
}
.site-header.mbf26-header .nav-container { max-width: 1440px; }
.site-header.mbf26-header #nav-menu .nav-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.site-header.mbf26-header #nav-menu .nav-phone svg { color: var(--mbf26-gold); flex-shrink: 0; }
.site-header.mbf26-header .nav-call-icon {
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    margin-right: 8px;
    border: 1px solid rgba(245, 201, 104, 0.55);
    border-radius: 50%;
    color: var(--mbf26-gold);
    text-decoration: none;
    flex-shrink: 0;
}
.site-header.mbf26-header .nav-call-icon:hover { background: var(--mbf26-gold); color: var(--mbf26-navy); }
/* the opened menu scrolls inside the viewport on short phones (11 items with the phone line) */
.site-header.mbf26-header #nav-menu.nav-open { max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
@media (max-width: 768px) {
    .site-header.mbf26-header .nav-logo img { height: 56px; }
    .site-header.mbf26-header #nav-menu {
        border-bottom: 1px solid rgba(245, 201, 104, 0.3);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
    }
}
@media (max-width: 359px) {
    .site-header.mbf26-header .nav-logo img { height: 48px; }
}

/* ---------- Dates ribbon (includes/campaign-ribbon.php) ---------- */
.mbf26-ribbon {
    background: var(--mbf26-cranberry);
    color: var(--mbf26-cream);
    border-bottom: 1px solid rgba(245, 201, 104, 0.35);
}
.mbf26-ribbon-row {
    max-width: var(--container, 1200px);
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 20px;
    font-family: var(--font-body, Inter, Arial, sans-serif);
    font-size: 0.875rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    text-align: center;
}
.mbf26-ribbon-item { white-space: nowrap; }
.mbf26-ribbon time { color: inherit; }
.mbf26-ribbon-sep { color: var(--mbf26-gold); }
@media (max-width: 600px) {
    .mbf26-ribbon-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0 8px;
        padding: 8px 12px;
        font-size: 0.75rem;
        letter-spacing: 0.05em;
        line-height: 1.3;
    }
    .mbf26-ribbon-sep, .mbf26-ribbon-dot { display: none; }
    .mbf26-ribbon-item { display: flex; flex-direction: column; align-items: center; white-space: normal; }
    .mbf26-ribbon time { color: var(--mbf26-gold); font-size: 0.8125rem; }
}

/* ---------- Mobile sticky CTA (includes/sticky-cta.php, not rendered on /submit/) ---------- */
.mbf26-sticky { display: none; }
#deal-alerts { scroll-margin-top: 88px; }
@media (max-width: 800px) {
    :root { --mbf26-sticky-lift: calc(64px + env(safe-area-inset-bottom, 0px)); }
    .mbf26-sticky {
        display: flex;
        gap: 8px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        box-sizing: border-box;
        height: var(--mbf26-sticky-lift);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
        background: var(--mbf26-navy);
        border-top: 1px solid rgba(245, 201, 104, 0.35);
        box-shadow: 0 -6px 18px rgba(8, 31, 42, 0.25);
    }
    .mbf26-sticky-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
        border: 2px solid var(--mbf26-gold);
        border-radius: 10px;
        font-family: var(--font-body, Inter, Arial, sans-serif);
        font-size: 0.9375rem;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        white-space: nowrap;
    }
    .mbf26-sticky-primary, .mbf26-sticky-primary:visited { background: var(--mbf26-gold); color: var(--mbf26-navy); }
    .mbf26-sticky-primary:hover { background: var(--mbf26-gold-hover); border-color: var(--mbf26-gold-hover); color: var(--mbf26-navy); }
    .mbf26-sticky-outline, .mbf26-sticky-outline:visited { background: transparent; color: var(--mbf26-cream); border-color: var(--mbf26-cream); }
    .mbf26-sticky-outline:hover { background: var(--mbf26-cream); color: var(--mbf26-navy); }
    .mbf26-sticky-btn:focus-visible { outline: 3px solid var(--mbf26-focus); outline-offset: 2px; }

    /* While a form field has focus the bar hides so it never sits over the field or its button.
       C.O.L.E. 2026-11-22 (vaughn-mbf-banner-1122): the bar no longer steps aside for the consent banner, which now sits
       at the top of the page (see "Cookie consent placement" below), so a first-time visitor has the bar too. This
       selector was "html.mbf26-consent-open .mbf26-sticky, html.mbf26-typing .mbf26-sticky". */
    html.mbf26-typing .mbf26-sticky { display: none; }

    /* C.O.L.E. 2026-11-22 (vaughn-mbf-rail-1122): while the homepage hero reaches into the bar's band at the bottom of the
       screen, includes/sticky-cta.php sets html.mbf26-over-hero and the bar is hidden, so it never sits over a hero
       control (the hero shows the same two links). visibility, not display, so the bar keeps its measured height. */
    html.mbf26-over-hero .mbf26-sticky { visibility: hidden; }

    /* While the bar shows, the page gets room for it and the whole floating rail rises by its height, and a control
       scrolled into view (focus, scrollIntoView, "nearest" or "end" alignment) stops above the bar, never under it.
       C.O.L.E. 2026-11-22: was "html:not(.mbf26-consent-open) body:has(.mbf26-sticky)"; scroll-padding added. */
    body:has(.mbf26-sticky) {
        padding-bottom: var(--mbf26-sticky-lift);
        --mbf26-rail-lift: var(--mbf26-sticky-lift);
    }
    html:has(.mbf26-sticky) { scroll-padding-bottom: var(--mbf26-sticky-lift); }
}

/* ---------- Hero controls clear of the floating rail (C.O.L.E. 2026-11-22, key vaughn-mbf-rail-1122) ----------
   The rail below keeps its Part 105 positions, unchanged. Its 44-48px buttons stand in a column at each screen edge, so on
   phones the edge-to-edge hero buttons, Find Deals form and region chips passed under the ADA, chat, translate, support
   and back-to-top buttons as the hero scrolled (ends covered at 320 to 390 wide, measured). Up to 800px these blocks
   now end beside the rail's columns: 4px clear at 480 and below, 12px above (room for a desktop scrollbar). At 345px and
   below the hero buttons take 12px side padding so "List Your Deal Free" (167px of label at 15px) stays on one line.
   The Explore Michigan Deals link is not narrowed: it is centered at its own 205px width and already clears the rail.
   C.O.L.E. 2026-11-22 (key vaughn-mbf-rail-1122b): the same treatment for every interior page hero with CTA buttons
   (section.hero .hero-actions: /about/, /deals/, /cities/ and its 15 region pages, /blog/, /faq/, /featured/,
   /services/, /share-kit/; /campaign/ is M.A.X.'s and has its own stylesheet). Their buttons ran 24-366 at 390 wide and
   10-310 at 320, so the rail sat over their ends. "See the Holiday Campaign" (191px of label) wraps to two lines at 345
   and below; every other interior label fits on one line. */
@media (max-width: 800px) {
    :root { --mbf26-rail-clear: 12px; --mbf26-rail-gutter: calc(var(--mbf26-rail-x) + var(--mbf26-fab) + var(--mbf26-rail-clear)); }
    .mbf-hero .mbf26-hero-actions,
    .mbf-hero .mbf-find,
    .mbf-hero .mbf-quick,
    .hero .hero-actions {
        box-sizing: border-box;
        max-width: calc(100vw - 2 * var(--mbf26-rail-gutter));
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 480px) { :root { --mbf26-rail-clear: 4px; } }
@media (max-width: 345px) {
    .mbf-hero .mbf26-hero-actions .btn,
    .hero .hero-actions .btn { padding-left: 12px; padding-right: 12px; gap: 8px; }
}

/* ---------- Floating rail (Tony 17:45 + Part 105): ADA bottom left, chat above it; back-to-top bottom right,
   translate above it, support above that. One navy/gold look, 48px (44px at 480 and below). ---------- */
:root { --mbf26-fab: 48px; --mbf26-rail-x: 20px; --mbf26-rail-1: 25px; --mbf26-rail-2: 85px; --mbf26-rail-3: 145px; }
@media (max-width: 480px) {
    :root { --mbf26-fab: 44px; --mbf26-rail-x: 12px; --mbf26-rail-1: 20px; --mbf26-rail-2: 74px; --mbf26-rail-3: 128px; }
}
#adaButton.mbf26-fab,
#translate-btn.mbf26-fab,
#back-to-top.mbf26-fab,
#mbf26-support.mbf26-fab,
#cage-widget-container #cage-widget-button {
    box-sizing: border-box !important;
    width: var(--mbf26-fab) !important;
    height: var(--mbf26-fab) !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    border-radius: 50% !important;
    background: var(--mbf26-navy) !important;
    color: var(--mbf26-gold) !important;
    border: 2px solid var(--mbf26-gold) !important;
    box-shadow: 0 6px 16px rgba(8, 31, 42, 0.35) !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
#translate-btn.mbf26-fab, #mbf26-support.mbf26-fab, #adaButton.mbf26-fab, #cage-widget-container #cage-widget-button { display: flex !important; }
#adaButton.mbf26-fab svg,
#translate-btn.mbf26-fab svg,
#back-to-top.mbf26-fab svg,
#mbf26-support.mbf26-fab svg,
#cage-widget-container #cage-widget-button svg {
    width: 22px !important;
    height: 22px !important;
    fill: currentColor !important;
}
#adaButton.mbf26-fab:hover, #translate-btn.mbf26-fab:hover, #back-to-top.mbf26-fab:hover,
#mbf26-support.mbf26-fab:hover, #cage-widget-container #cage-widget-button:hover {
    background: var(--mbf26-gold) !important;
    color: var(--mbf26-navy) !important;
    transform: none !important;
}
#cage-widget-container #cage-widget-button:hover svg { fill: var(--mbf26-navy) !important; }
#adaButton.mbf26-fab:focus { outline: none !important; }
#adaButton.mbf26-fab:focus-visible, #translate-btn.mbf26-fab:focus-visible, #back-to-top.mbf26-fab:focus-visible,
#mbf26-support.mbf26-fab:focus-visible, #cage-widget-container #cage-widget-button:focus-visible {
    outline: 3px solid var(--mbf26-focus) !important;
    outline-offset: 3px !important;
}
#cage-widget-container #cage-input { min-height: 44px; }
/* the chat launcher's "new message" flash, in campaign colors */
#cage-widget-container #cage-widget-button.flashing { animation-name: mbf26CageFlash !important; }
#cage-widget-container #cage-widget-button.flashing svg { animation-name: mbf26CageFlashIcon !important; }
@keyframes mbf26CageFlash { 0%, 100% { background: #081F2A; } 50% { background: #F5C968; } }
@keyframes mbf26CageFlashIcon { 0%, 100% { fill: #F5C968; } 50% { fill: #081F2A; } }
@media (prefers-reduced-motion: reduce) {
    #cage-widget-container #cage-widget-button.flashing, #cage-widget-container #cage-widget-button.flashing svg { animation: none !important; }
}

/* positions: one source for every width, each raised by --mbf26-rail-lift while the sticky bar shows */
#adaWidget.developed-by-appwt-llc-ada-widget {
    /* ada-widget.php gives the widget scale:1 (its "immune" rule), and any scale value other than none makes the widget
       the containing block of its fixed panel (measured: panel top -6px at 390). none keeps the panel on the viewport. */
    scale: none !important;
    left: var(--mbf26-rail-x) !important;
    bottom: calc(var(--mbf26-rail-1) + var(--mbf26-rail-lift, 0px)) !important;
}
#adaWidget .developed-by-appwt-llc-ada-panel {
    left: var(--mbf26-rail-x) !important;
    bottom: calc(var(--mbf26-rail-3) + var(--mbf26-rail-lift, 0px)) !important;
    max-height: calc(100vh - var(--mbf26-rail-3) - 40px - var(--mbf26-rail-lift, 0px)) !important;
}
@media (max-width: 480px) {
    /* on phones the panel stops short of the right column, so support, translate and back-to-top stay reachable */
    #adaWidget .developed-by-appwt-llc-ada-panel {
        right: auto !important;
        width: calc(100vw - 2 * var(--mbf26-rail-x) - var(--mbf26-fab) - 8px) !important;
    }
}
#adaWidget .developed-by-appwt-llc-ada-content { max-height: calc(100vh - var(--mbf26-rail-3) - 140px - var(--mbf26-rail-lift, 0px)) !important; }
body #cage-widget-container.bottom-left {
    left: var(--mbf26-rail-x) !important;
    right: auto !important;
    bottom: calc(var(--mbf26-rail-2) + var(--mbf26-rail-lift, 0px)) !important;
}
#back-to-top.mbf26-fab {
    position: fixed;
    right: var(--mbf26-rail-x) !important;
    bottom: calc(var(--mbf26-rail-1) + var(--mbf26-rail-lift, 0px)) !important;
    z-index: 99995;
}
#translate-btn.mbf26-fab {
    position: fixed;
    right: var(--mbf26-rail-x) !important;
    bottom: calc(var(--mbf26-rail-2) + var(--mbf26-rail-lift, 0px)) !important;
    z-index: 9999999;
}
#mbf26-support.mbf26-fab {
    position: fixed;
    right: var(--mbf26-rail-x);
    bottom: calc(var(--mbf26-rail-3) + var(--mbf26-rail-lift, 0px));
    z-index: 99995;
}
/* the language panel opens beside the right column, so it never covers a rail button */
#translatePanel.mbf26-translate-panel {
    position: fixed;
    z-index: 9999999;
    right: calc(var(--mbf26-rail-x) + var(--mbf26-fab) + 12px) !important;
    bottom: calc(var(--mbf26-rail-1) + var(--mbf26-rail-lift, 0px)) !important;
    width: min(280px, calc(100vw - 2 * (var(--mbf26-rail-x) + var(--mbf26-fab) + 12px))) !important;
    background: #FFFFFF;
    border: 2px solid var(--mbf26-navy);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(8, 31, 42, 0.3);
    overflow: hidden;
}
.mbf26-translate-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 4px 4px 16px;
    background: var(--mbf26-navy);
    color: var(--mbf26-cream);
    font-weight: 600;
    font-size: 0.9rem;
}
.mbf26-translate-head button {
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: none;
    color: var(--mbf26-gold);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
@media (max-width: 768px) {
    html body #cage-widget-container.bottom-left #cage-chat-window {
        bottom: calc(220px + var(--mbf26-rail-lift, 0px)) !important;
        max-height: calc(100vh - 280px - var(--mbf26-rail-lift, 0px)) !important;
    }
}

/* ---------- Cookie consent buttons (V.A.U.G.H.N. wave 3): Accept gold with navy text (10.8:1), Decline the cream outline,
   both 44px; the policy link takes the campaign gold. Same look as the header CTA and the sticky bar. ---------- */
#cookie-consent .cookie-consent-actions .btn {
    min-height: 44px;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
}
#cookie-consent .cookie-consent-actions .btn-primary {
    background: var(--mbf26-gold);
    color: var(--mbf26-navy);
    border: 2px solid var(--mbf26-gold);
}
#cookie-consent .cookie-consent-actions .btn-primary:hover {
    background: var(--mbf26-gold-hover);
    border-color: var(--mbf26-gold-hover);
    color: var(--mbf26-navy);
    box-shadow: none;
}
#cookie-consent .cookie-consent-actions .btn-outline {
    background: transparent;
    color: var(--mbf26-cream);
    border: 2px solid var(--mbf26-cream);
}
#cookie-consent .cookie-consent-actions .btn-outline:hover { background: var(--mbf26-cream); color: var(--mbf26-navy); }
#cookie-consent .cookie-consent-actions .btn:focus-visible { outline: 3px solid var(--mbf26-focus); outline-offset: 2px; }
#cookie-consent .cookie-consent-inner a { color: var(--mbf26-gold); }

/* ---------- Cookie consent placement (C.O.L.E. 2026-11-22, key vaughn-mbf-banner-1122) ----------
   Tony 2026-09-19: "That cookie banner cannot cover anything important." The banner was fixed to the bottom edge, and on a
   clean first visit it sat over the hero Find Deals input at 390x844 (input center y 812, banner top 713), over the input
   and its button whenever they were scrolled to the bottom of a phone screen, and over the last item of the open phone
   menu. It now sits at the TOP of the page in a band of its own and scrolls away with the page, so it lies over nothing
   at any size or scroll position. The wording and Accept/Decline are unchanged. includes/head-common.php sets
   html.mbf-consent-band before first paint when no choice is stored, so the band is reserved before anything is drawn
   (no layout shift); includes/scripts.php shows the banner in it, writes its exact height to --mbf-consent-h, and Accept
   or Decline removes the band. Fallback heights measured 2026-11-22: 131px to 400 wide, 111px to 680 wide (97 to 139px
   between 601 and 680), 76px above. */
:root { --mbf-consent-h: 76px; }
@media (max-width: 680px) { :root { --mbf-consent-h: 111px; } }
@media (max-width: 400px) { :root { --mbf-consent-h: 131px; } }
html.mbf-consent-band body {
    padding-top: var(--mbf-consent-h);
    box-shadow: inset 0 var(--mbf-consent-h) 0 0 var(--mbf26-navy);
}
#cookie-consent.cookie-consent { position: absolute; top: 0; right: 0; bottom: auto; left: 0; box-shadow: none; }
/* the open phone menu hangs from the header, which starts below the band while the page is at the top */
html.mbf-consent-band .site-header.mbf26-header #nav-menu.nav-open {
    max-height: calc(100vh - 72px - var(--mbf-consent-h));
    max-height: calc(100dvh - 72px - var(--mbf-consent-h));
}
/* C.O.L.E. 2026-11-22 (key vaughn-mbf-rail-1122c): the staff-only admin pages print no consent banner
   (includes/scripts.php). The head's first-visit mark is dropped there at DOMContentLoaded; until then the admin layout
   takes no band either, so its fixed sidebar and the page never jump. */
html.mbf-consent-band body:has(.admin-layout) { padding-top: 0; box-shadow: none; }

/* ---------- Inline prose links: 44px tap area, text layout unchanged (V.A.U.G.H.N. 2026-11-22) ----------
   Vertical padding on an inline link grows its hit box but not the line box, and padding-inline with an equal negative
   margin-inline nets to zero advance, so no word moves (proved with an injected before/after diff of every element box
   and every link's text rect on every sitemap page at 390 and 1440: 0 moved). Scope is prose only (p, dd): list links
   (li) are left alone because the region pages style theirs as flex 44px rows. Links that already carry their own
   inline-flex + min-height 44px treatment are excluded so they do not double up and grow: an inline display style,
   the site's strong + mailto pattern, the privacy footer, and the campaign components (mbf-cp-*, c26-*). */
main :is(p, dd) a:is(:not([class]), .inline-cta):not([style*="display"]):not(strong + a[href^="mailto:"]):not(:is([class*="mbf-cp-"], [class*="c26-"], .privacy-footer) a) {
    padding-block: max(12px, calc(22px - 0.6em));
    padding-inline: 8px;
    margin-inline: -8px;
}

@media print {
    .mbf26-ribbon, .mbf26-sticky { display: none !important; }
}

/* ---------- Social profile icon row (V.A.U.G.H.N. 2026-11-22, includes/social-links.php) ----------
   Tony: "add them to the website cohesively with custom icons ... that do something to indicate it's been hovered or
   clicked on". Same round navy/gold badge as the floating .mbf26-fab rail, sized by --mbf26-fab (48px, 44px at 480 and
   below). Footer: navy badge, gold glyph, thin gold ring. Page variant (light background): cream badge, navy glyph,
   navy ring. Hover and keyboard focus: the badge lifts 2px, fills gold, the glyph turns navy, a soft shadow, the name
   label shows; focus adds the 3px focus ring. Press: scale 0.92 with a gold halo and pulse. Visited: the ring color
   changes (browsers allow only color properties on :visited). Reduced motion: no transforms or animation, colors kept.
   Every selector here starts at .mbf26-social, so no existing element changes. Prints nothing until config.php holds a
   verified profile URL. ---------- */
.mbf26-social { margin: 4px 0 32px; } /* 32px below holds the hover label clear of the next field */
.mbf26-social .mbf26-social-heading {
    margin: 0 0 10px;
    font-family: var(--font-body, Inter, Arial, sans-serif);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--mbf26-cream);
}
.mbf26-social .mbf26-social-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mbf26-social .mbf26-social-list li { margin: 0; padding: 0; list-style: none; }
.mbf26-social .mbf26-social-link {
    position: relative;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--mbf26-fab, 48px);
    height: var(--mbf26-fab, 48px);
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 2px solid var(--mbf26-gold);
    border-radius: 50%;
    background: var(--mbf26-navy);
    color: var(--mbf26-gold);
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.18s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mbf26-social .mbf26-social-glyph { display: block; width: 22px; height: 22px; flex-shrink: 0; pointer-events: none; }
/* a link already opened reads differently: cream ring instead of gold */
.mbf26-social .mbf26-social-link:visited { border-color: var(--mbf26-cream); color: var(--mbf26-gold); }
.mbf26-social .mbf26-social-link:hover,
.mbf26-social .mbf26-social-link:focus-visible {
    transform: translateY(-2px);
    background: var(--mbf26-gold);
    border-color: var(--mbf26-gold);
    color: var(--mbf26-navy);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
.mbf26-social .mbf26-social-link:focus { outline: none; }
.mbf26-social .mbf26-social-link:focus-visible { outline: 3px solid var(--mbf26-focus); outline-offset: 3px; }
.mbf26-social .mbf26-social-link:active {
    transform: scale(0.92);
    background: var(--mbf26-gold);
    color: var(--mbf26-navy);
    box-shadow: 0 0 0 5px rgba(245, 201, 104, 0.45);
    transition-duration: 0.06s;
}
.mbf26-social .mbf26-social-link::after {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid var(--mbf26-gold);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}
.mbf26-social .mbf26-social-link:active::after { animation: mbf26SocialPulse 0.45s ease-out; }
@keyframes mbf26SocialPulse {
    0% { opacity: 0.9; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.45); }
}
/* the name label, shown on hover and keyboard focus (the link's accessible name is its aria-label) */
.mbf26-social .mbf26-social-label {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    z-index: 2;
    padding: 3px 8px;
    border: 1px solid rgba(245, 201, 104, 0.6);
    border-radius: 6px;
    background: var(--mbf26-navy);
    color: var(--mbf26-cream);
    font-family: var(--font-body, Inter, Arial, sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.mbf26-social .mbf26-social-link:hover .mbf26-social-label,
.mbf26-social .mbf26-social-link:focus-visible .mbf26-social-label {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    transition-delay: 0s;
}
/* page variant: inverted for a light background, centered under the centered contact details (.contact-intro) */
.mbf26-social--page { max-width: 640px; margin: -8px auto 32px; text-align: center; }
.mbf26-social--page .mbf26-social-heading { color: var(--mbf26-navy); }
.mbf26-social--page .mbf26-social-list { justify-content: center; }
.mbf26-social--page .mbf26-social-link {
    background: var(--mbf26-cream);
    border-color: var(--mbf26-navy);
    color: var(--mbf26-navy);
    box-shadow: 0 2px 6px rgba(8, 31, 42, 0.12);
}
.mbf26-social--page .mbf26-social-link:visited { border-color: var(--mbf26-cranberry); color: var(--mbf26-navy); }
.mbf26-social--page .mbf26-social-link:hover,
.mbf26-social--page .mbf26-social-link:focus-visible,
.mbf26-social--page .mbf26-social-link:active {
    background: var(--mbf26-gold);
    border-color: var(--mbf26-navy);
    color: var(--mbf26-navy);
    box-shadow: 0 8px 18px rgba(8, 31, 42, 0.22);
}
.mbf26-social--page .mbf26-social-link:active { box-shadow: 0 0 0 5px rgba(245, 201, 104, 0.6), 0 0 0 6px rgba(8, 31, 42, 0.35); }
.mbf26-social--page .mbf26-social-link::after { box-shadow: 0 0 0 1px rgba(8, 31, 42, 0.35); }
@media (prefers-reduced-motion: reduce) {
    .mbf26-social .mbf26-social-link,
    .mbf26-social .mbf26-social-label { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
    .mbf26-social .mbf26-social-label,
    .mbf26-social .mbf26-social-link:hover .mbf26-social-label,
    .mbf26-social .mbf26-social-link:focus-visible .mbf26-social-label { transform: translateX(-50%); }
    .mbf26-social .mbf26-social-link:hover,
    .mbf26-social .mbf26-social-link:focus-visible,
    .mbf26-social .mbf26-social-link:active { transform: none; }
    .mbf26-social .mbf26-social-link:active::after { animation: none; }
}
@media print {
    .mbf26-social { display: none !important; }
}
