/*
* Description: Custom CSS Additions Go Here
* Template: twentyseventeen
* Version: 1.0
* Author: VDS
*/

/* vars vars vars vars vars vars vars vars vars vars vars vars vars vars  */

:root {

/* These vars do not require values as they get set automatically in options-page-stylesheet.php
 * They are mainly here so they show up as autocomplete suggestions in code editors if desired.
*/

@property --accent1 { syntax: '*'; inherits: true; }
@property --accent2 { syntax: '*'; inherits: true; }
@property --accent3 { syntax: '*'; inherits: true; }
@property --dark1   { syntax: '*'; inherits: true; }
@property --dark2   { syntax: '*'; inherits: true; }
@property --dark3   { syntax: '*'; inherits: true; }
@property --light1  { syntax: '*'; inherits: true; }
@property --light2  { syntax: '*'; inherits: true; }
@property --light3  { syntax: '*'; inherits: true; }
@property --uihover { syntax: '*'; inherits: true; }
@property --white   { syntax: '*'; inherits: true; }
@property --black   { syntax: '*'; inherits: true; }

/* font family vars */
/*--bodyfont:;*/
/*--headingfont:;*/
/* 	--DunbarMed: 'DunbarTall-Medium', sans-serif; */
/* 	--MontReg: 'Montserrat-Regular', sans-serif; */
/* 	--MontB: 'Montserrat-Bold', sans-serif; */

}

/* /vars /vars /vars /vars /vars /vars /vars /vars /vars /vars /vars  */

/* General */

/*header#header {
	display: none !important;
    color: var(--);
}*/

/* Top Anchor + Recaptcha */

a.topbutton {
    background-color: var(--accent1);
    transition: all 0.3s ease-in-out;
    border: 2px solid var(--light1);
    text-decoration: none;
    border-radius: 7px;
    bottom: 148px;
    right: 10px;
}
a.topbutton:hover {
	border-color: var(--accent2);
}
a.topbutton i.icon-angle-up {
	justify-content: center;
	align-items: center;
	display: flex;
}
a.topbutton i.icon-angle-up:before {
	transition: all 0.3s ease-in-out;
    margin: 0 !important;
    color: var(--light1);
    position: relative;
    font-size: 48px;
    line-height: 1;
    top: -4.5px;
}
a.topbutton:hover i:before {
	transition: all 0.3s ease-in-out;
	color: var(--accent2);
}
div.grecaptcha-badge {
    bottom: 70px !important;
}

/* END Top Anchor + Recaptcha */

.top-widget .widget a:link {
    color: var(--accent2);
}

/* === Page: Global Shell === 2026-11-18 === */
/* ============================================================
   BUD BOUTIQUE — GLOBAL SHELL
   Ported from the approved dev-ready comp (index.html / styles.css).
   Colour vars come from Theme Options via option-page-styles.css.
   ============================================================ */

:root {
    --bb-cyan: #12DDF8;
    --bb-blue: #0951C8;
    --bb-violet: #8C17EB;
    --bb-magenta: #CD2BF4;
    --bb-silver: #DCE5F3;
    --bb-obsidian: #03040B;
    --bb-rgb-cyan: 18, 221, 248;
    --bb-rgb-magenta: 205, 43, 244;

    --bb-display: 'Cinzel-SemiBold', 'Times New Roman', serif;
    --bb-body: 'Montserrat-Regular', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --bb-ui: 'Montserrat-Bold', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

    --bb-line: rgba(255, 255, 255, .14);
    --bb-line-strong: rgba(255, 255, 255, .47);

    --bb-btn-fill: linear-gradient(90deg, #0a58cc 0%, #0f2c9c 28%, #2b1aaa 55%, #6c1bd2 80%, #a923e2 100%);
    --bb-btn-border: linear-gradient(90deg, #3de8ff 0%, #f0f8ff 40%, #efc4ff 75%, #dc72ff 100%);
    --bb-btn-glow: -4px 0 14px rgba(var(--bb-rgb-cyan), .5), 4px 0 16px rgba(var(--bb-rgb-magenta), .45), 0 0 22px rgba(9, 81, 200, .35);

    --bb-ease: cubic-bezier(.2, .7, .2, 1);
    --bb-pill: 999px;

    /* Fluid display sizes, matching the comp's clamp() scale. */
    --bb-fs-h1: clamp(36.8px, 4.48vw, 66.7px);
    --bb-fs-h2: clamp(34.5px, 4.6vw, 66.7px);
    --bb-fs-h2-story: clamp(32.2px, 4.02vw, 57.5px);
    --bb-fs-h2-sm: clamp(24.15px, 2.82vw, 41.4px);
    --bb-fs-lede: clamp(16.1px, 1.32vw, 18.97px);
    --bb-fs-btn: clamp(11.5px, 1.09vw, 15.87px);
}

/* Cinzel Bold is a second weight the options page doesn't compile on its own. */
@font-face {
    font-family: 'Cinzel-Bold';
    src: url('/wp-content/themes/vds/fonts/cinzel/Cinzel-Bold.woff2') format('woff2');
    font-display: swap;
    font-weight: normal;
    font-style: normal;
}

/* ------------------------------------------------------------
   BASE — the whole site sits on obsidian, so text defaults white
   (color.css otherwise forces var(--black) outside dark* rows).
   ------------------------------------------------------------ */
html { scroll-behavior: smooth; }

body {
    background: var(--dark1);
    overflow-x: hidden;
}

body #content,
body .bakery,
body #content .bakery { background: var(--dark1); }

body #content h1,
body #content h2,
body #content h3,
body #content h4,
body #content h5,
body #content h6,
body #content p,
body #content li,
body #content td,
body #content th,
body #content label,
body #content span:not(.wpcf7-list-item-label) { color: var(--light1) !important; }

body #content h1,
body #content h2,
body #content h3 { text-wrap: balance; }

body #content a:not(.btn-bt) { color: var(--accent1) !important; transition: color .2s; }
body #content a:not(.btn-bt):hover { color: var(--light1) !important; }

/* The comp has no utility bar above the header. */
header#header .top-widget { display: none; }

/* ------------------------------------------------------------
   HEADER
   ------------------------------------------------------------ */
body header#header {
    position: relative;
    z-index: 60;
    background: var(--dark1);
}

body header#header .top-header {
    position: relative;
    background: var(--dark1);
}

body header#header .top-header:after {
    content: "";
    position: absolute;
    left: 26%;
    right: 3%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16) 15%, rgba(255, 255, 255, .12) 85%, transparent);
}

body header#header .top-header .container {
    display: flex;
    align-items: center;
    gap: clamp(20px, 4vw, 56px);
    padding-left: clamp(18px, 4.4vw, 64px);
    padding-right: clamp(18px, 4.4vw, 64px);
    max-width: none;
    width: 100%;
}

/* The comp's mark overhangs the header bar onto the hero below it. A negative
   bottom margin buys that overhang without changing the header's height. */
body header#header,
body header#header .top-header,
body header#header .top-header .container { overflow: visible; }

body header#header .top-header .container { min-height: clamp(64px, 5.7vw, 82px); }

body header#header .logo {
    flex: 0 0 auto;
    position: relative;
    z-index: 5;
    align-self: flex-start;
    margin-top: clamp(4px, .7vw, 10px);
    margin-bottom: clamp(-34px, -2.6vw, -14px);
    line-height: 0;
}

body header#header .logo a img {
    height: clamp(62px, 7.4vw, 108px) !important;
    max-height: none !important;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(88, 111, 255, .18));
}

body header#header .navigation-top { margin-left: auto; }

body header#header .nav-and-button {
    display: flex;
    align-items: center;
    gap: clamp(10px, 2vw, 28px);
}

/* --- desktop nav --- */
body header#header ul.menu-wrapper {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 36px);
    margin: 0;
    padding: 0;
    list-style: none;
}

body header#header ul.menu-wrapper > li { position: relative; margin: 0; }

body header#header ul.menu-wrapper > li > a {
    position: relative;
    display: block;
    padding: 12px 0;
    font-family: var(--bb-ui) !important;
    font-size: clamp(11.5px, 1.05vw, 15px) !important;
    font-weight: 700 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    white-space: nowrap;
    color: var(--light1) !important;
    transition: color .2s, text-shadow .2s;
}

body header#header ul.menu-wrapper > li > a:hover,
body header#header ul.menu-wrapper > li.current-menu-item > a,
body header#header ul.menu-wrapper > li.current-menu-ancestor > a {
    color: var(--light1) !important;
    text-shadow: 0 0 14px rgba(0, 230, 255, .7);
}

body header#header ul.menu-wrapper > li > a:before {
    content: "";
    position: absolute;
    left: -10px;
    right: -10px;
    bottom: 4px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent1) 25%, #3b7bff 75%, transparent);
    box-shadow: 0 0 10px rgba(0, 200, 255, .8);
    opacity: 0;
    transform: scaleX(.4);
    transition: opacity .2s, transform .3s var(--bb-ease);
}

body header#header ul.menu-wrapper > li.current-menu-item > a:before,
body header#header ul.menu-wrapper > li.current-menu-ancestor > a:before { opacity: 1; transform: scaleX(1); }

body header#header ul.menu-wrapper > li > a:hover:before {
    opacity: 1;
    transform: scaleX(1);
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    box-shadow: 0 0 8px var(--accent3);
}

/* --- dropdown --- */
body header#header ul.menu-wrapper ul.sub-menu {
    position: absolute;
    top: 100%;
    left: -18px;
    min-width: 260px;
    margin: 0;
    /* No vertical padding: the item hover fill should run edge to edge of the
       panel. `overflow: hidden` then clips that fill to the panel's radius —
       without it the first/last item's hover background paints square corners
       over the rounded border. */
    padding: 0;
    overflow: hidden;
    list-style: none;
    background: #070A16;
    border: 1px solid rgba(var(--bb-rgb-cyan), .28);
    border-radius: 10px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .65);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s var(--bb-ease), visibility .2s;
    z-index: 70;
}

body header#header ul.menu-wrapper > li:hover > ul.sub-menu,
body header#header ul.menu-wrapper > li:focus-within > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

body header#header ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
    white-space: nowrap;
}

body header#header ul.sub-menu li a:hover {
    color: var(--accent1) !important;
    background: rgba(var(--bb-rgb-cyan), .07);
}

/* --- dropdown caret + stable flyout position ---
   The desktop caret is NOT the injected ``
   (that button is display:none above mobile). It is the theme's own
   `nav#site-navigation.hide-small-desktop li.menu-item-has-children a::after`
   — a fontello `\f107` glyph, position:absolute, right:0, paired with
   `padding-right:16px` on the .

   Two bugs came out of that: our nav underline was ALSO on `a::after`, so the
   two fought over one pseudo-element, and our `padding: 12px 0` wiped the
   theme's right padding, leaving the glyph with nowhere to sit — it fell to
   the bottom of the line box, below the cyan underline. The underline now
   lives on `a::before`, and the caret gets its own gutter and is centred.

   The flyout also jumped on first interaction: the theme hides it with
   `.sub-menu-toggle[aria-expanded=false] ~ ul { display: none }`, so until the
   first hover there was no box to measure, and twentytwentyoneSubmenuPosition()
   then re-measured and could add .submenu-reposition-right/left. Keep it laid
   out at all times (opacity/visibility do the hiding, which is what the
   transition wants anyway) and pin its edge. */
body header#header ul.menu-wrapper > li.menu-item-has-children > a { padding-right: 20px !important; }

body header#header ul.menu-wrapper > li.menu-item-has-children > a:after {
    top: 50% !important;
    right: 0 !important;
    bottom: auto !important;
    left: auto !important;
    line-height: 1 !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    color: var(--light1) !important;
    opacity: .7;
    transform: translateY(-50%);
    transform-origin: center;
    transition: opacity .2s, transform .2s var(--bb-ease);
    pointer-events: none;
}

body header#header ul.menu-wrapper > li.menu-item-has-children:hover > a:after,
body header#header ul.menu-wrapper > li.menu-item-has-children:focus-within > a:after {
    opacity: 1;
    transform: translateY(-50%) rotate(180deg);
}

/* The injected toggle button is hidden at desktop by the theme; make sure it
   stays hidden so a second arrow can never appear beside the caret. */
body header#header ul.menu-wrapper > li > button.sub-menu-toggle { display: none !important; }

/* Never let the theme's display rules take the flyout out of flow. */
body header#header ul.menu-wrapper > li > button.sub-menu-toggle[aria-expanded="false"] ~ ul.sub-menu,
body header#header ul.menu-wrapper > li > button.sub-menu-toggle[aria-expanded="true"] ~ ul.sub-menu {
    display: block !important;
}

/* Pin the edge against twentytwentyoneSubmenuPosition()'s reposition classes. */
body header#header ul.menu-wrapper ul.sub-menu,
body header#header ul.menu-wrapper ul.sub-menu.submenu-reposition-right,
body header#header ul.menu-wrapper ul.sub-menu.submenu-reposition-left {
    left: -18px !important;
    right: auto !important;
}

body header#header ul.menu-wrapper > li > button.sub-menu-toggle[aria-expanded="true"] ~ ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- utility icons --- */
body header#header .header-icons {
    display: flex;
    align-items: center;
    gap: clamp(4px, 1vw, 14px);
}

body header#header .header-icon {
    width: clamp(34px, 2.9vw, 42px);
    height: clamp(34px, 2.9vw, 42px);
    display: grid;
    place-items: center;
    color: var(--light1) !important;
    transition: color .2s, transform .2s;
}

body header#header .header-icon:hover { color: var(--accent1) !important; transform: translateY(-2px); }

body header#header .header-icon .bb-hi {
    width: clamp(20px, 1.9vw, 26px);
    height: clamp(20px, 1.9vw, 26px);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

/* --- mobile --- */
body header#header #primary-mobile-menu {
    background: none;
    border: 0;
    color: var(--light1);
    padding: 0 4px;
}

body header#header #primary-mobile-menu i:before { color: var(--light1); font-size: 26px; }

body header#header nav#mobile-site-navigation {
    background: #050710;
    border-bottom: 1px solid rgba(215, 115, 255, .45);
}

body header#header nav#mobile-site-navigation ul.mobile-menu { margin: 0; padding: 8px 22px 18px; list-style: none; }
body header#header nav#mobile-site-navigation ul.mobile-menu ul.sub-menu { margin: 0; padding: 0 0 0 16px; list-style: none; }

body header#header nav#mobile-site-navigation a {
    display: block;
    padding: 14px 2px;
    font-family: var(--bb-ui) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

body header#header nav#mobile-site-navigation a:hover { color: var(--accent1) !important; }

/* ------------------------------------------------------------
   BUTTONS — neon gradient pill + hairline outline pill
   ------------------------------------------------------------ */
body #content a.btn-bt,
body a.btn-bt,
body footer#footer a.btn-bt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .9em;
    min-height: clamp(38px, 3.2vw, 46px);
    padding: 0 clamp(22px, 2.4vw, 34px);
    border-radius: var(--bb-pill);
    font-family: var(--bb-ui) !important;
    font-size: var(--bb-fs-btn) !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    white-space: nowrap;
    color: var(--light1) !important;
    transition: transform .22s, box-shadow .22s, background .22s, border-color .22s;
}

body #content a.btn-bt.default,
body a.btn-bt.default {
    border: 2px solid transparent;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, 0) 52%) padding-box,
        radial-gradient(ellipse 70% 120% at 50% 55%, rgba(2, 5, 38, .9), rgba(2, 5, 38, 0) 85%) padding-box,
        var(--bb-btn-fill) padding-box,
        var(--bb-btn-border) border-box;
    box-shadow:
        var(--bb-btn-glow),
        0 0 0 .5px rgba(255, 255, 255, .55),
        inset 0 0 12px 1px rgba(120, 150, 255, .4),
        inset 8px 0 14px -4px rgba(var(--bb-rgb-cyan), .85),
        inset -8px 0 16px -4px rgba(var(--bb-rgb-magenta), .9),
        inset 0 6px 9px -5px rgba(255, 255, 255, .45),
        inset 0 -8px 12px -5px rgba(170, 90, 255, .7);
}

body #content a.btn-bt.default:hover,
body a.btn-bt.default:hover {
    transform: translateY(-4px) scale(1.035);
    box-shadow:
        -3px 0 15px #00e6ff, 3px 0 20px #f15dff, 0 14px 30px rgba(111, 42, 255, .32),
        inset 7px 0 14px -5px rgba(var(--bb-rgb-cyan), .75),
        inset -7px 0 16px -5px rgba(var(--bb-rgb-magenta), .8),
        inset 0 6px 9px -5px rgba(255, 255, 255, .45),
        inset 0 -8px 12px -5px rgba(170, 90, 255, .7);
}

body #content a.btn-bt.alternate,
body a.btn-bt.alternate {
    border: 1.5px solid rgba(255, 255, 255, .95);
    background: rgba(0, 0, 0, .35);
}

body #content a.btn-bt.alternate:hover,
body a.btn-bt.alternate:hover {
    transform: translateY(-3px);
    background: rgba(106, 49, 157, .23);
    border-color: var(--accent1);
    box-shadow: 0 7px 22px rgba(181, 69, 251, .25);
}

/* Trailing arrow, so buttons match the comp without an  tag. */
body a.btn-bt.has-arrow:after {
    content: "";
    width: 1.9em;
    height: .9em;
    flex: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M1 6h25M21 1l5 5-5 5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    transition: transform .2s var(--bb-ease);
}

body a.btn-bt.has-arrow:hover:after { transform: translateX(4px); }

/* ------------------------------------------------------------
   SHARED CONTENT PRIMITIVES
   Used by every page, so they live here rather than per page.
   ------------------------------------------------------------ */
body #content .bb-eyebrow {
    display: block;
    font-family: var(--bb-ui) !important;
    font-weight: 700 !important;
    font-size: clamp(11.5px, 1.3vw, 18px) !important;
    letter-spacing: .34em !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    color: var(--accent1) !important;
    margin: 0 0 6px !important;
}

body #content .bb-eyebrow.magenta { color: var(--accent2) !important; }

body #content .bb-display,
body #content .bb-display h1,
body #content .bb-display h2 {
    font-family: var(--bb-display) !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
}

body #content h1 { font-size: var(--bb-fs-h1) !important; line-height: .98 !important; }
body #content h2 { font-size: var(--bb-fs-h2-story) !important; line-height: 1.02 !important; }

body #content .bb-lede {
    font-size: var(--bb-fs-lede) !important;
    line-height: 1.5 !important;
    color: var(--light1) !important;
}

body #content .bb-muted { color: var(--light2) !important; }

/* Glowing hairline divider between bands. */
.bakery .bb-glow-line,
body #content hr.bb-glow-line {
    height: 2px;
    border: 0;
    margin: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(247, 160, 255, .9) 15%, rgba(108, 196, 238, .95) 32%, rgba(143, 215, 227, .95) 50%, rgba(143, 155, 200, .9) 68%, rgba(251, 184, 253, .9) 84%, transparent 100%);
    box-shadow: 0 0 8px rgba(160, 110, 255, .7), 0 0 18px rgba(80, 170, 255, .35);
}

/* Section rhythm — tighter than the theme default, matching the comp. */
.bakery section.vc_section { padding: clamp(30px, 3.4vw, 50px) 0; }
.bakery section.vc_section.bb-tight { padding: clamp(18px, 2vw, 28px) 0; }
.bakery section.vc_section.bb-flush { padding: 0; }

/* ------------------------------------------------------------
   TOP BANNER — the repeatable subpage hero (ACF header_background)
   ------------------------------------------------------------ */
body .default-header {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background-color: #000;
    background-size: cover;
    background-position: center 34%;
    background-repeat: no-repeat;
    isolation: isolate;
    padding-bottom: clamp(28px, 3vw, 46px);
}

body .default-header:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .55) 22%, rgba(0, 0, 0, .3) 44%, rgba(0, 0, 0, .66) 74%, var(--dark1) 100%);
}

body .default-header:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .14), transparent);
}

body .default-header .container { position: relative; z-index: 1; }

body .default-header h1 {
    font-family: var(--bb-display) !important;
    font-weight: 600 !important;
    font-size: var(--bb-fs-h1) !important;
    line-height: .98 !important;
    letter-spacing: 0 !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .65);
    margin: 0;
}

/* Generic templates (404, search, single, archive, blog) have no ACF Top
   Banner behind them, so they carry .default-header AND .bb-fallback-banner —
   the layout comes from .default-header above, the image from here. */
body .default-header.bb-fallback-banner {
    min-height: clamp(260px, 26vw, 380px);
    background-image: url('/wp-content/uploads/2026/11/bud-boutique-hero.webp');
}

/* get_the_archive_title() and the search template both put a  inside the
   h1; the blanket span rule at the top of this file would shrink it. */
body #content .default-header h1 span,
body #content .default-header h1 .bb-search-term {
    font-size: inherit !important;
    font-family: inherit !important;
    text-transform: none !important;
    color: var(--accent1) !important;
    word-break: break-word;
}

/* ------------------------------------------------------------
   GRAVITY FORMS — legacy mode is off, so this is a full restyle
   ------------------------------------------------------------ */
body #content .gform_wrapper form { margin: 0; }

body #content .gform_wrapper .gform_fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

body #content .gform_wrapper .gfield { grid-column: span 2; }
body #content .gform_wrapper .gfield--type-text,
body #content .gform_wrapper .gfield--type-email,
body #content .gform_wrapper .gfield--type-phone { grid-column: span 1; }

body #content .gform_wrapper .gfield_label {
    font-family: var(--bb-ui) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--light2) !important;
    margin-bottom: 7px !important;
    display: block;
}

body #content .gform_wrapper .gfield_required { color: var(--accent2) !important; }

body #content .gform_wrapper input[type="text"],
body #content .gform_wrapper input[type="email"],
body #content .gform_wrapper input[type="tel"],
body #content .gform_wrapper input[type="url"],
body #content .gform_wrapper textarea,
body #content .gform_wrapper select {
    width: 100%;
    padding: 13px 18px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 12px;
    color: var(--light1) !important;
    font-family: var(--bb-body) !important;
    font-size: 15px !important;
    transition: border-color .2s, box-shadow .2s;
}

body #content .gform_wrapper textarea { min-height: 150px; border-radius: 14px; resize: vertical; }

body #content .gform_wrapper input::placeholder,
body #content .gform_wrapper textarea::placeholder { color: rgba(255, 255, 255, .45); }

body #content .gform_wrapper input:focus,
body #content .gform_wrapper textarea:focus,
body #content .gform_wrapper select:focus {
    outline: 0;
    border-color: var(--accent1);
    box-shadow: 0 0 18px rgba(var(--bb-rgb-cyan), .25);
}

body #content .gform_wrapper .gform_footer { margin: 22px 0 0; padding: 0; }

body #content .gform_wrapper input[type="submit"] {
    min-height: 46px;
    padding: 0 38px;
    border: 2px solid transparent;
    border-radius: var(--bb-pill);
    cursor: pointer;
    font-family: var(--bb-ui) !important;
    font-size: var(--bb-fs-btn) !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, 0) 52%) padding-box,
        var(--bb-btn-fill) padding-box,
        var(--bb-btn-border) border-box;
    box-shadow: var(--bb-btn-glow);
    transition: transform .22s, box-shadow .22s;
}

body #content .gform_wrapper input[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: -3px 0 15px #00e6ff, 3px 0 20px #f15dff, 0 14px 30px rgba(111, 42, 255, .32);
}

body #content .gform_wrapper .gfield_validation_message,
body #content .gform_wrapper .gform_validation_errors {
    background: rgba(255, 95, 109, .1);
    border: 1px solid rgba(255, 95, 109, .5);
    border-radius: 10px;
    padding: 10px 14px;
    color: #ffb4bb !important;
    font-size: 13px !important;
}

body #content .gform_wrapper .gform_confirmation_message {
    border: 1px solid rgba(var(--bb-rgb-cyan), .5);
    border-radius: 14px;
    padding: 22px 26px;
    color: var(--light1) !important;
}

/* ------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------ */
body footer#footer {
    position: relative;
    background: var(--dark1);
    padding: clamp(18px, 1.8vw, 26px) 0 0;
}

body footer#footer:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, #353087 0%, #368ab6 30%, #6bcccc 50%, #a898bd 78%, #8b87a2 100%);
    opacity: .9;
}

body footer#footer .row > .container {
    display: flex;
    align-items: stretch;
    gap: 0;
    max-width: 1320px;
    width: 95%;
}

body footer#footer [class*="footer-col-"] { padding: clamp(6px, .9vw, 14px) clamp(12px, 1.9vw, 28px); }

body footer#footer .footer-col-1 {
    flex: 0 0 clamp(150px, 17vw, 240px);
    border-right: 1px solid rgba(255, 255, 255, .2);
    padding-left: clamp(0px, 1.2vw, 18px);
}

body footer#footer .footer-col-2 { flex: 1 1 20%; padding-left: clamp(16px, 3.4vw, 54px); }
body footer#footer .footer-col-3 { flex: 1 1 18%; }
body footer#footer .footer-col-4 { flex: 1 1 18%; }

body footer#footer .footer-col-5 {
    flex: 1 1 28%;
    border-left: 1px solid rgba(255, 255, 255, .2);
    padding-left: clamp(16px, 3vw, 44px);
}

body footer#footer .widget { margin: 0; }

body footer#footer .bb-flogo img {
    height: clamp(78px, 8.4vw, 124px);
    width: auto;
    max-width: 100%;
}

body footer#footer h3 {
    font-family: var(--bb-ui) !important;
    font-size: clamp(11.5px, 1.1vw, 16px) !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    color: var(--accent1) !important;
    margin: 0 0 8px !important;
}

body footer#footer ul.bb-flinks,
body footer#footer ul.bb-fcontact { list-style: none; margin: 0; padding: 0; }

body footer#footer ul.bb-flinks li { margin: 0; }

body footer#footer ul.bb-flinks a,
body footer#footer ul.bb-fcontact a,
body footer#footer ul.bb-fcontact span {
    font-family: var(--bb-body) !important;
    font-size: clamp(12.65px, 1.1vw, 15.5px) !important;
    line-height: 1.66 !important;
    color: var(--light1) !important;
    transition: color .2s;
}

body footer#footer ul.bb-flinks a:hover,
body footer#footer ul.bb-fcontact a:hover { color: var(--accent1) !important; }

body footer#footer ul.bb-fcontact li {
    display: flex;
    gap: clamp(9px, 1.1vw, 15px);
    align-items: flex-start;
    margin: 0 0 clamp(7px, .9vw, 12px);
    line-height: 1.38;
}

body footer#footer ul.bb-fcontact a { line-height: 1.38 !important; display: block; }

body footer#footer ul.bb-fcontact strong {
    font-family: var(--bb-ui) !important;
    font-weight: 700 !important;
    letter-spacing: .04em;
    color: var(--light2) !important;
}

body footer#footer .bb-fi {
    width: clamp(15px, 1.4vw, 20px);
    height: clamp(15px, 1.4vw, 20px);
    margin-top: 2px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: var(--light1);
}

body footer#footer p.bb-age {
    font-family: var(--bb-ui) !important;
    font-size: 10.5px !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: var(--light3) !important;
    margin: clamp(8px, 1vw, 14px) 0 0 !important;
}

/* --- copyright row --- */
body .row.copyright {
    background: var(--dark1);
    border-top: 1px solid rgba(255, 255, 255, .22);
    margin-top: clamp(14px, 1.6vw, 24px);
    padding: clamp(12px, 1.3vw, 18px) 0 clamp(16px, 1.7vw, 24px);
}

body .row.copyright .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1320px;
    width: 95%;
}

body .row.copyright p,
body .row.copyright a {
    font-family: var(--bb-body) !important;
    font-size: clamp(11.5px, 1vw, 14px) !important;
    color: var(--light2) !important;
    margin: 0 !important;
}

body .row.copyright a:hover { color: var(--accent1) !important; }
body .row.copyright i.icon-copyright:before { margin-left: 0; color: var(--light2); }

body .row.copyright ul#menu-copyright-menu {
    display: flex;
    gap: clamp(10px, 1.4vw, 20px);
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: wrap;
}

body .row.copyright ul#menu-copyright-menu li { margin: 0; position: relative; }

body .row.copyright ul#menu-copyright-menu li + li:before {
    content: "|";
    position: absolute;
    left: calc(clamp(10px, 1.4vw, 20px) / -2 - 2px);
    color: rgba(255, 255, 255, .35);
}

/* Scroll-to-top button, carried over from the theme shell. */
body a.topbutton { background-color: rgba(9, 81, 200, .55); border-color: rgba(var(--bb-rgb-cyan), .6); }
body a.topbutton:hover { border-color: var(--accent2); }

/* ------------------------------------------------------------
   BLOG / SEARCH / 404 — inherit the dark shell
   ------------------------------------------------------------ */
body #content article,
body #content .post,
body #content .search-results { background: transparent; }

body #content .entry-title a { color: var(--light1) !important; }
body #content .entry-title a:hover { color: var(--accent1) !important; }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1100px) {
    body header#header ul.menu-wrapper { gap: 16px; }
    body footer#footer .footer-col-2 { padding-left: 24px; }
}

@media (max-width: 979px) {
    body header#header .top-header .container { gap: 12px; }
    body header#header .navigation-top { margin-left: auto; }
    body header#header .top-header:after { left: 0; right: 0; }

    body footer#footer .row > .container { flex-wrap: wrap; width: calc(100% - 36px); }
    body footer#footer .footer-col-1 { flex: 0 0 100%; border-right: 0; padding-left: 0; }
    body footer#footer .footer-col-2,
    body footer#footer .footer-col-3,
    body footer#footer .footer-col-4 { flex: 1 1 32%; padding-left: 0; }
    body footer#footer .footer-col-5 { flex: 0 0 100%; border-left: 0; padding-left: 0; margin-top: 18px; }
    body footer#footer .mobile-clear { display: none; }

    body #content .gform_wrapper .gform_fields { grid-template-columns: 1fr; }
    body #content .gform_wrapper .gfield { grid-column: span 1 !important; }
}

@media (max-width: 680px) {
    body footer#footer .footer-col-2,
    body footer#footer .footer-col-3,
    body footer#footer .footer-col-4 { flex: 1 1 48%; }
    body .row.copyright .container { justify-content: center; text-align: center; }
    body .row.copyright ul#menu-copyright-menu { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
    body *, body *:before, body *:after { transition: none !important; animation: none !important; }
}

/* ------------------------------------------------------------
   POST-QA FIXES — round 1 (homepage screenshot review)
   ------------------------------------------------------------ */

/* The viewport beyond the footer was painting white. */
html { background: var(--dark1); }

/* Footer and copyright links arrive underlined from the theme shell. */
body footer#footer a,
body .row.copyright a,
body #content a { text-decoration: none !important; }

body footer#footer a:hover,
body .row.copyright a:hover { text-decoration: none !important; }

/* Gravity Forms' own stylesheet loads after custom.css, so the submit button
   needs the extra weight to keep the gradient pill. */
body #content .gform_wrapper .gform_footer input[type="submit"],
body #content .gform_wrapper input.gform_button {
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid transparent !important;
    border-radius: var(--bb-pill) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, 0) 52%) padding-box,
        var(--bb-btn-fill) padding-box,
        var(--bb-btn-border) border-box !important;
    box-shadow: var(--bb-btn-glow) !important;
    color: var(--light1) !important;
    text-shadow: none;
}

/* Gravity Forms renders the submit as a , not an . */
body #content .gform_wrapper .gform_footer button[type="submit"],
body #content .gform_wrapper button.gform_button {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    min-height: 46px;
    padding: 0 38px;
    border: 2px solid transparent !important;
    border-radius: var(--bb-pill) !important;
    font-family: var(--bb-ui) !important;
    font-size: var(--bb-fs-btn) !important;
    font-weight: 700 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, 0) 52%) padding-box,
        var(--bb-btn-fill) padding-box,
        var(--bb-btn-border) border-box !important;
    box-shadow: var(--bb-btn-glow) !important;
    transition: transform .22s, box-shadow .22s;
}

body #content .gform_wrapper .gform_footer button[type="submit"]:hover,
body #content .gform_wrapper button.gform_button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: -3px 0 15px #00e6ff, 3px 0 20px #f15dff, 0 14px 30px rgba(111, 42, 255, .32) !important;
}

/* ============================================================
   GENERIC TEMPLATES — 404, search, single post, archive, blog
   These render from theme PHP (404.php, search.php, single.php,
   archive.php, blog.php), not from WPBakery, so every rule here is
   scoped to .bb-generic and never touches a built page.
   archive.php exists specifically so the archive hierarchy resolves
   to a child-theme PHP file; without it the parent block theme's
   templates/archive.html wins and the site shell disappears.
   ============================================================ */

body #content .bb-generic section { padding: clamp(36px, 4.4vw, 72px) 0; }

/* The theme's .container is a flex container, which would turn every direct
   child of these sections into a flex item sitting in its own column. */
body #content .bb-generic .container {
    display: block;
    position: relative;
    z-index: 1;
}

body #content .bb-generic-title {
    font-family: var(--bb-display) !important;
    font-size: var(--bb-fs-h2-sm) !important;
    text-transform: uppercase !important;
    letter-spacing: .03em !important;
    color: var(--light1) !important;
    margin: 0 0 12px !important;
}

body #content .bb-generic-lede {
    font-size: var(--bb-fs-lede) !important;
    line-height: 1.7 !important;
    color: var(--light3) !important;
    max-width: 62ch;
    margin: 0 0 clamp(22px, 2.4vw, 34px) !important;
}

body #content .bb-generic-btns { margin-bottom: 0 !important; }

/* ---- 404 ---------------------------------------------------- */
body #content .bb-404 .bb-generic-body { text-align: center; }
body #content .bb-404 .bb-generic-lede { margin-inline: auto !important; }
body #content .bb-404 .bb-btn-row { justify-content: center; }

body #content .bb-generic-search {
    margin-top: clamp(32px, 3.6vw, 52px);
    padding-top: clamp(26px, 2.8vw, 38px);
    border-top: 1px solid var(--bb-line);
}

body #content .bb-generic-search-label {
    font-family: var(--bb-ui) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    color: var(--light3) !important;
    margin: 0 0 14px !important;
}

/* ---- The search form, wherever it renders ------------------- */
body #content .bb-generic form.search-form {
    position: relative;
    display: block;
    width: min(100%, 460px);
    margin: 0 auto;
}

body #content .bb-generic form.search-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

body #content .bb-generic form.search-form input[type="search"] {
    width: 100%;
    height: 50px;
    margin: 0 !important;
    padding: 0 54px 0 22px;
    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: var(--bb-pill);
    color: var(--light1) !important;
    font-family: var(--bb-body) !important;
    font-size: 15px !important;
    transition: border-color .2s, box-shadow .2s;
}

body #content .bb-generic form.search-form input[type="search"]::placeholder { color: rgba(255, 255, 255, .45); }

body #content .bb-generic form.search-form input[type="search"]:focus {
    outline: 0;
    border-color: var(--accent1);
    box-shadow: 0 0 0 3px rgba(var(--bb-rgb-cyan), .18);
}

body #content .bb-generic form.search-form button.search-submit {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 50%;
    background:
        var(--bb-btn-fill) padding-box,
        var(--bb-btn-border) border-box;
    box-shadow: var(--bb-btn-glow);
    transition: transform .2s;
}

body #content .bb-generic form.search-form button.search-submit:hover { transform: scale(1.06); }

/* The theme's fontello set has no .icon-search glyph — its computed :before
   content is "none" — so the magnifier is an encoded data-URI instead. */
body #content .bb-generic form.search-form button.search-submit i.icon-search {
    display: block;
    width: 17px;
    height: 17px;
    font-size: 0;
    line-height: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M16.2 16.2 21 21'/%3E%3C/svg%3E") center/contain no-repeat !important;
}

body #content .bb-generic form.search-form button.search-submit i.icon-search:before { content: none; }

/* ---- Search results ----------------------------------------- */
body #content .bb-search .bb-search-bar {
    background: var(--dark2);
    border-bottom: 1px solid var(--bb-line);
    padding: clamp(22px, 2.4vw, 32px) 0 !important;
}

body #content .bb-search .bb-search-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.8vw, 26px);
}

body #content .bb-search-bar-label {
    font-family: var(--bb-ui) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .22em !important;
    text-transform: uppercase !important;
    color: var(--light3) !important;
    margin: 0 !important;
    white-space: nowrap;
}

body #content .bb-search .bb-search-bar form.search-form { margin: 0; width: min(100%, 460px); }

body #content .bb-search-count { padding: clamp(18px, 2vw, 26px) 0 !important; }

body #content .bb-search-count p {
    text-align: center;
    margin: 0 !important;
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: var(--light3) !important;
}

body #content .bb-search-results { padding-top: 0 !important; }

body #content .bb-result-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(18px, 2vw, 28px);
}

body #content .bb-result-card {
    display: flex;
    flex-direction: column;
    padding: clamp(22px, 2.4vw, 32px);
    background: linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .015) 100%), var(--dark2);
    border: 1px solid var(--bb-line);
    border-radius: 18px;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

body #content .bb-result-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--bb-rgb-cyan), .5);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
}

body #content .bb-result-title {
    font-family: var(--bb-display) !important;
    font-size: clamp(20px, 1.9vw, 27px) !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    margin: 0 0 14px !important;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--bb-line);
}

body #content .bb-result-title a,
body #content .bb-result-title a:not(.btn-bt) { color: var(--light1) !important; text-decoration: none; }
body #content .bb-result-title a:hover { color: var(--accent1) !important; }

body #content .bb-result-excerpt,
body #content .bb-result-excerpt p {
    font-family: var(--bb-body) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--light3) !important;
    margin: 0 0 18px !important;
}

body #content .bb-result-excerpt a.more-link { display: none; }

body #content a.btn-bt.bb-result-more { margin-top: auto; align-self: flex-start; }

body #content .bb-search-empty { text-align: center; }
body #content .bb-search-empty .bb-generic-lede { margin-inline: auto !important; }
body #content .bb-search-empty .bb-btn-row { justify-content: center; }

/* ---- Pagination, shared by search / archive / blog ---------- */
body #content .bb-pagination {
    margin-top: clamp(34px, 3.6vw, 52px);
    text-align: center;
}

body #content .bb-pagination .pagination,
body #content .bb-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0 !important;
    padding: 0 !important;
}

body #content .bb-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--bb-line);
    border-radius: var(--bb-pill);
    background: var(--dark2);
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none;
    color: var(--light2) !important;
    transition: border-color .2s, color .2s, background .2s;
}

body #content .bb-pagination a.page-numbers:hover {
    border-color: rgba(var(--bb-rgb-cyan), .6);
    color: var(--accent1) !important;
}

body #content .bb-pagination .page-numbers.current {
    border-color: transparent;
    color: var(--light1) !important;
    background:
        var(--bb-btn-fill) padding-box,
        var(--bb-btn-border) border-box;
    box-shadow: var(--bb-btn-glow);
}

body #content .bb-pagination .page-numbers.dots {
    border-color: transparent;
    background: none;
    min-width: 0;
    padding: 0 4px;
}

body #content .bb-pagination .screen-reader-text { display: none; }

/* blog.php uses next_posts_link / previous_posts_link, not the paginated list. */
body #content .bb-pagination-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

body #content .bb-pagination-split a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid var(--bb-line);
    border-radius: var(--bb-pill);
    background: var(--dark2);
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    text-decoration: none;
    color: var(--light2) !important;
    transition: border-color .2s, color .2s;
}

body #content .bb-pagination-split a:hover {
    border-color: rgba(var(--bb-rgb-cyan), .6);
    color: var(--accent1) !important;
}

/* ---- Archive + blog index cards ----------------------------- */
body #content .bb-archive-intro p {
    font-size: var(--bb-fs-lede) !important;
    color: var(--light3) !important;
    max-width: 68ch;
    margin: 0 0 clamp(24px, 2.6vw, 38px) !important;
}

body #content .bb-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 28px);
}

body #content .bb-post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, .055) 0%, rgba(255, 255, 255, .015) 100%), var(--dark2);
    border: 1px solid var(--bb-line);
    border-radius: 18px;
    transition: border-color .25s, transform .25s, box-shadow .25s;
}

body #content .bb-post-card:hover {
    transform: translateY(-3px);
    border-color: rgba(var(--bb-rgb-cyan), .5);
    box-shadow: 0 16px 34px rgba(0, 0, 0, .45);
}

body #content .bb-post-thumb {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--bb-line);
    background: var(--dark3);
}

body #content .bb-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s var(--bb-ease);
}

body #content .bb-post-card:hover .bb-post-thumb img { transform: scale(1.04); }

body #content .bb-post-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: clamp(20px, 2.1vw, 28px);
}

body #content .bb-post-date {
    font-family: var(--bb-ui) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase !important;
    color: var(--accent1) !important;
    margin: 0 0 9px !important;
}

body #content .bb-post-title {
    font-family: var(--bb-display) !important;
    font-size: clamp(19px, 1.65vw, 24px) !important;
    line-height: 1.18 !important;
    text-transform: uppercase !important;
    letter-spacing: .02em !important;
    margin: 0 0 12px !important;
}

body #content .bb-post-title a,
body #content .bb-post-title a:not(.btn-bt) { color: var(--light1) !important; text-decoration: none; }
body #content .bb-post-title a:hover { color: var(--accent1) !important; }

body #content .bb-post-excerpt,
body #content .bb-post-excerpt p {
    font-family: var(--bb-body) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: var(--light3) !important;
    margin: 0 0 18px !important;
}

body #content .bb-post-excerpt a.more-link { display: none; }

body #content a.btn-bt.bb-post-more { margin-top: auto; align-self: flex-start; }

/* ---- Single post -------------------------------------------- */
body #content .bb-single-wrap { display: block; }

body #content .bb-single-wrap.has-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: clamp(26px, 3vw, 48px);
    align-items: start;
}

body #content .bb-single-main { min-width: 0; max-width: 820px; }
body #content .bb-single-wrap.has-sidebar .bb-single-main { max-width: none; }

body #content .bb-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 0 0 clamp(20px, 2.2vw, 30px) !important;
    font-family: var(--bb-ui) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: var(--light3) !important;
}

body #content .bb-single-meta i { color: var(--accent1); margin-right: 6px; }

body #content .bb-single-feat {
    margin: 0 0 clamp(24px, 2.6vw, 38px);
    aspect-ratio: 16 / 9;
    border: 1px solid var(--bb-line);
    border-radius: 18px;
    overflow: hidden;
    background: var(--dark3);
}

body #content .bb-single-feat img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body #content .bb-single-content p,
body #content .bb-single-content li {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: var(--light2) !important;
}

body #content .bb-single-content h2,
body #content .bb-single-content h3,
body #content .bb-single-content h4 {
    font-family: var(--bb-display) !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
    margin-top: clamp(28px, 3vw, 40px) !important;
}

body #content .bb-single-content img { max-width: 100%; height: auto; border-radius: 14px; }

body #content .bb-single-content blockquote {
    margin: clamp(24px, 2.6vw, 34px) 0;
    padding: 18px 24px;
    border-left: 2px solid var(--accent1);
    background: rgba(255, 255, 255, .03);
    border-radius: 0 14px 14px 0;
}

body #content .bb-single-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-top: clamp(34px, 3.6vw, 52px);
    padding-top: clamp(22px, 2.4vw, 32px);
    border-top: 1px solid var(--bb-line);
}

body #content .bb-single-nav-link { flex: 1 1 260px; min-width: 0; }
body #content .bb-single-nav-link.bb-next { text-align: right; }

body #content .bb-single-nav-link a {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
    max-width: 100%;
}

body #content .bb-single-nav .bb-nav-label {
    font-family: var(--bb-ui) !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--light3);
}

body #content .bb-single-nav a:not(.btn-bt) { color: var(--light1) !important; }

body #content .bb-single-nav .bb-nav-title {
    font-family: var(--bb-display);
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.25;
    text-transform: uppercase;
    color: var(--light1);
    transition: color .2s;
}

body #content .bb-single-nav a:hover .bb-nav-title { color: var(--accent1); }

/* ---- Blog / single sidebar, only when widgets are assigned --- */
/* theme-vds/style.css:228 sets `aside#secondary {background:#efefef;padding:12px}`
   with the same selector and loads after custom.css, so the override needs one
   extra step of specificity to win on anything but source order. */
body #content aside#secondary {
    background: unset;
    padding: 0;
}

body #content .bb-single-aside .widget,
body #content .bb-blog-aside .widget {
    padding: clamp(20px, 2.1vw, 26px);
    margin-bottom: 20px;
    background: var(--dark2);
    border: 1px solid var(--bb-line);
    border-radius: 18px;
}

body #content .bb-single-aside .widget-title,
body #content .bb-blog-aside .widget-title {
    font-family: var(--bb-ui) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase !important;
    color: var(--accent1) !important;
    margin: 0 0 14px !important;
}

body #content .bb-single-aside .widget ul,
body #content .bb-blog-aside .widget ul { list-style: none; margin: 0; padding: 0; }

body #content .bb-single-aside .widget li,
body #content .bb-blog-aside .widget li {
    padding: 8px 0;
    border-bottom: 1px solid var(--bb-line);
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: var(--light3) !important;
}

body #content .bb-single-aside .widget li:last-child,
body #content .bb-blog-aside .widget li:last-child { border-bottom: 0; }

body #content .bb-blog-aside { margin-top: clamp(30px, 3.2vw, 44px); }

/* ---- Breakpoints -------------------------------------------- */
@media (max-width: 1100px) {
    body #content .bb-post-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    body #content .bb-single-wrap.has-sidebar { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
    body #content .bb-result-grid,
    body #content .bb-post-grid { grid-template-columns: minmax(0, 1fr); }

    body #content .bb-search .bb-search-bar .container { flex-direction: column; }
    body #content .bb-search-bar-label { display: none; }

    body #content .bb-404 .bb-btn-row a.btn-bt,
    body #content .bb-search-empty .bb-btn-row a.btn-bt { width: 100%; }

    body #content .bb-single-nav-link.bb-next { text-align: left; }
}








/* === Page: Home === 2026-11-18 === */
/* ============================================================
   PAGE: Home
   Components declared here (bb-hero, bb-tile, bb-story, bb-brand-card,
   bb-diff, bb-loc-card, bb-newsletter) are reused by the subpages, so they
   are written against shared class names rather than page-scoped ones.
   ============================================================ */

/* ------------------------------------------------------------
   HERO
   Background image lives here, not in the Design Tab.
   ------------------------------------------------------------ */
.bakery section.bb-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    min-height: clamp(460px, 42vw, 760px);
    padding: clamp(90px, 9vw, 150px) 0 clamp(26px, 2.8vw, 42px);
    background: #000 url('/wp-content/uploads/2026/11/bud-boutique-hero.webp') center bottom/cover no-repeat;
    margin-top: clamp(-34px, -2.6vw, -14px);
}

.bakery section.bb-hero:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 62%;
    z-index: 0;
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .74) 34%, rgba(0, 0, 0, .3) 100%);
    pointer-events: none;
}

.bakery section.bb-hero:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 62%;
    z-index: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .3) 0%, rgba(0, 0, 0, .66) 52%, var(--dark1) 100%);
    pointer-events: none;
}

.bakery section.bb-hero .wpb_row,
/* The hero section is display:flex, so the row is a flex item: it was sizing
   shrink-to-fit (900px of a 1425px section) and pinning to the left edge, which
   is why the centred copy block still rendered left of centre. Make the row fill
   the section and the `margin-inline: auto` below finally has room to work. */
.bakery section.bb-hero .bb-hero-row { flex: 1 1 100%; width: 100%; }
.bakery section.bb-hero .bb-hero-row > .container { margin-inline: auto !important; }

.bakery section.bb-hero .bb-hero-col { position: relative; z-index: 1; }

.bakery .bb-hero-col .vc_column-inner,
.bakery .bb-hero-col .wpb_wrapper { width: 100%; }
.bakery .bb-hero-col .wpb_text_column { max-width: 860px; width: 100%; margin-left: auto !important; margin-right: auto !important; }
body #content .bb-hero-col .wpb_text_column,
body #content .bb-hero-col .wpb_text_column p,
body #content .bb-hero-col .wpb_text_column h1 { text-align: center !important; }

body #content .bb-hero-col .bb-eyebrow {
    text-align: center !important;
    font-size: clamp(11.5px, 1.24vw, 17.8px) !important;
    letter-spacing: .3em !important;
}

body #content .bb-hero-col h1 {
    text-align: center !important;
    font-size: clamp(33px, 3.9vw, 58px) !important;
    margin: 0 0 12px !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .7);
}

body #content .bb-hero-col .bb-lede {
    text-align: center !important;
    max-width: 760px;
    margin: 0 auto clamp(16px, 1.8vw, 26px) !important;
    text-shadow: 0 1px 10px rgba(0, 0, 0, .8);
}

/* Button rows — wpautop wraps the buttons in a , so centre that. */
body #content .bb-btn-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(12px, 1.6vw, 23px);
    margin: 0 !important;
}

body #content .bb-hero-col .bb-btn-row,
body #content .bb-news-col .bb-btn-row { justify-content: center; }

/* ------------------------------------------------------------
   SECTION HEADINGS — shared
   ------------------------------------------------------------ */
.bakery .bb-section-head { margin-bottom: clamp(14px, 1.6vw, 24px); }
.bakery .bb-section-head .wpb_text_column { margin-bottom: 0; }

body #content .bb-section-head .bb-eyebrow {
    font-size: clamp(12.65px, 1.45vw, 21px) !important;
    letter-spacing: .44em !important;
    margin-bottom: 4px !important;
}

body #content .bb-section-head h2 {
    font-size: var(--bb-fs-h2) !important;
    letter-spacing: .04em !important;
    margin: 0 !important;
}

/* ------------------------------------------------------------
   CATEGORY TILES — shared with Shop
   ------------------------------------------------------------ */
.bakery section.bb-collections {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: clamp(22px, 2.4vw, 36px);
}

.bakery .bb-tile-row { margin: 0 -9px; align-items: stretch; }
.bakery .bb-tile-col { padding: 0 9px 18px !important; }
.bakery .bb-tile-col .wpb_text_column { margin-bottom: 0; }
.bakery .bb-tile-col .wpb_text_column p { margin: 0 !important; }

body #content a.bb-tile {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1.293 / 1;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: #10122a;
    transition: transform .3s, filter .3s;
}

body #content a.bb-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

body #content a.bb-tile:before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(30, 14, 70, .74));
}

body #content a.bb-tile:after {
    content: "";
    position: absolute;
    left: 30%;
    right: 30%;
    bottom: 0;
    height: 3px;
    border-radius: 3px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, var(--accent1) 22%, var(--accent3) 50%, #f15dff 78%, transparent);
    box-shadow: 0 0 10px rgba(176, 80, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .55);
    opacity: .7;
    transition: left .3s var(--bb-ease), right .3s var(--bb-ease), opacity .3s, box-shadow .3s;
}

body #content a.bb-tile .bb-tile-label {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: clamp(38px, 3.7vw, 53px);
    padding: 0 clamp(14px, 2.2vw, 31px);
    font-family: var(--bb-ui) !important;
    font-weight: 700 !important;
    font-size: clamp(12.65px, 1.38vw, 19.5px) !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
}

body #content a.bb-tile .bb-tile-arrow {
    display: inline-block;
    width: clamp(20px, 1.9vw, 28px);
    height: 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 12'%3E%3Cpath d='M1 6h25M21 1l5 5-5 5' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/contain;
    transition: transform .25s;
}

body #content a.bb-tile:hover { transform: translateY(-7px); filter: brightness(1.12); }
body #content a.bb-tile:hover img { transform: scale(1.07); }
body #content a.bb-tile:hover .bb-tile-arrow { transform: translateX(8px); }

body #content a.bb-tile:hover:after {
    left: 6%;
    right: 6%;
    opacity: 1;
    box-shadow: 0 0 14px rgba(var(--bb-rgb-cyan), .7), 0 0 22px rgba(241, 93, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .75);
}

/* ------------------------------------------------------------
   STORY SPLIT — shared with About / Specials
   ------------------------------------------------------------ */
.bakery section.bb-story {
    padding: 0;
    border-top: 1px solid rgba(160, 130, 220, .22);
}

.bakery .bb-story-row { align-items: center; min-height: clamp(250px, 22vw, 330px); }

.bakery .bb-story-art {
    position: relative;
    align-self: stretch;
    flex: 0 0 55% !important;
    max-width: 55% !important;
    width: 55% !important;
    min-height: clamp(220px, 22vw, 330px);
    background: url('/wp-content/uploads/2026/11/bud-boutique-story-art.webp') left center/cover no-repeat;
}

.bakery .bb-story-art:after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: 14%;
    background: linear-gradient(90deg, transparent, var(--dark1));
}

.bakery .bb-story-art .wpb_text_column { margin: 0; }

.bakery .bb-story-copy {
    flex: 0 0 45% !important;
    max-width: 45% !important;
    width: 45% !important;
    padding: clamp(24px, 2.4vw, 38px) clamp(20px, 3.4vw, 54px) clamp(24px, 2.4vw, 38px) clamp(14px, 2.4vw, 40px) !important;
}

body #content .bb-story-copy .bb-eyebrow {
    font-size: clamp(11.5px, 1.36vw, 19.5px) !important;
    letter-spacing: .38em !important;
}

body #content .bb-story-copy h2 {
    font-size: var(--bb-fs-h2-story) !important;
    margin: 0 0 12px !important;
}

body #content .bb-story-copy .bb-lede { margin: 0 0 clamp(16px, 1.6vw, 24px) !important; }

/* ------------------------------------------------------------
   HOUSE BRAND CARDS — shared with Our Brands
   ------------------------------------------------------------ */
.bakery section.bb-brands { border-top: 1px solid rgba(255, 255, 255, .1); }
.bakery .bb-brand-row { margin: 0 -11px; align-items: stretch; }
.bakery .bb-brand-col { padding: 0 11px 22px !important; display: flex; }
.bakery .bb-brand-col > .vc_column-inner { width: 100%; height: 100%; display: flex; flex-direction: column; }
.bakery .bb-brand-col > .vc_column-inner > .wpb_wrapper { flex: 1; display: flex; flex-direction: column; }

.bakery .bb-brand-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    height: 100%;
    margin-bottom: 0 !important;
    padding: clamp(22px, 2.4vw, 36px) clamp(20px, 2.2vw, 34px) clamp(24px, 2.4vw, 36px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(28, 22, 56, .85), rgba(5, 6, 15, .95));
    transition: transform .22s, border-color .22s, box-shadow .22s;
}

.bakery .bb-brand-card:hover {
    transform: translateY(-6px);
    border-color: rgba(118, 228, 255, .7);
    box-shadow: 0 14px 35px rgba(92, 41, 160, .24);
}

.bakery .bb-brand-mark {
    display: block;
    height: clamp(74px, 7.4vw, 106px);
    margin-bottom: clamp(12px, 1.3vw, 20px);
}

.bakery .bb-brand-mark img { height: 100%; width: auto; max-width: 100%; }

body #content .bb-brand-card h3 {
    font-family: var(--bb-display) !important;
    font-size: clamp(24px, 2.4vw, 34px) !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

body #content .bb-brand-card .bb-brand-kind {
    font-family: var(--bb-ui) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: .2em !important;
    text-transform: uppercase !important;
    color: var(--accent1) !important;
    margin: 4px 0 10px !important;
}

body #content .bb-brand-card p { font-size: 15px !important; line-height: 1.6 !important; color: var(--light2) !important; }
body #content .bb-brand-card .bb-btn-row { margin-top: auto !important; padding-top: 16px; }

/* ------------------------------------------------------------
   DIFFERENCE STRIP — shared with About
   Icons are CSS masks so the text block stays safe to edit in the builder.
   ------------------------------------------------------------ */
.bakery section.bb-difference {
    position: relative;
    padding: clamp(26px, 2.6vw, 38px) 0;
    border-top: 1px solid transparent;
}

.bakery section.bb-difference:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(180, 150, 255, .7) 25%, rgba(180, 150, 255, .8) 50%, rgba(180, 150, 255, .7) 75%, transparent);
    box-shadow: 0 0 10px rgba(160, 110, 255, .5);
}

.bakery .bb-diff-head { margin-bottom: clamp(14px, 1.6vw, 24px); }
.bakery .bb-diff-head .wpb_text_column { margin-bottom: 0; }

body #content .bb-diff-head .bb-eyebrow {
    font-size: clamp(11.5px, 1.36vw, 19.5px) !important;
    letter-spacing: .36em !important;
    margin: 0 !important;
}

.bakery .bb-diff-row { align-items: stretch; }

.bakery .bb-diff-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px clamp(8px, 1.5vw, 22px) !important;
    min-height: clamp(96px, 8.6vw, 124px);
}

.bakery .bb-diff-col:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: clamp(60px, 6.9vw, 98px);
    background: var(--bb-line-strong);
}

.bakery .bb-diff-col:first-child:before { display: none; }
.bakery .bb-diff-col .wpb_text_column { margin-bottom: 0; text-align: center; }

.bakery .bb-diff-icon {
    display: block;
    width: clamp(44px, 4.6vw, 64px);
    height: clamp(44px, 4.6vw, 64px);
    margin: 0 auto 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 0 5px rgba(150, 120, 255, .9)) drop-shadow(0 0 12px rgba(120, 100, 255, .5));
}

.bakery .bb-icon-leaf { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 81 66' fill='none' stroke='%23e78bff' stroke-width='2.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M40.5 50Q34 26 40.5 1Q47 26 40.5 50Z'/%3E%3Cpath d='M40.5 51Q25 44 13 13Q35 24 40.5 51Z'/%3E%3Cpath d='M40.5 51Q56 44 68 13Q46 24 40.5 51Z'/%3E%3Cpath d='M40.5 54Q20 54 1 46Q25 42 40.5 54Z'/%3E%3Cpath d='M40.5 54Q61 54 80 46Q56 42 40.5 54Z'/%3E%3Cpath d='M40.5 54v11'/%3E%3C/svg%3E"); }

.bakery .bb-icon-diamond { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 67 66' fill='none' stroke='%2312DDF8' stroke-width='2.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M13 6h41l11 15-31.5 40L2 21 13 6Z'/%3E%3Cpath d='M2 21h63M13 6l8 15M54 6l-8 15M24 6l9.5 15L43 6M21 21l12.5 40L46 21'/%3E%3C/svg%3E"); }

.bakery .bb-icon-people { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 78 66' fill='none' stroke='%23b9a6ff' stroke-width='2.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Ccircle cx='15' cy='26.5' r='7'/%3E%3Cpath d='M17 58.5H3c0-9 3-15 9-17'/%3E%3Ccircle cx='63' cy='26.5' r='7'/%3E%3Cpath d='M61 58.5h14c0-9-3-15-9-17'/%3E%3Cpath d='M17 58.5c0-13 8-21 22-21s22 8 22 21H17Z'/%3E%3Ccircle cx='39' cy='17.5' r='8.5'/%3E%3C/svg%3E"); }

.bakery .bb-icon-shield { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 55 66' fill='none' stroke='%2312DDF8' stroke-width='2.6' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M27.5 4.5C34 9.5 42 12 53 12v18.5c0 13-9 24-25.5 31.5C11 54.5 2 43.5 2 30.5V12C13 12 21 9.5 27.5 4.5Z'/%3E%3Cpath d='m17 33.5 8.5 8L39 25.5'/%3E%3C/svg%3E"); }

body #content .bb-diff-col h3 {
    font-family: var(--bb-ui) !important;
    font-size: clamp(11.5px, 1.21vw, 17px) !important;
    font-weight: 700 !important;
    letter-spacing: .1em !important;
    line-height: 1.45 !important;
    text-transform: uppercase !important;
    max-width: 10em;
    margin: 0 auto !important;
}

/* ------------------------------------------------------------
   LOCATION CARDS — shared with Shop / Contact
   ------------------------------------------------------------ */
.bakery section.bb-locations { border-top: 1px solid rgba(255, 255, 255, .1); }
.bakery .bb-loc-row { margin: 0 -11px; align-items: stretch; }
.bakery .bb-loc-col { padding: 0 11px 22px !important; display: flex; }
.bakery .bb-loc-col > .vc_column-inner { width: 100%; height: 100%; display: flex; flex-direction: column; }
.bakery .bb-loc-col > .vc_column-inner > .wpb_wrapper { flex: 1; display: flex; flex-direction: column; }

.bakery .bb-loc-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    margin-bottom: 0 !important;
    padding: clamp(22px, 2.3vw, 34px) clamp(20px, 2.2vw, 32px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(20, 24, 51, .8), rgba(3, 4, 11, .95));
    transition: border-color .22s, box-shadow .22s;
}

.bakery .bb-loc-card:hover { border-color: rgba(var(--bb-rgb-cyan), .6); box-shadow: 0 12px 30px rgba(92, 41, 160, .22); }

body #content .bb-loc-card h3 {
    font-family: var(--bb-display) !important;
    font-size: clamp(22px, 2.2vw, 31px) !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    margin: 0 0 10px !important;
}

body #content .bb-loc-card .bb-loc-addr { font-size: 16px !important; line-height: 1.55 !important; margin: 0 0 6px !important; }

body #content .bb-loc-card .bb-loc-hours {
    font-family: var(--bb-ui) !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--accent1) !important;
    margin: 0 0 18px !important;
}

body #content .bb-loc-card .bb-btn-row { margin-top: auto !important; }

/* ------------------------------------------------------------
   NEWSLETTER — shared with Specials
   ------------------------------------------------------------ */
.bakery section.bb-newsletter {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 2.8vw, 44px) 0 clamp(30px, 3.2vw, 50px);
    background:
        linear-gradient(90deg, rgba(3, 4, 11, 0) 58%, var(--dark1) 100%) left bottom/22% 100% no-repeat,
        linear-gradient(270deg, rgba(3, 4, 11, 0) 58%, var(--dark1) 100%) right bottom/22% 100% no-repeat,
        url('/wp-content/uploads/2026/11/bud-boutique-newsletter-left.webp') left bottom/22% 100% no-repeat,
        url('/wp-content/uploads/2026/11/bud-boutique-newsletter-right.webp') right bottom/22% 100% no-repeat,
        var(--dark1);
}

.bakery section.bb-newsletter:before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    left: 3%;
    right: 3%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(247, 160, 255, .9) 15%, rgba(108, 196, 238, .95) 32%, rgba(143, 215, 227, .95) 50%, rgba(143, 155, 200, .9) 68%, rgba(251, 184, 253, .9) 84%, transparent 100%);
    box-shadow: 0 0 8px rgba(160, 110, 255, .7), 0 0 18px rgba(80, 170, 255, .35);
}

.bakery .bb-news-row { position: relative; z-index: 1; }
.bakery .bb-news-col .wpb_text_column { max-width: 900px; margin-inline: auto; }

body #content .bb-news-col .bb-eyebrow {
    text-align: center !important;
    font-size: clamp(11.5px, 1.22vw, 17.6px) !important;
    letter-spacing: .38em !important;
}

body #content .bb-news-col h2 {
    font-size: var(--bb-fs-h2-sm) !important;
    line-height: 1.05 !important;
    margin: 4px 0 8px !important;
}

body #content .bb-news-col .bb-news-sub {
    font-size: clamp(13.8px, 1.26vw, 17.8px) !important;
    margin: 0 0 clamp(14px, 1.6vw, 22px) !important;
}

/* The newsletter Gravity Form is collapsed into a single pill field. */
/* Specific enough to beat `.bb-news-col .wpb_text_column { max-width: 900px }`
   above — this element carries both classes, and at 900px the pill stretched out
   from under the absolutely-positioned Subscribe button. */
.bakery .bb-news-col .wpb_text_column.bb-news-form { max-width: 640px; margin: 0 auto !important; }
/* Gravity's own grid is 12 columns and the field carries `grid-column: span 12`;
   collapsing to one explicit column without re-spanning left the input sized by
   implicit columns, so the pill never reached the Subscribe button. */
.bakery .bb-news-form .gform_wrapper .gform_fields { grid-template-columns: 1fr !important; gap: 0 !important; }
.bakery .bb-news-form .gform_wrapper .gform_body { flex: 1 1 auto !important; width: 100% !important; min-width: 0; }
.bakery .bb-news-form .gform_wrapper .gfield,
.bakery .bb-news-form .gform_wrapper .ginput_container { width: 100% !important; }
.bakery .bb-news-form .gform_wrapper .gfield { grid-column: 1 / -1 !important; }

.bakery .bb-news-form .gform_wrapper form {
    position: relative;
    display: flex;
    align-items: center;
}

.bakery .bb-news-form .gform_wrapper .gfield_label { display: none !important; }

body #content .bb-news-form .gform_wrapper input[type="email"] {
    width: 100% !important;
    height: clamp(44px, 3.5vw, 50px);
    padding: 0 clamp(130px, 15vw, 215px) 0 clamp(20px, 2vw, 28px);
    border-radius: var(--bb-pill);
    border: 1px solid rgba(255, 255, 255, .8);
    background: rgba(0, 0, 0, .45);
}

.bakery .bb-news-form .gform_wrapper .gform_footer {
    position: absolute !important;
    right: 0px !important;
    left: auto !important;
    top: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
}

body #content .bb-news-form .gform_wrapper input[type="submit"] {
    height: clamp(44px, 3.5vw, 50px);
    min-height: 0;
    padding: 0 clamp(20px, 2.4vw, 34px);
}

body #content .bb-news-form .gform_confirmation_message { text-align: center; }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 979px) {
    .bakery section.bb-hero { min-height: clamp(420px, 56vw, 560px); padding-top: clamp(70px, 12vw, 120px); }

    .bakery .bb-story-row { flex-wrap: wrap; }
    .bakery .bb-story-art,
    .bakery .bb-story-copy { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
    .bakery .bb-story-art { min-height: 230px; }
    .bakery .bb-story-art:after { inset: auto 0 0; width: auto; height: 36%; background: linear-gradient(180deg, transparent, var(--dark1)); }
    .bakery .bb-story-copy { padding: clamp(22px, 3vw, 32px) 0 clamp(26px, 3vw, 36px) !important; }

    /* The theme drops .vc_row out of flex below 768, which left the four
       half-width cells stacking one per row with orphaned dividers. */
    .bakery .bb-diff-row,
    .bakery .bb-diff-row > .container { display: flex !important; flex-wrap: wrap !important; row-gap: 22px; }
    .bakery .bb-diff-col { flex: 0 0 50% !important; max-width: 50% !important; width: 50% !important; }
    .bakery .bb-diff-col:nth-child(odd):before { display: none; }

    .bakery .bb-tile-row,
    .bakery .bb-brand-row,
    .bakery .bb-loc-row { flex-wrap: wrap; }

    .bakery .bb-tile-col,
    .bakery .bb-brand-col,
    .bakery .bb-loc-col { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }

    body #content a.bb-tile { aspect-ratio: 1.6 / 1; }
}

@media (max-width: 520px) {
    body #content .bb-hero-col .bb-btn-row a.btn-bt,
    body #content .bb-loc-card .bb-btn-row a.btn-bt { width: 100%; }

    .bakery .bb-news-form .gform_wrapper form { flex-direction: column; gap: 12px; }
    .bakery .bb-news-form .gform_wrapper .gform_body { width: 100%; }
    body #content .bb-news-form .gform_wrapper input[type="email"] { padding-right: clamp(20px, 2vw, 28px); }
    .bakery .bb-news-form .gform_wrapper .gform_footer { position: static !important; width: 100% !important; }
    /* GF renders the submit as a , so the input selector alone never matched. */
    body #content .bb-news-form .gform_wrapper input[type="submit"],
    body #content .bb-news-form .gform_wrapper button.gform_button { width: 100%; }

    .bakery section.bb-newsletter { background-size: 46% 56%, 46% 56%, 46% 56%, 46% 56%, auto; }
    .bakery .bb-diff-col { padding: 4px 6px !important; }
}

/* ------------------------------------------------------------
   POST-QA FIXES — round 1
   ------------------------------------------------------------ */

/* The row/column wrappers were painting obsidian over the newsletter swooshes. */
.bakery section.bb-newsletter .wpb_row,
.bakery section.bb-newsletter .wpb_column,
.bakery section.bb-newsletter .vc_column-inner,
.bakery section.bb-newsletter .wpb_wrapper,
.bakery section.bb-newsletter .wpb_text_column { background: transparent !important; }

/* Both swooshes ride on the section background shorthand (see NEWSLETTER above);
   the two gradient layers fade their inner edges into the ground. An earlier
   `background: var(--dark1)` override here was wiping both image layers out. */

/* Keep the two location CTAs on one line until the card genuinely runs out. */
body #content .bb-loc-card .bb-btn-row { flex-wrap: wrap; gap: 12px; }
body #content .bb-loc-card .bb-btn-row a.btn-bt { padding: 0 clamp(16px, 1.6vw, 24px); }

/* Newsletter submit sits inside the pill field. */
body #content .bb-news-form .gform_wrapper button.gform_button {
    height: clamp(44px, 3.5vw, 50px);
    min-height: 0;
    margin-bottom: 0;
    padding: 0 clamp(20px, 2.4vw, 34px);
}

/* Addresses link to their map — S. Broadway to its Google Business Profile,
   E. Colfax to an address search until that listing is claimed. Keep them
   reading as address text, not as cyan links, until hover. */
body #content .bb-loc-card .bb-loc-addr a {
    color: var(--light1) !important;
    text-decoration: none !important;
    border-bottom: 1px solid transparent;
    transition: color .2s, border-color .2s;
}

body #content .bb-loc-card .bb-loc-addr a:hover,
body #content .bb-loc-card .bb-loc-addr a:focus-visible {
    color: var(--accent1) !important;
    border-bottom-color: rgba(var(--bb-rgb-cyan), .6);
}



/* === Page: About === 2026-11-18 === */
/* ============================================================
   PAGE: About
   Only the three components that do not already exist live here —
   bb-intro, bb-values and bb-cta. The story split, difference strip,
   brand cards and location cards all come from the "Home" block, which
   declares them against shared class names on purpose.
   ============================================================ */

/* ------------------------------------------------------------
   INTRO — sits directly under the ACF Top Banner
   ------------------------------------------------------------ */
.bakery section.bb-intro { padding-bottom: clamp(22px, 2.4vw, 36px); }

.bakery .bb-intro-col .wpb_text_column { max-width: 860px; margin-inline: auto !important; }

body #content .bb-intro-col .bb-eyebrow {
    font-size: clamp(12.65px, 1.45vw, 21px) !important;
    letter-spacing: .44em !important;
    margin-bottom: 4px !important;
}

body #content .bb-intro-col h2 {
    font-size: var(--bb-fs-h2-sm) !important;
    letter-spacing: .04em !important;
    margin: 0 0 clamp(12px, 1.3vw, 18px) !important;
}

body #content .bb-intro-col .bb-lede { text-align: center !important; margin: 0 !important; }

/* ------------------------------------------------------------
   VALUE CARDS — 3-up, same card language as bb-brand-card
   ------------------------------------------------------------ */
.bakery section.bb-values { border-top: 1px solid rgba(255, 255, 255, .1); }
.bakery .bb-value-row { margin: 0 -11px; align-items: stretch; }
.bakery .bb-value-col { padding: 0 11px 22px !important; display: flex; }
.bakery .bb-value-col > .vc_column-inner { width: 100%; height: 100%; display: flex; flex-direction: column; }
.bakery .bb-value-col > .vc_column-inner > .wpb_wrapper { flex: 1; display: flex; flex-direction: column; }

.bakery .bb-value-card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    margin-bottom: 0 !important;
    padding: clamp(24px, 2.4vw, 36px) clamp(20px, 2.2vw, 32px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(20, 24, 51, .8), rgba(3, 4, 11, .95));
    transition: transform .22s, border-color .22s, box-shadow .22s;
}

.bakery .bb-value-card:before {
    content: "";
    position: absolute;
    left: clamp(20px, 2.2vw, 32px);
    top: 0;
    width: clamp(40px, 4vw, 58px);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--accent1), var(--accent3));
    box-shadow: 0 0 10px rgba(160, 110, 255, .6);
}

.bakery .bb-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--bb-rgb-cyan), .6);
    box-shadow: 0 12px 30px rgba(92, 41, 160, .22);
}

body #content .bb-value-card h3 {
    font-family: var(--bb-display) !important;
    font-size: clamp(21px, 2vw, 29px) !important;
    line-height: 1.1 !important;
    text-transform: uppercase !important;
    margin: 0 0 10px !important;
}

body #content .bb-value-card p {
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: var(--light2) !important;
    margin: 0 !important;
}

/* ------------------------------------------------------------
   CLOSING CTA
   ------------------------------------------------------------ */
.bakery section.bb-cta {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: radial-gradient(ellipse at 50% 120%, rgba(92, 41, 160, .34), transparent 62%), var(--dark1);
}

.bakery .bb-cta-col .wpb_text_column { max-width: 820px; margin-inline: auto !important; }

body #content .bb-cta-col h2 {
    font-size: var(--bb-fs-h2-sm) !important;
    line-height: 1.05 !important;
    margin: 0 0 10px !important;
}

body #content .bb-cta-col .bb-cta-sub {
    font-size: clamp(13.8px, 1.26vw, 17.8px) !important;
    color: var(--light2) !important;
    margin: 0 0 clamp(16px, 1.8vw, 24px) !important;
}

body #content .bb-cta-col .bb-btn-row { justify-content: center; }

/* ------------------------------------------------------------
   RESPONSIVE
   The theme wraps row contents in an extra .container below 768, so the
   row itself is not the flex parent — flex both (see the bb-diff-row note
   in the Home block).
   ------------------------------------------------------------ */
@media (max-width: 979px) {
    .bakery .bb-value-row,
    .bakery .bb-value-row > .container { display: flex !important; flex-wrap: wrap !important; }
    .bakery .bb-value-col { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; }
}

@media (max-width: 520px) {
    body #content .bb-cta-col .bb-btn-row a.btn-bt { width: 100%; }
}

/* === Page: Our Brands === 2026-11-18 === */
/* ============================================================
   PAGE: Our Brands
   bb-intro and bb-cta come from the "About" block; the only new
   component here is the alternating brand panel, bb-bfeat.
   ============================================================ */

.bakery section.bb-bfeat {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: clamp(34px, 3.8vw, 62px) 0;
}

/* Brand-tinted glow behind the logo half. Tree Gringos reads green/cyan,
   Dabheadz pastel/magenta — the panel carries the tint, the logo art is
   left untouched. */
.bakery section.bb-bfeat:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 22%;
    transform: translate(-50%, -50%);
    width: min(56vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.bakery section.bb-bfeat.bb-bfeat-alt:before { left: auto; right: 22%; transform: translate(50%, -50%); }

.bakery section.bb-bfeat-tg:before { background: radial-gradient(circle, rgba(18, 221, 248, .2), rgba(60, 200, 150, .12) 42%, transparent 68%); }
.bakery section.bb-bfeat-dh:before { background: radial-gradient(circle, rgba(205, 43, 244, .2), rgba(140, 23, 235, .13) 42%, transparent 68%); }

.bakery .bb-bfeat-row { position: relative; z-index: 1; align-items: center; }

.bakery .bb-bfeat-mark,
.bakery .bb-bfeat-copy { padding: 0 clamp(10px, 1.8vw, 28px) !important; }

.bakery .bb-bfeat-mark .wpb_text_column,
.bakery .bb-bfeat-copy .wpb_text_column { margin-bottom: 0; }

.bakery .bb-bfeat-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(180px, 20vw, 300px);
    padding: clamp(18px, 2vw, 30px);
}

.bakery .bb-bfeat-logo img {
    max-width: min(100%, 360px);
    height: auto;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, .55));
}

/* The two marks have very different aspect ratios (TG 900x871, Dabheadz
   900x521), so a single max-width left Dabheadz reading much smaller than
   Tree Gringos. Size the wide mark on width, the tall one on height. */
.bakery .bb-bfeat-dh .bb-bfeat-logo img { max-width: min(100%, 470px); }

body #content .bb-bfeat-copy .bb-eyebrow {
    font-size: clamp(11.5px, 1.3vw, 18px) !important;
    letter-spacing: .34em !important;
    margin-bottom: 4px !important;
}

body #content .bb-bfeat-copy h2 {
    font-size: var(--bb-fs-h2-story) !important;
    line-height: 1.02 !important;
    margin: 0 0 10px !important;
}

body #content .bb-bfeat-copy .bb-lede { margin: 0 0 clamp(12px, 1.3vw, 18px) !important; }

body #content .bb-bfeat-copy p {
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: var(--light2) !important;
}

body #content .bb-bfeat-copy .bb-btn-row { margin-top: clamp(16px, 1.8vw, 24px) !important; }

/* ------------------------------------------------------------
   RESPONSIVE
   Below 768 the theme wraps row contents in an extra .container, so flex
   both the row and that wrapper (same wall the Home bb-diff-row hit).
   The logo half is forced back above the copy on the alternating panel so
   the reading order stays mark-then-copy on mobile.
   ------------------------------------------------------------ */
@media (max-width: 979px) {
    .bakery .bb-bfeat-row,
    .bakery .bb-bfeat-row > .container { display: flex !important; flex-wrap: wrap !important; }

    .bakery .bb-bfeat-mark,
    .bakery .bb-bfeat-copy { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; padding: 0 !important; }

    .bakery .bb-bfeat-alt .bb-bfeat-mark { order: -1; }

    .bakery section.bb-bfeat:before,
    .bakery section.bb-bfeat.bb-bfeat-alt:before { left: 50%; right: auto; top: 30%; transform: translate(-50%, -50%); width: min(90vw, 520px); }

    .bakery .bb-bfeat-logo { min-height: 0; padding: 0 0 clamp(18px, 4vw, 28px); }
    .bakery .bb-bfeat-logo img { max-width: min(72%, 300px); }
    .bakery .bb-bfeat-dh .bb-bfeat-logo img { max-width: min(86%, 380px); }

    /* Stacked, the mark is centred above the copy, so centre the whole
       column — a left-aligned body under a centred heading read as a bug. */
    body #content .bb-bfeat-copy .bb-eyebrow,
    body #content .bb-bfeat-copy h2,
    body #content .bb-bfeat-copy p { text-align: center !important; }
    body #content .bb-bfeat-copy .bb-btn-row { justify-content: center; }
}

@media (max-width: 520px) {
    body #content .bb-bfeat-copy .bb-btn-row a.btn-bt { width: 100%; }
}

/* === Page: Shop === 2026-11-18 === */
/* ============================================================
   PAGE: Shop / Order Online
   bb-intro, bb-cta come from the "About" block; bb-tile, bb-loc-card,
   bb-section-head from "Home". New here: bb-shopcopy (the body-copy
   blocks between sections) and bb-dutchie (the reserved menu slot).
   ============================================================ */

/* ------------------------------------------------------------
   BODY COPY BLOCKS
   Used both as a standalone section and as a trailing row inside
   another section (.bb-shopcopy-after), hence the two paddings.
   ------------------------------------------------------------ */
.bakery section.bb-shopcopy { padding-top: 0; }

.bakery .bb-shopcopy-col .wpb_text_column {
    max-width: 880px;
    margin-inline: auto !important;
    margin-bottom: 0;
}

.bakery .bb-shopcopy-after { margin-top: clamp(14px, 1.8vw, 26px); }

body #content .bb-shopcopy-col p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: var(--light2) !important;
    text-align: center !important;
    margin: 0 0 clamp(10px, 1.1vw, 16px) !important;
}

body #content .bb-shopcopy-col p:last-child { margin-bottom: 0 !important; }

/* ------------------------------------------------------------
   CATEGORY TILES
   Same tile component as Home; this page only re-opens the section
   spacing and the head.
   ------------------------------------------------------------ */
.bakery section.bb-categories { border-top: 1px solid rgba(255, 255, 255, .1); }

/* ------------------------------------------------------------
   DUTCHIE SLOT
   A reserved, clearly labelled area — no embed code or store URLs were
   supplied. The dashed border reads as "something goes here" rather than
   as a finished card, which is deliberate: it should look unfinished to
   the developer and still presentable to the client.
   ------------------------------------------------------------ */
.bakery section.bb-dutchie {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: radial-gradient(ellipse at 50% 0%, rgba(9, 81, 200, .3), transparent 60%), var(--dark1);
}

.bakery .bb-dutchie-slot {
    position: relative;
    max-width: 980px;
    margin-inline: auto !important;
    margin-bottom: 0 !important;
    padding: clamp(32px, 3.6vw, 60px) clamp(20px, 2.6vw, 44px);
    border: 1px dashed rgba(var(--bb-rgb-cyan), .42);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(20, 24, 51, .72), rgba(3, 4, 11, .92));
    box-shadow: inset 0 0 60px rgba(9, 81, 200, .16);
}

body #content .bb-dutchie-slot .bb-eyebrow {
    font-size: clamp(11.5px, 1.3vw, 18px) !important;
    letter-spacing: .4em !important;
    margin-bottom: 6px !important;
}

body #content .bb-dutchie-slot h2 {
    font-size: var(--bb-fs-h2-sm) !important;
    line-height: 1.05 !important;
    margin: 0 0 clamp(12px, 1.3vw, 18px) !important;
}

body #content .bb-dutchie-slot .bb-dutchie-sub {
    font-size: clamp(14.5px, 1.3vw, 17.5px) !important;
    line-height: 1.7 !important;
    color: var(--light2) !important;
    max-width: 760px;
    margin: 0 auto clamp(18px, 2vw, 28px) !important;
}

/* The developer-facing line. Smaller, dimmer and set off by a rule so it
   never reads as client copy. */
body #content .bb-dutchie-slot .bb-dutchie-note {
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    line-height: 1.7 !important;
    color: var(--light3) !important;
    max-width: 620px;
    margin: 0 auto !important;
    padding-top: clamp(16px, 1.8vw, 24px);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

/* ------------------------------------------------------------
   RESPONSIVE
   The tile and location rows already stack from the Home block; only the
   slot's padding needs easing on small screens.
   ------------------------------------------------------------ */
@media (max-width: 767px) {
    .bakery .bb-dutchie-slot { padding: clamp(24px, 6vw, 36px) clamp(16px, 4.5vw, 26px); }
    body #content .bb-dutchie-slot .bb-dutchie-note { font-size: 11px !important; letter-spacing: .1em !important; }
}

@media (max-width: 520px) {
    body #content .bb-cta-col .bb-btn-row a.btn-bt { width: 100%; }
}

/* The intro and the welcome copy read as one block, so drop the gap the
   About block's bb-intro leaves below itself. Scoped to this page by body
   id class — bb-intro is shared with About and Our Brands, which still
   want that gap. */
body.page-id-2708 .bakery section.bb-intro { padding-bottom: 0; }

/* === Page: Specials === 2026-11-18 === */
/* ============================================================
   PAGE: Specials
   All blocks compile into one site-wide custom.css, so this page reuses
   bb-intro / bb-value-card / bb-cta from "About", bb-newsletter and
   bb-section-head from "Home", and bb-shopcopy from "Shop". New here:
   the 2-up variant of the value row and bb-calendar, the reserved
   monthly vendor calendar slot.
   ============================================================ */

/* ------------------------------------------------------------
   WHAT'S POPPING — 2-up value cards
   The About page runs these 3-up. Here there are four, and the theme's
   row is already a flex container, so the four 1/2 columns shared the
   line four-across instead of wrapping two-up. Pin the basis and flex
   the .container wrapper too (the theme re-wraps row contents below
   768, so the row alone is not always the flex parent).
   ------------------------------------------------------------ */
.bakery .bb-value-row-2up,
.bakery .bb-value-row-2up > .container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch;
}

.bakery .bb-value-row-2up .bb-value-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
}

body #content .bb-value-row-2up .bb-value-card p { font-size: 15.5px !important; }

/* ------------------------------------------------------------
   MONTHLY VENDOR CALENDAR SLOT
   No promotions, dates or vendors were supplied, so this is a reserved,
   clearly labelled area rather than invented content. Same dashed
   treatment as the Dutchie slot on Shop so the two read as one pattern.
   ------------------------------------------------------------ */
.bakery section.bb-calendar {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: radial-gradient(ellipse at 50% 0%, rgba(140, 23, 235, .26), transparent 60%), var(--dark1);
}

.bakery .bb-calendar-slot {
    position: relative;
    max-width: 980px;
    margin-inline: auto !important;
    margin-bottom: 0 !important;
    padding: clamp(32px, 3.6vw, 60px) clamp(20px, 2.6vw, 44px);
    border: 1px dashed rgba(var(--bb-rgb-magenta), .42);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(20, 24, 51, .72), rgba(3, 4, 11, .92));
    box-shadow: inset 0 0 60px rgba(92, 41, 160, .18);
}

body #content .bb-calendar-slot .bb-eyebrow {
    font-size: clamp(11.5px, 1.3vw, 18px) !important;
    letter-spacing: .4em !important;
    margin-bottom: 6px !important;
}

body #content .bb-calendar-slot h2 {
    font-size: var(--bb-fs-h2-sm) !important;
    line-height: 1.05 !important;
    margin: 0 0 clamp(12px, 1.3vw, 18px) !important;
}

body #content .bb-calendar-slot .bb-calendar-sub {
    font-size: clamp(14.5px, 1.3vw, 17.5px) !important;
    line-height: 1.7 !important;
    color: var(--light2) !important;
    max-width: 760px;
    margin: 0 auto clamp(18px, 2vw, 28px) !important;
}

/* Developer-facing line — same treatment as .bb-dutchie-note. */
body #content .bb-calendar-slot .bb-calendar-note {
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    line-height: 1.7 !important;
    color: var(--light3) !important;
    max-width: 640px;
    margin: 0 auto !important;
    padding-top: clamp(16px, 1.8vw, 24px);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

/* The intro and the body copy read as one block. Page-scoped — see the
   note on the same rule in the Shop block. */
body.page-id-2709 .bakery section.bb-intro { padding-bottom: 0; }

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 767px) {
    .bakery .bb-calendar-slot { padding: clamp(24px, 6vw, 36px) clamp(16px, 4.5vw, 26px); }
    body #content .bb-calendar-slot .bb-calendar-note { font-size: 11px !important; letter-spacing: .1em !important; }
}

/* The 2-up override above out-specifies the About block's mobile stack
   rule (three classes vs two), so the cards stayed side by side at 390
   and the copy ran three words wide. Restate the stack here. */
@media (max-width: 767px) {
    .bakery .bb-value-row-2up .bb-value-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }
}


/* === Page: Contact === 2026-11-18 === */
/* ============================================================
   PAGE: Location / Contact
   Reuses bb-intro / bb-cta ("About"), bb-loc-card / bb-section-head
   ("Home") and bb-shopcopy ("Shop"). New here: bb-map (the embedded
   location map inside the location card), bb-form (the Gravity Forms
   panel, GF 1) and bb-social (the follow row).
   ============================================================ */

/* ------------------------------------------------------------
   LOCATION CARDS WITH MAPS
   The map sits inside the existing bb-loc-card so the two pages share a
   single card language; only the embed and the phone line are new.
   ------------------------------------------------------------ */
.bakery .bb-loc-card-map { padding-top: 0 !important; overflow: hidden; }

.bakery .bb-map {
    display: block;
    position: relative;
    width: calc(100% + 2 * clamp(20px, 2.2vw, 32px));
    margin: 0 calc(-1 * clamp(20px, 2.2vw, 32px)) clamp(20px, 2.2vw, 30px);
    aspect-ratio: 16 / 9;
    background: var(--dark3);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

/* Backdrop behind the embed. Google's iframe paints over this when it
   loads; if it is blocked (consent tooling, an ad blocker, a browser with
   third-party frames off) the card shows a pin and a label instead of a
   dead navy rectangle. Headless Chrome never paints Maps tiles, so this
   is also what the QA screenshots capture — check the live map in a real
   browser, not in a shot. */
.bakery .bb-map:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312DDF8'%3E%3Cpath d='M12 22s7-6.2 7-12a7 7 0 0 0-14 0c0 5.8 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%2303040B'/%3E%3C/svg%3E") center 38% / 30px auto no-repeat,
        linear-gradient(160deg, rgba(20, 24, 51, .95), rgba(3, 4, 11, .98));
}

.bakery .bb-map iframe { position: relative; z-index: 1; }

.bakery .bb-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    /* Google's embed ships a white chrome that fights the obsidian shell.
       Invert + rotate lands it as a dark map without hosting tiles. */
    filter: invert(.92) hue-rotate(180deg) saturate(.72) brightness(.92) contrast(1.05);
}

body #content .bb-loc-card .bb-loc-phone {
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin: 0 0 6px !important;
}

body #content .bb-loc-card .bb-loc-phone a { color: var(--light1) !important; }
body #content .bb-loc-card .bb-loc-phone a:hover { color: var(--accent1) !important; }

/* ------------------------------------------------------------
   CONTACT FORM PANEL — Gravity Form 1
   GF renders its submit as a , and its stylesheet loads after
   custom.css, so both selectors carry !important (see the same note on
   the newsletter form in the Global Shell block).
   ------------------------------------------------------------ */
.bakery section.bb-form { border-top: 1px solid rgba(255, 255, 255, .1); }
.bakery .bb-form-row { align-items: stretch; }

.bakery .bb-form-aside,
.bakery .bb-form-main { padding: 0 clamp(10px, 1.4vw, 20px) !important; }

.bakery .bb-form-aside .wpb_text_column { margin-bottom: 0; }

body #content .bb-form-aside .bb-eyebrow {
    font-size: clamp(11.5px, 1.3vw, 18px) !important;
    letter-spacing: .36em !important;
    margin-bottom: 6px !important;
}

body #content .bb-form-aside h2 {
    font-size: var(--bb-fs-h2-sm) !important;
    line-height: 1.05 !important;
    margin: 0 0 clamp(14px, 1.5vw, 20px) !important;
}

body #content .bb-form-aside p {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    color: var(--light2) !important;
    margin: 0 0 8px !important;
}

body #content .bb-form-aside .bb-form-email a {
    font-family: var(--bb-ui) !important;
    font-size: 15px !important;
    color: var(--accent1) !important;
    word-break: break-word;
}

body #content .bb-form-aside .bb-form-email a:hover { color: var(--light1) !important; }

body #content .bb-form-aside .bb-form-fine {
    font-size: 13px !important;
    color: var(--light3) !important;
    margin-top: clamp(18px, 2vw, 26px) !important;
    padding-top: clamp(16px, 1.8vw, 22px);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.bakery .bb-form-panel {
    margin-bottom: 0 !important;
    padding: clamp(24px, 2.6vw, 40px) clamp(20px, 2.4vw, 36px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(20, 24, 51, .8), rgba(3, 4, 11, .95));
}

/* GF 1 is in non-legacy markup; the global shell already restyles the
   fields, so this only handles the two-column name/email/phone rhythm. */
.bakery .bb-form-panel .gform_fields { row-gap: clamp(14px, 1.6vw, 20px) !important; }

body #content .bb-form-panel .gfield_label {
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
    color: var(--light3) !important;
}

/* Both selectors, both !important — GF ships the submit as a button and
   loads after us. An input[type=submit] rule alone never matches. */
body #content .bb-form-panel .gform_footer input[type="submit"],
body #content .bb-form-panel .gform_footer button.gform_button {
    width: auto !important;
    margin-bottom: 0 !important;
}

/* ------------------------------------------------------------
   STAY CONNECTED — social row
   Icons are encoded background-image data-URIs on a span (masks do not
   render here), matching the bb-diff-icon pattern in the Home block.
   ------------------------------------------------------------ */
.bakery section.bb-social {
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: radial-gradient(ellipse at 50% 0%, rgba(9, 81, 200, .26), transparent 62%), var(--dark1);
}

.bakery .bb-social-col .wpb_text_column { max-width: 940px; margin-inline: auto !important; margin-bottom: 0; }

body #content .bb-social-col h2 {
    font-size: var(--bb-fs-h2-sm) !important;
    line-height: 1.05 !important;
    margin: 0 0 10px !important;
}

body #content .bb-social-col .bb-social-sub {
    font-size: clamp(14px, 1.26vw, 17.5px) !important;
    color: var(--light2) !important;
    margin: 0 0 clamp(22px, 2.4vw, 34px) !important;
}

.bakery .bb-social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: clamp(14px, 1.6vw, 22px);
}

body #content a.bb-social-link {
    flex: 1 1 220px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: clamp(22px, 2.4vw, 32px) clamp(16px, 1.8vw, 24px);
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(20, 24, 51, .8), rgba(3, 4, 11, .95));
    text-decoration: none !important;
    transition: transform .22s, border-color .22s, box-shadow .22s;
}

body #content a.bb-social-link:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--bb-rgb-cyan), .6);
    box-shadow: 0 12px 30px rgba(92, 41, 160, .22);
}

.bakery .bb-social-icon {
    display: block;
    width: 34px;
    height: 34px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.bakery .bb-icon-instagram { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312DDF8' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Crect x='2.6' y='2.6' width='18.8' height='18.8' rx='5.4'/%3E%3Ccircle cx='12' cy='12' r='4.6'/%3E%3Ccircle cx='17.6' cy='6.4' r='1.2' fill='%2312DDF8' stroke='none'/%3E%3C/svg%3E"); }

.bakery .bb-icon-facebook { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23CD2BF4' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M14.6 22V13.4h2.9l.5-3.4h-3.4V7.9c0-1 .3-1.7 1.7-1.7h1.8V3.1A24 24 0 0 0 15.4 3c-2.6 0-4.4 1.6-4.4 4.5V10H8v3.4h3V22Z'/%3E%3C/svg%3E"); }

.bakery .bb-icon-tiktok { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238C17EB' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M15.2 2.5c.4 2.6 1.9 4.1 4.4 4.3v2.9a7 7 0 0 1-4.3-1.4v6.2a5.6 5.6 0 1 1-4.8-5.5v3a2.6 2.6 0 1 0 1.8 2.5V2.5Z'/%3E%3C/svg%3E"); }

body #content .bb-social-link .bb-social-net {
    font-family: var(--bb-ui) !important;
    font-size: 12.5px !important;
    letter-spacing: .18em !important;
    text-transform: uppercase !important;
    color: var(--light1) !important;
}

body #content .bb-social-link .bb-social-handle {
    font-size: 14.5px !important;
    color: var(--light3) !important;
}

/* Intro and body copy read as one block — page-scoped, see the Shop block. */
body.page-id-2710 .bakery section.bb-intro { padding-bottom: 0; }

/* ------------------------------------------------------------
   RESPONSIVE
   Below 768 the theme wraps row contents in an extra .container, so flex
   both the row and that wrapper.
   ------------------------------------------------------------ */
@media (max-width: 979px) {
    .bakery .bb-form-row,
    .bakery .bb-form-row > .container { display: flex !important; flex-wrap: wrap !important; }

    .bakery .bb-form-aside,
    .bakery .bb-form-main { flex: 0 0 100% !important; max-width: 100% !important; width: 100% !important; padding: 0 !important; }

    .bakery .bb-form-aside { margin-bottom: clamp(20px, 3vw, 30px); }

    body #content .bb-form-aside .bb-eyebrow,
    body #content .bb-form-aside h2,
    body #content .bb-form-aside p { text-align: center !important; }
}

@media (max-width: 520px) {
    body #content a.bb-social-link { flex: 0 0 100%; max-width: 100%; }
    body #content .bb-cta-col .bb-btn-row a.btn-bt { width: 100%; }
}


/* === Page: Legal === 2026-11-18 === */
/* ============================================================
   PAGES: Terms of Service, Compliance, Privacy Policy, Accessibility
   The ACF "custom page class" field writes its value to the body *id*,
   not a class — these four pages carry id="bb-legal", so everything here
   hangs off body#bb-legal and never leaks to a built page.
   Long-form legal copy, so: a reading measure, a clear heading rhythm
   and nothing decorative.
   ============================================================ */

body#bb-legal #content .wpb_text_column,
body#bb-legal #content .bb-legal-body { max-width: 920px; margin-inline: auto !important; }

body#bb-legal.bakery section.bb-legal,
body#bb-legal .bakery section.bb-legal { padding: clamp(34px, 3.6vw, 62px) 0; }

body#bb-legal #content p,
body#bb-legal #content li {
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: var(--light2) !important;
    margin: 0 0 16px !important;
}

body#bb-legal #content ul { margin: 0 0 18px; padding-left: 22px; }
body#bb-legal #content li { margin-bottom: 8px !important; }
body#bb-legal #content li::marker { color: var(--accent1); }

body#bb-legal #content h2 {
    font-size: clamp(22px, 2.3vw, 32px) !important;
    line-height: 1.12 !important;
    margin: clamp(26px, 2.8vw, 40px) 0 12px !important;
}

body#bb-legal #content h3 {
    font-family: var(--bb-display) !important;
    font-size: clamp(18px, 1.8vw, 24px) !important;
    line-height: 1.15 !important;
    text-transform: uppercase !important;
    margin: clamp(22px, 2.4vw, 32px) 0 10px !important;
}

body#bb-legal #content a { color: var(--accent1) !important; }
body#bb-legal #content a:hover { color: var(--light1) !important; }

/* Effective-date line under the heading. */
body#bb-legal #content .bb-legal-date {
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    letter-spacing: .16em !important;
    text-transform: uppercase !important;
    color: var(--light3) !important;
    margin: 0 0 clamp(20px, 2.2vw, 30px) !important;
    padding-bottom: clamp(16px, 1.8vw, 22px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

/* Draft notice. These three pages ship agency boilerplate that the client
   and their counsel have not reviewed — the notice says so on the page so
   nobody mistakes it for approved language. Remove it once the final copy
   is signed off. */
body#bb-legal #content .bb-legal-draft {
    display: block;
    margin: 0 0 clamp(22px, 2.4vw, 32px) !important;
    padding: clamp(16px, 1.8vw, 22px) clamp(18px, 2vw, 26px);
    border: 1px dashed rgba(var(--bb-rgb-magenta), .45);
    border-radius: 12px;
    background: rgba(20, 24, 51, .6);
    font-family: var(--bb-ui) !important;
    font-size: 12px !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
    line-height: 1.7 !important;
    color: var(--light3) !important;
}

/* Closing contact block. */
body#bb-legal #content .bb-legal-contact {
    margin-top: clamp(26px, 2.8vw, 38px) !important;
    padding-top: clamp(18px, 2vw, 26px);
    border-top: 1px solid rgba(255, 255, 255, .12);
}
