/*
Theme Name: BeastFactory Solid
Theme URI: https://beastfactory.dk/
Author: Codex
Author URI: https://openai.com/
Description: A clean, fast, Gutenberg-first WordPress theme for BeastFactory personal training, nutrition, medical weight-loss support, sport therapy, and tools. Built for direct page editing, setup wizard, simple navigation, and conversion-focused service pages.
Version: 2.9.164
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: beastfactory-solid
Tags: custom-logo, custom-menu, editor-style, block-patterns, wide-blocks
*/

:root {
  --bf-orange: #f37021;
  --bf-orange-dark: #c84f0f;
  --bf-black: #111111;
  --bf-ink: #232323;
  --bf-muted: #666666;
  --bf-border: #e8e2dc;
  --bf-soft: #f7f5f2;
  --bf-white: #ffffff;
  --bf-max: 1160px;
  --bf-radius: 8px;
  --bf-shadow: 0 18px 45px rgba(17, 17, 17, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bf-white);
  color: var(--bf-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--bf-black);
  text-decoration-color: rgba(243, 112, 33, 0.5);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--bf-orange-dark);
}

h1,
h2,
h3,
h4 {
  color: var(--bf-black);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 0.65em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
  margin: 0 0 1.1em;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--bf-border);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(calc(100% - 32px), var(--bf-max));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 24px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--bf-black);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.site-branding__mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--bf-black);
  color: var(--bf-orange);
  border-radius: var(--bf-radius);
  font-weight: 900;
}

.custom-logo-link {
  display: inline-flex;
}

.custom-logo {
  display: block;
  width: auto;
  max-width: 220px;
  max-height: 54px;
}

.main-navigation {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--bf-border);
  background: var(--bf-white);
  border-radius: var(--bf-radius);
  color: var(--bf-black);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.menu-toggle span::before {
  transform: translateY(-7px);
}

.menu-toggle span::after {
  transform: translateY(5px);
}

.primary-menu,
.primary-menu ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-menu li {
  position: relative;
}

.primary-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 11px;
  color: var(--bf-black);
  font-size: 0.95rem;
  font-weight: 750;
  text-decoration: none;
  border-radius: var(--bf-radius);
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a {
  background: var(--bf-soft);
  color: var(--bf-orange-dark);
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: block;
  min-width: 250px;
  padding: 8px;
  background: var(--bf-white);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-menu .sub-menu .sub-menu {
  top: 0;
  left: calc(100% + 8px);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-menu .sub-menu a {
  width: 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  min-height: auto;
}

.header-cta,
.wp-block-button__link,
.bf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  background: var(--bf-orange);
  color: var(--bf-black);
  border: 0;
  border-radius: var(--bf-radius);
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover,
.wp-block-button__link:hover,
.bf-button:hover {
  background: #ff812f;
  color: var(--bf-black);
  box-shadow: 0 12px 22px rgba(243, 112, 33, 0.22);
  transform: translateY(-1px);
}

.site-main {
  min-height: 60vh;
}

.entry-content > * {
  width: min(calc(100% - 32px), var(--bf-max));
  margin-left: auto;
  margin-right: auto;
}

.entry-content > .alignwide {
  width: min(calc(100% - 32px), 1320px);
}

.entry-content > .alignfull {
  width: 100%;
  max-width: none;
}

.wp-site-blocks,
.entry-content {
  overflow-x: clip;
}

.bf-section {
  padding: clamp(54px, 7vw, 96px) 0;
}

.bf-section--soft {
  background: var(--bf-soft);
}

.bf-hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 7vw, 86px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f5f2 100%);
}

.bf-hero .wp-block-columns {
  align-items: center !important;
  gap: clamp(28px, 5vw, 72px);
}

.bf-eyebrow {
  color: var(--bf-orange-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bf-lead {
  color: var(--bf-muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.bf-hero-card,
.bf-info-card,
.bf-tool-card {
  background: var(--bf-white);
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow);
}

.bf-hero-card {
  padding: clamp(22px, 3vw, 34px);
}

.bf-hero-image {
  margin: 0 0 22px;
}

.bf-hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--bf-radius);
}

.bf-media-split {
  align-items: center !important;
  gap: clamp(24px, 4vw, 56px);
}

.bf-media-split.bf-holdtraening-split {
  align-items: stretch !important;
}

.bf-holdtraening-split > .wp-block-column {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bf-holdtraening-b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.bf-holdtraening-b2b-actions .bf-btn {
  min-width: 0;
  text-align: center;
  white-space: normal;
}

.bf-image-card {
  margin: 0;
}

.bf-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--bf-radius);
  box-shadow: var(--bf-shadow);
}

.bf-image-card--cinematic img {
  filter: contrast(0.92) saturate(0.88) brightness(0.92) sepia(0.04);
  transition: filter 180ms ease, transform 180ms ease;
}

.bf-image-card--cinematic img:hover {
  filter: contrast(0.96) saturate(0.94) brightness(0.96) sepia(0.02);
  transform: translateY(-2px);
}

.bf-image-card figcaption {
  margin-top: 10px;
  color: var(--bf-muted);
  font-size: 0.94rem;
}

.bf-training-gallery .bf-image-card img {
  aspect-ratio: 1 / 1;
}

.bf-background-showcase.alignfull,
.bf-trust-block.alignfull {
  width: min(1520px, calc(100% - 40px));
  max-width: none;
  margin-right: auto;
  margin-left: auto;
}

.bf-background-showcase {
  padding: 34px 0 72px;
}

.bf-image-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: 14px;
  background-color: #0b0d0f;
  box-shadow: 0 24px 80px rgba(21, 16, 10, 0.22);
  isolation: isolate;
}

.bf-image-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/wp-content/themes/beastfactory-solid/assets/images/personlig-traening-gergo-coaching-client-dumbbell-cinematic.webp");
  background-size: cover;
  background-position: center right;
}

.bf-image-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 101, 52, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.99) 0%, rgba(8, 10, 12, 0.93) 38%, rgba(8, 10, 12, 0.66) 68%, rgba(8, 10, 12, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.bf-image-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  min-height: inherit;
  width: min(760px, 100%);
  padding: 86px;
  color: #fffaf0;
}

.bf-image-hero .bf-eyebrow,
.bf-bg-card .bf-eyebrow,
.bf-trust-block .bf-eyebrow {
  color: #f0b052;
}

.bf-image-hero h2 {
  max-width: 720px;
  margin: 0 0 24px;
  color: #fffaf0;
  font-size: 5.8rem;
  line-height: 0.9;
  letter-spacing: 0;
}

.bf-image-hero__lead {
  max-width: 690px;
  margin: 0 0 34px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 1.35rem;
  line-height: 1.55;
}

.bf-background-showcase .bf-actions,
.bf-trust-block .bf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 44px;
}

.bf-background-showcase .bf-btn,
.bf-trust-block .bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fffaf0;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.bf-background-showcase .bf-btn--primary,
.bf-trust-block .bf-btn--primary {
  border-color: transparent;
  color: #160d07;
  background: var(--bf-brand, var(--bf-orange, #ff6534));
}

.bf-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(760px, 100%);
}

.bf-proof {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.bf-proof strong {
  display: block;
  margin-bottom: 6px;
  color: #f5bd61;
  font-size: 1.65rem;
  line-height: 1;
}

.bf-proof span {
  color: rgba(255, 250, 240, 0.82);
  font-size: 0.94rem;
  line-height: 1.45;
}

.bf-bg-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
}

.bf-bg-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: 14px;
  color: #fffaf0;
  background-color: #0b0d0f;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 60px rgba(21, 16, 10, 0.18);
  isolation: isolate;
}

.bf-bg-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.36) 0%, rgba(8, 10, 12, 0.8) 62%, rgba(8, 10, 12, 0.98) 100%);
}

.bf-bg-cards .bf-bg-card:nth-child(1) {
  background-image:
    linear-gradient(180deg, rgba(9, 11, 13, 0.16) 0%, rgba(9, 11, 13, 0.78) 64%, rgba(9, 11, 13, 0.96) 100%),
    url("/wp-content/themes/beastfactory-solid/assets/images/personlig-traening-teknik-coaching-dumbbell-gergo-cinematic.webp");
}

.bf-bg-cards .bf-bg-card:nth-child(2) {
  background-image:
    linear-gradient(180deg, rgba(9, 11, 13, 0.16) 0%, rgba(9, 11, 13, 0.78) 64%, rgba(9, 11, 13, 0.96) 100%),
    url("/wp-content/themes/beastfactory-solid/assets/images/funktionel-fitness-hyrox-crossfit-inspireret-gergo-cinematic.webp");
}

.bf-bg-cards .bf-bg-card:nth-child(3) {
  background-image:
    linear-gradient(180deg, rgba(9, 11, 13, 0.16) 0%, rgba(9, 11, 13, 0.78) 64%, rgba(9, 11, 13, 0.96) 100%),
    url("/wp-content/themes/beastfactory-solid/assets/images/personlig-traening-kost-planlaegning-app-gergo-cinematic.webp");
}

.bf-bg-cards .bf-bg-card:nth-child(4) {
  background-image:
    linear-gradient(180deg, rgba(9, 11, 13, 0.16) 0%, rgba(9, 11, 13, 0.78) 64%, rgba(9, 11, 13, 0.96) 100%),
    url("/wp-content/themes/beastfactory-solid/assets/images/personlig-traening-sportsterapi-gergo-behandling-cinematic.webp");
}

.bf-bg-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: 26px;
}

.bf-bg-card h3 {
  margin: 0 0 10px;
  color: #fffaf0;
  font-size: 2.25rem;
  line-height: 0.98;
  overflow-wrap: anywhere;
}

.bf-bg-card p:not(.bf-eyebrow) {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 1rem;
  line-height: 1.5;
}

.bf-trust-block {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 14px;
  color: #fffaf0;
  background-color: #0b0d0f;
  background-image: none !important;
  background-size: cover;
  background-position: center left;
  box-shadow: 0 24px 80px rgba(21, 16, 10, 0.18);
  isolation: isolate;
}

.bf-trust-block::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    url("/wp-content/themes/beastfactory-solid/assets/images/gergo-sara-personlig-traening-egen-traeningsrejse-vaerftet.png");
  background-size: cover;
  background-position: center left;
}

.bf-trust-block::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 11, 13, 0.97) 0%, rgba(9, 11, 13, 0.72) 42%, rgba(9, 11, 13, 0.24) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.46) 100%);
}

.bf-trust-block__content {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  margin-right: auto;
  margin-left: 0;
  padding: 84px;
}

.bf-trust-block h2 {
  margin: 0 0 24px;
  color: #fffaf0;
  font-size: 4.4rem;
  line-height: 0.94;
}

.bf-trust-block p {
  color: rgba(255, 250, 240, 0.82);
  font-size: 1.15rem;
  line-height: 1.55;
}

.bf-trust-block a:not(.bf-btn) {
  color: #f5bd61;
}

@media (max-width: 1100px) {
  .bf-bg-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bf-image-hero h2 {
    font-size: 4.2rem;
  }

  .bf-trust-block h2 {
    font-size: 3.4rem;
  }
}

@media (max-width: 700px) {
  .bf-background-showcase.alignfull,
  .bf-trust-block.alignfull {
    width: calc(100% - 24px);
  }

  .bf-background-showcase {
    padding: 18px 0 48px;
  }

  .bf-image-hero {
    min-height: 680px;
  }

  .bf-image-hero::before {
    background-position: center;
  }

  .bf-image-hero::after {
    background:
      radial-gradient(circle at 28% 26%, rgba(255, 101, 52, 0.16), transparent 32%),
      linear-gradient(180deg, rgba(8, 10, 12, 0.88) 0%, rgba(8, 10, 12, 0.72) 44%, rgba(8, 10, 12, 0.97) 100%);
  }

  .bf-image-hero__inner {
    align-content: end;
    padding: 32px 22px;
  }

  .bf-image-hero h2 {
    font-size: 3rem;
  }

  .bf-image-hero__lead {
    font-size: 1.05rem;
  }

  .bf-proof-grid,
  .bf-bg-cards {
    grid-template-columns: 1fr;
  }

  .bf-bg-card {
    min-height: 320px;
  }

  .bf-bg-card h3 {
    font-size: 2rem;
  }

  .bf-trust-block {
    min-height: 680px;
  }

  .bf-trust-block::before {
    background-position: center;
  }

  .bf-trust-block::after {
    background:
      linear-gradient(180deg, rgba(9, 11, 13, 0.26) 0%, rgba(9, 11, 13, 0.76) 42%, rgba(9, 11, 13, 0.98) 100%);
  }

  .bf-trust-block__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: inherit;
    padding: 32px 22px;
  }

  .bf-trust-block h2 {
    font-size: 2.7rem;
  }

  .bf-trust-block p {
    font-size: 1rem;
  }
}

/* Background image block readability refinements. */
.bf-image-hero,
.bf-bg-card,
.bf-trust-block {
  background-color: #090a0a;
}

.bf-image-hero::after {
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 101, 52, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.99) 0%, rgba(8, 10, 12, 0.94) 42%, rgba(8, 10, 12, 0.72) 66%, rgba(8, 10, 12, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.62) 100%);
}

.bf-bg-card::before {
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.5) 0%, rgba(8, 10, 12, 0.82) 48%, rgba(8, 10, 12, 0.98) 100%);
}

.bf-background-showcase h2,
.bf-image-hero h2,
.bf-bg-card h3,
.bf-trust-block h2 {
  color: #fffaf0 !important;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.78);
}

.bf-image-hero__lead,
.bf-bg-card p:not(.bf-eyebrow),
.bf-trust-block p {
  color: rgba(255, 250, 240, 0.92);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
}

.bf-proof-grid {
  align-items: stretch;
}

.bf-proof {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
  min-width: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(16, 18, 20, 0.78), rgba(16, 18, 20, 0.55));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.bf-proof strong,
.bf-hero-stats strong,
.bf-hero-stats strong * {
  display: inline !important;
  white-space: nowrap;
}

.bf-proof strong {
  color: #ffb64a;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}

.bf-proof span {
  max-width: 18ch;
  color: rgba(255, 250, 240, 0.88);
  overflow-wrap: normal;
  word-break: normal;
}

.bf-hero-stats span,
.bf-hero-stats span * {
  display: inline !important;
  background: transparent !important;
}

.bf-trust-block::before {
  background-position: center center;
}

.bf-trust-block::after {
  background:
    linear-gradient(90deg, rgba(9, 11, 13, 0.94) 0%, rgba(9, 11, 13, 0.8) 36%, rgba(9, 11, 13, 0.28) 62%, rgba(9, 11, 13, 0.72) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.52) 100%);
}

.bf-trust-block__content {
  max-width: 560px;
  margin-right: auto;
  margin-left: 0;
}

@media (max-width: 700px) {
  .bf-proof {
    min-height: auto;
  }

  .bf-proof span {
    max-width: none;
  }

  .bf-trust-block::before {
    background-position: center;
  }

  .bf-trust-block::after {
    background:
      linear-gradient(180deg, rgba(9, 11, 13, 0.18) 0%, rgba(9, 11, 13, 0.72) 48%, rgba(9, 11, 13, 0.98) 100%);
  }
}

.bf-app-preview {
  background: linear-gradient(145deg, #171713 0%, #2b2924 100%);
  color: #fff;
  margin-top: 18px;
}

.bf-app-preview h3,
.bf-app-preview p {
  color: #fff;
}

.bf-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.bf-stat {
  padding: 16px;
  background: var(--bf-soft);
  border-radius: var(--bf-radius);
}

.bf-stat strong {
  display: block;
  color: var(--bf-black);
  font-size: 1.35rem;
  line-height: 1;
}

.bf-stat span {
  display: block;
  color: var(--bf-muted);
  font-size: 0.86rem;
  margin-top: 6px;
}

.bf-grid-4,
.bf-grid-3,
.bf-grid-2 {
  display: grid;
  gap: 18px;
}

.bf-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bf-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bf-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bf-info-card {
  padding: clamp(22px, 3vw, 30px);
}

.bf-grid-compact.wp-block-columns,
.page-id-864 .entry-content > .bf-section:nth-child(2) .wp-block-columns {
  align-items: stretch !important;
}

.bf-grid-compact .wp-block-column,
.page-id-864 .entry-content > .bf-section:nth-child(2) .wp-block-column {
  display: flex;
  align-self: stretch !important;
  min-height: 0 !important;
  height: auto !important;
}

.bf-grid-compact .bf-info-card,
.page-id-864 .entry-content > .bf-section:nth-child(2) .bf-info-card {
  min-height: 0 !important;
  height: 100% !important;
  padding: clamp(20px, 2vw, 26px);
  width: 100%;
}

.bf-grid-compact .bf-info-card h3,
.page-id-864 .entry-content > .bf-section:nth-child(2) .bf-info-card h3 {
  margin: 0 0 clamp(18px, 2.2vw, 30px);
}

.bf-grid-compact .bf-info-card p,
.page-id-864 .entry-content > .bf-section:nth-child(2) .bf-info-card p {
  margin: 0;
}

.bf-info-card h3 {
  margin-bottom: 0.45em;
}

.bf-info-card p:last-child {
  margin-bottom: 0;
}

.entry-content .wp-block-columns.bf-grid-4 {
  align-items: stretch !important;
  display: grid !important;
  gap: clamp(16px, 1.8vw, 24px) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: clamp(20px, 3vw, 34px);
  max-width: min(calc(100% - 32px), var(--bf-max)) !important;
  width: 100% !important;
}

.entry-content .wp-block-columns.bf-grid-4 > .wp-block-column {
  display: flex !important;
  flex: none !important;
  flex-basis: auto !important;
  margin-left: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  width: auto !important;
}

.entry-content .wp-block-columns.bf-grid-4 .bf-info-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100% !important;
  min-height: clamp(190px, 16vw, 230px) !important;
  padding: clamp(18px, 1.8vw, 24px);
  width: 100%;
}

.entry-content .wp-block-columns.bf-grid-4 .bf-info-card h3 {
  font-size: clamp(1.15rem, 1.25vw, 1.35rem);
  margin: 0;
}

.entry-content .wp-block-columns.bf-grid-4 .bf-info-card p {
  font-size: clamp(0.96rem, 1vw, 1.05rem);
  line-height: 1.45;
  margin: 0;
}

.entry-content .wp-block-columns.bf-grid-4 .wp-block-buttons {
  margin-top: auto;
  padding-top: 8px;
}

.entry-content .wp-block-columns.bf-grid-4 .wp-block-button__link {
  padding: 12px 18px;
  white-space: normal;
}

@media (max-width: 1080px) {
  .entry-content .wp-block-columns.bf-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .entry-content .wp-block-columns.bf-grid-4 {
    grid-template-columns: 1fr !important;
  }

  .entry-content .wp-block-columns.bf-grid-4 .bf-info-card {
    min-height: 0 !important;
  }
}

.bf-card-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.bf-card-link:hover {
  color: inherit;
  transform: translateY(-2px);
}

.bf-cta-band {
  padding: clamp(42px, 6vw, 72px) 0;
  background: var(--bf-black);
  color: var(--bf-white);
}

.bf-cta-band h2,
.bf-cta-band p {
  color: var(--bf-white);
}

.bf-cta-band .wp-block-button__link {
  background: var(--bf-orange);
}

.bf-list {
  padding-left: 1.1em;
}

.bf-list li {
  margin: 0 0 0.55em;
}

.bf-tools {
  width: min(calc(100% - 32px), var(--bf-max));
  margin: 0 auto;
  padding: clamp(28px, 4vw, 44px) 0 clamp(70px, 8vw, 110px);
}

.bf-tools--single .bf-tool-grid {
  grid-template-columns: minmax(0, 760px);
}

.bf-tool-section {
  margin-bottom: clamp(34px, 5vw, 60px);
}

.bf-tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bf-tool-card {
  padding: clamp(20px, 3vw, 28px);
}

.bf-field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.bf-field-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.bf-field label {
  color: var(--bf-black);
  font-size: 0.92rem;
  font-weight: 800;
}

.bf-field input,
.bf-field select,
.bf-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  background: var(--bf-white);
  color: var(--bf-black);
  font: inherit;
}

.bf-result {
  margin-top: 16px;
  padding: 16px;
  background: var(--bf-soft);
  border-left: 4px solid var(--bf-orange);
  border-radius: var(--bf-radius);
  color: var(--bf-black);
  font-weight: 750;
}

.bf-field--checkbox label {
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--bf-border);
  border-radius: var(--bf-radius);
  background: var(--bf-white);
}

.bf-field--checkbox input {
  width: auto;
  min-height: 0;
}

.bf-result--workout {
  padding: 0;
  overflow: hidden;
  background: #10151b;
  border-left-color: var(--bf-orange);
  color: var(--bf-white);
}

.bf-workout-plan {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
}

.bf-workout-plan__head span,
.bf-workout-plan__notes strong {
  color: var(--bf-orange);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bf-workout-plan__head h3 {
  margin: 6px 0 8px;
  color: var(--bf-white);
  font-size: clamp(1.45rem, 3vw, 2.4rem);
  line-height: 1;
}

.bf-workout-plan__head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.bf-workout-plan__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bf-workout-plan__chips span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 111, 61, 0.14);
  color: var(--bf-white);
  font-size: 0.85rem;
  font-weight: 900;
}

.bf-workout-plan__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bf-workout-plan section,
.bf-workout-plan__notes {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.bf-workout-plan h4 {
  margin: 0 0 10px;
  color: var(--bf-white);
}

.bf-workout-plan ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.bf-workout-plan li {
  overflow-wrap: anywhere;
}

.bf-faq details {
  padding: 20px 0;
  border-bottom: 1px solid var(--bf-border);
}

.bf-faq summary {
  color: var(--bf-black);
  font-weight: 850;
  cursor: pointer;
}

.bf-footer-experience {
  overflow: hidden;
  padding: 56px 0 0;
  background: var(--bf-black);
  color: var(--bf-white);
}

.bf-footer-experience__inner {
  width: min(calc(100% - 32px), var(--bf-max));
  margin: 0 auto;
  padding-bottom: 30px;
}

.bf-footer-experience__intro {
  max-width: 780px;
  margin: 0 auto 24px;
  text-align: center;
}

.bf-footer-experience__kicker {
  margin: 0 0 8px;
  color: var(--bf-orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bf-footer-experience__intro h2 {
  margin: 0 0 12px;
  color: var(--bf-white);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.bf-footer-experience__intro p {
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.bf-footer-experience__marquee {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.26);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.bf-footer-experience__track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 18px;
  animation: bf-footer-experience-marquee 38s linear infinite;
  will-change: transform;
}

.bf-footer-experience__marquee:hover .bf-footer-experience__track {
  animation-play-state: paused;
}

.bf-footer-experience__item {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 86px;
  padding: 14px 18px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background: var(--bf-white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.bf-footer-experience__item img {
  display: block;
  max-width: 100%;
  max-height: 56px;
  object-fit: contain;
}

@keyframes bf-footer-experience-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bf-footer-experience__marquee {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .bf-footer-experience__track {
    width: auto;
    flex-wrap: wrap;
    justify-content: center;
    animation: none;
  }

  .bf-footer-experience__item[aria-hidden="true"] {
    display: none;
  }
}

@media (max-width: 720px) {
  .bf-footer-experience {
    padding-top: 42px;
  }

  .bf-footer-experience__inner {
    width: min(calc(100% - 24px), var(--bf-max));
    padding-bottom: 22px;
  }

  .bf-footer-experience__marquee {
    border-radius: 18px;
  }

  .bf-footer-experience__track {
    gap: 12px;
    padding: 14px;
    animation-duration: 30s;
  }

  .bf-footer-experience__item {
    width: 132px;
    height: 76px;
    padding: 12px 14px;
  }

  .bf-footer-experience__item img {
    max-height: 48px;
  }
}

.site-footer {
  padding: 48px 0;
  background: var(--bf-black);
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a,
.site-footer h2,
.site-footer h3 {
  color: var(--bf-white);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}

.site-footer p {
  margin-bottom: 0.7em;
}

.footer-title {
  margin-bottom: 0.45em;
  color: var(--bf-white);
  font-size: 1rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  line-height: 0;
}

.footer-social__link {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bf-white);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social__link:hover {
  border-color: var(--bf-orange);
  background: var(--bf-orange);
  color: var(--bf-black);
  transform: translateY(-1px);
}

.footer-social__icon,
.footer-social__icon svg {
  display: block;
  width: 20px;
  height: 20px;
  line-height: 1;
}

.footer-social__icon svg {
  fill: currentColor;
}

.bf-footer-directory-links {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4em;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.bf-footer-directory-links a {
  color: var(--bf-white);
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.28);
  text-underline-offset: 3px;
}

.bf-footer-directory-links a:hover {
  color: var(--bf-orange);
  text-decoration-color: currentColor;
}

.site-footer--editable .site-footer__inner {
  display: block;
}

.site-footer--editable .site-footer__editable-content > * {
  width: 100%;
  max-width: none;
}

.site-footer--editable .wp-block-columns {
  gap: 28px;
  margin-bottom: 0;
}

.site-footer--editable .wp-block-column > *:last-child,
.site-footer--editable .wp-block-group > *:last-child {
  margin-bottom: 0;
}

.site-footer--editable .wp-block-button__link {
  color: var(--bf-button-text, #201407);
  text-decoration: none;
}

.site-footer--editable .bf-editable-footer__socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 16px;
  line-height: 0;
}

.site-footer--editable .bf-editable-footer__socials p {
  margin: 0;
}

.site-footer--editable .bf-editable-footer__socials a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--bf-white);
  text-decoration: none;
  font-weight: 850;
}

.site-footer--editable .bf-editable-footer__socials a:hover {
  border-color: var(--bf-orange);
  background: var(--bf-orange);
  color: var(--bf-black);
}

.site-footer--editable .bf-editable-footer__socials.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-footer--editable .bf-editable-footer__socials a.footer-social__link {
  display: inline-flex;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 1;
}

.site-footer--editable .bf-editable-footer__socials a.footer-social__link:hover {
  transform: translateY(-1px);
}

.site-footer--editable .bf-editable-footer__socials .footer-social__icon,
.site-footer--editable .bf-editable-footer__socials .footer-social__icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.site-footer--editable .bf-editable-footer__socials .footer-social__icon svg {
  fill: currentColor;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--bf-orange);
  color: var(--bf-black);
}

@media (max-width: 1180px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .main-navigation {
    order: 3;
  }

  .primary-menu {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    padding: 10px 16px 18px;
    background: var(--bf-white);
    border-bottom: 1px solid var(--bf-border);
  }

  .primary-menu.is-open {
    display: flex;
  }

  .primary-menu a {
    width: 100%;
  }

  .primary-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin-left: 12px;
    padding: 2px 0 8px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-menu .sub-menu .sub-menu {
    left: auto;
  }

  .header-cta {
    display: none;
  }

  .bf-grid-4,
  .bf-grid-3,
  .bf-grid-2,
  .bf-tool-grid,
  .bf-field-row,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer--editable .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .site-header__inner {
    min-height: 72px;
    gap: 8px;
    flex-wrap: nowrap;
    width: min(calc(100% - 20px), var(--bf-max));
  }

  .site-branding {
    flex: 1 1 auto;
    min-width: 0;
  }

  .main-navigation {
    flex: 0 0 auto;
    min-width: 44px;
  }

  .menu-toggle {
    flex: 0 0 44px;
  }

  .primary-menu {
    top: 72px;
  }

  .site-branding__text {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bf-stat-grid {
    grid-template-columns: 1fr;
  }

  .wp-block-buttons {
    gap: 10px;
  }

  .wp-block-button,
  .wp-block-button__link {
    width: 100%;
  }

  .bf-workout-plan__grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 380px) {
  .header-client-menu__mobile-link span:not(.header-client-menu__avatar) {
    display: none;
  }
}

/* Homepage background blocks: final readability and card alignment pass. */
body.home .entry-content > .bf-hero.alignfull {
  color: #fffaf0;
}

body.home .entry-content > .bf-hero.alignfull::after {
  background:
    radial-gradient(circle at 16% 24%, rgba(243, 112, 33, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(7, 8, 8, 0.98) 0%, rgba(7, 8, 8, 0.88) 42%, rgba(7, 8, 8, 0.62) 72%, rgba(7, 8, 8, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 8, 8, 0.1) 0%, rgba(7, 8, 8, 0.74) 100%);
}

body.home .entry-content > .bf-hero.alignfull h1,
body.home .entry-content .bf-image-hero h2,
body.home .entry-content .bf-background-showcase h2,
body.home .entry-content .bf-trust-block h2 {
  color: #fffaf0 !important;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.92);
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-card {
  background: linear-gradient(145deg, rgba(10, 10, 9, 0.86), rgba(10, 10, 9, 0.54)) !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-stat-grid {
  align-items: stretch;
  gap: clamp(10px, 1.2vw, 16px);
}

body.home .entry-content > .bf-hero.alignfull .bf-stat {
  display: flex !important;
  align-items: center !important;
  min-width: 0;
  min-height: 132px;
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.9), rgba(20, 20, 18, 0.68)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px;
  width: 100%;
  min-width: 0;
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats strong,
body.home .entry-content > .bf-hero.alignfull .bf-hero-stats strong * {
  display: inline-block !important;
  white-space: nowrap !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats span {
  display: block !important;
  color: rgba(255, 250, 240, 0.9) !important;
  background: transparent !important;
  line-height: 1.38;
  overflow-wrap: normal;
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats span * {
  display: inline !important;
  background: transparent !important;
}

body.home .entry-content .bf-bg-cards {
  align-items: stretch;
}

body.home .entry-content .bf-bg-card {
  display: flex;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background-color: #0b0d0f !important;
}

body.home .entry-content .bf-bg-card::before {
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.34) 0%, rgba(8, 10, 12, 0.78) 52%, rgba(8, 10, 12, 0.98) 100%) !important;
}

body.home .entry-content .bf-bg-card__content {
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 680px) {
  body.home .entry-content > .bf-hero.alignfull .bf-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  body.home .entry-content > .bf-hero.alignfull .bf-stat {
    min-height: 118px;
    padding: 12px;
  }

  body.home .entry-content > .bf-hero.alignfull .bf-hero-stats strong {
    font-size: clamp(1.35rem, 7vw, 2rem);
  }

  body.home .entry-content > .bf-hero.alignfull .bf-hero-stats span {
    font-size: 0.78rem;
  }
}

@media (max-width: 430px) {
  body.home .entry-content > .bf-hero.alignfull .bf-stat-grid {
    grid-template-columns: 1fr;
  }

  body.home .entry-content > .bf-hero.alignfull .bf-stat {
    min-height: 0;
  }
}

/* Homepage background-image blocks: final cascade guard for readability. */
body.home .entry-content > .bf-hero.alignfull {
  color: #fffaf0;
}

body.home .entry-content > .bf-hero.alignfull::after {
  background:
    radial-gradient(circle at 16% 24%, rgba(243, 112, 33, 0.2), transparent 30%),
    linear-gradient(90deg, rgba(7, 8, 8, 0.98) 0%, rgba(7, 8, 8, 0.88) 42%, rgba(7, 8, 8, 0.62) 72%, rgba(7, 8, 8, 0.38) 100%),
    linear-gradient(180deg, rgba(7, 8, 8, 0.12) 0%, rgba(7, 8, 8, 0.74) 100%) !important;
}

body.home .entry-content > .bf-hero.alignfull h1,
body.home .entry-content > .bf-hero.alignfull h2,
body.home .entry-content .bf-image-hero h2,
body.home .entry-content .bf-background-showcase h2,
body.home .entry-content .bf-trust-block h2 {
  color: #fffaf0 !important;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.92) !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-card {
  background: linear-gradient(145deg, rgba(10, 10, 9, 0.9), rgba(10, 10, 9, 0.58)) !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-stat-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch !important;
  gap: clamp(10px, 1.2vw, 16px) !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-stat {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  min-height: 132px;
  padding: 18px 20px;
  border-color: rgba(255, 255, 255, 0.18) !important;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0.9), rgba(20, 20, 18, 0.68)) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats strong,
body.home .entry-content > .bf-hero.alignfull .bf-hero-stats strong * {
  display: inline-block !important;
  white-space: nowrap !important;
  color: #f6b553 !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats span {
  display: block !important;
  color: rgba(255, 250, 240, 0.9) !important;
  background: transparent !important;
  line-height: 1.38 !important;
  overflow-wrap: normal !important;
}

body.home .entry-content > .bf-hero.alignfull .bf-hero-stats span * {
  display: inline !important;
  background: transparent !important;
}

body.home .entry-content .bf-bg-cards {
  align-items: stretch !important;
}

body.home .entry-content .bf-bg-card {
  display: flex !important;
  min-width: 0 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background-color: #0b0d0f !important;
}

body.home .entry-content .bf-bg-card::before {
  background:
    linear-gradient(180deg, rgba(8, 10, 12, 0.34) 0%, rgba(8, 10, 12, 0.78) 52%, rgba(8, 10, 12, 0.98) 100%) !important;
}

body.home .entry-content .bf-bg-card__content {
  justify-content: flex-end !important;
  width: 100% !important;
}

/* Homepage origin story: keep the copy on one clean reading axis. */
body.home .entry-content > .bf-hero.alignfull:nth-child(4) {
  justify-items: center;
  text-align: left;
}

body.home .entry-content > .bf-hero.alignfull:nth-child(4) h2 {
  width: min(820px, 100%);
  margin-inline: auto;
  text-align: center;
}

body.home .entry-content > .bf-hero.alignfull:nth-child(4) p,
body.home .entry-content > .bf-hero.alignfull:nth-child(4) .bf-lead {
  width: min(760px, 100%);
  max-width: 760px !important;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

body.home .entry-content > .bf-hero.alignfull:nth-child(4) p:not(:last-of-type) {
  margin-bottom: 1.05rem;
}

body.home .entry-content > .bf-hero.alignfull:nth-child(4) .wp-block-buttons {
  width: min(760px, 100%);
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

@media (max-width: 680px) {
  body.home .entry-content > .bf-hero.alignfull:nth-child(4) h2,
  body.home .entry-content > .bf-hero.alignfull:nth-child(4) p,
  body.home .entry-content > .bf-hero.alignfull:nth-child(4) .bf-lead {
    width: 100%;
  }
}

