/* ==========================================================================
   BlueBrush — Hologram (4A) theme styles
   ========================================================================== */

:root {
  --bb-night: #070616;
  --bb-deep: #141030;
  --bb-cyan: #5ef0ff;
  --bb-cyan-soft: #9ff6ff;
  --bb-violet: #b48cff;
  --bb-pink: #ff5ec8;
  --bb-text: #efedff;
  --bb-muted: #c3bfe6;
  --bb-dim: #8f89c0;
  --bb-line: rgba(255, 255, 255, .12);
  --bb-irid: linear-gradient(90deg, #5ef0ff, #b48cff, #ff5ec8, #5ef0ff);
  --bb-wide: 1280px;
  --bb-radius: 24px;
  --bb-font-head: Sora, 'Segoe UI', sans-serif;
  --bb-font-body: Inter, 'Segoe UI', sans-serif;
  --bb-font-mono: 'Space Mono', ui-monospace, monospace;
}

@keyframes bb-spin { to { transform: rotate(360deg); } }
@keyframes bb-drift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(40px, -30px); } }
@keyframes bb-shimmer { to { background-position: 200% 0; } }
@keyframes bb-marquee { to { transform: translateX(-50%); } }
@keyframes bb-pulse { 50% { opacity: .4; } }
@keyframes bb-playhead { from { left: 0; } to { left: 100%; } }
@keyframes bb-line { to { opacity: 1; } }
@keyframes bb-travel { from { transform: translateX(-100%); } to { transform: translateX(350%); } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bb-night);
  color: var(--bb-text);
  font-family: var(--bb-font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--bb-cyan-soft); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--bb-cyan); outline-offset: 3px; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 100; top: 10px; left: 10px;
  background: #fff; color: #000; padding: 10px 16px; border-radius: 8px;
}

/* ---------- Background glows ---------- */
.bb-glows { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bb-glows span { position: absolute; border-radius: 50%; animation: bb-drift 16s ease-in-out infinite; }
.bb-glows span:nth-child(1) { left: -200px; top: 400px; width: 600px; height: 600px; background: #3b1d8f; filter: blur(140px); opacity: .55; }
.bb-glows span:nth-child(2) { right: -200px; top: 1500px; width: 560px; height: 560px; background: #0b6f8a; filter: blur(140px); opacity: .45; animation-direction: reverse; }
.bb-glows span:nth-child(3) { left: 30%; top: 3200px; width: 520px; height: 520px; background: #8a1d6f; filter: blur(150px); opacity: .35; }
.bb-site { position: relative; min-height: 100vh; display: flex; flex-direction: column; }
.bb-main { position: relative; z-index: 1; flex: 1; }

/* ---------- Shimmer text ---------- */
.bb-irid,
.has-iridescent-color,
h1 mark, h2 mark, h3 mark {
  background: var(--bb-irid) !important;
  background-size: 200% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  animation: bb-shimmer 6s linear infinite;
}

/* ---------- Header ---------- */
.bb-header { position: sticky; top: 0; z-index: 50; padding: 14px 24px; }
.admin-bar .bb-header { top: 32px; }
.bb-header__bar {
  max-width: var(--bb-wide); margin: 0 auto; padding: 10px 12px 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(20, 16, 48, .55); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
}
.bb-logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; flex: none; }
.bb-logo:hover { color: #fff; }
.bb-logo__mark { width: 26px; height: 26px; border-radius: 50%; background: conic-gradient(#5ef0ff, #b48cff, #ff5ec8, #5ef0ff); animation: bb-spin 6s linear infinite; }
.bb-logo__text { font: 700 21px var(--bb-font-head); letter-spacing: -0.03em; }
.bb-logo img { max-height: 36px; width: auto; }
.custom-logo-link { display: flex; align-items: center; flex: none; line-height: 0; }
.custom-logo-link img, img.custom-logo { display: block; height: auto; width: auto; max-height: 36px; max-width: 180px; }
.bb-footer .custom-logo-link img, .bb-footer img.custom-logo { max-height: 44px; max-width: 220px; }
@media (max-width: 560px) { .custom-logo-link img, img.custom-logo { max-height: 30px; max-width: 140px; } }

.bb-nav { flex: 1; display: flex; justify-content: center; }
.bb-nav ul { list-style: none; margin: 0; padding: 0; }
.bb-nav > ul { display: flex; flex-wrap: wrap; gap: 4px 22px; font-size: 14px; }
.bb-nav li { position: relative; }
.bb-nav a { display: block; color: #bdb8e8; text-decoration: none; padding: 10px 0; }
.bb-nav a:hover, .bb-nav .current-menu-item > a, .bb-nav .current-menu-ancestor > a { color: #fff; }
.bb-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
.bb-nav .bb-menu-ai > a { font-weight: 600; background: var(--bb-irid); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bb-shimmer 6s linear infinite; }
.bb-nav .sub-menu {
  display: none; position: absolute; top: 100%; left: -14px; min-width: 250px; z-index: 60;
  background: rgba(20, 16, 48, .95); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px; padding: 8px;
}
.bb-nav .sub-menu .sub-menu { top: -9px; left: 100%; margin-left: 6px; }
.bb-nav li:hover > .sub-menu, .bb-nav li:focus-within > .sub-menu { display: block; }
.bb-nav .sub-menu a { padding: 9px 13px; border-radius: 10px; color: #e3e0ff; }
.bb-nav .sub-menu a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.bb-nav .sub-menu .menu-item-has-children > a::after { transform: translateY(-2px) rotate(-45deg); float: right; margin-top: 8px; }

.bb-header__cta { flex: none; }
.bb-menu-toggle { display: none; background: transparent; border: 1px solid rgba(255, 255, 255, .25); color: #fff; border-radius: 999px; width: 44px; height: 44px; cursor: pointer; }
.bb-menu-toggle span, .bb-menu-toggle span::before, .bb-menu-toggle span::after { display: block; width: 18px; height: 1.5px; background: #fff; margin: 0 auto; position: relative; transition: transform .25s; }
.bb-menu-toggle span::before, .bb-menu-toggle span::after { content: ""; position: absolute; left: 0; }
.bb-menu-toggle span::before { top: -6px; } .bb-menu-toggle span::after { top: 6px; }
.bb-nav-open .bb-menu-toggle span { background: transparent; }
.bb-nav-open .bb-menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.bb-nav-open .bb-menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

.bb-subtoggle { display: none; }
@media (max-width: 1100px) {
  .bb-header__bar { border-radius: 24px; flex-wrap: wrap; }
  .bb-menu-toggle { display: block; }
  .bb-header .bb-header__cta { display: none; }
  .bb-nav { display: none; flex-basis: 100%; justify-content: flex-start; }
  .bb-nav-open .bb-nav { display: block; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .bb-nav-open { overflow: hidden; }
  .bb-nav > ul { flex-direction: column; gap: 0; padding: 8px 0 12px; font-size: 16px; }
  .bb-nav li { border-top: 1px solid rgba(255, 255, 255, .07); }
  .bb-nav > ul > li:first-child { border-top: 0; }
  .bb-nav a { padding: 13px 56px 13px 4px; }
  .bb-nav .sub-menu, .bb-nav .sub-menu .sub-menu { display: none; position: static; background: none; border: 0; padding: 0 0 6px 14px; backdrop-filter: none; -webkit-backdrop-filter: none; margin: 0; min-width: 0; }
  .bb-nav li:hover > .sub-menu, .bb-nav li:focus-within > .sub-menu { display: none; }
  .bb-nav li.is-open > .sub-menu { display: block; }
  .bb-nav .sub-menu li { border-top: 0; }
  .bb-nav .sub-menu a { padding: 10px 56px 10px 10px; font-size: 15px; }
  .bb-nav .menu-item-has-children > a::after { display: none; }
  .bb-subtoggle { display: flex; align-items: center; justify-content: center; position: absolute; right: 0; top: 2px; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; padding: 0; }
  .bb-subtoggle::before { content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
  .bb-nav li.is-open > .bb-subtoggle { border-color: rgba(158, 246, 255, .5); }
  .bb-nav li.is-open > .bb-subtoggle::before { transform: translateY(2px) rotate(-135deg); }
}

/* ---------- Generic sections (block groups) ---------- */
.bb-main > *:not(.alignfull):not(.bb-hero):not(.bb-breadcrumb) { max-width: var(--bb-wide); margin-left: auto; margin-right: auto; padding-left: 32px; padding-right: 32px; }
.bb-main > .bb-section { padding-top: 70px; padding-bottom: 70px; }
.bb-section.is-layout-flow > * + * { margin-top: 1.25rem; }
.bb-center { text-align: center; }
.bb-center > * { margin-left: auto; margin-right: auto; }
.bb-narrow { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
.bb-main > .bb-section > .bb-center { margin-bottom: 48px; }

.bb-kicker {
  font-family: var(--bb-font-mono) !important; font-size: 12px !important; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bb-violet) !important; margin-bottom: 14px !important;
}
.bb-eyebrow {
  display: inline-flex !important; align-items: center; gap: 10px; width: auto !important;
  font: 400 14px var(--bb-font-mono) !important; letter-spacing: .1em; color: #cfc9ff !important;
  border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 8px 16px; background: rgba(7, 6, 22, .5);
}
.bb-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--bb-cyan); animation: bb-pulse 1.6s infinite; flex: none; }
.bb-lead { font-size: 1.25rem !important; line-height: 1.6 !important; color: #cfcbec !important; max-width: 640px; }
.bb-muted, .bb-section p { color: var(--bb-muted); }
.bb-section h1, .bb-section h2, .bb-section h3, .bb-section h4 { margin-top: 0; }
.bb-section h2 { margin-bottom: 1rem; }

/* Glass panel style (Group → Styles → Glass) */
.is-style-glass, .bb-glass {
  background: linear-gradient(150deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  border: 1px solid var(--bb-line); border-radius: var(--bb-radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: clamp(24px, 4vw, 56px);
  transition: transform .4s, border-color .4s;
}
.bb-card.is-style-glass, .bb-cards > .is-style-glass { padding: 30px; }
.bb-cards > .is-style-glass:hover, .bb-card:hover { transform: translateY(-6px); border-color: rgba(158, 246, 255, .55); }
.is-style-glass > :first-child { margin-top: 0; }
.is-style-glass > :last-child { margin-bottom: 0; }
.bb-dashed { border: 1px dashed rgba(255, 255, 255, .2); border-radius: var(--bb-radius); padding: 30px 36px; }

/* ---------- Hero ---------- */
.bb-breadcrumb { max-width: var(--bb-wide); margin: 0 auto; padding: 26px 32px 0; font: 12px var(--bb-font-mono); letter-spacing: .08em; color: var(--bb-dim); text-transform: uppercase; position: relative; z-index: 2; }
.bb-breadcrumb a { color: var(--bb-dim); text-decoration: none; }
.bb-breadcrumb a:hover { color: #fff; }
.bb-breadcrumb span[aria-current] { color: var(--bb-cyan-soft); }
.bb-breadcrumb .sep { margin: 0 8px; }

.bb-hero { max-width: var(--bb-wide); margin: 0 auto; padding: 50px 32px 90px; position: relative; }
.bb-hero.is-layout-flex, .bb-hero .wp-block-columns { align-items: center !important; }
.bb-hero h1 { margin: 26px 0 0; }
.bb-hero .wp-block-buttons { margin-top: 36px; }
.bb-hero--center { text-align: center; min-height: 760px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.bb-hero--center .bb-lead { margin-left: auto; margin-right: auto; }
.bb-hero--center .wp-block-buttons { justify-content: center; }
.bb-hero--center .bb-visual--globe { position: absolute; left: 50%; top: 50%; width: 820px; max-width: 100%; height: 820px; transform: translate(-50%, -50%); z-index: -1; }
.bb-hero--center h1 { text-shadow: 0 10px 40px rgba(7, 6, 22, .8); max-width: 980px; }

/* ---------- Visuals (shortcodes) ---------- */
.bb-visual { position: relative; width: 100%; min-height: 460px; }
.bb-visual--code, .bb-visual--chat, .bb-visual--search { min-height: 340px; }
.bb-visual canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bb-chip { position: absolute; padding: 14px 18px; border-radius: 18px; font-size: 13px; animation: bb-drift 11s ease-in-out infinite; }
.bb-chip small { display: block; font: 11px var(--bb-font-mono); color: var(--bb-cyan-soft); letter-spacing: .08em; margin-bottom: 6px; }
.bb-swatches { display: flex; gap: 6px; }
.bb-swatches i { width: 28px; height: 28px; border-radius: 8px; display: block; }
.bb-player { position: absolute; left: 30px; right: 30px; top: 50px; padding: 14px; border-radius: 22px; }
.bb-player__screen { position: relative; height: 250px; border-radius: 14px; overflow: hidden; background: #0d0a26; }
.bb-player__screen::before { content: ""; position: absolute; left: -20%; top: -40%; width: 140%; height: 180%; background: conic-gradient(from 0deg, #1b1050, #3b1d8f, #0b6f8a, #8a1d6f, #1b1050); animation: bb-spin 14s linear infinite; opacity: .75; }
.bb-player__object { position: absolute; left: 50%; top: 52%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 30%; background: linear-gradient(140deg, #efedff, #9ff6ff); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); animation: bb-spin 9s ease-in-out infinite alternate; }
.bb-player__tag { position: absolute; top: 12px; font: 11px var(--bb-font-mono); color: #fff; background: rgba(7, 6, 22, .6); padding: 4px 8px; border-radius: 6px; }
.bb-player__timeline { position: relative; height: 34px; margin-top: 12px; display: flex; gap: 4px; }
.bb-player__timeline i { border-radius: 6px; display: block; }
.bb-player__head { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; animation: bb-playhead 7s linear infinite; }

.bb-terminal { font: 13px/1.75 var(--bb-font-mono); background: rgba(6, 10, 18, .85); border: 1px solid rgba(94, 240, 255, .3); border-radius: 16px; padding: 14px 18px; color: #bdf6ff; position: absolute; }

/* Marquee */
.bb-marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); z-index: 1; }
.bb-marquee__track { display: flex; width: max-content; animation: bb-marquee 34s linear infinite; padding: 18px 0; font: 300 26px var(--bb-font-head); white-space: nowrap; color: #a9a3d8; }
.bb-marquee__track span { padding-right: 40px; }
.bb-marquee__track b { font-weight: 300; margin: 0 .6em; }

/* ---------- Content components ---------- */
/* Card grid: Group with class bb-cards (grid layout) */
.bb-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px !important; }
.bb-cards--2 { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }
.bb-cards--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.bb-cards > * { margin: 0 !important; }
.bb-cards h3, .bb-cards h4 { margin: 0 0 10px; font-size: 1.3rem; }
.bb-cards h3 a, .bb-tags h4 a { color: #fff; text-decoration: none; }
.bb-cards h3 a:hover, .bb-tags h4 a:hover { color: var(--bb-cyan-soft); }
.bb-card:has(h3 a) { position: relative; }
.bb-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.bb-cards p { margin: 0; font-size: .95rem; line-height: 1.6; }
.bb-cards .wp-block-buttons { margin-top: 22px; }
.bb-wide-card { grid-column: span 2; }
@media (max-width: 820px) { .bb-wide-card { grid-column: auto; } .bb-cards--2 { grid-template-columns: 1fr; } }

.bb-icon { display: block; width: 38px; height: 38px; color: var(--bb-cyan-soft); margin-bottom: 14px; }
.bb-icon svg { width: 100%; height: 100%; }
.bb-num { font: 700 44px var(--bb-font-head) !important; margin: 0 0 6px !important; }

/* Numbered glass list (List → class bb-numbered) */
ol.bb-numbered, ul.bb-numbered, .is-style-numbered-glass { list-style: none; margin: 0; padding: 0 !important; display: flex; flex-direction: column; gap: 10px; counter-reset: bb; }
.bb-numbered li, .is-style-numbered-glass li { counter-increment: bb; display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .1); background: rgba(7, 6, 22, .45); font: 500 1.05rem var(--bb-font-head); color: var(--bb-text); }
.bb-numbered li::before, .is-style-numbered-glass li::before { content: counter(bb, decimal-leading-zero); flex: none; width: 28px; font: 700 15px var(--bb-font-mono); background: var(--bb-irid); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: bb-shimmer 6s linear infinite; }

/* Check list */
ul.bb-checks, .is-style-checks { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bb-checks li, .is-style-checks li { display: flex; gap: 10px; color: var(--bb-muted); }
.bb-checks li::before, .is-style-checks li::before { content: "✓"; color: var(--bb-cyan); }

/* Tags (chips) */
.bb-tags { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px !important; }
.bb-tags > * { margin: 0 !important; border-radius: 18px; border: 1px solid var(--bb-line); padding: 20px; background: rgba(7, 6, 22, .4); }
.bb-tags h4 { margin: 0 0 4px; font-size: 1.05rem; }
.bb-tags p { margin: 0; font-size: .9rem; }

/* Steps */
.bb-steps { position: relative; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px !important; margin-top: 50px !important; }
.bb-steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 31px; height: 2px; background: rgba(255, 255, 255, .1); }
.bb-steps::after { content: ""; position: absolute; left: 4%; top: 31px; height: 2px; width: 28%; background: linear-gradient(90deg, transparent, #5ef0ff, #ff5ec8, transparent); animation: bb-travel 4s linear infinite; }
.bb-steps > * { position: relative; margin: 0 !important; z-index: 1; }
.bb-step__no { width: 62px; height: 62px; border-radius: 50%; display: flex !important; align-items: center; justify-content: center; background: var(--bb-night); border: 1px solid rgba(158, 246, 255, .5); font: 700 18px var(--bb-font-head) !important; color: var(--bb-cyan-soft) !important; box-shadow: 0 0 30px rgba(94, 240, 255, .2); margin: 0 0 22px !important; }
.bb-steps h3 { margin: 0 0 10px; font-size: 1.25rem; }
.bb-steps p { margin: 0; font-size: .95rem; }
@media (max-width: 820px) { .bb-steps::before, .bb-steps::after { display: none; } }

/* Comparison table */
.bb-table table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.bb-table { overflow-x: auto; }
.bb-table th, .bb-table td { text-align: left; padding: 16px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bb-table thead th { font: 12px var(--bb-font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bb-dim); border-bottom: 1px solid rgba(255, 255, 255, .15); }
.bb-table thead th:last-child { color: var(--bb-cyan-soft); border-bottom-color: rgba(158, 246, 255, .5); }
.bb-table tbody td:first-child { font: 600 1rem var(--bb-font-head); color: #fff; }
.bb-table tbody td:last-child { color: #fff; background: rgba(94, 240, 255, .05); }
.bb-table td { color: #a9a3d8; }

/* FAQ (Details blocks inside a group with class bb-faq) */
.bb-faq { display: flex !important; flex-direction: column; gap: 10px !important; }
.bb-faq > * { margin: 0 !important; }
.bb-faq details { border-radius: 18px; border: 1px solid var(--bb-line); background: rgba(255, 255, 255, .04); padding: 4px 24px; }
.bb-faq summary { cursor: pointer; padding: 18px 0; font: 600 1.1rem var(--bb-font-head); list-style: none; display: flex; justify-content: space-between; gap: 16px; color: #fff; }
.bb-faq summary::-webkit-details-marker { display: none; }
.bb-faq summary::after { content: "+"; color: var(--bb-cyan); font-size: 1.4rem; line-height: 1; transition: transform .25s; }
.bb-faq details[open] summary::after { transform: rotate(45deg); }
.bb-faq details > :not(summary) { margin: 0 0 20px; color: var(--bb-muted); }

/* Buttons */
.wp-block-button__link, .bb-btn, .wpcf7-submit {
  display: inline-block; text-decoration: none; cursor: pointer; border: 0;
  font: 600 15px var(--bb-font-head); padding: 16px 26px; border-radius: 999px;
  color: var(--bb-night) !important; background: linear-gradient(90deg, #5ef0ff, #b48cff, #ff5ec8) !important;
  background-size: 200% 100% !important; animation: bb-shimmer 6s linear infinite; transition: filter .2s;
}
.wp-block-button__link:hover, .bb-btn:hover, .wpcf7-submit:hover { filter: brightness(1.15); color: var(--bb-night) !important; }
.is-style-outline > .wp-block-button__link, .wp-block-button__link.is-style-outline, .bb-btn--ghost {
  background: transparent !important; animation: none; border: 1px solid rgba(255, 255, 255, .25) !important; color: #fff !important; padding: 15px 24px;
}
.is-style-outline > .wp-block-button__link:hover, .bb-btn--ghost:hover { background: rgba(255, 255, 255, .08) !important; color: #fff !important; filter: none; }
.bb-small-buttons .wp-block-button__link { padding: 11px 18px; font-size: 14px; }

/* ---------- Forms (Contact Form 7 + newsletter) ---------- */
.bb-form input[type=text], .bb-form input[type=email], .bb-form input[type=tel], .bb-form input[type=url], .bb-form select, .bb-form textarea,
.wpcf7 input[type=text], .wpcf7 input[type=email], .wpcf7 input[type=tel], .wpcf7 select, .wpcf7 textarea {
  width: 100%; font: 15px var(--bb-font-body); color: #fff; padding: 14px 16px; border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); outline: none;
}
.wpcf7 select option, .bb-form select option { background: var(--bb-deep); color: #fff; }
.bb-form input:focus, .bb-form textarea:focus, .wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { border-color: var(--bb-cyan); }
.wpcf7 label, .bb-form label { display: block; font-size: 13px; color: #bdb8e8; }
.wpcf7 label > .wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 p { margin: 0 0 14px; }
.wpcf7 .bb-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.wpcf7-not-valid-tip { color: #ff8fd8; font-size: 13px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { border-radius: 14px; margin: 14px 0 0; padding: 12px 16px; border-color: var(--bb-violet); color: var(--bb-text); }
.bb-newsletter-form { display: flex; flex-wrap: wrap; gap: 10px; }
.bb-newsletter-form input[type=email] { flex: 1 1 200px; }
.bb-notice { border: 1px dashed var(--bb-violet); border-radius: 14px; padding: 16px; color: var(--bb-muted); font-size: 14px; }
@media (max-width: 640px) { .wpcf7 .bb-grid-2 { grid-template-columns: 1fr; } }

/* Mailchimp for WP */
.mc4wp-form-fields { display: flex; flex-wrap: wrap; gap: 10px; }
.mc4wp-form-fields p { margin: 0; flex: 1 1 200px; }
.mc4wp-form input[type=email], .mc4wp-form input[type=text] { width: 100%; font: 15px var(--bb-font-body); color: #fff; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); }
.mc4wp-form input[type=submit] { font: 600 15px var(--bb-font-head); padding: 15px 24px; border: 0; border-radius: 999px; cursor: pointer; color: var(--bb-night); background: linear-gradient(90deg, #5ef0ff, #b48cff, #ff5ec8); }
.mc4wp-form label { color: #bdb8e8; font-size: 13px; }

/* ---------- Columns spacing ---------- */
.wp-block-columns { gap: clamp(28px, 4vw, 56px) !important; }
.bb-main .wp-block-columns { margin-bottom: 0; }

/* ---------- Blog / generic content ---------- */
.bb-page-head { max-width: var(--bb-wide); margin: 0 auto; padding: 60px 32px 30px; }
.bb-page-head h1 { margin: 20px 0 0; }
.bb-prose { max-width: 820px; margin: 0 auto; padding: 20px 32px 100px; color: var(--bb-muted); font-size: 1.0625rem; line-height: 1.75; }
.bb-prose h2, .bb-prose h3, .bb-prose h4 { color: #fff; margin-top: 2em; }
.bb-prose a { color: var(--bb-cyan-soft); }
.bb-prose img { border-radius: 16px; }
.bb-posts { max-width: var(--bb-wide); margin: 0 auto; padding: 20px 32px 100px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 18px; }
.bb-post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--bb-text); padding: 0 !important; overflow: hidden; }
.bb-post-card:hover { color: var(--bb-text); transform: translateY(-6px); border-color: rgba(158, 246, 255, .55); }
.bb-post-card__img { aspect-ratio: 16 / 9; background: linear-gradient(120deg, rgba(94, 240, 255, .25), rgba(180, 140, 255, .25)); }
.bb-post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bb-post-card__body { padding: 24px 28px 30px; }
.bb-post-card__meta { font: 12px var(--bb-font-mono); color: var(--bb-dim); letter-spacing: .08em; text-transform: uppercase; }
.bb-post-card h2 { font-size: 1.35rem; margin: 10px 0; }
.bb-post-card p { color: var(--bb-muted); margin: 0; font-size: .95rem; }
.bb-pagination { max-width: var(--bb-wide); margin: 0 auto; padding: 0 32px 100px; display: flex; gap: 10px; justify-content: center; }
.bb-pagination .page-numbers { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--bb-line); color: var(--bb-text); text-decoration: none; }
.bb-pagination .current { background: rgba(255, 255, 255, .1); }

/* ---------- Footer ---------- */
.bb-footer { position: relative; z-index: 1; border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 40px; }
.bb-footer__grid { max-width: var(--bb-wide); margin: 0 auto; padding: 60px 32px 30px; display: grid; grid-template-columns: 1.3fr repeat(6, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1200px) { .bb-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.bb-footer h2 { font-size: 15px; letter-spacing: 0; margin: 0 0 12px; }
.bb-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.bb-footer a { color: #a9a3d8; text-decoration: none; }
.bb-footer a:hover { color: #fff; }
.bb-footer__about p { color: #a9a3d8; font-size: 14px; max-width: 300px; }
.bb-footer__bottom { max-width: var(--bb-wide); margin: 0 auto; padding: 22px 32px 30px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--bb-dim); }
.bb-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 20px; }
@media (max-width: 960px) { .bb-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bb-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobile tuning ---------- */
@media (max-width: 782px) {
  .admin-bar .bb-header { top: 46px; }
  .bb-main > .bb-section { padding-top: 48px; padding-bottom: 48px; }
  .bb-visual { min-height: 360px; }
  .bb-glows span { filter: blur(90px); }
  .bb-hero--center { min-height: 620px; }
  .bb-tags { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
