/**
 * Better Blocks Builder — Frontend Styles
 *
 * MINIMAL CSS — because BBB blocks are stored as NATIVE WordPress block markup
 * in post_content, they render inside the theme's normal content area.
 * This means theme styles (typography, colors, spacing) apply naturally,
 * and we only need to add:
 *   1. Box-sizing reset for our blocks
 *   2. Block-specific defaults (nav-menu, buttons, etc.)
 *   3. Utility classes
 *
 * A theme-isolation reset (section 1b) makes BBB pages render IDENTICALLY on
 * any theme — or no theme — by neutralizing theme typography/link/list/button
 * styles on BBB blocks. Builder inline styles ALWAYS win; the reset only
 * governs what the builder leaves unset. Pairs with the full canvas template
 * (templates/canvas.php + class-bbb-frontend.php).
 *
 * Animation classes are in animations.css (loaded separately).
 */

/* ============================================================
   1. Block Defaults
   ============================================================ */

.bbb-block,
.bbb-block *,
.bbb-block *::before,
.bbb-block *::after {
    box-sizing: border-box;
}

/* Ensure images inside blocks are responsive by default */
.bbb-block img {
    max-width: 100%;
    height: auto;
}

/* Video blocks fill their container (exclude section video backgrounds) */
.bbb-block video:not(.bbb-bg-video),
.bbb-block iframe:not(.bbb-bg-video) {
    max-width: 100%;
}

/* ============================================================
   1b. THEME ISOLATION + BBB DESIGN BASELINE
   Makes a BBB page look the SAME on any theme (or none).
   These are intentionally low-effort defaults: inline styles
   set in the builder override every rule below (inline beats
   stylesheet), so this only controls what the builder leaves
   unset, and cancels out the active theme's bleed.
   ============================================================ */

/* Canvas wrapper sets the document baseline (used by canvas template). */
.bbb-canvas-body { margin: 0; }
.bbb-canvas {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Cancel theme text styling that inherits onto blocks (uppercase, glows,
   letter-spacing, italics, underlines). Builder inline styles still win.
   Scoped under .bbb-canvas so it reliably beats theme element selectors. */
.bbb-canvas .bbb-block {
    text-transform: none;
    letter-spacing: normal;
    text-shadow: none;
    font-style: normal;
    text-decoration: none;
    background-image: none;
}

/* Headings — cancel theme margins/sizes; BBB owns the defaults. */
.bbb-block.bbb-heading {
    margin: 0;
    padding: 0;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.15;
}
h1.bbb-heading { font-size: 2.5rem; }
h2.bbb-heading { font-size: 2rem; }
h3.bbb-heading { font-size: 1.5rem; }
h4.bbb-heading { font-size: 1.25rem; }
h5.bbb-heading { font-size: 1.1rem; }
h6.bbb-heading { font-size: 1rem; }

/* Body text */
.bbb-block.bbb-text {
    margin: 0;
    padding: 0;
    font-family: inherit;
    line-height: 1.6;
}

/* Links + buttons — kill theme underline/colors; builder colors win. */
.bbb-canvas a,
.bbb-block a,
a.bbb-block {
    text-decoration: none;
    color: inherit;
}
.bbb-block.bbb-button,
a.bbb-button {
    display: inline-block;
    font-family: inherit;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

/* Lists */
.bbb-block.bbb-list {
    margin: 0;
    padding-left: 1.25em;
    font-family: inherit;
    line-height: 1.6;
}
.bbb-block.bbb-list li { margin: 0.25em 0; }

/* Media + base box model already reset above */
.bbb-canvas img { display: block; max-width: 100%; height: auto; }

/* ============================================================
   2. Block-Specific Styles
   ============================================================ */

/* Newsletter */
.bbb-block.bbb-newsletter .bbb-newsletter__inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}
.bbb-block.bbb-newsletter .bbb-newsletter__title {
    margin: 0 0 8px;
    color: inherit;
    font: inherit;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
}
.bbb-block.bbb-newsletter .bbb-newsletter__text {
    margin: 0 0 18px;
    color: currentColor;
    opacity: 0.72;
    line-height: 1.6;
}
.bbb-block.bbb-newsletter form[data-bbb-newsletter="true"] {
    margin: 0;
}
.bbb-block.bbb-newsletter .bbb-newsletter__fields {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.bbb-block.bbb-newsletter form[data-bbb-newsletter="true"] input:not(.bbb-newsletter-hp) {
    flex: 1 1 220px;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid rgba(147,51,234,0.28);
    border-radius: 10px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 14px;
    outline: none;
}
.bbb-block.bbb-newsletter form[data-bbb-newsletter="true"] input:not(.bbb-newsletter-hp)::placeholder {
    color: #8b5ca8;
    opacity: 0.7;
}
.bbb-block.bbb-newsletter form[data-bbb-newsletter="true"] input:not(.bbb-newsletter-hp):focus {
    border-color: #9333ea;
    box-shadow: 0 0 0 3px rgba(147,51,234,0.18);
}
.bbb-block.bbb-newsletter .bbb-newsletter__submit {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #ec4899, #9333ea);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    line-height: 1;
}
.bbb-block.bbb-newsletter .bbb-newsletter__submit:disabled {
    cursor: wait;
    opacity: 0.7;
}
.bbb-block.bbb-newsletter .bbb-newsletter-message {
    min-height: 20px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}
.bbb-block.bbb-newsletter .bbb-newsletter-message[data-state="success"] {
    color: #16a34a;
}
.bbb-block.bbb-newsletter .bbb-newsletter-message[data-state="error"] {
    color: #ef4444;
}
.bbb-block.bbb-newsletter .bbb-newsletter-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.bbb-block.bbb-newsletter .bbb-newsletter--dark-glow {
    max-width: 620px;
    padding: 30px;
    border: 1px solid rgba(236, 72, 153, 0.32);
    border-radius: 8px;
    background: linear-gradient(180deg, #1a1024 0%, #0d0713 100%);
    color: #f8fafc;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
}
.bbb-block.bbb-newsletter .bbb-newsletter--dark-glow .bbb-newsletter__title,
.bbb-block.bbb-newsletter .bbb-newsletter--neon-split .bbb-newsletter__title {
  color: #fff;
}
.bbb-block.bbb-newsletter .bbb-newsletter--dark-glow input:not(.bbb-newsletter-hp),
.bbb-block.bbb-newsletter .bbb-newsletter--neon-split input:not(.bbb-newsletter-hp) {
    border-color: rgba(236, 72, 153, 0.34);
    background: #15151f;
    color: #fff;
}
.bbb-block.bbb-newsletter .bbb-newsletter--light-card {
    max-width: 620px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10);
}
.bbb-block.bbb-newsletter .bbb-newsletter--light-card .bbb-newsletter__submit {
    background: #111827;
    box-shadow: none;
}
.bbb-block.bbb-newsletter .bbb-newsletter--minimal-line {
    max-width: 700px;
    padding: 0;
    color: inherit;
}
.bbb-block.bbb-newsletter .bbb-newsletter--minimal-line .bbb-newsletter__title {
    font-size: 22px;
}
.bbb-block.bbb-newsletter .bbb-newsletter--minimal-line .bbb-newsletter__fields {
    padding-bottom: 10px;
    border-bottom: 1px solid currentColor;
}
.bbb-block.bbb-newsletter .bbb-newsletter--minimal-line input:not(.bbb-newsletter-hp) {
    height: 44px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: currentColor;
}
.bbb-block.bbb-newsletter .bbb-newsletter--minimal-line input:not(.bbb-newsletter-hp):focus {
    border-color: transparent;
    box-shadow: none;
}
.bbb-block.bbb-newsletter .bbb-newsletter--minimal-line .bbb-newsletter__submit {
    min-height: 44px;
    border-radius: 8px;
    background: currentColor;
    color: #fff;
    box-shadow: none;
}
.bbb-block.bbb-newsletter .bbb-newsletter--neon-split {
    max-width: 860px;
    padding: 30px;
    border: 1px solid rgba(34, 211, 238, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(236,72,153,0.20), rgba(34,211,238,0.10)),
        #070713;
    color: #dbeafe;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
    align-items: center;
    gap: 24px;
    text-align: left;
    box-shadow: 0 20px 54px rgba(7, 7, 19, 0.44);
}
.bbb-block.bbb-newsletter .bbb-newsletter--neon-split .bbb-newsletter__text {
    margin-bottom: 0;
}
.bbb-block.bbb-newsletter .bbb-newsletter--neon-split .bbb-newsletter-form {
    width: 100%;
}
.bbb-block.bbb-newsletter .bbb-newsletter--neon-split .bbb-newsletter__submit {
    background: linear-gradient(135deg, #22d3ee, #ec4899);
}
.bbb-block.bbb-newsletter .bbb-newsletter--glass-panel {
    max-width: 680px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: inherit;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(14px);
}
.bbb-block.bbb-newsletter .bbb-newsletter--glass-panel input:not(.bbb-newsletter-hp) {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.86);
    color: #111827;
}
.bbb-block.bbb-newsletter .bbb-newsletter--glass-panel .bbb-newsletter__submit {
    background: rgba(17, 24, 39, 0.92);
    box-shadow: none;
}

/* Section / container video backgrounds (Style → Background → Video) */
.bbb-has-video-bg,
[data-bbb-has-video-bg="true"] {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
}
/* Clip layer — full section including under padding */
.bbb-bg-video-wrap {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: 0;
    overflow: hidden !important;
    pointer-events: none;
}
/*
 * Kill theme / .bbb-block video|iframe { max-width:100% } which blocks cover.
 */
.bbb-has-video-bg .bbb-bg-video,
.bbb-has-video-bg video.bbb-bg-video,
.bbb-has-video-bg iframe.bbb-bg-video {
    position: absolute !important;
    max-width: none !important;
    max-height: none !important;
    border: 0 !important;
    pointer-events: none !important;
    z-index: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* Direct MP4/WebM — object-fit cover fills the section */
.bbb-has-video-bg > video.bbb-bg-video,
.bbb-has-video-bg video.bbb-bg-video:not(.bbb-bg-video--iframe) {
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
}
/*
 * YouTube / Vimeo backgrounds: full-bleed cover.
 * Strategy: keep the iframe invisible until playback has settled, poster on top,
 * then crossfade poster out + iframe in. No dark blur masks over the video.
 */
.bbb-has-video-bg iframe.bbb-bg-video--iframe,
.bbb-bg-video-wrap > iframe.bbb-bg-video {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    width: 100vw !important;
    height: 56.25vw !important;
    min-width: 177.78vh !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    transform: translate(-50%, -50%) scale(1.12) !important;
    transform-origin: center center !important;
}
.bbb-bg-video-wrap[data-bbb-yt-bg="true"] > iframe.bbb-bg-video {
    transform: translate(-50%, -50%) scale(1.15) !important;
    /* Hidden until ready — must stay under solid poster until fully opaque */
    opacity: 0 !important;
    transition: opacity 0.7s ease !important;
}
.bbb-bg-video-wrap[data-bbb-yt-bg="true"].is-video-ready > iframe.bbb-bg-video {
    opacity: 1 !important;
}
/* Invisible click catcher — no visual effect */
.bbb-bg-video-click-shield {
    position: absolute !important;
    inset: 0 !important;
    z-index: 2 !important;
    pointer-events: auto !important;
    background: transparent !important;
    cursor: default !important;
}
/* Neutralize old mask classes from earlier experiments */
.bbb-bg-video-ui-block,
.bbb-bg-video-chrome-sides,
.bbb-bg-video-wrap[data-bbb-yt-bg="true"]::before,
.bbb-bg-video-wrap[data-bbb-yt-bg="true"]::after {
    display: none !important;
    content: none !important;
    background: none !important;
}
.bbb-bg-video-overlay {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    z-index: 1;
    pointer-events: none;
}
.bbb-bg-video-content {
    position: relative;
    z-index: 2;
}
/*
 * Poster stays 100% opaque until JS adds .is-hidden — only after the iframe
 * is already fully visible underneath. Never crossfade both at once (that
 * let the YouTube pause flash through a half-transparent poster).
 */
.bbb-bg-video-poster {
    position: absolute !important;
    inset: 0 !important;
    z-index: 3 !important;
    pointer-events: none !important;
    background-color: #0f172a;
    background-size: cover;
    background-position: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.65s ease, visibility 0.65s ease;
}
.bbb-bg-video-poster.is-hidden {
    opacity: 0 !important;
    visibility: hidden;
    pointer-events: none !important;
}
@media (prefers-reduced-motion: reduce) {
    .bbb-bg-video--iframe {
        opacity: 0.001;
    }
    .bbb-bg-video-poster {
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Feature icon (risk tiles / process steps) */
.bbb-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    margin-bottom: 12px;
}
.bbb-feature-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.bbb-feature-icon--critical {
    background: oklch(0.965 0.02 27);
    color: oklch(0.55 0.21 27);
}
.bbb-feature-icon--warning {
    background: oklch(0.975 0.035 90);
    color: oklch(0.62 0.13 75);
}
.bbb-feature-icon--moderate {
    background: oklch(0.955 0.025 258);
    color: oklch(0.54 0.165 258);
}
.bbb-feature-icon--step {
    background: oklch(0.54 0.165 258);
    color: #fff;
    border-radius: 999px;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    box-shadow: 0 10px 24px oklch(0.54 0.165 258 / 0.30);
}
.bbb-feature-icon--step svg {
    width: 24px;
    height: 24px;
}

/* Wider mega menu with 2-col service list (beats aha-pages.css 440px !important) */
.bbb-canvas .bbb-nav-item--mega > .sub-menu,
.bbb-canvas .bbb-nav-mega,
.bbb-nav-item--mega > .sub-menu,
.bbb-nav-mega {
    min-width: min(640px, 94vw) !important;
    max-width: min(720px, 96vw) !important;
}
.bbb-canvas .bbb-nav-mega__items,
.bbb-nav-mega__items {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2px 10px !important;
}
@media (max-width: 720px) {
    .bbb-canvas .bbb-nav-mega__items,
    .bbb-nav-mega__items {
        grid-template-columns: 1fr !important;
    }
}

/* Nav Menu */
.bbb-nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 16px;
}
.bbb-nav-brand {
    font-weight: 700;
    font-size: 18px;
}
.bbb-nav-brand--image {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}
.bbb-nav-brand--image img {
    display: block;
    max-width: min(100%, 360px);
    height: auto;
    object-fit: contain;
}
.bbb-nav-brand__link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}
.bbb-nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}
.bbb-nav-links ul,
.bbb-nav-menu__list,
.bbb-nav-menu__wp-list {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bbb-nav-links li {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bbb-nav-links > ul > li > a,
.bbb-nav-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.bbb-nav-links > ul > li > a:hover,
.bbb-nav-trigger:hover,
.bbb-nav-item--has-children:hover > .bbb-nav-trigger,
.bbb-nav-item--has-children[data-open="true"] > .bbb-nav-trigger {
    background: rgba(15, 23, 42, 0.05);
    opacity: 1;
}
.bbb-nav-chevron {
    width: 12px;
    height: 12px;
    opacity: 0.65;
    transition: transform .18s ease;
    flex: 0 0 auto;
}
.bbb-nav-item--has-children:hover > .bbb-nav-trigger .bbb-nav-chevron,
.bbb-nav-item--has-children[data-open="true"] > .bbb-nav-trigger .bbb-nav-chevron {
    transform: rotate(180deg);
}
.bbb-nav-links .sub-menu,
.bbb-nav-dropdown,
.bbb-nav-mega {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 40;
    min-width: 220px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(17,24,39,0.10);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(15,23,42,0.14);
}
.bbb-nav-item--mega > .sub-menu,
.bbb-nav-mega {
    min-width: min(640px, 94vw);
    max-width: min(720px, 96vw);
    padding: 14px;
}
.bbb-nav-links li:hover > .sub-menu,
.bbb-nav-links li:focus-within > .sub-menu,
.bbb-nav-links li[data-open="true"] > .sub-menu {
    display: flex;
}
.bbb-nav-dropdown__list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.bbb-nav-dropdown__heading,
.bbb-nav-mega__section-label {
    padding: 10px 12px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7280;
}
.bbb-nav-links .sub-menu a,
.bbb-nav-dropdown a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: normal;
}
.bbb-nav-links .sub-menu a:hover,
.bbb-nav-dropdown a:hover {
    background: rgba(37, 99, 235, 0.07);
    opacity: 1;
}
/* Mega panel items */
.bbb-nav-mega__featured {
    display: block;
    position: relative;
    padding: 14px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(37,99,235,0.08), rgba(37,99,235,0.03));
    border: 1px solid rgba(37,99,235,0.14);
    text-decoration: none;
    color: inherit;
}
.bbb-nav-mega__featured:hover {
    background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(37,99,235,0.05));
    opacity: 1;
}
.bbb-nav-mega__featured-top {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.bbb-nav-mega__featured-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}
.bbb-nav-mega__badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.bbb-nav-mega__desc {
    display: block;
    font-size: 12.5px;
    line-height: 1.45;
    color: #64748b;
    font-weight: 400;
}
.bbb-nav-mega__featured-arrow {
    position: absolute;
    right: 14px;
    top: 14px;
    color: #2563eb;
    font-weight: 600;
}
.bbb-nav-mega__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 10px;
}
@media (max-width: 720px) {
    .bbb-nav-mega__items {
        grid-template-columns: 1fr;
    }
}
.bbb-nav-mega__item {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 10px 12px !important;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
}
.bbb-nav-mega__item:hover {
    background: rgba(15, 23, 42, 0.04);
    opacity: 1;
}
.bbb-nav-mega__item-title {
    font-size: 13.5px;
    font-weight: 650;
    color: #0f172a;
}
.bbb-nav-mega__meta {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 500;
}
.bbb-nav-mega__footer {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.bbb-nav-mega__footer a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-weight: 600 !important;
    color: #2563eb !important;
    padding: 10px 12px !important;
}
.bbb-nav-mega__footer a:hover {
    background: rgba(37, 99, 235, 0.06);
}
.bbb-nav-secondary {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 8px;
    color: inherit;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.bbb-nav-secondary:hover {
    background: rgba(15, 23, 42, 0.05);
    opacity: 1;
}
.bbb-nav-links a {
    text-decoration: none;
    color: inherit;
}
.bbb-nav-links a:hover {
    opacity: 0.9;
}
.bbb-nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid transparent;
    transition: filter .15s ease, background .15s ease, color .15s ease, opacity .15s ease;
}
/* CTA style presets — driven by the Nav Menu block "CTA Style" option.
   Double class keeps them ahead of `.bbb-nav-links a { color: inherit }`. */
.bbb-nav-cta.bbb-nav-cta--solid { background: #9333ea; color: #fff; }
.bbb-nav-cta.bbb-nav-cta--gradient { background: linear-gradient(135deg, #ec4899, #9333ea); color: #fff; }
.bbb-nav-cta.bbb-nav-cta--outline { background: transparent; color: currentColor; border-color: currentColor; }
.bbb-nav-cta.bbb-nav-cta--ghost { background: rgba(147, 51, 234, 0.14); color: currentColor; }
.bbb-nav-cta.bbb-nav-cta--pill { background: #9333ea; color: #fff; border-radius: 999px; padding-left: 20px; padding-right: 20px; }
.bbb-nav-cta.bbb-nav-cta--link { background: transparent; color: currentColor; padding-left: 2px; padding-right: 2px; }
.bbb-nav-cta.bbb-nav-cta--link:hover { text-decoration: underline; opacity: 1; }
.bbb-nav-cta.bbb-nav-cta--solid:hover,
.bbb-nav-cta.bbb-nav-cta--gradient:hover,
.bbb-nav-cta.bbb-nav-cta--pill:hover { filter: brightness(1.08); opacity: 1; }
.bbb-nav-cta.bbb-nav-cta--outline:hover,
.bbb-nav-cta.bbb-nav-cta--ghost:hover { background: rgba(147, 51, 234, 0.16); opacity: 1; }

/* Actions cluster (CTA / search / cart) — order is DOM-driven; position here. */
.bbb-nav-actions { display: inline-flex; align-items: center; gap: 16px; }
.bbb-nav-menu[data-actions="left"] .bbb-nav-links { margin-right: auto; }
.bbb-nav-menu[data-actions="left"] .bbb-nav-actions { order: -1; }
.bbb-nav-menu[data-actions="split"] .bbb-nav-links { flex: 1 1 auto; }
.bbb-nav-menu[data-actions="split"] .bbb-nav-actions { margin-left: auto; }

/* Social icon links — Social Icons block (.bbb-social-icons sets its own
   font-size from the block's size prop) and the Nav Menu social option. */
.bbb-social-icons { display: inline-flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.bbb-nav-social { display: inline-flex; align-items: center; gap: 14px; font-size: 18px; }
.bbb-social-icon { display: inline-flex; align-items: center; justify-content: center; color: inherit; text-decoration: none; line-height: 0; transition: opacity .15s ease, transform .15s ease; }
.bbb-social-icon:hover { opacity: .7; transform: translateY(-1px); }
.bbb-social-icon svg { display: block; width: 1em; height: 1em; }
.bbb-social-icon__fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: .56em;
    font-weight: 800;
    line-height: 1;
}

.bbb-nav-menu__search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.bbb-nav-menu__search input {
    width: 170px;
    min-height: 34px;
    border: 1px solid rgba(17,24,39,0.14);
    border-radius: 999px;
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
}
.bbb-nav-menu__search button {
    width: 34px;
    min-width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    cursor: pointer;
}
.bbb-nav-menu__cart {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: inherit;
    font-weight: 700;
    text-decoration: none;
}
.bbb-nav-menu__cart strong,
.bbb-block.bbb-woo-mini-cart strong {
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #9333ea;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    font-size: 11px;
    line-height: 1;
}
.bbb-nav-menu__cart [data-bbb-cart-count="true"],
.bbb-block.bbb-woo-mini-cart [data-bbb-cart-count="true"] {
    transition: transform 0.18s ease, background-color 0.18s ease;
}
.bbb-nav-menu__cart [data-bbb-cart-count="true"].bbb-cart-count-pop,
.bbb-block.bbb-woo-mini-cart [data-bbb-cart-count="true"].bbb-cart-count-pop {
    transform: scale(1.18);
    background: #e8308c;
}
.bbb-woo-add-to-cart.bbb-cart-adding,
.bbb-block.ajax_add_to_cart.bbb-cart-adding,
a.ajax_add_to_cart.bbb-cart-adding {
    opacity: 0.86;
    pointer-events: none;
}
.bbb-woo-add-to-cart.bbb-cart-added,
.bbb-block.ajax_add_to_cart.bbb-cart-added,
a.ajax_add_to_cart.bbb-cart-added {
    filter: brightness(1.06);
}

/* Social Feed */
.bbb-social-feed,
.bbb-social-feed__inner,
.bbb-social-feed__header,
.bbb-social-feed__grid,
.bbb-social-feed__embeds,
.bbb-social-feed__card,
.bbb-social-feed__embed {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
}
.bbb-social-feed,
.bbb-social-feed__inner,
.bbb-social-feed__grid,
.bbb-social-feed__embeds,
.bbb-social-feed__card,
.bbb-social-feed__embed {
    width: 100%;
}
.bbb-social-feed {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    contain: inline-size;
}
.bbb-social-feed__card img,
.bbb-social-feed__embed iframe,
.bbb-social-feed__embed blockquote {
    max-width: 100% !important;
}
.bbb-social-feed__card img,
.bbb-social-feed__embed iframe {
    display: block;
}
.bbb-social-feed__embed iframe {
    width: 100% !important;
}
.bbb-social-feed__embed blockquote {
    min-width: 0 !important;
    width: 100% !important;
    overflow-wrap: anywhere;
}
.bbb-social-feed__card {
    overflow-wrap: anywhere;
}
@media (max-width: 640px) {
    .bbb-social-feed__header {
        display: block !important;
    }
    .bbb-social-feed__grid:not(.bbb-social-feed__grid--masonry),
    .bbb-social-feed__embeds {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .bbb-social-feed,
    .bbb-social-feed__inner,
    .bbb-social-feed__grid,
    .bbb-social-feed__embeds,
    .bbb-social-feed__embed,
    .bbb-social-feed__card {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .bbb-social-feed__grid--masonry {
        column-count: 1 !important;
    }
    .bbb-social-feed__card--compact {
        display: block !important;
    }
    .bbb-social-feed__card--news-feed {
        border-radius: 8px !important;
    }
}

/* WooCommerce output rendered by BBB */
.bbb-woo-heading {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: 800;
}
.bbb-woo-product-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: var(--bbb-woo-card-radius, 12px);
    background: var(--bbb-woo-card-bg, #fff);
    color: var(--bbb-woo-card-text, #111827);
    box-shadow: var(--bbb-woo-card-shadow, none);
}
.bbb-woo-product-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}
.bbb-woo-product-image img {
    width: 100%;
    height: var(--bbb-woo-card-image-h, 200px);
    object-fit: cover;
    transition: opacity .25s ease, transform .24s ease;
    display: block;
}
.bbb-woo-product-card:hover .bbb-woo-product-image img {
    opacity: .82;
    transform: scale(1.02);
}
.bbb-woo-product-poster-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.bbb-woo-product-poster-media img {
    width: 100%;
    height: 100%;
    min-height: var(--bbb-woo-card-image-h, 320px);
    object-fit: cover;
    display: block;
}
.bbb-woo-product-poster-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,3,11,.96), rgba(6,3,11,.55) 42%, rgba(6,3,11,0) 72%);
    pointer-events: none;
}
.bbb-woo-product-body--poster {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 72px;
    background: linear-gradient(to top, rgba(6,3,11,.35), rgba(6,3,11,0) 50%);
}
.bbb-woo-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 800;
}
.bbb-woo-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 14px;
}
.bbb-woo-product-body h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}
.bbb-woo-product-body h3 a {
    color: inherit;
    text-decoration: none;
}
.bbb-woo-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
    font-size: 12px;
}
.bbb-woo-rating span {
    color: #6b7280;
}
.bbb-woo-price {
    color: var(--bbb-woo-card-price, #111827);
    font-size: 17px;
    font-weight: 800;
    transition: opacity .35s ease, transform .35s ease;
}
.bbb-woo-price del {
    display: block;
    color: var(--bbb-woo-card-muted, #9ca3af);
    font-size: 13px;
    font-weight: 500;
}
.bbb-woo-add-to-cart {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    background: var(--bbb-woo-card-accent, #111827);
    color: #fff;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity .4s ease, transform .4s ease;
}

/* Layout modes — aligned with bbb-base theme + builder woo-presets */
.bbb-woo-layout-boutique .bbb-woo-product-body h3,
.bbb-woo-layout-boutique .bbb-woo-product-body--poster h3 {
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: 15px;
}
.bbb-woo-layout-boutique .bbb-woo-add-to-cart {
    text-transform: uppercase;
    letter-spacing: .06em;
}
.bbb-woo-layout-boutique .bbb-woo-product-body,
.bbb-woo-layout-classic .bbb-woo-product-body {
    position: relative;
    padding-bottom: 58px;
}
.bbb-woo-layout-boutique .bbb-woo-add-to-cart,
.bbb-woo-layout-classic .bbb-woo-add-to-cart {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    opacity: 0;
    transform: translateY(10px);
}
.bbb-woo-layout-boutique .bbb-woo-product-card:hover .bbb-woo-add-to-cart,
.bbb-woo-layout-classic .bbb-woo-product-card:hover .bbb-woo-add-to-cart {
    opacity: 1;
    transform: translateY(-4px);
}
.bbb-woo-layout-boutique .bbb-woo-product-card:hover .bbb-woo-price,
.bbb-woo-layout-classic .bbb-woo-product-card:hover .bbb-woo-price {
    opacity: 0;
    transform: translateY(-50%);
}
.bbb-woo-layout-poster.bbb-woo-product-card {
    min-height: var(--bbb-woo-card-image-h, 320px);
    border: 0;
}
.bbb-woo-layout-poster .bbb-woo-product-body h3 a,
.bbb-woo-layout-poster .bbb-woo-product-body--poster h3 a {
    color: #fff;
}
.bbb-woo-layout-poster .bbb-woo-add-to-cart {
    border-radius: 999px;
}
.bbb-woo-layout-minimal.bbb-woo-product-card {
    border: 0;
    box-shadow: none;
    background: transparent;
}
.bbb-woo-layout-minimal .bbb-woo-product-image img {
    border-radius: var(--bbb-woo-card-radius, 8px);
}
.bbb-woo-layout-minimal .bbb-woo-product-body {
    padding-left: 0;
    padding-right: 0;
}
.bbb-woo-layout-compact.bbb-woo-product-card {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: center;
    column-gap: 14px;
    row-gap: 4px;
    padding: 12px 14px;
}
.bbb-woo-layout-compact .bbb-woo-product-image {
    grid-row: 1 / span 3;
    grid-column: 1;
}
.bbb-woo-layout-compact .bbb-woo-product-image img {
    width: 108px;
    height: var(--bbb-woo-card-image-h, 132px);
    border-radius: calc(var(--bbb-woo-card-radius, 14px) - 4px);
}
.bbb-woo-layout-compact .bbb-woo-product-body {
    grid-column: 2;
    padding: 0;
    display: contents;
}
.bbb-woo-layout-compact .bbb-woo-product-body h3 {
    grid-column: 2;
    font-size: 16px;
}
.bbb-woo-layout-compact .bbb-woo-rating {
    grid-column: 2;
}
.bbb-woo-layout-compact .bbb-woo-price {
    grid-column: 2;
    font-size: 16px;
}
.bbb-woo-layout-compact .bbb-woo-add-to-cart {
    grid-column: 2;
    justify-self: start;
    margin-top: 4px;
    position: static;
    opacity: 1;
    transform: none;
    font-size: 12px;
    padding: 8px 12px;
}
.bbb-woo-grid--compact {
    grid-template-columns: 1fr !important;
}
.bbb-woo-desktop-filters {
    display: contents;
}
.bbb-woo-mobile-filters {
    display: none;
}
.bbb-woo-mobile-filters summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1px solid var(--bbb-woo-filter-border, rgba(255,255,255,.18));
    border-radius: 14px;
    background: var(--bbb-woo-filter-bg, #fff);
    color: var(--bbb-woo-filter-text, #111827);
    cursor: pointer;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .06em;
    list-style: none;
    text-transform: uppercase;
}
.bbb-woo-mobile-filters summary::-webkit-details-marker {
    display: none;
}
.bbb-woo-mobile-filters summary > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bbb-woo-mobile-filters summary strong {
    font-size: 12px;
}
.bbb-woo-mobile-filter-icon {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 12px;
    flex: 0 0 16px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
}
.bbb-woo-mobile-filter-icon::after {
    content: "";
    position: absolute;
    left: 3px;
    right: 3px;
    top: 3px;
    border-top: 2px solid currentColor;
}
.bbb-woo-filters {
    width: 100%;
    box-sizing: border-box;
    flex: 0 0 220px;
    align-self: flex-start;
    border: 1px solid var(--bbb-woo-filter-border, #e5e7eb);
    border-radius: 12px;
    background: var(--bbb-woo-filter-bg, #fff);
    color: var(--bbb-woo-filter-text, #111827);
    padding: 18px;
}
.bbb-woo-filters h4 {
    margin: 0 0 14px;
    color: var(--bbb-woo-filter-text, #111827);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.bbb-woo-filters-form {
    display: grid;
    gap: 14px;
}
.bbb-woo-filter-field {
    display: grid;
    gap: 7px;
    margin: 0;
}
.bbb-woo-filter-field > span {
    color: var(--bbb-woo-filter-muted, #6b7280);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.bbb-woo-filter-field input,
.bbb-woo-filter-field select {
    width: 100%;
    min-height: 40px;
    box-sizing: border-box;
    border: 1px solid var(--bbb-woo-filter-border, #d1d5db);
    border-radius: 10px;
    background: var(--bbb-woo-filter-bg, #fff);
    background: color-mix(in srgb, var(--bbb-woo-filter-bg, #fff) 88%, white 12%);
    color: var(--bbb-woo-filter-text, #111827);
    padding: 0 12px;
    font: inherit;
    font-size: 13px;
}
.bbb-woo-filter-field input::placeholder {
    color: var(--bbb-woo-filter-muted, #6b7280);
}
.bbb-woo-price-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.bbb-woo-filter-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.bbb-woo-filter-actions button,
.bbb-woo-filter-actions a {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bbb-woo-filter-border, #d1d5db);
    border-radius: 10px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}
.bbb-woo-filter-actions button {
    border-color: transparent !important;
    background: linear-gradient(135deg, var(--bbb-woo-filter-accent, #9333ea), #e8308c) !important;
    color: #fff !important;
    cursor: pointer;
}
.bbb-woo-filter-actions button:hover,
.bbb-woo-filter-actions button:focus {
    color: #fff !important;
    filter: brightness(1.05);
}
.bbb-woo-filter-actions a {
    background: transparent !important;
    color: var(--bbb-woo-filter-accent, #9333ea) !important;
    border-color: currentColor !important;
}
.bbb-woo-filter-group {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}
.bbb-woo-filter-group strong {
    font-size: 13px;
}
.bbb-woo-filter-group a {
    display: flex;
    justify-content: space-between;
    color: #4b5563;
    font-size: 13px;
    text-decoration: none;
}
.bbb-woo-category-card {
    position: relative;
    display: block;
    height: 210px;
    overflow: hidden;
    border-radius: 12px;
    background: #111827;
    color: #fff;
}
.bbb-woo-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .86;
}
.bbb-woo-category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 65%);
}
.bbb-woo-category-card span {
    position: absolute;
    z-index: 1;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    gap: 3px;
}
.bbb-woo-category-card strong {
    font-size: 18px;
}
.bbb-woo-category-card em {
    font-size: 13px;
    font-style: normal;
    opacity: .85;
}
.bbb-woo-empty {
    grid-column: 1 / -1;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 24px;
    color: #6b7280;
    text-align: center;
}
.bbb-block.bbb-woo-mini-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}
.bbb-block.bbb-search {
    display: flex;
    gap: 8px;
}
.bbb-block.bbb-search input {
    min-height: 40px;
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 0 12px;
}
.bbb-block.bbb-search button {
    border: 0;
    border-radius: 8px;
    background: #9333ea;
    color: #fff;
    padding: 0 16px;
    font-weight: 700;
}

/* Button blocks get pointer cursor */
.bbb-button,
.bbb-block a[href] {
    cursor: pointer;
}

/* Premium gallery + lightbox */
.bbb-gallery-item:hover img {
    transform: scale(1.035);
    filter: brightness(1.04);
}
.bbb-gallery-item:focus-visible {
    outline: 3px solid var(--bbb-primary, #9333ea);
    outline-offset: 3px;
}
.bbb-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(3, 3, 8, 0.92);
}
.bbb-lightbox[hidden] { display: none !important; }
.bbb-lightbox__figure {
    margin: 0;
    max-width: min(1120px, 92vw);
    max-height: 90vh;
}
.bbb-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}
.bbb-lightbox__caption {
    margin-top: 12px;
    color: #fff;
    text-align: center;
    font-size: 14px;
}
.bbb-lightbox__button {
    position: fixed;
    z-index: 1000000;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}
.bbb-lightbox__button:hover {
    background: rgba(255,255,255,.2);
}
.bbb-lightbox__close {
    top: 18px;
    right: 22px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
}
.bbb-lightbox__prev,
.bbb-lightbox__next {
    top: 50%;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    transform: translateY(-50%);
}
.bbb-lightbox__prev { left: 24px; }
.bbb-lightbox__next { right: 24px; }

.bbb-profile-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    /* Mobile default: bottom sheet */
    align-items: flex-end;
    justify-content: stretch;
    padding: 0;
    padding-top: max(8px, env(safe-area-inset-top, 0px));
    background: rgba(15, 23, 42, 0.58);
    box-sizing: border-box;
    overscroll-behavior: contain;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.bbb-profile-popup[hidden] { display: none !important; }
.bbb-profile-popup.bbb-profile-popup--pro {
    background: rgba(15, 23, 42, 0.55);
}
/* Mobile-first panel: stacked photo + scrollable bio. Desktop upgrades below. */
.bbb-profile-popup__panel {
    position: relative;
    display: flex;
    flex-direction: column;
    width: min(920px, 100%);
    max-height: min(92dvh, 92vh);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 20px 20px 0 0;
    background: #11111a;
    color: #fff;
    box-shadow: 0 -12px 48px rgba(0,0,0,.4);
    box-sizing: border-box;
}
.bbb-profile-popup--pro .bbb-profile-popup__panel {
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #ffffff;
    color: #162033;
    box-shadow: 0 -12px 48px rgba(15, 23, 42, 0.22);
}
.bbb-profile-popup--pro .bbb-profile-popup__close {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.94);
    color: #162033;
}
.bbb-profile-popup--pro .bbb-profile-popup__media {
    background: #f1f5f9;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: none;
    align-self: stretch;
}
.bbb-profile-popup--pro .bbb-profile-popup__image {
    min-height: 0;
    width: 100%;
    height: clamp(150px, 28vh, 220px);
    max-height: 220px;
    object-fit: cover;
    object-position: center 16%;
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}
.bbb-profile-popup--pro .bbb-profile-popup__title {
    color: #162033;
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}
.bbb-profile-popup--pro .bbb-profile-popup__role {
    color: #2563eb;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    white-space: normal;
    line-height: 1.35;
}
.bbb-profile-popup--pro .bbb-profile-popup__text p {
    color: #5b6475;
    font-size: 14.5px;
    line-height: 1.65;
    margin: 0 0 10px;
}
.bbb-profile-popup--pro .bbb-profile-popup__text p:last-child {
    margin-bottom: 0;
}
.bbb-profile-popup--pro .bbb-profile-popup__button {
    border-radius: 12px;
    font-weight: 650;
    font-size: 15px;
    background: #2563eb;
}
.bbb-profile-popup__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: rgba(0,0,0,.5);
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}
.bbb-profile-popup__media {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    background: rgba(255,255,255,.06);
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.bbb-profile-popup__image {
    display: block;
    width: 100%;
    height: clamp(150px, 28vh, 220px);
    max-height: 220px;
    min-height: 0;
    object-fit: cover;
    object-position: center 16%;
    image-rendering: auto;
}
.bbb-profile-popup__text p {
    margin: 0 0 10px;
    color: rgba(255,255,255,.78);
    font-size: 14.5px;
    line-height: 1.6;
}
.bbb-profile-popup__text p:last-child { margin-bottom: 0; }
.bbb-profile-popup__body {
    flex: 1 1 auto;
    align-self: stretch;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
}
.bbb-profile-popup__role {
    display: block;
    margin-bottom: 6px;
    padding: 0;
    border: none;
    border-radius: 0;
    color: var(--bbb-primary, #e8308c);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.35;
    white-space: normal;
}
.bbb-profile-popup__title {
    margin: 0;
    color: #fff;
    font-family: Inter, system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: -0.01em;
}
.bbb-profile-popup__text {
    margin: 12px 0 0;
    color: rgba(255,255,255,.78);
    font-size: 14.5px;
    line-height: 1.6;
}
.bbb-profile-popup__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    margin-top: 14px;
    margin-bottom: 4px;
    padding: 12px 20px;
    border-radius: 12px;
    background: var(--bbb-primary, #e8308c);
    color: #fff;
    font-weight: 650;
    font-size: 15px;
    text-decoration: none;
    box-sizing: border-box;
}

/* Desktop / tablet landscape: two-column card */
@media (min-width: 780px) {
    .bbb-profile-popup {
        align-items: center;
        justify-content: center;
        padding: 24px;
        background: rgba(3, 3, 8, 0.88);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .bbb-profile-popup.bbb-profile-popup--pro {
        background: rgba(15, 23, 42, 0.55);
    }
    .bbb-profile-popup__panel {
        display: grid;
        grid-template-columns: minmax(220px, 38%) minmax(0, 1fr);
        width: min(920px, 94vw);
        max-height: 90vh;
        overflow: auto;
        border-radius: 18px;
        box-shadow: 0 28px 90px rgba(0,0,0,.45);
    }
    .bbb-profile-popup--pro .bbb-profile-popup__panel {
        grid-template-columns: minmax(260px, 32%) minmax(0, 1fr);
        box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
    }
    .bbb-profile-popup__media {
        min-height: 280px;
        border-bottom: none;
        height: auto;
        align-self: stretch;
    }
    .bbb-profile-popup--pro .bbb-profile-popup__media {
        min-height: 280px;
    }
    .bbb-profile-popup__image,
    .bbb-profile-popup--pro .bbb-profile-popup__image {
        height: 100%;
        min-height: 280px;
        max-height: min(78vh, 720px);
    }
    .bbb-profile-popup__body {
        align-self: center;
        overflow: visible;
        padding: clamp(28px, 5vw, 54px);
    }
    .bbb-profile-popup__role {
        display: inline-flex;
        margin-bottom: 12px;
        padding: 5px 12px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .12em;
        text-transform: uppercase;
    }
    .bbb-profile-popup--pro .bbb-profile-popup__role {
        border: none;
        padding: 0;
        border-radius: 0;
        font-size: 13.5px;
        font-weight: 600;
        letter-spacing: 0;
        text-transform: none;
    }
    .bbb-profile-popup__title {
        font-family: var(--bbb-font-heading, Oswald, Impact, sans-serif);
        font-size: clamp(32px, 5vw, 56px);
        font-weight: 900;
        line-height: .98;
        text-transform: uppercase;
    }
    .bbb-profile-popup--pro .bbb-profile-popup__title {
        font-family: Inter, system-ui, sans-serif;
        font-size: clamp(22px, 3vw, 28px);
        font-weight: 700;
        line-height: 1.25;
        text-transform: none;
    }
    .bbb-profile-popup__text {
        margin: 18px 0 0;
        font-size: 16px;
        line-height: 1.65;
    }
    .bbb-profile-popup__text p,
    .bbb-profile-popup--pro .bbb-profile-popup__text p {
        font-size: 16px;
        line-height: 1.7;
        margin: 0 0 12px;
    }
    .bbb-profile-popup__button {
        display: inline-flex;
        width: auto;
        min-height: 0;
        margin-top: 24px;
        border-radius: 999px;
        font-weight: 800;
    }
    .bbb-profile-popup--pro .bbb-profile-popup__button {
        border-radius: 10px;
        font-weight: 600;
        font-size: 14px;
    }
    .bbb-profile-popup__close {
        top: 14px;
        right: 14px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

.bbb-nav-menu__toggle {
    display: none;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    color: #111827;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.bbb-nav-menu__toggle svg {
    width: 16px;
    height: 16px;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__toggle {
    display: inline-flex !important;
    margin-left: auto;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__links {
    display: none !important;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 10px !important;
    padding-top: 12px;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"][data-open="true"] .bbb-nav-menu__links {
    display: flex !important;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__wp-list,
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__list {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__wp-list li,
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__list > li,
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__links > a {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__wp-list a,
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__list > li > a,
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-trigger {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: left;
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__wp-list .sub-menu,
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-menu__list .sub-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin-top: 4px;
    box-shadow: none;
    border: 1px solid rgba(15,23,42,0.08);
}
.bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] .bbb-nav-item[data-open="true"] > .sub-menu {
    display: flex;
}
@media (max-width: 1024px) {
    .bbb-nav-menu[data-mobile-menu="true"] {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
    }
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__toggle {
        display: inline-flex !important;
        margin-left: auto;
    }
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__links {
        display: none !important;
        flex-basis: 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px !important;
        padding-top: 12px;
    }
    .bbb-nav-menu[data-mobile-menu="true"][data-open="true"] .bbb-nav-menu__links {
        display: flex !important;
    }
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__wp-list {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__wp-list li,
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__links > a {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__wp-list a {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__wp-list .sub-menu {
        position: static;
        display: flex;
        width: 100%;
        min-width: 0;
        margin-top: 6px;
        box-shadow: none;
    }
}

/* ============================================================
   3. Utility Classes
   ============================================================ */

/* Content width helpers */
.bbb-content-boxed {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.bbb-content-full {
    max-width: 100%;
    width: 100%;
}

/* Responsive visibility controls from the builder's Advanced tab. */
@media (min-width: 1025px) {
    .pf-hide-desktop { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .pf-hide-tablet { display: none !important; }
}
@media (max-width: 767px) {
    .pf-hide-mobile { display: none !important; }
}

/* ============================================================
   4. Animation class aliases
   (animations.css defines the keyframes; these ensure both
   pf-anim-* and bbb-anim-* prefixes work)
   ============================================================ */

/* Entrance animations trigger on scroll into view */
.pf-anim-fade-in,
.pf-anim-fade-up,
.pf-anim-fade-down,
.pf-anim-fade-left,
.pf-anim-fade-right,
.pf-anim-zoom-in,
.pf-anim-zoom-out,
.pf-anim-slide-up,
.pf-anim-slide-down,
.pf-anim-slide-left,
.pf-anim-slide-right,
.pf-anim-flip-x,
.pf-anim-flip-y,
.pf-anim-bounce-in,
.pf-anim-rotate-in {
    /* Animations defined in animations.css */
}

/* Hover effects */
.pf-hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}
.pf-hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.2s;
}
.pf-hover-brighten:hover {
    filter: brightness(1.1);
    transition: filter 0.2s;
}

/* ============================================================
   5. Responsive
   ============================================================ */

@media (max-width: 768px) {
    .bbb-nav-menu:not([data-mobile-menu="true"]) {
        flex-direction: column;
        gap: 12px;
    }
    .bbb-nav-links:not(.bbb-nav-menu__links) {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

/* Character Grid: fixed column mode obeys the builder's Columns slider on
   desktop while still collapsing cleanly on smaller screens. */
@media (max-width: 767px) {
    .bbb-woo-archive-layout,
    .bbb-woo-filter-layout {
        display: grid !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .bbb-woo-desktop-filters {
        display: none !important;
    }

    .bbb-woo-mobile-filters {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .bbb-woo-mobile-filters .bbb-woo-filters {
        margin-top: 10px;
        border-radius: 14px;
        box-shadow: none;
        width: 100%;
    }

    .bbb-woo-filters {
        width: 100%;
        flex-basis: auto;
    }

    .bbb-woo-filter-layout--right .bbb-woo-desktop-filters,
    .bbb-woo-filter-layout--right .bbb-woo-filters {
        order: -1;
    }

    .bbb-woo-products-main {
        width: 100% !important;
        min-width: 0 !important;
    }

    .bbb-woo-heading {
        margin-bottom: 14px !important;
        font-size: clamp(28px, 10vw, 40px) !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere;
    }

    .bbb-woo-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .bbb-woo-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .bbb-woo-product-card {
        width: 100%;
        max-width: 100%;
    }

    .bbb-woo-layout-compact.bbb-woo-product-card {
        grid-template-columns: 96px minmax(0, 1fr);
        padding: 10px;
    }

    .bbb-woo-layout-compact .bbb-woo-product-image img {
        width: 96px;
        height: var(--bbb-woo-card-image-h, 118px);
    }

    .bbb-woo-layout-boutique .bbb-woo-product-body,
    .bbb-woo-layout-classic .bbb-woo-product-body {
        padding-bottom: 14px;
    }

    .bbb-woo-layout-boutique .bbb-woo-add-to-cart,
    .bbb-woo-layout-classic .bbb-woo-add-to-cart {
        position: static;
        left: auto;
        right: auto;
        bottom: auto;
        opacity: 1;
        transform: none;
        margin-top: 10px;
    }

    .bbb-woo-layout-boutique .bbb-woo-product-card:hover .bbb-woo-price,
    .bbb-woo-layout-classic .bbb-woo-product-card:hover .bbb-woo-price {
        opacity: 1;
        transform: none;
    }

    /* Episode grid per-device columns are handled by the dedicated
       data-columns-tablet / data-columns-mobile rules below. */

    .bbb-block.bbb-character-grid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .bbb-character-grid[data-bbb-character-grid="true"][data-column-mode="auto"] {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
    }

    .bbb-character-grid[data-column-mode="fixed"][data-columns="1"] {
        grid-template-columns: 1fr !important;
    }

    .bbb-character-grid[data-column-mode="fixed"][data-columns="2"],
    .bbb-character-grid[data-column-mode="fixed"][data-columns="3"],
    .bbb-character-grid[data-column-mode="fixed"][data-columns="4"],
    .bbb-character-grid[data-column-mode="fixed"][data-columns="5"],
    .bbb-character-grid[data-column-mode="fixed"][data-columns="6"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 520px) {
    .bbb-woo-grid {
        grid-template-columns: 1fr !important;
    }

    .bbb-woo-categories-grid {
        grid-template-columns: 1fr !important;
    }

    .bbb-woo-price-fields {
        grid-template-columns: 1fr !important;
    }

    .bbb-woo-filter-actions {
        grid-template-columns: 1fr !important;
    }

    .bbb-character-grid[data-column-mode="fixed"] {
        grid-template-columns: 1fr !important;
    }

    .bbb-block.bbb-character-grid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .bbb-character-grid[data-bbb-character-grid="true"] {
        grid-template-columns: 1fr !important;
    }
}

/* Episode grid — author-controlled columns per device (Tablet <=1024, Mobile
   <=640). The desktop count is the inline grid-template-columns from render. */
@media (max-width: 1024px) {
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-tablet="1"] { grid-template-columns: 1fr !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-tablet="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-tablet="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-tablet="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-tablet="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-tablet="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-mobile="1"] { grid-template-columns: 1fr !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-mobile="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-mobile="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-mobile="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-mobile="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .bbb-episode-grid[data-column-mode="fixed"][data-columns-mobile="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* Woo product grids (woo-products + woo-archive-products) — responsive columns */
@media (max-width: 1024px) {
    .bbb-woo-products-grid[data-columns-tablet="1"] { grid-template-columns: 1fr !important; }
    .bbb-woo-products-grid[data-columns-tablet="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-tablet="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-tablet="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-tablet="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-tablet="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
    .bbb-woo-products-grid[data-columns-mobile="1"] { grid-template-columns: 1fr !important; }
    .bbb-woo-products-grid[data-columns-mobile="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* Poster layout — full-bleed thumbnail with the title/label overlaid at the
   bottom (data-layout="poster" on the grid). */
.bbb-episode-grid[data-layout="poster"] .bbb-episode-card { position: relative; }
.bbb-episode-grid[data-layout="poster"] .bbb-episode-card > div:last-child {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding-top: 46px !important;
    background: linear-gradient(to top, rgba(6, 3, 11, 0.94) 8%, rgba(6, 3, 11, 0.72) 46%, rgba(6, 3, 11, 0) 100%);
}

.bbb-episode-card {
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: inherit;
    color: inherit;
    background: transparent;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    box-sizing: border-box;
}

.bbb-episode-card:focus {
    outline: none;
}

.bbb-episode-card:focus-visible {
    outline: 2px solid var(--bbb-primary, #e8308c);
    outline-offset: 3px;
}

.bbb-episode-card__play span {
    border: none;
    box-shadow: none;
}

.bbb-episode-card__play-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
    flex-shrink: 0;
}

.bbb-episode-card__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.bbb-episode-card__primary-action {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bbb-episode-notify-toggle,
.bbb-episode-notify-submit {
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    cursor: pointer;
}

.bbb-episode-notify-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.bbb-episode-notify-toggle:hover,
.bbb-episode-notify-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(232, 48, 140, 0.65);
    background: rgba(232, 48, 140, 0.18);
    outline: none;
}

.bbb-episode-notify-form[hidden] {
    display: none !important;
}

.bbb-episode-notify-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bbb-episode-notify-form__text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.5;
}

.bbb-episode-notify-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.bbb-episode-notify-form input[type="email"] {
    min-width: 0;
    width: 100%;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.96);
    color: #111827;
    padding: 0 13px;
    font: inherit;
    font-size: 14px;
    box-sizing: border-box;
}

.bbb-episode-notify-form input[type="email"]::placeholder {
    color: rgba(17, 24, 39, 0.42);
}

.bbb-episode-notify-form input[type="email"]:focus {
    outline: 2px solid rgba(232, 48, 140, 0.38);
    outline-offset: 2px;
}

.bbb-episode-notify-submit {
    min-height: 42px;
    padding: 0 15px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff1675, #b934ff);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bbb-episode-notify-submit:disabled {
    cursor: wait;
    opacity: 0.72;
}

.bbb-episode-notify-form .bbb-newsletter-message {
    min-height: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
}

.bbb-episode-notify-form .bbb-newsletter-message[data-state="success"] {
    color: #7ee787;
}

.bbb-episode-notify-form .bbb-newsletter-message[data-state="error"] {
    color: #ff8da8;
}

.bbb-episode-notify-form .bbb-newsletter-hp {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 520px) {
    .bbb-episode-notify-form__row {
        grid-template-columns: 1fr;
    }
    .bbb-episode-notify-submit {
        width: 100%;
    }
}

.bbb-episode-card:hover {
    transform: translateY(-4px);
}

.bbb-episode-card.is-locked:hover {
    transform: translateY(-2px);
}

.bbb-episode-grid-pagination__btn {
    font: inherit;
    appearance: none;
    transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}

.bbb-episode-grid-pagination__btn:not(:disabled):hover {
    transform: translateY(-1px);
}

.bbb-episode-grid-pagination__btn.is-active {
    box-shadow: 0 8px 24px rgba(232, 48, 140, 0.28);
}

.bbb-episode-card__media img {
    transition: filter 0.22s ease;
}

.bbb-episode-video-modal,
.bbb-episode-fund-modal {
    position: fixed;
    inset: 0;
    z-index: 100004;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(3, 3, 8, 0.9);
}

.bbb-episode-video-modal[hidden],
.bbb-episode-fund-modal[hidden] {
    display: none !important;
}

.bbb-episode-video-modal__panel,
.bbb-episode-fund-modal__panel {
    position: relative;
    width: min(960px, 96vw);
    border-radius: 18px;
    overflow: hidden;
    background: #11111a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.bbb-episode-fund-modal__panel {
    width: min(560px, 94vw);
}

.bbb-episode-video-modal__close,
.bbb-episode-fund-modal__close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.38);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.bbb-episode-video-modal__head,
.bbb-episode-fund-modal__body {
    padding: 20px 24px 0;
}

.bbb-episode-fund-modal__body {
    padding-bottom: 28px;
}

.bbb-episode-video-modal__label,
.bbb-episode-fund-modal__label {
    color: var(--bbb-primary, #e8308c);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bbb-episode-video-modal__title,
.bbb-episode-fund-modal__title {
    margin: 8px 0 0;
    font-family: var(--bbb-font-heading, Oswald, Impact, sans-serif);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    text-transform: uppercase;
}

.bbb-episode-fund-modal__image {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: brightness(0.55);
}

.bbb-episode-fund-modal__text {
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
}

.bbb-episode-fund-modal__button {
    display: inline-flex;
    margin-top: 22px;
    padding: 12px 22px;
    border-radius: 999px;
    background: var(--bbb-primary, #e8308c);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.bbb-episode-video-modal__frame {
    aspect-ratio: 16 / 9;
    background: #000;
}

.bbb-episode-video-modal__frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   Global site header / footer for BBB canvas pages.
   Uses a REAL WordPress menu (Appearance -> Menus, location
   "BBB Header Menu"). Styled dark by default; Global Styles
   will make these configurable.
   ============================================================ */
.bbb-canvas { font-family: 'Inter', system-ui, -apple-system, sans-serif; }
.bbb-site-header { position: sticky; top: 0; z-index: 999; background: oklch(0.12 0.02 300 / 0.95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid oklch(0.62 0.27 350 / 0.18); }
.bbb-site-bar { max-width: 1200px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.bbb-site-logo { color: #fff; font-family: 'Oswald', system-ui, sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 20px; text-decoration: none; display: inline-flex; align-items: center; }
.bbb-site-logo img { max-height: 42px; width: auto; display: block; }
.bbb-site-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; flex-wrap: wrap; align-items: center; }
.bbb-site-menu li { margin: 0; }
.bbb-site-menu a { color: oklch(0.82 0.02 300); font-family: 'Oswald', system-ui, sans-serif; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; font-size: 14px; text-decoration: none; padding: 8px 14px; border-radius: 6px; transition: color .2s, background .2s; }
.bbb-site-menu a:hover { color: #fff; background: oklch(0.62 0.27 350 / 0.16); }
.bbb-site-menu .current-menu-item > a { color: oklch(0.72 0.27 350); }
.bbb-site-footer { background: oklch(0.1 0.02 300); border-top: 1px solid oklch(0.62 0.27 350 / 0.18); }
.bbb-site-footer .bbb-site-bar { padding-top: 22px; padding-bottom: 22px; }
.bbb-site-copy { color: oklch(0.55 0.03 300); font-size: 13px; font-family: 'Inter', system-ui, sans-serif; }
@media (max-width: 680px) { .bbb-site-bar { flex-direction: column; gap: 12px; text-align: center; } .bbb-site-menu { justify-content: center; } }

/* Global Styles: canvas + header/footer pull from CSS variables */
.bbb-canvas { font-family: var(--bbb-font-body); background: var(--bbb-bg); color: var(--bbb-text); }
.bbb-site-header { background: var(--bbb-bg); border-bottom: 1px solid var(--bbb-line); }
.bbb-site-logo { color: var(--bbb-heading); font-family: var(--bbb-font-heading); }
.bbb-site-menu a { color: var(--bbb-text); font-family: var(--bbb-font-heading); }
.bbb-site-menu a:hover { color: var(--bbb-heading); background: var(--bbb-line); }
.bbb-site-menu .current-menu-item > a { color: var(--bbb-primary-bright); }
.bbb-site-footer { background: var(--bbb-bg); border-top: 1px solid var(--bbb-line); }
.bbb-site-copy { color: var(--bbb-muted); }

/* ============================================================
   Show blocks
   ============================================================ */
@keyframes bbb-marquee-left {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes bbb-marquee-right {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}
.bbb-announcement-marquee__track {
    will-change: transform;
}
.bbb-episode-card__play,
.bbb-featured-episode__play,
.bbb-audio-teaser__play {
    -webkit-appearance: none;
    appearance: none;
}
.bbb-episode-card__play-icon {
    display: block;
    flex-shrink: 0;
}
.bbb-video-embed iframe,
.bbb-featured-episode iframe {
    display: block;
}
.bbb-logo-strip img {
    transition: filter 0.25s ease, opacity 0.25s ease;
}
.bbb-logo-strip a:hover img {
    filter: none !important;
    opacity: 1 !important;
}
.bbb-episode-unlock-gate.is-unlocked [data-bbb-unlock-purchase="true"] {
    display: none !important;
}

/* ============================================================
   Global header / footer chrome (outside .bbb-canvas)
   ============================================================ */
.bbb-global-chrome {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: clip;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: inherit;
}
.bbb-global-chrome *,
.bbb-global-chrome *::before,
.bbb-global-chrome *::after {
    box-sizing: border-box;
}
.bbb-global-chrome .bbb-block {
    max-width: 100%;
    text-transform: none;
    letter-spacing: normal;
}
.bbb-global-chrome--header {
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    background: var(--bbb-bg, rgba(18, 10, 26, 0.95));
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bbb-line, rgba(255, 255, 255, 0.08));
}
/* Logged-in wp-admin bar sits above the sticky header (live site only) */
.admin-bar .bbb-global-chrome--header:not([data-bbb-global-chrome-preview]) {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .bbb-global-chrome--header:not([data-bbb-global-chrome-preview]) {
        top: 46px;
    }
}
/* Builder canvas preview — no sticky offset */
[data-bbb-global-chrome-preview="header"].bbb-global-chrome--header {
    position: relative;
    top: auto;
}
.bbb-global-chrome--footer {
    margin-top: auto;
}

@media (max-width: 640px) {
    .bbb-block.bbb-newsletter .bbb-newsletter--neon-split {
        display: block;
        text-align: center;
    }
    .bbb-block.bbb-newsletter .bbb-newsletter--neon-split .bbb-newsletter__text {
        margin-bottom: 18px;
    }
    .bbb-block.bbb-newsletter .bbb-newsletter__fields {
        display: grid;
        grid-template-columns: 1fr;
    }
    .bbb-block.bbb-newsletter form[data-bbb-newsletter="true"] input:not(.bbb-newsletter-hp),
    .bbb-block.bbb-newsletter .bbb-newsletter__submit {
        width: 100%;
    }
}

/* ============================================================
   Responsive collapse for widget-internal grids
   (image gallery, stats, product/category grids, posts grid).
   These grids carry inline column styles from props, so the
   small-screen overrides need !important. Container queries
   make the builder's mobile preview match real phones; the
   viewport media queries cover browsers without CQ support.
   ============================================================ */
.bbb-image-gallery, .bbb-stats, .bbb-woo-products, .bbb-woo-categories, .bbb-posts-grid {
  container-type: inline-size;
}
@container (max-width: 720px) {
  .bbb-gallery[data-layout="grid"], .bbb-gallery[data-layout="justified"], .bbb-gallery[data-layout="featured"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bbb-gallery[data-layout="masonry"] { column-count: 2 !important; }
  .bbb-posts-grid-inner, .bbb-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@container (max-width: 460px) {
  .bbb-gallery[data-layout="grid"], .bbb-gallery[data-layout="justified"] { grid-template-columns: minmax(0, 1fr) !important; }
  .bbb-gallery[data-layout="masonry"] { column-count: 1 !important; }
  .bbb-posts-grid-inner { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (max-width: 767px) {
  .bbb-gallery[data-layout="grid"], .bbb-gallery[data-layout="justified"], .bbb-gallery[data-layout="featured"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bbb-gallery[data-layout="masonry"] { column-count: 2 !important; }
  .bbb-posts-grid-inner, .bbb-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bbb-block.bbb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .bbb-block.bbb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 480px) {
  .bbb-gallery[data-layout="grid"], .bbb-gallery[data-layout="justified"] { grid-template-columns: minmax(0, 1fr) !important; }
  .bbb-gallery[data-layout="masonry"] { column-count: 1 !important; }
  .bbb-posts-grid-inner { grid-template-columns: minmax(0, 1fr) !important; }
  .bbb-block.bbb-grid { grid-template-columns: minmax(0, 1fr) !important; }
}

/* ============================================================
   Mobile polish: cap heading sizes on phones and collapse
   form half-width fields whenever the form is narrow (container
   query keeps the builder's mobile preview honest too).
   Per-block responsive overrides still win — their generated
   CSS loads after this sheet.
   ============================================================ */
@media (max-width: 767px) {
  h1.bbb-heading, .bbb-html h1 { font-size: clamp(30px, 9vw, 42px) !important; line-height: 1.15 !important; }
  h2.bbb-heading, .bbb-html h2 { font-size: clamp(24px, 7vw, 34px) !important; line-height: 1.2 !important; }
  h3.bbb-heading { font-size: clamp(19px, 5.5vw, 26px) !important; }
}
.bbb-form { container-type: inline-size; }
@container (max-width: 560px) {
  .bbb-form-fields { grid-template-columns: 1fr !important; }
  .bbb-form-field--half { grid-column: 1 / -1 !important; }
}
@media (max-width: 640px) {
  .bbb-form-fields { grid-template-columns: 1fr !important; }
  .bbb-form-field--half { grid-column: 1 / -1 !important; }
}

/* Ensure per-device columns for shop/products win on mobile (added after other mobile rules) */
@media (max-width: 640px) {
    .bbb-woo-products-grid[data-columns-mobile="1"] { grid-template-columns: 1fr !important; }
    .bbb-woo-products-grid[data-columns-mobile="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .bbb-woo-products-grid[data-columns-mobile="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* Image gallery per-device columns */
@media (max-width: 1024px) {
    .bbb-gallery[data-columns-tablet="1"] { grid-template-columns: 1fr !important; }
    .bbb-gallery[data-columns-tablet="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-tablet="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-tablet="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-tablet="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-tablet="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
    .bbb-gallery[data-columns-mobile="1"] { grid-template-columns: 1fr !important; }
    .bbb-gallery[data-columns-mobile="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-mobile="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-mobile="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-mobile="5"] { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; }
    .bbb-gallery[data-columns-mobile="6"] { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
}

/* ============================================================
   Header, footer, and form guardrails.
   These keep global chrome and contact forms usable across
   desktop, tablet, and mobile without per-page cleanup.
   ============================================================ */
.bbb-global-chrome,
.bbb-global-chrome *,
.bbb-form,
.bbb-form * {
    min-width: 0;
}

.bbb-global-chrome .bbb-block,
.bbb-global-chrome .bbb-section,
.bbb-global-chrome .bbb-container,
.bbb-global-chrome .bbb-row,
.bbb-global-chrome .bbb-column,
.bbb-global-chrome .bbb-grid {
    max-width: 100%;
}

.bbb-global-chrome--header .bbb-nav-menu,
.bbb-global-chrome--header .bbb-block.bbb-nav-menu,
.bbb-nav-menu {
    width: 100%;
    max-width: 100%;
}

.bbb-nav-menu__brand,
.bbb-nav-brand {
    min-width: 0;
    max-width: min(54vw, 360px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bbb-nav-brand--image img,
.bbb-nav-menu__brand img {
    display: block;
    width: auto;
    max-width: min(100%, 360px);
    max-height: 72px;
    object-fit: contain;
}

.bbb-nav-menu__links,
.bbb-nav-links,
.bbb-nav-actions,
.bbb-nav-social,
.bbb-social-icons {
    min-width: 0;
    max-width: 100%;
}

.bbb-nav-actions,
.bbb-nav-social,
.bbb-social-icons {
    flex-wrap: wrap;
}

.bbb-form {
    width: 100%;
    max-width: min(100%, 640px);
    overflow: visible;
    box-sizing: border-box;
    container-type: inline-size;
}

.bbb-form-fields {
    width: 100%;
    min-width: 0;
}

.bbb-form-field {
    min-width: 0;
}

.bbb-form input,
.bbb-form textarea,
.bbb-form select,
.bbb-form button {
    max-width: 100%;
}

.bbb-form input,
.bbb-form textarea,
.bbb-form select {
    display: block;
    line-height: 1.4;
}

.bbb-form textarea {
    width: 100%;
}

.bbb-form-fields > .bbb-form-submit,
.bbb-form-fields > .bbb-form-message,
.bbb-form-fields > .bbb-form-captcha,
.bbb-form-submit,
.bbb-form-message,
.bbb-form-captcha {
    grid-column: 1 / -1;
    width: 100%;
}

.bbb-form-title {
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.bbb-form-captcha {
    overflow-x: auto;
    justify-content: flex-start;
}

.bbb-form-captcha > div,
.bbb-form-captcha iframe {
    max-width: 100%;
}

@container (max-width: 560px) {
    .bbb-form-fields {
        grid-template-columns: 1fr !important;
    }

    .bbb-form-field,
    .bbb-form-field--half,
    .bbb-form-field--full {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 1024px) {
    .bbb-nav-menu[data-mobile-menu="true"],
    .bbb-nav-menu[data-mobile-menu="true"][data-mobile-active="true"] {
        align-items: center !important;
        padding: clamp(12px, 2.4vw, 20px) clamp(16px, 4vw, 24px) !important;
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__brand,
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-brand {
        flex: 1 1 auto;
        max-width: calc(100% - 120px);
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__toggle {
        min-height: 42px;
        white-space: nowrap;
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__links {
        margin-top: 6px;
        min-width: 100%;
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-actions {
        width: 100%;
        margin-left: 0 !important;
        align-items: stretch !important;
        justify-content: center;
        gap: 10px !important;
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-actions > * {
        width: 100%;
        max-width: 100%;
        justify-content: center;
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__search {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-menu__search input {
        width: 100%;
        min-width: 0;
    }

    .bbb-nav-menu[data-mobile-menu="true"] .bbb-nav-social,
    .bbb-nav-menu[data-mobile-menu="true"] .bbb-social-icons {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .bbb-nav-brand--image img,
    .bbb-nav-menu__brand img {
        max-width: min(52vw, 220px) !important;
        max-height: 64px;
    }

    .bbb-nav-menu__toggle {
        min-height: 44px;
    }

    .bbb-global-chrome--footer .bbb-block.bbb-grid,
    .bbb-global-chrome--footer .bbb-block.bbb-row {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        gap: 24px !important;
    }

    .bbb-global-chrome--footer .bbb-block.bbb-column {
        width: 100% !important;
        max-width: 100% !important;
        align-items: flex-start;
    }

    .bbb-global-chrome--footer .bbb-nav-menu:not([data-mobile-menu="true"]),
    .bbb-global-chrome--footer .bbb-nav-links,
    .bbb-global-chrome--footer .bbb-nav-menu__wp-list {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .bbb-global-chrome--footer .bbb-social-icons,
    .bbb-global-chrome--footer .bbb-nav-social {
        justify-content: flex-start;
    }

    .bbb-form {
        padding: 22px 18px;
        border-radius: 12px;
    }

    .bbb-form-title {
        font-size: clamp(20px, 7vw, 24px);
    }

    .bbb-form-fields {
        grid-template-columns: 1fr !important;
    }

    .bbb-form-field,
    .bbb-form-field--half,
    .bbb-form-field--full {
        grid-column: 1 / -1 !important;
    }

    .bbb-newsletter-form .bbb-form-submit {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .bbb-form {
        padding: 18px 14px;
    }
}
