/**
 * Theme Name:   Blocksy Child
 * Description:  FixEBikeCode – E-Bike Error Code Diagnostic Platform
 * Template:     blocksy
 * Text Domain:  blocksy
 * Version:      7.0.0
 */

/* ============================================================
   0. CSS VARIABLES
   ============================================================ */
:root {
  --c-primary:      #28B5C7;
  --c-primary-dk:   #1A8A99;
  --c-primary-lt:   #EBF9FB;
  --c-accent:       #F05F22;
  --c-accent-dk:    #D44E16;
  --c-dark:         #0D1B2A;
  --c-dark-2:       #1A2E40;
  --c-dark-3:       #2D4356;
  --c-text:         #1E3040;
  --c-text-muted:   #5C7080;
  --c-border:       #C8E8EE;
  --c-bg:           #F6FAFB;
  --c-bg-alt:       #EAF3F5;
  --c-white:        #FFFFFF;
  --c-warn-bg:      #FFFBEB;
  --c-warn:         #92400E;
  --c-warn-border:  #F59E0B;
  --c-success:      #065F46;
  --c-success-bg:   #ECFDF5;

  /* Blocksy palette overrides */
  --theme-palette-color-1: #28B5C7;
  --theme-palette-color-2: #1A8A99;
  --theme-palette-color-3: #F05F22;
  --theme-palette-color-4: #0D1B2A;
  --theme-palette-color-5: #5C7080;
  --theme-palette-color-6: #C8E8EE;
  --theme-palette-color-7: #F6FAFB;
  --theme-palette-color-8: #FFFFFF;

  --font:      'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

  --r-sm:  6px;
  --r-md:  10px;
  --r-lg:  16px;
  --r-xl:  24px;

  --sh-sm: 0 1px 3px rgba(13,27,42,.07);
  --sh-md: 0 4px 16px rgba(13,27,42,.10);
  --sh-lg: 0 8px 32px rgba(13,27,42,.13);
  --sh-primary: 0 4px 20px rgba(40,181,199,.28);

  --container:    1200px;
  --container-sm: 860px;
  --container-xs: 640px;
}

/* ============================================================
   1. BASE RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-dk); }

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

/* ============================================================
   2. LAYOUT UTILITIES
   ============================================================ */
.febc-container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.febc-container--sm {
  max-width: var(--container-sm);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.febc-sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   3. BLOCKSY HEADER OVERRIDES
   ============================================================ */
.ct-header,
[data-row="main"],
.header-row-wrapper {
  background: var(--c-dark) !important;
  border-bottom: 2px solid var(--c-primary) !important;
}
.ct-header a,
.ct-menu > .menu-item > a,
.header-links-wrapper a {
  color: var(--c-white) !important;
  font-weight: 500;
}
.ct-menu > .menu-item > a:hover,
.ct-menu > .menu-item.current-menu-item > a {
  color: var(--c-primary) !important;
}
.ct-site-title {
  color: var(--c-primary) !important;
  font-weight: 800 !important;
  letter-spacing: -.02em;
}
.search-form input,
[data-id="search"] input {
  background: rgba(255,255,255,.08) !important;
  border-color: rgba(40,181,199,.35) !important;
  color: var(--c-white) !important;
}

/* ============================================================
   4. SHARED SECTION HEADER
   ============================================================ */
.febc-section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.febc-section-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: .6rem;
}
.febc-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--c-dark);
  margin: 0 0 .75rem;
  line-height: 1.2;
}
.febc-section-desc {
  font-size: 1.02rem;
  color: var(--c-text-muted);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ============================================================
   5. SHARED BUTTONS
   ============================================================ */
.febc-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
  text-decoration: none;
  white-space: nowrap;
}
.febc-btn--primary {
  background: var(--c-primary);
  color: var(--c-dark);
}
.febc-btn--primary:hover {
  background: var(--c-primary-dk);
  color: var(--c-dark);
  box-shadow: var(--sh-primary);
  transform: translateY(-1px);
  text-decoration: none;
}
.febc-btn--outline {
  background: transparent;
  color: var(--c-dark);
  border-color: var(--c-border);
}
.febc-btn--outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
}
.febc-btn--outline-light {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,.3);
}
.febc-btn--outline-light:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
}

/* ============================================================
   6. HOMEPAGE — HERO
   ============================================================ */
.febc-hero {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-2) 55%, #0D2433 100%);
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
.febc-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -8%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,181,199,.10) 0%, transparent 65%);
  pointer-events: none;
}
.febc-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,95,34,.06) 0%, transparent 65%);
  pointer-events: none;
}
.febc-hero__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.febc-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(40,181,199,.14);
  border: 1px solid rgba(40,181,199,.32);
  color: var(--c-primary);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.febc-hero__title {
  color: var(--c-white) !important;
  font-size: clamp(2rem, 5vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  margin: 0 auto 1.1rem !important;
  max-width: 760px;
  letter-spacing: -.02em;
}
.febc-hero__title span { color: var(--c-primary); }
.febc-hero__sub {
  color: rgba(255,255,255,.68);
  font-size: clamp(.95rem, 2.3vw, 1.15rem);
  max-width: 560px;
  margin: 0 auto 2.75rem;
  line-height: 1.65;
}
.febc-hero__search {
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  margin-bottom: 2.75rem;
}
.febc-hero__search input {
  width: 100%;
  padding: 1.1rem 1.5rem;
  padding-right: 9.5rem;
  border: 2px solid rgba(40,181,199,.35);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,.07);
  color: var(--c-white);
  font-family: var(--font);
  font-size: 1rem;
  backdrop-filter: blur(6px);
  transition: border-color .2s, box-shadow .2s;
}
.febc-hero__search input::placeholder { color: rgba(255,255,255,.38); }
.febc-hero__search input:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(40,181,199,.14);
}
.febc-hero__search-btn {
  position: absolute;
  right: .5rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--c-primary);
  color: var(--c-dark);
  font-family: var(--font);
  font-size: .88rem;
  font-weight: 800;
  border: none;
  padding: .7rem 1.35rem;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
  letter-spacing: .01em;
}
.febc-hero__search-btn:hover { background: var(--c-primary-dk); }
.febc-hero__stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.febc-hero__stat-num {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.febc-hero__stat-label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .3rem;
}

/* ============================================================
   7. BRANDS STRIP
   ============================================================ */
.febc-brands {
  background: var(--c-white);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--c-border);
}
.febc-brands__label {
  text-align: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 1.5rem;
}
.febc-brands__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .65rem 1rem;
  align-items: center;
}
.febc-brands__item {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 100px;
  padding: .5rem 1.2rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--c-dark-3);
  transition: border-color .2s, color .2s, box-shadow .2s;
}
.febc-brands__item:hover {
  border-color: var(--c-primary);
  color: var(--c-primary-dk);
  box-shadow: var(--sh-sm);
  text-decoration: none;
}
.febc-brands__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}

/* ============================================================
   8. RECENT POSTS GRID
   ============================================================ */
.febc-posts { background: var(--c-bg); padding: 5rem 0; }
.febc-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.febc-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .22s, border-color .22s;
}
.febc-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-4px);
  border-color: var(--c-primary);
}
.febc-card__img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--c-dark-2) 0%, #0D2433 100%);
  overflow: hidden;
  position: relative;
}
.febc-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: .88;
  transition: transform .4s;
}
.febc-card:hover .febc-card__img img { transform: scale(1.04); }
.febc-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: var(--c-primary);
  opacity: .6;
}
.febc-card__brand {
  position: absolute;
  top: .75rem; left: .75rem;
  background: rgba(13,27,42,.7);
  border: 1px solid rgba(40,181,199,.4);
  backdrop-filter: blur(4px);
  color: var(--c-primary);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .28rem .75rem;
  border-radius: 100px;
}
.febc-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.febc-card__meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .76rem;
  color: var(--c-text-muted);
  margin-bottom: .65rem;
}
.febc-card__meta-dot { color: var(--c-border); }
.febc-card__title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.35;
  margin: 0 0 .6rem;
}
.febc-card__title a { color: inherit; }
.febc-card__title a:hover { color: var(--c-primary); }
.febc-card__excerpt {
  font-size: .875rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.febc-card__cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .83rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-top: auto;
  letter-spacing: .01em;
}
.febc-card__cta::after { content: '→'; transition: transform .2s; }
.febc-card:hover .febc-card__cta::after { transform: translateX(4px); }
.febc-posts__cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   9. HOW IT WORKS
   ============================================================ */
.febc-how {
  background: var(--c-white);
  padding: 5rem 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.febc-how__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.febc-how__step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  background: var(--c-bg);
  transition: border-color .2s, box-shadow .2s;
}
.febc-how__step:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-sm);
}
.febc-how__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--c-primary-lt);
  border: 2px solid var(--c-primary);
  color: var(--c-primary-dk);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 1.2rem;
}
.febc-how__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 0 0 .55rem;
}
.febc-how__desc {
  font-size: .875rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* ============================================================
   10. POPULAR ERROR CHIPS
   ============================================================ */
.febc-errors { background: var(--c-bg); padding: 5rem 0; }
.febc-errors__grid {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
}
.febc-errors__chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: .55rem 1.1rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--c-dark-3);
  transition: background .18s, border-color .18s, color .18s, box-shadow .18s;
}
.febc-errors__chip:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: var(--c-dark);
  text-decoration: none;
  box-shadow: var(--sh-sm);
}
.febc-errors__chip-brand {
  font-size: .66rem;
  font-weight: 700;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-right: 1px solid var(--c-border);
  padding-right: .5rem;
}
.febc-errors__chip:hover .febc-errors__chip-brand {
  color: rgba(13,27,42,.6);
  border-right-color: rgba(13,27,42,.25);
}

/* ============================================================
   11. ABOUT / MISSION
   ============================================================ */
.febc-about {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  padding: 5.5rem 0;
  text-align: center;
}
.febc-about__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  color: var(--c-white) !important;
  font-weight: 800 !important;
  margin: 0 0 1.25rem !important;
  max-width: 700px;
  margin-inline: auto !important;
  line-height: 1.25 !important;
}
.febc-about__text {
  font-size: 1.02rem;
  color: rgba(255,255,255,.7);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.78;
}
.febc-about__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2.5rem;
  margin-bottom: 3rem;
}
.febc-about__point {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.72);
}
.febc-about__check {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(40,181,199,.18);
  border: 1px solid rgba(40,181,199,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-size: .65rem;
  flex-shrink: 0;
  font-weight: 800;
}

/* ============================================================
   12. NEWSLETTER
   ============================================================ */
.febc-newsletter {
  background: var(--c-primary-lt);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  padding: 4rem 0;
  text-align: center;
}
.febc-newsletter__title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--c-dark);
  margin: 0 0 .55rem;
}
.febc-newsletter__sub {
  font-size: .97rem;
  color: var(--c-text-muted);
  margin: 0 0 2rem;
}
.febc-newsletter__form {
  display: flex;
  gap: .6rem;
  max-width: 440px;
  margin-inline: auto;
}
.febc-newsletter__input {
  flex: 1;
  padding: .85rem 1.2rem;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .95rem;
  background: var(--c-white);
  color: var(--c-text);
  transition: border-color .2s;
}
.febc-newsletter__input:focus {
  outline: none;
  border-color: var(--c-primary);
}
.febc-newsletter__note {
  font-size: .75rem;
  color: var(--c-text-muted);
  margin-top: .8rem;
}

/* ============================================================
   13. BREADCRUMB
   ============================================================ */
.febc-breadcrumb {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: .7rem 0;
}
.febc-breadcrumb__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  font-size: .8rem;
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.febc-breadcrumb__inner a { color: var(--c-primary); }
.febc-breadcrumb__sep { color: var(--c-border); font-size: .9em; }

/* ============================================================
   13b. POST NAVIGATION BAR
   ============================================================ */
.febc-post-topnav {
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  padding: .65rem 0;
}
.febc-post-topnav__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
}
.febc-post-topnav__back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-primary);
  white-space: nowrap;
}
.febc-post-topnav__back:hover { color: var(--c-primary-dk); text-decoration: none; }
.febc-post-topnav__search {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex: 1;
  max-width: 300px;
}
.febc-post-topnav__search input {
  flex: 1;
  padding: .45rem .85rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .82rem;
  color: var(--c-text);
  background: var(--c-bg);
  transition: border-color .18s;
}
.febc-post-topnav__search input:focus {
  outline: none;
  border-color: var(--c-primary);
}
.febc-post-topnav__search button {
  background: var(--c-primary);
  border: none;
  border-radius: var(--r-sm);
  padding: .45rem .75rem;
  color: var(--c-dark);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .18s;
}
.febc-post-topnav__search button:hover { background: var(--c-primary-dk); }

/* Post tags */
.febc-post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: 1.5rem;
}
.febc-post-tags__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--c-text-muted);
}
.febc-post-tags__tag {
  display: inline-flex;
  align-items: center;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: .3rem .75rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-text-muted);
  transition: border-color .18s, color .18s;
}
.febc-post-tags__tag:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
  text-decoration: none;
}

/* Prev/Next navigation */
.febc-post-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.febc-prevnext__item {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  transition: border-color .2s, box-shadow .2s;
}
.febc-prevnext__item:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-sm);
  text-decoration: none;
}
.febc-prevnext__dir {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--c-text-muted);
}
.febc-prevnext__title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.4;
}
.febc-prevnext__item--next { text-align: right; }
.febc-prevnext__item--next .febc-prevnext__dir::before { content: '→ '; }
.febc-prevnext__item--prev .febc-prevnext__dir::before { content: '← '; }
@media (max-width: 520px) {
  .febc-post-prevnext { grid-template-columns: 1fr; }
}

/* ============================================================
   14. SINGLE ERROR POST LAYOUT
   ============================================================ */
.febc-single { background: var(--c-bg); }
.febc-single__layout {
  max-width: var(--container);
  margin-inline: auto;
  padding: 2rem 1.5rem 4.5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}
.febc-single__main { min-width: 0; }

/* Post header card */
.febc-post-header {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.febc-post-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
}
.febc-badge {
  display: inline-flex;
  align-items: center;
  padding: .28rem .85rem;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.febc-badge--brand {
  background: var(--c-primary-lt);
  color: var(--c-primary-dk);
  border: 1px solid var(--c-border);
}
.febc-badge--type {
  background: var(--c-dark);
  color: var(--c-primary);
}
.febc-post-header__title {
  font-size: clamp(1.45rem, 3.5vw, 2rem) !important;
  color: var(--c-dark) !important;
  font-weight: 800 !important;
  margin: 0 0 .85rem !important;
  line-height: 1.18 !important;
  letter-spacing: -.01em;
}
.febc-post-header__excerpt {
  font-size: 1.02rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  border-left: 3px solid var(--c-primary);
  padding-left: 1rem;
  margin: 0;
}

/* ============================================================
   15. ARTICLE CONTENT (.ca-post from pipeline)
   ============================================================ */
.febc-article {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 2.25rem;
  margin-bottom: 1.5rem;
}
.ca-post h2,
.febc-article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 2.25rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--c-border);
  line-height: 1.3;
}
.ca-post h2:first-child,
.febc-article h2:first-child { margin-top: 0; }
.ca-post h3,
.febc-article h3 {
  font-size: 1.07rem;
  font-weight: 700;
  color: var(--c-dark-2);
  margin: 1.75rem 0 .7rem;
  line-height: 1.35;
}
.ca-post p,
.febc-article p {
  font-size: .96rem;
  line-height: 1.82;
  color: var(--c-text);
  margin: 0 0 1rem;
}
.ca-post a,
.febc-article a { color: var(--c-primary); }
.ca-post a:hover,
.febc-article a:hover { color: var(--c-primary-dk); text-decoration: underline; }
.ca-post strong,
.febc-article strong { color: var(--c-dark); font-weight: 700; }

/* Lists */
.ca-post ul,
.febc-article ul {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}
.ca-post li,
.febc-article li {
  font-size: .96rem;
  line-height: 1.75;
  color: var(--c-text);
  margin-bottom: .4rem;
}

/* Ordered steps — numbered circles */
.ca-post ol,
.febc-article ol {
  list-style: none;
  counter-reset: steps;
  padding-left: 0;
  margin: 0 0 1.25rem;
}
.ca-post ol li,
.febc-article ol li {
  counter-increment: steps;
  display: flex;
  gap: .85rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--c-bg);
  align-items: flex-start;
}
.ca-post ol li:last-child,
.febc-article ol li:last-child { border-bottom: none; }
.ca-post ol li::before,
.febc-article ol li::before {
  content: counter(steps);
  min-width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-primary);
  color: var(--c-dark);
  font-size: .78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
}

/* Sources */
.ca-sources {
  font-size: .78rem;
  color: var(--c-text-muted);
  border-top: 1px solid var(--c-border);
  margin-top: 2rem;
  padding-top: 1rem;
  line-height: 1.7;
}
.ca-sources a { color: var(--c-text-muted); text-decoration: underline dotted; }

/* ============================================================
   16. DIAGNOSTIC TABLES (.ca-table)
   ============================================================ */
.ca-table,
.febc-article table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--c-border);
  margin: 1.5rem 0;
  font-size: .875rem;
  display: table;
}
.ca-table thead tr,
.febc-article thead tr {
  background: var(--c-dark);
}
.ca-table th,
.febc-article th {
  padding: .8rem 1rem;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  color: var(--c-primary);
}
.ca-table td,
.febc-article td {
  padding: .72rem 1rem;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  vertical-align: top;
  line-height: 1.55;
}
.ca-table tr:last-child td,
.febc-article tr:last-child td { border-bottom: none; }
.ca-table tbody tr:nth-child(even),
.febc-article tbody tr:nth-child(even) { background: var(--c-bg); }
.ca-table tbody tr:hover,
.febc-article tbody tr:hover { background: var(--c-primary-lt); }

/* ============================================================
    17. SAFETY WARNING — Enhanced for clarity & accessibility
    ============================================================ */
.safety-warning {
  background: #FEF2F2 !important;
  border: 2px solid #EF4444 !important;
  border-radius: var(--r-lg) !important;
  padding: 1.25rem 1.5rem !important;
  margin: 2rem 0 !important;
  position: relative;
  overflow: hidden;
}
.safety-warning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #EF4444;
}
.safety-warning__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #FEE2E2;
  border-radius: 50%;
  margin-right: .75rem;
  color: #DC2626;
  font-size: 1rem;
  font-weight: 800;
}
.safety-warning strong {
  color: #991B1B !important;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0;
  line-height: 1.4;
  margin-bottom: .5rem;
}
.safety-warning p,
.safety-warning ul {
  font-size: .9rem !important;
  line-height: 1.7 !important;
  color: #7F1D1D !important;
  margin: .5rem 0 0 !important;
  padding-left: 1rem !important;
}
.safety-warning ul {
  padding-left: 1.5rem !important;
  margin: .6rem 0 0 !important;
}
.safety-warning .safety-li {
  color: #7F1D1D !important;
  font-size: .88rem !important;
  margin-bottom: .4rem !important;
  line-height: 1.6 !important;
}
.safety-warning .safety-li::marker {
  color: #EF4444;
}
.safety-warning a {
  color: #B91C1C !important;
  text-decoration: underline dotted !important;
}
.safety-warning a:hover {
  color: #991B1B !important;
}

.ca-post img[src*="inline"],
.febc-article img[src*="inline"],
.febc-article figure {
  display: block;
  margin: 1.75rem 0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-md);
  border: 1px solid var(--c-border);
}
.febc-article figure img {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}
.febc-article figcaption {
  font-size: .8rem;
  color: var(--c-text-muted);
  text-align: center;
  padding: .6rem 1rem;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  font-style: italic;
}

/* ============================================================
    18. FAQ ACCORDION — Enhanced
    ============================================================ */
.faq-section { margin: 2.5rem 0 1.5rem; }
.faq-section > h2 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: var(--c-dark) !important;
  margin: 0 0 1rem !important;
  border-bottom: 2px solid var(--c-border) !important;
  padding-bottom: .5rem !important;
}
.faq-item {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  margin-bottom: .6rem;
  overflow: hidden;
  background: var(--c-white);
}
.faq-item h3 {
  font-size: .94rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: .9rem 1.2rem !important;
  cursor: pointer;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  background: var(--c-bg);
  border-bottom: 1px solid transparent;
  color: var(--c-dark) !important;
  transition: background .18s, color .18s;
  user-select: none;
  line-height: 1.4 !important;
  gap: .75rem;
}
.faq-item h3::after {
  content: '+';
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--c-primary);
  transition: transform .22s;
  flex-shrink: 0;
}
.faq-item.is-open h3 {
  background: var(--c-primary-lt);
  color: var(--c-primary-dk) !important;
  border-bottom-color: var(--c-border);
}
.faq-item.is-open h3::after { transform: rotate(45deg); }
.faq-item > p {
  display: none;
  padding: 1rem 1.2rem;
  font-size: .9rem !important;
  color: var(--c-text) !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--c-border);
}
.faq-item > p:last-child { border-bottom: none; }
.faq-item.is-open > p { display: block; }
.faq-item > table.ca-table {
  display: none;
  margin: 0;
  border-radius: 0;
  border-left: none;
  border-right: none;
}
.faq-item.is-open > table.ca-table { display: table; }

/* ============================================================
   19. SIDEBAR
   ============================================================ */
.febc-single__sidebar { position: sticky; top: 100px; }

/* TOC */
.febc-toc {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.febc-toc__header {
  background: var(--c-dark);
  padding: .85rem 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-primary);
}
.febc-toc__nav { padding: 1rem 1.25rem; }
.febc-toc__nav ol {
  list-style: none;
  padding: 0; margin: 0;
}
.febc-toc__nav li {
  margin-bottom: .3rem;
  font-size: .83rem;
}
.febc-toc__nav li::before { content: none; }
.febc-toc__nav a {
  color: var(--c-text-muted);
  display: block;
  padding: .28rem .75rem;
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s, background .15s;
  line-height: 1.45;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.febc-toc__nav a:hover,
.febc-toc__nav a.is-active {
  color: var(--c-primary);
  border-left-color: var(--c-primary);
  background: var(--c-primary-lt);
  text-decoration: none;
}
.febc-toc__nav .toc-h3 a {
  padding-left: 1.5rem;
  font-size: .78rem;
}

/* Ad placeholder */
.febc-ad-box {
  background: var(--c-bg);
  border: 1px dashed var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.5rem;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.febc-ad-label {
  font-size: .62rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ============================================================
   20. RELATED POSTS
   ============================================================ */
.febc-related { margin-top: 0; }
.febc-related__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-dark);
  margin: 0 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--c-border);
}
.febc-related__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.febc-related__card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  transition: border-color .2s, box-shadow .2s;
}
.febc-related__card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-sm);
}
.febc-related__card-brand {
  font-size: .66rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--c-primary);
  letter-spacing: .07em;
  margin: 0 0 .3rem;
}
.febc-related__card-title {
  font-size: .86rem;
  font-weight: 700;
  color: var(--c-dark);
  line-height: 1.4;
  margin: 0;
}
.febc-related__card-title a { color: inherit; }
.febc-related__card-title a:hover { color: var(--c-primary); }

/* ============================================================
   21. FOOTER OVERRIDES
   ============================================================ */
.ct-footer, .site-footer,
[data-row="bottom"] {
  background: var(--c-dark) !important;
  border-top: 2px solid rgba(40,181,199,.2) !important;
}
.ct-footer, .ct-footer p,
.ct-footer span { color: rgba(255,255,255,.55) !important; }
.ct-footer a { color: rgba(255,255,255,.6) !important; }
.ct-footer a:hover { color: var(--c-primary) !important; }
.ct-footer .ct-site-title { color: var(--c-primary) !important; }

/* ============================================================
   22. RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .febc-posts__grid { grid-template-columns: repeat(2, 1fr); }
  .febc-single__layout { grid-template-columns: 1fr; }
  .febc-single__sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
  }
  .febc-toc { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .febc-hero { padding: 3.5rem 0 3rem; }
  .febc-hero__search input { padding-right: 1.5rem; padding-bottom: 1.1rem; }
  .febc-hero__search-btn {
    position: static;
    transform: none;
    width: 100%;
    margin-top: .6rem;
    padding: .85rem;
  }
  .febc-hero__search { display: flex; flex-direction: column; }
  .febc-hero__stats { gap: 1.75rem; }
  .febc-posts__grid { grid-template-columns: 1fr; }
  .febc-how__steps { grid-template-columns: 1fr; gap: 1rem; }
  .febc-how__step { padding: 1.5rem; }
  .febc-single__sidebar { display: flex; flex-direction: column; }
  .febc-related__grid { grid-template-columns: 1fr; }
  .febc-newsletter__form { flex-direction: column; }
  .febc-about__points { flex-direction: column; align-items: center; }
  .febc-article { padding: 1.5rem; }
  .febc-post-header { padding: 1.5rem; }
}
@media (max-width: 480px) {
  .febc-brands__grid { gap: .45rem; }
  .febc-card__body { padding: 1.1rem; }
  .febc-article { padding: 1.1rem 1.2rem; }
  .ca-table { font-size: .8rem; }
  .ca-table th, .ca-table td { padding: .6rem .75rem; }
  .febc-related__grid { grid-template-columns: 1fr; }
  .febc-how__steps { gap: .75rem; }
}

/* ============================================================
   23. ACCESSIBILITY & REDUCED MOTION
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   24. PRINT
   ============================================================ */
@media print {
  .febc-hero, .febc-brands, .febc-how,
  .febc-newsletter, .febc-errors,
  .febc-single__sidebar, .febc-ad-box,
  .febc-related, .febc-about { display: none !important; }
  .febc-single__layout { grid-template-columns: 1fr; padding: 0; }
  .febc-article { border: none; padding: 0; }
  .ca-post a::after { content: ' (' attr(href) ')'; }
}

/* ============================================================
   25. E-BIKE MOSAIC BACKGROUND
   Subtle tiling SVG pattern on body background
   ============================================================ */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='130'%3E%3Ccircle cx='52' cy='90' r='30' fill='none' stroke='%2328B5C7' stroke-width='1.8' opacity='.055'/%3E%3Ccircle cx='168' cy='90' r='30' fill='none' stroke='%2328B5C7' stroke-width='1.8' opacity='.055'/%3E%3Cpath d='M52 90 L105 50 L168 90' fill='none' stroke='%2328B5C7' stroke-width='2' opacity='.055'/%3E%3Cline x1='105' y1='50' x2='105' y2='90' stroke='%2328B5C7' stroke-width='1.8' opacity='.055'/%3E%3Cline x1='82' y1='90' x2='105' y2='50' stroke='%2328B5C7' stroke-width='1.8' opacity='.055'/%3E%3Cline x1='153' y1='42' x2='180' y2='42' stroke='%2328B5C7' stroke-width='1.8' opacity='.055'/%3E%3Cline x1='165' y1='42' x2='165' y2='60' stroke='%2328B5C7' stroke-width='1.8' opacity='.055'/%3E%3Cline x1='90' y1='46' x2='108' y2='46' stroke='%2328B5C7' stroke-width='2' opacity='.055'/%3E%3Crect x='97' y='82' width='16' height='16' rx='4' fill='none' stroke='%2328B5C7' stroke-width='1.5' opacity='.055'/%3E%3Crect x='115' y='58' width='26' height='11' rx='3' fill='none' stroke='%2328B5C7' stroke-width='1.5' opacity='.055'/%3E%3Ccircle cx='105' cy='50' r='3' fill='%2328B5C7' opacity='.07'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 130px;
  background-attachment: local;
}

/*
  DO NOT add background-image:none to sections with gradients (.febc-hero, .febc-about, etc.)
  Gradient sections cover the mosaic naturally. Only suppress mosaic on solid-color cards/boxes
  that could show the tile through transparency.
*/
.febc-post-header, .febc-article, .febc-toc,
.febc-card, .febc-how__step,
.febc-related__card, .febc-form,
.febc-mission__visual, .febc-eeat__card { background-image: none !important; }

/* ============================================================
   26. HEADER — LOGO + HIDE DESKTOP NAV ON HOMEPAGE
   ============================================================ */
.febc-header-logo {
  height: 44px;
  width: auto;
  display: block;
}
/* Hide desktop menu items on homepage, keep hamburger */
.febc-is-homepage .ct-header [data-id="menu"],
.febc-is-homepage .ct-header .ct-menu,
.febc-is-homepage .ct-header .primary-nav,
.febc-is-homepage [class*="ct-main-menu"] {
  display: none !important;
}
/* Keep mobile hamburger always visible on homepage */
.febc-is-homepage .ct-header .ct-toggle-dropdown-menu {
  display: flex !important;
}
/* Ensure header stays tall enough with just logo */
.febc-is-homepage .ct-header [data-row="main"] {
  min-height: 64px;
}

/* ============================================================
   27. SCROLL ANIMATIONS (performance-safe: only opacity + transform)
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .55s cubic-bezier(.22,.61,.36,1),
              transform .55s cubic-bezier(.22,.61,.36,1);
}
[data-animate="fade-in"] {
  transform: none;
}
[data-animate="scale-in"] {
  transform: scale(.94);
}
[data-animate="slide-left"] {
  transform: translateX(-26px);
}
[data-animate="slide-right"] {
  transform: translateX(26px);
}
[data-animate].is-animated {
  opacity: 1;
  transform: none;
}
/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .45s cubic-bezier(.22,.61,.36,1),
              transform .45s cubic-bezier(.22,.61,.36,1);
}
[data-stagger] > *.is-animated { opacity: 1; transform: none; }
[data-stagger] > *:nth-child(1) { transition-delay: .05s; }
[data-stagger] > *:nth-child(2) { transition-delay: .13s; }
[data-stagger] > *:nth-child(3) { transition-delay: .21s; }
[data-stagger] > *:nth-child(4) { transition-delay: .29s; }
[data-stagger] > *:nth-child(5) { transition-delay: .37s; }
[data-stagger] > *:nth-child(6) { transition-delay: .45s; }

/* Hero badge pulse — compositor-safe (transform+opacity only, no box-shadow) */
@keyframes febc-pulse-ring {
  0%   { transform: scale(1);    opacity: .65; }
  80%  { transform: scale(1.45); opacity: 0;   }
  100% { transform: scale(1.45); opacity: 0;   }
}
.febc-hero__badge { position: relative; }
.febc-hero__badge::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 100px;
  border: 2px solid rgba(40,181,199,.5);
  animation: febc-pulse-ring 2.8s ease-out infinite;
  pointer-events: none;
}

/* Hero title glow line */
@keyframes febc-slide-in {
  from { width: 0; }
  to   { width: 100%; }
}
.febc-hero__title span {
  position: relative;
  display: inline-block;
}
.febc-hero__title span::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  height: 3px;
  background: var(--c-primary);
  border-radius: 2px;
  width: 0;
  animation: febc-slide-in .8s .4s cubic-bezier(.22,.61,.36,1) forwards;
}

/* Stat counter pulse */
@keyframes febc-count-done {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}
.febc-hero__stat-num.counted { animation: febc-count-done .4s ease-out; }

/* Brand chip hover — simple direct transition, no z-index tricks */
.febc-brands__item {
  transition: background-color .2s ease, border-color .2s ease,
              color .2s ease, box-shadow .2s ease !important;
}
.febc-brands__item::before { display: none !important; }
.febc-brands__item:hover {
  background-color: var(--c-primary) !important;
  border-color: var(--c-primary) !important;
  color: var(--c-dark) !important;
  box-shadow: var(--sh-sm) !important;
}
.febc-brands__item:hover .febc-brands__dot {
  background: var(--c-dark) !important;
}

/* Card shimmer on hover */
.febc-card {
  position: relative;
  overflow: hidden;
}
.febc-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 30%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent);
  transform: skewX(-20deg);
  transition: left .6s ease;
  pointer-events: none;
}
.febc-card:hover::after { left: 130%; }

/* How steps number ring animation */
@keyframes febc-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.febc-how__step:hover .febc-how__num {
  animation: febc-ring-spin .6s ease-out;
}

/* Error chips wave */
@keyframes febc-wave {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}
.febc-errors__chip:hover {
  animation: febc-wave .35s ease;
}

/* Section entrance line */
.febc-section-label {
  position: relative;
}
.febc-section-label::before,
.febc-section-label::after {
  content: '';
  position: absolute;
  top: 50%; height: 1px;
  width: 28px;
  background: var(--c-primary);
  opacity: .5;
}
.febc-section-label::before { right: calc(100% + .5rem); }
.febc-section-label::after  { left:  calc(100% + .5rem); }

/* ============================================================
   28. ABOUT PAGE
   ============================================================ */
.febc-page-about { background: var(--c-bg); }

/* About hero */
.febc-about-hero {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.febc-about-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(40,181,199,.10) 0%, transparent 65%);
  pointer-events: none;
}
.febc-about-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(40,181,199,.14);
  border: 1px solid rgba(40,181,199,.3);
  color: var(--c-primary);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}
.febc-about-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem) !important;
  color: var(--c-white) !important;
  font-weight: 800 !important;
  margin: 0 0 1rem !important;
  line-height: 1.15 !important;
}
.febc-about-hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 540px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Mission grid */
.febc-mission {
  padding: 5rem 0;
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
}
.febc-mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.febc-mission__text h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-dark);
  margin: 0 0 1.25rem;
  line-height: 1.2;
}
.febc-mission__text p {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.8;
  margin: 0 0 1rem;
}
.febc-mission__visual {
  background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-dark-2) 100%);
  border-radius: var(--r-xl);
  padding: 3rem 2.5rem;
  text-align: center;
}
.febc-mission__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.febc-mission__stat {
  text-align: center;
  padding: 1.25rem;
  background: rgba(40,181,199,.1);
  border: 1px solid rgba(40,181,199,.2);
  border-radius: var(--r-md);
}
.febc-mission__stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-primary);
  line-height: 1;
  letter-spacing: -.02em;
}
.febc-mission__stat-label {
  display: block;
  font-size: .72rem;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: .35rem;
}

/* E-E-A-T signals */
.febc-eeat {
  padding: 5rem 0;
  background: var(--c-bg);
}
.febc-eeat__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.febc-eeat__card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.febc-eeat__card:hover {
  border-color: var(--c-primary);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.febc-eeat__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}
.febc-eeat__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-dark);
  margin: 0 0 .5rem;
}
.febc-eeat__desc {
  font-size: .85rem;
  color: var(--c-text-muted);
  line-height: 1.65;
}

/* Contact section */
.febc-contact {
  padding: 5rem 0;
  background: var(--c-white);
  border-top: 1px solid var(--c-border);
}
.febc-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.febc-contact__info h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-dark);
  margin: 0 0 1rem;
}
.febc-contact__info p {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.75;
  margin: 0 0 2rem;
}
.febc-contact__detail {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .85rem;
  font-size: .9rem;
  color: var(--c-text);
}
.febc-contact__detail-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-primary-lt);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Contact form */
.febc-form {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
}
.febc-form__group {
  margin-bottom: 1.25rem;
}
.febc-form__label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--c-dark);
  margin-bottom: .45rem;
  letter-spacing: .02em;
}
.febc-form__input,
.febc-form__select,
.febc-form__textarea {
  width: 100%;
  padding: .85rem 1.1rem;
  border: 2px solid var(--c-border);
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: .95rem;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color .2s, box-shadow .2s;
  appearance: none;
}
.febc-form__input:focus,
.febc-form__select:focus,
.febc-form__textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(40,181,199,.12);
}
.febc-form__textarea { resize: vertical; min-height: 130px; }
.febc-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.febc-form__submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
}
.febc-form__note {
  text-align: center;
  font-size: .75rem;
  color: var(--c-text-muted);
  margin-top: .75rem;
}

/* About responsive */
@media (max-width: 900px) {
  .febc-mission__grid,
  .febc-contact__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .febc-eeat__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .febc-eeat__grid { grid-template-columns: 1fr; }
  .febc-form__row { grid-template-columns: 1fr; }
  .febc-mission__stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   29. SAFETY NOTE (variante ligera de .safety-warning)
   ============================================================ */
.safety-note  { margin: 1.5rem 0; }
.safety-label { font-weight: 600; margin-right: 0.5rem; }

/* ============================================================
   30. PERFORMANCE — v6
   ============================================================ */
/* will-change en pseudo-elemento que corre la animación */
.febc-hero__badge::before { will-change: transform, opacity; }

/* Eliminar backdrop-filter caro en mobile sin romper layout */
@media (max-width: 768px) {
  .febc-hero__search input,
  .febc-card__brand {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* ============================================================
   31. NO_LCP FIX — hero visible en primer paint
   ============================================================ */
/* Los [data-animate] del hero empiezan visibles: Lighthouse puede medir LCP.
   JS en initHeroEntrance los anima con inline-style para que la transición funcione. */
.febc-hero [data-animate] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ============================================================
   32. POST NAV BAR — sticky + mejorado
   ============================================================ */
.febc-post-topnav {
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 8px rgba(13,27,42,.08);
}

/* ============================================================
   33. FAQ — siempre visible (sin accordion)
   ============================================================ */
/* Mostrar todo el contenido de cada FAQ sin requerir click */
.faq-item > p,
.faq-item > ul,
.faq-item > ol,
.faq-item > table.ca-table {
  display: block !important;
}
.faq-item > table.ca-table { display: table !important; }

/* Quitar cursor pointer y el ícono +/× del h3 */
.faq-item h3 {
  cursor: default !important;
  background: var(--c-primary-lt) !important;
  border-bottom: 2px solid var(--c-border) !important;
  border-radius: var(--r-sm) var(--r-sm) 0 0 !important;
}
.faq-item h3::after { display: none !important; }

/* Separar visualmente cada FAQ como card */
.faq-item {
  margin-bottom: 1rem !important;
  border-radius: var(--r-md) !important;
  box-shadow: var(--sh-sm);
}
.faq-item > p,
.faq-item > ul {
  padding: 1rem 1.2rem !important;
  margin: 0 !important;
  border-bottom: none !important;
}

/* ============================================================
   34. SITEWIDE FIXED HEADER — v7
   ============================================================ */
/* Ocultar header nativo de Blocksy */
.ct-header { display: none !important; }

:root {
  --febc-header-top:   56px;
  --febc-header-nav:   44px;
  --febc-header-total: 100px;
}

#febc-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--c-dark);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 2px 16px rgba(13,27,42,.4);
}

/* Top bar */
.febc-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--febc-header-top);
  padding: 0 1.5rem;
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.febc-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.febc-header__logo img {
  height: 34px;
  width: auto;
  display: block;
}
.febc-header__logo-text {
  font-size: 1rem;
  font-weight: 800;
  color: var(--c-primary);
  letter-spacing: -.01em;
}

.febc-header__actions {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.febc-header__search-btn,
.febc-header__menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.72);
  cursor: pointer;
  transition: background .2s, color .2s;
  flex-shrink: 0;
  padding: 0;
}
.febc-header__search-btn:hover,
.febc-header__menu-btn:hover {
  background: rgba(40,181,199,.18);
  color: var(--c-primary);
}

/* Hamburger lines */
.febc-header__menu-btn { flex-direction: column; gap: 5px; }
.febc-header__menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
  pointer-events: none;
}
.febc-header__menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.febc-header__menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.febc-header__menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Search bar (toggled) */
.febc-header__search-bar {
  background: var(--c-dark-2);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: .6rem 1.5rem;
}
.febc-header__search-bar form {
  display: flex;
  align-items: center;
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-md);
  overflow: hidden;
}
.febc-header__search-bar input[type="search"] {
  flex: 1;
  padding: .55rem 1rem;
  background: transparent;
  border: none;
  outline: none;
  color: var(--c-white);
  font-size: .9rem;
  font-family: var(--font);
}
.febc-header__search-bar input[type="search"]::placeholder { color: rgba(255,255,255,.38); }
.febc-header__search-bar button[type="submit"] {
  padding: .55rem .9rem;
  background: transparent;
  border: none;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  transition: color .2s;
}
.febc-header__search-bar button[type="submit"]:hover { color: var(--c-primary); }

/* Category nav row */
.febc-header__nav {
  background: var(--c-dark-2);
  border-top: 1px solid rgba(255,255,255,.05);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.febc-header__nav::-webkit-scrollbar { display: none; }
.febc-header__nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0 1rem;
  width: max-content;
  min-width: 100%;
}
.febc-header__nav a {
  display: block;
  height: var(--febc-header-nav);
  line-height: var(--febc-header-nav);
  padding: 0 .8rem;
  font-size: .73rem;
  font-weight: 600;
  color: rgba(255,255,255,.58);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .015em;
  transition: color .2s, border-color .2s;
  border-bottom: 2px solid transparent;
}
.febc-header__nav a:hover,
.febc-header__nav a[aria-current="page"] {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

/* Body offset para fixed header */
body { padding-top: var(--febc-header-total) !important; }

/* Post sticky nav debajo del header fijo */
.febc-post-topnav { top: var(--febc-header-total) !important; }

/* ── Mobile (≤900px): ocultar nav row, mostrar hamburger ── */
@media (max-width: 900px) {
  :root { --febc-header-total: var(--febc-header-top); }

  /* Nav row: oculta en flujo normal, panel deslizable cuando .is-open */
  .febc-header__nav {
    display: none;
    position: fixed;
    top: var(--febc-header-top);
    left: 0; right: 0;
    z-index: 999;
    background: var(--c-dark);
    border-bottom: 1px solid rgba(255,255,255,.07);
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - var(--febc-header-top));
  }
  .febc-header__nav.is-open { display: block; }
  .febc-header__nav > ul {
    flex-direction: column;
    width: 100%;
    padding: .4rem 0;
  }
  .febc-header__nav li { width: 100%; }
  .febc-header__nav a {
    height: auto;
    line-height: 1.4;
    padding: .9rem 1.5rem;
    font-size: .88rem;
    border-bottom: 1px solid rgba(255,255,255,.05) !important;
    border-left: none;
  }
  .febc-header__nav a:hover { border-bottom: 1px solid rgba(255,255,255,.05) !important; }
}

@media (min-width: 901px) {
  .febc-header__menu-btn { display: none !important; }
}
