/* ========================================
   YOGA BIBLE - MAIN STYLESHEET
   Modern, clean rebuild from Squarespace
   ======================================== */

/* Global: ensure [hidden] always works even when CSS sets explicit display */
[hidden] { display: none !important; }

/* ========================================
   ABACAXI FONT (Custom Brand Font)
   ======================================== */

@font-face {
  font-family: 'Abacaxi';
  src: url('/assets/fonts/AbacaxiLatinWeb-Regular.woff2') format('woff2'),
       url('/assets/fonts/AbacaxiLatinWeb-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Abacaxi';
  src: url('/assets/fonts/AbacaxiLatinWeb-Bold.woff2') format('woff2'),
       url('/assets/fonts/AbacaxiLatinWeb-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* CSS Variables */
:root {
  /* Brand Colors */
  --yb-brand: #f75c03;
  --yb-brand-rgb: 247, 92, 3;
  --yb-accent: #F65D04;

  /* Header Colors (dark theme) */
  --yb-bg: #1C1C1C;
  --yb-text: #FDFBF7;
  --yb-muted: rgba(253, 251, 247, 0.74);
  --yb-line: rgba(253, 251, 247, 0.12);

  /* Typography */
  --font-primary: 'Abacaxi', "Helvetica Neue", Helvetica, Arial, system-ui, -apple-system, sans-serif;

  /* Spacing */
  --header-height: 107px;
  --max-width: 1280px;

  /* Transitions */
  --transition-fast: 0.12s ease;
  --transition-medium: 0.18s ease;
}

/* ========================================
   BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: #fff;
  color: #1C1C1C;
  line-height: 1.6;
  font-weight: 400;
}

/* Font Weight Rules */
h1, h2, h3, h4, h5, h6,
strong, b,
button,
.button,
.btn,
[class*="button"],
[class*="btn"] {
  font-weight: 700;
}

p, span, li, a, div {
  font-weight: 400;
}

/* ========================================
   HEADER  (fresh rewrite — dark theme)
   Old Squarespace header archived in src/archive/squarespace-header/
   ======================================== */

/* ── Shared ── */
#yb-header {
  font-family: var(--font-primary);
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #1C1C1C;
  color: #FDFBF7;
  isolation: isolate;
}

/* ── Orange utility strip ── */
.yb-util {
  background: var(--yb-brand);
}
.yb-util__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6px clamp(16px, 3vw, 30px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: rgba(15,15,15,.75);
}
.yb-util__left,
.yb-util__right {
  display: flex;
  align-items: center;
  gap: 14px;
}
.yb-util a {
  color: rgba(15,15,15,.75);
  text-decoration: none;
  transition: color .15s;
}
.yb-util a:hover { color: #0F0F0F; }
.yb-util__dot {
  width: 1px;
  height: 12px;
  background: rgba(15,15,15,.2);
}
.yb-util__flag {
  font-size: 13px;
  cursor: pointer;
  opacity: .5;
  transition: opacity .15s;
  text-decoration: none;
}
.yb-util__flag.is-active { opacity: 1; }

/* ── Main navigation bar ── */
.yb-nav {
  border-bottom: 3px solid var(--yb-brand);
}
.yb-nav__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px clamp(16px, 4vw, 30px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  min-height: 92px;
}

/* Left / right nav areas */
.yb-nav__left {
  display: flex;
  align-items: center;
  gap: 24px;
}
.yb-nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.yb-nav__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

/* Logo */
.yb-nav__logo {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  text-decoration: none;
}
.yb-nav__logo img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* ── Dropdown trigger buttons / nav links ── */
.yb-dd {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.yb-dd__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
  color: #FDFBF7;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  text-decoration: none;
  transition: color .12s ease;
  background: none;
  border: none;
  font-family: inherit;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.yb-dd__btn:hover,
.yb-dd__btn:focus-visible {
  color: var(--yb-brand);
}
.yb-dd__btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 0;
  height: 1.5px;
  background: var(--yb-brand);
  transition: width .18s ease;
}
.yb-dd__btn:hover::after,
.yb-dd__btn:focus-visible::after {
  width: 100%;
}
.yb-dd__arrow {
  color: var(--yb-brand);
  font-size: 16px;
  position: relative;
  top: -1px;
}

/* ── Dropdown panels ── */
.yb-dd__panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  min-width: 260px;
  background: rgba(28,28,28,.98);
  border: 1px solid rgba(253,251,247,.12);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .14s ease, transform .14s ease;
  z-index: 99999;
}
.yb-dd__panel::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
}
.yb-dd__panel--right {
  left: auto;
  right: 0;
  min-width: 220px;
}
.yb-dd.is-open .yb-dd__panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Dropdown items */
.yb-dd__panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #FDFBF7;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .12s, color .12s;
}
.yb-dd__panel a:hover,
.yb-dd__panel a:focus-visible {
  background: var(--yb-brand);
  color: #fff;
}

/* ── CTA button ── */
.yb-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 999px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .12s, filter .12s;
  font-family: inherit;
}
.yb-nav__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

/* ── Mega menu ── */
.yb-mega[hidden] { display: none; }
.yb-mega {
  background: #1C1C1C;
  border-top: 1px solid rgba(253,251,247,.12);
  border-bottom: 2px solid var(--yb-brand);
  padding: 28px clamp(16px,3vw,30px) 24px;
}
.yb-mega__wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.yb-mega__heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yb-brand);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(253,251,247,.12);
}
.yb-mega__link {
  display: block;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #FDFBF7;
  padding: 6px 0;
  text-decoration: none;
  transition: color .15s;
}
.yb-mega__link:hover { color: var(--yb-brand); }
.yb-mega__link--mt { margin-top: 8px; }
.yb-mega__sub {
  font-size: 11px;
  color: rgba(253,251,247,.55);
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 0 5px 14px;
  display: block;
  border-left: 1.5px solid rgba(253,251,247,.12);
  margin-left: 4px;
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.yb-mega__sub:hover {
  color: var(--yb-brand);
  border-color: var(--yb-brand);
}

/* ── Mobile flag buttons (visible < 980px) ── */
.yb-mob-flags {
  display: none;
  align-items: center;
  gap: 6px;
}
.yb-mob-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(253,251,247,.2);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .12s;
  -webkit-tap-highlight-color: transparent;
}
.yb-mob-flag:hover,
.yb-mob-flag.is-active {
  border-color: var(--yb-brand);
}

/* ── Burger (visible < 980px) ── */
.yb-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--yb-brand);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: none;
  -webkit-tap-highlight-color: transparent;
  transition: background .12s;
}
.yb-burger:hover { background: rgba(247,92,3,.12); }
.yb-burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--yb-brand);
}

/* ── Mobile drawer ── */
.yb-drawer[hidden] { display: none; }
.yb-drawer {
  position: fixed;
  inset: 0;
  z-index: 10000;
}
.yb-drawer__bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(3px);
}
.yb-drawer__body {
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: min(400px, 90vw);
  background: #1C1C1C;
  border-left: 1px solid rgba(253,251,247,.08);
  padding: 16px 14px 14px;
  box-shadow: -20px 0 60px rgba(0,0,0,.3);
  display: flex;
  flex-direction: column;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  overflow-y: auto;
}
.yb-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 12px;
  border-bottom: 1px solid rgba(253,251,247,.1);
}
.yb-drawer__head img {
  height: 34px;
  width: auto;
}
.yb-drawer__close {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1.5px solid rgba(253,251,247,.3);
  color: #FDFBF7;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  font-size: 18px;
  transition: background .12s, color .12s;
  -webkit-tap-highlight-color: transparent;
}
.yb-drawer__close:hover {
  background: #FDFBF7;
  color: #1C1C1C;
}

/* Drawer nav */
.yb-drawer__list {
  padding: 12px 4px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.yb-drawer__link {
  display: block;
  padding: 13px 16px;
  border-radius: 16px;
  border: 1px solid rgba(253,251,247,.1);
  color: #FDFBF7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .12s;
}
.yb-drawer__link:hover { border-color: var(--yb-brand); }

.yb-drawer__link--member {
  display: flex;
  align-items: center;
  gap: 8px;
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}
.yb-drawer__link--member:hover {
  background: var(--yb-brand);
  color: #fff;
}
.yb-drawer__link--member svg { flex-shrink: 0; }

/* Drawer CTA */
.yb-drawer__cta {
  display: block;
  padding: 13px 16px;
  border-radius: 999px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: filter .12s;
}
.yb-drawer__cta:hover { filter: brightness(1.08); }

/* ── Accordion (mobile drawer) ── */
.yb-acc {
  border: 1px solid rgba(253,251,247,.1);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .15s;
}
.yb-acc.is-open { border-color: var(--yb-brand); }
.yb-acc__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #FDFBF7;
  -webkit-tap-highlight-color: transparent;
}
.yb-acc__icon {
  color: var(--yb-brand);
  font-size: 16px;
  transition: transform .2s;
}
.yb-acc.is-open .yb-acc__icon { transform: rotate(180deg); }
.yb-acc__content {
  display: none;
  padding: 0 16px 14px;
  border-top: 1px solid rgba(253,251,247,.1);
}
.yb-acc__label {
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--yb-brand);
  font-weight: 700;
  padding: 12px 0 4px;
  margin: 0;
}
.yb-acc__content a {
  display: block;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #FDFBF7;
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.yb-acc__content a:hover {
  background: var(--yb-brand);
  color: #fff;
}

/* ── Drawer footer ── */
.yb-drawer__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(253,251,247,.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.yb-drawer__social {
  display: flex;
  gap: 8px;
}
.yb-drawer__pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(253,251,247,.15);
  color: #FDFBF7;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color .12s, color .12s;
}
.yb-drawer__pill:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}
.yb-drawer__flags {
  display: flex;
  gap: 6px;
}
.yb-drawer__flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  font-size: 16px;
  border-radius: 999px;
  border: 1px solid rgba(253,251,247,.15);
  cursor: pointer;
  text-decoration: none;
  transition: border-color .12s;
  -webkit-tap-highlight-color: transparent;
}
.yb-drawer__flag:hover,
.yb-drawer__flag.is-active { border-color: var(--yb-brand); }
.yb-drawer__apps {
  width: 100%;
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.yb-drawer__apps a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(253,251,247,.12);
  text-decoration: none;
  transition: border-color .12s;
  -webkit-tap-highlight-color: transparent;
}
.yb-drawer__apps a:hover { border-color: var(--yb-brand); }
.yb-drawer__apps img {
  height: 24px;
  width: auto;
}

/* ── RESPONSIVE — MOBILE (<980px) ── */
@media (max-width: 979px) {
  .yb-util         { display: none !important; }
  .yb-nav__left    { display: none !important; }
  .yb-nav__links   { display: none !important; }
  .yb-nav__cta     { display: none !important; }
  .yb-mega         { display: none !important; }

  .yb-nav__wrap {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 14px 16px;
  }
  .yb-nav__logo img { height: 36px; }
  .yb-mob-flags { display: flex; }
  .yb-burger    { display: flex; }
}

@media (max-width: 420px) {
  .yb-nav__logo img { height: 30px; }
  .yb-mob-flag  { width: 30px; height: 30px; font-size: 14px; }
  .yb-burger    { width: 38px; height: 38px; }
}


/* ========================================
   MAIN CONTENT
   ======================================== */

#main-content {
  min-height: calc(100vh - var(--header-height));
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
  color: var(--yb-text);
  padding: clamp(80px, 12vw, 120px) 20px clamp(60px, 10vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(247, 92, 3, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.6;
  margin-bottom: clamp(24px, 4vw, 40px);
  color: var(--yb-muted);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero__trust {
  font-size: 14px;
  color: var(--yb-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

/* ========================================
   SECTIONS
   ======================================== */

section {
  padding: clamp(48px, 8vw, 80px) 0;
}

/* Schedule pages manage their own internal spacing */
#schedule-4w,
#schedule-8w,
#schedule-18w,
#design-combo-18w {
  padding: 0;
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #1C1C1C;
}

.section-subtitle {
  text-align: center;
  font-size: clamp(16px, 2vw, 20px);
  color: #666;
  margin-bottom: clamp(32px, 6vw, 60px);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   PATHWAYS SECTION
   ======================================== */

.pathways {
  background: #f9f9f9;
}

.pathways__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 4vw, 40px);
  max-width: 1000px;
  margin: 0 auto;
}

.program-card {
  background: white;
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.program-card--featured {
  border-color: var(--yb-accent);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f0 100%);
}

.program-card__badge {
  display: inline-block;
  background: #f0f0f0;
  color: #666;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.program-card__badge--featured {
  background: var(--yb-accent);
  color: white;
}

.program-card__title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 10px;
  color: #1C1C1C;
}

.program-card__subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
  line-height: 1.5;
}

.program-card__features {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
}

.program-card__features li {
  padding: 12px 0 12px 30px;
  position: relative;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

.program-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yb-accent);
  font-weight: 700;
  font-size: 18px;
}

.program-card__cta {
  display: block;
  width: 100%;
  text-align: center;
}

/* ========================================
   COURSES SECTION
   ======================================== */

.courses {
  background: white;
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 4vw, 40px);
}

.course-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.course-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.course-card:hover .course-card__image img {
  transform: scale(1.05);
}

.course-card__content {
  padding: 30px;
}

.course-card__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1C1C1C;
}

.course-card__description {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 20px;
}

.course-card__link {
  color: var(--yb-accent);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.course-card__link:hover {
  color: #d94f02;
}

/* ========================================
   TRUST BADGES SECTION
   ======================================== */

.trust-badges {
  padding: 60px 20px;
  background: #f9f9f9;
}

.trust-badges__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.trust-badge__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-badge__icon svg {
  width: 100%;
  height: 100%;
}

.trust-badge__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trust-badge__text strong {
  font-size: 18px;
  font-weight: 700;
  color: #1C1C1C;
}

.trust-badge__text span {
  font-size: 14px;
  color: #666;
}

@media (max-width: 768px) {
  .trust-badges {
    padding: 40px 20px;
  }

  .trust-badges__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .trust-badges__grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   INSTRUCTORS SECTION
   ======================================== */

.instructors {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: white;
}

.instructors__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(32px, 6vw, 60px);
}

.instructor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.instructor-card__image {
  width: clamp(140px, 30vw, 200px);
  height: clamp(140px, 30vw, 200px);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--yb-brand);
}

.instructor-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instructor-card__name {
  font-size: 24px;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0;
}

.instructor-card__title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yb-brand);
  margin: 0;
}

.instructor-card__bio {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  max-width: 280px;
}

@media (max-width: 768px) {
  .instructors {
    padding: 60px 20px;
  }

  .instructors__grid {
    gap: 50px;
    margin-top: 40px;
  }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: #f9f9f9;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(32px, 6vw, 60px);
}

.testimonial-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card__stars {
  font-size: 20px;
  color: var(--yb-brand);
  letter-spacing: 2px;
}

.testimonial-card__quote {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.testimonial-card__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.testimonial-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial-card__name {
  font-size: 16px;
  font-weight: 700;
  color: #1C1C1C;
}

.testimonial-card__meta {
  font-size: 14px;
  color: #888;
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 20px;
  }

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }

  .testimonial-card {
    padding: 30px 24px;
  }
}

/* ========================================
   VIDEO SECTION
   ======================================== */

.video-section {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: white;
}

.video-wrapper {
  margin-top: clamp(32px, 6vw, 60px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.video-placeholder__icon {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.video-placeholder:hover .video-placeholder__icon {
  opacity: 1;
}

.video-placeholder__text {
  font-size: 18px;
  color: var(--yb-text);
  text-align: center;
  max-width: 400px;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .video-section {
    padding: 60px 20px;
  }

  .video-wrapper {
    margin-top: 40px;
  }

  .video-placeholder__text {
    font-size: 16px;
  }
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  background: linear-gradient(135deg, var(--yb-accent) 0%, #d94f02 100%);
  color: white;
  text-align: center;
  padding: clamp(60px, 10vw, 100px) 20px;
}

.cta-section__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.cta-section__text {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  opacity: 0.95;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--yb-accent);
  color: white;
  border-color: var(--yb-accent);
}

.btn--primary:hover {
  background: #d94f02;
  border-color: #d94f02;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(247, 92, 3, 0.3);
}

.btn--large {
  padding: 18px 48px;
  font-size: 16px;
}

.btn--secondary {
  background: transparent;
  color: var(--yb-accent);
  border-color: var(--yb-accent);
}

.btn--secondary:hover {
  background: var(--yb-accent);
  color: white;
}

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
  background: #fff;
  color: #0F0F0F;
  border-color: #fff;
}

/* ========================================
   MONTH CHIPS (Course Pages)
   ======================================== */

.yb-month-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.yb-month-chip {
  position: relative;
  cursor: pointer;
}

.yb-month-chip input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.yb-month-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 2px solid #E8E4E0;
  background: #fff;
  font-weight: 700;
  font-size: 15px;
  color: #1C1C1C;
  transition: all 0.15s ease;
}

.yb-month-chip:hover span {
  border-color: var(--yb-accent);
  color: var(--yb-accent);
}

.yb-month-chip input[type="radio"]:checked + span {
  background: var(--yb-accent);
  color: #fff;
  border-color: var(--yb-accent);
  box-shadow: 0 4px 14px rgba(247, 92, 3, 0.25);
}

.yb-month-chip input[type="radio"]:focus-visible + span {
  outline: 3px solid var(--yb-accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .yb-month-chips {
    flex-direction: column;
  }

  .yb-month-chip span {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   FOOTER
   ======================================== */

#site-footer {
  background: #1C1C1C;
  color: #FDFBF7;
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
}

/* ========================================
   FOOTER STYLES
   ======================================== */

.yb-footer {
  background: #F75C03;
  color: #1C1C1C;
  font-family: "Helvetica Neue", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  text-transform: none;
}

.yb-footer-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 40px 20px 26px;
}

.yb-footer-top {
  margin-bottom: 40px;
}

.yb-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 32px 40px;
}

.yb-col {
  border: none;
}

.yb-col-header {
  width: 100%;
  padding: 0 0 10px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.08em;
  cursor: default;
  color: #1C1C1C !important;
  text-transform: uppercase !important;
}

.yb-col-title,
.yb-col-toggle {
  color: #1C1C1C !important;
}

.yb-col-toggle {
  font-size: 12px;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 0.2s ease;
  opacity: 0;
}

.yb-col-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yb-footer-link {
  text-decoration: none;
  color: #1C1C1C !important;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.03em;
  position: relative;
  text-transform: uppercase !important;
}

.yb-footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #1C1C1C;
  transition: width 0.18s ease;
}

.yb-footer-link:hover::after,
.yb-footer-link:focus-visible::after {
  width: 100%;
}

.yb-site-block {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 10px;
}

.yb-site-sub {
  font-size: 11px;
  opacity: 0.8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.yb-site-email {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1C1C1C !important;
  position: relative;
}

.yb-site-email::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #1C1C1C;
  transition: width 0.18s ease;
}

.yb-site-email:hover::after,
.yb-site-email:focus-visible::after {
  width: 100%;
}

.yb-contact-meta {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yb-contact-link {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1C1C1C !important;
  position: relative;
}

.yb-contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #1C1C1C;
  transition: width 0.18s ease;
}

.yb-contact-link:hover::after,
.yb-contact-link:focus-visible::after {
  width: 100%;
}

.yb-app-icons {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.yb-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.yb-app-icon-img {
  display: block;
  height: 26px;
  width: auto;
}

.yb-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.yb-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 500;
  text-transform: uppercase;
}

.yb-meta-item {
  white-space: nowrap;
}

.yb-footer-mark {
  overflow: hidden;
  perspective: 800px;
}

.yb-footer-logo {
  display: block;
  width: min(100%, 720px);
  height: auto;
  transform: translateY(40%) rotateX(25deg) scale(0.92);
  opacity: 0;
  filter: blur(4px);
  transform-origin: center bottom;
  transition:
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease,
    filter 0.8s ease;
}

.yb-footer-mark.is-visible .yb-footer-logo {
  transform: translateY(0) rotateX(0deg) scale(1);
  opacity: 1;
  filter: blur(0);
}

/* Language Switcher */
.yb-footer-lang {
  display: flex;
  align-items: center;
  gap: 6px;
}

.yb-footer-lang__btn {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-weight: 600;
  font-size: inherit;
  transition: color 0.15s;
}

.yb-footer-lang__btn:hover {
  color: #f75c03;
}

.yb-footer-lang__btn.is-active {
  color: rgba(255,255,255,.85);
}

.yb-footer-lang__sep {
  color: rgba(255,255,255,.25);
}

@media (max-width: 768px) {
  .yb-footer-inner {
    padding: 20px 16px 16px;
  }

  .yb-footer-top {
    margin-bottom: 16px;
  }

  .yb-columns {
    display: block;
  }

  .yb-col {
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
  }

  .yb-col:last-of-type {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  }

  .yb-col-header {
    padding: 11px 0;
    cursor: pointer;
    font-size: 12px;
  }

  .yb-col-toggle {
    opacity: 1;
  }

  .yb-col-body {
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    transition: max-height 0.25s ease;
  }

  .yb-col.yb-col--open .yb-col-body {
    max-height: 500px;
    padding-bottom: 8px;
  }

  .yb-col.yb-col--open .yb-col-toggle {
    transform: rotate(180deg);
  }

  .yb-footer-bottom {
    gap: 14px;
  }

  .yb-footer-meta {
    font-size: 10px;
    flex-wrap: wrap;
    row-gap: 4px;
  }

  .yb-footer-logo {
    width: min(100%, 420px);
  }

  .yb-app-icon-img {
    height: 24px;
  }
}

/* ========================================
   MODAL STYLES
   ======================================== */

#yb-schedule-modal,
#yb-schedule-modal * {
  box-sizing: border-box !important;
}

#yb-schedule-modal {
  --yb-primary: #f75c03;
  --yb-primary-dark: #e05402;
  --yb-ink: #161616;
  --yb-muted: #6F6A66;
  --yb-border: #e5e0db;
  --yb-surface: #FFFCF9;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  color: var(--yb-ink);
}

#yb-schedule-modal {
  display: none;
}

#yb-schedule-modal[aria-hidden="false"] {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 2147483647 !important;
}

#yb-schedule-modal .yb-modal-u__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 0;
}

#yb-schedule-modal .yb-modal-u__box {
  position: relative;
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 16px;
  border: 1px solid var(--yb-border) !important;
  background: #fff !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2) !important;
  padding: 1.75rem;
  z-index: 1;
}

#yb-schedule-modal .yb-modal-u__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--yb-border) !important;
  background: #fff !important;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yb-ink) !important;
  transition: all 0.15s ease;
  z-index: 10;
  padding: 0;
  margin: 0;
}

#yb-schedule-modal .yb-modal-u__close:hover {
  background: var(--yb-surface) !important;
  border-color: var(--yb-primary) !important;
  color: var(--yb-primary) !important;
}

#yb-schedule-modal h3 {
  margin: 0 0 0.5rem !important;
  padding-right: 2.5rem;
  font-size: 1.35rem !important;
  font-weight: 800 !important;
  color: var(--yb-ink) !important;
}

#yb-schedule-modal .yb-modal-u__lead {
  margin: 0 0 1.5rem !important;
  color: #444 !important;
  line-height: 1.55 !important;
  font-size: 0.95rem !important;
}

#yb-schedule-modal .yb-modal-u__hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}

#yb-schedule-modal .yb-modal-u__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

#yb-schedule-modal .yb-modal-u__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

#yb-schedule-modal .yb-modal-u__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

#yb-schedule-modal .yb-modal-u__field > span {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--yb-muted) !important;
}

#yb-schedule-modal .yb-modal-u__field input {
  width: 100% !important;
  height: 48px !important;
  border: 1px solid var(--yb-border) !important;
  border-radius: 12px !important;
  padding: 0 1rem !important;
  font-size: 16px !important;
  background: #fff !important;
  color: var(--yb-ink) !important;
  outline: none !important;
  -webkit-appearance: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#yb-schedule-modal .yb-modal-u__field input:focus {
  border-color: var(--yb-primary) !important;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12) !important;
}

#yb-schedule-modal .yb-modal-u__phone {
  display: flex;
  gap: 0.5rem;
}

#yb-schedule-modal .yb-modal-u__prefix {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 48px;
  background: #f5f5f5 !important;
  border: 1px solid var(--yb-border) !important;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #333;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  padding: 0 0.5rem;
  font-family: inherit;
  font-weight: 600;
}

#yb-schedule-modal .yb-modal-u__phone input {
  flex: 1;
}

#yb-schedule-modal .yb-modal-u__section {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

#yb-schedule-modal .yb-modal-u__label {
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--yb-primary) !important;
}

#yb-schedule-modal .yb-modal-u__formats {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

#yb-schedule-modal .yb-modal-u__format {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border: 2px solid var(--yb-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  background: #fff;
}

#yb-schedule-modal .yb-modal-u__format:hover {
  border-color: var(--yb-primary);
}

#yb-schedule-modal .yb-modal-u__format:has(input:checked) {
  border-color: var(--yb-primary);
  background: rgba(247, 92, 3, 0.04);
}

#yb-schedule-modal .yb-modal-u__format input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

#yb-schedule-modal .yb-modal-u__checkbox {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid #ccc;
  border-radius: 6px;
  position: relative;
  transition: all 0.15s ease;
}

#yb-schedule-modal .yb-modal-u__format:has(input:checked) .yb-modal-u__checkbox {
  background: var(--yb-primary);
  border-color: var(--yb-primary);
}

#yb-schedule-modal .yb-modal-u__format:has(input:checked) .yb-modal-u__checkbox::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

#yb-schedule-modal .yb-modal-u__format-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#yb-schedule-modal .yb-modal-u__format-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yb-ink);
}

#yb-schedule-modal .yb-modal-u__format-text small {
  font-size: 0.82rem;
  color: var(--yb-muted);
}

#yb-schedule-modal .yb-modal-u__acc-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--yb-border);
  border-radius: 12px;
  background: #fff;
}

#yb-schedule-modal .yb-modal-u__acc-row > span {
  font-size: 0.9rem;
  color: var(--yb-ink);
}

#yb-schedule-modal .yb-modal-u__toggle {
  display: flex;
  gap: 0.4rem;
}

#yb-schedule-modal .yb-modal-u__toggle-btn {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--yb-border);
  background: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  color: #333;
  transition: all 0.15s ease;
}

#yb-schedule-modal .yb-modal-u__toggle-btn.is-active {
  background: var(--yb-primary);
  border-color: var(--yb-primary);
  color: #fff;
}

#yb-schedule-modal .yb-modal-u__city {
  width: 100% !important;
  height: 48px !important;
  border: 1px solid var(--yb-border) !important;
  border-radius: 12px !important;
  padding: 0 1rem !important;
  font-size: 16px !important;
  background: #fff !important;
  color: var(--yb-ink) !important;
  outline: none !important;
  margin-top: 0.5rem;
  -webkit-appearance: none;
}

#yb-schedule-modal .yb-modal-u__city:focus {
  border-color: var(--yb-primary) !important;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12) !important;
}

#yb-schedule-modal .yb-modal-u__city[hidden] {
  display: none !important;
}

#yb-schedule-modal .yb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  min-height: 50px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}

#yb-schedule-modal .yb-btn--cta {
  background: var(--yb-primary) !important;
  color: #fff !important;
  border-color: var(--yb-primary) !important;
  box-shadow: 0 4px 16px rgba(247, 92, 3, 0.3);
  width: 100%;
}

#yb-schedule-modal .yb-btn--cta:hover {
  background: var(--yb-primary-dark) !important;
  border-color: var(--yb-primary-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(247, 92, 3, 0.35);
}

#yb-schedule-modal .yb-btn--cta:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

#yb-schedule-modal .yb-btn--outline {
  background: #fff !important;
  color: var(--yb-primary) !important;
  border-color: var(--yb-primary) !important;
}

#yb-schedule-modal .yb-btn--outline:hover {
  background: var(--yb-primary) !important;
  color: #fff !important;
}

#yb-schedule-modal .yb-modal-u__fine {
  margin: 0 !important;
  color: var(--yb-muted) !important;
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
  text-align: center;
}

#yb-schedule-modal .yb-modal-u__fine a {
  color: var(--yb-primary) !important;
  text-decoration: none;
}

#yb-schedule-modal .yb-modal-u__error {
  margin: 0 0 1rem !important;
  padding: 0.85rem 1rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  font-size: 0.9rem !important;
  color: #991B1B !important;
  line-height: 1.5 !important;
}

#yb-schedule-modal .yb-modal-u__error a {
  color: var(--yb-primary) !important;
}

#yb-schedule-modal .yb-modal-u__success {
  text-align: center;
  padding: 2rem 1rem;
}

#yb-schedule-modal .yb-modal-u__success-icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--yb-primary);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

#yb-schedule-modal .yb-modal-u__success h3 {
  margin: 0 0 0.5rem !important;
  font-size: 1.3rem !important;
  padding-right: 0;
}

#yb-schedule-modal .yb-modal-u__success p {
  margin: 0 0 1.5rem !important;
  color: #444 !important;
  line-height: 1.55 !important;
}

#yb-schedule-modal .yb-modal-u__success .yb-btn {
  width: auto;
  min-width: 140px;
}

@media (max-width: 599px) {
  #yb-schedule-modal[aria-hidden="false"] {
    padding: 0.75rem;
    align-items: flex-start;
    padding-top: 1rem;
  }

  #yb-schedule-modal .yb-modal-u__box {
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    padding: 1.25rem;
    border-radius: 14px;
  }

  #yb-schedule-modal .yb-modal-u__close {
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  #yb-schedule-modal h3 {
    font-size: 1.15rem !important;
    padding-right: 2rem;
  }

  #yb-schedule-modal .yb-modal-u__lead {
    font-size: 0.88rem !important;
    margin-bottom: 1.25rem !important;
  }

  #yb-schedule-modal .yb-modal-u__grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  #yb-schedule-modal .yb-modal-u__form {
    gap: 1rem;
  }

  #yb-schedule-modal .yb-modal-u__field > span {
    font-size: 0.8rem !important;
  }

  #yb-schedule-modal .yb-modal-u__field input,
  #yb-schedule-modal .yb-modal-u__prefix {
    height: 46px !important;
  }

  #yb-schedule-modal .yb-modal-u__format {
    padding: 0.85rem;
  }

  #yb-schedule-modal .yb-modal-u__format-text strong {
    font-size: 0.88rem;
  }

  #yb-schedule-modal .yb-modal-u__format-text small {
    font-size: 0.78rem;
  }

  #yb-schedule-modal .yb-modal-u__acc-row {
    padding: 0.85rem;
  }

  #yb-schedule-modal .yb-modal-u__acc-row > span {
    font-size: 0.85rem;
  }

  #yb-schedule-modal .yb-modal-u__city {
    height: 46px !important;
  }

  #yb-schedule-modal .yb-btn {
    min-height: 48px;
    font-size: 0.95rem;
  }

  #yb-schedule-modal .yb-modal-u__fine {
    font-size: 0.72rem !important;
  }
}

@media (max-width: 380px) {
  #yb-schedule-modal[aria-hidden="false"] {
    padding: 0.5rem;
    padding-top: 0.75rem;
  }

  #yb-schedule-modal .yb-modal-u__box {
    padding: 1rem;
  }

  #yb-schedule-modal h3 {
    font-size: 1.05rem !important;
  }
}

@supports (-webkit-touch-callout: none) {
  #yb-schedule-modal .yb-modal-u__box {
    padding-bottom: 2rem;
  }
}

/* ========================================
   PROGRAM PAGES
   ======================================== */

.program-hero {
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
  color: #FDFBF7;
  padding: clamp(100px, 14vw, 140px) 20px clamp(48px, 8vw, 80px);
  text-align: center;
}

.program-hero__badge {
  display: inline-block;
  background: var(--yb-accent);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.program-hero__title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.program-hero__subtitle {
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  color: rgba(253, 251, 247, 0.8);
}

.program-hero__meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  font-size: 14px;
}

.program-hero__meta-item strong {
  color: var(--yb-accent);
  margin-right: 5px;
}

.program-hero__cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.program-overview {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: white;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(32px, 6vw, 60px);
}

.program-feature {
  text-align: center;
}

.program-feature__icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.program-feature h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1C1C1C;
}

.program-feature p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

.program-schedule {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: #f9f9f9;
}

.schedule-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(20px, 3vw, 30px);
  margin: clamp(32px, 6vw, 60px) 0 clamp(24px, 4vw, 40px);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-card {
  background: white;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.schedule-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1C1C1C;
}

.schedule-card__time {
  color: var(--yb-accent);
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.schedule-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.schedule-card li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #444;
}

.schedule-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--yb-accent);
  font-weight: 700;
}

.schedule-cta {
  text-align: center;
}

.program-curriculum {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: white;
}

.curriculum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: clamp(20px, 3vw, 30px);
  margin-top: clamp(32px, 6vw, 60px);
}

.curriculum-module {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 30px;
  border-left: 4px solid var(--yb-accent);
}

.curriculum-module h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1C1C1C;
}

.curriculum-module p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

.program-investment {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: #f9f9f9;
}

.investment-box {
  max-width: 700px;
  margin: clamp(32px, 6vw, 60px) auto 0;
  background: white;
  border-radius: 20px;
  padding: clamp(28px, 5vw, 50px) clamp(20px, 4vw, 40px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.investment-price {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 2px solid #f0f0f0;
}

.investment-price__amount {
  display: block;
  font-size: clamp(42px, 6vw, 56px);
  font-weight: 700;
  color: var(--yb-accent);
  margin-bottom: 10px;
}

.investment-price__label {
  font-size: 16px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.investment-includes,
.investment-payment {
  text-align: left;
  margin-bottom: 30px;
}

.investment-includes h4,
.investment-payment p strong {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
  color: #1C1C1C;
}

.investment-includes ul,
.investment-payment ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.investment-includes li,
.investment-payment li {
  padding: 10px 0;
  color: #444;
  font-size: 15px;
}

.investment-box .btn {
  margin-top: 20px;
  width: 100%;
}

.program-faq {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: white;
}

.faq-list {
  max-width: 800px;
  margin: clamp(32px, 6vw, 60px) auto 0;
}

.faq-item {
  background: #f9f9f9;
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-item summary {
  padding: 25px 30px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  color: #1C1C1C;
  list-style: none;
  position: relative;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--yb-accent);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  padding: 0 30px 25px;
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
}

@media (max-width: 768px) {
  .program-hero__meta {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .faq-item summary {
    padding: 20px 24px;
    font-size: 16px;
    padding-right: 50px;
  }

  .faq-item summary::after {
    right: 24px;
  }

  .faq-item p {
    padding: 0 24px 20px;
    font-size: 15px;
  }
}

/* ========================================
   COMING SOON PAGES (300-hour)
   ======================================== */

.coming-soon-hero {
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
  color: #FDFBF7;
  padding: clamp(100px, 14vw, 140px) 20px clamp(48px, 8vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coming-soon-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(247, 92, 3, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.coming-soon-badge {
  display: inline-block;
  background: rgba(247, 92, 3, 0.2);
  border: 2px solid var(--yb-accent);
  color: var(--yb-accent);
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 30px;
}

.coming-soon-title {
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1;
  position: relative;
  z-index: 1;
}

.coming-soon-subtitle {
  font-size: clamp(18px, 2.5vw, 22px);
  margin-bottom: 50px;
  color: rgba(253, 251, 247, 0.85);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-meta {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  font-size: 14px;
}

.coming-soon-meta-item strong {
  color: var(--yb-accent);
  margin-right: 6px;
}

.waitlist-section {
  padding: 100px 20px;
  background: #f9f9f9;
}

.waitlist-form {
  max-width: 700px;
  margin: 60px auto 0;
  background: white;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.waitlist-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.waitlist-form__field {
  margin-bottom: 20px;
}

.waitlist-form__field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.waitlist-form input,
.waitlist-form select,
.waitlist-form textarea {
  width: 100%;
  height: 50px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 0 18px;
  font-size: 16px;
  background: #fff;
  color: #1C1C1C;
  outline: none;
  transition: border-color 0.2s ease;
  font-family: var(--font-primary);
}

.waitlist-form textarea {
  height: auto;
  padding: 14px 18px;
  resize: vertical;
}

.waitlist-form input:focus,
.waitlist-form select:focus,
.waitlist-form textarea:focus {
  border-color: var(--yb-accent);
}

.waitlist-form .btn {
  width: 100%;
  margin-top: 10px;
}

.waitlist-form__fine {
  margin: 20px 0 0 !important;
  text-align: center;
  font-size: 13px;
  color: #888;
}

.waitlist-form__fine a {
  color: var(--yb-accent);
  text-decoration: none;
}

@media (max-width: 768px) {
  .coming-soon-hero {
    padding: 120px 20px 60px;
  }

  .coming-soon-meta {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .waitlist-section {
    padding: 60px 20px;
  }

  .waitlist-form {
    padding: 40px 24px;
  }

  .waitlist-form__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ========================================
   LEGAL PAGES
   ======================================== */

.yb-legal-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.yb-legal-content h2 {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: #161616;
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e0db;
}

.yb-legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #161616;
  margin-top: 24px;
  margin-bottom: 8px;
}

.yb-legal-content p {
  margin-bottom: 16px;
  color: #3a3a3a;
}

.yb-legal-content ul {
  margin: 0 0 16px 24px;
  padding: 0;
}

.yb-legal-content ul li {
  margin-bottom: 8px;
  color: #3a3a3a;
}

.yb-legal-content a {
  color: var(--yb-brand);
  text-decoration: underline;
}

.yb-legal-meta {
  font-size: 0.85rem;
  color: #6F6A66;
  margin-bottom: 24px;
  font-style: italic;
}

/* ========================================
   GLOSSARY v3 — Professional grid layout
   ======================================== */

.yb-glossary {
  max-width: 1240px;
  margin: 0 auto;
}

/* ── Controls bar: scope toggle ── */
.yb-glossary__controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

/* Scope toggle (segmented control) */
.yb-glossary__scope {
  display: inline-flex;
  background: #f0eeec;
  border-radius: 999px;
  padding: 4px;
}

.yb-glossary__scope-btn {
  padding: 10px 24px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6F6A66;
  font-size: 0.88rem;
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.yb-glossary__scope-btn:hover {
  color: #3a3a3a;
}

.yb-glossary__scope-btn.active {
  background: var(--yb-brand);
  color: #fff;
  box-shadow: 0 2px 10px rgba(var(--yb-brand-rgb), 0.3);
}

/* ── Search ── */
.yb-glossary__search {
  position: relative;
  margin-bottom: 20px;
}

.yb-glossary__search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #9a9590;
  pointer-events: none;
  z-index: 1;
}

.yb-glossary__input {
  width: 100%;
  padding: 14px 24px 14px 50px;
  border: 2px solid #e5e0db;
  border-radius: 999px;
  font-size: 1rem;
  font-family: var(--font-primary);
  background: #fff;
  color: #161616;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yb-glossary__input:focus {
  outline: none;
  border-color: var(--yb-brand);
  box-shadow: 0 0 0 4px rgba(var(--yb-brand-rgb), 0.1);
}

/* ── Category filters ── */
.yb-glossary__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.yb-glossary__filter-btn {
  padding: 8px 18px;
  border: 2px solid #e5e0db;
  border-radius: 999px;
  background: #fff;
  color: #3a3a3a;
  font-size: 0.85rem;
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yb-glossary__filter-btn:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}

.yb-glossary__filter-btn:focus-visible {
  outline: 2px solid var(--yb-brand);
  outline-offset: 2px;
}

.yb-glossary__filter-btn.active {
  background: var(--yb-brand);
  color: #fff;
  border-color: var(--yb-brand);
}

/* ── Sub-filters ── */
.yb-glossary__subfilters {
  background: #faf9f7;
  border: 1px solid #ece8e4;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
}

.yb-glossary__subfilter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.yb-glossary__subfilter-row:last-child {
  margin-bottom: 0;
}

.yb-glossary__subfilter-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8a8580;
  min-width: 70px;
  flex-shrink: 0;
}

.yb-glossary__subfilter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.yb-glossary__chip {
  padding: 5px 14px;
  border: 1px solid #ddd8d4;
  border-radius: 999px;
  background: #fff;
  color: #6F6A66;
  font-size: 0.78rem;
  font-family: var(--font-primary);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yb-glossary__chip:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}

.yb-glossary__chip.active {
  background: #1C1C1C;
  color: #fff;
  border-color: #1C1C1C;
}

/* ── Toolbar: A-Z + count ── */
.yb-glossary__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #ece8e4;
}

.yb-glossary__count {
  font-size: 0.82rem;
  color: #8a8580;
  margin: 0;
  white-space: nowrap;
  font-weight: 500;
}

.yb-glossary__alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.yb-glossary__alpha-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(var(--yb-brand-rgb), 0.07);
  color: var(--yb-brand);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.yb-glossary__alpha-btn:hover {
  background: var(--yb-brand);
  color: #fff;
  transform: scale(1.08);
}

/* ── Letter headings (span full grid) ── */
.yb-glossary__letter {
  grid-column: 1 / -1;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yb-brand);
  padding: 24px 0 10px;
  border-bottom: 2px solid rgba(var(--yb-brand-rgb), 0.12);
  scroll-margin-top: calc(var(--header-height) + 20px);
}

/* ── Results grid: 3 columns ── */
.yb-glossary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: start;
}

/* ── Card ── */
.yb-glossary__card {
  background: #fff;
  border: 1px solid #e8e4e0;
  border-radius: 14px;
  padding: 20px;
  transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
  position: relative;
}

.yb-glossary__card:hover {
  border-color: rgba(var(--yb-brand-rgb), 0.4);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.yb-glossary__card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.yb-glossary__term {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: #161616;
  margin: 0;
  line-height: 1.3;
}

.yb-glossary__cat {
  display: inline-block;
  flex-shrink: 0;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yb-brand);
  font-weight: 700;
  background: rgba(var(--yb-brand-rgb), 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 3px;
}

.yb-glossary__pron {
  font-size: 0.78rem;
  font-style: italic;
  color: #9a9590;
  margin-bottom: 8px;
  line-height: 1.3;
}

/* ── Names (EN / DA translations) ── */
.yb-glossary__names {
  font-size: 0.84rem;
  color: #6F6A66;
  margin-bottom: 10px;
  line-height: 1.5;
}

.yb-glossary__names-sep {
  margin: 0 4px;
  color: #ccc;
}

/* ── Meta tags ── */
.yb-glossary__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.yb-glossary__tag {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e5e0db;
  background: #faf9f7;
  color: #6F6A66;
}

.yb-glossary__tag--styles {
  text-transform: none;
  font-size: 0.7rem;
  letter-spacing: 0;
  border-color: #d0d8e8;
  background: #eef2fa;
  color: #4a5a80;
}

/* Level badges */
.yb-glossary__level {
  display: inline-block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.yb-glossary__level--beginner {
  border: 1px solid #b8d8ba;
  background: #eef6ee;
  color: #3d7a40;
}

.yb-glossary__level--intermediate {
  border: 1px solid #d4c49a;
  background: #faf5e8;
  color: #8a7030;
}

.yb-glossary__level--advanced {
  border: 1px solid #d4a0a0;
  background: #faf0f0;
  color: #8a3030;
}

/* ── Description ── */
.yb-glossary__desc {
  color: #3a3a3a;
  margin: 0;
  line-height: 1.6;
  font-size: 0.88rem;
}

/* ── Expandable details ── */
.yb-glossary__detail {
  margin-top: 10px;
  border-top: 1px solid #ece8e4;
  padding-top: 6px;
}

.yb-glossary__detail summary {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yb-brand);
  cursor: pointer;
  padding: 4px 0;
  list-style: none;
}

.yb-glossary__detail summary::-webkit-details-marker {
  display: none;
}

.yb-glossary__detail summary::before {
  content: '+ ';
}

.yb-glossary__detail[open] summary::before {
  content: '\2212  ';
}

.yb-glossary__detail-body {
  padding: 6px 0 2px;
}

.yb-glossary__detail-body p {
  font-size: 0.84rem;
  line-height: 1.6;
  color: #3a3a3a;
  margin: 0 0 4px;
}

/* ── Search highlight ── */
.yb-glossary__card mark {
  background: rgba(var(--yb-brand-rgb), 0.18);
  color: inherit;
  border-radius: 2px;
  padding: 0 2px;
}

/* ── Load more ── */
.yb-glossary__more-btn {
  margin: 32px auto 0;
  display: block;
}

/* ── Empty / loading ── */
.yb-glossary__empty,
.yb-glossary__loading {
  text-align: center;
  color: #8a8580;
  padding: 60px 0;
  grid-column: 1 / -1;
  font-size: 0.95rem;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .yb-glossary__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 768px) {
  .yb-glossary__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .yb-glossary__scope {
    width: 100%;
  }

  .yb-glossary__scope-btn {
    flex: 1;
    text-align: center;
    font-size: 0.84rem;
    padding: 10px 12px;
  }

  .yb-glossary__filters {
    gap: 6px;
  }

  .yb-glossary__filter-btn {
    font-size: 0.78rem;
    padding: 6px 12px;
  }

  .yb-glossary__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .yb-glossary__card {
    padding: 16px;
  }

  .yb-glossary__alpha-btn {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .yb-glossary__toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .yb-glossary__subfilters {
    padding: 12px 14px;
  }

  .yb-glossary__subfilter-row {
    gap: 6px;
  }

  .yb-glossary__subfilter-label {
    min-width: auto;
    width: 100%;
  }

  .yb-glossary__chip {
    font-size: 0.72rem;
    padding: 4px 10px;
  }
}

/* ========================================================================
   HOMEPAGE - PREMIUM "THE SOURCE" DESIGN
   ======================================================================== */

/* -----------------------------------------------------------------
   HERO SECTION
   Cinematic dark centered hero with breathing glow
   Supports optional video/image background with overlay
   ----------------------------------------------------------------- */

.yb-hero {
  position: relative;
  min-height: calc(100vh - 107px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1C1C1C;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

/* Optional background media (video or image) */
.yb-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.yb-hero__bg video,
.yb-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark overlay for readability over video/image */
.yb-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.65) 0%, rgba(28, 28, 28, 0.75) 100%);
}

/* Breathing orange glow */
.yb-hero__glow {
  position: absolute;
  width: min(800px, 100vw);
  height: min(800px, 100vw);
  background: radial-gradient(circle, rgba(247, 92, 3, 0.15) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: yb-hero-breathe 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes yb-hero-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 0.8; }
}

.yb-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 clamp(16px, 5vw, 24px);
}

/* Flanking-lines tagline eyebrow */
.yb-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: clamp(6px, 2vw, 12px);
  font-size: clamp(0.6rem, 1.8vw, 0.7rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-bottom: clamp(16px, 4vw, 28px);
}

.yb-hero__tagline::before,
.yb-hero__tagline::after {
  content: "";
  width: clamp(20px, 5vw, 40px);
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
}

/* Gradient title: warm white → light orange → brand orange */
.yb-hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 24px;
  padding-bottom: 0.05em;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FDFBF7 0%, #ff9966 50%, var(--yb-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yb-hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  opacity: 0.85;
  max-width: 650px;
  margin: 0 auto 0;
  line-height: 1.7;
}

/* Thin separator line below subtitle */
.yb-hero__line {
  width: 100%;
  max-width: 650px;
  height: 1px;
  background: rgba(253, 251, 247, 0.1);
  margin: clamp(20px, 5vw, 40px) auto clamp(24px, 5vw, 44px);
}

.yb-hero__ctas {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 3vw, 16px);
  flex-wrap: wrap;
  margin-bottom: clamp(20px, 5vw, 40px);
}

.yb-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 2vw, 12px);
  flex-wrap: wrap;
  font-size: clamp(0.65rem, 2vw, 0.8rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.yb-hero__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yb-brand);
}

/* Floating scroll indicator */
.yb-hero__scroll {
  position: absolute;
  bottom: clamp(16px, 4vw, 40px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 1.5vw, 12px);
  font-size: clamp(0.55rem, 1.5vw, 0.7rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
  animation: yb-hero-float 3s ease-in-out infinite;
}

.yb-hero__scroll-line {
  width: 1px;
  height: clamp(24px, 5vw, 50px);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
}

@keyframes yb-hero-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ── Hero responsive: tablet ── */
@media (max-width: 768px) {
  .yb-hero {
    min-height: calc(100vh - 80px);
    min-height: calc(100svh - 80px);
  }

  .yb-hero__title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .yb-hero__subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    max-width: 90%;
  }

  .yb-hero__trust-dot {
    display: none;
  }

  .yb-hero__trust {
    flex-direction: column;
    gap: 4px;
  }

  .yb-hero__scroll {
    display: none;
  }
}

/* ── Hero responsive: mobile ── */
@media (max-width: 600px) {
  .yb-hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .yb-hero__ctas .yb-btn {
    width: 100%;
    max-width: 340px;
  }

  .yb-hero__ctas .yb-btn.yb-btn--large {
    padding: 14px 28px;
    font-size: 0.88rem;
  }
}

/* ── Hero responsive: small mobile ── */
@media (max-width: 420px) {
  .yb-hero {
    min-height: calc(100svh - 60px);
  }

  .yb-hero__tagline::before,
  .yb-hero__tagline::after {
    display: none;
  }

  .yb-hero__title {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
    margin-bottom: 16px;
  }

  .yb-hero__subtitle {
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .yb-hero__scroll {
    display: none;
  }
}

/* ── Hero responsive: short viewports (landscape phones) ── */
@media (max-height: 600px) {
  .yb-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 20px 0;
  }

  .yb-hero__scroll {
    display: none;
  }

  .yb-hero__line {
    margin: 16px auto 20px;
  }

  .yb-hero__tagline {
    margin-bottom: 12px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   YOGA BIBLE HISTORIE PAGE — (.ybh-)
   ═══════════════════════════════════════════════════════════════ */

/* ── 2. Philosophy — Split Dark/Light ── */
.ybh-philosophy {
  position: relative;
  overflow: hidden;
}

.ybh-philosophy__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
}

.ybh-philosophy__left {
  background: #0F0F0F;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 4vw, 48px);
}

.ybh-philosophy__number {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(135deg, #FDFBF7 0%, #ff9966 50%, var(--yb-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ybh-philosophy__label {
  font-size: clamp(0.7rem, 1.5vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

.ybh-philosophy__right {
  background: #F5F3F0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 8vw, 80px) clamp(24px, 4vw, 56px);
}

.ybh-philosophy__logo {
  width: 140px;
  height: auto;
  margin-bottom: 28px;
  opacity: 0.9;
}

.ybh-philosophy__text {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.8;
  color: #3a3a3a;
  margin: 0 0 24px;
}

.ybh-philosophy__quote {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-style: italic;
  color: #0F0F0F;
  border-left: 3px solid var(--yb-brand);
  padding: 12px 0 12px 20px;
  margin: 0;
  line-height: 1.6;
}

/* Vine SVG between sections */
.ybh-vine {
  display: block;
  width: 60px;
  height: 120px;
  margin: -20px auto -20px;
  position: relative;
  z-index: 2;
}

.ybh-vine__path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1.5s ease;
}

.ybh-vine--drawn .ybh-vine__path {
  stroke-dashoffset: 0;
}

/* ── 3. Essence — Three-Step Timeline ── */
.ybh-essence {
  padding: clamp(60px, 10vw, 120px) 20px;
  background: #FFFCF9;
}

.ybh-essence__eyebrow {
  text-align: center;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin: 0 0 12px;
}

.ybh-essence__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 clamp(40px, 6vw, 72px);
}

.ybh-essence__timeline {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  padding-left: 48px;
}

.ybh-essence__line {
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--yb-brand), rgba(247, 92, 3, 0.15));
}

.ybh-essence__step {
  position: relative;
  padding: 0 0 48px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ybh-essence__step.ybh-visible {
  opacity: 1;
  transform: translateY(0);
}

.ybh-essence__step:last-child {
  padding-bottom: 0;
}

.ybh-essence__dot {
  position: absolute;
  left: -48px;
  top: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFCF9;
  z-index: 1;
}

.ybh-essence__step-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yb-brand);
  margin-bottom: 6px;
}

.ybh-essence__content h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 8px;
}

.ybh-essence__content p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  line-height: 1.7;
  color: #6F6A66;
  margin: 0;
}

.ybh-essence__closing {
  text-align: center;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-style: italic;
  color: #0F0F0F;
  margin: clamp(40px, 6vw, 64px) 0 0;
  opacity: 0.85;
}

/* ── 4. Origin — Full-Width Cinematic ── */
.ybh-origin {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 20px;
  overflow: hidden;
}

.ybh-origin__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ybh-origin__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ybh-origin__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.82) 0%, rgba(15, 15, 15, 0.9) 100%);
  z-index: 1;
}

.ybh-origin__inner {
  position: relative;
  z-index: 2;
}

.ybh-origin__eyebrow {
  text-align: center;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin: 0 0 12px;
}

.ybh-origin__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 clamp(40px, 6vw, 64px);
}

.ybh-origin__cards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 32px);
  max-width: 900px;
  margin: 0 auto;
}

.ybh-origin__card {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ybh-origin__card.ybh-visible {
  opacity: 1;
  transform: translateY(0);
}

.ybh-origin__card--current {
  border-color: rgba(247, 92, 3, 0.4);
}

.ybh-origin__year {
  display: inline-block;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 700;
  background: linear-gradient(135deg, #FDFBF7 0%, #ff9966 60%, var(--yb-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.ybh-origin__name {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.ybh-origin__card p {
  font-size: clamp(0.85rem, 1.4vw, 0.95rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.ybh-origin__badge {
  display: block;
  width: 80px;
  height: auto;
  margin-top: 16px;
  opacity: 0.8;
  border-radius: 4px;
}

.ybh-origin__connector {
  flex-shrink: 0;
  color: var(--yb-brand);
}

.ybh-origin__note {
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  margin: clamp(32px, 5vw, 48px) 0 0;
}

/* ── 5. Stats — Animated Counters ── */
.ybh-stats {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: #F5F3F0;
}

.ybh-stats__eyebrow {
  text-align: center;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin: 0 0 clamp(32px, 5vw, 48px);
}

.ybh-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 32px);
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.ybh-stats__item {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.ybh-stats__item.ybh-visible {
  opacity: 1;
  transform: scale(1);
}

.ybh-stats__value {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #0F0F0F;
  line-height: 1;
}

.ybh-stats__plus,
.ybh-stats__star {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--yb-brand);
}

.ybh-stats__label {
  display: block;
  font-size: clamp(0.7rem, 1.3vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6F6A66;
  margin-top: 8px;
}

/* ── 6. Concepts — Three Cards ── */
.ybh-concepts {
  padding: clamp(60px, 10vw, 120px) 20px;
  background: #FFFCF9;
}

.ybh-concepts__eyebrow {
  text-align: center;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin: 0 0 12px;
}

.ybh-concepts__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 12px;
}

.ybh-concepts__subtitle {
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: #6F6A66;
  max-width: 650px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  line-height: 1.7;
}

.ybh-concepts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 3vw, 28px);
  max-width: 1100px;
  margin: 0 auto;
}

.ybh-concepts__card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #E8E4E0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(24px);
}

.ybh-concepts__card.ybh-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.ybh-concepts__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.ybh-concepts__img {
  overflow: hidden;
  aspect-ratio: 3/2;
}

.ybh-concepts__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.ybh-concepts__card:hover .ybh-concepts__img img {
  transform: scale(1.05);
}

.ybh-concepts__info {
  padding: clamp(16px, 3vw, 24px);
}

.ybh-concepts__info h3 {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 6px;
}

.ybh-concepts__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yb-brand);
  margin-bottom: 10px;
}

.ybh-concepts__card--hyc .ybh-concepts__tag {
  color: #3f99a5;
}

.ybh-concepts__info p {
  font-size: clamp(0.85rem, 1.3vw, 0.92rem);
  line-height: 1.6;
  color: #6F6A66;
  margin: 0;
}

/* ── 7. Copenhagen — Horizontal Scroll Gallery ── */
.ybh-copenhagen {
  padding: clamp(60px, 10vw, 100px) 0;
  background: #F5F3F0;
  overflow: hidden;
}

.ybh-copenhagen .container {
  padding: 0 20px;
}

.ybh-copenhagen__eyebrow {
  text-align: center;
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin: 0 0 12px;
}

.ybh-copenhagen__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 12px;
}

.ybh-copenhagen__text {
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: #6F6A66;
  max-width: 600px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  line-height: 1.7;
}

.ybh-copenhagen__gallery {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0 20px 8px;
}

.ybh-copenhagen__gallery::-webkit-scrollbar {
  display: none;
}

.ybh-copenhagen__track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.ybh-copenhagen__track img {
  width: clamp(260px, 35vw, 380px);
  height: clamp(180px, 25vw, 260px);
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

/* ── 8. Testimonial — Dark Cinematic Quote ── */
.ybh-testimonial {
  background: #0F0F0F;
  padding: clamp(60px, 10vw, 100px) 20px;
}

.ybh-testimonial__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 56px);
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.ybh-testimonial__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1/1;
  max-width: 400px;
}

.ybh-testimonial__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ybh-testimonial__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
  padding: 0;
}

.ybh-testimonial__play:hover {
  background: rgba(247, 92, 3, 0.6);
}

.ybh-testimonial__play.ybh-hidden {
  opacity: 0;
  pointer-events: none;
}

.ybh-testimonial__eyebrow {
  font-size: clamp(0.6rem, 1.5vw, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin: 0 0 20px;
}

.ybh-testimonial__quote {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: #fff;
  line-height: 1.6;
  margin: 0 0 20px;
  border: none;
  padding: 0;
}

.ybh-testimonial__author {
  display: block;
  font-size: clamp(0.8rem, 1.3vw, 0.9rem);
  color: rgba(255, 255, 255, 0.5);
  font-style: normal;
  margin-bottom: 16px;
}

.ybh-testimonial__stars {
  display: flex;
  gap: 4px;
}

/* ── 9. FAQ — Two-Column ── */
.ybh-faq {
  padding: clamp(60px, 10vw, 100px) 20px;
  background: #FFFCF9;
}

.ybh-faq__title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 12px;
}

.ybh-faq__subtitle {
  text-align: center;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: #6F6A66;
  max-width: 600px;
  margin: 0 auto clamp(32px, 5vw, 48px);
  line-height: 1.7;
}

.ybh-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.ybh-faq__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── 10. CTA — Dark with Glow ── */
.ybh-cta {
  position: relative;
  background: #0F0F0F;
  padding: clamp(80px, 12vw, 140px) 20px;
  overflow: hidden;
  text-align: center;
}

.ybh-cta__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 92, 3, 0.12) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: yb-hero-breathe 10s ease-in-out infinite;
  pointer-events: none;
}

.ybh-cta__inner {
  position: relative;
  z-index: 1;
}

.ybh-cta__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.ybh-cta__text {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 550px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  line-height: 1.7;
}

.ybh-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 36px);
}

.ybh-cta__trust {
  font-size: clamp(0.65rem, 1.3vw, 0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

/* ── Historie responsive: tablet ── */
@media (max-width: 768px) {
  .ybh-philosophy__inner {
    grid-template-columns: 1fr;
  }

  .ybh-philosophy__left {
    padding: clamp(40px, 8vw, 60px) 24px;
  }

  .ybh-philosophy__right {
    padding: clamp(32px, 6vw, 48px) 24px;
  }

  .ybh-origin__cards {
    flex-direction: column;
  }

  .ybh-origin__connector {
    transform: rotate(90deg);
  }

  .ybh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  .ybh-concepts__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .ybh-testimonial__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ybh-testimonial__media {
    max-width: 300px;
    margin: 0 auto;
  }

  .ybh-testimonial__stars {
    justify-content: center;
  }

  .ybh-faq__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .ybh-philosophy__number {
    font-size: 4.5rem;
  }

  .ybh-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ybh-cta__buttons {
    flex-direction: column;
    align-items: center;
  }

  .ybh-cta__buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   COURSE PAGES — Unified Styles (.ybc-)
   Covers: inversions, splits, backbends
   ═══════════════════════════════════════════════════════════════ */

/* ── Theme Variables ── */
.ybc-page {
  --ybc-accent: var(--yb-brand, #f75c03);
  --ybc-accent-dark: var(--yb-brand-dark, #d94f02);
  --ybc-ink: #0f0f0f;
  --ybc-muted: #6F6A66;
  --ybc-bg: #fff;
  --ybc-sand: #F5F3F0;
  --ybc-ring: rgba(247,92,3,.26);
  --ybc-radius: 20px;
  --ybc-gutter: clamp(18px, 4vw, 28px);
}

/* ── S1: Course Details (split hero layout) ── */

.ybc-details {
  padding-block: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(247,92,3,.06), transparent 60%),
    linear-gradient(#fff, #fff);
  color: var(--ybc-ink);
}

.ybc-details__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: var(--ybc-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 920px) {
  .ybc-details__inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 72px);
  }
}

.ybc-details__content { max-width: 640px; margin-inline: auto; }

@media (min-width: 920px) {
  .ybc-details__content { max-width: none; margin-inline: 0; }
}

.ybc-eyebrow {
  margin: 0 0 .35rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
  color: var(--ybc-accent);
  font-weight: 800;
}

.ybc-title {
  margin: 0;
  font-weight: 900;
  letter-spacing: -.01em;
  line-height: 1.02;
  font-size: clamp(2.2rem, 6.5vw, 4.2rem);
}

.ybc-sub {
  margin: .15rem 0 0;
  font-weight: 800;
  letter-spacing: .08em;
  font-size: clamp(.9rem, 1.7vw, 1rem);
  text-transform: uppercase;
  color: #1f242b;
  opacity: .95;
}

.ybc-kicker {
  margin: .25rem 0 .85rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 750;
  font-size: .82rem;
  color: var(--ybc-muted);
}

.ybc-lead {
  margin: .2rem 0 .6rem;
  max-width: 60ch;
  font-size: clamp(1rem, 2.1vw, 1.125rem);
  color: #222;
  line-height: 1.6;
}

.ybc-meta {
  margin: 0 0 1rem;
  color: #333;
  opacity: .95;
  line-height: 1.6;
}

/* Pricing pill */
.ybc-price {
  display: inline-flex;
  flex-direction: column;
  gap: .25rem;
  width: fit-content;
  background: #fff;
  border: 1px solid #eff2f5;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,.05);
  padding: .5rem .7rem;
  margin: .3rem 0 .9rem;
  font-size: .94rem;
  line-height: 1.35;
}

.ybc-price__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .45rem .6rem;
}

.ybc-price__label { font-weight: 700; color: #1f232a; }

.ybc-price__value { font-weight: 800; }

.ybc-price__hint {
  font-weight: 700;
  color: #3a4250;
  background: #f6f7f9;
  border: 1px solid #e9ecf0;
  border-radius: 999px;
  padding: .14rem .46rem;
  font-size: .8rem;
  white-space: nowrap;
}

/* Month chips */
.ybc-months {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .1rem 0 1.1rem;
}

.ybc-chip {
  appearance: none;
  border: 1px solid rgba(247,92,3,.35);
  background: #fff;
  color: #111;
  padding: .48rem .78rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .06s ease, box-shadow .18s ease;
}

.ybc-chip:hover {
  background: #fff5ef;
  border-color: rgba(247,92,3,.6);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(247,92,3,.10);
}

.ybc-chip.is-active {
  background: var(--ybc-accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(247,92,3,.18);
}

.ybc-chip:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 6px var(--ybc-ring);
}

/* CTAs */
.ybc-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
}

.ybc-cta {
  display: inline-block;
  white-space: nowrap;
  padding: .8rem 1.15rem;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: .01em;
  font-size: .95rem;
  background: var(--ybc-accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(247,92,3,.22);
  transition: transform .06s ease, box-shadow .2s ease, background .15s ease;
  cursor: pointer;
}

.ybc-cta:hover {
  background: var(--ybc-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(247,92,3,.26);
}

.ybc-cta:focus-visible { outline: 0; box-shadow: 0 0 0 6px var(--ybc-ring); }

.ybc-cta--outline {
  background: #fff;
  color: var(--ybc-accent);
  border: 1px solid rgba(247,92,3,.6);
  box-shadow: none;
}

.ybc-cta--outline:hover {
  background: #fff5ef;
  border-color: var(--ybc-accent);
  color: var(--ybc-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(247,92,3,.14);
}

/* Hero image */
.ybc-details__media {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: clamp(320px, 36vw, 560px);
  justify-self: center;
  border-radius: var(--ybc-radius);
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(0,0,0,.12);
}

.ybc-details__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  background: #000;
}

.ybc-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--ybc-radius);
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.06),
    inset 0 0 0 2px rgba(247,92,3,.10);
}

@media (max-width: 919px) {
  .ybc-details__content { text-align: center; }
  .ybc-lead, .ybc-meta, .ybc-price { margin-left: auto; margin-right: auto; text-align: left; }
  .ybc-months { justify-content: center; }
  .ybc-ctas { justify-content: center; }
}


/* ── S2: 4-Week Journey (text + video + FAQ) ── */

.ybc-journey {
  display: flex;
  justify-content: center;
  padding: clamp(48px, 6vw, 96px) clamp(18px, 4vw, 28px);
  width: 100%;
  background:
    radial-gradient(circle at top left, rgba(246,93,4,0.09), transparent 55%),
    #f9f4ee;
  box-sizing: border-box;
}

.ybc-journey__inner { max-width: 1120px; width: 100%; margin: 0 auto; }

.ybc-journey__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 880px) {
  .ybc-journey__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
  }
  .ybc-journey__media {
    position: sticky;
    top: 2rem;
    align-self: start;
  }
}

.ybc-journey__text .ybc-eyebrow { margin-bottom: .6rem; }

.ybc-journey .ybc-title {
  font-size: clamp(1.7rem, 2.2vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.ybc-journey .ybc-lead {
  font-size: .98rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
  max-width: none;
}

.ybc-journey__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.ybc-journey__list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: .45rem;
  font-size: .96rem;
  line-height: 1.6;
}

.ybc-journey__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background-color: var(--ybc-accent);
}

.ybc-journey__sub {
  margin: .2rem 0 .5rem;
  font-size: .9rem;
  line-height: 1.5;
  color: #3a322b;
}

.ybc-journey__closing {
  margin: 0 0 1.6rem;
  font-size: .96rem;
  line-height: 1.6;
  color: #272425;
}

.ybc-journey__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-items: center;
  margin: 0 0 1.6rem;
}

@media (max-width: 720px) {
  .ybc-journey__ctas .ybc-cta { width: 100%; text-align: center; }
}

/* Video area */
.ybc-journey__video-wrap {
  position: relative;
  border-radius: 1.4rem;
  overflow: hidden;
  background: #000;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}

.ybc-journey__video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

@media (min-width: 880px) {
  .ybc-journey__video { aspect-ratio: auto; height: 100%; width: 100%; object-fit: cover; }
}

/* Poster overlay */
.ybc-video-poster {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  background: transparent;
  padding: 0;
}

.ybc-video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.02) contrast(1.03);
}

.ybc-video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.18), rgba(0,0,0,.12));
}

.ybc-video-poster.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease;
}

/* Play button */
.ybc-video-toggle {
  position: absolute;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: none;
  background: var(--ybc-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0,0,0,.30);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, box-shadow .18s ease, background .15s ease, left .22s ease, bottom .22s ease, top .22s ease;
  z-index: 4;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
}

.ybc-video-toggle:hover {
  background: var(--ybc-accent-dark);
  transform: translate(-50%, -50%) scale(1.03);
  box-shadow: 0 14px 34px rgba(0,0,0,.36);
}

.ybc-video-toggle.is-playing {
  width: 48px;
  height: 48px;
  left: 1rem;
  bottom: 1rem;
  top: auto;
  transform: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.ybc-video-toggle.is-playing:hover {
  background: var(--ybc-accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0,0,0,.30);
}

.ybc-video-icon { position: relative; width: 18px; height: 18px; display: inline-block; }

.ybc-video-toggle:not(.is-playing) .ybc-video-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 0;
  height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}

.ybc-video-toggle.is-playing .ybc-video-icon::before,
.ybc-video-toggle.is-playing .ybc-video-icon::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 4px;
  height: 14px;
  background: #fff;
}

.ybc-video-toggle.is-playing .ybc-video-icon::before { left: 3px; }
.ybc-video-toggle.is-playing .ybc-video-icon::after { right: 3px; }


/* ── FAQ (used in journey + bottom section) ── */

.ybc-faq {
  background: rgba(255,255,255,.9);
  border-radius: 1.2rem;
  padding: 1.3rem 1.2rem;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  margin-top: 1.8rem;
}

.ybc-faq__title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin: 0 0 .8rem;
  color: #6b5b4b;
}

.ybc-faq__item + .ybc-faq__item { border-top: 1px solid rgba(0,0,0,.06); }

.ybc-faq__toggle {
  width: 100%;
  padding: .7rem 0;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
  font-size: .9rem;
  line-height: 1.5;
  color: #2a2622;
}

.ybc-faq__toggle span:first-child { flex: 1 1 auto; }

.ybc-faq__icon {
  flex: 0 0 auto;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.15);
  position: relative;
  margin-top: .1rem;
}

.ybc-faq__icon::before,
.ybc-faq__icon::after {
  content: "";
  position: absolute;
  background: #7a6a5c;
  inset: 50%;
  transform: translate(-50%, -50%);
}

.ybc-faq__icon::before { width: .7rem; height: 1px; }
.ybc-faq__icon::after { width: 1px; height: .7rem; transition: opacity .18s ease; }

.ybc-faq__item.is-open .ybc-faq__icon::after { opacity: 0; }

.ybc-faq__panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; }

.ybc-faq__panel p {
  font-size: .9rem;
  line-height: 1.6;
  color: #51463a;
  padding: 0 0 .6rem;
  margin: 0;
}

/* Bottom standalone FAQ section */
.ybc-faq-section {
  padding: clamp(48px, 6vw, 80px) clamp(18px, 4vw, 28px);
  background: #FFFCF9;
}

.ybc-faq-section__inner {
  max-width: 800px;
  margin: 0 auto;
}

.ybc-faq-section__title {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  margin: 0 0 .5rem;
  text-align: center;
}

.ybc-faq-section .ybc-faq {
  background: #fff;
  margin-top: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.ybc-faq-section__contact {
  text-align: center;
  margin-top: 1.5rem;
  font-size: .95rem;
  color: var(--ybc-muted);
}

.ybc-faq-section__contact a {
  color: var(--ybc-accent);
  text-decoration: underline;
  font-weight: 700;
}


/* ── S3: Inspiration Quote ── */

.ybc-quote {
  --ybc-soft: rgba(15,15,15,.80);
  padding-block: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(247,92,3,.06), transparent 60%),
    #fff;
  color: var(--ybc-ink);
  overflow-x: hidden;
}

.ybc-quote__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: var(--ybc-gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 920px) {
  .ybc-quote__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
  }
  .ybc-quote__media { grid-column: 1; grid-row: 1; }
  .ybc-quote__copy { grid-column: 2; grid-row: 1; }
}

.ybc-quote__media {
  margin: 0;
  width: 100%;
  max-width: clamp(320px, 36vw, 520px);
  margin-inline: auto;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s ease;
}

.ybc-quote.is-inview .ybc-quote__media { transform: translateY(0); opacity: 1; }

.ybc-quote__clip {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--ybc-radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 34px rgba(0,0,0,.16);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.ybc-quote__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

.ybc-quote__copy {
  opacity: 0;
  transform: translateY(14px);
  transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s ease;
}

.ybc-quote.is-inview .ybc-quote__copy { opacity: 1; transform: translateY(0); }

.ybc-quote__heading {
  margin: 0;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 6vw, 64px);
  line-height: 1.05;
  text-wrap: balance;
}

.ybc-quote__line {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(1.5px);
  font-weight: 650;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.2s ease, font-weight .6s ease;
}

.ybc-quote.is-inview .ybc-quote__line {
  opacity: .28;
  transform: translateY(0);
  filter: blur(.3px);
}

.ybc-quote__line.is-hot {
  opacity: 1 !important;
  filter: none !important;
  font-weight: 900;
  transform: translateY(-1px);
  text-shadow: 0 1px 0 rgba(0,0,0,.05);
}

.ybc-quote__accent { color: var(--ybc-accent); }

.ybc-quote__soft { color: var(--ybc-soft); font-weight: 550; }

.ybc-quote__divider {
  display: block;
  width: clamp(52px, 8vw, 112px);
  height: 2px;
  background: linear-gradient(90deg, var(--ybc-accent), rgba(247,92,3,.22));
  margin: clamp(10px, 1.5vw, 16px) 0 clamp(14px, 2vw, 22px);
  opacity: .9;
}

@media (max-width: 919px) {
  .ybc-quote__copy { text-align: center; }
  .ybc-quote__divider { margin-left: auto; margin-right: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ybc-quote__media, .ybc-quote__copy, .ybc-quote__line {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
  .ybc-quote__line { font-weight: 700; }
}


/* ── S4: Meet the Teacher ── */

.ybc-teacher {
  color: var(--ybc-ink);
  background: #fff;
}

.ybc-teacher__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) clamp(18px, 4vw, 28px);
}

.ybc-teacher__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 861px) {
  .ybc-teacher__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    align-items: stretch;
  }
}

.ybc-teacher__content { max-width: 560px; margin-inline: auto; padding-inline: 0; }

@media (min-width: 861px) {
  .ybc-teacher__content { max-width: none; margin-inline: 0; }
}

/* Mobile image */
.ybc-teacher__media--mobile { display: block; }

.ybc-teacher__media--mobile figure {
  width: 100%;
  margin: 0 0 18px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0,0,0,.08);
  background: #f3f3f3;
  height: clamp(440px, 88vw, 640px);
  aspect-ratio: 2/3;
}

.ybc-teacher__media--mobile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  display: block;
}

/* Desktop image */
.ybc-teacher__media--desktop { display: none; }

@media (min-width: 861px) {
  .ybc-teacher__media--desktop {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,.08);
    background: #f3f3f3;
    min-height: 560px;
    height: 100%;
  }
  .ybc-teacher__media--desktop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }
  .ybc-teacher__media--mobile { display: none; }
}

.ybc-teacher__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ybc-accent);
  font-weight: 800;
  margin-bottom: 10px;
}

.ybc-teacher__name {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  margin: 0 0 10px;
}

.ybc-teacher__subtitle {
  font-size: 18px;
  color: var(--ybc-muted);
  margin: 0 0 18px;
}

.ybc-teacher__text { position: relative; padding-left: 12px; }

.ybc-teacher__text::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--ybc-accent), var(--ybc-accent-dark));
  opacity: .75;
}

.ybc-teacher__text p {
  line-height: 1.6;
  font-size: 17px;
  margin: 0 0 16px;
}

@media (min-width: 861px) {
  .ybc-teacher__text { padding-left: 18px; }
  .ybc-teacher__text::before { width: 3px; opacity: .85; }
}

.ybc-teacher__team-link {
  display: inline-block;
  margin-top: .8rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ybc-accent);
  text-decoration: underline;
}

.ybc-teacher__ctas {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

@media (min-width: 861px) {
  .ybc-teacher__ctas { justify-content: flex-start; }
}

.ybc-teacher__cta {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 861px) {
  .ybc-teacher__cta { padding: 12px 18px; font-size: 15px; }
}

.ybc-teacher__cta .dot { width: 7px; height: 7px; border-radius: 50%; opacity: .95; flex: 0 0 auto; }

.ybc-teacher__cta--primary { background: var(--ybc-accent); color: #fff; box-shadow: 0 6px 18px rgba(246,93,4,.22); }
.ybc-teacher__cta--primary .dot { background: #fff; }
.ybc-teacher__cta--primary:hover { background: var(--ybc-accent-dark); box-shadow: 0 10px 26px rgba(246,93,4,.28); transform: translateY(-1px); }

.ybc-teacher__cta--outline { background: transparent; color: var(--ybc-accent); border: 1.5px solid rgba(246,93,4,.55); box-shadow: none; }
.ybc-teacher__cta--outline .dot { background: var(--ybc-accent); }
.ybc-teacher__cta--outline:hover { background: rgba(246,93,4,.08); border-color: rgba(246,93,4,.75); transform: translateY(-1px); }


/* ── S5: What Is [Topic]? ── */

/* ── S5b: Outcome ─────────────────────────── */
.ybc-outcome {
  padding: clamp(56px, 7vw, 96px) clamp(18px, 4vw, 28px);
  background:
    radial-gradient(60% 50% at 50% 40%, rgba(247, 92, 3, .05), transparent 70%),
    var(--ybc-sand);
  text-align: center;
}
.ybc-outcome__inner {
  width: min(680px, 100%);
  margin: 0 auto;
}
.ybc-outcome__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 0 0 .4rem;
  color: var(--ybc-ink);
}
.ybc-outcome__title::before {
  content: "";
  display: block;
  width: clamp(40px, 6vw, 64px);
  height: 3px;
  background: linear-gradient(90deg, var(--ybc-accent), var(--ybc-accent-dark));
  border-radius: 2px;
  margin: 0 auto 1.2rem;
}
.ybc-outcome__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: var(--ybc-muted);
  max-width: 56ch;
  margin: 0 auto;
}

.ybc-what {
  padding: clamp(48px, 6vw, 96px) clamp(18px, 4vw, 28px);
  background: #fff;
  color: var(--ybc-ink);
}

.ybc-what__wrapper {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1.1rem;
  align-items: stretch;
}

@media (min-width: 960px) {
  .ybc-what__wrapper {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    column-gap: clamp(20px, 4vw, 48px);
    row-gap: 1.2rem;
  }
}

.ybc-what__intro h2 {
  font-size: clamp(1.6rem, 4.5vw, 2.25rem);
  line-height: 1.1;
  margin: 0 0 .5rem 0;
  font-weight: 800;
  letter-spacing: -.01em;
}

.ybc-what__intro p {
  margin: .55rem 0;
  max-width: 60ch;
  font-size: clamp(1rem, 2.2vw, 1.0625rem);
  line-height: 1.6;
}

.ybc-what__note {
  border-left: 4px solid var(--ybc-accent);
  padding-left: .75rem;
}

.ybc-what__meta {
  color: var(--ybc-muted);
  font-size: .97em;
}

.ybc-what__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

@media (min-width: 960px) {
  .ybc-what__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
  }
}

.ybc-what .ybc-tile {
  margin: 0;
  border-radius: var(--ybc-radius);
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
}

.ybc-what .ybc-tile img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transform: scale(1);
  transition: transform .4s ease;
}

.ybc-what .ybc-tile:hover img { transform: scale(1.03); }


/* ── S7: Cross-Sell ── */

.ybc-cross {
  padding: clamp(60px, 8vw, 100px) clamp(18px, 4vw, 28px);
  background: #FFFCF9;
}

.ybc-cross__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.ybc-cross__eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
  color: var(--ybc-accent);
  font-weight: 800;
  margin: 0 0 .5rem;
}

.ybc-cross__title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 .6rem;
  line-height: 1.1;
}

.ybc-cross__lead {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--ybc-muted);
  margin: 0 0 2.5rem;
  max-width: 56ch;
  line-height: 1.6;
}

/* Course + Bundle cards row */
.ybc-cross__courses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 720px) {
  .ybc-cross__courses { grid-template-columns: repeat(3, 1fr); }
}

.ybc-cross__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.06);
  text-decoration: none;
  color: var(--ybc-ink);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ybc-cross__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.10);
}

.ybc-cross__card-img {
  margin: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ybc-cross__card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ybc-cross__card-body {
  padding: 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ybc-cross__card-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 .4rem;
}

.ybc-cross__card-body p {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--ybc-muted);
  margin: 0 0 .8rem;
  flex: 1;
}

.ybc-cross__card-price {
  font-size: .85rem;
  font-weight: 800;
  color: var(--ybc-accent);
}

.ybc-cross__card-cta {
  font-size: .85rem;
  font-weight: 800;
  color: var(--ybc-accent);
}

/* Bundle card special */
.ybc-cross__card--bundle {
  border: 1.5px solid var(--ybc-accent);
  background: linear-gradient(135deg, #fff5ef 0%, #fff 60%);
}

/* Programs row */
.ybc-cross__programs {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

@media (min-width: 600px) {
  .ybc-cross__programs { grid-template-columns: 1fr 1fr; }
}

.ybc-cross__program {
  display: block;
  background: var(--ybc-ink);
  color: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ybc-cross__program:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0,0,0,.20);
}

.ybc-cross__program h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 .5rem;
}

.ybc-cross__program p {
  font-size: .9rem;
  line-height: 1.5;
  opacity: .8;
  margin: 0 0 .8rem;
}

.ybc-cross__program-cta {
  font-size: .85rem;
  font-weight: 800;
  color: var(--ybc-accent);
}

/* Blog row */
.ybc-cross__blog { margin-top: 2rem; }

.ybc-cross__blog-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 0 1.2rem;
}

.ybc-cross__blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
}

@media (min-width: 720px) {
  .ybc-cross__blog-grid { grid-template-columns: repeat(3, 1fr); }
}

.ybc-cross__blog-card {
  display: block;
  text-decoration: none;
  color: var(--ybc-ink);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}

.ybc-cross__blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}

.ybc-cross__blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.ybc-cross__blog-card h4 {
  padding: .8rem 1rem 0;
  font-size: .95rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

.ybc-cross__blog-card p {
  padding: .4rem 1rem .8rem;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--ybc-muted);
  margin: 0;
}

.ybc-cross__blog-all {
  display: inline-block;
  margin-top: 1rem;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ybc-accent);
  text-decoration: underline;
}

/* ── S1: Urgency badges ── */

.ybc-urgency {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1rem;
}

.ybc-urgency__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: rgba(247, 92, 3, .12);
  color: var(--ybc-accent);
}

.ybc-urgency__badge--muted {
  background: rgba(15, 15, 15, .06);
  color: var(--ybc-muted);
}

/* ── S1: Price anchor (struck-through comparison) ── */

.ybc-price__row--anchor {
  opacity: .6;
  position: relative;
}

.ybc-price__value--struck {
  text-decoration: line-through;
  color: var(--ybc-muted);
}

.ybc-price__row--main .ybc-price__value {
  color: var(--ybc-accent);
  font-size: 1.4rem;
}

/* ── S6: Testimonials ── */

.ybc-testimonials {
  background: var(--ybc-light, #F5F3F0);
  padding-block: clamp(48px, 8vw, 100px);
}

.ybc-testimonials__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.ybc-testimonials__header {
  text-align: center;
  margin-bottom: clamp(32px, 5vw, 48px);
}

.ybc-testimonials__eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--ybc-accent);
  margin-bottom: 8px;
}

.ybc-testimonials__title {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 700;
  color: var(--ybc-ink);
  margin: 0;
}

.ybc-testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ybc-testimonial {
  background: #fff;
  border: 1.5px solid var(--ybc-accent);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ybc-testimonial__stars {
  font-size: 1rem;
  color: var(--ybc-accent);
  letter-spacing: 2px;
}

.ybc-testimonial__quote {
  font-size: .95rem;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0;
  flex-grow: 1;
}

.ybc-testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.ybc-testimonial__footer strong {
  font-size: .9rem;
  color: var(--ybc-ink);
}

.ybc-testimonial__footer span {
  font-size: .75rem;
  color: var(--ybc-muted);
}

.ybc-testimonials__google {
  text-align: center;
  margin-top: clamp(24px, 4vw, 40px);
  font-size: .85rem;
  color: var(--ybc-muted);
  font-weight: 600;
}

@media (max-width: 900px) {
  .ybc-testimonials__track {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── Lead Capture (non-buyer CTA) ── */

.ybc-lead-capture {
  background:
    radial-gradient(60% 50% at 50% 50%, rgba(247, 92, 3, .06), transparent 70%),
    #fff;
  padding-block: clamp(48px, 6vw, 80px);
  text-align: center;
}

.ybc-lead-capture__inner {
  max-width: 560px;
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 60px);
}

.ybc-lead-capture__title {
  font-size: clamp(1.4rem, 1rem + 1.5vw, 2rem);
  font-weight: 700;
  color: var(--ybc-ink);
  margin: 0 0 12px;
}

.ybc-lead-capture__desc {
  font-size: .95rem;
  line-height: 1.6;
  color: var(--ybc-muted);
  margin: 0 0 24px;
}

.ybc-lead-capture__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 700;
  background: #0F0F0F;
  color: #fff;
  border: 2px solid #0F0F0F;
  cursor: pointer;
  transition: all .2s ease;
}

.ybc-lead-capture__btn:hover {
  background: var(--ybc-accent);
  border-color: var(--ybc-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(247, 92, 3, .25);
}


/* ── Scroll fade-in utility ── */

.ybc-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}

.ybc-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* -----------------------------------------------------------------
   TRAINING FORMATS — Editorial program cards with large numbers
   ----------------------------------------------------------------- */

.yb-formats {
  background: #FFFCF9;
  padding: clamp(80px, 12vh, 140px) 0;
}

.yb-formats__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.yb-formats__header {
  text-align: center;
  margin-bottom: clamp(48px, 8vh, 72px);
}

.yb-formats__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin-bottom: 12px;
}

.yb-formats__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 16px;
}

.yb-formats__subtitle {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  color: #6F6A66;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.yb-formats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.yb-format {
  position: relative;
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 20px;
  padding: clamp(32px, 4vw, 44px) clamp(28px, 3vw, 36px);
  transition: all 0.35s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.yb-format:hover {
  border-color: rgba(247, 92, 3, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  transform: translateY(-4px);
}

.yb-format--featured {
  border-color: var(--yb-brand);
  box-shadow: 0 4px 24px rgba(247, 92, 3, 0.08);
}

.yb-format--featured:hover {
  box-shadow: 0 20px 60px rgba(247, 92, 3, 0.12);
}

.yb-format__badge {
  position: absolute;
  top: 20px;
  right: -28px;
  transform: rotate(45deg);
  background: var(--yb-brand);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 5px 36px;
}

.yb-format__number {
  font-size: clamp(4.5rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.85;
  color: #0F0F0F;
  margin-bottom: 0;
}

.yb-format--featured .yb-format__number {
  background: linear-gradient(135deg, var(--yb-brand), #ff9966);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.yb-format__unit {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #6F6A66;
  margin-bottom: 20px;
}

.yb-format__title {
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 6px;
  line-height: 1.2;
}

.yb-format__tagline {
  font-size: 0.9rem;
  color: #6F6A66;
  margin: 0 0 16px;
  line-height: 1.5;
}

.yb-format__date {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--yb-brand);
  padding: 5px 12px;
  border: 1.5px solid var(--yb-brand);
  border-radius: 6px;
  margin-bottom: 20px;
}

.yb-format__points {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  border-top: 1px solid #E8E4E0;
  padding-top: 16px;
}

.yb-format__points li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 0.88rem;
  color: #3a3a3a;
  line-height: 1.5;
}

.yb-format__points li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.85rem;
}

.yb-format__footer {
  border-top: 1px solid #E8E4E0;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
}

.yb-format__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.yb-format__amount {
  font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.75rem);
  font-weight: 700;
  color: #0F0F0F;
}

.yb-format__note {
  font-size: 0.8rem;
  color: #6F6A66;
}

.yb-format__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 24px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  background: transparent;
  color: #0F0F0F;
  border: 1.5px solid #E8E4E0;
}

.yb-format__btn:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}

.yb-format__btn svg {
  transition: transform 0.25s ease;
}

.yb-format__btn:hover svg {
  transform: translateX(3px);
}

.yb-format--featured .yb-format__btn {
  background: var(--yb-brand);
  color: #fff;
  border-color: var(--yb-brand);
}

.yb-format--featured .yb-format__btn:hover {
  background: #d94f02;
  border-color: #d94f02;
  color: #fff;
}

.yb-formats__compare {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .yb-formats__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}


/* -----------------------------------------------------------------
   COURSES SECTION - Tabbed Interface
   ----------------------------------------------------------------- */

.yb-courses {
  background: #f9f7f5;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-courses__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.yb-courses__header {
  text-align: center;
  margin-bottom: clamp(32px, 5vh, 48px);
}

.yb-courses__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 12px;
}

.yb-courses__subtitle {
  font-size: 1rem;
  color: #5a5a5a;
  margin: 0;
}

.yb-courses__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: clamp(32px, 5vh, 48px);
}

.yb-courses__tab {
  padding: 12px 28px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: #3a3a3a;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yb-courses__tab:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}

.yb-courses__tab--active {
  background: var(--yb-brand);
  border-color: var(--yb-brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(247, 92, 3, 0.25);
}

.yb-courses__tab:focus-visible {
  outline: 2px solid var(--yb-brand);
  outline-offset: 2px;
}

.yb-courses__panels {
  position: relative;
}

.yb-courses__panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: clamp(32px, 5vw, 48px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.yb-courses__panel--active {
  display: grid;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.yb-courses__panel-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.yb-courses__panel-meta span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.yb-courses__panel-title {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 16px;
}

.yb-courses__panel-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin: 0 0 28px;
}

.yb-courses__panel-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #e5e0db;
}

.yb-courses__bundle {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.yb-courses__bundle p {
  font-size: 0.95rem;
  color: #5a5a5a;
  margin: 0;
}

@media (max-width: 800px) {
  .yb-courses__panel {
    grid-template-columns: 1fr;
  }

  .yb-courses__panel-media {
    order: -1;
  }
}

@media (max-width: 500px) {
  .yb-courses__tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .yb-courses__tab {
    text-align: center;
  }
}


/* -----------------------------------------------------------------
   STUDIO SECTION - Full-width image with overlay
   ----------------------------------------------------------------- */

.yb-studio {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.yb-studio__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.yb-studio__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1C1C1C;
}

.yb-studio__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.yb-studio__content {
  text-align: center;
  padding: 40px;
  max-width: 700px;
}

.yb-studio__title {
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.yb-studio__text {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  margin: 0 0 32px;
  line-height: 1.6;
}


/* -----------------------------------------------------------------
   TESTIMONIALS SECTION
   ----------------------------------------------------------------- */

.yb-testimonials {
  background: #FFFCF9;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-testimonials__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.yb-testimonials__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 60px);
}

.yb-testimonials__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}

.yb-testimonials__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.yb-testimonial {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yb-testimonial__stars {
  font-size: 1.1rem;
  color: var(--yb-brand);
  letter-spacing: 2px;
}

.yb-testimonial__quote {
  font-size: 1rem;
  line-height: 1.7;
  color: #3a3a3a;
  margin: 0;
  flex-grow: 1;
}

.yb-testimonial__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.yb-testimonial__footer strong {
  font-size: 0.95rem;
  color: #0F0F0F;
}

.yb-testimonial__footer span {
  font-size: 0.8rem;
  color: #6b6b6b;
}

@media (max-width: 900px) {
  .yb-testimonials__track {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}


/* -----------------------------------------------------------------
   WHY YOGA BIBLE SECTION - Numbered differentiators
   ----------------------------------------------------------------- */

.yb-why {
  background: #fff;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-why__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.yb-why__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 60px);
}

.yb-why__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}

.yb-why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 48px);
}

.yb-why__item {
  position: relative;
  padding-left: 80px;
}

.yb-why__number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(247, 92, 3, 0.15);
  line-height: 1;
}

.yb-why__item-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 12px;
}

.yb-why__item-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin: 0;
}

@media (max-width: 700px) {
  .yb-why__grid {
    grid-template-columns: 1fr;
  }

  .yb-why__item {
    padding-left: 60px;
  }

  .yb-why__number {
    font-size: 2.5rem;
  }
}


/* -----------------------------------------------------------------
   FINAL CTA SECTION
   ----------------------------------------------------------------- */

.yb-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  padding: clamp(60px, 10vh, 100px) 0;
}

.yb-cta__inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
  text-align: center;
}

.yb-cta__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

.yb-cta__text {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
}

.yb-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.yb-cta__next {
  margin: 24px 0 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* -----------------------------------------------------------------
   THE FORK v2 — Cinematic full-bleed dual panels
   Two immersive panels with background imagery
   ----------------------------------------------------------------- */

.yb-fork2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.yb-fork2__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 65vh;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.yb-fork2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.yb-fork2__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.yb-fork2__panel:hover .yb-fork2__bg img {
  transform: scale(1.06);
}

.yb-fork2__panel--left .yb-fork2__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(15deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.35) 60%, rgba(15, 15, 15, 0.15) 100%);
}

.yb-fork2__panel--right .yb-fork2__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(-15deg, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.35) 60%, rgba(15, 15, 15, 0.15) 100%);
}

.yb-fork2__content {
  position: relative;
  z-index: 1;
  padding: clamp(32px, 5vw, 64px);
  max-width: 480px;
}

.yb-fork2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin-bottom: 16px;
}

.yb-fork2__eyebrow::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--yb-brand);
}

.yb-fork2__title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.05;
  color: #fff;
}

.yb-fork2__desc {
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.75);
}

.yb-fork2__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yb-brand);
}

.yb-fork2__cta svg {
  transition: transform 0.3s ease;
}

.yb-fork2__panel:hover .yb-fork2__cta svg {
  transform: translateX(4px);
}

.yb-fork2__panel--right .yb-fork2__content {
  margin-left: auto;
}

@media (max-width: 768px) {
  .yb-fork2 {
    grid-template-columns: 1fr;
  }

  .yb-fork2__panel {
    min-height: 55vh;
  }

  .yb-fork2__panel--right .yb-fork2__content {
    margin-left: 0;
  }
}


/* -----------------------------------------------------------------
   SHARED EYEBROW STYLES
   ----------------------------------------------------------------- */

.yb-testimonials__eyebrow,
.yb-journal-preview__eyebrow,
.yb-studio__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin-bottom: 12px;
}

.yb-studio__eyebrow {
  color: rgba(255, 255, 255, 0.7);
}


/* -----------------------------------------------------------------
   DARK CINEMATIC QUOTE
   ----------------------------------------------------------------- */

.yb-quote {
  position: relative;
  background: #0F0F0F;
  padding: clamp(80px, 12vh, 160px) 0;
  overflow: hidden;
}

.yb-quote__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 92, 3, 0.08) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.yb-quote__inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 60px);
  text-align: center;
}

.yb-quote__mark {
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 700;
  line-height: 0.5;
  color: rgba(247, 92, 3, 0.2);
  margin-bottom: 24px;
}

.yb-quote__text {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 400;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 32px;
  font-style: italic;
}

.yb-quote__footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yb-quote__footer strong {
  font-size: 1rem;
  color: #fff;
}

.yb-quote__footer span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Quote + Review Video split layout */
.yb-quote__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 60px);
}
.yb-quote__grid .yb-quote__inner {
  max-width: none;
  margin: 0;
  padding: 0;
}
.yb-quote__video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9/16;
  max-height: 480px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.yb-quote__video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yb-quote__mute-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,.6);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.yb-quote__mute-btn:hover { background: rgba(247,92,3,.8); }
@media (max-width: 767px) {
  .yb-quote__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .yb-quote__video-wrap {
    max-width: 240px;
    margin: 0 auto;
    max-height: 400px;
  }
}


/* -----------------------------------------------------------------
   IMMERSIVE TRIPTYCH — Full-bleed image panels with overlays
   Magazine-style course showcase
   ----------------------------------------------------------------- */

.yb-triptych {
  background: #0F0F0F;
}

.yb-triptych__header {
  text-align: center;
  padding: clamp(60px, 10vh, 100px) clamp(20px, 4vw, 60px) clamp(40px, 6vh, 60px);
}

.yb-triptych__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--yb-brand);
  margin-bottom: 12px;
}

.yb-triptych__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.yb-triptych__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.yb-triptych__panels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.yb-triptych__panel {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 70vh;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.yb-triptych__panel:last-child {
  border-right: none;
}

.yb-triptych__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.yb-triptych__panel:hover .yb-triptych__img {
  transform: scale(1.06);
}

.yb-triptych__overlay {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  width: 100%;
  min-height: 50%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.yb-triptych__meta {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.yb-triptych__name {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.1;
}

.yb-triptych__desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 20px;
}

.yb-triptych__cta {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yb-brand);
  transition: letter-spacing 0.3s ease;
}

.yb-triptych__panel:hover .yb-triptych__cta {
  letter-spacing: 0.14em;
}

.yb-triptych__bundle {
  text-align: center;
  padding: clamp(32px, 5vh, 48px) clamp(20px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.yb-triptych__bundle p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 900px) {
  .yb-triptych__panels {
    grid-template-columns: 1fr;
  }

  .yb-triptych__panel {
    min-height: 50vh;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .yb-triptych__panel:last-child {
    border-bottom: none;
  }
}


/* -----------------------------------------------------------------
   STUDIO SECTION — Video background enhancement
   ----------------------------------------------------------------- */

.yb-studio__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yb-studio__eyebrow {
  display: block;
  margin-bottom: 16px;
}


/* -----------------------------------------------------------------
   TESTIMONIALS — Google reviews link
   ----------------------------------------------------------------- */

.yb-testimonials__google {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.yb-testimonials__google span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #5a5a5a;
}


/* -----------------------------------------------------------------
   WHY US / DIFFERENTIATORS — Dark cinematic statement panels
   Frosted glass cards with watermark numbers
   ----------------------------------------------------------------- */

.yb-diff {
  position: relative;
  background: #0F0F0F;
  padding: clamp(80px, 12vh, 140px) 0;
  overflow: hidden;
}

.yb-diff__glow {
  position: absolute;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(247, 92, 3, 0.06) 0%, transparent 60%);
  top: 30%;
  right: -10%;
  pointer-events: none;
}

.yb-diff__inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.yb-diff__header {
  margin-bottom: clamp(48px, 8vh, 80px);
}

.yb-diff__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
}

.yb-diff__title {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.yb-diff__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.yb-diff__card {
  position: relative;
  padding: clamp(32px, 4vw, 48px);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.35s ease;
}

.yb-diff__card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(247, 92, 3, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.yb-diff__watermark {
  position: absolute;
  top: -8px;
  right: 16px;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 700;
  color: rgba(247, 92, 3, 0.06);
  line-height: 1;
  pointer-events: none;
  transition: color 0.35s ease;
}

.yb-diff__card:hover .yb-diff__watermark {
  color: rgba(247, 92, 3, 0.12);
}

.yb-diff__accent {
  width: 40px;
  height: 3px;
  background: var(--yb-brand);
  border-radius: 2px;
  margin-bottom: 20px;
}

.yb-diff__card-title {
  position: relative;
  font-size: clamp(1.2rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}

.yb-diff__card-desc {
  position: relative;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 700px) {
  .yb-diff__grid {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------------------------
   COPENHAGEN CINEMA — Full-bleed cinematic showcase with highlights
   ----------------------------------------------------------------- */

.yb-cph-cinema {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0F0F0F;
  padding: 0;
}

.yb-cph-cinema__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.yb-cph-cinema__bg img,
.yb-cph-cinema__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yb-cph-cinema__overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  background:
    linear-gradient(to bottom, rgba(15, 15, 15, 1) 0%, rgba(15, 15, 15, 0.8) 10%, transparent 20%, transparent 85%, rgba(15, 15, 15, 0.8) 92%, rgba(15, 15, 15, 1) 100%),
    linear-gradient(135deg, rgba(15, 15, 15, 0.75) 0%, rgba(15, 15, 15, 0.6) 50%, rgba(15, 15, 15, 0.75) 100%);
  display: flex;
  align-items: center;
}

.yb-cph-cinema__content {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(60px, 10vh, 100px) clamp(20px, 4vw, 60px);
  width: 100%;
}

.yb-cph-cinema__header {
  margin-bottom: clamp(40px, 6vh, 60px);
}

.yb-cph-cinema__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.yb-cph-cinema__title {
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.15;
}

.yb-cph-cinema__subtitle {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.15rem);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-width: 550px;
}

.yb-cph-cinema__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: clamp(40px, 6vh, 60px);
}

.yb-cph-highlight {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.yb-cph-highlight:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(247, 92, 3, 0.4);
  transform: translateY(-2px);
}

.yb-cph-highlight__thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid rgba(247, 92, 3, 0.35);
}

.yb-cph-highlight__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yb-cph-highlight__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.yb-cph-highlight__text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.yb-cph-highlight__text span {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
}

.yb-cph-cinema__cta {
  text-align: left;
}

@media (max-width: 900px) {
  .yb-cph-cinema__highlights {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .yb-cph-cinema__highlights {
    grid-template-columns: 1fr;
  }

  .yb-cph-cinema {
    min-height: auto;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Shared Utilities
   ----------------------------------------------------------------- */

.yb-cph-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yb-brand);
  margin-bottom: 0.5rem;
}

.yb-cph-section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.yb-cph-section-subtitle {
  font-size: 1.05rem;
  color: #6F6A66;
  max-width: 720px;
  line-height: 1.6;
  margin: 0;
}

.yb-cph-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 1: Life in Copenhagen
   ----------------------------------------------------------------- */

.yb-cph-life {
  background: #fff;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-cph-life__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.yb-cph-life__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.yb-cph-life__card {
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #F5F3F0;
  position: relative;
  cursor: pointer;
}

.yb-cph-life__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yb-cph-life__card:hover .yb-cph-life__card-img {
  transform: scale(1.05);
}

.yb-cph-life__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.yb-cph-life__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.yb-cph-life__card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .yb-cph-life__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .yb-cph-life__grid {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 2: Christianshavn Location
   ----------------------------------------------------------------- */

.yb-cph-location {
  background: #FFFCF9;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-cph-location__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.yb-cph-location__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.yb-cph-location__video-wrap {
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.yb-cph-location__video-wrap video,
.yb-cph-location__video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-cph-location__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.yb-cph-location__text-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.yb-cph-location__text p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

.yb-cph-location__highlight {
  background: #fff;
  border-left: 4px solid var(--yb-brand);
  border-radius: 0 12px 12px 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 1.25rem 1.5rem;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.yb-cph-location__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.yb-cph-location__pill {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
}

.yb-cph-location__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}

.yb-cph-location__gallery-img {
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.yb-cph-location__gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yb-cph-location__gallery-img:hover img {
  transform: scale(1.04);
}

@media (max-width: 900px) {
  .yb-cph-location__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .yb-cph-location__gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .yb-cph-location__gallery-img:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .yb-cph-location__gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 3: Why Copenhagen
   ----------------------------------------------------------------- */

.yb-cph-why {
  background: #fff;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-cph-why__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.yb-cph-why__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.yb-cph-why__benefits {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.yb-cph-why__benefit {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.yb-cph-why__benefit:hover {
  border-color: rgba(247,92,3,0.35);
  box-shadow: 0 4px 16px rgba(247,92,3,0.08);
}

.yb-cph-why__benefit-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.yb-cph-why__benefit-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--yb-brand);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yb-cph-why__benefit-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
  fill: none;
  stroke: currentColor;
}

.yb-cph-why__benefit-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  padding-left: calc(28px + 0.6rem);
}

.yb-cph-why__media {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.yb-cph-why__media-main {
  position: relative;
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.yb-cph-why__media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-cph-why__media-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 100%);
  padding: 2rem 1.5rem 1.25rem;
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.yb-cph-why__media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.yb-cph-why__media-grid-item {
  border-radius: 14px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.yb-cph-why__media-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yb-cph-why__media-grid-item:hover img {
  transform: scale(1.04);
}

.yb-cph-why__flights {
  grid-column: span 2;
  border: 2px solid var(--yb-brand);
  border-radius: 18px;
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}

.yb-cph-why__flights-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.yb-cph-why__flights-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 1rem;
}

.yb-cph-why__flights-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.yb-cph-why__flights-pill {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
}

.yb-cph-why__flights-map {
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.yb-cph-why__flights-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 900px) {
  .yb-cph-why__content {
    grid-template-columns: 1fr;
  }

  .yb-cph-why__flights {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .yb-cph-why__flights {
    padding: 1.5rem;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 4: Hygge
   ----------------------------------------------------------------- */

.yb-cph-hygge {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(60px, 10vh, 120px) 0;
  position: relative;
  overflow: hidden;
}

.yb-cph-hygge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(247,92,3,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.yb-cph-hygge__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.yb-cph-hygge__media {
  position: relative;
}

.yb-cph-hygge__media-main {
  border-radius: 20px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.yb-cph-hygge__media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-cph-hygge__media-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 45%;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 4px solid #0F0F0F;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.yb-cph-hygge__media-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-cph-hygge__text {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.yb-cph-hygge__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.1;
}

.yb-cph-hygge__pronunciation {
  font-size: 1.1rem;
  font-style: italic;
  color: rgba(255,255,255,0.6);
  margin: 0;
}

.yb-cph-hygge__text > p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin: 0;
}

.yb-cph-hygge__quote {
  background: rgba(255,255,255,0.05);
  border-left: 3px solid var(--yb-brand);
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

.yb-cph-hygge__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.yb-cph-hygge__values li {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}

.yb-cph-hygge__values li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yb-brand);
}

.yb-cph-hygge__connection {
  background: linear-gradient(135deg, rgba(247,92,3,0.15) 0%, rgba(247,92,3,0.05) 100%);
  border: 1px solid rgba(247,92,3,0.3);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
}

.yb-cph-hygge__connection-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.yb-cph-hygge__connection p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .yb-cph-hygge__content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .yb-cph-hygge__media {
    order: -1;
    max-width: 85%;
    margin: 0 auto;
  }

  .yb-cph-hygge__media-accent {
    bottom: -20px;
    right: -15px;
  }
}

@media (max-width: 600px) {
  .yb-cph-hygge__values {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 5: About Denmark
   ----------------------------------------------------------------- */

.yb-cph-denmark {
  background: #FFFCF9;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-cph-denmark__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.yb-cph-denmark__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.yb-cph-denmark__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 18px;
  padding: 1.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.yb-cph-denmark__card:hover {
  border-color: rgba(247,92,3,0.4);
  box-shadow: 0 8px 24px rgba(247,92,3,0.08);
  transform: translateY(-3px);
}

.yb-cph-denmark__card-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, var(--yb-brand), #ff7b2e);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.yb-cph-denmark__card-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
  fill: none;
  stroke: currentColor;
}

.yb-cph-denmark__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.yb-cph-denmark__card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.yb-cph-denmark__card--featured {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  border: 2px solid var(--yb-brand);
  background: linear-gradient(135deg, rgba(247,92,3,0.04) 0%, rgba(255,255,255,1) 100%);
}

.yb-cph-denmark__card--featured .yb-cph-denmark__card-icon {
  width: 72px;
  height: 72px;
  min-width: 72px;
}

.yb-cph-denmark__card--featured .yb-cph-denmark__card-icon svg {
  width: 36px;
  height: 36px;
}

@media (max-width: 900px) {
  .yb-cph-denmark__grid {
    grid-template-columns: 1fr;
  }

  .yb-cph-denmark__card--featured {
    grid-column: span 1;
    flex-direction: column;
    text-align: center;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 6: Explore
   ----------------------------------------------------------------- */

.yb-cph-explore {
  background: #fff;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-cph-explore__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.yb-cph-explore__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.yb-cph-explore__card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
}

.yb-cph-explore__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.yb-cph-explore__card:hover .yb-cph-explore__card-img {
  transform: scale(1.06);
}

.yb-cph-explore__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.yb-cph-explore__card-tag {
  display: inline-block;
  background: var(--yb-brand);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.yb-cph-explore__card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.25rem;
}

.yb-cph-explore__card-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
  line-height: 1.45;
}

/* Card size variants */
.yb-cph-explore__card--tall {
  grid-row: span 2;
  min-height: 480px;
}

.yb-cph-explore__card--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

.yb-cph-explore__card--regular {
  aspect-ratio: 4 / 3;
}

/* Explicit grid placement (8 items) */
.yb-cph-explore__card:nth-child(1) {
  grid-column: 1;
  grid-row: 1 / 3;
}

.yb-cph-explore__card:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
}

.yb-cph-explore__card:nth-child(3) {
  grid-column: 3;
  grid-row: 1;
}

.yb-cph-explore__card:nth-child(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.yb-cph-explore__card:nth-child(5) {
  grid-column: 1 / 3;
  grid-row: 3;
}

.yb-cph-explore__card:nth-child(6) {
  grid-column: 3;
  grid-row: 3 / 5;
}

.yb-cph-explore__card:nth-child(7) {
  grid-column: 1;
  grid-row: 4;
}

.yb-cph-explore__card:nth-child(8) {
  grid-column: 2;
  grid-row: 4;
}

@media (max-width: 900px) {
  .yb-cph-explore__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .yb-cph-explore__card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .yb-cph-explore__card--tall {
    grid-row: span 2;
    min-height: 360px;
  }

  .yb-cph-explore__card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .yb-cph-explore__grid {
    grid-template-columns: 1fr;
  }

  .yb-cph-explore__card:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .yb-cph-explore__card--tall {
    grid-row: auto;
    min-height: auto;
  }

  .yb-cph-explore__card--wide {
    grid-column: auto;
  }

  .yb-cph-explore__card--tall,
  .yb-cph-explore__card--wide,
  .yb-cph-explore__card--regular {
    aspect-ratio: 4 / 3;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 7: Practical Info
   ----------------------------------------------------------------- */

.yb-cph-practical {
  background: #FFFCF9;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-cph-practical__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.yb-cph-practical__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.yb-cph-practical__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.yb-cph-practical__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
}

.yb-cph-practical__card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yb-cph-practical__card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--yb-brand);
  fill: none;
  stroke: currentColor;
}

.yb-cph-practical__card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 0.4rem;
}

.yb-cph-practical__card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.yb-cph-practical__card-text strong {
  color: #333;
}

.yb-cph-practical__card--highlight {
  grid-column: span 2;
  border: 2px solid var(--yb-brand);
}

.yb-cph-practical__card--highlight .yb-cph-practical__card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--yb-brand);
  border-color: var(--yb-brand);
}

.yb-cph-practical__card--highlight .yb-cph-practical__card-icon svg {
  color: #fff;
}

.yb-cph-practical__tips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.yb-cph-practical__tip {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
}

.yb-cph-practical__note {
  margin-top: 2rem;
  border-radius: 14px;
  text-align: center;
  background: #fff;
  border: 1px solid #E8E4E0;
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .yb-cph-practical__grid {
    grid-template-columns: 1fr;
  }

  .yb-cph-practical__card--highlight {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .yb-cph-practical__card {
    flex-direction: column;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 8: CTA
   ----------------------------------------------------------------- */

.yb-cph-cta {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(60px, 10vh, 120px) 0;
  position: relative;
  overflow: hidden;
}

.yb-cph-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(247,92,3,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.yb-cph-cta::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -15%;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(247,92,3,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.yb-cph-cta__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  position: relative;
  z-index: 1;
}

.yb-cph-cta__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.yb-cph-cta__card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.yb-cph-cta__card:hover {
  border-color: rgba(247,92,3,0.5);
  background: rgba(255,255,255,0.05);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(247,92,3,0.1);
}

.yb-cph-cta__card--featured {
  border: 2px solid var(--yb-brand);
  background: linear-gradient(135deg, rgba(247,92,3,0.1) 0%, rgba(247,92,3,0.02) 100%);
}

.yb-cph-cta__card-badge {
  display: inline-block;
  background: var(--yb-brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  align-self: flex-start;
}

.yb-cph-cta__card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.yb-cph-cta__card-text {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

.yb-cph-cta__card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yb-cph-cta__feature-pill {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.yb-cph-cta__course-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.yb-cph-cta__course-pill {
  background: rgba(247,92,3,0.12);
  border: 1px solid rgba(247,92,3,0.25);
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.yb-cph-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yb-brand);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  padding: 0.85rem 2rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.yb-cph-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,92,3,0.3);
  background: var(--yb-brand-dark);
}

.yb-cph-cta__btn--secondary {
  background: transparent;
  border: 2px solid var(--yb-brand);
  color: var(--yb-brand);
}

.yb-cph-cta__btn--secondary:hover {
  background: var(--yb-brand);
  color: #fff;
}

.yb-cph-cta__contact {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.yb-cph-cta__contact p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  line-height: 1.6;
}

.yb-cph-cta__contact a {
  color: var(--yb-brand);
  text-decoration: none;
}

.yb-cph-cta__contact a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .yb-cph-cta__grid {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------------------------
   ABOUT COPENHAGEN — Section 9: FAQ
   ----------------------------------------------------------------- */

.yb-cph-faq {
  background: #FFFCF9;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-cph-faq__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.yb-cph-faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.yb-cph-faq__item {
  background: #F5F3F0;
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.yb-cph-faq__item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  transition: background 0.2s ease;
}

.yb-cph-faq__item summary::-webkit-details-marker {
  display: none;
}

.yb-cph-faq__item summary::after {
  content: '+';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--yb-brand);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease;
}

.yb-cph-faq__item[open] summary {
  border-bottom: 1px solid #E8E4E0;
}

.yb-cph-faq__item[open] summary::after {
  content: '\2212';
  transform: rotate(180deg);
}

.yb-cph-faq__item p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.65;
  margin: 0;
}

.yb-cph-faq__item p:first-of-type {
  padding-top: 1.25rem;
}


/* -----------------------------------------------------------------
   JOURNAL PREVIEW — Blog post cards
   ----------------------------------------------------------------- */

.yb-journal-preview {
  background: #fff;
  padding: clamp(60px, 10vh, 120px) 0;
}

.yb-journal-preview__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.yb-journal-preview__header {
  text-align: center;
  margin-bottom: clamp(40px, 6vh, 60px);
}

.yb-journal-preview__title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}

.yb-journal-preview__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.yb-journal-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #FFFCF9;
  transition: all 0.3s ease;
}

.yb-journal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.yb-journal-card__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.yb-journal-card__media {
  overflow: hidden;
}

.yb-journal-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e5e0db;
  transition: transform 0.4s ease;
}

.yb-journal-card:hover .yb-journal-card__media img {
  transform: scale(1.05);
}

.yb-journal-card__body {
  padding: clamp(16px, 2vw, 24px);
}

.yb-journal-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yb-brand);
  margin-bottom: 8px;
}

.yb-journal-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 8px;
  line-height: 1.3;
}

.yb-journal-card__excerpt {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #5a5a5a;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yb-journal-card__meta {
  font-size: 0.75rem;
  color: #999;
}

.yb-journal-preview__cta {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .yb-journal-preview__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}


/* -----------------------------------------------------------------
   KONTAKT PAGE
   ----------------------------------------------------------------- */

/* Intro section: split layout */
.yb-kontakt-intro {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #fff;
}

.yb-kontakt-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: start;
}

.yb-kontakt-photo {
  margin: 0;
}

.yb-kontakt-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.yb-kontakt-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yb-brand);
  margin: 0 0 12px;
}

.yb-kontakt-heading {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #1C1C1C;
}

.yb-kontakt-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin: 0 0 28px;
}

.yb-kontakt-text strong {
  color: #1C1C1C;
  font-weight: 700;
}

/* Contact details grid */
.yb-kontakt-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.yb-kontakt-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.yb-kontakt-detail__label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.yb-kontakt-detail__value {
  font-size: 0.95rem;
  color: #1C1C1C;
  text-decoration: none;
  transition: color 0.15s ease;
}

a.yb-kontakt-detail__value:hover {
  color: var(--yb-brand);
}

.yb-kontakt-sep {
  border: 0;
  border-top: 1px solid #E8E4E0;
  margin: 28px 0;
}

.yb-kontakt-studio {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #94A3B8;
  margin: 0;
}

.yb-kontakt-studio strong {
  color: #666;
  font-weight: 700;
}

/* Form section */
.yb-kontakt-form-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #F5F3F0;
}

.yb-kontakt-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.yb-kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.yb-kontakt-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.yb-kontakt-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.yb-kontakt-field > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
}

.yb-kontakt-field input,
.yb-kontakt-field select,
.yb-kontakt-field textarea {
  width: 100%;
  height: 48px;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  padding: 0 1rem;
  font-family: var(--font-primary);
  font-size: 16px;
  background: #fff;
  color: #1C1C1C;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.yb-kontakt-field textarea {
  height: auto;
  padding: 0.75rem 1rem;
  resize: vertical;
}

.yb-kontakt-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.yb-kontakt-field input:focus,
.yb-kontakt-field select:focus,
.yb-kontakt-field textarea:focus {
  border-color: var(--yb-brand);
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}

.yb-kontakt-field input::placeholder,
.yb-kontakt-field textarea::placeholder {
  color: #bbb;
}

/* Honeypot: hidden off-screen */
.yb-kontakt-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.yb-kontakt-fine {
  margin: 0;
  font-size: 0.78rem;
  color: #999;
  line-height: 1.5;
}

.yb-kontakt-error {
  margin: 0;
  padding: 0.85rem 1rem;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 12px;
  font-size: 0.9rem;
  color: #991B1B;
  line-height: 1.5;
}

.yb-kontakt-success {
  text-align: center;
  padding: 2.5rem 1rem;
}

.yb-kontakt-success__icon {
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.yb-kontakt-success h3 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  color: #1C1C1C;
}

.yb-kontakt-success p {
  margin: 0;
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

/* Studio section */
.yb-kontakt-studio-section {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #1C1C1C;
  color: #fff;
}

.yb-kontakt-studio-section .yb-kontakt-eyebrow {
  color: var(--yb-brand);
}

.yb-kontakt-studio-section .section-title {
  color: #fff;
}

.yb-kontakt-studio-section .section-subtitle {
  color: rgba(255, 255, 255, 0.6);
}

.yb-kontakt-studio-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.yb-kontakt-studio-video {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.yb-kontakt-studio-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-kontakt-studio-copy .yb-kontakt-text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
}

.yb-kontakt-studio-copy .yb-kontakt-text em {
  color: var(--yb-brand);
  font-style: italic;
}

.yb-kontakt-studio-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.yb-kontakt-studio-feat {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.yb-kontakt-studio-feat__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.yb-kontakt-studio-feat strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.yb-kontakt-studio-feat span:not(.yb-kontakt-studio-feat__icon) {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Horizontal scroll gallery */
.yb-kontakt-gallery {
  position: relative;
}

.yb-kontakt-gallery__title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 20px;
}

.yb-kontakt-gallery__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(247, 92, 3, 0.4) transparent;
}

.yb-kontakt-gallery__track::-webkit-scrollbar {
  height: 4px;
}

.yb-kontakt-gallery__track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.yb-kontakt-gallery__track::-webkit-scrollbar-thumb {
  background: rgba(247, 92, 3, 0.4);
  border-radius: 4px;
}

.yb-kontakt-gallery__slide {
  flex: 0 0 320px;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: start;
}

.yb-kontakt-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yb-kontakt-gallery__slide:hover img {
  transform: scale(1.05);
}

.yb-kontakt-gallery__nav {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 16px;
}

.yb-kontakt-gallery__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.yb-kontakt-gallery__arrow:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
  background: rgba(247, 92, 3, 0.08);
}

@media (max-width: 768px) {
  .yb-kontakt-studio-split {
    grid-template-columns: 1fr;
  }

  .yb-kontakt-studio-video {
    max-height: 360px;
    aspect-ratio: auto;
  }

  .yb-kontakt-studio-features {
    grid-template-columns: 1fr;
  }

  .yb-kontakt-gallery__slide {
    flex: 0 0 260px;
    height: 180px;
  }
}

/* Find Us section */
.yb-kontakt-findus {
  padding: clamp(60px, 8vw, 120px) 0;
  background: #fff;
}

.yb-kontakt-location {
  max-width: 520px;
  margin: 0 auto;
}

.yb-kontakt-location__card {
  background: #FFFCF9;
  border: 1.5px solid var(--yb-brand);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.yb-kontakt-location__name {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 24px;
}

.yb-kontakt-location__info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
  margin-bottom: 28px;
}

.yb-kontakt-location__info p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #444;
}

.yb-kontakt-location__info strong {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
}

.yb-kontakt-location__info a {
  color: #1C1C1C;
  text-decoration: none;
  transition: color 0.15s ease;
}

.yb-kontakt-location__info a:hover {
  color: var(--yb-brand);
}

/* Kontakt responsive */
@media (max-width: 768px) {
  .yb-kontakt-split {
    grid-template-columns: 1fr;
  }

  .yb-kontakt-photo img {
    aspect-ratio: 16 / 10;
    max-height: 320px;
  }

  .yb-kontakt-details {
    grid-template-columns: 1fr;
  }

  .yb-kontakt-form__grid {
    grid-template-columns: 1fr;
  }

  .yb-kontakt-form-card {
    padding: 20px;
  }

  .yb-kontakt-location__card {
    padding: 28px 20px;
  }

  .yb-kontakt-location__info {
    grid-template-columns: 1fr;
  }
}


/* -----------------------------------------------------------------
   SHARED COMPONENTS - Buttons, Links, Utilities
   ----------------------------------------------------------------- */

.yb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.yb-btn--primary {
  background: var(--yb-brand);
  color: #fff;
  border-color: var(--yb-brand);
}

.yb-btn--primary:hover {
  background: #d94f02;
  border-color: #d94f02;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(247, 92, 3, 0.3);
}

.yb-btn--white {
  background: #fff;
  color: var(--yb-brand);
  border-color: #fff;
}

.yb-btn--white:hover {
  background: #FFFCF9;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.yb-btn--outline {
  background: transparent;
  color: #0F0F0F;
  border-color: #E8E4E0;
}
.yb-btn--outline:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
  background: rgba(247, 92, 3, 0.04);
}

.yb-btn--outline-white,
button.yb-btn--outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #f75c03 !important;
}

.yb-btn--outline-white:hover,
button.yb-btn--outline-white:hover {
  background: rgba(247, 92, 3, 0.12);
  border-color: #ff9966 !important;
}

.yb-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.yb-btn--outline-light:hover {
  background: #fff;
  color: #0F0F0F;
  border-color: #fff;
}

.yb-btn--large {
  padding: 18px 40px;
  font-size: 1rem;
}

.yb-btn--full {
  width: 100%;
}

.yb-btn:focus-visible {
  outline: 2px solid var(--yb-brand);
  outline-offset: 2px;
}

.yb-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yb-brand);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.yb-link-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}

.yb-link-arrow:hover {
  gap: 12px;
}

.yb-link-arrow:hover::after {
  transform: translateX(4px);
}


/* -----------------------------------------------------------------
   SCROLL ANIMATIONS
   ----------------------------------------------------------------- */

.yb-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.yb-fade-in.yb-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =================================================================
   YOGA JOURNAL — Listing, Post, Cards, Search, Language Switcher
   ================================================================= */

/* ── Hero ── */
.yj-hero {
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2017 60%, #1C1C1C 100%);
  padding: clamp(60px, 10vh, 100px) 0 clamp(40px, 6vh, 60px);
  text-align: center;
}

.yj-hero__badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(247, 92, 3, 0.4);
  background: rgba(247, 92, 3, 0.08);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yb-brand);
  margin-bottom: 20px;
}

.yj-hero__title {
  font-size: clamp(2.2rem, 2rem + 2vw, 3.8rem);
  font-weight: 700;
  color: #FDFBF7;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.yj-hero__subtitle {
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.15rem);
  color: rgba(253, 251, 247, 0.7);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Controls Bar (Search + Filters + Lang) ── */
.yj-controls {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 20px 0;
  position: sticky;
  top: var(--header-height);
  z-index: 100;
}

.yj-controls__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Language Toggle */
.yj-lang {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.yj-lang__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  cursor: pointer;
  transition: all 0.18s ease;
}

.yj-lang__btn:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}

.yj-lang__btn.is-active {
  background: var(--yb-brand);
  border-color: var(--yb-brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(247, 92, 3, 0.25);
}

/* Search */
.yj-search {
  flex: 1;
  min-width: 200px;
  max-width: 400px;
  position: relative;
}

.yj-search__input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #f9f9f9;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #1C1C1C;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.yj-search__input::placeholder {
  color: #aaa;
}

.yj-search__input:focus {
  border-color: var(--yb-brand);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.08);
}

.yj-search__icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #aaa;
  pointer-events: none;
}

/* Filter Buttons */
.yj-filters {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.yj-filters__btn {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-family: var(--font-primary);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #777;
  cursor: pointer;
  transition: all 0.16s ease;
  white-space: nowrap;
}

.yj-filters__btn:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
}

.yj-filters__btn.is-active {
  background: #1C1C1C;
  border-color: #1C1C1C;
  color: #fff;
}

/* ── Results Bar ── */
.yj-results-bar {
  padding: 12px 0 0;
}

.yj-results-bar__count {
  font-size: 0.85rem;
  color: #999;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ── Journal Grid ── */
.yj-grid-section {
  padding: clamp(24px, 4vh, 40px) 0 clamp(60px, 10vh, 100px);
}

.yj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

/* ── Journal Card ── */
.yj-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.yj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.yj-card__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.yj-card__img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0ede8;
}

.yj-card__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.yj-card:hover .yj-card__img {
  transform: scale(1.04);
}

.yj-card__featured-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yj-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.yj-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #999;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.yj-card__dot {
  color: #ccc;
}

.yj-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 10px;
  line-height: 1.35;
}

.yj-card__title--sm {
  font-size: 1.05rem;
}

.yj-card__excerpt {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #555;
  margin: 0 0 16px;
  flex-grow: 1;
}

.yj-card__excerpt--sm {
  font-size: 0.88rem;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yj-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.yj-card__tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f5f2ee;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #888;
}

.yj-card__read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yb-brand);
  transition: gap 0.2s ease;
}

.yj-card:hover .yj-card__read-more {
  text-decoration: underline;
}

/* Related card variant */
.yj-card--related {
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.yj-card--related .yj-card__body {
  padding: 18px 20px;
}

/* ── Empty State ── */
.yj-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 1rem;
}

/* ── Reading Progress Bar ── */
.yj-progress {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  z-index: 99;
  pointer-events: none;
}

.yj-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--yb-brand) 0%, #ff8a40 100%);
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── Post Hero Image (full-width cinematic) ── */
.yj-post-hero-img {
  position: relative;
  min-height: clamp(320px, 45vh, 520px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.yj-post-hero-img__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 28, 28, 0.2) 0%,
    rgba(28, 28, 28, 0.5) 50%,
    rgba(28, 28, 28, 0.92) 100%
  );
}

.yj-post-hero-img__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 0 clamp(36px, 5vh, 60px);
}

/* Breadcrumb on hero */
.yj-breadcrumb--hero {
  background: none;
  border: none;
  padding: 0 0 20px;
}

.yj-breadcrumb--hero .yj-breadcrumb__list {
  color: rgba(253, 251, 247, 0.6);
}

.yj-breadcrumb--hero .yj-breadcrumb__list a {
  color: rgba(253, 251, 247, 0.7);
}

.yj-breadcrumb--hero .yj-breadcrumb__list a:hover {
  color: var(--yb-brand);
}

.yj-breadcrumb--hero .yj-breadcrumb__list [aria-current="page"] {
  color: rgba(253, 251, 247, 0.9);
}

.yj-breadcrumb--hero .yj-breadcrumb__list li::before {
  color: rgba(253, 251, 247, 0.3);
}

.yj-breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: #999;
}

.yj-breadcrumb__list li::before {
  content: "/";
  margin-right: 8px;
  color: #ccc;
}

.yj-breadcrumb__list li:first-child::before {
  display: none;
}

.yj-breadcrumb__list a {
  color: #777;
  text-decoration: none;
  transition: color 0.15s ease;
}

.yj-breadcrumb__list a:hover {
  color: var(--yb-brand);
}

.yj-breadcrumb__list [aria-current="page"] {
  color: #444;
  font-weight: 700;
}

/* Hero Meta on image */
.yj-post-hero__meta--hero {
  color: rgba(253, 251, 247, 0.7);
}

.yj-post-hero__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #999;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.yj-post-hero__category {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(247, 92, 3, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--yb-brand);
  border: 1px solid rgba(247, 92, 3, 0.25);
}

.yj-post-hero__dot {
  color: rgba(253, 251, 247, 0.3);
}

.yj-post-hero__title--hero {
  font-size: clamp(2.2rem, 1.8rem + 2.5vw, 3.6rem);
  font-weight: 700;
  color: #FDFBF7;
  margin: 0 0 18px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 800px;
}

.yj-post-hero__excerpt--hero {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.75);
  margin: 0;
  max-width: 640px;
}

/* ── Toolbar (Language + Author + Share) ── */
.yj-toolbar {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 0;
  position: sticky;
  top: var(--header-height);
  z-index: 98;
}

.yj-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 760px;
}

.yj-post-lang {
  display: flex;
  gap: 6px;
}

.yj-toolbar__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yj-toolbar__avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.yj-toolbar__author-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.yj-toolbar__author-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F0F0F;
}

.yj-toolbar__author-date {
  font-size: 0.75rem;
  color: #999;
}

.yj-toolbar__share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.yj-toolbar__share-label {
  font-size: 0.78rem;
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.yj-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #777;
  cursor: pointer;
  transition: all 0.16s ease;
  text-decoration: none;
}

.yj-share-btn:hover {
  border-color: var(--yb-brand);
  color: var(--yb-brand);
  background: rgba(247, 92, 3, 0.04);
}

/* ── Post Content ── */
.yj-post-content {
  padding: clamp(40px, 6vh, 80px) 0;
}

.yj-post-content__inner {
  max-width: 760px;
  margin: 0 auto;
}

.yj-post-body {
  font-size: clamp(1.02rem, 0.95rem + 0.25vw, 1.12rem);
  line-height: 1.9;
  color: #2a2a2a;
}

/* Drop cap on first paragraph */
.yj-post-body--dropcap > p:first-child::first-letter {
  float: left;
  font-size: 3.6em;
  line-height: 0.8;
  padding-right: 10px;
  padding-top: 6px;
  font-weight: 700;
  color: var(--yb-brand);
}

.yj-post-body h2 {
  font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 56px 0 18px;
  line-height: 1.3;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.yj-post-body h2:first-child,
.yj-post-body > p:first-child + h2 {
  border-top: none;
  padding-top: 0;
}

.yj-post-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 36px 0 12px;
}

.yj-post-body p {
  margin: 0 0 22px;
}

.yj-post-body ul,
.yj-post-body ol {
  margin: 0 0 28px;
  padding-left: 24px;
}

.yj-post-body li {
  margin-bottom: 10px;
  padding-left: 4px;
}

.yj-post-body li::marker {
  color: var(--yb-brand);
}

.yj-post-body strong {
  color: #0F0F0F;
}

.yj-post-body em {
  color: var(--yb-brand);
  font-style: italic;
}

.yj-post-body a {
  color: var(--yb-brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(247, 92, 3, 0.3);
  transition: all 0.15s ease;
}

.yj-post-body a:hover {
  color: #d94f02;
  text-decoration-color: #d94f02;
}

.yj-post-body .yj-media-placeholder {
  border: 2px dashed rgba(0, 0, 0, 0.1);
}

.yj-post-body blockquote {
  border-left: 3px solid var(--yb-brand);
  padding: 20px 28px;
  margin: 36px 0;
  background: #faf8f5;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: #444;
  font-size: 1.05em;
  line-height: 1.8;
}

/* ── Post Tags ── */
.yj-post-tags {
  padding: 0 0 32px;
}

.yj-post-tags__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.yj-post-tags__label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.yj-post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ── Author Card ── */
.yj-author-card {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.yj-author-card__inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.yj-author-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.yj-author-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 6px;
}

.yj-author-card__bio {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #666;
  margin: 0 0 10px;
}

.yj-author-card__link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--yb-brand);
  text-decoration: none;
}

.yj-author-card__link:hover {
  text-decoration: underline;
}

/* ── Related Journals ── */
.yj-related {
  padding: clamp(50px, 8vh, 80px) 0;
  background: #fafaf8;
}

.yj-related__title {
  font-size: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 clamp(24px, 4vh, 40px);
}

.yj-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.yj-card__img-wrap--sm {
  aspect-ratio: 16 / 10;
}

/* ── Back Link ── */
.yj-back {
  padding: 32px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.yj-back__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yb-brand);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.yj-back__link:hover {
  gap: 12px;
}

/* ── Post CTA (gradient) ── */
.yj-post-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  padding: clamp(60px, 10vh, 100px) 0;
}

.yj-post-cta__inner {
  max-width: 640px;
  text-align: center;
  margin: 0 auto;
}

.yj-post-cta__title {
  font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
}

.yj-post-cta__text {
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.12rem);
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 32px;
  line-height: 1.7;
}

.yj-post-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  .yj-controls__bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .yj-lang {
    order: -1;
    align-self: flex-start;
  }

  .yj-search {
    max-width: 100%;
  }

  .yj-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .yj-filters::-webkit-scrollbar {
    display: none;
  }

  .yj-grid {
    grid-template-columns: 1fr;
  }

  .yj-related__grid {
    grid-template-columns: 1fr;
  }

  .yj-post-hero__title--hero {
    font-size: clamp(1.6rem, 1.4rem + 1.5vw, 2.4rem);
  }

  .yj-post-hero-img {
    min-height: clamp(260px, 40vh, 380px);
  }

  .yj-toolbar__inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .yj-toolbar__author {
    order: -1;
    flex-basis: 100%;
  }

  .yj-toolbar__share-label {
    display: none;
  }

  .yj-post-body--dropcap > p:first-child::first-letter {
    font-size: 2.8em;
  }

  .yj-author-card__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .yj-post-cta__buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .yj-card__body {
    padding: 16px 18px 20px;
  }

  .yj-card__title {
    font-size: 1.1rem;
  }

  .yj-card__excerpt {
    font-size: 0.88rem;
  }

  .yj-post-hero__excerpt--hero {
    font-size: 0.92rem;
  }

  .yj-toolbar {
    padding: 12px 0;
  }

  .yj-share-btn {
    width: 30px;
    height: 30px;
  }

  .yj-post-body blockquote {
    padding: 16px 20px;
    margin: 24px 0;
  }
}


/* ========================================
   AUTH: UTILITY BAR & DRAWER AUTH
   ======================================== */

/* Utility bar member link */
.yb-util__member {
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: color 0.18s ease;
}
.yb-util__member:hover {
  color: var(--yb-brand);
}

/* Utility bar auth link */
.yb-util__auth {
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.18s ease;
}

.yb-util__auth:hover {
  color: var(--yb-brand);
}

.yb-util__auth--user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: default;
}

.yb-util__avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--yb-brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0;
}

.yb-util__user-name {
  font-weight: 700;
  font-size: 0.78rem;
}

.yb-util__profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  transition: color 0.18s ease;
}

.yb-util__profile-link:hover {
  color: var(--yb-brand);
}

.yb-drawer__auth-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  flex: 1;
}

.yb-util__logout {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  margin-left: 4px;
  transition: color 0.18s ease;
}

.yb-util__logout:hover {
  color: var(--yb-brand);
}

/* Mobile drawer auth */
.yb-drawer__auth {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.yb-drawer__auth-login {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 0;
  transition: color 0.18s ease;
}

.yb-drawer__auth-login:hover {
  color: var(--yb-brand);
}

.yb-drawer__auth-login svg {
  color: var(--yb-brand);
  flex-shrink: 0;
}

.yb-drawer__auth-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.yb-drawer__auth-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yb-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

.yb-drawer__auth-name {
  color: #FDFBF7;
  font-size: 0.92rem;
  font-weight: 700;
  flex: 1;
}

.yb-drawer__auth-logout {
  color: rgba(253,251,247,0.5);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 0.18s ease;
  white-space: nowrap;
}

.yb-drawer__auth-logout:hover {
  color: var(--yb-brand);
}

/* ========================================
   AUTH MODAL
   ======================================== */

.yb-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.yb-auth-modal[aria-hidden="true"] {
  display: none;
}

.yb-auth-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.yb-auth-modal__box {
  position: relative;
  background: #FFFCF9;
  border-radius: 20px;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px 40px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  border: 1px solid #E8E4E0;
  transition: max-width 0.3s ease;
}

/* Split layout for register view */
.yb-auth-modal__box[data-view="register"] {
  max-width: 780px;
  padding: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  border: none;
}

.yb-auth-modal__box[data-view="register"]::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: none;
}

/* Visual panel (only visible in register view) */
.yb-auth-modal__visual {
  display: none;
  background: linear-gradient(160deg, #c44800 0%, #f75c03 50%, #ff9966 100%);
  padding: 48px 32px;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  min-height: 480px;
}

.yb-auth-modal__box[data-view="register"] .yb-auth-modal__visual {
  display: flex;
  grid-column: 1;
  grid-row: 1 / -1;
}

.yb-auth-modal__visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yb-auth-modal__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(196,72,0,.82) 0%, rgba(247,92,3,.65) 50%, rgba(255,153,102,.55) 100%);
}

.yb-auth-modal__visual-dots {
  position: absolute;
  top: 32px;
  left: 32px;
  display: flex;
  gap: 6px;
  z-index: 1;
}

.yb-auth-modal__visual-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
}

.yb-auth-modal__visual-dots span:first-child {
  background: #fff;
}

.yb-auth-modal__visual-title {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.yb-auth-modal__visual-sub {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: rgba(255,255,255,.75);
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Close button for register split layout */
.yb-auth-modal__box[data-view="register"] .yb-auth-modal__close {
  z-index: 2;
}

/* Form panel in register split layout */
.yb-auth-modal__box[data-view="register"] .yb-auth-view {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 2;
  grid-row: 1;
}

.yb-auth-modal__box[data-view="register"] .yb-auth-view[hidden] {
  display: none;
}

@media (max-width: 640px) {
  .yb-auth-modal {
    padding: 12px;
    align-items: flex-end;
  }
  .yb-auth-modal__box {
    max-height: 92vh;
    padding: 32px 24px 28px;
    border-radius: 20px 20px 16px 16px;
  }
  .yb-auth-modal__box[data-view="register"] {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 0;
    border-radius: 20px 20px 16px 16px;
    overflow-y: auto;
  }
  .yb-auth-modal__box[data-view="register"] .yb-auth-modal__visual {
    min-height: auto;
    padding: 16px 20px;
    grid-row: 1;
  }
  .yb-auth-modal__visual-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }
  .yb-auth-modal__visual-sub {
    font-size: 0.8rem;
  }
  .yb-auth-modal__box[data-view="register"] .yb-auth-view {
    grid-column: 1;
    grid-row: 2;
    padding: 20px 20px 24px;
  }
  .yb-auth-modal__header {
    margin-bottom: 16px;
  }
  .yb-auth-modal__logo {
    margin-bottom: 12px;
  }
  .yb-auth-modal__logo img {
    height: 28px;
  }
  .yb-auth-modal__title {
    font-size: 1.2rem;
  }
  .yb-auth-form {
    gap: 10px;
  }
  .yb-auth-field input,
  .yb-auth-field__select {
    padding: 9px 12px;
    font-size: 0.88rem;
  }
  .yb-auth-field label {
    font-size: 0.75rem;
  }
  .yb-auth-submit {
    padding: 11px 20px;
    font-size: 0.92rem;
    margin-top: 2px;
  }
}

/* Warm glow accent on login/reset views */
.yb-auth-modal__box::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(247,92,3,.12) 0%, transparent 70%);
  pointer-events: none;
}

.yb-auth-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #6F6A66;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 2;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.yb-auth-modal__close:hover {
  background: #F5F3F0;
  color: #0F0F0F;
}

.yb-auth-modal__header {
  text-align: left;
  margin-bottom: 28px;
}

.yb-auth-modal__logo {
  margin-bottom: 20px;
}

.yb-auth-modal__logo img {
  height: 36px;
  width: auto;
}

.yb-auth-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 6px;
}

.yb-auth-modal__subtitle {
  font-size: 0.9rem;
  color: #6F6A66;
}

/* Auth Form */
.yb-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yb-auth-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.yb-auth-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F0F0F;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.yb-auth-field input {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--yb-brand);
  border-radius: 12px;
  background: #fff;
  color: #0F0F0F;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.yb-auth-field input::placeholder {
  color: #B5B0AB;
}

.yb-auth-field input:focus {
  border-color: var(--yb-brand);
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}

.yb-auth-hint {
  font-size: 0.78rem;
  color: #6F6A66;
  margin-top: -2px;
}

.yb-auth-notice {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 4px;
}

.yb-auth-notice p {
  font-size: 0.82rem;
  color: #6F6A66;
  line-height: 1.45;
  margin: 0;
}

.yb-auth-notice strong {
  color: #0F0F0F;
}

.yb-auth-field__select {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  padding: 12px 16px;
  border: 1px solid var(--yb-brand);
  border-radius: 12px;
  background: #fff;
  color: #0F0F0F;
  outline: none;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236F6A66' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.yb-auth-field__select:focus {
  border-color: var(--yb-brand);
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}

.yb-auth-submit {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 24px;
  background: var(--yb-brand);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background var(--transition-medium), transform var(--transition-fast);
  margin-top: 4px;
}

.yb-auth-submit:hover {
  background: #d94f02;
}

.yb-auth-submit:active {
  transform: scale(0.98);
}

.yb-auth-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.yb-auth-google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 24px;
  background: #fff;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: #0F0F0F;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.yb-auth-google-btn:hover {
  border-color: #B5B0AB;
  background: #F5F3F0;
}
.yb-auth-google-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.yb-auth-or-sep {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6F6A66;
  font-size: 0.82rem;
}
.yb-auth-or-sep::before,
.yb-auth-or-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E8E4E0;
}

.yb-auth-error {
  font-size: 0.85rem;
  color: #d32f2f;
  background: #fdecea;
  padding: 10px 14px;
  border-radius: 8px;
}

.yb-auth-success {
  font-size: 0.85rem;
  color: #2e7d32;
  background: #edf7ed;
  padding: 10px 14px;
  border-radius: 8px;
}

.yb-auth-links {
  text-align: center;
  margin-top: 12px;
}

.yb-auth-links a {
  font-size: 0.85rem;
  color: var(--yb-brand);
  text-decoration: none;
}

.yb-auth-links a:hover {
  text-decoration: underline;
}

.yb-auth-divider {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #E8E4E0;
  font-size: 0.85rem;
  color: #6F6A66;
}

.yb-auth-divider a {
  color: var(--yb-brand);
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
}

.yb-auth-divider a:hover {
  text-decoration: underline;
}

/* Consent checkboxes in registration form */
.yb-auth-consent {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 16px;
}
.yb-auth-consent__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: #0F0F0F;
  line-height: 1.45;
  cursor: pointer;
}
.yb-auth-consent__item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 1.5px solid #E8E4E0;
  border-radius: 4px;
  margin-top: 1px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.yb-auth-consent__item input[type="checkbox"]:checked {
  background: var(--yb-brand);
  border-color: var(--yb-brand);
}
.yb-auth-consent__item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.yb-auth-consent__item input[type="checkbox"]:focus-visible {
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}
.yb-auth-consent__item a {
  color: var(--yb-brand);
  text-decoration: underline;
  font-weight: 600;
}
.yb-auth-consent__item a:hover {
  color: #d94f02;
}

/* ========================================
   AUTH ACTION PAGE (password reset, email verify)
   ======================================== */

.yb-auth-action {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--yb-light-bg, #F5F3F0);
}

.yb-auth-action__card {
  width: 100%;
  max-width: 440px;
  background: var(--yb-warm-white, #FFFCF9);
  border-radius: 16px;
  padding: 48px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.yb-auth-action__logo {
  margin-bottom: 28px;
}

.yb-auth-action__logo img {
  height: 36px;
  width: auto;
}

.yb-auth-action__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yb-black, #0F0F0F);
  margin: 0 0 8px;
}

.yb-auth-action__subtitle {
  font-size: 0.95rem;
  color: var(--yb-muted, #6F6A66);
  margin: 0 0 24px;
  line-height: 1.5;
}

.yb-auth-action__step .yb-auth-form {
  text-align: left;
}

.yb-auth-action__icon {
  margin-bottom: 20px;
}

.yb-auth-action__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--yb-border, #E8E4E0);
  border-top-color: var(--yb-brand, #f75c03);
  border-radius: 50%;
  margin: 24px auto;
  animation: yb-aa-spin 0.7s linear infinite;
}

@keyframes yb-aa-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
  .yb-auth-action__card {
    padding: 32px 20px;
  }
}

/* ========================================
   CONTENT GATING
   ======================================== */

.yb-gated-blur {
  position: relative;
  max-height: 400px;
  overflow: hidden;
}

.yb-gated-blur::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,252,249,1) 100%);
  pointer-events: none;
}

.yb-gate-wall {
  margin-top: -40px;
  padding: 0 0 40px;
}

.yb-gate-wall__inner {
  text-align: center;
  padding: 40px 32px;
  background: #F5F3F0;
  border-radius: 16px;
  border: 1px solid #E8E4E0;
}

.yb-gate-wall__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.yb-gate-wall__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 8px;
}

.yb-gate-wall__text {
  font-size: 0.92rem;
  color: #6F6A66;
  margin-bottom: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.yb-gate-wall__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.yb-gated-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2;
}

/* ========================================
   AUTH RESPONSIVE
   ======================================== */

@media (max-width: 480px) {
  .yb-auth-modal__box {
    padding: 32px 24px;
    border-radius: 12px;
  }

  .yb-auth-modal__title {
    font-size: 1.3rem;
  }

  .yb-gate-wall__inner {
    padding: 32px 20px;
  }

  .yb-gate-wall__title {
    font-size: 1.1rem;
  }
}

/* ========================================
   MINDBODY SCHEDULE
   ======================================== */

.yb-mb-schedule {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  overflow: hidden;
}

.yb-mb-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 24px;
  color: #6F6A66;
  font-size: 0.92rem;
}

.yb-mb-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid #E8E4E0;
  border-top-color: var(--yb-brand);
  border-radius: 50%;
  animation: yb-spin 0.7s linear infinite;
}

@keyframes yb-spin {
  to { transform: rotate(360deg); }
}

.yb-mb-error,
.yb-mb-empty {
  padding: 48px 24px;
  text-align: center;
  color: #6F6A66;
  font-size: 0.92rem;
}

/* Week grid */
.yb-mb-week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 300px;
}

.yb-mb-day {
  border-right: 1px solid #E8E4E0;
}

.yb-mb-day:last-child {
  border-right: none;
}

.yb-mb-day--today {
  background: rgba(247, 92, 3, 0.03);
}

.yb-mb-day__header {
  padding: 12px 10px;
  border-bottom: 1px solid #E8E4E0;
  text-align: center;
}

.yb-mb-day--today .yb-mb-day__header {
  border-bottom-color: var(--yb-brand);
}

.yb-mb-day__name {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0F0F0F;
}

.yb-mb-day--today .yb-mb-day__name {
  color: var(--yb-brand);
}

.yb-mb-day__date {
  display: block;
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 2px;
}

.yb-mb-day__classes {
  padding: 6px 4px;
}

.yb-mb-noclass {
  padding: 20px 8px;
  text-align: center;
  font-size: 0.78rem;
  color: #B5B0AB;
}

/* Individual class card */
.yb-mb-class {
  padding: 8px 8px;
  border-radius: 8px;
  margin-bottom: 4px;
  transition: background var(--transition-fast);
  cursor: default;
}

.yb-mb-class:hover {
  background: #F5F3F0;
}

.yb-mb-class__time {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-bottom: 2px;
}

.yb-mb-class__name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F0F0F;
  line-height: 1.3;
}

.yb-mb-class__instructor {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 1px;
}

.yb-mb-class__action {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.yb-mb-class__book {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  background: var(--yb-brand);
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.yb-mb-class__book:hover {
  background: #d94f02;
}

.yb-mb-class__book:active {
  transform: scale(0.96);
}

.yb-mb-class__book:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.yb-mb-class__book--success {
  background: #2e7d32;
}

.yb-mb-class__spots {
  font-size: 0.68rem;
  color: #6F6A66;
}

.yb-mb-class__full {
  font-size: 0.72rem;
  font-weight: 700;
  color: #d32f2f;
}

.yb-mb-class--full {
  opacity: 0.6;
}

/* Week navigation */
.yb-mb-week-nav {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #E8E4E0;
}

.yb-mb-week-nav__btn {
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--yb-brand);
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background var(--transition-fast);
}

.yb-mb-week-nav__btn:hover {
  background: rgba(247, 92, 3, 0.08);
}

/* ========================================
   CHECKOUT MODAL EXTRAS
   ======================================== */

.yb-auth-modal__box--wide {
  max-width: 480px;
}

.yb-checkout-service {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #F5F3F0;
  border-radius: 10px;
  margin-bottom: 20px;
}

.yb-checkout-service__name {
  font-weight: 700;
  font-size: 0.92rem;
  color: #0F0F0F;
}

.yb-checkout-service__price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--yb-brand);
}

.yb-checkout-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.yb-checkout-divider {
  text-align: center;
  padding: 8px 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-top: 1px solid #E8E4E0;
  margin-top: 4px;
  padding-top: 16px;
}

.yb-checkout-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #6F6A66;
  margin-top: 8px;
}

.yb-checkout-success__inner {
  text-align: center;
  padding: 20px 0;
}

.yb-checkout-success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

/* ========================================
   CHECKOUT FLOW MODAL (multi-step)
   ======================================== */

.ycf-box {
  max-width: 460px;
}

/* Step indicator */
.ycf-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

.ycf-steps__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E8E4E0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.ycf-steps__dot--active {
  background: var(--yb-brand);
  transform: scale(1.15);
}

.ycf-steps__line {
  width: 40px;
  height: 2px;
  background: #E8E4E0;
}

/* Step panels */
.ycf-step {
  animation: ycfFadeIn 0.25s ease;
}

@keyframes ycfFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product badge (shown on login step) */
.ycf-product-badge {
  display: flex;
  flex-direction: column;
  padding: 12px 16px;
  background: #F5F3F0;
  border-radius: 10px;
  margin-bottom: 20px;
  border: 1px solid #E8E4E0;
}

.ycf-product-badge__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ycf-product-badge__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: #0F0F0F;
}

.ycf-product-badge__price {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--yb-brand);
}

.ycf-product-badge__cohort {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6F6A66;
  margin-top: 4px;
}

.ycf-product-badge__cohort[hidden] {
  display: none;
}

.ycf-product-badge__desc {
  font-size: 0.78rem;
  color: #6F6A66;
  margin: 6px 0 0;
  line-height: 1.4;
}

/* Back link */
.ycf-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6F6A66;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.15s;
}

.ycf-back:hover {
  color: var(--yb-brand);
}

.ycf-back[hidden] {
  display: none;
}

/* Product breakdown card (checkout step) */
.ycf-product {
  background: #F5F3F0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  border: 1px solid #E8E4E0;
}

.ycf-product__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.ycf-product__name {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0F0F0F;
}

.ycf-product__price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--yb-brand);
  white-space: nowrap;
  margin-left: 12px;
}

.ycf-product__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ycf-chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: #fff;
  color: #0F0F0F;
  border: 1px solid #E8E4E0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ycf-chip--brand {
  background: var(--yb-brand);
  color: #fff;
  border-color: var(--yb-brand);
}

.ycf-chip--muted {
  background: transparent;
  color: #6F6A66;
  border-color: transparent;
  font-weight: 400;
  text-transform: none;
  padding-left: 0;
}

.ycf-product__desc {
  font-size: 0.88rem;
  color: #6F6A66;
  line-height: 1.5;
  margin: 0;
}

.ycf-product__note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #E8E4E0;
  font-size: 0.82rem;
  color: #6F6A66;
  line-height: 1.45;
}

.ycf-product__note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #6F6A66;
}

.ycf-product__refund {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #16a34a;
}

.ycf-product__refund svg {
  flex-shrink: 0;
  color: #16a34a;
}

.ycf-product__benefits {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ycf-product__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.82rem;
  color: #0F0F0F;
  line-height: 1.4;
}

.ycf-product__benefits svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: #f75c03;
}

/* Payment method selector (stored vs new card) */
.ycf-payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.ycf-payment-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #E8E4E0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.ycf-payment-option:hover {
  border-color: #B5B0AB;
}

.ycf-payment-option--active {
  border-color: var(--yb-brand);
  background: rgba(247, 92, 3, 0.04);
}

.ycf-payment-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-width: 18px;
  border: 2px solid #E8E4E0;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  transition: border-color 0.15s;
}

.ycf-payment-option input[type="radio"]:checked {
  border-color: var(--yb-brand);
}

.ycf-payment-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--yb-brand);
  border-radius: 50%;
}

.ycf-payment-option__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ycf-payment-option__label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F0F0F;
}

.ycf-payment-option__card {
  font-size: 0.82rem;
  color: #6F6A66;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* New card fields container */
#ycf-new-card-fields {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#ycf-new-card-fields[hidden] {
  display: none;
}

/* Responsive */
@media (max-width: 480px) {
  .ycf-box {
    padding: 36px 24px;
  }

  .ycf-product__header {
    flex-direction: column;
    gap: 4px;
  }

  .ycf-product__price {
    margin-left: 0;
  }
}

/* ========================================
   WORKSHOP BROWSER MODAL (ywb-)
   ======================================== */

.ywb-box {
  max-width: 560px;
  padding: 36px 32px 24px;
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.ywb-header {
  text-align: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.ywb-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 6px;
}

.ywb-subtitle {
  font-size: 0.88rem;
  color: #6F6A66;
  margin: 0;
}

/* Loading spinner */
.ywb-loading {
  text-align: center;
  padding: 48px 0;
  color: #6F6A66;
  font-size: 0.9rem;
}

.ywb-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #E8E4E0;
  border-top-color: #f75c03;
  border-radius: 50%;
  margin: 0 auto 12px;
  animation: ywb-spin 0.7s linear infinite;
}

@keyframes ywb-spin {
  to { transform: rotate(360deg); }
}

/* Error / empty states */
.ywb-error,
.ywb-empty {
  text-align: center;
  padding: 40px 0;
  color: #6F6A66;
  font-size: 0.9rem;
}

.ywb-retry-btn {
  margin-top: 12px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid #f75c03;
  background: transparent;
  color: #f75c03;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.ywb-retry-btn:hover {
  background: #f75c03;
  color: #fff;
}

/* Workshop list */
.ywb-list {
  overflow-y: auto;
  flex: 1 1 auto;
  min-height: 0;
  padding-right: 4px;
}

/* Day group */
.ywb-day {
  margin-bottom: 20px;
}

.ywb-day__header {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6F6A66;
  padding: 0 0 8px;
  border-bottom: 1px solid #E8E4E0;
  margin-bottom: 8px;
}

/* Workshop card */
.ywb-card {
  padding: 14px 16px;
  border-radius: 12px;
  background: #F5F3F0;
  margin-bottom: 6px;
  transition: background 0.15s;
}

.ywb-card:hover {
  background: #EDEAE6;
}

.ywb-card--booked {
  background: #f0faf0;
  border: 1px solid #b8e6b8;
}

.ywb-card--booked:hover {
  background: #e6f5e6;
}

.ywb-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.ywb-card__time {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F0F0F;
  white-space: nowrap;
}

.ywb-card__name {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0F0F0F;
  line-height: 1.35;
  margin-bottom: 4px;
}

.ywb-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: #6F6A66;
}

.ywb-card__meta > span:not(:last-child)::after {
  content: '·';
  margin-left: 8px;
  color: #ccc;
}

.ywb-card__instructor {
  /* inherits from .ywb-card__meta */
}

.ywb-card__location {
  /* inherits from .ywb-card__meta */
}

.ywb-card__toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  color: #f75c03;
  cursor: pointer;
}

.ywb-card__toggle svg {
  transition: transform 0.2s;
}

.ywb-card__toggle--open svg {
  transform: rotate(180deg);
}

.ywb-card__desc {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #E8E4E0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #6F6A66;
}

.ywb-card__right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ywb-card__spots {
  font-size: 0.75rem;
  color: #6F6A66;
  white-space: nowrap;
}

/* Badges */
.ywb-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.ywb-badge--booked {
  background: #d4edda;
  color: #1a6b2a;
}

.ywb-badge--full {
  background: #f0e0d6;
  color: #8a4a20;
}

/* Book button */
.ywb-book-btn {
  padding: 6px 16px;
  border-radius: 999px;
  border: none;
  background: #f75c03;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}

.ywb-book-btn:hover {
  background: #d94f02;
  transform: translateY(-1px);
}

.ywb-book-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Cancel button */
.ywb-cancel-btn {
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid #6F6A66;
  background: transparent;
  color: #6F6A66;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s;
}

.ywb-cancel-btn:hover {
  border-color: #c0392b;
  color: #c0392b;
}

.ywb-cancel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Footer CTA */
.ywb-footer {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 0;
  margin-top: 16px;
  border-top: 1px solid #E8E4E0;
}

.ywb-footer__info {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.ywb-footer__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
}

.ywb-footer__label {
  font-size: 0.8rem;
  color: #6F6A66;
}

.ywb-footer__buy {
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  background: #0F0F0F;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.ywb-footer__buy:hover {
  background: #333;
}

/* Responsive */
@media (max-width: 480px) {
  .ywb-box {
    padding: 28px 20px 20px;
    max-height: 92vh;
  }

  .ywb-card__top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ywb-card__right {
    width: 100%;
    justify-content: flex-end;
  }

  .ywb-footer {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    text-align: center;
  }

  .ywb-footer__info {
    justify-content: center;
  }

  .ywb-footer__buy {
    width: 100%;
  }
}

/* Workshop browser — branded dialog (replaces native alert/confirm) */
.ywb-dialog__overlay {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: rgba(15, 15, 15, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: ywbFadeIn 0.18s ease;
}

@keyframes ywbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.ywb-dialog {
  background: #FFFCF9;
  border-radius: 16px;
  padding: 28px 24px 20px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.ywb-dialog__message {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #0F0F0F;
  margin: 0 0 24px;
  text-align: center;
}

.ywb-dialog__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.ywb-dialog__btn {
  flex: 1;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  border: none;
}

.ywb-dialog__btn:active {
  transform: scale(0.97);
}

.ywb-dialog__btn--cancel {
  background: #F5F3F0;
  color: #0F0F0F;
}

.ywb-dialog__btn--cancel:hover {
  background: #E8E4E0;
}

.ywb-dialog__btn--confirm {
  background: #f75c03;
  color: #fff;
}

.ywb-dialog__btn--confirm:hover {
  background: #d94f02;
}

/* ========================================
   MINDBODY RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
  .yb-mb-week {
    grid-template-columns: 1fr;
  }

  .yb-mb-day {
    border-right: none;
    border-bottom: 1px solid #E8E4E0;
  }

  .yb-mb-day:last-child {
    border-bottom: none;
  }

  .yb-mb-day__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 16px;
  }

  .yb-mb-day__classes {
    padding: 4px 8px 12px;
  }

  .yb-mb-class {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 10px 8px;
  }

  .yb-mb-class__action {
    margin-top: 0;
  }

  .yb-checkout-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   COOKIE CONSENT — BANNER & MODAL
   GDPR-compliant consent UI
   ======================================== */

/* --- Banner (bottom bar) --- */
.yb-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #0F0F0F;
  border-top: 1.5px solid var(--yb-brand);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
  pointer-events: none;
  font-family: var(--font-primary);
}

.yb-cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.yb-cookie-banner__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.yb-cookie-banner__text {
  flex: 1;
  min-width: 0;
}

.yb-cookie-banner__msg {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.yb-cookie-banner__msg a {
  color: var(--yb-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yb-cookie-banner__msg a:hover {
  color: #ff9966;
}

.yb-cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

/* --- Shared button styles --- */
.yb-cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 11px 22px;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}

.yb-cookie-btn--primary {
  background: var(--yb-brand);
  color: #fff;
}

.yb-cookie-btn--primary:hover {
  background: #d94f02;
}

.yb-cookie-btn--secondary {
  background: #0F0F0F;
  color: #fff;
  border: 1.5px solid #fff;
}

.yb-cookie-btn--secondary:hover {
  background: #fff;
  color: #0F0F0F;
}

.yb-cookie-btn--outline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.yb-cookie-btn--outline:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.yb-cookie-btn--ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  padding: 11px 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  border: none;
}

.yb-cookie-btn--ghost:hover {
  color: var(--yb-brand);
}

/* --- Modal (overlay) --- */
.yb-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-family: var(--font-primary);
  padding: 16px;
}

.yb-cookie-modal--visible {
  opacity: 1;
  pointer-events: auto;
}

.yb-cookie-modal__dialog {
  background: #0F0F0F;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  color: #fff;
  -webkit-overflow-scrolling: touch;
}

.yb-cookie-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 0;
  gap: 12px;
}

.yb-cookie-modal__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
}

.yb-cookie-modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 6px;
  border-radius: 50%;
  transition: all 0.18s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yb-cookie-modal__close:hover {
  color: var(--yb-brand);
  background: rgba(255, 255, 255, 0.05);
}

.yb-cookie-modal__body {
  padding: 20px 28px;
}

.yb-cookie-modal__intro {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 20px;
}

/* --- Category rows --- */
.yb-cookie-category {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
}

.yb-cookie-category:last-child {
  padding-bottom: 0;
}

.yb-cookie-category__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.yb-cookie-category__info {
  flex: 1;
  min-width: 0;
}

.yb-cookie-category__name {
  font-size: 0.92rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}

.yb-cookie-category__desc {
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* --- Toggle switch --- */
.yb-cookie-toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.yb-cookie-toggle input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.yb-cookie-toggle__slider {
  position: relative;
  display: block;
  width: 44px;
  min-width: 44px;
  height: 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.yb-cookie-toggle__slider::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.yb-cookie-toggle input:checked + .yb-cookie-toggle__slider {
  background: var(--yb-brand);
}

.yb-cookie-toggle input:checked + .yb-cookie-toggle__slider::after {
  transform: translateX(20px);
}

.yb-cookie-toggle input:focus-visible + .yb-cookie-toggle__slider {
  outline: 2px solid var(--yb-brand);
  outline-offset: 2px;
}

/* Locked (necessary) */
.yb-cookie-toggle--locked .yb-cookie-toggle__slider {
  background: var(--yb-brand);
  opacity: 0.5;
  cursor: not-allowed;
}

.yb-cookie-toggle--locked .yb-cookie-toggle__slider::after {
  transform: translateX(20px);
}

.yb-cookie-toggle__label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yb-brand);
  white-space: nowrap;
}

/* --- Modal footer --- */
.yb-cookie-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 28px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Mobile --- */
@media (max-width: 768px) {
  .yb-cookie-banner__inner {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 18px 16px;
  }

  .yb-cookie-banner__actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .yb-cookie-banner__actions .yb-cookie-btn {
    display: flex;
    width: 100%;
    padding: 13px 20px;
    font-size: 0.82rem;
  }

  .yb-cookie-banner__actions .yb-cookie-btn--ghost {
    order: 3;
    padding: 8px 20px;
    font-size: 0.75rem;
  }

  .yb-cookie-modal {
    padding: 10px;
    align-items: flex-end;
  }

  .yb-cookie-modal__dialog {
    max-height: 92vh;
    border-radius: 16px 16px 0 0;
  }

  .yb-cookie-modal__header {
    padding: 20px 20px 0;
  }

  .yb-cookie-modal__body {
    padding: 16px 20px;
  }

  .yb-cookie-modal__footer {
    padding: 14px 20px 20px;
    flex-direction: column;
    gap: 8px;
  }

  .yb-cookie-modal__footer .yb-cookie-btn {
    display: flex;
    width: 100%;
    padding: 13px 20px;
    font-size: 0.82rem;
  }

  .yb-cookie-category__header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
}

/* ========================================
   AUTH: TWO-COLUMN NAME ROW
   ======================================== */

.yb-auth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  overflow: hidden;
}

@media (max-width: 480px) {
  .yb-auth-row {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   PROFILE PAGE
   ======================================== */

.yb-profile {
  padding: 0 0 80px;
}

/* Guest state */
.yb-profile__guest {
  max-width: 480px;
  margin: 60px auto 0;
}

.yb-profile__guest-inner {
  text-align: center;
  padding: 48px 32px;
  background: #F5F3F0;
  border-radius: 16px;
  border: 1px solid #E8E4E0;
}

.yb-profile__guest-inner svg {
  margin-bottom: 20px;
  opacity: 0.6;
}

.yb-profile__guest-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 8px;
}

.yb-profile__guest-text {
  font-size: 0.92rem;
  color: #6F6A66;
  margin-bottom: 24px;
}

.yb-profile__guest-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Hero Header ── */
.yb-profile__hero {
  background: linear-gradient(135deg, #c44800 0%, #f75c03 50%, #e86820 100%);
  padding: 32px 36px 28px;
  border-radius: 14px 14px 0 0;
}

.yb-profile__hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.yb-profile__hero-logo {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  letter-spacing: 0.05em;
}

.yb-profile__hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.yb-profile__hero-lang {
  display: flex;
  gap: 4px;
}

.yb-profile__hero-lang button {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  border: none;
  color: rgba(255,255,255,.5);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.yb-profile__hero-lang button.is-active {
  background: rgba(255,255,255,.25);
  color: #fff;
}

.yb-profile__hero-logout {
  padding: 5px 14px;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  border: none;
  color: rgba(255,255,255,.6);
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.yb-profile__hero-logout:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}

.yb-profile__hero-user {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Avatar in hero */
.yb-profile__avatar-wrap {
  position: relative;
  width: 68px;
  flex-shrink: 0;
}

.yb-profile__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.yb-profile__avatar.has-photo {
  background-color: rgba(255,255,255,.1);
}

.yb-profile__avatar-edit {
  position: absolute;
  bottom: 0;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #f75c03;
  border: 2px solid rgba(255,255,255,.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
}

.yb-profile__avatar-edit:hover {
  background: #fff3ec;
}

.yb-profile__member-name {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.yb-profile__member-meta {
  font-size: 0.85rem;
  color: rgba(255,255,255,.9);
  margin: 0;
}

.yb-profile__member-badge {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  margin-left: 8px;
  vertical-align: middle;
}

.yb-profile__member-since {
  display: none;
}

.yb-profile__role-badge {
  display: inline-block;
  padding: 3px 10px;
  border: 1.5px solid #f75c03;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f75c03;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Profile Container ── */
.yb-profile__wrap {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid #E8E4E0;
  background: #FFFCF9;
}

/* ── Profile Tabs ── */
.yb-profile__tabs {
  display: flex;
  gap: 0;
  background: #FFFCF9;
  border-bottom: 1.5px solid #E8E4E0;
  padding: 0 32px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.yb-profile__tab {
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  padding: 14px 20px;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #6F6A66;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  margin-bottom: -1.5px;
  white-space: nowrap;
}

.yb-profile__tab:hover {
  color: #0F0F0F;
}

.yb-profile__tab.is-active {
  color: #0F0F0F;
  border-bottom-color: #f75c03;
  font-weight: 700;
}

/* CRM tabs (marketing/admin only) — subtle accent separator */
.yb-profile__tab--crm {
  border-left: 1px solid #E8E4E0;
  margin-left: 4px;
  padding-left: 20px;
  color: #3f99a5;
}
.yb-profile__tab--crm.is-active {
  color: #0F0F0F;
  border-bottom-color: #3f99a5;
}
.yb-profile__crm-panel {
  padding-top: 1rem;
}

.yb-profile__tab-panel {
  display: none;
}

.yb-profile__tab-panel.is-active {
  display: block;
}

/* ── Profile Content Area ── */
.yb-profile__content-area {
  padding: clamp(16px, 3vw, 32px);
  background: #FFFCF9;
}

.yb-btn--full {
  width: 100%;
}

/* Cards */
.yb-profile__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 14px;
  padding: clamp(16px, 3vw, 28px);
  margin-bottom: 20px;
}

.yb-profile__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #E8E4E0;
}

.yb-profile__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.yb-profile__form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Info grid (membership, sites) */
.yb-profile__info-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.yb-profile__info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #F5F3F0;
}

.yb-profile__info-item:last-child {
  border-bottom: none;
}

.yb-profile__info-label {
  font-size: 0.88rem;
  color: #6F6A66;
  font-weight: 700;
}

.yb-profile__info-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0F0F0F;
}

.yb-profile__info-value--success {
  color: #2e7d32;
}

.yb-profile__info-value--muted {
  color: #B5B0AB;
}

/* Responsive */
@media (max-width: 768px) {
  .yb-profile__form-row {
    grid-template-columns: 1fr;
  }
  .yb-profile__hero {
    padding: 28px 16px 24px;
  }
  .yb-profile__tabs {
    padding: 0 16px;
  }
  .yb-profile__content-area {
    padding: 24px 16px;
  }
  .yb-profile__hero-user {
    flex-wrap: wrap;
  }
}

/* ── Profile Form 3-column row ── */
.yb-profile__form-row--3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ── Online Store ── */
.yb-store__header {
  margin-bottom: 2rem;
}

.yb-store__title {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.5rem;
}

.yb-store__subtitle {
  color: #6F6A66;
  font-size: 0.95rem;
  margin: 0;
}

.yb-store__loading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #6F6A66;
  padding: 2rem 0;
}

.yb-store__empty,
.yb-store__error {
  color: #6F6A66;
  padding: 2rem 0;
  text-align: center;
}

.yb-store__error {
  color: #c0392b;
}

.yb-store__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 1.25rem;
}

.yb-store__item {
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: border-color 0.2s;
}

.yb-store__item:hover {
  border-color: #f75c03;
}

.yb-store__item-info {
  flex: 1;
}

.yb-store__item-name {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.5rem;
}

.yb-store__item-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f75c03;
}

.yb-store__item-btn {
  width: 100%;
}

/* ── Store Checkout ── */
.yb-store__checkout-inner {
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  padding: clamp(1rem, 3vw, 2rem);
  max-width: 900px;
}

.yb-store__checkout-title {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 1.5rem;
}

.yb-store__checkout-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  background: #F5F3F0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

/* -- Checkout: Start Date picker (contracts) -- */
.yb-store__checkout-startdate {
  margin-bottom: 1.25rem;
}
.yb-store__checkout-startdate label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F0F0F;
  margin-bottom: 0.35rem;
}
.yb-store__checkout-startdate label svg {
  stroke: #f75c03;
}
.yb-store__checkout-startdate input[type="date"] {
  width: 100%;
  max-width: 220px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #f75c03;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.85rem;
  color: #0F0F0F;
  background: #FFFCF9;
  outline: none;
}
.yb-store__checkout-startdate input[type="date"]:focus {
  border-color: #d94f02;
  box-shadow: 0 0 0 2px rgba(247,92,3,0.12);
}

/* Two-column checkout grid */
.yb-checkout__grid {
  /* Default: single column — payment form fills width */
}

.yb-checkout__grid--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.yb-checkout__col-left {
  display: none;
}

.yb-checkout__grid--split .yb-checkout__col-left {
  display: block;
}

.yb-checkout__col-left .yb-checkout-doc:last-of-type {
  margin-bottom: 0;
}

.yb-checkout__payment-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 1rem;
  display: none;
}

.yb-checkout__grid--split .yb-checkout__payment-title {
  display: block;
}

.yb-store__checkout-item-name {
  font-weight: 700;
  color: #0F0F0F;
}

.yb-store__checkout-item-price {
  font-weight: 700;
  color: #f75c03;
  font-size: 1.1rem;
}

.yb-store__checkout-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.yb-store__checkout-actions .yb-auth-submit {
  flex: 1;
}

.yb-store__checkout-actions .yb-btn--outline {
  flex: 0 0 auto;
}

.yb-store__secure {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6F6A66;
  font-size: 0.8rem;
  margin-top: 1rem;
  justify-content: center;
}

/* ── Save Card Checkbox ── */
.yb-store__save-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #6F6A66;
  margin-top: 0.5rem;
}

.yb-store__save-card input[type="checkbox"] {
  accent-color: #f75c03;
  width: 16px;
  height: 16px;
}

/* ── Stored Card (Profile) ── */
.yb-stored-card__loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.yb-stored-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  flex-wrap: wrap;
}

.yb-stored-card__info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 150px;
}

.yb-stored-card__icon {
  color: #6F6A66;
  flex-shrink: 0;
}

.yb-stored-card__type {
  font-size: 0.8rem;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

.yb-stored-card__number {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F0F0F;
  letter-spacing: 0.08em;
  display: block;
}

.yb-stored-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-size: 0.85rem;
  color: #6F6A66;
}

.yb-stored-card__empty-text {
  color: #6F6A66;
  font-size: 0.9rem;
}

/* ── Checkout Stored Card Toggle ── */
.yb-checkout-stored-card {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.yb-checkout-stored-card__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #6F6A66;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex: 1;
}

.yb-checkout-stored-card__option--active {
  border-color: #f75c03;
  color: #0F0F0F;
  background: rgba(247, 92, 3, 0.04);
}

.yb-checkout-stored-card__option input[type="radio"] {
  accent-color: #f75c03;
  width: 16px;
  height: 16px;
  margin: 0;
}

.yb-checkout-stored-card__option svg {
  color: #f75c03;
  flex-shrink: 0;
}

.yb-btn--sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ── Store Success ── */
.yb-store__success-inner {
  text-align: center;
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 480px;
}

.yb-store__success-inner h3 {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.3rem;
  margin: 1rem 0 0.5rem;
  color: #0F0F0F;
}

.yb-store__success-inner p {
  color: #6F6A66;
  margin-bottom: 1.5rem;
}

/* ── Store Responsive ── */
@media (max-width: 768px) {
  .yb-store__grid {
    grid-template-columns: 1fr;
  }

  .yb-store__checkout-inner {
    padding: 1.5rem;
    max-width: 100%;
  }

  .yb-checkout__grid--split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .yb-store__checkout-actions {
    flex-direction: column;
  }

  .yb-store__top-cat {
    padding: 1rem 1.25rem;
    gap: 0.75rem;
  }
  .yb-store__top-cat-icon {
    width: 40px;
    height: 40px;
  }
  .yb-store__top-cat-icon svg {
    width: 22px;
    height: 22px;
  }
  .yb-store__subcats {
    gap: 0.35rem;
  }
  .yb-store__sub-btn {
    padding: 0.4rem 0.75rem;
  }
  .yb-store__sub-name {
    font-size: 0.75rem;
  }
  .yb-store__sub-desc {
    font-size: 0.62rem;
  }

  .yb-profile__form-row--3 {
    grid-template-columns: 1fr;
  }

  .yb-profile__tabs {
    gap: 0;
  }

  .yb-profile__tab {
    padding: 0.6rem 0.75rem;
    font-size: 0.8rem;
  }

  .yb-profile__tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
}

/* ═══════════════════════════════════════
   SCHEDULE TAB
   ═══════════════════════════════════════ */

.yb-schedule__header {
  text-align: center;
  margin-bottom: 0.75rem;
}

.yb-schedule__title {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}

.yb-schedule__subtitle {
  color: #6F6A66;
  font-size: 0.95rem;
  margin: 0;
}

.yb-schedule__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.yb-schedule__nav-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F0F0F;
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.yb-schedule__nav-btn:hover {
  background: #F5F3F0;
  color: #f75c03;
}

.yb-schedule__nav-btn svg {
  color: #6F6A66;
  transition: color 0.2s;
}

.yb-schedule__nav-btn:hover svg {
  color: #f75c03;
}

.yb-schedule__nav-label {
  display: inline;
}

.yb-schedule__week-label {
  font-weight: 700;
  color: #0F0F0F;
  min-width: 130px;
  text-align: center;
  font-size: 0.95rem;
}

.yb-schedule__no-pass {
  background: #FFF8F0;
  border: 1.5px solid #f75c03;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.yb-schedule__no-pass p {
  margin: 0;
  font-weight: 700;
  color: #0F0F0F;
}

.yb-schedule__day {
  margin-bottom: 1.5rem;
}

.yb-schedule__day-label {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #0F0F0F;
  padding-bottom: 0.5rem;
  border-bottom: 1.5px solid #E8E4E0;
  margin: 0 0 0.5rem;
}

.yb-schedule__day-label span {
  font-weight: 400;
  color: #6F6A66;
}

.yb-schedule__class {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #F5F3F0;
}

.yb-schedule__class.is-cancelled {
  opacity: 0.5;
  text-decoration: line-through;
}

.yb-schedule__class.is-past {
  opacity: 0.5;
}

.yb-schedule__class-time {
  min-width: 110px;
  font-weight: 700;
  color: #0F0F0F;
  font-size: 0.9rem;
}

.yb-schedule__class-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.yb-schedule__class-name {
  font-weight: 700;
  color: #0F0F0F;
}

.yb-schedule__class-instructor {
  font-size: 0.85rem;
  color: #6F6A66;
}

.yb-schedule__class-spots {
  font-size: 0.8rem;
  color: #f75c03;
}

.yb-schedule__class-action {
  min-width: 90px;
  text-align: right;
}

.yb-schedule__book-btn,
.yb-schedule__cancel-btn {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.yb-schedule__badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}

.yb-schedule__badge--cancelled {
  background: #F5F3F0;
  color: #6F6A66;
}

.yb-schedule__badge--full {
  background: #FFF0E0;
  color: #d94f02;
}

.yb-schedule__toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.yb-schedule__toast--success {
  background: #0F0F0F;
  color: #fff;
}

.yb-schedule__toast--error {
  background: #c0392b;
  color: #fff;
}

.yb-schedule__toast--warning {
  background: #e67e22;
  color: #fff;
}

@media (max-width: 768px) {
  .yb-schedule__nav-label {
    display: none;
  }

  .yb-schedule__class {
    flex-wrap: wrap;
  }

  .yb-schedule__class-time {
    min-width: auto;
  }

  .yb-schedule__class-action {
    width: 100%;
    text-align: left;
  }

  .yb-schedule__no-pass {
    flex-direction: column;
    text-align: center;
  }
}

/* ═══════════════════════════════════════
   VISITS TAB
   ═══════════════════════════════════════ */

.yb-visits__header,
.yb-receipts__header {
  margin-bottom: 2rem;
}

.yb-visits__title,
.yb-membership-tab__title,
.yb-receipts__title {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}

.yb-visits__subtitle,
.yb-receipts__subtitle {
  color: #6F6A66;
  font-size: 0.95rem;
  margin: 0;
}

.yb-visits__table,
.yb-receipts__table {
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  overflow: hidden;
}

.yb-visits__row,
.yb-receipts__row {
  display: grid;
  grid-template-columns: 140px 1fr 120px 100px;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid #F5F3F0;
  align-items: center;
  gap: 0.5rem;
}

.yb-visits__row:last-child,
.yb-receipts__row:last-child {
  border-bottom: none;
}

.yb-visits__row--header,
.yb-receipts__row--header {
  background: #F5F3F0;
  font-weight: 700;
  font-size: 0.85rem;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yb-visits__date,
.yb-receipts__date {
  font-size: 0.9rem;
}

.yb-visits__date small,
.yb-receipts__date small {
  color: #6F6A66;
}

.yb-visits__name,
.yb-receipts__name {
  font-weight: 700;
  color: #0F0F0F;
}

.yb-visits__instructor {
  color: #6F6A66;
  font-size: 0.9rem;
}

.yb-visits__status {
  font-size: 0.8rem;
  font-weight: 700;
}

.yb-visits__status--attended {
  color: #2e7d32;
}

.yb-visits__status--noshow {
  color: #B5B0AB;
}

.yb-visits__status--late {
  color: #c0392b;
}

/* ═══════════════════════════════════════
   VISITS SUMMARY BAR
   ═══════════════════════════════════════ */

.yb-visits__controls {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.yb-visits__period,
.yb-receipts__period {
  border: 1.5px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-family: inherit;
  font-size: 0.8rem;
  color: #6F6A66;
  background: #fff;
  cursor: pointer;
}

.yb-visits__period:focus,
.yb-receipts__period:focus {
  border-color: #f75c03;
  outline: none;
}

.yb-receipts__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.yb-visits__summary {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #F5F3F0;
  border-radius: 12px;
  flex-wrap: wrap;
}

.yb-visits__summary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 70px;
}

.yb-visits__summary-item strong {
  font-size: 1.5rem;
  color: #0F0F0F;
}

.yb-visits__summary-item span {
  font-size: 0.75rem;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.yb-visits__summary-item--warn strong { color: #e67e22; }
.yb-visits__summary-item--danger strong { color: #c0392b; }

/* ═══════════════════════════════════════
   RECEIPTS — ENRICHED CARDS
   ═══════════════════════════════════════ */

.yb-receipts__download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: #f75c03;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
}

.yb-receipts__download-btn:hover {
  color: #d94f02;
}

.yb-receipts__card-badges {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.yb-receipts__badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yb-receipts__badge--sale {
  background: #F5F3F0;
  color: #6F6A66;
}

.yb-receipts__badge--service {
  background: rgba(247, 92, 3, 0.1);
  color: #f75c03;
}

.yb-receipts__badge--contract {
  background: rgba(34, 139, 34, 0.1);
  color: #228B22;
}

.yb-receipts__badge--active {
  background: rgba(34, 139, 34, 0.1);
  color: #228B22;
}

.yb-receipts__badge--returned {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.yb-receipts__card-program {
  display: block;
  font-size: 0.8rem;
  color: #6F6A66;
  margin-top: 2px;
}

.yb-receipts__card-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  padding: 0.75rem 0;
  border-top: 1px solid #E8E4E0;
  margin-top: 0.5rem;
}

.yb-receipts__detail {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.yb-receipts__detail-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #6F6A66;
}

.yb-receipts__detail-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0F0F0F;
}

.yb-receipts__detail-value--discount {
  color: #228B22;
}

.yb-receipts__card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #E8E4E0;
  padding-top: 0.6rem;
  margin-top: 0.5rem;
}

.yb-receipts__card-ref {
  font-size: 0.75rem;
  color: #B5B0AB;
  font-weight: 600;
}

@media (max-width: 600px) {
  .yb-receipts__card-details {
    grid-template-columns: 1fr;
  }
}

/* ═══════════════════════════════════════
   STORE CATEGORY TABS
   ═══════════════════════════════════════ */

.yb-store__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.yb-store__cat-btn {
  background: #F5F3F0;
  border: 1.5px solid #E8E4E0;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-family: inherit;
  font-weight: 600;
  color: #6F6A66;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.yb-store__cat-btn:hover {
  border-color: #f75c03;
  color: #f75c03;
}

.yb-store__cat-btn.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}

.yb-store__cat-count {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 0 0.4rem;
  font-size: 0.7rem;
  margin-left: 0.25rem;
}

.yb-store__cat-btn.is-active .yb-store__cat-count {
  background: rgba(255,255,255,0.3);
}

.yb-store__item-count {
  font-size: 0.8rem;
  color: #6F6A66;
  display: block;
  margin: 0.15rem 0;
}

.yb-store__item-recurring {
  font-size: 0.8rem;
  color: #f75c03;
  font-weight: 700;
  display: block;
  margin: 0.15rem 0;
}

.yb-store__item-duration {
  font-size: 0.75rem;
  color: #6F6A66;
  display: block;
}

.yb-store__checkout-item-recurring {
  display: block;
  font-size: 0.8rem;
  color: #f75c03;
  font-weight: 700;
  margin-top: 0.15rem;
}

/* ── Store Search Bar ── */
.yb-store__search-wrap {
  position: relative;
  margin-bottom: 1rem;
}
.yb-store__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.yb-store__search {
  width: 100%;
  padding: 0.75rem 2.5rem 0.75rem 2.75rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #0F0F0F;
  background: #FFFCF9;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.yb-store__search:focus {
  outline: none;
  border-color: #f75c03;
}
.yb-store__search::placeholder {
  color: #B0AAA4;
}
.yb-store__search-clear {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #6F6A66;
  cursor: pointer;
  padding: 0 0.25rem;
  line-height: 1;
}
.yb-store__search-clear:hover {
  color: #f75c03;
}

/* ── Store Program Filter Banner (from booking redirect) ── */
.yb-store__program-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff3ec;
  border: 1px solid #f75c03;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.88rem;
  color: #0F0F0F;
}
.yb-store__program-filter-clear {
  background: none;
  border: none;
  color: #f75c03;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  padding: 4px 8px;
}
.yb-store__program-filter-clear:hover {
  text-decoration: underline;
}

/* ── Store Results Count ── */
.yb-store__results-count {
  font-size: 0.78rem;
  color: #6F6A66;
  margin-bottom: 0.75rem;
}

/* ── Store Item Badges ── */
.yb-store__item-badges {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.yb-store__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}
.yb-store__badge--membership {
  background: #F5F3F0;
  color: #6F6A66;
  border: 1px solid #E8E4E0;
}
.yb-store__badge--free {
  background: #FFF5EE;
  color: #f75c03;
  border: 1px solid #f75c03;
}

/* ── Store Item Description ── */
.yb-store__item-desc {
  font-size: 0.82rem;
  color: #6F6A66;
  line-height: 1.45;
  margin: 0.35rem 0 0.5rem;
}

/* ── Store Per-Class Cost ── */
.yb-store__item-per-class {
  font-size: 0.78rem;
  color: #6F6A66;
  font-style: italic;
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

/* ── Store Item Pricing ── */
.yb-store__item-pricing {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

/* ── Store Item Terms ── */
.yb-store__item-terms {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.yb-store__item-terms li {
  font-size: 0.78rem;
  color: #6F6A66;
  padding: 0.15rem 0 0.15rem 1.2rem;
  position: relative;
}
.yb-store__item-terms li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f75c03;
  font-weight: 700;
}
.yb-store__item-terms li:last-child::before {
  content: '→';
}
.yb-store__item-terms a {
  color: #f75c03;
  text-decoration: underline;
  font-size: 0.75rem;
}
.yb-store__item-terms a:hover {
  color: #d94f02;
}

/* ── Checkout Terms ── */
.yb-store__checkout-item-details {
  flex: 1;
  min-width: 0;
}
.yb-store__checkout-terms {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}
.yb-store__checkout-terms li {
  font-size: 0.75rem;
  color: #6F6A66;
  padding: 0.1rem 0 0.1rem 1rem;
  position: relative;
}
.yb-store__checkout-terms li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f75c03;
  font-weight: 600;
}

/* ── Checkout: Product Description & Features ── */
.yb-store__checkout-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}
.yb-store__checkout-meta-chip {
  font-size: 0.78rem;
  font-weight: 700;
  color: #f75c03;
  background: rgba(247,92,3,0.08);
  border: 1px solid rgba(247,92,3,0.2);
  border-radius: 20px;
  padding: 0.2rem 0.65rem;
}
.yb-store__checkout-meta-format {
  font-size: 0.75rem;
  color: #6F6A66;
  font-weight: 600;
}
.yb-store__checkout-desc {
  font-size: 0.8rem;
  color: #6F6A66;
  line-height: 1.45;
  margin: 0.4rem 0 0;
}
.yb-store__checkout-features {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.yb-store__checkout-features li {
  font-size: 0.75rem;
  color: #0F0F0F;
  padding: 0.15rem 0 0.15rem 1.1rem;
  position: relative;
  line-height: 1.4;
}
.yb-store__checkout-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
  font-weight: 700;
  font-size: 0.72rem;
}
.yb-store__checkout-remaining {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  background: #F5F3F0;
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  margin-top: 0.5rem;
}
.yb-store__checkout-remaining svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  stroke: #6F6A66;
}
.yb-store__checkout-remaining span {
  font-size: 0.72rem;
  color: #6F6A66;
  line-height: 1.4;
}
.yb-store__checkout-bonus {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(247,92,3,0.06);
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  margin-top: 0.4rem;
}
.yb-store__checkout-bonus span {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f75c03;
}

/* ── Store: Top-level Category Cards ── */
.yb-store__top-cats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.yb-store__top-cat {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 14px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all 0.2s ease;
}
.yb-store__top-cat:hover {
  border-color: #f75c03;
  box-shadow: 0 2px 12px rgba(247,92,3,0.10);
}
.yb-store__top-cat-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247,92,3,0.08);
  border-radius: 12px;
  color: #f75c03;
}
.yb-store__top-cat-text {
  flex: 1;
  min-width: 0;
}
.yb-store__top-cat-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F0F0F;
  line-height: 1.3;
}
.yb-store__top-cat-desc {
  display: block;
  font-size: 0.82rem;
  color: #6F6A66;
  margin-top: 0.15rem;
  line-height: 1.35;
}
.yb-store__top-cat-count {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  background: #F5F3F0;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #6F6A66;
  padding: 0 0.5rem;
}
.yb-store__top-cat-arrow {
  flex-shrink: 0;
  color: #B0AAA4;
  transition: transform 0.15s;
}
.yb-store__top-cat:hover .yb-store__top-cat-arrow {
  transform: translateX(3px);
  color: #f75c03;
}
.yb-store__top-cat:hover .yb-store__top-cat-icon {
  color: #f75c03;
}
.yb-store__top-cat--soon {
  opacity: 0.75;
  border-style: dashed;
}
.yb-store__top-cat--soon:hover {
  opacity: 1;
}
.yb-store__top-cat-soon {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f75c03;
  margin-top: 4px;
}

/* ── Store: Back Button ── */
.yb-store__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #f75c03;
  padding: 0.25rem 0;
  margin-bottom: 0.75rem;
  transition: color 0.15s;
}
.yb-store__back-btn:hover {
  color: #d94f02;
}

/* ── Store: Category Heading ── */
.yb-store__cat-heading {
  margin-bottom: 1rem;
}
.yb-store__cat-title {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}
.yb-store__cat-title::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f75c03;
  margin-right: 10px;
  vertical-align: middle;
}

/* ── Store: Subcategory Pills ── */
.yb-store__subcats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.yb-store__sub-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  background: #F5F3F0;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  padding: 0.5rem 1rem;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  text-align: center;
}
.yb-store__sub-btn:hover {
  border-color: #f75c03;
}
.yb-store__sub-btn.is-active {
  background: #f75c03;
  border-color: #f75c03;
}
.yb-store__sub-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F0F0F;
  line-height: 1.3;
}
.yb-store__sub-btn.is-active .yb-store__sub-name {
  color: #fff;
}
.yb-store__sub-desc {
  font-size: 0.68rem;
  color: #6F6A66;
  font-weight: 400;
  line-height: 1.2;
}
.yb-store__sub-btn.is-active .yb-store__sub-desc {
  color: rgba(255,255,255,0.8);
}
.yb-store__sub-count {
  font-size: 0.65rem;
  font-weight: 700;
  color: #B0AAA4;
  line-height: 1;
}
.yb-store__sub-btn.is-active .yb-store__sub-count {
  color: rgba(255,255,255,0.7);
}

/* ── Store: Info Note ── */
.yb-store__note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: rgba(247,92,3,0.06);
  border: 1px solid rgba(247,92,3,0.2);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  color: #0F0F0F;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.yb-store__note svg {
  flex-shrink: 0;
  color: #f75c03;
  margin-top: 0.1rem;
}

/* ── Store: Features List (memberships) ── */
.yb-store__item-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
.yb-store__item-features li {
  font-size: 0.8rem;
  color: #0F0F0F;
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
  line-height: 1.45;
}
.yb-store__item-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #f75c03;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ── Store: Validity ── */
.yb-store__item-validity {
  font-size: 0.8rem;
  color: #6F6A66;
  margin: 0.35rem 0 0;
}

/* ── Store: Sharing Info ── */
.yb-store__item-sharing {
  font-size: 0.8rem;
  color: #f75c03;
  font-weight: 600;
  margin: 0.4rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.yb-store__item-sharing svg {
  flex-shrink: 0;
}
.yb-store__sharing-how {
  margin: 0.5rem 0 0;
}
.yb-store__sharing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  padding: 0.3rem 0;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f75c03;
  cursor: pointer;
  transition: color 0.2s;
}
.yb-store__sharing-toggle:hover {
  color: #d94f02;
}
.yb-store__sharing-toggle svg {
  transition: transform 0.25s ease;
}
.yb-store__sharing-toggle.is-open svg {
  transform: rotate(180deg);
}
.yb-store__sharing-details {
  margin: 0.4rem 0 0;
  padding: 0.75rem 1rem;
  background: #F5F3F0;
  border-radius: 10px;
  border: 1px solid #E8E4E0;
}
.yb-store__sharing-details ol {
  margin: 0;
  padding: 0 0 0 1.3rem;
}
.yb-store__sharing-details li {
  font-size: 0.78rem;
  color: #0F0F0F;
  padding: 0.2rem 0;
  line-height: 1.45;
}
.yb-store__sharing-details li::marker {
  color: #f75c03;
  font-weight: 700;
}
.yb-store__sharing-note {
  font-size: 0.72rem;
  color: #6F6A66;
  font-style: italic;
  margin: 0.5rem 0 0;
  padding-top: 0.4rem;
  border-top: 1px dashed #E8E4E0;
}

/* ── Store: Saving Info (time-based) ── */
.yb-store__item-saving {
  font-size: 0.78rem;
  color: #27ae60;
  font-weight: 600;
  margin: 0.4rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  line-height: 1.4;
}
.yb-store__item-saving svg {
  flex-shrink: 0;
  color: #f75c03;
  stroke: #f75c03;
  margin-top: 0.1rem;
}
.yb-store__saving-text {
  font-weight: 700;
  color: #27ae60;
  font-size: 0.78rem;
}
.yb-store__saving-breakdown {
  font-weight: 400;
  color: #6F6A66;
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

/* ── Store: VAT Info ── */
.yb-store__item-vat {
  font-size: 0.72rem;
  color: #6F6A66;
  margin: 0.3rem 0 0;
}
.yb-store__item-vat--zero {
  color: #27ae60;
  font-weight: 600;
}

/* ── Store: Popular / Best Deal badges ── */
.yb-store__badge--popular {
  background: rgba(247,92,3,0.1);
  color: #f75c03;
  border: 1px solid rgba(247,92,3,0.2);
}
.yb-store__badge--best {
  background: #f75c03;
  color: #fff;
}
.yb-store__badge--tourist {
  background: #fff3e0;
  color: #e67e22;
  border: 1px solid #f0c27a;
}
.yb-store__badge--cph {
  background: #F5F3F0;
  color: #6F6A66;
  border: 1px solid #E8E4E0;
}

/* ── Store: Popular/Best card highlights ── */
.yb-store__item--popular {
  border-color: #f75c03;
  box-shadow: 0 0 0 1px rgba(247,92,3,0.15);
}
.yb-store__item--best {
  border-color: #27ae60;
  box-shadow: 0 0 0 1px rgba(39,174,96,0.15);
}

/* ── Store: Item Footer (price + button) ── */
.yb-store__item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #E8E4E0;
}
.yb-store__item--deposit .yb-store__item-footer {
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
}
.yb-store__item--deposit .yb-store__item-footer .yb-store__item-pricing {
  flex-direction: row;
  align-items: baseline;
  gap: 0.5rem;
}
.yb-store__item--deposit .yb-store__item-footer .yb-store__item-btn {
  width: 100%;
  white-space: normal;
  text-align: center;
}
.yb-store__item-footer .yb-store__item-btn {
  width: auto;
  white-space: nowrap;
}
.yb-store__item-footer .yb-store__item-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.yb-store__item-footer .yb-store__item-pricing .yb-store__item-price {
  font-size: 1.15rem;
}
.yb-store__item-footer .yb-store__item-recurring {
  font-size: 0.78rem;
  color: #6F6A66;
  font-weight: 400;
}

/* ── Store: Checkout Saving/Due ── */
.yb-store__checkout-saving {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
}
.yb-store__checkout-saving svg {
  flex-shrink: 0;
}
.yb-store__checkout-price-old {
  color: #6F6A66;
  font-size: 0.82rem;
}
.yb-store__checkout-price-old s {
  text-decoration: line-through;
}
.yb-store__checkout-price-free {
  font-weight: 700;
  color: #27ae60;
  font-size: 0.85rem;
}
.yb-store__checkout-due {
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.75rem;
  background: #FFF7ED;
  border: 1px solid #f75c03;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}
.yb-store__checkout-due-label {
  color: #6F6A66;
}
.yb-store__checkout-due-amount {
  color: #f75c03;
  font-size: 1rem;
}
.yb-store__checkout-due-note {
  color: #6F6A66;
  font-size: 0.78rem;
}

/* ── Store: Teacher Training Info Banner ── */
.yb-store__teacher-info {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #FFFCF9 0%, #FFF7ED 100%);
  border: 1.5px solid #f75c03;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.yb-store__teacher-info-icon {
  flex-shrink: 0;
  color: #f75c03;
  margin-top: 0.1rem;
}
.yb-store__teacher-info-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #0F0F0F;
}
.yb-store__teacher-info-text strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #0F0F0F;
}
.yb-store__teacher-info-text p {
  margin: 0;
  color: #6F6A66;
  font-size: 0.82rem;
}

/* ── Store: Contract card highlight ── */
.yb-store__item--contract {
  border-color: #f75c03;
  border-width: 1.5px;
}

/* ── Store: Deposit Cards ── */
.yb-store__item--deposit {
  border-color: #f75c03;
  background: linear-gradient(180deg, #FFFCF9 0%, #FFF9F3 100%);
}
.yb-store__item--deposit:hover {
  box-shadow: 0 4px 16px rgba(247,92,3,0.12);
}
.yb-store__deposit-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f75c03;
  background: rgba(247,92,3,0.08);
  border: 1px solid rgba(247,92,3,0.2);
  border-radius: 6px;
  padding: 0.15rem 0.5rem;
  margin-bottom: 0.5rem;
}
.yb-store__deposit-period {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}
.yb-store__deposit-period svg {
  color: #f75c03;
  flex-shrink: 0;
}
.yb-store__deposit-format {
  font-size: 0.78rem;
  color: #6F6A66;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

/* ── Store: Course Builder ── */
.yb-store__course-intro {
  margin-bottom: 1.25rem;
}
.yb-store__course-intro p {
  font-size: 0.88rem;
  color: #6F6A66;
  line-height: 1.55;
  margin: 0;
}
.yb-store__course-intro strong {
  color: #f75c03;
  font-weight: 700;
}
.yb-store__course-month {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.yb-store__course-month-label {
  font-size: 0.78rem;
  color: #6F6A66;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.yb-store__course-month-chip {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f75c03;
  background: rgba(247,92,3,0.08);
  border: 1px solid rgba(247,92,3,0.2);
  border-radius: 20px;
  padding: 0.3rem 0.85rem;
}

/* Course selection grid */
.yb-store__course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 640px) {
  .yb-store__course-grid {
    grid-template-columns: 1fr;
  }
}
.yb-store__course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Abacaxi', sans-serif;
}
.yb-store__course-card:hover {
  border-color: #f75c03;
  background: #FFF9F3;
}
.yb-store__course-card.is-selected {
  border-color: #f75c03;
  background: linear-gradient(180deg, #FFF7ED 0%, #FFF3E6 100%);
  box-shadow: 0 0 0 2px rgba(247,92,3,0.15);
}
.yb-store__course-card-check {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #E8E4E0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  background: #fff;
}
.yb-store__course-card-check svg {
  opacity: 0;
  transition: opacity 0.15s ease;
  color: #fff;
}
.yb-store__course-card.is-selected .yb-store__course-card-check {
  background: #f75c03;
  border-color: #f75c03;
}
.yb-store__course-card.is-selected .yb-store__course-card-check svg {
  opacity: 1;
}
.yb-store__course-card-icon {
  color: #6F6A66;
  margin-bottom: 0.5rem;
}
.yb-store__course-card.is-selected .yb-store__course-card-icon {
  color: #f75c03;
}
.yb-store__course-card-name {
  font-size: 1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 0.35rem;
}
.yb-store__course-card-desc {
  font-size: 0.75rem;
  color: #6F6A66;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}
.yb-store__course-card-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: #f75c03;
  margin-bottom: 0.35rem;
}
.yb-store__course-card-link {
  font-size: 0.72rem;
  color: #f75c03;
  text-decoration: underline;
  font-weight: 600;
}
.yb-store__course-card-link:hover {
  color: #d94f02;
}

/* Course summary */
.yb-store__course-summary {
  background: #F5F3F0;
  border-radius: 12px;
  padding: 1.25rem;
  border: 1.5px solid #E8E4E0;
  transition: border-color 0.2s ease;
}
.yb-store__course-summary.has-selection {
  border-color: #f75c03;
  background: linear-gradient(135deg, #FFFCF9 0%, #FFF7ED 100%);
}
.yb-store__course-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.yb-store__course-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.85rem;
}
.yb-store__course-summary-label {
  color: #6F6A66;
  font-weight: 600;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.yb-store__course-summary-label svg {
  flex-shrink: 0;
}
.yb-store__course-summary-value {
  text-align: right;
  color: #0F0F0F;
  font-weight: 600;
}
.yb-store__course-summary-value em {
  color: #6F6A66;
  font-weight: 400;
  font-style: italic;
}
.yb-store__course-summary-row--price .yb-store__course-summary-value strong {
  font-size: 1.1rem;
  color: #f75c03;
}
.yb-store__course-original {
  text-decoration: line-through;
  color: #6F6A66;
  font-weight: 400;
  font-size: 0.82rem;
}
.yb-store__course-savings {
  font-size: 0.75rem;
  color: #27ae60;
  font-weight: 700;
}
.yb-store__course-summary-row--bonus {
  background: rgba(247,92,3,0.06);
  border-radius: 8px;
  padding: 0.5rem 0.65rem;
  margin-top: 0.15rem;
}
.yb-store__course-summary-row--bonus .yb-store__course-summary-label {
  color: #f75c03;
}
.yb-store__course-summary-row--bonus .yb-store__course-summary-value {
  font-size: 0.82rem;
  color: #0F0F0F;
}
.yb-store__course-cta {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  border-radius: 10px;
}
.yb-store__course-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ═══════════════════════════════════════
   SCHEDULE TOAST - RICH MESSAGES
   ═══════════════════════════════════════ */

.yb-schedule__toast-main {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.yb-schedule__toast-note {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   PASS INFO — LOW CLIP WARNING + MEMBERSHIP
   ═══════════════════════════════════════ */

.yb-schedule__pass-stat--low {
  color: #e67e22;
  font-weight: 600;
  font-size: 0.8rem;
}

.yb-schedule__pass-detail--membership {
  border-left-color: #27ae60;
}

.yb-receipts__amount {
  font-weight: 700;
  color: #0F0F0F;
}

.yb-receipts__payment {
  color: #6F6A66;
  font-size: 0.85rem;
}

.yb-receipts__row--returned {
  opacity: 0.5;
  text-decoration: line-through;
}

@media (max-width: 768px) {
  .yb-visits__row,
  .yb-receipts__row {
    grid-template-columns: 1fr 1fr;
    gap: 0.25rem;
  }

  .yb-visits__row--header,
  .yb-receipts__row--header {
    display: none;
  }
}

/* ═══════════════════════════════════════
   PROFILE REMINDER (soft prompt)
   ═══════════════════════════════════════ */

.yb-profile__reminder {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFF8F0;
  border: 1px solid #f75c03;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: #0F0F0F;
  margin-bottom: 0.5rem;
}

.yb-profile__reminder svg {
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   LOCKED TAB STYLES
   ═══════════════════════════════════════ */
.yb-profile__tab.is-locked {
  opacity: 0.38;
  cursor: not-allowed;
  position: relative;
}
.yb-profile__tab.is-locked::after {
  content: '';
  position: absolute;
  inset: 0;
}
.yb-tab-locked-toast {
  background: #0F0F0F;
  color: #fff;
  font-size: 0.85rem;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  text-align: center;
  margin: 0.75rem auto;
  max-width: 480px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s, transform 0.3s;
}
.yb-tab-locked-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════
   INLINE ONBOARDING (inside Profile tab)
   ═══════════════════════════════════════ */
.yb-onboarding-inline {
  margin-bottom: 1.5rem;
}
.yb-onboarding-inline__card {
  background: #FFF8F0;
  border: 1.5px solid #f75c03;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
}
.yb-onboarding-inline__header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}
.yb-onboarding-inline__header svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.yb-onboarding-inline__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}
.yb-onboarding-inline__desc {
  font-size: 0.88rem;
  color: #6F6A66;
  line-height: 1.5;
  margin: 0;
}
.yb-onboarding-inline__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.yb-onboarding-inline__form .yb-profile__form-row {
  gap: 0.75rem;
}
.yb-onboarding-inline__form .yb-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}
@media (max-width: 520px) {
  .yb-onboarding-inline__card {
    padding: 1.25rem 1rem;
  }
  .yb-onboarding-inline__form .yb-btn {
    width: 100%;
  }
}

/* Onboarding success message */
.yb-onboarding-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: #166534;
  animation: yb-fadein 0.3s ease;
}
@keyframes yb-fadein {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   WAIVER STATUS CARD (My Passes tab)
   ═══════════════════════════════════════ */
.yb-waiver-card {
  margin-bottom: 1.25rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  overflow: hidden;
}
.yb-waiver-card__signed {
  padding: 0.65rem 1rem;
  background: #f0fdf4;
}
.yb-waiver-card__signed-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.yb-waiver-card__signed-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #166534;
}
.yb-waiver-card__signed-date {
  font-size: 0.78rem;
  color: #6F6A66;
}
.yb-waiver-card__toggle {
  margin-left: auto;
  background: none;
  border: none;
  color: #f75c03;
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.yb-waiver-card__body {
  padding: 1rem 1.25rem;
  background: #FFFCF9;
  border-left: 3px solid #f75c03;
}
.yb-waiver-card__header-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.yb-waiver-card__header-row svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.yb-waiver-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.2rem;
  color: #0F0F0F;
}
.yb-waiver-card__desc {
  font-size: 0.82rem;
  color: #6F6A66;
  margin: 0;
  line-height: 1.4;
}
.yb-waiver__read-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  color: #f75c03;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0;
  margin-bottom: 0.5rem;
}
.yb-waiver__read-toggle svg {
  transition: transform 0.2s;
}
.yb-waiver__read-toggle.is-expanded svg {
  transform: rotate(180deg);
}

/* ═══════════════════════════════════════
   OLD ONBOARDING OVERLAY (kept for backwards compat)
   ═══════════════════════════════════════ */
.yb-onboarding {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  padding: 2rem 0;
}
.yb-onboarding__card {
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.yb-onboarding__icon {
  margin-bottom: 1rem;
}
.yb-onboarding__icon svg {
  display: inline-block;
}
.yb-onboarding__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.5rem;
}
.yb-onboarding__desc {
  font-size: 0.9rem;
  color: #6F6A66;
  margin: 0 0 1.5rem;
  line-height: 1.5;
}
.yb-onboarding__form {
  text-align: left;
}
.yb-onboarding__form .yb-auth-field {
  margin-bottom: 1rem;
}
.yb-onboarding__form .yb-auth-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F0F0F;
  margin-bottom: 0.3rem;
}
.yb-onboarding__required {
  color: #f75c03;
}
.yb-onboarding__submit {
  width: 100%;
  margin-top: 0.5rem;
}
.yb-onboarding__note {
  font-size: 0.78rem;
  color: #6F6A66;
  margin-top: 1rem;
  text-align: center;
}
@media (max-width: 520px) {
  .yb-onboarding__card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }
  .yb-onboarding__title {
    font-size: 1.15rem;
  }
}

/* ═══════════════════════════════════════
   LIABILITY WAIVER & SIGNATURE PAD
   ═══════════════════════════════════════ */

.yb-waiver__card {
  max-width: 560px;
}
.yb-waiver__text {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  background: #F5F3F0;
  border-radius: 8px;
  border: 1px solid #E8E4E0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #0F0F0F;
  margin-bottom: 0.75rem;
}
.yb-waiver__text p { margin: 0 0 0.75rem; }
.yb-waiver__text p:last-child { margin-bottom: 0; }

.yb-waiver__sign-section {
  margin-top: 0.5rem;
}
.yb-waiver__agree {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.88rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}
.yb-waiver__agree input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid #f75c03;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
  position: relative;
  margin-top: 1px;
  transition: background 0.2s;
}
.yb-waiver__agree input[type="checkbox"]:checked {
  background: #f75c03;
}
.yb-waiver__agree input[type="checkbox"]:checked::after {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.yb-waiver__agree input[type="checkbox"]:focus-visible {
  outline: 2px solid #f75c03;
  outline-offset: 2px;
}
.yb-waiver__agree a { color: #f75c03; text-decoration: underline; }

.yb-waiver__sign-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F0F0F;
  margin-bottom: 0.5rem;
}

/* Signature Pad */
.yb-signature-pad {
  position: relative;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  margin-bottom: 1rem;
}
.yb-signature-pad canvas {
  display: block;
  width: 100%;
  cursor: crosshair;
  touch-action: none;
}
.yb-signature-pad__clear {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(15, 15, 15, 0.06);
  border: none;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.78rem;
  color: #6F6A66;
  cursor: pointer;
  transition: background 0.2s;
}
.yb-signature-pad__clear:hover {
  background: rgba(15, 15, 15, 0.12);
  color: #0F0F0F;
}

/* Collapsible Document Sections in Checkout */
.yb-checkout-doc {
  margin-bottom: 0.75rem;
}
.yb-checkout-doc__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Abacaxi', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F0F0F;
  transition: background 0.15s;
}
.yb-checkout-doc__toggle:hover {
  background: #eceae7;
}
.yb-checkout-doc__chevron {
  transition: transform 0.2s;
  flex-shrink: 0;
  color: #6F6A66;
}
.yb-checkout-doc__toggle.is-open .yb-checkout-doc__chevron {
  transform: rotate(180deg);
}
.yb-checkout-doc__toggle.is-open {
  border-radius: 8px 8px 0 0;
}
.yb-checkout-doc__content {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-top: none;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #0F0F0F;
}
.yb-checkout-doc__content p { margin: 0 0 0.5rem; }
.yb-checkout-doc__content p:last-child { margin-bottom: 0; }

/* Unified Agree + Signature Section */
.yb-checkout-agree {
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid #E8E4E0;
}

/* Success Actions */
.yb-store__success-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 520px) {
  .yb-waiver__card {
    max-width: 100%;
  }
  .yb-waiver__text {
    max-height: 220px;
    padding: 0.75rem 1rem;
  }
  .yb-checkout-doc__content {
    max-height: 160px;
  }
  .yb-store__success-actions {
    flex-direction: column;
  }
}

/* ═══════════════════════════════════════
   SCHEDULE: PASS INFO BANNER
   ═══════════════════════════════════════ */

.yb-schedule__pass-info {
  margin-bottom: 1.5rem;
}

/* ── Pass Dropdown (collapsible) ── */
.yb-schedule__pass-dropdown {
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  background: #FFFCF9;
  overflow: hidden;
}

.yb-schedule__pass-dropdown-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}

.yb-schedule__pass-dropdown-toggle:hover {
  background: #F5F3F0;
}

.yb-schedule__pass-dropdown-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.yb-schedule__pass-dropdown-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F0F0F;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yb-schedule__pass-dropdown-count {
  font-size: 0.8rem;
  color: #6F6A66;
}

.yb-schedule__pass-dropdown-chevron {
  color: #6F6A66;
  transition: transform 0.25s;
  flex-shrink: 0;
}

.yb-schedule__pass-dropdown-toggle.is-open .yb-schedule__pass-dropdown-chevron {
  transform: rotate(180deg);
}

.yb-schedule__pass-dropdown-body {
  padding: 0 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.yb-schedule__pass-detail {
  background: linear-gradient(135deg, #FFF8F0, #FFFCF9);
  border: 1.5px solid #f75c03;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.yb-schedule__pass-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6F6A66;
  display: block;
}

.yb-schedule__pass-detail-name {
  font-weight: 700;
  color: #0F0F0F;
  font-size: 1rem;
  display: block;
}

.yb-schedule__pass-detail-stats {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.yb-schedule__pass-stat {
  font-size: 0.85rem;
  color: #6F6A66;
}

.yb-schedule__pass-stat strong {
  color: #f75c03;
  font-size: 1.1rem;
}

/* ── Schedule: Class Type Filters ── */
.yb-schedule__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.yb-schedule__filter-btn {
  background: #F5F3F0;
  border: 1.5px solid #E8E4E0;
  border-radius: 20px;
  padding: 0.35rem 0.9rem;
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 600;
  color: #6F6A66;
  cursor: pointer;
  transition: all 0.2s;
}

.yb-schedule__filter-btn:hover {
  border-color: #f75c03;
  color: #f75c03;
}

.yb-schedule__filter-btn.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}

.yb-schedule__filter-empty {
  text-align: center;
  color: #6F6A66;
  padding: 2rem 0;
  font-size: 0.9rem;
}

/* ── Schedule: Show More Button ── */
.yb-schedule__day--hidden {
  display: none;
}

.yb-schedule__show-more-wrap {
  text-align: center;
  padding: 1.25rem 0 0.5rem;
}

.yb-schedule__show-more-btn {
  min-width: 200px;
}

/* ═══════════════════════════════════════
   SCHEDULE: CLASS DESCRIPTION EXPANDABLE
   ═══════════════════════════════════════ */

.yb-schedule__desc-toggle {
  background: none;
  border: none;
  color: #f75c03;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.yb-schedule__desc-toggle:hover {
  color: #d94f02;
}

.yb-schedule__desc {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-left: 3px solid #f75c03;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin: 0 0 0.75rem 0;
}

.yb-schedule__desc-content {
  font-size: 0.8rem;
  color: #6F6A66;
  line-height: 1.6;
}

.yb-schedule__desc-content p {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  color: #6F6A66;
  line-height: 1.6;
}

.yb-schedule__desc-content p:last-child {
  margin-bottom: 0;
}

.yb-schedule__desc-content ul,
.yb-schedule__desc-content ol {
  margin: 0.25rem 0 0.5rem 1.25rem;
  padding: 0;
  font-size: 0.8rem;
  color: #6F6A66;
}

.yb-schedule__desc-content li {
  margin-bottom: 0.25rem;
  line-height: 1.5;
}

.yb-schedule__desc-content li::marker {
  color: #f75c03;
}

.yb-schedule__desc-content strong {
  color: #0F0F0F;
  font-weight: 700;
}

.yb-schedule__desc-content em {
  color: #f75c03;
  font-style: italic;
}

/* ═══════════════════════════════════════
   SCHEDULE: TEACHER BIO EXPANDABLE
   ═══════════════════════════════════════ */

.yb-schedule__class-instructor--clickable {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: #E8E4E0;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.yb-schedule__class-instructor--clickable:hover {
  color: #f75c03;
  text-decoration-color: #f75c03;
}

.yb-schedule__teacher-bio {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 0 0 0.75rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.yb-schedule__teacher-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f75c03;
  flex-shrink: 0;
}

.yb-schedule__teacher-info {
  flex: 1;
  min-width: 0;
}

.yb-schedule__teacher-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}

.yb-schedule__teacher-bio-text {
  font-size: 0.8rem;
  color: #6F6A66;
  line-height: 1.5;
  margin: 0;
}

/* ═══════════════════════════════════════
   VISIT FILTERS
   ═══════════════════════════════════════ */

.yb-visits__filters {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.yb-visits__filter {
  background: #F5F3F0;
  border: 1.5px solid transparent;
  border-radius: 20px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  color: #6F6A66;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yb-visits__filter:hover {
  border-color: #f75c03;
  color: #f75c03;
}

.yb-visits__filter.is-active {
  background: #f75c03;
  color: #fff;
  border-color: #f75c03;
}

/* Visit: Booked status (future bookings) */
.yb-visits__status--booked {
  color: #f75c03;
}

.yb-visits__row--future {
  background: #FFFCF9;
}

/* ═══════════════════════════════════════
   MEMBERSHIP SECTION
   ═══════════════════════════════════════ */

.yb-membership {
  margin-top: 1.5rem;
}

.yb-membership__loading {
  padding: 1rem 0;
}

.yb-membership__section {
  margin-bottom: 1rem;
}

.yb-membership__section-title {
  font-family: 'Abacaxi', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #E8E4E0;
}

.yb-membership__pass {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.yb-membership__pass--expired {
  opacity: 0.55;
}

.yb-membership__pass-info {
  flex: 1;
  min-width: 120px;
}

.yb-membership__pass-name {
  display: block;
  font-weight: 700;
  color: #0F0F0F;
  font-size: 0.95rem;
}

.yb-membership__pass-remaining {
  display: block;
  font-size: 0.8rem;
  color: #f75c03;
  font-weight: 700;
}

.yb-membership__pass-expiry {
  font-size: 0.8rem;
  color: #6F6A66;
}

.yb-membership__badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yb-membership__badge--active {
  background: #e8f5e9;
  color: #2e7d32;
}

.yb-membership__empty {
  color: #6F6A66;
  font-size: 0.9rem;
  margin: 0;
}

/* Pass grid — compact 2-column layout for clip cards */
.yb-membership__pass-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.yb-membership__pass-grid .yb-membership__pass {
  padding: 0.6rem 0.75rem;
  margin-bottom: 0;
}
@media (max-width: 600px) {
  .yb-membership__pass-grid {
    grid-template-columns: 1fr;
  }
}

/* Past passes — collapsed toggle */
.yb-membership__section--collapsed {
  margin-bottom: 0.5rem;
}
.yb-membership__section-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid #E8E4E0;
  padding: 0.5rem 0;
  cursor: pointer;
  color: #6F6A66;
  font-family: 'Abacaxi', sans-serif;
}
.yb-membership__section-toggle:hover {
  color: #0F0F0F;
}
.yb-membership__toggle-icon {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.yb-membership__past-list {
  padding-top: 0.5rem;
}

/* Paused contract status card */
.yb-membership__pause-status {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  width: 100%;
  box-sizing: border-box;
}
.yb-membership__pause-status-icon {
  flex-shrink: 0;
  margin-top: 2px;
}
.yb-membership__pause-status-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.yb-membership__pause-status-text strong {
  font-size: 0.9rem;
  color: #b91c1c;
}
.yb-membership__pause-status-text span {
  font-size: 0.8rem;
  color: #991b1b;
}

/* Pause contact info (shown instead of extend/reactivate buttons) */
.yb-membership__pause-contact {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #6F6A66;
  line-height: 1.5;
}

/* Manage info box (contact-based pause/cancel messaging) */
.yb-membership__manage-info-box {
  margin: 1rem 0 0;
  padding: 1rem 1.25rem;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-left: 3px solid #f75c03;
  border-radius: 8px;
}

.yb-membership__manage-info-text {
  margin: 0;
  font-size: 0.88rem;
  color: #0F0F0F;
  line-height: 1.6;
}

.yb-membership__manage-info-text strong {
  color: #0F0F0F;
  font-weight: 700;
}

.yb-membership__manage-info-text a {
  color: #f75c03;
  text-decoration: underline;
}

/* Toast info variant */
.yb-membership__toast--info {
  background: #e3f2fd;
  color: #1565c0;
}

/* Contract card with manage buttons */
.yb-membership__contract-card {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.yb-membership__contract-card .yb-membership__pass-info {
  width: 100%;
}

.yb-membership__manage-btns {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  padding-top: 0.5rem;
  border-top: 1px solid #E8E4E0;
}

.yb-membership__manage-btn {
  font-family: 'Abacaxi', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yb-membership__manage-btn--pause {
  background: none;
  border: 1.5px solid #E8E4E0;
  color: #0F0F0F;
}

.yb-membership__manage-btn--pause:hover {
  border-color: #f75c03;
  color: #f75c03;
}

.yb-membership__manage-btn--cancel {
  background: none;
  border: 1.5px solid #E8E4E0;
  color: #6F6A66;
}

.yb-membership__manage-btn--cancel:hover {
  border-color: #c0392b;
  color: #c0392b;
}

/* Badge variants */
.yb-membership__badge--paused {
  background: #fee2e2;
  color: #b91c1c;
}

.yb-membership__badge--terminating {
  background: #f8d7da;
  color: #721c24;
}

.yb-membership__active-until {
  display: block;
  font-size: 0.82rem;
  color: #6F6A66;
  margin-top: 0.25rem;
}
.yb-membership__notice-period {
  display: block;
  font-size: 0.78rem;
  color: #6F6A66;
  margin-top: 0.35rem;
  font-style: italic;
}
.yb-membership__notice-period a {
  color: #f75c03;
  text-decoration: underline;
}
.yb-membership__notice-period a:hover {
  color: #d94f02;
}
.yb-membership__rejoin {
  margin-top: 1rem;
}
.yb-membership__rejoin-btn {
  width: 100%;
}

.yb-membership__retention-card {
  margin-top: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, #FFFCF9 0%, #FFF5EE 100%);
  border: 1.5px solid #f75c03;
  border-radius: 10px;
}

.yb-membership__retention-icon {
  margin-bottom: 0.35rem;
}

.yb-membership__retention-title {
  font-family: 'Abacaxi', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}

.yb-membership__retention-desc {
  color: #6F6A66;
  font-size: 0.85rem;
  margin: 0 0 0.5rem;
  line-height: 1.45;
}

.yb-membership__retention-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.yb-membership__retention-perks li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.85rem;
  color: #0F0F0F;
  margin-bottom: 0.3rem;
}

.yb-membership__retention-perks li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: #f75c03;
  font-weight: 700;
}

.yb-membership__retention-btn {
  width: 100%;
}
.yb-membership__cancel-term-hint {
  font-size: 0.8rem;
  color: #6F6A66;
  text-align: center;
  margin: 0.5rem 0 0;
}
.yb-membership__cancel-term-hint a {
  color: #f75c03;
  text-decoration: underline;
}

/* ── Manage Panels (Pause / Cancel) ── */
.yb-membership__manage-panel {
  padding: 1rem 0;
}

.yb-membership__manage-header {
  margin-bottom: 1rem;
}

.yb-membership__back-btn {
  background: none;
  border: none;
  color: #f75c03;
  font-family: 'Abacaxi', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
  margin-bottom: 0.5rem;
}

.yb-membership__back-btn:hover {
  text-decoration: underline;
}

.yb-membership__manage-title {
  font-family: 'Abacaxi', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}

.yb-membership__manage-desc {
  color: #6F6A66;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.yb-membership__manage-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.yb-membership__manage-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 0.35rem;
}

.yb-membership__date-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #f75c03;
  border-radius: 12px;
  font-family: 'Abacaxi', sans-serif;
  font-size: 0.9rem;
  color: #0F0F0F;
  background: #fff;
  box-sizing: border-box;
}

.yb-membership__date-input:focus {
  outline: none;
  border-color: #d94f02;
  box-shadow: 0 0 0 2px rgba(247, 92, 3, 0.15);
}

.yb-membership__field-hint {
  display: block;
  font-size: 0.75rem;
  color: #6F6A66;
  margin-top: 0.3rem;
}

.yb-membership__resume-info {
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  margin: 0;
}

.yb-membership__manage-info {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.yb-membership__info-row {
  font-size: 0.9rem;
  color: #0F0F0F;
  margin-bottom: 0.4rem;
}

.yb-membership__info-row:last-child {
  margin-bottom: 0;
}

.yb-membership__info-label {
  color: #6F6A66;
}

.yb-membership__cancel-warning {
  background: #fff3cd;
  color: #856404;
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.yb-membership__special-note {
  font-size: 0.8rem;
  color: #6F6A66;
  font-style: italic;
  margin: 0.75rem 0 1rem;
}

.yb-membership__confirm-btn {
  display: block;
  width: 100%;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: 12px;
  font-family: 'Abacaxi', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.yb-membership__confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.yb-membership__month-btn {
  border: 1.5px solid #E8E4E0;
  color: #0F0F0F;
}
.yb-membership__month-btn:hover {
  border-color: #f75c03;
  color: #f75c03;
}
.yb-membership__month-btn--active {
  border-color: #f75c03;
  background: #f75c03 !important;
  color: #fff !important;
}

.yb-membership__confirm-btn--pause {
  background: #f75c03;
  color: #fff;
}

.yb-membership__confirm-btn--pause:hover:not(:disabled) {
  background: #d94f02;
}

.yb-membership__confirm-btn--cancel {
  background: #c0392b;
  color: #fff;
}

.yb-membership__confirm-btn--cancel:hover:not(:disabled) {
  background: #a93226;
}

/* ── Stored Card Form ── */
.yb-stored-card__form {
  margin-top: 1rem;
  padding: 1rem;
  background: #F5F3F0;
  border-radius: 12px;
}
.yb-stored-card__form-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}
.yb-stored-card__form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* ── Gift Cards Tab ── */
.yb-giftcards__header { margin-bottom: 1.5rem; }
.yb-giftcards__title { font-size: 1.3rem; font-weight: 700; color: #0F0F0F; margin: 0 0 6px; }
.yb-giftcards__subtitle { font-size: 0.92rem; color: #6F6A66; margin: 0; }

.yb-giftcards__option {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: #fff; border: 1.5px solid #E8E4E0;
  border-radius: 12px; margin-bottom: 0.5rem; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.yb-giftcards__option:hover { border-color: #f75c03; background: #FAFAFA; }
.yb-giftcards__option.is-selected { border-color: #f75c03; background: rgba(247,92,3,0.03); box-shadow: 0 0 0 1px #f75c03; }
.yb-giftcards__option-left { display: flex; flex-direction: column; gap: 2px; }
.yb-giftcards__option-name { font-size: 0.95rem; font-weight: 600; color: #0F0F0F; }
.yb-giftcards__option-terms { font-size: 0.78rem; color: #6F6A66; }
.yb-giftcards__option-price { font-size: 1.1rem; font-weight: 700; color: #f75c03; white-space: nowrap; }

.yb-giftcards__empty { text-align: center; padding: 3rem 2rem; }
.yb-giftcards__empty svg { margin-bottom: 1rem; }
.yb-giftcards__empty-title { font-size: 1.1rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.5rem; }
.yb-giftcards__empty-text { font-size: 0.92rem; color: #6F6A66; margin: 0 0 1.25rem; }

.yb-giftcards__form { margin-top: 1.5rem; }
.yb-giftcards__checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.yb-giftcards__checkout-left,
.yb-giftcards__checkout-right { background: #FFFCF9; border: 1.5px solid #E8E4E0; border-radius: 14px; padding: 1.5rem; }
.yb-giftcards__checkout-right { border-color: rgba(247,92,3,0.2); }
.yb-giftcards__form-title,
.yb-giftcards__payment-title { font-size: 1.05rem; font-weight: 700; color: #0F0F0F; margin: 0 0 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(247,92,3,0.1); }

.yb-giftcards__field { margin-bottom: 0.75rem; }
.yb-giftcards__label { display: block; font-size: 0.85rem; font-weight: 600; color: #0F0F0F; margin-bottom: 6px; }
.yb-giftcards__input,
.yb-giftcards__textarea {
  width: 100%; padding: 0.65rem 0.85rem; font-family: 'Abacaxi', sans-serif; font-size: 0.9rem;
  border: 1.5px solid #E8E4E0; border-radius: 8px; background: #fff;
  transition: border-color 0.2s;
}
.yb-giftcards__input:focus,
.yb-giftcards__textarea:focus { border-color: #f75c03; outline: none; }
.yb-giftcards__field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 0.75rem; }
.yb-giftcards__save-card { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: #6F6A66; cursor: pointer; margin-top: 0.5rem; }
.yb-giftcards__buy-btn { width: 100%; margin-top: 0.75rem; }
.yb-giftcards__cancel-btn { width: 100%; margin-top: 0.5rem; }

.yb-giftcards__success { text-align: center; padding: 3rem 2rem; }
.yb-giftcards__success svg { margin-bottom: 1rem; }
.yb-giftcards__success h3 { font-size: 1.2rem; margin: 0 0 0.5rem; }
.yb-giftcards__success p { color: #6F6A66; margin: 0 0 1.25rem; }

.yb-giftcards__option-price--custom {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f75c03;
  background: rgba(247, 92, 3, 0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
}
.yb-giftcards__form-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f75c03;
  margin-bottom: 1rem;
  display: block;
}
.yb-giftcards__custom-amount input {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f75c03;
}
.yb-giftcards__form-inner .yb-auth-field { margin-bottom: 1rem; }
.yb-giftcards__form-inner .yb-auth-field label { display: block; font-size: 0.85rem; font-weight: 600; color: #0F0F0F; margin-bottom: 6px; }
.yb-giftcards__form-inner .yb-auth-field input,
.yb-giftcards__form-inner .yb-auth-field textarea { width: 100%; padding: 0.65rem 0.85rem; border: 1.5px solid #E8E4E0; border-radius: 10px; font-family: inherit; font-size: 0.9rem; background: #fff; transition: border-color 0.2s; }
.yb-giftcards__form-inner .yb-auth-field input:focus,
.yb-giftcards__form-inner .yb-auth-field textarea:focus { outline: none; border-color: #f75c03; box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.08); }
.yb-giftcards__form-inner .yb-auth-field textarea { resize: vertical; min-height: 80px; }
.yb-giftcards__form-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; align-items: center; }
.yb-giftcards__form-actions .yb-btn--primary { background: #f75c03; border-color: #f75c03; }
.yb-giftcards__form-actions .yb-btn--primary:hover { background: #d94f02; border-color: #d94f02; }
.yb-giftcards__form .yb-store__secure { margin-top: 1rem; color: #6F6A66; font-size: 0.8rem; display: flex; align-items: center; gap: 6px; }

@media (max-width: 768px) {
  .yb-giftcards__checkout-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .yb-giftcards__option { padding: 0.85rem 1rem; }
  .yb-giftcards__checkout-left,
  .yb-giftcards__checkout-right { padding: 1.25rem; }
  .yb-giftcards__form-actions { flex-direction: column; }
  .yb-giftcards__form-actions .yb-btn { width: 100%; }
}

/* ═══ My Applications Tab ═══ */
.yb-applications-tab__header { margin-bottom: 1.5rem; }
.yb-applications-tab__title { font-size: 1.3rem; font-weight: 700; color: #0F0F0F; margin: 0; }

.yb-applications__empty-state { text-align: center; padding: 3rem 2rem; color: #6F6A66; }
.yb-applications__empty-state p { font-size: 0.95rem; margin: 0 0 0.5rem; }

.yb-applications__card {
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}
.yb-applications__card:hover { border-color: #f75c03; }

.yb-applications__card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}
.yb-applications__card-title { display: flex; flex-direction: column; gap: 0.2rem; }
.yb-applications__program-type { font-weight: 700; font-size: 1.05rem; color: #0F0F0F; }
.yb-applications__course-name { color: #6F6A66; font-size: 0.92rem; }

.yb-applications__status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  text-transform: capitalize;
  flex-shrink: 0;
}
.yb-applications__status--new { background: #f0f0f0; color: #555; }
.yb-applications__status--reviewed { background: #dbeafe; color: #1e40af; }
.yb-applications__status--approved { background: #dcfce7; color: #166534; }
.yb-applications__status--enrolled { background: #fff3e0; color: #b45309; }
.yb-applications__status--rejected { background: #fee2e2; color: #991b1b; }
.yb-applications__status--waitlist { background: #fef3c7; color: #92400e; }

.yb-applications__card-body { display: flex; flex-direction: column; gap: 0; }

.yb-applications__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.92rem;
  padding: 0.4rem 0;
  border-bottom: 1px dashed #E8E4E0;
}
.yb-applications__row:last-child { border-bottom: none; }
.yb-applications__label { color: #6F6A66; font-weight: 500; min-width: 120px; flex-shrink: 0; }
.yb-applications__row--notes { flex-direction: column; gap: 0.3rem; }
.yb-applications__row--notes span:last-child {
  font-size: 0.88rem;
  color: #6F6A66;
  white-space: pre-wrap;
  line-height: 1.5;
}

.yb-applications__status--pending { background: #fff3cd; color: #856404; }
.yb-applications__status--under_review { background: #d1ecf1; color: #0c5460; }
.yb-applications__status--withdrawn { background: #ECEFF1; color: #546E7F; }
.yb-applications__status--completed { background: #E8F5E9; color: #2E7D32; }

.yb-applications__card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E8E4E0;
}
.yb-applications__member-link {
  display: inline-block;
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .yb-applications__card { padding: 1rem; }
  .yb-applications__card-header { flex-direction: column; gap: 0.5rem; }
  .yb-applications__row { font-size: 0.88rem; }
  .yb-applications__label { min-width: 100px; }
}

/* Toast notification */
.yb-membership__toast {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
  animation: yb-fade-in 0.3s ease;
}

.yb-membership__toast--success {
  background: #e8f5e9;
  color: #2e7d32;
}

.yb-membership__toast--error {
  background: #fce4ec;
  color: #c0392b;
}

@keyframes yb-fade-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   RECEIPTS CARDS (enhanced layout)
   ═══════════════════════════════════════ */

.yb-receipts__list-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.yb-receipts__card {
  border: 1.5px solid #E8E4E0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: border-color 0.15s ease;
}

.yb-receipts__card:hover {
  border-color: #f75c03;
}

.yb-receipts__card--returned {
  opacity: 0.55;
}

.yb-receipts__card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.yb-receipts__card-date {
  font-size: 0.8rem;
  color: #6F6A66;
}

.yb-receipts__card-body {
  margin-bottom: 0.5rem;
}

.yb-receipts__card-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0F0F0F;
}

.yb-receipts__card-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.15rem 0;
}

.yb-receipts__card-item-price {
  font-size: 0.85rem;
  color: #6F6A66;
  white-space: nowrap;
}

.yb-receipts__detail-value--total {
  font-weight: 700;
  color: #0F0F0F;
}

/* ═══════════════════════════════════════════
   PROFILE — MY COURSES CARDS
   ═══════════════════════════════════════════ */

.yb-profile__courses-header {
  margin-bottom: 2rem;
}

.yb-profile__courses-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}

.yb-profile__courses-subtitle {
  color: #6F6A66;
  margin: 0;
}

.yb-profile__courses-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.yb-profile__course-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.yb-profile__course-card:hover {
  border-color: #f75c03;
  box-shadow: 0 2px 12px rgba(247, 92, 3, 0.08);
}

.yb-profile__course-icon {
  font-size: 2rem;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F5F3F0;
  border-radius: 10px;
}

.yb-profile__course-info {
  flex: 1;
  min-width: 0;
}

.yb-profile__course-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 0.25rem;
}

.yb-profile__course-desc {
  font-size: 0.9rem;
  color: #6F6A66;
  margin: 0 0 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yb-profile__course-meta {
  font-size: 0.8rem;
  color: #6F6A66;
}

.yb-profile__course-btn {
  flex-shrink: 0;
  text-decoration: none;
}

.yb-profile__courses-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #6F6A66;
}

.yb-profile__courses-empty svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.yb-profile__courses-empty h3 {
  font-size: 1.15rem;
  color: #0F0F0F;
  margin: 0 0 0.5rem;
}

.yb-profile__courses-empty p {
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .yb-profile__course-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
  }
  .yb-profile__course-desc {
    white-space: normal;
  }
  .yb-profile__course-btn {
    width: 100%;
    text-align: center;
  }
}




/* ═══════════════════════════════════════════
   COURSE ADMIN (yb-admin-)
   ═══════════════════════════════════════════ */

.yb-admin { min-height: 80vh; }

/* Header */
.yb-admin__header { margin-bottom: 2rem; }

/* Tab panels — only show the active one */
.yb-admin__tab-panel { display: none; }
.yb-admin__tab-panel.is-active { display: block; }

/* Section divider */
.yb-admin__section-divider {
  height: 1px; background: #E8E4E0; margin: 2rem 0;
}

/* Breadcrumb */
.yb-admin__breadcrumb { display: flex; align-items: center; gap: 0.25rem; font-size: 0.85rem; margin-bottom: 1.5rem; }
.yb-admin__bc-link { color: #6F6A66; cursor: pointer; transition: color 0.15s; }
.yb-admin__bc-link:hover { color: #f75c03; }
.yb-admin__bc-link:last-child { color: #0F0F0F; font-weight: 600; }
.yb-admin__bc-sep { color: #E8E4E0; margin: 0 0.15rem; }

/* View heads */
.yb-admin__view-head {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.yb-admin__view-head h2 { font-size: 1.25rem; font-weight: 700; color: #0F0F0F; margin: 0; flex: 1; }
.yb-admin__view-head-btns { display: flex; gap: 0.5rem; }

.yb-admin__back-btn {
  background: none; border: 1px solid #E8E4E0; border-radius: 8px;
  padding: 0.35rem 0.75rem; cursor: pointer; font-family: inherit;
  font-size: 0.8rem; color: #6F6A66; transition: border-color 0.15s, color 0.15s;
}
.yb-admin__back-btn:hover { border-color: #f75c03; color: #f75c03; }

/* Cards grid */
.yb-admin__card-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.yb-admin__card {
  display: flex; align-items: center; gap: 1rem;
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 1rem 1.25rem; transition: border-color 0.15s;
}
.yb-admin__card:hover { border-color: #f75c03; }
.yb-admin__card-icon { font-size: 1.5rem; flex-shrink: 0; }
.yb-admin__card-body { flex: 1; min-width: 0; }
.yb-admin__card-body h3 { font-size: 1rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.2rem; }
.yb-admin__card-body p { font-size: 0.85rem; color: #6F6A66; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yb-admin__card-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }

/* Badges */
.yb-admin__badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 4px;
  font-size: 0.75rem; font-weight: 600; background: #F5F3F0; color: #6F6A66;
}
.yb-admin__badge--ok { background: #dcfce7; color: #166534; }
.yb-admin__badge--muted { background: #F5F3F0; color: #6F6A66; }

/* Icon buttons */
.yb-admin__icon-btn {
  width: 32px; height: 32px; border-radius: 8px; border: 1px solid #E8E4E0;
  background: #FFFCF9; cursor: pointer; font-size: 1rem; display: flex;
  align-items: center; justify-content: center; color: #6F6A66; transition: all 0.15s;
}
.yb-admin__icon-btn:hover { border-color: #f75c03; color: #f75c03; }
.yb-admin__icon-btn--danger:hover { border-color: #dc2626; color: #dc2626; }

/* Inline spinner (for import buttons) */
.yb-admin__spinner-sm {
  display: inline-block; width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
  border-radius: 50%; animation: yb-spin 0.6s linear infinite;
  vertical-align: middle;
}
.yb-btn--outline .yb-admin__spinner-sm {
  border-color: rgba(247,92,3,0.3); border-top-color: #f75c03;
}
@keyframes yb-spin { to { transform: rotate(360deg); } }

/* Small buttons */
.yb-admin__sm-btn {
  padding: 0.25rem 0.5rem; border-radius: 6px; border: 1px solid #E8E4E0;
  background: #FFFCF9; cursor: pointer; font-size: 0.8rem; font-family: inherit;
  color: #6F6A66; transition: all 0.15s;
}
.yb-admin__sm-btn:hover { border-color: #f75c03; color: #f75c03; }
.yb-admin__sm-btn--danger:hover { border-color: #dc2626; color: #dc2626; }
.yb-admin__sm-btn:disabled { opacity: 0.3; cursor: default; }

/* Item list (modules/chapters) */
.yb-admin__item-list { display: flex; flex-direction: column; gap: 0.5rem; }
.yb-admin__item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; background: #FFFCF9; border: 1px solid #E8E4E0;
  border-radius: 10px; transition: border-color 0.15s;
}
.yb-admin__item:hover { border-color: #f75c03; }
.yb-admin__item-order {
  width: 28px; height: 28px; border-radius: 50%; background: #F5F3F0;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #6F6A66; flex-shrink: 0;
}
.yb-admin__item-icon { font-size: 1.25rem; flex-shrink: 0; }
.yb-admin__item-body { flex: 1; min-width: 0; }
.yb-admin__item-body strong { display: block; font-size: 0.9rem; color: #0F0F0F; }
.yb-admin__item-body small { display: block; font-size: 0.8rem; color: #6F6A66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yb-admin__item-actions { display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }

/* Forms */
.yb-admin__form { display: flex; flex-direction: column; gap: 1rem; max-width: 800px; }
.yb-admin__form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.yb-admin__field { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.yb-admin__field label { font-size: 0.8rem; font-weight: 600; color: #6F6A66; }
.yb-admin__field input,
.yb-admin__field textarea {
  padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  transition: box-shadow 0.15s;
}
.yb-admin__field input:focus,
.yb-admin__field textarea:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__field select,
.yb-admin__select {
  padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  transition: box-shadow 0.15s; cursor: pointer;
  max-width: 100%; text-overflow: ellipsis;
}
.yb-admin__field select:focus,
.yb-admin__select:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__form-actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }

/* ── Bulk Role Change Modal ── */
.yb-bulk-role-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  animation: ybBulkFadeIn 0.2s ease;
}
@keyframes ybBulkFadeIn { from { opacity: 0; } to { opacity: 1; } }
.yb-bulk-role-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.yb-bulk-role-modal__box {
  position: relative; z-index: 1;
  background: #fff; border-radius: 16px;
  width: 90%; max-width: 480px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.2);
  overflow: hidden;
}
.yb-bulk-role-modal__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--yb-border, #E8E4E0);
  position: relative;
}
.yb-bulk-role-modal__title {
  font-size: 1.05rem; font-weight: 700;
  margin: 0; color: #0F0F0F;
}
.yb-bulk-role-modal__count {
  font-size: 0.8rem; color: var(--yb-muted, #6F6A66);
  margin-top: 0.2rem; display: block;
}
.yb-bulk-role-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; cursor: pointer;
  font-size: 1.5rem; color: #6F6A66; line-height: 1;
  padding: 0.25rem; transition: color 0.2s;
}
.yb-bulk-role-modal__close:hover { color: #0F0F0F; }
.yb-bulk-role-modal__body {
  padding: 1.25rem 1.5rem;
  display: flex; flex-direction: column; gap: 1rem;
}
.yb-bulk-role-modal__fields {
  display: flex; flex-direction: column; gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--yb-light-bg, #F5F3F0);
  border-radius: 10px; border: 1px solid var(--yb-border, #E8E4E0);
}
.yb-bulk-role-modal__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--yb-border, #E8E4E0);
  display: flex; justify-content: flex-end;
}

/* Empty state */
.yb-admin__empty { color: #6F6A66; font-size: 0.9rem; text-align: center; padding: 2rem; }

/* Editor label */
.yb-admin__field-label { font-size: 0.8rem; font-weight: 600; color: #6F6A66; margin-top: 0.5rem; }

/* Editor + Preview split */
.yb-admin__editor-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid #E8E4E0; border-radius: 12px; overflow: hidden; min-height: 400px; }
.yb-admin__editor-panel { display: flex; flex-direction: column; }
.yb-admin__editor-textarea {
  width: 100%; height: 100%; min-height: 380px; padding: 1rem; border: none;
  font-family: 'Courier New', monospace; font-size: 0.85rem; outline: none;
  resize: vertical; background: #FFFCF9;
}
.yb-admin__preview-panel { border-left: 1px solid #E8E4E0; background: #FFFCF9; overflow-y: auto; }
.yb-admin__preview-label {
  padding: 0.4rem 1rem; background: #F5F3F0; font-size: 0.75rem;
  font-weight: 600; color: #6F6A66; border-bottom: 1px solid #E8E4E0;
}
.yb-admin__preview-body { padding: 1rem; }

/* Bulk import */
.yb-admin__bulk-textarea {
  width: 100%; padding: 1rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  resize: vertical; min-height: 200px;
}
.yb-admin__bulk-textarea:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__bulk-options { display: flex; gap: 2rem; margin: 1rem 0; flex-wrap: wrap; }
.yb-admin__bulk-opt { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.yb-admin__bulk-opt strong { color: #0F0F0F; }
.yb-admin__bulk-opt label { display: flex; align-items: center; gap: 0.3rem; color: #6F6A66; cursor: pointer; }
.yb-admin__bulk-count { font-size: 1rem; font-weight: 700; color: #0F0F0F; margin-bottom: 1rem; }

.yb-admin__bulk-cards { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.yb-admin__bulk-card {
  border: 1px solid #E8E4E0; border-radius: 10px; padding: 0.75rem 1rem;
  background: #FFFCF9; transition: border-color 0.15s;
}
.yb-admin__bulk-card:hover { border-color: #f75c03; }
.yb-admin__bulk-card-head { display: flex; align-items: center; gap: 0.5rem; }
.yb-admin__bulk-card-num {
  width: 24px; height: 24px; border-radius: 50%; background: #f75c03; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}
.yb-admin__bulk-card-title {
  flex: 1; border: 1px solid #E8E4E0; border-radius: 6px; padding: 0.3rem 0.5rem;
  font-family: inherit; font-size: 0.85rem; font-weight: 600; outline: none;
}
.yb-admin__bulk-card-title:focus { border-color: #f75c03; }
.yb-admin__bulk-card-preview { font-size: 0.8rem; color: #6F6A66; margin-top: 0.35rem; line-height: 1.4; }
.yb-admin__bulk-actions { display: flex; gap: 0.75rem; }

/* Progress bar */
.yb-admin__progress-bar { height: 6px; background: #E8E4E0; border-radius: 3px; overflow: hidden; margin-bottom: 0.75rem; }
.yb-admin__progress-fill { height: 100%; background: #f75c03; border-radius: 3px; width: 0; transition: width 0.4s ease; }

/* Toast */
.yb-admin__toast {
  position: fixed; bottom: 2rem; right: 2rem; padding: 0.75rem 1.25rem;
  background: #0F0F0F; color: white; border-radius: 10px; font-size: 0.9rem;
  font-weight: 600; z-index: 1000; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.yb-admin__toast--error { background: #dc2626; }

/* Knowledge Base Admin */
.yb-kb__brand-tabs {
  display: flex; gap: 0.5rem; margin-bottom: 1.25rem;
  border-bottom: 1px solid #E8E4E0; padding-bottom: 0.75rem;
}
.yb-kb__brand-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; border: 1px solid #E8E4E0; border-radius: 8px;
  background: white; cursor: pointer; font-family: inherit; font-size: 0.85rem;
  font-weight: 600; color: #6F6A66; transition: all 0.2s;
}
.yb-kb__brand-tab:hover { border-color: #0F0F0F; color: #0F0F0F; }
.yb-kb__brand-tab.is-active { border-color: #0F0F0F; color: #0F0F0F; background: #F5F3F0; }
.yb-kb__brand-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.yb-kb__toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.yb-kb__toolbar h2 { margin: 0; font-size: 1.1rem; }
.yb-kb__toolbar div { display: flex; gap: 0.5rem; }
.yb-kb__sections { display: flex; flex-direction: column; gap: 0.75rem; }
.yb-kb__card {
  border: 1px solid #E8E4E0; border-radius: 12px; padding: 1rem 1.25rem;
  background: white; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s;
}
.yb-kb__card:hover { border-color: #f75c03; box-shadow: 0 2px 8px rgba(247,92,3,0.08); }
.yb-kb__card-header { margin-bottom: 0.5rem; }
.yb-kb__card-title-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.yb-kb__card-key {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
  color: #6F6A66; background: #F5F3F0; padding: 2px 8px; border-radius: 4px;
}
.yb-kb__card-title { font-size: 1rem; font-weight: 700; margin: 0; }
.yb-kb__card-preview { font-size: 0.82rem; color: #6F6A66; margin: 0 0 0.75rem; line-height: 1.4; }
.yb-kb__card-footer { display: flex; align-items: center; justify-content: space-between; }
.yb-kb__card-meta { font-size: 0.72rem; color: #999; }
.yb-kb__status { font-size: 0.7rem; font-weight: 600; padding: 2px 6px; border-radius: 4px; }
.yb-kb__status--active { background: #DCFCE7; color: #166534; }
.yb-kb__status--inactive { background: #FEE2E2; color: #991B1B; }
.yb-kb__editor { padding: 0.5rem 0; }
.yb-kb__editor-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.yb-kb__editor-header h3 { margin: 0; font-size: 1.1rem; }
.yb-kb__textarea {
  width: 100%; min-height: 300px; padding: 1rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace; font-size: 0.85rem; line-height: 1.6;
  resize: vertical; outline: none;
}
.yb-kb__textarea:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-kb__editor-actions { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.yb-kb__delete-btn { color: #dc2626 !important; margin-left: auto; }

/* ── Email Lists Admin (yb-el__) ─────────────────────────────────── */
.yb-el__toolbar { margin-bottom: 0; }
.yb-el__stats { margin-bottom: 1.5rem; }
.yb-el__view[hidden] { display: none; }
.yb-el__tag {
  display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px;
  background: #F5F3F0; color: #6F6A66; border: 1px solid #E8E4E0; margin-right: 4px;
}
.yb-el__status { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.yb-el__status--active { background: #E8F5E9; color: #2E7D32; }
.yb-el__status--unsub { background: #FFF3E0; color: #E65100; }
.yb-el__status--bounced { background: #FFEBEE; color: #C62828; }
.yb-el__detail-header {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem;
}
.yb-el__detail-header h3 { flex: 1; margin: 0; }
.yb-el__detail-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.yb-el__list-stats { margin-bottom: 1rem; }
.yb-el__filter-bar {
  display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap;
}
.yb-el__filter-bar .yb-admin__search { flex: 1; min-width: 200px; }
.yb-el__filter-bar .yb-admin__select { min-width: 150px; }
.yb-el__drop-zone {
  border: 2px dashed #E8E4E0; border-radius: 12px; padding: 2rem; text-align: center;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.yb-el__drop-zone:hover, .yb-el__drop-zone--active {
  border-color: #f75c03; background: rgba(247,92,3,0.03);
}
.yb-el__drop-zone p { margin: 8px 0 0; color: #6F6A66; }
.yb-el__progress-bar {
  height: 8px; background: #E8E4E0; border-radius: 4px; overflow: hidden;
}
.yb-el__progress-fill {
  height: 100%; background: #f75c03; border-radius: 4px; transition: width 0.3s ease;
  width: 0;
}
.yb-btn--xs {
  padding: 3px 10px; font-size: 12px; border-radius: 6px;
}

/* Campaign wizard: list cards */
.yb-lead__campaign-lists-section { margin-bottom: 12px; }
.yb-lead__campaign-lists-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px;
}
.yb-lead__campaign-list-card {
  display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px;
  border: 1px solid #E8E4E0; border-radius: 10px; cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.yb-lead__campaign-list-card:hover { border-color: #f75c03; }
.yb-lead__campaign-list-card.is-selected {
  border-color: #f75c03; background: rgba(247,92,3,0.04);
}
.yb-lead__campaign-list-card input[type="checkbox"] { margin-top: 3px; accent-color: #f75c03; }
.yb-lead__campaign-list-info { display: flex; flex-direction: column; gap: 2px; }
.yb-lead__campaign-list-info strong { font-size: 13px; }
.yb-lead__campaign-lists-summary {
  margin-top: 8px; padding: 8px 12px; background: #E8F5E9; border-radius: 8px;
  font-size: 13px; color: #2E7D32;
}

/* Campaign Management sub-nav */
.yb-el__subnav {
  display: flex; gap: 0; margin-bottom: 1.5rem; border-bottom: 2px solid #E8E4E0;
}
.yb-el__subnav-btn {
  padding: 10px 20px; border: none; background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: #6F6A66; font-family: inherit;
  border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
}
.yb-el__subnav-btn:hover { color: #0F0F0F; }
.yb-el__subnav-btn.is-active { color: #f75c03; border-bottom-color: #f75c03; }
.yb-el__section[hidden] { display: none; }

/* Campaign timeline chart */
.yb-el__timeline-chart {
  display: flex; align-items: flex-end; gap: 4px; height: 120px; padding: 0 4px;
  border-bottom: 1px solid #E8E4E0;
}
.yb-el__timeline-day {
  flex: 1; display: flex; flex-direction: column; align-items: center; min-width: 28px;
}
.yb-el__timeline-bars {
  display: flex; gap: 2px; align-items: flex-end; width: 100%; height: 100px;
  justify-content: center;
}
.yb-el__timeline-bar {
  width: 8px; min-height: 2px; border-radius: 2px 2px 0 0; transition: height 0.3s ease;
}
.yb-el__timeline-bar--open { background: #f75c03; }
.yb-el__timeline-bar--click { background: #3949ab; }
.yb-el__timeline-label { font-size: 10px; color: #6F6A66; margin-top: 4px; }

/* Enrollment */
.yb-admin__enroll-form { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.yb-admin__enroll-form input {
  flex: 1; padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none;
}
.yb-admin__enroll-form input:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }
.yb-admin__enroll-row {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0;
  border-bottom: 1px solid #E8E4E0; font-size: 0.85rem;
}
.yb-admin__enroll-row span:first-child { flex: 1; color: #0F0F0F; font-family: monospace; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 768px) {
  .yb-admin__form-row { grid-template-columns: 1fr; }
  .yb-admin__editor-wrap { grid-template-columns: 1fr; }
  .yb-admin__preview-panel { border-left: none; border-top: 1px solid #E8E4E0; min-height: 200px; }
  .yb-admin__item { flex-wrap: wrap; }
  .yb-admin__item-actions { width: 100%; justify-content: flex-end; }
  .yb-admin__bulk-options { flex-direction: column; gap: 0.75rem; }
}

/* ═══════════════════════════════════════════
   COURSE VIEWER (yb-cv-)
   ═══════════════════════════════════════════ */

/* Hidden attribute override — must beat display:flex set on state elements */
.yb-cv [hidden] { display: none !important; }

/* Wrapper — block container, only one child visible at a time */
.yb-cv { min-height: 100vh; background: #FFFCF9; position: relative; }

/* Gate (login/enrollment wall) */
.yb-cv-gate {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 80px); padding: 2rem;
}
.yb-cv-gate__inner { width: 100%; max-width: 440px; }
.yb-cv-gate__card {
  background: #fff; border: 1px solid #E8E4E0; border-radius: 16px;
  padding: 3rem 2.5rem; text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.yb-cv-gate__icon { margin-bottom: 1.5rem; opacity: 0.45; }
.yb-cv-gate__title { font-size: 1.4rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.75rem; }
.yb-cv-gate__text { color: #6F6A66; margin: 0 0 1.75rem; line-height: 1.6; }

/* Loading */
.yb-cv-loading {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: calc(100vh - 80px); color: #6F6A66; gap: 1rem;
}
.yb-cv-loading__spinner {
  width: 32px; height: 32px; border: 3px solid #E8E4E0;
  border-top-color: #f75c03; border-radius: 50%;
  animation: yb-cv-spin 0.7s linear infinite;
}
@keyframes yb-cv-spin { to { transform: rotate(360deg); } }
.yb-cv-loading__text { font-size: 0.9rem; }

/* Error page */
.yb-cv-error-page {
  display: flex; align-items: center; justify-content: center;
  min-height: calc(100vh - 80px); padding: 2rem;
}
.yb-cv-error-page__inner { text-align: center; }
.yb-cv-error-page__msg { color: #6F6A66; margin: 1.25rem 0 1.75rem; font-size: 1rem; }

/* Top Bar */
.yb-cv-topbar {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1.5rem; border-bottom: 1px solid #E8E4E0;
  background: #fff; position: sticky; top: 0; z-index: 20;
}
.yb-cv-topbar__back {
  display: flex; align-items: center; gap: 0.35rem;
  color: #f75c03; text-decoration: none; font-size: 0.85rem;
  font-weight: 600; white-space: nowrap; transition: opacity 0.15s;
}
.yb-cv-topbar__back:hover { opacity: 0.75; }
.yb-cv-topbar__title {
  flex: 1; font-size: 1.1rem; font-weight: 700; color: #0F0F0F;
  margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.yb-cv-topbar__actions { display: flex; gap: 0.25rem; }
.yb-cv-topbar__btn {
  width: 36px; height: 36px; border: none; background: transparent;
  border-radius: 8px; cursor: pointer; display: flex; align-items: center;
  justify-content: center; color: #6F6A66; transition: background 0.15s, color 0.15s;
}
.yb-cv-topbar__btn:hover { background: #F5F3F0; color: #0F0F0F; }

/* Search Panel */
.yb-cv-search {
  background: #fff; border-bottom: 1px solid #E8E4E0;
  padding: 0.75rem 1.5rem; position: sticky; top: 53px; z-index: 19;
}
.yb-cv-search__field {
  display: flex; align-items: center; gap: 0.5rem;
  background: #F5F3F0; border-radius: 10px; padding: 0.5rem 0.75rem;
}
.yb-cv-search__input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: inherit; font-size: 0.9rem; color: #0F0F0F;
}
.yb-cv-search__input::placeholder { color: #6F6A66; }
.yb-cv-search__close {
  border: none; background: transparent; cursor: pointer; color: #6F6A66;
  display: flex; align-items: center; padding: 0;
}
.yb-cv-search__close:hover { color: #0F0F0F; }
.yb-cv-search__results { margin-top: 0.75rem; max-height: 50vh; overflow-y: auto; }
.yb-cv-search__empty { color: #6F6A66; font-size: 0.85rem; text-align: center; padding: 1rem 0; }
.yb-cv-search__count { color: #6F6A66; font-size: 0.8rem; margin-bottom: 0.5rem; }
.yb-cv-search__result {
  display: block; width: 100%; text-align: left; border: none;
  background: transparent; padding: 0.65rem 0.75rem; border-radius: 8px;
  cursor: pointer; font-family: inherit; transition: background 0.15s;
}
.yb-cv-search__result:hover { background: #F5F3F0; }
.yb-cv-search__result-module { display: block; font-size: 0.7rem; color: #f75c03; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.yb-cv-search__result-title { display: block; font-size: 0.9rem; font-weight: 600; color: #0F0F0F; margin-top: 0.15rem; }
.yb-cv-search__result-snippet { display: block; font-size: 0.8rem; color: #6F6A66; margin-top: 0.25rem; line-height: 1.4; }
.yb-cv-search__result-snippet mark { background: rgba(247,92,3,0.15); color: #0F0F0F; border-radius: 2px; padding: 0 2px; }

/* Main Layout — sidebar + content */
.yb-cv-layout { display: flex; min-height: calc(100vh - 53px); }

/* Sidebar Overlay (mobile) */
.yb-cv-sidebar-overlay {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 30; opacity: 0; transition: opacity 0.25s;
}
.yb-cv-sidebar-overlay--visible { display: block; opacity: 1; }

/* Sidebar */
.yb-cv-sidebar {
  width: 280px; flex-shrink: 0; background: #F5F3F0;
  border-right: 1px solid #E8E4E0; display: flex; flex-direction: column;
  overflow-y: auto; position: sticky; top: 53px;
  height: calc(100vh - 53px);
}
.yb-cv-sidebar__header { padding: 1rem 1rem 0.75rem; }
.yb-cv-sidebar__progress { display: flex; align-items: center; gap: 0.75rem; }
.yb-cv-sidebar__progress-track {
  flex: 1; height: 6px; background: #E8E4E0; border-radius: 3px; overflow: hidden;
}
.yb-cv-sidebar__progress-bar {
  height: 100%; background: #f75c03; border-radius: 3px;
  transition: width 0.4s ease;
}
.yb-cv-sidebar__progress-text { font-size: 0.75rem; color: #6F6A66; white-space: nowrap; }
.yb-cv-sidebar__nav { flex: 1; overflow-y: auto; padding: 0.25rem 0; }
.yb-cv-sidebar__footer {
  padding: 0.75rem 1rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-sidebar__notes-btn {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  padding: 0.6rem 0.75rem; background: transparent; border: 1px solid #E8E4E0;
  border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 0.82rem;
  color: #6F6A66; transition: background 0.15s, color 0.15s;
}
.yb-cv-sidebar__notes-btn:hover { background: #FFFCF9; color: #0F0F0F; }

/* Sidebar — Module accordion */
.yb-cv-mod { border-bottom: 1px solid #E8E4E0; }
.yb-cv-mod__btn {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  padding: 0.75rem 1rem; background: transparent; border: none;
  cursor: pointer; font-family: inherit; text-align: left;
  transition: background 0.15s;
}
.yb-cv-mod__btn:hover { background: rgba(0,0,0,0.03); }
.yb-cv-mod__icon { font-size: 1rem; flex-shrink: 0; }
.yb-cv-mod__title { flex: 1; font-size: 0.85rem; font-weight: 600; color: #0F0F0F; }
.yb-cv-mod__count {
  font-size: 0.7rem; color: #6F6A66; background: #E8E4E0;
  padding: 0.1rem 0.45rem; border-radius: 10px;
}
.yb-cv-mod__arrow {
  color: #6F6A66; transition: transform 0.2s; flex-shrink: 0;
}
.yb-cv-mod--open .yb-cv-mod__arrow { transform: rotate(180deg); }
.yb-cv-mod__chapters { padding: 0 0 0.5rem; }
.yb-cv-mod__chapters-loading { font-size: 0.8rem; color: #6F6A66; padding: 0.5rem 1.5rem; }
.yb-cv-mod__empty { font-size: 0.8rem; color: #6F6A66; padding: 0.5rem 1.5rem; }

/* Sidebar — Chapter items */
.yb-cv-ch {
  display: flex; align-items: center; gap: 0.5rem; width: 100%;
  padding: 0.45rem 1rem 0.45rem 1.5rem; background: transparent;
  border: none; cursor: pointer; font-family: inherit; text-align: left;
  font-size: 0.82rem; color: #6F6A66; transition: background 0.15s, color 0.15s;
  border-left: 3px solid transparent;
}
.yb-cv-ch:hover { background: rgba(0,0,0,0.03); color: #0F0F0F; }
.yb-cv-ch--active { background: #FFFCF9; color: #f75c03; font-weight: 600; border-left-color: #f75c03; }
.yb-cv-ch--viewed { color: #0F0F0F; }
.yb-cv-ch--viewed .yb-cv-ch__check { color: #f75c03; }
.yb-cv-ch__check { width: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.yb-cv-ch__num { font-size: 0.7rem; color: #6F6A66; }
.yb-cv-ch__title { flex: 1; line-height: 1.35; }

/* Content Area */
.yb-cv-content {
  flex: 1; overflow-y: auto; padding: 2.5rem 3rem;
  max-width: 820px; min-width: 0;
}

/* Chapter */
.yb-cv-chapter__header { margin-bottom: 2rem; }
.yb-cv-chapter__eyebrow {
  display: block; font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: #f75c03; margin-bottom: 0.5rem;
}
.yb-cv-chapter__title { font-size: 2rem; font-weight: 700; color: #0F0F0F; margin: 0; line-height: 1.2; }

/* Chapter body — rich content styling */
.yb-cv-chapter__body { color: #0F0F0F; line-height: 1.75; font-size: 1rem; }
.yb-cv-chapter__body h2 {
  font-size: 1.4rem; font-weight: 700; margin: 2.5rem 0 1rem;
  padding-top: 1.5rem; border-top: 1px solid #E8E4E0; color: #0F0F0F;
}
.yb-cv-chapter__body h3 { font-size: 1.15rem; font-weight: 700; margin: 2rem 0 0.75rem; color: #0F0F0F; }
.yb-cv-chapter__body p { margin: 0 0 1.25rem; }
.yb-cv-chapter__body strong { color: #0F0F0F; font-weight: 700; }
.yb-cv-chapter__body em { color: #f75c03; }
.yb-cv-chapter__body ul, .yb-cv-chapter__body ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
.yb-cv-chapter__body li { margin-bottom: 0.4rem; }
.yb-cv-chapter__body li::marker { color: #f75c03; }
.yb-cv-chapter__body blockquote {
  margin: 1.5rem 0; padding: 1.25rem 1.5rem;
  background: #F5F3F0; border-left: 4px solid #f75c03;
  border-radius: 0 10px 10px 0; color: #0F0F0F; font-style: italic;
}
.yb-cv-chapter__body blockquote p:last-child { margin-bottom: 0; }
.yb-cv-chapter__body a { color: #f75c03; text-decoration: underline; text-underline-offset: 2px; }
.yb-cv-chapter__body a:hover { opacity: 0.75; }
.yb-cv-chapter__body img {
  max-width: 100%; height: auto; border-radius: 12px;
  margin: 1.5rem 0; box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.yb-cv-chapter__body table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem;
}
.yb-cv-chapter__body th {
  background: #F5F3F0; padding: 0.6rem 0.75rem; text-align: left;
  font-weight: 700; border-bottom: 2px solid #E8E4E0;
}
.yb-cv-chapter__body td {
  padding: 0.6rem 0.75rem; border-bottom: 1px solid #E8E4E0;
}

/* Chapter Navigation */
.yb-cv-chapter-nav {
  display: flex; justify-content: space-between; align-items: stretch;
  gap: 1rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-chapter-nav__btn {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.25rem; background: #F5F3F0; border: 1px solid #E8E4E0;
  border-radius: 10px; cursor: pointer; font-family: inherit;
  font-size: 0.85rem; color: #0F0F0F; max-width: 48%;
  transition: background 0.15s, border-color 0.15s;
}
.yb-cv-chapter-nav__btn:hover { background: #FFFCF9; border-color: #f75c03; }
.yb-cv-chapter-nav__btn--next { margin-left: auto; }

/* Comments Section */
.yb-cv-comments {
  margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-comments__title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.1rem; font-weight: 700; color: #0F0F0F; margin: 0 0 1.25rem;
}
.yb-cv-comments__form { display: flex; gap: 0.75rem; margin-bottom: 1.5rem; align-items: flex-start; }
.yb-cv-comments__input {
  flex: 1; padding: 0.7rem 1rem; border: 1px solid #E8E4E0;
  border-radius: 10px; font-family: inherit; font-size: 0.9rem;
  resize: vertical; outline: none; transition: border-color 0.15s;
}
.yb-cv-comments__input:focus { border-color: #f75c03; }
.yb-cv-comments__empty { color: #6F6A66; font-size: 0.85rem; font-style: italic; }
.yb-cv-comments__list { display: flex; flex-direction: column; gap: 1rem; }

/* Single Comment */
.yb-cv-comment { display: flex; gap: 0.75rem; }
.yb-cv-comment__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #F5F3F0; color: #6F6A66; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700; flex-shrink: 0;
}
.yb-cv-comment--own .yb-cv-comment__avatar { background: #f75c03; color: #fff; }
.yb-cv-comment__body { flex: 1; min-width: 0; }
.yb-cv-comment__meta { display: flex; align-items: baseline; gap: 0.5rem; margin-bottom: 0.25rem; }
.yb-cv-comment__name { font-size: 0.85rem; font-weight: 700; color: #0F0F0F; }
.yb-cv-comment__date { font-size: 0.72rem; color: #6F6A66; }
.yb-cv-comment__text { font-size: 0.9rem; color: #0F0F0F; line-height: 1.5; margin: 0; }
.yb-cv-comment__delete {
  background: none; border: none; cursor: pointer;
  font-size: 0.72rem; color: #6F6A66; padding: 0; margin-top: 0.35rem;
  font-family: inherit; transition: color 0.15s;
}
.yb-cv-comment__delete:hover { color: #dc2626; }

/* My Comments View */
.yb-cv-my-comments { padding: 0; }
.yb-cv-my-comments__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.yb-cv-my-comments__title { font-size: 1.4rem; font-weight: 700; color: #0F0F0F; margin: 0; }
.yb-cv-my-comments__loading { color: #6F6A66; font-size: 0.85rem; text-align: center; padding: 2rem; }
.yb-cv-my-comments__empty { color: #6F6A66; font-size: 0.85rem; font-style: italic; text-align: center; padding: 2rem; }
.yb-cv-my-comments__list { display: flex; flex-direction: column; gap: 0.75rem; }

.yb-cv-my-comment {
  padding: 1rem 1.25rem; background: #F5F3F0; border-radius: 10px;
}
.yb-cv-my-comment__location { display: flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; margin-bottom: 0.5rem; }
.yb-cv-my-comment__module { color: #6F6A66; }
.yb-cv-my-comment__sep { color: #E8E4E0; }
.yb-cv-my-comment__chapter {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.75rem; color: #f75c03;
  font-weight: 600; padding: 0; text-decoration: underline;
  text-underline-offset: 2px;
}
.yb-cv-my-comment__text { font-size: 0.9rem; color: #0F0F0F; line-height: 1.5; margin: 0 0 0.5rem; }
.yb-cv-my-comment__date { font-size: 0.72rem; color: #6F6A66; }

/* Responsive — Course Viewer */
@media (max-width: 900px) {
  .yb-cv-sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; width: 280px;
    z-index: 31; transform: translateX(-100%);
    transition: transform 0.25s ease; height: 100vh;
  }
  .yb-cv-sidebar--open { transform: translateX(0); }
  .yb-cv-topbar__btn--sidebar { display: flex; }
  .yb-cv-content { padding: 1.5rem 1.25rem; }
  .yb-cv-chapter__title { font-size: 1.5rem; }
  .yb-cv-chapter-nav { flex-direction: column; }
  .yb-cv-chapter-nav__btn { max-width: 100%; }
  .yb-cv-comments__form { flex-direction: column; }
}
@media (min-width: 901px) {
  .yb-cv-topbar__btn--sidebar { display: none; }
  .yb-cv-sidebar-overlay { display: none !important; }
}

/* ── Completion Celebration ── */
.yb-cv-completion {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem; animation: yb-cv-fadeIn 0.3s ease;
}
.yb-cv-completion__inner {
  background: #fff; border-radius: 20px; padding: 3rem 2.5rem;
  text-align: center; max-width: 440px; width: 100%;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  animation: yb-cv-scaleIn 0.35s ease;
}
.yb-cv-completion__icon { font-size: 4rem; margin-bottom: 1rem; }
.yb-cv-completion__title { font-size: 1.8rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.75rem; }
.yb-cv-completion__text { color: #6F6A66; margin: 0 0 2rem; line-height: 1.6; }
@keyframes yb-cv-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes yb-cv-scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── Font Size Popover ── */
.yb-cv-fontsize {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem; background: #fff; border-bottom: 1px solid #E8E4E0;
}
.yb-cv-fontsize__label { font-size: 0.8rem; color: #6F6A66; margin-right: 0.25rem; }
.yb-cv-fontsize__btn {
  width: 36px; height: 36px; border: 1px solid #E8E4E0; background: #fff;
  border-radius: 8px; cursor: pointer; font-family: inherit; font-size: 0.9rem;
  font-weight: 600; color: #6F6A66; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.yb-cv-fontsize__btn small { font-size: 0.65em; }
.yb-cv-fontsize__btn:hover { border-color: #f75c03; color: #f75c03; }
.yb-cv-fontsize__btn--active { border-color: #f75c03; background: #f75c03; color: #fff; }
.yb-cv-fontsize__btn--active:hover { background: #d94f02; }

/* Font size classes on chapter body */
.yb-cv-chapter__body--small { font-size: 0.9rem; }
.yb-cv-chapter__body--medium { font-size: 1rem; }
.yb-cv-chapter__body--large { font-size: 1.15rem; }

/* ── TOC Panel ── */
.yb-cv-toc {
  background: #fff; border-bottom: 1px solid #E8E4E0;
  padding: 1rem 1.5rem; max-height: 50vh; overflow-y: auto;
}
.yb-cv-toc__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem;
}
.yb-cv-toc__title { font-size: 0.9rem; font-weight: 700; color: #0F0F0F; margin: 0; }
.yb-cv-toc__close {
  border: none; background: transparent; cursor: pointer; color: #6F6A66;
  display: flex; align-items: center; padding: 0;
}
.yb-cv-toc__close:hover { color: #0F0F0F; }
.yb-cv-toc__list { display: flex; flex-direction: column; gap: 0.15rem; }
.yb-cv-toc__item {
  display: block; width: 100%; text-align: left; border: none;
  background: transparent; padding: 0.4rem 0.6rem; border-radius: 6px;
  cursor: pointer; font-family: inherit; font-size: 0.85rem;
  color: #0F0F0F; transition: background 0.15s; line-height: 1.35;
}
.yb-cv-toc__item:hover { background: #F5F3F0; }
.yb-cv-toc__item--h3 { padding-left: 1.5rem; font-size: 0.8rem; color: #6F6A66; }
.yb-cv-toc__empty { color: #6F6A66; font-size: 0.85rem; font-style: italic; padding: 0.5rem 0; }

/* ── Chapter Breadcrumb ── */
.yb-cv-chapter__breadcrumb {
  display: flex; align-items: center; gap: 0.35rem;
  font-size: 0.78rem; color: #6F6A66; margin-bottom: 1rem;
}
.yb-cv-chapter__breadcrumb span { color: #6F6A66; }
.yb-cv-chapter__breadcrumb .yb-cv-bc-link {
  color: #f75c03; cursor: pointer; text-decoration: none;
  transition: opacity 0.15s;
}
.yb-cv-chapter__breadcrumb .yb-cv-bc-link:hover { opacity: 0.7; }

/* ── Chapter Meta (reading time) ── */
.yb-cv-chapter__meta {
  display: flex; align-items: center; gap: 0.75rem;
  margin-top: 0.5rem; font-size: 0.8rem; color: #6F6A66;
}
.yb-cv-chapter__reading-time {
  display: flex; align-items: center; gap: 0.3rem;
}

/* ── Mark Complete ── */
.yb-cv-mark-complete {
  margin: 2.5rem 0 0; padding: 1.25rem;
  background: #F5F3F0; border-radius: 12px;
}
.yb-cv-mark-complete__label {
  display: flex; align-items: center; gap: 0.75rem;
  cursor: pointer; font-size: 0.95rem; font-weight: 600; color: #0F0F0F;
  user-select: none;
}
.yb-cv-mark-complete__checkbox { display: none; }
.yb-cv-mark-complete__check {
  width: 24px; height: 24px; border-radius: 6px;
  border: 2px solid #E8E4E0; background: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s;
}
.yb-cv-mark-complete__checkbox:checked + .yb-cv-mark-complete__check {
  border-color: #f75c03; background: #f75c03;
}
.yb-cv-mark-complete__checkbox:checked + .yb-cv-mark-complete__check::after {
  content: ''; display: block; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg); margin-top: -2px;
}
.yb-cv-mark-complete__text { transition: color 0.2s; }
.yb-cv-mark-complete__checkbox:checked ~ .yb-cv-mark-complete__text { color: #f75c03; }

/* ── Personal Notes ── */
.yb-cv-notes {
  margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #E8E4E0;
}
.yb-cv-notes__title {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1rem; font-weight: 700; color: #0F0F0F; margin: 0 0 0.75rem;
}
.yb-cv-notes__input {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid #E8E4E0;
  border-radius: 10px; font-family: inherit; font-size: 0.9rem;
  resize: vertical; outline: none; transition: border-color 0.15s;
  background: #FFFCF9; min-height: 80px;
}
.yb-cv-notes__input:focus { border-color: #f75c03; }
.yb-cv-notes__actions {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 0.5rem;
}
.yb-cv-notes__status { font-size: 0.8rem; color: #f75c03; font-weight: 600; }

/* ── Sidebar Hint ── */
.yb-cv-sidebar__hint {
  font-size: 0.7rem; color: #6F6A66; margin: 0.5rem 0 0; text-align: center;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════
   ADMIN NEW FEATURES
   ═══════════════════════════════════════════ */

/* ── Analytics Stats Grid ── */
.yb-admin__stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 2rem;
}
.yb-admin__stat-card {
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 1.25rem; text-align: center; transition: border-color 0.15s;
}
.yb-admin__stat-card:hover { border-color: #f75c03; }
.yb-admin__stat-value {
  font-size: 2rem; font-weight: 700; color: #f75c03; margin: 0;
  line-height: 1.2;
}
.yb-admin__stat-label {
  font-size: 0.8rem; color: #6F6A66; margin-top: 0.25rem;
}

/* ── Analytics Per-Course ── */
.yb-admin__analytics-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.75rem 1rem; border-bottom: 1px solid #E8E4E0;
}
.yb-admin__analytics-row:last-child { border-bottom: none; }
.yb-admin__analytics-icon { font-size: 1.25rem; flex-shrink: 0; }
.yb-admin__analytics-name { flex: 1; font-weight: 600; font-size: 0.9rem; color: #0F0F0F; }
.yb-admin__analytics-stat {
  font-size: 0.8rem; color: #6F6A66; text-align: right; min-width: 80px;
}
.yb-admin__analytics-bar {
  width: 80px; height: 6px; background: #E8E4E0; border-radius: 3px;
  overflow: hidden; flex-shrink: 0;
}
.yb-admin__analytics-fill {
  height: 100%; background: #f75c03; border-radius: 3px;
  transition: width 0.4s ease;
}

/* ── Student Progress ── */
.yb-admin__student-row {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.6rem 0; border-bottom: 1px solid #E8E4E0; font-size: 0.85rem;
}
.yb-admin__student-row:last-child { border-bottom: none; }
.yb-admin__student-name { flex: 1; font-weight: 600; color: #0F0F0F; min-width: 0; }
.yb-admin__student-name small { display: block; font-weight: 400; color: #6F6A66; font-size: 0.78rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-admin__student-bar {
  width: 100px; height: 6px; background: #E8E4E0; border-radius: 3px;
  overflow: hidden; flex-shrink: 0;
}
.yb-admin__student-fill {
  height: 100%; background: #f75c03; border-radius: 3px;
}
.yb-admin__student-stat { font-size: 0.78rem; color: #6F6A66; white-space: nowrap; }
.yb-admin__student-date { font-size: 0.72rem; color: #6F6A66; white-space: nowrap; }

/* ── Rich Text Toolbar ── */
.yb-admin__toolbar {
  display: flex; flex-wrap: wrap; gap: 0.25rem;
  padding: 0.5rem; background: #F5F3F0; border: 1px solid #E8E4E0;
  border-bottom: none; border-radius: 12px 12px 0 0;
}
.yb-admin__toolbar-btn {
  width: 32px; height: 32px; border: 1px solid transparent;
  background: transparent; border-radius: 6px; cursor: pointer;
  font-family: inherit; font-size: 0.8rem; font-weight: 700;
  color: #6F6A66; display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.yb-admin__toolbar-btn:hover { background: #FFFCF9; border-color: #E8E4E0; color: #0F0F0F; }
.yb-admin__toolbar-sep { width: 1px; background: #E8E4E0; margin: 0 0.15rem; }

/* Adjust textarea when toolbar is present */
.yb-admin__editor-textarea--with-toolbar {
  border-radius: 0 0 12px 12px;
}

/* ── Word Count ── */
.yb-admin__word-count {
  display: block; font-size: 0.75rem; color: #6F6A66;
  text-align: right; margin-top: 0.35rem;
}

/* ── Status Badge in Course Cards ── */
.yb-admin__badge--draft { background: #fef3c7; color: #92400e; }
.yb-admin__badge--published { background: #dcfce7; color: #166534; }

/* ── Blog Tab (Decap CMS iframe) ── */
.yb-admin__blog-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; background: #F5F3F0; border-radius: 12px 12px 0 0;
  border: 1px solid #E8E4E0; border-bottom: none; gap: 1rem;
}
.yb-admin__blog-iframe {
  width: 100%; height: 70vh; border: 1px solid #E8E4E0; border-radius: 0 0 12px 12px;
  background: #FFFCF9;
}

/* ── Users Tab ── */
.yb-admin__user-toolbar {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap;
}
.yb-admin__user-search {
  display: flex; gap: 0.5rem; flex: 1; min-width: 200px;
}
.yb-admin__user-search-input {
  flex: 1; padding: 0.6rem 0.75rem; border: 1px solid #f75c03; border-radius: 12px;
  font-family: inherit; font-size: 0.9rem; outline: none; background: #FFFCF9;
  transition: box-shadow 0.15s;
}
.yb-admin__user-search-input:focus { box-shadow: 0 0 0 3px rgba(247,92,3,0.12); }

/* ── User Avatar ── */
.yb-admin__user-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: #f75c03; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; font-weight: 700; flex-shrink: 0;
}

/* ── User Meta Grid (profile details) ── */
.yb-admin__user-meta {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem 1.5rem;
  padding: 0.75rem 0 0; margin-top: 0.75rem; border-top: 1px solid #E8E4E0;
  width: 100%;
}
.yb-admin__user-meta-item { font-size: 0.8rem; color: #0F0F0F; }
.yb-admin__user-meta-label {
  display: block; font-weight: 600; color: #6F6A66; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.03em;
}

/* ── Admin Table ── */
.yb-admin__table-wrap { overflow-x: auto; }
.yb-admin__table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.yb-admin__table th {
  text-align: left; padding: 0.6rem 0.75rem; font-size: 0.75rem;
  font-weight: 600; color: #6F6A66; text-transform: uppercase;
  letter-spacing: 0.03em; border-bottom: 2px solid #E8E4E0;
}
.yb-admin__table td {
  padding: 0.6rem 0.75rem; border-bottom: 1px solid #E8E4E0; color: #0F0F0F;
}
.yb-admin__table tbody tr { transition: background 0.12s; }
.yb-admin__table tbody tr:hover { background: #F5F3F0; }

/* ── Responsive for new components ── */
@media (max-width: 768px) {
  .yb-admin__stats-grid { grid-template-columns: repeat(2, 1fr); }
  .yb-admin__student-row { flex-wrap: wrap; }
  .yb-admin__student-bar { width: 100%; }
  .yb-admin__toolbar { gap: 0.15rem; }
  .yb-admin__user-toolbar { flex-direction: column; }
  .yb-admin__user-search { width: 100%; }
  .yb-admin__user-meta { grid-template-columns: 1fr; }
  .yb-admin__table { font-size: 0.8rem; }
  .yb-admin__blog-iframe { height: 50vh; }
}
@media (max-width: 480px) {
  .yb-admin__stats-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════
   DOCUMENT BROWSER (Cloudinary file picker)
   ═══════════════════════════════════ */
.yb-doc-browser {
  margin-top: 0.5rem;
  border: 1px solid var(--yb-border, #E8E4E0);
  border-radius: 12px;
  background: var(--yb-warm-white, #FFFCF9);
  padding: 0.75rem;
  margin-bottom: 1rem;
}
.yb-doc-browser__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.yb-doc-browser__bc-link {
  color: var(--yb-brand, #f75c03);
  text-decoration: none;
  cursor: pointer;
}
.yb-doc-browser__bc-link:hover { text-decoration: underline; }
.yb-doc-browser__bc-sep { color: var(--yb-border, #E8E4E0); margin: 0 0.1rem; }
.yb-doc-browser__bc-current { color: #0F0F0F; font-weight: 600; }
.yb-doc-browser__toolbar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  align-items: center;
}
.yb-doc-browser__search {
  flex: 1;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--yb-brand, #f75c03);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.8rem;
}
.yb-doc-browser__search:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.15);
}
.yb-doc-browser__upload-btn { cursor: pointer; white-space: nowrap; }
.yb-doc-browser__list {
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.yb-doc-browser__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.85rem;
}
.yb-doc-browser__item:hover { background: var(--yb-light-bg, #F5F3F0); }
.yb-doc-browser__item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--yb-light-bg, #F5F3F0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.yb-doc-browser__item-icon--folder { color: var(--yb-brand, #f75c03); }
.yb-doc-browser__item-icon--file { color: var(--yb-muted, #6F6A66); }
.yb-doc-browser__item-body { flex: 1; min-width: 0; }
.yb-doc-browser__item-name {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yb-doc-browser__item-meta { font-size: 0.75rem; color: var(--yb-muted, #6F6A66); }
.yb-doc-browser__empty {
  text-align: center;
  padding: 1.5rem;
  color: var(--yb-muted, #6F6A66);
  font-size: 0.85rem;
}
.yb-doc-browser__upload-progress { margin-top: 0.5rem; }
.yb-doc-browser__progress-bar {
  height: 6px;
  background: var(--yb-border, #E8E4E0);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}
.yb-doc-browser__progress-fill {
  height: 100%;
  background: var(--yb-brand, #f75c03);
  border-radius: 3px;
  transition: width 0.2s;
  width: 0%;
}

/* ── Toggle switch (yb-toggle) ── */
.yb-toggle { display: inline-flex; align-items: center; cursor: pointer; gap: 0.5rem; user-select: none; }
.yb-toggle input[type="checkbox"] { position: absolute; opacity: 0; width: 0; height: 0; }
.yb-toggle__track {
  display: inline-block;
  width: 36px; height: 20px;
  background: var(--yb-border, #E8E4E0);
  border-radius: 20px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}
.yb-toggle__track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.yb-toggle input:checked + .yb-toggle__track { background: var(--yb-brand, #f75c03); }
.yb-toggle input:checked + .yb-toggle__track::after { transform: translateX(16px); }
.yb-toggle--sm .yb-toggle__track { width: 30px; height: 17px; }
.yb-toggle--sm .yb-toggle__track::after { width: 11px; height: 11px; top: 3px; left: 3px; }
.yb-toggle--sm input:checked + .yb-toggle__track::after { transform: translateX(13px); }

/* ── Doc admin filter chips ── */
.yb-doc-filter-chip {
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  border: 1px solid var(--yb-border, #E8E4E0);
  background: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
  color: var(--yb-muted, #6F6A66);
  transition: all 0.15s;
  white-space: nowrap;
}
.yb-doc-filter-chip:hover { border-color: var(--yb-brand, #f75c03); color: var(--yb-brand, #f75c03); }
.yb-doc-filter-chip.is-active { background: var(--yb-brand, #f75c03); border-color: var(--yb-brand, #f75c03); color: #fff; }

/* ── Print styles ── */
@media print {
  .yb-cv-topbar, .yb-cv-sidebar, .yb-cv-sidebar-overlay,
  .yb-cv-search, .yb-cv-fontsize, .yb-cv-toc,
  .yb-cv-mark-complete, .yb-cv-notes, .yb-cv-chapter-nav,
  .yb-cv-comments, .yb-cv-my-comments, .yb-cv-completion,
  .yb-cv-sidebar__footer, .yb-cv-topbar__actions,
  .yb-cv-chapter__breadcrumb { display: none !important; }
  .yb-cv-viewer { display: block !important; }
  .yb-cv-layout { display: block !important; }
  .yb-cv-content { padding: 0 !important; max-width: 100% !important; }
  .yb-cv-chapter { display: block !important; }
  .yb-cv [hidden] { display: none !important; }
  .yb-cv-chapter__body { font-size: 11pt !important; line-height: 1.6 !important; }
  .yb-cv-chapter__title { font-size: 18pt !important; }
}

/* ═══════════════════════════════════════
   COURSE VIEWER — EMBEDDED MODE
   (inline within profile page)
   ═══════════════════════════════════════ */

.yb-cv--embedded {
  min-height: auto;
  background: transparent;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  overflow: hidden;
}

.yb-cv--embedded .yb-cv-gate {
  min-height: 240px;
}

.yb-cv--embedded .yb-cv-loading {
  min-height: 240px;
}

.yb-cv--embedded .yb-cv-error-page {
  min-height: 240px;
}

.yb-cv--embedded .yb-cv-completion {
  position: absolute;
  inset: 0;
  z-index: 50;
  background: rgba(255, 252, 249, 0.95);
  border-radius: 16px;
}

.yb-cv--embedded .yb-cv-topbar {
  position: relative;
  top: auto;
  border-radius: 16px 16px 0 0;
}

.yb-cv--embedded .yb-cv-search {
  position: relative;
  top: auto;
}

.yb-cv--embedded .yb-cv-layout {
  min-height: 500px;
  max-height: none;
}

.yb-cv--embedded .yb-cv-sidebar {
  position: relative;
  top: auto;
  height: auto;
  max-height: none;
  min-height: 500px;
}

.yb-cv--embedded .yb-cv-content {
  min-height: 500px;
}

.yb-cv--embedded .yb-cv-fontsize {
  position: absolute;
  right: 1rem;
  top: 53px;
  z-index: 25;
}

.yb-cv--embedded .yb-cv-toc {
  position: absolute;
  right: 0;
  top: 53px;
  z-index: 25;
  max-height: 400px;
  border-radius: 0 0 0 12px;
  box-shadow: -2px 4px 12px rgba(0,0,0,0.08);
}

/* Embedded responsive */
@media (max-width: 768px) {
  .yb-cv--embedded .yb-cv-layout {
    min-height: 400px;
  }
  .yb-cv--embedded .yb-cv-sidebar {
    min-height: auto;
  }
  .yb-cv--embedded .yb-cv-topbar__title {
    font-size: 0.95rem;

  }
}

/* ========================================
   KONCEPTER PAGE (yb-k- prefix)
   Brand showcase — Hot Yoga CPH, Namasté, Vibro Yoga
   ======================================== */

/* ── Hero ── */
.yb-k-hero {
  position: relative;
  min-height: calc(100vh - 107px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1C1C1C;
  color: #FDFBF7;
  text-align: center;
  overflow: hidden;
}
.yb-k-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.yb-k-hero__bg video,
.yb-k-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yb-k-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.65) 0%, rgba(28, 28, 28, 0.75) 100%);
}
.yb-k-hero__glow {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(247, 92, 3, 0.15) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: yb-hero-breathe 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.yb-k-hero .container {
  position: relative;
  z-index: 2;
}
.yb-k-hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0.7;
  margin-bottom: 28px;
  color: #FDFBF7;
}
.yb-k-hero__tagline::before,
.yb-k-hero__tagline::after {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(253, 251, 247, 0.4);
}
.yb-k-hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #FDFBF7 0%, #ff9966 50%, var(--yb-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.yb-k-hero__subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  color: rgba(253, 251, 247, 0.75);
  max-width: 720px;
  margin: 0 auto 0;
  line-height: 1.6;
}
.yb-k-hero__line {
  width: 100%;
  max-width: 720px;
  height: 1px;
  background: rgba(253, 251, 247, 0.1);
  margin: 40px auto 40px;
}
.yb-k-hero__trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(253, 251, 247, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.yb-k-hero__trust-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--yb-brand);
}
.yb-k-hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 251, 247, 0.5);
  z-index: 2;
  animation: yb-hero-float 3s ease-in-out infinite;
}
.yb-k-hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(253, 251, 247, 0.6), transparent);
}

/* ── Intro ── */
.yb-k-intro {
  padding: 100px 20px;
  background: #fff;
}
.yb-k-intro__text {
  max-width: 800px;
  margin: 0 auto 24px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.7;
  color: #333;
  text-align: center;
}
.yb-k-intro__text--secondary {
  color: #666;
  font-size: clamp(15px, 1.8vw, 18px);
}

/* ── Brand Hero Sections ── */
.yb-k-brand-hero {
  padding: 100px 20px;
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
  color: #FDFBF7;
}
.yb-k-brand-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.yb-k-brand-hero__badge {
  display: inline-block;
  background: var(--yb-brand);
  color: #fff;
  padding: 6px 18px;
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}
.yb-k-brand-hero__badge--hy {
  background: #3f99a5;
}
.yb-k-brand-hero__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.yb-k-brand-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(253, 251, 247, 0.7);
  margin-bottom: 24px;
  font-weight: 700;
}
.yb-k-brand-hero__text {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.8);
  margin-bottom: 16px;
}
.yb-k-brand-hero__image {
  display: flex;
  justify-content: center;
}
.yb-k-brand-hero__image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}
.yb-k-brand-hero__placeholder {
  width: 100%;
  min-height: 400px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(253, 251, 247, 0.4);
  font-size: 18px;
  border: 1px dashed rgba(253, 251, 247, 0.15);
}
.yb-k-brand-hero__placeholder small {
  font-size: 12px;
  opacity: 0.6;
}
.yb-k-brand-hero__placeholder--hy {
  border-color: rgba(63, 153, 165, 0.3);
}

/* ── Stats Bar ── */
.yb-k-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
}
.yb-k-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.yb-k-stats__num {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--yb-brand);
}
.yb-k-stats--hy {
  border-top-color: rgba(63, 153, 165, 0.2);
}
.yb-k-stats__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(253, 251, 247, 0.55);
}

/* ── Split Section ── */
.yb-k-split {
  padding: 80px 20px;
  background: #f9f9f9;
}
.yb-k-split--hy {
  background: #f4fafb;
}
.yb-k-split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.yb-k-split__inner--reverse {
  direction: rtl;
}
.yb-k-split__inner--reverse > * {
  direction: ltr;
}
.yb-k-split__media {
  border-radius: 16px;
  overflow: hidden;
}
.yb-k-split__media img {
  width: 100%;
  height: auto;
  display: block;
}
.yb-k-split__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #1C1C1C;
}
.yb-k-split__title--hy {
  color: #3f99a5;
}
.yb-k-split__text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* ── Features Grid ── */
.yb-k-features {
  padding: 100px 20px;
  background: #fff;
}
.yb-k-features--light {
  background: #F5F3F0;
}
.yb-k-features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.yb-k-features__card {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  padding: 36px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yb-k-features__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.yb-k-features__card--hy {
  border-color: rgba(63, 153, 165, 0.2);
}
.yb-k-features__card--hy:hover {
  border-color: rgba(63, 153, 165, 0.4);
  box-shadow: 0 12px 32px rgba(63, 153, 165, 0.1);
}
.yb-k-features__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--yb-brand), #ff9966);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #fff;
}
.yb-k-features__icon--hy {
  background: linear-gradient(135deg, var(--yb-brand), #3f99a5);
}
.yb-k-features__card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C1C1C;
}
.yb-k-features__card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}

/* ── Ritual Cards (HYC Innovations) ── */
.yb-k-ritual {
  padding: 100px 20px;
  background: #fff;
}
.yb-k-ritual__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.yb-k-ritual__card {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yb-k-ritual__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.yb-k-ritual__img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.yb-k-ritual__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yb-k-ritual__img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  color: rgba(253, 251, 247, 0.35);
  font-size: 14px;
}
.yb-k-ritual__img-ph--hy {
  background: linear-gradient(135deg, #2c6a72 0%, #3f99a5 100%);
}
.yb-k-ritual__img-ph small {
  font-size: 11px;
  opacity: 0.5;
}
.yb-k-ritual__body {
  padding: 28px;
}
.yb-k-ritual__body h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C1C1C;
}
.yb-k-ritual__body p {
  font-size: 14px;
  line-height: 1.7;
  color: #666;
}

/* ── Bridge Section (Namasté Studios + Online) ── */
.yb-k-bridge {
  padding: 100px 20px;
  background: #F5F3F0;
}
.yb-k-bridge__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 1000px;
  margin: 48px auto 0;
}
.yb-k-bridge__card {
  flex: 1;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.yb-k-bridge__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}
.yb-k-bridge__logo {
  margin-bottom: 20px;
}
.yb-k-bridge__logo img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
}
.yb-k-bridge__logo-ph {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: rgba(253, 251, 247, 0.35);
  font-size: 13px;
  border: 1px dashed rgba(253, 251, 247, 0.12);
}
.yb-k-bridge__logo-ph small {
  font-size: 11px;
  opacity: 0.5;
}
.yb-k-bridge__card h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #1C1C1C;
}
.yb-k-bridge__card p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
}
.yb-k-bridge__connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}

/* ── 3-column features grid ── */
.yb-k-features__grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

/* ── Video Placeholder ── */
.yb-k-video {
  padding: 80px 20px;
  background: #F5F3F0;
}
.yb-k-video__wrap {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.yb-k-video__wrap video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #0F0F0F;
}
.yb-k-video__wrap--hy .yb-k-video__placeholder {
  background: linear-gradient(135deg, #2c7a84 0%, #3f99a5 50%, #2c7a84 100%);
}
.yb-k-video__placeholder {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 50%, #1C1C1C 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.yb-k-video__placeholder:hover {
  opacity: 0.9;
}
.yb-k-video__placeholder span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.yb-k-video__cta {
  text-align: center;
  margin-top: 32px;
}

/* Hot Yoga CPH specific button */
.yb-k-btn--hy {
  background: #3f99a5;
  border-color: #3f99a5;
  color: #fff;
}
.yb-k-btn--hy:hover {
  background: #358a95;
  border-color: #358a95;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(63, 153, 165, 0.3);
}

/* ── Divider ── */
.yb-k-divider {
  padding: 0 20px;
  background: #fff;
}
.yb-k-divider__line {
  max-width: 200px;
  margin: 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yb-brand), transparent);
  border-radius: 2px;
}

/* ── Statement / Ambition Block ── */
.yb-k-statement {
  padding: 100px 20px;
  background: #F5F3F0;
}
.yb-k-statement--dark {
  background: linear-gradient(135deg, #1C1C1C 0%, #2a2a2a 100%);
}
.yb-k-statement__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.yb-k-statement__title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  margin-bottom: 24px;
  color: #1C1C1C;
}
.yb-k-statement__text {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
  color: #555;
}

/* ── Image Band ── */
.yb-k-imageband {
  padding: 0;
}
.yb-k-imageband__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.yb-k-imageband__grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* ── Sessions (dark bg — Vibro) ── */
.yb-k-sessions {
  padding: 100px 20px;
  background: linear-gradient(135deg, #0F0F0F 0%, #1C1C1C 100%);
}
.yb-k-sessions__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 32px;
  margin-top: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--yb-brand) rgba(253, 251, 247, 0.1);
}
.yb-k-sessions__track::-webkit-scrollbar {
  height: 6px;
}
.yb-k-sessions__track::-webkit-scrollbar-track {
  background: rgba(253, 251, 247, 0.1);
  border-radius: 3px;
}
.yb-k-sessions__track::-webkit-scrollbar-thumb {
  background: var(--yb-brand);
  border-radius: 3px;
}
.yb-k-sessions__card {
  min-width: 280px;
  max-width: 300px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: rgba(253, 251, 247, 0.04);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 16px;
  padding: 40px 32px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.yb-k-sessions__card:hover {
  border-color: rgba(247, 92, 3, 0.3);
  transform: translateY(-4px);
}
.yb-k-sessions__number {
  font-size: 48px;
  font-weight: 700;
  color: var(--yb-brand);
  opacity: 0.3;
  margin-bottom: 16px;
  line-height: 1;
}
.yb-k-sessions__card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #FDFBF7;
  margin-bottom: 12px;
}
.yb-k-sessions__card p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(253, 251, 247, 0.65);
}

/* ── Science section ── */
.yb-k-science {
  padding: 100px 20px;
  background: #fff;
}

/* ── Reviews Carousel ── */
.yb-k-reviews {
  padding: 100px 20px;
  background: #F5F3F0;
}
.yb-k-reviews__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 32px;
  margin-top: 40px;
  scrollbar-width: thin;
  scrollbar-color: var(--yb-brand) #E8E4E0;
}
.yb-k-reviews__track::-webkit-scrollbar {
  height: 6px;
}
.yb-k-reviews__track::-webkit-scrollbar-track {
  background: #E8E4E0;
  border-radius: 3px;
}
.yb-k-reviews__track::-webkit-scrollbar-thumb {
  background: var(--yb-brand);
  border-radius: 3px;
}
.yb-k-reviews__card {
  min-width: 340px;
  max-width: 380px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background: #FFFCF9;
  border: 1.5px solid var(--yb-brand);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.yb-k-reviews__stars {
  color: var(--yb-brand);
  font-size: 18px;
  letter-spacing: 2px;
}
.yb-k-reviews__text {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  flex: 1;
  font-style: italic;
}
.yb-k-reviews__author {
  font-size: 13px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── CTA ── */
.yb-k-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  color: #fff;
  text-align: center;
  padding: 120px 20px;
}
.yb-k-cta__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  margin-bottom: 20px;
}
.yb-k-cta__text {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  opacity: 0.92;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
}
.yb-k-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .yb-k-hero {
    padding: 140px 16px 80px;
  }
  .yb-k-hero__stats {
    gap: 24px;
  }
  .yb-k-brand-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .yb-k-split__inner,
  .yb-k-split__inner--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 32px;
  }
  .yb-k-features__grid,
  .yb-k-features__grid--3col {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .yb-k-ritual__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .yb-k-bridge__grid {
    flex-direction: column;
  }
  .yb-k-bridge__connector {
    transform: rotate(90deg);
  }
  .yb-k-imageband__grid {
    grid-template-columns: 1fr;
  }
  .yb-k-imageband__grid .yb-k-brand-hero__placeholder {
    min-height: 200px !important;
  }
  .yb-k-stats {
    gap: 20px;
  }
  .yb-k-reviews__card {
    min-width: 280px;
    max-width: 320px;
  }
  .yb-k-cta {
    padding: 80px 16px;
  }
}

/* ========================================
   LINK IN BIO PAGE (yb-link)
   Variation A — Photo/Video Hero + Compact Links
   Mobile-first, vertical, on-brand
   ======================================== */

.yb-link {
  background: #0F0F0F;
  min-height: 100vh;
  position: relative;
}

/* ── Hero Media (image or video) ── */
.yb-link__media {
  display: none;
}
@media (max-width: 768px) {
  .yb-link__media {
    display: block;
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
  }
}

.yb-link__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yb-link__media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 15, 15, 0) 0%,
    rgba(15, 15, 15, 0.4) 60%,
    rgba(15, 15, 15, 1) 100%
  );
  pointer-events: none;
}

/* ── Container ── */
.yb-link__container {
  max-width: 480px;
  margin: 0 auto;
  padding: 0 16px 60px;
  position: relative;
  z-index: 1;
  margin-top: -40px;
}

/* ── Hero / Brand ── */
.yb-link__hero {
  text-align: center;
  padding: 0 0 24px;
}

.yb-link__logo {
  display: block;
  margin: 0 auto 14px;
  width: 160px;
  height: auto;
}

.yb-link__social-proof {
  color: rgba(253, 251, 247, 0.55);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Language Toggle ── */
.yb-link__lang {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
}

.yb-link__lang-btn {
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: rgba(253, 251, 247, 0.35);
  border: 1px solid rgba(253, 251, 247, 0.1);
  transition: all 0.2s ease;
}

.yb-link__lang-btn:hover {
  color: rgba(253, 251, 247, 0.7);
  border-color: rgba(253, 251, 247, 0.2);
}

.yb-link__lang-btn--active {
  color: var(--yb-brand);
  border-color: var(--yb-brand);
}

.yb-link__lang-btn--active:hover {
  color: var(--yb-brand);
  border-color: var(--yb-brand);
}

/* ── CTA Button (Apply) ── */
.yb-link__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  margin-bottom: 32px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.15s ease;
}

.yb-link__cta:hover {
  background: #d94f02;
  transform: translateY(-1px);
}

.yb-link__cta:active {
  transform: translateY(0);
}

/* ── Section Labels ── */
.yb-link__section {
  margin-bottom: 28px;
}

.yb-link__section-label {
  color: var(--yb-brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-left: 4px;
}

/* ── Link Items ── */
.yb-link__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.yb-link__item:hover {
  background: rgba(253, 251, 247, 0.09);
  border-color: rgba(247, 92, 3, 0.3);
  transform: translateY(-1px);
}

.yb-link__item:active {
  transform: translateY(0);
}

/* Training variant — slightly more prominent */
.yb-link__item--training {
  border-color: rgba(247, 92, 3, 0.15);
}

.yb-link__item--training:hover {
  border-color: rgba(247, 92, 3, 0.5);
}

/* Subtle variant — for secondary links like "compare" */
.yb-link__item--subtle {
  background: transparent;
  border-color: rgba(253, 251, 247, 0.06);
  padding: 10px 16px;
}

.yb-link__item--subtle:hover {
  background: rgba(253, 251, 247, 0.04);
}

.yb-link__item-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.yb-link__item-title {
  color: #FDFBF7;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.yb-link__item-sub {
  color: rgba(253, 251, 247, 0.45);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}

.yb-link__arrow {
  flex-shrink: 0;
  color: rgba(253, 251, 247, 0.25);
  transition: color 0.2s ease, transform 0.2s ease;
}

.yb-link__item:hover .yb-link__arrow {
  color: var(--yb-brand);
  transform: translateX(2px);
}

/* ── Badge (e.g. POPULÆR) ── */
.yb-link__badge {
  flex-shrink: 0;
  padding: 3px 10px;
  background: var(--yb-brand);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
  line-height: 1.4;
}

/* ── Course Grid (3 columns) ── */
.yb-link__course-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.yb-link__course-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.yb-link__course-card:hover {
  background: rgba(253, 251, 247, 0.09);
  border-color: rgba(247, 92, 3, 0.3);
  transform: translateY(-1px);
}

.yb-link__course-card:active {
  transform: translateY(0);
}

.yb-link__course-name {
  color: #FDFBF7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Explore Grid (2 columns) ── */
.yb-link__explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.yb-link__explore-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  background: transparent;
  border: 1px solid rgba(253, 251, 247, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(253, 251, 247, 0.6);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yb-link__explore-item:hover {
  color: #FDFBF7;
  border-color: rgba(253, 251, 247, 0.15);
  background: rgba(253, 251, 247, 0.03);
}

/* ── App Downloads Grid (2 columns) ── */
.yb-link__app-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.yb-link__app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: #FDFBF7;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.yb-link__app:hover {
  background: rgba(253, 251, 247, 0.09);
  border-color: rgba(247, 92, 3, 0.3);
}

.yb-link__app svg {
  flex-shrink: 0;
}

/* ── Contact Row ── */
.yb-link__contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.yb-link__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: transparent;
  border: 1px solid rgba(253, 251, 247, 0.08);
  border-radius: 12px;
  text-decoration: none;
  color: rgba(253, 251, 247, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.yb-link__contact:hover {
  color: #FDFBF7;
  border-color: rgba(253, 251, 247, 0.2);
}

.yb-link__contact svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── SoundCloud Embed ── */
.yb-link__embed {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(253, 251, 247, 0.05);
  border: 1px solid rgba(253, 251, 247, 0.08);
}

.yb-link__embed iframe {
  display: block;
  border: 0;
}

/* ── Tagline ── */
.yb-link__tagline {
  text-align: center;
  color: rgba(253, 251, 247, 0.2);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: 20px;
}

/* ── Share Button ── */
.yb-link__share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  margin-top: 8px;
  background: transparent;
  border: 1px dashed rgba(253, 251, 247, 0.15);
  border-radius: 12px;
  color: rgba(253, 251, 247, 0.4);
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.yb-link__share:hover {
  color: rgba(253, 251, 247, 0.7);
  border-color: rgba(253, 251, 247, 0.25);
  background: rgba(253, 251, 247, 0.03);
}

.yb-link__share--copied {
  color: var(--yb-brand);
  border-color: rgba(247, 92, 3, 0.4);
  border-style: solid;
}

/* ── Fade-Up Entrance Animation ── */
.yb-link__fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.yb-link__fade--visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Desktop adjustments ── */
@media (min-width: 768px) {
  .yb-link__media {
    height: 360px;
  }

  .yb-link__container {
    padding: 0 24px 80px;
  }

  .yb-link__logo {
    width: 180px;
  }

  .yb-link__item {
    padding: 16px 20px;
  }

  .yb-link__item-title {
    font-size: 15px;
  }

  .yb-link__item-sub {
    font-size: 12px;
  }

  .yb-link__course-name {
    font-size: 13px;
  }
}

/* ========================================
   MEET THE TEACHERS PAGE
   ======================================== */

/* ── Filter Tabs (Pills style) ── */
.mt-filters {
  padding: 0;
}

.mt-filters__bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.mt-filters__btn {
  background: transparent;
  border: 1.5px solid #E8E4E0;
  border-radius: 999px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6F6A66;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mt-filters__btn:hover {
  border-color: #f75c03;
  color: #f75c03;
}

.mt-filters__btn.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}

/* ── Teacher Card Grid ── */
.mt-grid-section {
  padding-top: 40px;
}

.mt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

/* ── Teacher Card ── */
.mt-card {
  background: #FFFCF9;
  border: 1.5px solid #E8E4E0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mt-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

/* Media area (photo + video) */
.mt-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #F5F3F0;
  overflow: hidden;
}

.mt-card__media img,
.mt-card__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mt-card__media-toggle {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(15, 15, 15, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 4px;
}

.mt-card__media-btn {
  background: transparent;
  border: none;
  color: rgba(253, 251, 247, 0.6);
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mt-card__media-btn:hover {
  color: #FDFBF7;
}

.mt-card__media-btn.is-active {
  background: #f75c03;
  color: #fff;
}

/* Card body */
.mt-card__body {
  padding: 28px 24px 24px;
}

.mt-card__role {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f75c03;
  margin-bottom: 6px;
}

.mt-card__name {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 14px;
  line-height: 1.2;
}

/* Specialty tags */
.mt-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.mt-card__tag {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #6F6A66;
}

/* Meta (experience + certs) */
.mt-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #6F6A66;
  margin-bottom: 16px;
}

.mt-card__meta strong {
  color: #0F0F0F;
}

/* Quote */
.mt-card__quote {
  font-style: italic;
  font-size: 15px;
  color: #6F6A66;
  border-left: 3px solid #f75c03;
  padding-left: 16px;
  margin: 16px 0;
  line-height: 1.6;
}

/* Bio expand/collapse */
.mt-card__bio-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.mt-card__bio-wrap.is-open {
  max-height: 400px;
}

.mt-card__bio {
  font-size: 15px;
  line-height: 1.7;
  color: #6F6A66;
  padding-top: 8px;
}

.mt-card__toggle {
  background: none;
  border: none;
  color: #f75c03;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.mt-card__toggle:hover {
  color: #d94f02;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .mt-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .mt-filters__bar {
    gap: 8px;
  }

  .mt-filters__btn {
    padding: 8px 16px;
    font-size: 12px;
  }

  .mt-card__body {
    padding: 20px 16px 18px;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   JOURNEY TIMELINE — Reusable vertical timeline (yb-journey)
   ═══════════════════════════════════════════════════════════════════ */
.yb-journey {
  padding: clamp(60px, 10vh, 120px) 24px;
  background: #F9F7F4;
}
.yb-journey__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 6vw, 60px);
}
.yb-journey__header { text-align: center; }
.yb-journey__label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--yb-brand);
  font-weight: 700;
  margin-bottom: 12px;
}
.yb-journey__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.yb-journey__desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #6F6A66;
  max-width: 520px;
  margin: 0 auto;
}
.yb-journey__timeline {
  position: relative;
  padding-left: 40px;
}
.yb-journey__timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--yb-brand), #E8E4E0);
  border-radius: 1px;
}
.yb-journey__item { position: relative; padding-bottom: 40px; }
.yb-journey__item:last-child { padding-bottom: 0; }
.yb-journey__item--break { opacity: 0.65; }
.yb-journey__dot {
  position: absolute;
  left: -36px;
  top: 6px;
  width: 12px;
  height: 12px;
  background: var(--yb-brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #F9F7F4, 0 0 0 6px rgba(247, 92, 3, 0.18);
}
.yb-journey__item--break .yb-journey__dot {
  background: #E8E4E0;
  box-shadow: 0 0 0 4px #F9F7F4, 0 0 0 6px rgba(111, 106, 102, 0.15);
}
.yb-journey__step {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--yb-brand);
  font-weight: 700;
  margin-bottom: 6px;
}
.yb-journey__item--break .yb-journey__step { color: #6F6A66; }
.yb-journey__item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F0F0F;
  margin-bottom: 6px;
}
.yb-journey__item-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6F6A66;
}

@media (min-width: 900px) {
  .yb-journey__inner {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
  }
  .yb-journey__header {
    position: sticky;
    top: 200px;
    text-align: left;
  }
  .yb-journey__desc { margin: 0; }
}

/* ═══════════════════════════════════════
   LEAD MANAGER STYLES (Enhanced v2)
   Two-way SMS, Section Cards, Applications
   ═══════════════════════════════════════ */

/* ── Toolbar ── */
.yb-lead__toolbar-right { display: flex; gap: 0.5rem; align-items: center; }

/* ── Stats Toggle (mobile only) ── */
.yb-lead__stats-toggle {
  display: none; /* hidden on desktop */
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: #161616;
  margin-bottom: 0.5rem;
  transition: border-color 0.15s;
}
.yb-lead__stats-toggle:hover { border-color: #f75c03; }
.yb-lead__stats-summary { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.yb-lead__stats-summary-item { white-space: nowrap; }
.yb-lead__stats-summary-item--new { color: #856404; }
.yb-lead__stats-summary-item--pipeline { color: #0c5460; }
.yb-lead__stats-summary-item--converted { color: #155724; }
.yb-lead__stats-summary-item--rate { color: #f75c03; }
.yb-lead__stats-summary-item--followup { color: #EF5350; }
.yb-lead__stats-chevron {
  flex-shrink: 0;
  transition: transform 0.2s;
  color: #6F6A66;
}
.yb-lead__stats-toggle[aria-expanded="true"] .yb-lead__stats-chevron {
  transform: rotate(180deg);
}

/* ── Pipeline Stats ── */
.yb-lead__stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.yb-lead__stat-card {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.yb-lead__stat-card:hover { border-color: #f75c03; box-shadow: 0 2px 8px rgba(247, 92, 3, 0.1); }
.yb-lead__stat-value { display: block; font-size: 1.5rem; font-weight: 800; line-height: 1.2; color: #161616; }
.yb-lead__stat-label { display: block; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: #6F6A66; margin-top: 0.25rem; }
.yb-lead__stat-card--new .yb-lead__stat-value { color: #856404; }
.yb-lead__stat-card--pipeline .yb-lead__stat-value { color: #0c5460; }
.yb-lead__stat-card--converted .yb-lead__stat-value { color: #155724; }
.yb-lead__stat-card--rate .yb-lead__stat-value { color: #f75c03; }
.yb-lead__stat-card--followup { border-color: #EF5350; }
.yb-lead__stat-card--followup .yb-lead__stat-value { color: #EF5350; }
.yb-lead__stat-card--sms { border-color: #FF9800; }
.yb-lead__stat-card--sms .yb-lead__stat-value { color: #E65100; }
.yb-lead__stat-overdue { color: #EF5350; font-weight: 700; }

/* ── Filter Bar ── */
.yb-lead__filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.yb-lead__search-form { flex: 1; min-width: 200px; }
.yb-lead__search-input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #FFFCF9;
  color: #161616;
  transition: border-color 0.15s;
}
.yb-lead__search-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__filter { min-width: 120px; font-size: 0.82rem; }

/* ── Result count ── */
.yb-lead__result-bar { margin-bottom: 0.5rem; }
.yb-lead__count-text { font-size: 0.8rem; color: #6F6A66; }

/* ── Bulk actions bar ── */
.yb-lead__bulk-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #FFF8E1 0%, #FFFCF9 100%);
  border: 1.5px solid #f75c03;
  border-radius: 12px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.yb-lead__bulk-count-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #f75c03;
  margin-right: auto;
  white-space: nowrap;
}
.yb-lead__bulk-bar .yb-btn--outline {
  border-color: #E8E4E0;
  background: #FFFCF9;
  color: #0F0F0F;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__bulk-bar .yb-btn--outline:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: rgba(247, 92, 3, 0.04);
}
.yb-lead__bulk-bar .yb-admin__icon-btn--danger {
  border-color: #E8E4E0;
}
.yb-lead__bulk-bar .yb-admin__icon-btn--danger:hover {
  border-color: #dc2626;
  color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}

/* ── Bulk Status Picker Modal ── */
.yb-bulk-status__box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  padding: 1.5rem;
  width: 90vw;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  z-index: 1001;
  animation: yb-expand-in 0.2s ease;
}
.yb-bulk-status__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}
.yb-bulk-status__header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}
.yb-bulk-status__subtitle {
  font-size: 0.82rem;
  color: #6F6A66;
  margin: 0 0 1rem;
}
.yb-bulk-status__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.yb-bulk-status__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  background: #FFFCF9;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F0F0F;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
}
.yb-bulk-status__option:hover {
  border-color: #f75c03;
  background: rgba(247, 92, 3, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(247, 92, 3, 0.1);
}
.yb-bulk-status__option-icon { font-size: 1rem; flex-shrink: 0; }
.yb-bulk-status__option-label { flex: 1; }
@media (max-width: 480px) {
  .yb-bulk-status__grid { grid-template-columns: 1fr; }
  .yb-bulk-status__box { padding: 1rem; }
}

/* ── Table ── */
.yb-lead__table-wrap { overflow-x: auto; }
.yb-lead__table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.yb-lead__th-cb { width: 44px; padding: 0.5rem 0.25rem; }
.yb-lead__th-date { width: 90px; }
.yb-lead__th-program { max-width: 150px; }
.yb-lead__th-source { max-width: 120px; }
.yb-lead__th-followup { width: 100px; }

/* Sort buttons */
.yb-lead__sort-btn {
  background: none; border: none; cursor: pointer; padding: 0;
  font-weight: 700; font-size: 0.78rem; color: #6F6A66;
  display: inline-flex; align-items: center; gap: 4px;
}
.yb-lead__sort-btn:hover { color: #f75c03; }
.yb-lead__sort-btn.is-active { color: #161616; }
.yb-lead__sort-icon::after { content: '\25B5\25BF'; font-size: 0.6rem; line-height: 1; }
.yb-lead__sort-btn.is-asc .yb-lead__sort-icon::after { content: '\25B4'; color: #f75c03; }
.yb-lead__sort-btn.is-desc .yb-lead__sort-icon::after { content: '\25BE'; color: #f75c03; }

/* Table rows */
.yb-lead__row { cursor: pointer; transition: background 0.15s; }
.yb-lead__row:hover { background: rgba(247, 92, 3, 0.04); }
.yb-lead__row.is-selected { background: rgba(247, 92, 3, 0.08); }
.yb-lead__row--overdue { border-left: 3px solid #EF5350; }
.yb-lead__row--due-today { border-left: 3px solid #FF9800; }
.yb-lead__cell-cb { width: 44px; text-align: center; padding: 0.5rem 0.25rem; cursor: pointer; }
.yb-lead__cell-cb input[type="checkbox"],
.yb-lead__cb { width: 20px; height: 20px; cursor: pointer; accent-color: #f75c03; }
.yb-lead__cell-date { white-space: nowrap; font-size: 0.78rem; color: #6F6A66; }
.yb-lead__cell-name { font-weight: 600; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.yb-lead__cell-contact { max-width: 200px; }
.yb-lead__cell-email-text { font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-lead__cell-phone-text { font-size: 0.72rem; color: #6F6A66; }
.yb-lead__cell-program { font-size: 0.82rem; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-lead__cell-source { font-size: 0.78rem; color: #6F6A66; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yb-lead__cell-followup { font-size: 0.78rem; white-space: nowrap; }
.yb-lead__cell-actions { width: 40px; text-align: center; }

/* ── Unread SMS badge in table ── */
.yb-lead__sms-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f75c03;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
  animation: yb-sms-pulse 2s ease-in-out infinite;
}
@keyframes yb-sms-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(247, 92, 3, 0.4); }
  50% { box-shadow: 0 0 0 4px rgba(247, 92, 3, 0); }
}

/* ── Application badge in table ── */
.yb-lead__app-badge {
  display: inline-block;
  font-size: 0.65rem;
  background: rgba(76, 175, 80, 0.12);
  color: #2E7D32;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  margin-left: 4px;
  vertical-align: middle;
}

/* Status badges */
.yb-lead__badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  vertical-align: middle;
}
.yb-lead__sub-status {
  display: block;
  font-size: 0.68rem;
  color: #6F6A66;
  margin-top: 2px;
}
.yb-lead__priority { font-size: 0.9rem; vertical-align: middle; margin-right: 2px; }
.yb-lead__temp { font-size: 0.85rem; vertical-align: middle; margin-right: 2px; }

/* Type badge */
.yb-lead__type-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(247, 92, 3, 0.1);
  color: #f75c03;
}

/* Bounce badge */
.yb-lead__bounce-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #FFEBEE;
  color: #D32F2F;
  margin-left: 4px;
  vertical-align: middle;
}

/* Follow-up date highlighting */
.yb-lead__followup-date { font-weight: 600; }
.yb-lead__followup-date.yb-lead__row--overdue { color: #EF5350; }
.yb-lead__followup-date.yb-lead__row--due-today { color: #FF9800; }

/* ═══════════════════════════════════════
   SECTION CARDS — Lead & App Detail
   ═══════════════════════════════════════ */
.yb-lead__section-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #161616;
  margin-bottom: 0.75rem;
}

/* Card-based detail layout (new) */
.yb-lead__detail-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.yb-lead__section-card {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1.25rem;
}
.yb-lead__section-card--full {
  grid-column: 1 / -1;
}
.yb-lead__card-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6F6A66;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e0db;
}
.yb-lead__card-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.88rem;
}
.yb-lead__card-row--full {
  flex-direction: column;
  align-items: flex-start;
}
.yb-lead__card-label {
  font-weight: 600;
  color: #6F6A66;
  white-space: nowrap;
  min-width: 100px;
  font-size: 0.82rem;
}
.yb-lead__card-value {
  color: #161616;
  font-size: 0.88rem;
}
.yb-lead__card-link {
  color: #f75c03;
  text-decoration: none;
}
.yb-lead__card-link:hover { text-decoration: underline; }

/* Large status badge */
.yb-lead__badge--lg {
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

/* Unread SMS icon in table row */
.yb-lead__sms-unread-icon {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.85rem;
  animation: yb-sms-pulse 2s ease-in-out infinite;
}

/* SMS bubble text and time (inside bubbles) */
.yb-lead__sms-bubble-text {
  margin-bottom: 0.2rem;
  white-space: pre-wrap;
  word-break: break-word;
}
.yb-lead__sms-bubble-time {
  font-size: 0.68rem;
  display: block;
  text-align: right;
}
.yb-lead__sms-bubble--outbound .yb-lead__sms-bubble-time {
  color: rgba(255, 255, 255, 0.7);
}
.yb-lead__sms-bubble--inbound .yb-lead__sms-bubble-time {
  color: #6F6A66;
}

.yb-lead__detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.yb-lead__detail-section {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1.25rem;
}
.yb-lead__detail-section-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6F6A66;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e0db;
}
.yb-lead__detail-status-bar {
  grid-column: 1 / -1;
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}
.yb-lead__detail-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0; font-size: 0.88rem; }
.yb-lead__detail-row--full { flex-direction: column; align-items: flex-start; }
.yb-lead__detail-label { font-weight: 600; color: #6F6A66; white-space: nowrap; min-width: 100px; font-size: 0.82rem; }
.yb-lead__detail-link { color: #f75c03; text-decoration: none; }
.yb-lead__detail-link:hover { text-decoration: underline; }
.yb-lead__detail-message {
  background: rgba(247, 92, 3, 0.04);
  border-left: 3px solid #f75c03;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #161616;
  white-space: pre-wrap;
  width: 100%;
}

/* ── Quick Actions bar ── */
.yb-lead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 0;
}
.yb-lead__actions .yb-btn {
  padding: 8px 14px;
  font-size: 0.82rem;
  border-radius: 8px;
  border: 1.5px solid #E8E4E0;
  background: #fff;
  color: #0F0F0F;
  font-weight: 600;
  transition: all 0.15s ease;
}
.yb-lead__actions .yb-btn:hover {
  border-color: var(--yb-brand, #f75c03);
  color: var(--yb-brand, #f75c03);
  background: rgba(247, 92, 3, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}
.yb-lead__actions .yb-btn--primary {
  background: var(--yb-brand, #f75c03);
  color: #fff;
  border-color: var(--yb-brand, #f75c03);
}
.yb-lead__actions .yb-btn--primary:hover {
  background: #d94f02;
  border-color: #d94f02;
  color: #fff;
}

/* ── SMS Template Chips ── */
.yb-lead__tpl-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 0.75rem;
}
.yb-lead__tpl-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #E8E4E0;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.12s;
}
.yb-lead__tpl-chip:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: rgba(247, 92, 3, 0.04);
}
.yb-lead__tpl-chip.is-booking {
  border-color: #f75c03;
  color: #f75c03;
  background: rgba(247, 92, 3, 0.06);
}
/* ── SMS Char Counter ── */
.yb-lead__sms-charcount {
  font-size: 0.75rem;
  color: #999;
  text-align: right;
  margin: -0.25rem 0 0.5rem;
}

/* ── Cross-link button (View Application / View Lead) ── */
.yb-lead__cross-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(76, 175, 80, 0.08);
  color: #2E7D32;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(76, 175, 80, 0.2);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.yb-lead__cross-link:hover {
  background: rgba(76, 175, 80, 0.15);
  border-color: rgba(76, 175, 80, 0.4);
}

/* ═══════════════════════════════════════
   SMS CONVERSATION — Chat Bubbles
   ═══════════════════════════════════════ */
.yb-lead__sms-conversation {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 0.5rem;
}
.yb-lead__sms-thread {
  max-height: 350px;
  overflow-y: auto;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 60px;
}
.yb-lead__sms-thread:empty::after {
  content: 'No messages yet';
  color: #6F6A66;
  font-size: 0.82rem;
  font-style: italic;
  text-align: center;
  padding: 1.5rem;
}

/* Outbound (sent) bubble — right-aligned, brand orange */
.yb-lead__sms-bubble--outbound {
  align-self: flex-end;
  background: #f75c03;
  color: #fff;
  border-radius: 14px 14px 4px 14px;
  padding: 0.6rem 0.85rem;
  max-width: 75%;
  font-size: 0.85rem;
  line-height: 1.4;
}
.yb-lead__sms-bubble--outbound .yb-lead__sms-time {
  color: rgba(255, 255, 255, 0.7);
}

/* Inbound (received) bubble — left-aligned, warm grey */
.yb-lead__sms-bubble--inbound {
  align-self: flex-start;
  background: #f0ede9;
  color: #161616;
  border-radius: 14px 14px 14px 4px;
  padding: 0.6rem 0.85rem;
  max-width: 75%;
  font-size: 0.85rem;
  line-height: 1.4;
}
.yb-lead__sms-bubble--inbound .yb-lead__sms-time {
  color: #6F6A66;
}

.yb-lead__sms-text { margin-bottom: 0.2rem; white-space: pre-wrap; word-break: break-word; }
.yb-lead__sms-time { font-size: 0.68rem; display: block; text-align: right; }

/* Reply bar */
.yb-lead__sms-reply-bar {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #e5e0db;
}
.yb-lead__sms-reply-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e0db;
  border-radius: 20px;
  font-size: 0.88rem;
  background: #fff;
  color: #161616;
  transition: border-color 0.15s;
}
.yb-lead__sms-reply-input:focus { border-color: #f75c03; outline: none; }

/* ── Status form grid ── */
.yb-lead__status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.yb-admin__field--full { grid-column: 1 / -1; }

/* ── Notes ── */
.yb-lead__note-form { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.yb-lead__note-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #FFFCF9;
  color: #161616;
}
.yb-lead__note-input:focus { border-color: #f75c03; outline: none; }

.yb-lead__notes-timeline { max-height: 400px; overflow-y: auto; }
.yb-lead__note-item {
  padding: 0.6rem 0.75rem;
  border-left: 3px solid #e5e0db;
  margin-bottom: 0.5rem;
  border-radius: 0 8px 8px 0;
  background: #FFFCF9;
}
.yb-lead__note-item--call { border-left-color: #4CAF50; }
.yb-lead__note-item--email { border-left-color: #2196F3; }
.yb-lead__note-item--sms { border-left-color: #FF9800; }
.yb-lead__note-item--system { border-left-color: #9E9E9E; }
.yb-lead__note-item--status { border-left-color: #f75c03; }
.yb-lead__note-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.yb-lead__note-icon { font-size: 0.9rem; }
.yb-lead__note-author { font-size: 0.75rem; font-weight: 700; color: #6F6A66; }
.yb-lead__note-time { font-size: 0.72rem; color: #6F6A66; margin-left: auto; }
.yb-lead__note-text { font-size: 0.85rem; color: #161616; white-space: pre-wrap; }

.yb-lead__empty-text { color: #6F6A66; font-size: 0.85rem; font-style: italic; }

/* ── Activity log ── */
.yb-lead__activity-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(229, 224, 219, 0.5);
  font-size: 0.88rem;
}
.yb-lead__activity-icon { font-size: 1.1rem; flex-shrink: 0; }
.yb-lead__activity-body { flex: 1; }
.yb-lead__activity-detail { font-size: 0.8rem; color: #6F6A66; margin-top: 2px; }
.yb-lead__activity-time { font-size: 0.72rem; color: #6F6A66; margin-top: 2px; }

/* ── Modals (SMS / Email composers) ── */
.yb-lead__modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.yb-lead__modal[hidden] { display: none; }
.yb-lead__modal-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}
.yb-lead__modal-box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  padding: 1.5rem;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.yb-lead__modal-box--wide { max-width: 640px; }
.yb-lead__modal-box h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.yb-lead__modal-to { font-size: 0.85rem; color: #6F6A66; margin-bottom: 0.75rem; }
.yb-lead__modal-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  background: #fff;
  color: #161616;
}
.yb-lead__modal-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__modal-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e0db;
  border-radius: 8px;
  font-size: 0.88rem;
  resize: vertical;
  font-family: inherit;
  background: #fff;
  color: #161616;
}
.yb-lead__modal-textarea:focus { border-color: #f75c03; outline: none; }
.yb-lead__modal-meta { font-size: 0.75rem; color: #6F6A66; margin: 0.25rem 0 0.5rem; text-align: right; }
.yb-lead__modal-hint { font-size: 0.78rem; color: #6F6A66; margin: 0.5rem 0; }
.yb-lead__modal-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

/* ── SMS/Email Modal Enhancements ── */
.yb-lead__modal-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
  color: #0F0F0F;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.yb-lead__modal-select:focus { border-color: #f75c03; outline: none; }

.yb-lead__modal-vars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}
.yb-lead__modal-vars-label {
  font-size: 0.75rem;
  color: #6F6A66;
  margin-right: 0.25rem;
}
.yb-lead__var-btn {
  font-size: 0.72rem;
  font-family: monospace;
  padding: 2px 8px;
  border: 1px solid #E8E4E0;
  border-radius: 4px;
  background: #F5F3F0;
  color: #6F6A66;
  cursor: pointer;
  transition: all 0.15s;
}
.yb-lead__var-btn:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: #FFF5F0;
}

.yb-lead__modal-recipient-detail {
  font-size: 0.78rem;
  color: #6F6A66;
  margin: -0.25rem 0 0.5rem;
}

.yb-lead__sms-segments {
  font-size: 0.72rem;
  color: #E65100;
  margin-left: 0.5rem;
}

/* ── Send Progress Bar ── */
.yb-lead__send-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.yb-lead__send-progress[hidden] { display: none; }
.yb-lead__progress-bar {
  flex: 1;
  height: 6px;
  background: #E8E4E0;
  border-radius: 3px;
  overflow: hidden;
}
.yb-lead__progress-fill {
  height: 100%;
  background: #f75c03;
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}
.yb-lead__send-progress span {
  font-size: 0.75rem;
  color: #6F6A66;
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   CAMPAIGN WIZARD — SMS & EMAIL
   Design-system aligned (Section 16 tabs)
   ═══════════════════════════════════════ */

/* ── Modal Overlay ── */
.yb-lead__modal .yb-lead__modal-overlay {
  background: rgba(15,15,15,0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ── Campaign Modal Box ── */
.yb-lead__campaign-box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  width: 96vw;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  overflow: hidden;
  animation: ybCampaignSlideUp 0.25s ease-out;
}
.yb-lead__campaign-box--sms { max-width: 900px; }
.yb-lead__campaign-box--email { max-width: 1200px; }

@keyframes ybCampaignSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Header ── */
.yb-lead__campaign-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem 0.75rem;
}
.yb-lead__campaign-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}
.yb-lead__campaign-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6F6A66;
  cursor: pointer;
  padding: 0.35rem;
  line-height: 1;
  border-radius: 6px;
  transition: background 0.15s;
}
.yb-lead__campaign-close:hover { background: #F5F3F0; color: #0F0F0F; }

/* ── Tab Bar (Design System Section 16 — Underline) ── */
.yb-lead__campaign-tabs {
  display: flex;
  border-bottom: 2px solid #E8E4E0;
  padding: 0 2rem;
  gap: 0;
}
.yb-lead__campaign-tab {
  background: none;
  border: none;
  padding: 12px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #6F6A66;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  transition: color 0.15s;
  white-space: nowrap;
}
.yb-lead__campaign-tab:hover:not([disabled]) { color: #0F0F0F; }
.yb-lead__campaign-tab.is-active { color: #f75c03; }
.yb-lead__campaign-tab.is-active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f75c03;
  border-radius: 1px;
}
.yb-lead__campaign-tab.is-visited { color: #0F0F0F; }
.yb-lead__campaign-tab[disabled] { opacity: 0.35; cursor: not-allowed; }
.yb-lead__campaign-tab-count {
  font-size: 0.78rem;
  color: #f75c03;
  font-weight: 700;
}
.yb-lead__campaign-tab-count:empty { display: none; }

/* ── Body (scrollable) ── */
.yb-lead__campaign-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem 2rem;
  min-height: 320px;
}
.yb-lead__campaign-panel { display: none; color: #0F0F0F; background: transparent; }
.yb-lead__campaign-panel.is-active { display: block; }

/* ── Footer ── */
.yb-lead__campaign-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  border-top: 1px solid #E8E4E0;
  background: #F5F3F0;
}
.yb-lead__campaign-step-info {
  font-size: 0.8rem;
  color: #6F6A66;
  font-weight: 600;
}
.yb-lead__campaign-footer-right {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

/* ── Filter Panel (Recipients Tab) ── */
.yb-lead__campaign-recipients {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.yb-lead__campaign-filters { min-width: 0; }
.yb-lead__campaign-filter-section {
  margin-bottom: 1rem;
}
.yb-lead__campaign-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
  display: block;
}

/* ── Filter Chips ── */
.yb-lead__campaign-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.yb-lead__campaign-chip {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 20px;
  padding: 0.3rem 0.7rem;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  color: #0F0F0F;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.yb-lead__campaign-chip:hover { border-color: #f75c03; background: #fff; }
.yb-lead__campaign-chip.is-active {
  background: #f75c03;
  color: #fff;
  border-color: #f75c03;
}
.yb-lead__campaign-chip--country {
  font-size: 0.82rem;
  padding: 0.25rem 0.55rem;
}
.yb-lead__campaign-chip--country.is-active {
  background: #1a73e8;
  border-color: #1a73e8;
}

/* ── Sub-options (expandable) ── */
.yb-lead__campaign-suboptions {
  display: none;
  padding-left: 1.25rem;
  margin-top: 0.3rem;
}
.yb-lead__campaign-suboptions.is-open { display: flex; flex-wrap: wrap; gap: 0.3rem; }

/* ── Exclude toggles ── */
.yb-lead__campaign-exclude-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.yb-lead__campaign-exclude-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #6F6A66;
  cursor: pointer;
}
.yb-lead__campaign-exclude-item input[type="checkbox"] {
  accent-color: #f75c03;
}

/* ── Recipient Preview List ── */
.yb-lead__campaign-recipient-list-wrap {
  min-width: 0;
}
.yb-lead__campaign-loading-banner {
  background: #fff8f0;
  border: 1px solid #f75c03;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #f75c03;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.yb-lead__campaign-loading-banner::before {
  content: "⟳";
  animation: yb-spin 1s linear infinite;
  display: inline-block;
}
@keyframes yb-spin { to { transform: rotate(360deg); } }
.yb-lead__campaign-recipient-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #E8E4E0;
  flex-wrap: wrap;
}
.yb-lead__campaign-recipient-count {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f75c03;
  line-height: 1;
}
.yb-lead__campaign-recipient-label {
  font-size: 0.85rem;
  color: #6F6A66;
}
.yb-lead__campaign-recipient-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
  gap: 0.5rem;
}
/* ── Recipient list cards ── */
.yb-lead__campaign-recipient-list {
  max-height: calc(80vh - 280px);
  overflow-y: auto;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  background: #fff;
}
.yb-lead__campaign-rl-pool-note {
  color: #6F6A66;
  font-size: 0.82em;
}
.yb-lead__campaign-rl-pinned-note {
  color: #f75c03;
  font-size: 0.82em;
}
.yb-lead__campaign-rl-tbtn {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: #f75c03;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-weight: 600;
}
.yb-lead__campaign-rl-tbtn:hover { text-decoration: underline; }
.yb-lead__campaign-rl-selected {
  font-size: 0.78rem;
  color: #0F0F0F;
  font-weight: 700;
}

/* Recipient row — full label, entire card is clickable */
.yb-lead__campaign-recipient-row {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #F0EDE8;
  cursor: pointer;
  transition: background 0.12s;
  -webkit-user-select: none;
  user-select: none;
}
.yb-lead__campaign-recipient-row:last-child { border-bottom: none; }
.yb-lead__campaign-recipient-row:hover { background: #FDFCFB; }
.yb-lead__campaign-recipient-row.is-selected { background: #FFF8F4; }
.yb-lead__campaign-recipient-row.is-selected:hover { background: #FFF3ED; }

/* Checkbox */
.yb-lead__campaign-recipient-check {
  flex-shrink: 0;
  margin-top: 0.3rem;
  accent-color: #f75c03;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

/* Avatar circle — first initial */
.yb-lead__campaign-ri-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #F0EDE8;
  color: #6F6A66;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  margin-top: 0.05rem;
}
.yb-lead__campaign-recipient-row.is-selected .yb-lead__campaign-ri-avatar {
  background: #ffe8d9;
  color: #f75c03;
}

/* Body: two-line stack */
.yb-lead__campaign-ri-body { flex: 1; min-width: 0; }

/* Top line: name + status badge */
.yb-lead__campaign-ri-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.2rem;
}
.yb-lead__campaign-ri-name {
  font-weight: 600;
  font-size: 0.855rem;
  color: #0F0F0F;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.yb-lead__campaign-ri-status {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.14rem 0.42rem;
  border-radius: 20px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

/* Bottom line: flag · contact · prog */
.yb-lead__campaign-ri-sub {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  overflow: hidden;
}
.yb-lead__campaign-ri-flag { font-size: 0.85rem; flex-shrink: 0; line-height: 1; }
.yb-lead__campaign-ri-contact {
  font-size: 0.775rem;
  color: #6F6A66;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.yb-lead__campaign-ri-dot { color: #C8C4C0; font-size: 0.7rem; flex-shrink: 0; }
.yb-lead__campaign-ri-prog {
  font-size: 0.68rem;
  background: #F0EDE8;
  color: #6F6A66;
  padding: 0.1rem 0.38rem;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
  flex-shrink: 0;
}
.yb-lead__campaign-ri-src {
  font-size: 0.6rem;
  font-weight: 700;
  background: #cce5ff;
  color: #004085;
  padding: 0.1rem 0.32rem;
  border-radius: 3px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.yb-lead__campaign-no-match {
  text-align: center;
  padding: 2rem 1rem;
  color: #6F6A66;
  font-size: 0.85rem;
}

/* ── Per-lead campaign history badges ── */
.yb-lead__campaign-ri-hist {
  font-size: 0.6rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 600;
  cursor: default;
}
.yb-lead__campaign-ri-hist--email {
  background: #FFF3CD;
  color: #856404;
}
.yb-lead__campaign-ri-hist--sms {
  background: #D1ECF1;
  color: #0C5460;
}

/* ── Campaign history panel (recent campaigns collapsible) ── */
.yb-lead__campaign-history {
  margin-bottom: 0.75rem;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.8rem;
}
.yb-lead__campaign-history-toggle {
  padding: 0.5rem 0.75rem;
  background: #F5F3F0;
  cursor: pointer;
  font-weight: 600;
  color: #0F0F0F;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}
.yb-lead__campaign-history-toggle::-webkit-details-marker { display: none; }
.yb-lead__campaign-history-toggle::before { content: '▶'; font-size: 0.6rem; transition: transform 0.2s; }
details[open] .yb-lead__campaign-history-toggle::before { transform: rotate(90deg); }
.yb-lead__campaign-history-list {
  padding: 0.25rem 0;
}
.yb-lead__campaign-history-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-bottom: 1px solid #F0EDE8;
}
.yb-lead__campaign-history-row:last-child { border-bottom: none; }
.yb-lead__campaign-history-icon { flex-shrink: 0; }
.yb-lead__campaign-history-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #0F0F0F;
}
.yb-lead__campaign-history-meta {
  flex-shrink: 0;
  color: #6F6A66;
  font-size: 0.72rem;
}

/* ── Multi-select chip filter area (status + type chips below filter bar) ── */
.yb-lead__chip-filter-area {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0 0.15rem;
}
.yb-lead__filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  align-items: center;
}
.yb-lead__filter-chips-row .yb-lead__campaign-chip {
  font-size: 0.74rem;
  padding: 0.18rem 0.5rem;
}

/* ── Sub-type filter row (shown when type is selected) ── */
.yb-lead__subtype-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.4rem 0;
  border-top: 1px solid #F0EDE8;
}
.yb-lead__subtype-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6F6A66;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.yb-lead__subtype-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }

/* ── SMS Compose ── */
.yb-lead__campaign-sms-compose {
  max-width: 500px;
  margin: 0 auto;
}
.yb-lead__campaign-template-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}
.yb-lead__campaign-var-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.yb-lead__campaign-var-bar-label {
  font-size: 0.78rem;
  color: #6F6A66;
  font-weight: 600;
}
.yb-lead__campaign-var-btn {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 6px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: monospace;
  transition: all 0.15s;
}
.yb-lead__campaign-var-btn:hover { border-color: #f75c03; background: #fff; }
.yb-lead__campaign-sms-textarea {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.15s;
  box-sizing: border-box;
}
.yb-lead__campaign-sms-textarea:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-sms-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6F6A66;
  margin-top: 0.3rem;
}
.yb-lead__campaign-sms-segments { color: #E65100; font-weight: 600; }
.yb-lead__campaign-sms-tip {
  font-size: 0.78rem;
  color: #6F6A66;
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-top: 0.75rem;
}

/* SMS preview bubble */
.yb-lead__campaign-sms-preview {
  margin-top: 1.25rem;
}
.yb-lead__campaign-sms-preview-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #6F6A66;
  margin-bottom: 0.4rem;
}
.yb-lead__campaign-sms-bubble {
  background: #DCF8C6;
  border-radius: 14px 14px 4px 14px;
  padding: 0.65rem 0.85rem;
  font-size: 0.85rem;
  max-width: 320px;
  margin-left: auto;
  line-height: 1.5;
  word-break: break-word;
  white-space: pre-wrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

/* ── Email Compose ── */
.yb-lead__campaign-email-compose {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.25rem;
  min-height: 400px;
  color: #0F0F0F;
  background: transparent;
}
.yb-lead__campaign-email-sidebar {
  border-right: 1px solid #E8E4E0;
  padding-right: 1.25rem;
}
.yb-lead__campaign-email-sidebar-title {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.yb-lead__campaign-email-mode-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-email-mode-btn {
  flex: 1;
  background: #fff;
  border: none;
  padding: 0.35rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: #6F6A66;
  transition: all 0.15s;
}
.yb-lead__campaign-email-mode-btn.is-active {
  background: #f75c03;
  color: #fff;
}
.yb-lead__campaign-email-search {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  font-family: inherit;
  margin-bottom: 0.5rem;
  box-sizing: border-box;
}
.yb-lead__campaign-email-search:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-email-template-list {
  max-height: 320px;
  overflow-y: auto;
}
.yb-lead__campaign-email-template-item {
  padding: 0.5rem;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  margin-bottom: 0.4rem;
  cursor: pointer;
  transition: all 0.15s;
  font-size: 0.8rem;
}
.yb-lead__campaign-email-template-item:hover { border-color: #f75c03; background: #FFFCF9; }
.yb-lead__campaign-email-template-item.is-selected {
  border-color: #f75c03;
  background: #FFF3E0;
}
.yb-lead__campaign-email-template-name {
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 0.15rem;
}
.yb-lead__campaign-email-template-subj {
  font-size: 0.75rem;
  color: #6F6A66;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Email compose main area */
.yb-lead__campaign-email-main { min-width: 0; }
.yb-lead__campaign-email-field {
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-email-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: #6F6A66;
  margin-bottom: 0.25rem;
}
.yb-lead__campaign-email-input {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.55rem 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  box-sizing: border-box;
  transition: border-color 0.15s;
}
.yb-lead__campaign-email-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-email-input-hint {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 0.15rem;
}
.yb-lead__campaign-email-editor-wrap {
  position: relative;
}
.yb-lead__campaign-email-editor-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.yb-lead__campaign-email-html-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #E8E4E0;
  border-radius: 6px;
  overflow: hidden;
}
.yb-lead__campaign-email-html-toggle button {
  background: #fff;
  border: none;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  color: #6F6A66;
  transition: all 0.15s;
}
.yb-lead__campaign-email-html-toggle button.is-active {
  background: #0F0F0F;
  color: #fff;
}
.yb-lead__campaign-email-editor {
  width: 100%;
  min-height: 220px;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  line-height: 1.6;
  box-sizing: border-box;
  overflow-y: auto;
  /* Isolate pasted email HTML so its styles don't leak into the wizard */
  color: #1a1a1a;
  background-color: #fff;
}
.yb-lead__campaign-email-editor:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-email-editor[contenteditable] {
  min-height: 220px;
}
/* Force all children of the email editor to not leak styles upward */
.yb-lead__campaign-email-editor * {
  max-width: 100%;
}
/* Wrapper around the email editor to contain any absolute/fixed positioned email content */
.yb-lead__campaign-editor-contain {
  contain: style layout;
  overflow: hidden;
  border-radius: 10px;
}
.yb-lead__campaign-email-html-textarea {
  width: 100%;
  min-height: 220px;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.82rem;
  font-family: 'SF Mono', Consolas, monospace;
  line-height: 1.5;
  box-sizing: border-box;
  resize: vertical;
}
.yb-lead__campaign-email-html-textarea:focus { border-color: #f75c03; outline: none; }

/* Attachment area */
.yb-lead__campaign-attachment {
  margin-top: 0.75rem;
}
.yb-lead__campaign-attachment-drop {
  border: 2px dashed #E8E4E0;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  color: #6F6A66;
  font-size: 0.82rem;
}
.yb-lead__campaign-attachment-drop:hover,
.yb-lead__campaign-attachment-drop.is-dragover {
  border-color: #f75c03;
  background: #FFF3E0;
}
.yb-lead__campaign-attachment-max {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 0.3rem;
  text-align: center;
}
.yb-lead__campaign-attachment-file {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #F5F3F0;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}
.yb-lead__campaign-attachment-file button {
  background: none;
  border: none;
  color: #d94f02;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  margin-left: auto;
}

/* Archive bar */
.yb-lead__campaign-archive-bar {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.yb-lead__campaign-archive-btn {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.yb-lead__campaign-archive-btn:hover { border-color: #f75c03; }

/* Newsletter save form (inline) */
.yb-lead__campaign-newsletter-save-form {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.yb-lead__campaign-newsletter-name-input {
  flex: 1;
  padding: 0.35rem 0.6rem;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 0.78rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.yb-lead__campaign-newsletter-name-input:focus { border-color: #f75c03; }
.yb-lead__campaign-newsletter-save-btn { white-space: nowrap; }
.yb-lead__campaign-newsletter-cancel-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #6F6A66;
  padding: 0 0.3rem;
  line-height: 1;
}
.yb-lead__campaign-newsletter-cancel-btn:hover { color: #0F0F0F; }

/* Newsletter picker panel */
.yb-lead__campaign-newsletter-picker {
  margin-top: 0.5rem;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  background: #FFFCF9;
  overflow: hidden;
}
.yb-lead__campaign-newsletter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #E8E4E0;
  background: #F5F3F0;
}
.yb-lead__campaign-newsletter-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0F0F0F;
}
.yb-lead__campaign-newsletter-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: #6F6A66;
  line-height: 1;
  padding: 0 0.2rem;
}
.yb-lead__campaign-newsletter-close:hover { color: #0F0F0F; }
.yb-lead__campaign-newsletter-search {
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: none;
  border-bottom: 1px solid #E8E4E0;
  font-size: 0.78rem;
  font-family: inherit;
  outline: none;
  background: #FFFCF9;
  box-sizing: border-box;
}
.yb-lead__campaign-newsletter-search:focus { background: #fff; }
.yb-lead__campaign-newsletter-list {
  max-height: 260px;
  overflow-y: auto;
}
.yb-lead__campaign-newsletter-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #E8E4E0;
  transition: background 0.1s;
}
.yb-lead__campaign-newsletter-item:last-child { border-bottom: none; }
.yb-lead__campaign-newsletter-item:hover { background: #F5F3F0; }
.yb-lead__campaign-newsletter-item-main {
  flex: 1;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  min-width: 0;
}
.yb-lead__campaign-newsletter-item-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: #0F0F0F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.yb-lead__campaign-newsletter-item-meta {
  display: flex;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: #6F6A66;
  margin-top: 0.15rem;
}
.yb-lead__campaign-newsletter-item-subject {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.yb-lead__campaign-newsletter-item-date { white-space: nowrap; }
.yb-lead__campaign-newsletter-item-uses {
  white-space: nowrap;
  color: #f75c03;
  font-weight: 600;
}
.yb-lead__campaign-newsletter-item-delete {
  background: none;
  border: none;
  color: #6F6A66;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem 0.6rem;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}
.yb-lead__campaign-newsletter-item-delete:hover { color: #e53e3e; }
.yb-lead__campaign-newsletter-empty,
.yb-lead__campaign-newsletter-loading {
  padding: 1.2rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  color: #6F6A66;
}

/* ── Email Preview ── */
.yb-lead__campaign-email-preview-wrap {
  text-align: center;
}
.yb-lead__campaign-preview-device-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.yb-lead__campaign-preview-device-btn {
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__campaign-preview-device-btn.is-active {
  background: #0F0F0F;
  color: #fff;
  border-color: #0F0F0F;
}
.yb-lead__campaign-preview-frame {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
  transition: width 0.3s ease;
}
.yb-lead__campaign-preview-frame--desktop { width: 600px; max-width: 100%; }
.yb-lead__campaign-preview-frame--mobile { width: 320px; max-width: 100%; }
.yb-lead__campaign-preview-inbox-bar {
  background: #F5F3F0;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #E8E4E0;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  color: #6F6A66;
}
.yb-lead__campaign-preview-subject {
  padding: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid #F5F3F0;
}
.yb-lead__campaign-preview-body {
  padding: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.6;
}
.yb-lead__campaign-preview-sample {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #6F6A66;
}
.yb-lead__campaign-preview-sample select {
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
  font-size: 0.8rem;
  font-family: inherit;
}
.yb-lead__campaign-test-send {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1.25rem;
}
.yb-lead__campaign-test-input {
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  font-family: inherit;
  width: 240px;
}
.yb-lead__campaign-test-input:focus { border-color: #f75c03; outline: none; }
.yb-lead__campaign-test-btn {
  background: #F5F3F0;
  color: #0F0F0F;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__campaign-test-btn:hover { border-color: #f75c03; color: #d94f02; }

/* ── Send Tab ── */
.yb-lead__campaign-send-wrap {
  max-width: 520px;
  margin: 0 auto;
  padding-top: 0.5rem;
  color: #0F0F0F;
}
.yb-lead__campaign-summary-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.yb-lead__campaign-summary-card {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 0.85rem;
  text-align: center;
}
.yb-lead__campaign-summary-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f75c03;
  line-height: 1;
}
.yb-lead__campaign-summary-label {
  font-size: 0.78rem;
  color: #6F6A66;
  margin-top: 0.2rem;
}

/* ── Delivery provider selector ── */
.yb-lead__campaign-sender-select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
  margin-top: 0.4rem;
  cursor: pointer;
}
.yb-lead__campaign-sender-select:focus {
  outline: none;
  border-color: #f75c03;
}
.yb-lead__campaign-provider-section { margin-bottom: 1.5rem; }
.yb-lead__campaign-provider-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.yb-lead__campaign-provider-card {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.12s, background 0.12s;
  background: #FFFCF9;
  -webkit-user-select: none;
  user-select: none;
}
.yb-lead__campaign-provider-card:hover { border-color: #f75c03; background: #fff8f5; }
.yb-lead__campaign-provider-card.is-selected { border-color: #f75c03; background: #fff4ed; }
.yb-lead__campaign-provider-card input[type="radio"] { display: none; }
.yb-lead__campaign-provider-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 0.05rem; line-height: 1; }
.yb-lead__campaign-provider-body { flex: 1; min-width: 0; }
.yb-lead__campaign-provider-name {
  font-weight: 700;
  font-size: 0.87rem;
  color: #0F0F0F;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.yb-lead__campaign-provider-badge {
  font-size: 0.62rem;
  font-weight: 700;
  background: #f75c03;
  color: #fff;
  padding: 0.1rem 0.4rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.yb-lead__campaign-provider-auto-note { font-size: 0.68rem; color: #f75c03; font-weight: 600; }
.yb-lead__campaign-provider-desc { font-size: 0.76rem; color: #6F6A66; margin-top: 0.15rem; line-height: 1.4; }

/* Schedule options */
.yb-lead__campaign-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.yb-lead__campaign-schedule-option {
  background: #fff;
  color: #0F0F0F;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.6rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  font-weight: 600;
  transition: all 0.15s;
}
.yb-lead__campaign-schedule-option:hover { border-color: #f75c03; color: #d94f02; }
.yb-lead__campaign-schedule-option.is-selected {
  border-color: #f75c03;
  background: #FFF3E0;
  color: #d94f02;
}
.yb-lead__campaign-schedule-custom {
  margin-top: 0.5rem;
}
.yb-lead__campaign-schedule-custom input[type="datetime-local"] {
  width: 100%;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  font-size: 0.82rem;
  font-family: inherit;
  box-sizing: border-box;
}

/* Warning */
.yb-lead__campaign-warning {
  background: #FFF3E0;
  border: 1px solid #FFB74D;
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  color: #E65100;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* SMS cost */
.yb-lead__campaign-sms-cost {
  font-size: 0.82rem;
  color: #6F6A66;
  text-align: center;
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-sms-cost strong {
  color: #0F0F0F;
  font-size: 1rem;
}

/* Send button */
.yb-lead__campaign-send-all {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.yb-lead__campaign-send-all--go {
  background: #4CAF50;
  color: #fff;
}
.yb-lead__campaign-send-all--go:hover { background: #388E3C; }
.yb-lead__campaign-send-all:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Progress bar */
.yb-lead__campaign-progress {
  margin-top: 1rem;
  display: none;
}
.yb-lead__campaign-progress.is-active { display: block; }
.yb-lead__campaign-progress-bar {
  height: 8px;
  background: #E8E4E0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.4rem;
}
.yb-lead__campaign-progress-fill {
  height: 100%;
  background: #f75c03;
  border-radius: 4px;
  width: 0%;
  transition: width 0.3s ease;
}
.yb-lead__campaign-progress-text {
  font-size: 0.78rem;
  color: #6F6A66;
  text-align: center;
}

/* Results */
.yb-lead__campaign-results {
  display: none;
  margin-top: 1rem;
}
.yb-lead__campaign-results.is-active { display: block; }
.yb-lead__campaign-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.yb-lead__campaign-result-card {
  text-align: center;
  padding: 0.6rem 0.4rem;
  border-radius: 8px;
  background: #F5F3F0;
}
.yb-lead__campaign-result-value {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
}
.yb-lead__campaign-result-value--sent { color: #4CAF50; }
.yb-lead__campaign-result-value--failed { color: #F44336; }
.yb-lead__campaign-result-value--skipped { color: #FF9800; }
.yb-lead__campaign-result-value--scheduled { color: #1a73e8; }
.yb-lead__campaign-result-label {
  font-size: 0.72rem;
  color: #6F6A66;
  margin-top: 0.15rem;
}
.yb-lead__campaign-errors-toggle {
  background: none;
  border: none;
  font-size: 0.78rem;
  color: #F44336;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
}
.yb-lead__campaign-errors-list {
  display: none;
  background: #FFF5F5;
  border: 1px solid #FFCDD2;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  font-size: 0.78rem;
  color: #C62828;
  max-height: 120px;
  overflow-y: auto;
  margin-top: 0.5rem;
}
.yb-lead__campaign-errors-list.is-open { display: block; }

/* ── Campaign Responsive ── */
@media (max-width: 800px) {
  .yb-lead__campaign-box { width: 98vw; max-height: 96vh; border-radius: 10px; }
  .yb-lead__campaign-recipients { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-compose { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-sidebar {
    border-right: none;
    border-bottom: 1px solid #E8E4E0;
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
  .yb-lead__campaign-results-grid { grid-template-columns: 1fr 1fr; }
  .yb-lead__campaign-schedule-grid { grid-template-columns: 1fr; }
  .yb-lead__campaign-summary-cards { grid-template-columns: 1fr; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .yb-lead__filter-bar { flex-direction: column; }
  .yb-lead__search-form { width: 100%; }
  .yb-lead__cell-program,
  .yb-lead__cell-source,
  .yb-lead__th-program,
  .yb-lead__th-source { display: none; }
  .yb-lead__detail-grid { grid-template-columns: 1fr; }
  .yb-lead__detail-status-bar { grid-template-columns: 1fr 1fr; }
  .yb-lead__detail-label { min-width: 80px; }
  .yb-lead__status-grid { grid-template-columns: 1fr 1fr; }
  .yb-lead__bulk-bar { flex-wrap: wrap; }
  .yb-lead__stats-grid { grid-template-columns: repeat(3, 1fr); }
  .yb-lead__sms-bubble--outbound,
  .yb-lead__sms-bubble--inbound { max-width: 90%; }
  .yb-lead__detail-cards { grid-template-columns: 1fr; }
  .yb-lead__section-card--full { grid-column: auto; }
  .yb-lead__card-label { min-width: 80px; }
}

/* ═══════════════════════════════════════
   LEAD MANAGER — ENHANCED VIEWS
   Expandable rows, Kanban board, View toggle
   ═══════════════════════════════════════ */

/* ── View Toggle ── */
.yb-lead__view-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.yb-lead__view-btn {
  background: #FFFCF9;
  border: none;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6F6A66;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.yb-lead__view-btn:hover { background: rgba(247,92,3,0.06); color: #0F0F0F; }
.yb-lead__view-btn.is-active { background: #f75c03; color: #fff; }
.yb-lead__view-btn + .yb-lead__view-btn { border-left: 1px solid #E8E4E0; }

/* ── Chevron Column (Expandable Rows) ── */
.yb-lead__th-chevron { width: 28px; padding: 0 4px !important; }
.yb-lead__cell-chevron { width: 28px; text-align: center; padding: 0 4px !important; }
.yb-lead__chevron-btn {
  background: none; border: none; cursor: pointer;
  width: 24px; height: 24px; display: inline-flex;
  align-items: center; justify-content: center;
  border-radius: 50%;
  color: #6F6A66;
  transition: background 0.15s, color 0.15s;
  font-family: inherit;
}
.yb-lead__chevron-btn:hover { background: rgba(247,92,3,0.08); color: #f75c03; }
.yb-lead__chevron-btn.is-open { color: #f75c03; }
.yb-lead__chevron-icon::before {
  content: '\25B6';
  font-size: 0.6rem;
  display: block;
  transition: transform 0.2s ease;
}
.yb-lead__chevron-btn.is-open .yb-lead__chevron-icon::before {
  transform: rotate(90deg);
}

/* ── Expanded Inline Panel ── */
.yb-lead__expanded-row { background: #FAFAF8 !important; cursor: default !important; }
.yb-lead__expanded-row:hover { background: #FAFAF8 !important; }
.yb-lead__expanded-cell { padding: 0 0.5rem 0.5rem !important; border-top: none !important; }
.yb-lead__expanded-panel {
  margin: 0 0.25rem;
  padding: 0.75rem 1rem;
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 0 0 10px 10px;
  border-top: 2px solid #f75c03;
  animation: yb-expand-in 0.15s ease;
}
@keyframes yb-expand-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.yb-lead__exp-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(232,228,224,0.6);
}
.yb-lead__exp-row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.yb-lead__exp-stat { display: flex; flex-direction: column; gap: 2px; min-width: 80px; }
.yb-lead__exp-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6F6A66;
}
.yb-lead__exp-value { font-size: 0.85rem; font-weight: 600; color: #0F0F0F; }
.yb-lead__exp-notes { margin-bottom: 0.5rem; }
.yb-lead__exp-note {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  font-size: 0.8rem;
  color: #0F0F0F;
  margin-bottom: 0.2rem;
}
.yb-lead__exp-note-icon { flex-shrink: 0; }
.yb-lead__exp-note-time {
  font-size: 0.68rem;
  color: #6F6A66;
  white-space: nowrap;
  flex-shrink: 0;
}
.yb-lead__exp-note-text {
  color: #0F0F0F;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.yb-lead__exp-message {
  font-size: 0.8rem;
  color: #6F6A66;
  font-style: italic;
  border-left: 2px solid #f75c03;
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.yb-lead__exp-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(232,228,224,0.6);
}

/* ── Enhanced Table Columns ── */
.yb-lead__th-lastcontact { width: 80px; font-size: 0.72rem; }
.yb-lead__th-temp { width: 32px; text-align: center; }
.yb-lead__th-notes { width: 36px; text-align: center; }
.yb-lead__th-app { width: 36px; text-align: center; }
.yb-lead__cell-lastcontact { font-size: 0.78rem; white-space: nowrap; }
.yb-lead__cell-temp { text-align: center; }
.yb-lead__cell-notes { text-align: center; }
.yb-lead__cell-app { text-align: center; }
.yb-lead__notes-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  background: rgba(247,92,3,0.12);
  color: #f75c03;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0 5px;
}
.yb-lead__app-badge--inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d4edda;
  color: #155724;
  font-size: 0.7rem;
  font-weight: 700;
}

/* ── Kanban Board ── */
.yb-lead__kanban { overflow-x: auto; padding-bottom: 1rem; }
.yb-lead__kanban-board {
  display: flex;
  gap: 0.75rem;
  min-height: 500px;
  align-items: flex-start;
  padding: 0.5rem 0.25rem 1rem;
}
.yb-lead__kanban-col {
  flex: 0 0 220px;
  min-width: 220px;
  background: #F5F3F0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.yb-lead__kanban-col-header {
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFFCF9;
  border-bottom: 1px solid #E8E4E0;
}
.yb-lead__kanban-col-icon { font-size: 0.85rem; }
.yb-lead__kanban-col-name {
  font-size: 0.78rem;
  font-weight: 700;
  flex: 1;
  color: #0F0F0F;
}
.yb-lead__kanban-col-count {
  background: rgba(0,0,0,0.07);
  border-radius: 99px;
  padding: 1px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #6F6A66;
}
.yb-lead__kanban-cards {
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 60px;
  flex: 1;
  transition: background 0.15s;
}
.yb-lead__kanban-cards.is-drag-over {
  background: rgba(247,92,3,0.06);
  outline: 2px dashed #f75c03;
  outline-offset: -2px;
  border-radius: 8px;
}
.yb-lead__kanban-card {
  background: #FFFCF9;
  border: 1px solid #E8E4E0;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  cursor: grab;
  transition: box-shadow 0.15s, transform 0.15s, opacity 0.15s;
}
.yb-lead__kanban-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.yb-lead__kanban-card.is-dragging {
  opacity: 0.4;
  transform: rotate(2deg);
  cursor: grabbing;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.yb-lead__kanban-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  gap: 0.25rem;
}
.yb-lead__kanban-card-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F0F0F;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}
.yb-lead__kanban-card-meta {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}
.yb-lead__kanban-followup {
  font-size: 0.7rem;
  color: #4CAF50;
  font-weight: 600;
}
.yb-lead__kanban-followup--overdue { color: #EF5350; }
.yb-lead__kanban-followup--today { color: #FF9800; }
.yb-lead__kanban-source {
  font-size: 0.68rem;
  color: #6F6A66;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.15rem;
}

/* ── Enhanced Views — Responsive ── */
@media (max-width: 768px) {
  .yb-lead__th-lastcontact,
  .yb-lead__cell-lastcontact,
  .yb-lead__th-notes,
  .yb-lead__cell-notes,
  .yb-lead__th-app,
  .yb-lead__cell-app,
  .yb-lead__th-temp,
  .yb-lead__cell-temp { display: none; }
  .yb-lead__kanban-col { flex: 0 0 180px; min-width: 180px; }
  .yb-lead__exp-row { gap: 0.75rem; }
  .yb-lead__view-toggle { width: 100%; }
  .yb-lead__view-btn { flex: 1; justify-content: center; }
}

/* ── Archived leads toggle ── */
#yb-lead-archive-toggle.is-active {
  background: #795548;
  color: #fff;
  border-color: #795548;
}


/* -----------------------------------------------------------------
   YOGA MUSIC PAGE — ym- prefix
   Redesigned to match course.njk / concepts.njk premium patterns
   ----------------------------------------------------------------- */

/* ── Shared Eyebrow ── */
.ym-eyebrow {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 18px;
  display: block;
}
.ym-eyebrow--center { text-align: center; }
.ym-eyebrow--on-dark { color: var(--yb-brand); }

/* ── Shared Section Title ── */
.ym-section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: #1C1C1C;
  margin: 0 0 16px;
  text-align: center;
}

.ym-section-title--light { color: #fff; }
.ym-section-sub {
  color: #6F6A66;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto;
  text-align: center;
}
.ym-section-sub--light { color: rgba(255,255,255,0.6); }


/* ── Intro (centered prose, like yb-k-intro) ── */
.ym-intro {
  padding: clamp(80px, 8vw, 120px) 20px;
  background: #fff;
}
.ym-intro__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ym-intro__text {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
  color: #333;
  text-align: center;
  margin: 0 0 24px;
}
.ym-intro__text--secondary {
  color: #666;
  font-size: clamp(15px, 1.8vw, 18px);
}


/* ── Quote — animated line-by-line reveal + video (mirroring ybc-quote) ── */
.ym-quote {
  padding-block: clamp(48px, 6vw, 96px);
  background:
    radial-gradient(80% 60% at 20% 10%, rgba(247,92,3,.06), transparent 60%),
    #fff;
  overflow-x: hidden;
}
.ym-quote__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-inline: clamp(18px, 4vw, 28px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
}
@media (min-width: 920px) {
  .ym-quote__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
  }
  .ym-quote__media { grid-column: 1; grid-row: 1; }
  .ym-quote__copy { grid-column: 2; grid-row: 1; }
}
.ym-quote__media {
  margin: 0;
  width: 100%;
  max-width: clamp(320px, 36vw, 520px);
  margin-inline: auto;
}
.ym-quote__clip {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 10px 34px rgba(0,0,0,.16);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}
.ym-quote__clip video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}
.ym-quote__frame {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(247,92,3,0.25);
  border-radius: 16px;
  pointer-events: none;
}
.ym-quote__heading {
  margin: 0;
  letter-spacing: -0.01em;
  font-size: clamp(28px, 6vw, 60px);
  line-height: 1.08;
  text-wrap: balance;
}
.ym-quote__line {
  display: block;
  opacity: 0;
  transform: translateY(10px);
  filter: blur(1.5px);
  font-weight: 650;
  transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1), filter 1.2s ease;
}
.ym-quote__line.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: none;
}
.ym-quote__accent {
  color: var(--yb-brand);
  font-weight: 900;
}
.ym-quote__soft {
  color: #6F6A66;
  font-weight: 550;
}
.ym-quote__divider {
  display: block;
  width: clamp(52px, 8vw, 112px);
  height: 2px;
  background: linear-gradient(90deg, var(--yb-brand), rgba(247,92,3,.22));
  margin: clamp(10px, 1.5vw, 16px) 0 clamp(14px, 2vw, 22px);
  opacity: .9;
}
@media (max-width: 919px) {
  .ym-quote__copy { text-align: center; }
  .ym-quote__divider { margin-left: auto; margin-right: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ym-quote__line { transition: none !important; transform: none !important; opacity: 1 !important; filter: none !important; }
}


/* ── Concept — split layout: text + phone video ── */
.ym-concept {
  background: #FFFCF9;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
}
.ym-concept__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.ym-concept__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}
.ym-concept__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 24px;
}
.ym-concept__text {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.75;
  margin: 0 0 16px;
}
.ym-concept__text strong { color: #1C1C1C; font-weight: 700; }
.ym-concept__ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.ym-concept__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Phone mock video */
.ym-phone {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #e8e2dc 0%, #d8d0c6 50%, #c8beb2 100%);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.08);
}
.ym-phone video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 920px) {
  .ym-concept__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ym-concept__content { order: 2; text-align: center; }
  .ym-concept__visual { order: 1; }
  .ym-phone { max-width: 300px; }
  .ym-concept__ctas { justify-content: center; }
}
@media (max-width: 599px) {
  .ym-phone { max-width: 260px; }
  .ym-concept__ctas { flex-direction: column; }
  .ym-concept__ctas .yb-btn { justify-content: center; width: 100%; }
}


/* ── Energy Arc ── */
.ym-arc {
  background: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-arc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-arc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-arc__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-arc__box {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px);
}
.ym-arc__box-intro {
  text-align: center;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.ym-arc__box-intro h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 12px;
}
.ym-arc__box-intro p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.65;
  margin: 0;
}

/* SVG Curve */
.ym-arc__curve { margin-bottom: 32px; }
.ym-arc__peak-label {
  text-align: center;
  margin-bottom: 8px;
}
.ym-arc__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-arc__svg-wrap { width: 100%; }
.ym-arc__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-arc__labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-arc__label {
  font-size: 0.7rem;
  color: #6F6A66;
  font-weight: 600;
  text-align: center;
}
.ym-arc__label small {
  display: block;
  font-size: 0.6rem;
  opacity: 0.7;
  margin-top: 2px;
}

/* Phase Cards */
.ym-arc__phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.ym-arc__phase {
  background: #fff;
  border: 1px solid #EBE7E3;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-arc__phase:hover {
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.ym-arc__phase-time {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yb-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ym-arc__phase-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 8px;
}
.ym-arc__phase-bpm {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 6px;
}
.ym-arc__phase-bpm small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6F6A66;
}
.ym-arc__phase p {
  font-size: 0.85rem;
  color: #6F6A66;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 920px) {
  .ym-arc__phases { grid-template-columns: 1fr; gap: 12px; }
}


/* ── Design Principles — 4 feature cards ── */
.ym-prin {
  background: #F5F3F0;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
}
.ym-prin__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-prin__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-prin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.ym-prin__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-prin__card:hover {
  border-color: rgba(247,92,3,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-prin__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(247,92,3,0.1), rgba(247,92,3,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ym-prin__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 10px;
}
.ym-prin__card p {
  font-size: 0.92rem;
  color: #6F6A66;
  line-height: 1.6;
  margin: 0;
}


/* ── Listen Now — SoundCloud embed (dark section) ── */
.ym-listen {
  background: #1C1C1C;
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-listen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yb-brand), transparent);
}
.ym-listen__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ym-listen__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-listen__embed {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  padding: 4px;
}
.ym-listen__embed iframe {
  display: block;
  border-radius: 12px;
}


/* ── Testimonials — orange stroke cards (mirroring yb-k-reviews) ── */
.ym-test {
  padding: 100px 20px;
  background: #F5F3F0;
}
.ym-test__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-test__header {
  margin-bottom: clamp(40px, 5vw, 56px);
}
.ym-test__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ym-test__card {
  background: #FFFCF9;
  border: 1.5px solid var(--yb-brand);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-test__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-test__stars {
  color: var(--yb-brand);
  font-size: 18px;
  letter-spacing: 2px;
}
.ym-test__quote {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  flex: 1;
  font-style: italic;
  margin: 0;
  border: none;
  padding: 0;
}
.ym-test__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ym-test__footer strong {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ym-test__footer span {
  font-size: 12px;
  color: #999;
}
@media (max-width: 920px) {
  .ym-test__grid { grid-template-columns: 1fr; gap: 16px; }
  .ym-test__card { max-width: 480px; margin: 0 auto; width: 100%; }
}


/* ── For Artists & DJs — full dark technical section ── */
.ym-artists {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-artists__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-artists__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* Philosophy blockquote */
.ym-artists__quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--yb-brand);
  border-radius: 0 16px 16px 0;
  padding: clamp(24px, 4vw, 32px);
  margin-bottom: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.ym-artists__quote p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin: 0;
}
.ym-artists__quote strong { color: #fff; font-weight: 700; }

/* Arc container */
.ym-artists__arc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 48px;
}
.ym-artists__arc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yb-brand);
  margin: 0 0 24px;
  text-align: center;
}

/* Phase bars */
.ym-artists__bars {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.ym-artists__bar {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-artists__bar span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 4px;
}
.ym-artists__bar--warm { background: rgba(100,181,246,0.15); color: #64b5f6; }
.ym-artists__bar--peak { background: rgba(247,92,3,0.2); color: var(--yb-brand); }
.ym-artists__bar--cool { background: rgba(129,199,132,0.15); color: #81c784; }

/* Curve */
.ym-artists__curve { padding: 0 20px; }
.ym-artists__peak-label {
  text-align: center;
  margin-bottom: 4px;
}
.ym-artists__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ym-artists__svg-wrap { width: 100%; }
.ym-artists__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-artists__side-labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-artists__side-labels span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.ym-artists__side-labels small {
  display: block;
  font-size: 0.55rem;
  opacity: 0.7;
  margin-top: 2px;
}
.ym-artists__side-labels--right { text-align: right; }

/* Timeline */
.ym-artists__timeline {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ym-artists__timeline span {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}

/* 6-Segment Cards */
.ym-artists__segments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ym-artists__seg {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ym-artists__seg:hover {
  background: rgba(247,92,3,0.08);
  border-color: rgba(247,92,3,0.2);
}
.ym-artists__seg-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ym-artists__seg-bpm {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 4px;
}
.ym-artists__seg-bpm small {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.ym-artists__seg-desc {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.45);
}

/* Rules Grid */
.ym-artists__rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.ym-artists__rule {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ym-artists__rule:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-2px);
}
.ym-artists__rule-icon {
  width: 40px;
  height: 40px;
  background: rgba(247,92,3,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yb-brand);
  margin-bottom: 14px;
}
.ym-artists__rule h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ym-artists__rule ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ym-artists__rule li {
  padding: 6px 0 6px 18px;
  position: relative;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ym-artists__rule li:last-child { border-bottom: none; }
.ym-artists__rule li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--yb-brand);
  font-weight: 700;
}
.ym-artists__rule--avoid li::before { content: '\00D7'; }
.ym-artists__rule--prefer li::before { content: '\2713'; }

/* Tech Specs */
.ym-artists__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: rgba(0,0,0,0.3);
  border-radius: 14px;
  margin-bottom: 48px;
}
.ym-artists__spec { text-align: center; }
.ym-artists__spec-val {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}
.ym-artists__spec-val small { color: var(--yb-brand); }
.ym-artists__spec-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Collaboration CTA */
.ym-artists__collab {
  text-align: center;
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(247,92,3,0.12), rgba(247,92,3,0.04));
  border: 1px solid rgba(247,92,3,0.3);
  border-radius: 22px;
}
.ym-artists__collab h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.ym-artists__collab p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.ym-artists__collab-or {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45) !important;
}
.ym-artists__collab-or a {
  color: var(--yb-brand);
  text-decoration: none;
  font-weight: 700;
}

/* Artists responsive */
@media (max-width: 920px) {
  .ym-artists__segments { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .ym-artists__bars { flex-direction: column; gap: 6px; }
  .ym-artists__segments { grid-template-columns: repeat(2, 1fr); }
  .ym-artists__specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .ym-artists__segments { gap: 6px; }
  .ym-artists__seg { padding: 12px 6px; }
  .ym-artists__specs { gap: 16px; padding: 20px; }
  .ym-artists__side-labels { display: none; }
}


/* ── FAQ — button toggle accordion (mirroring ybc-faq-section) ── */
.ym-faq {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  background: #FFFCF9;
  position: relative;
}
.ym-faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-faq__inner {
  max-width: 780px;
  margin: 0 auto;
}
.ym-faq__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ym-faq__item {
  background: #F5F3F0;
  border-radius: 14px;
  overflow: hidden;
}
.ym-faq__toggle {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.4;
  font-family: inherit;
}
.ym-faq__toggle span:first-child { flex: 1 1 auto; }
.ym-faq__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--yb-brand);
  position: relative;
  transition: transform 0.3s ease;
}
.ym-faq__icon::before,
.ym-faq__icon::after {
  content: "";
  position: absolute;
  background: #fff;
  inset: 50%;
  transform: translate(-50%, -50%);
}
.ym-faq__icon::before { width: 14px; height: 2px; }
.ym-faq__icon::after { width: 2px; height: 14px; transition: opacity 0.2s ease; }
.ym-faq__toggle[aria-expanded="true"] .ym-faq__icon {
  transform: rotate(45deg);
}
.ym-faq__panel {
  padding: 0 24px 20px;
}
.ym-faq__panel p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.7;
  margin: 0;
}
.ym-faq__contact {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #6F6A66;
}
.ym-faq__contact a {
  color: var(--yb-brand);
  text-decoration: underline;
  font-weight: 700;
}


/* ── CTA — Orange gradient final section ── */
.ym-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.ym-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}
.ym-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.ym-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 32px;
}
.ym-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 599px) {
  .ym-cta__buttons { flex-direction: column; align-items: center; }
  .ym-cta__buttons .yb-btn { width: 100%; max-width: 280px; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════
   ACCOMMODATION PAGE  (yba-*) — overrides / additions
   ═══════════════════════════════════════════════════════════ */
.yba-course-card__img img {
  border-radius: 12px 12px 0 0;
}

.yba-hotel-card__img img {
  border-radius: 12px 12px 0 0;
}


/* ═══════════════════════════════════════════════════════════════
   YOGA PHOTOGRAPHY PAGE — Design System (yphoto-)
   Uses brand patterns from /samples/ — buttons, cards, accordions,
   eyebrows, lists, quotes. All colours via CSS variables.
   ═══════════════════════════════════════════════════════════════ */

/* ── Shared reveal animation ── */
.yphoto-reveal {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(4px);
  transition: opacity .7s ease, transform .7s ease, filter .7s ease;
  will-change: opacity, transform, filter;
}
.yphoto-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.yphoto-delay-1 { transition-delay: .05s; }
.yphoto-delay-2 { transition-delay: .14s; }
.yphoto-delay-3 { transition-delay: .28s; }
.yphoto-delay-4 { transition-delay: .42s; }
.yphoto-delay-5 { transition-delay: .54s; }
.yphoto-delay-6 { transition-delay: .66s; }

@media (prefers-reduced-motion: reduce) {
  .yphoto-reveal {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ── Accent helper ── */
.yphoto-accent { color: var(--yb-brand); }


/* ─────────────────────────────────────────
   Purpose Statement (dark cinematic quote)
   Pattern: DS Section 18 — Dark Cinematic Quote
   ───────────────────────────────────────── */
.yphoto-purpose {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.yphoto-purpose::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 500px at 50% 50%, rgba(247,92,3,.10), transparent 70%);
  pointer-events: none;
}
.yphoto-purpose__inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.yphoto-purpose__text {
  margin: 0 0 24px;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.6;
  color: rgba(255,255,255,.9);
  text-transform: uppercase;
  letter-spacing: .01em;
}
.yphoto-purpose__meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(255,255,255,.5);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .25em;
}
.yphoto-purpose__dot { opacity: .55; }


/* ─────────────────────────────────────────
   Session Details — DS Split Layout
   Pattern: DS Section 11 (Split) + DS Section 4 (Card)
   ───────────────────────────────────────── */
.yphoto-session {
  background: #FFFCF9;
  padding: clamp(60px, 8vw, 100px) 20px;
  overflow: hidden;
}
.yphoto-session__wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.yphoto-session__grid {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
}
@media (min-width: 900px) {
  .yphoto-session__grid {
    grid-template-columns: 1.1fr .9fr;
  }
}

/* Image side */
.yphoto-session__media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F3F0;
  min-height: clamp(400px, 55vw, 650px);
}
.yphoto-session__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  display: block;
  transition: transform .6s ease;
}
.yphoto-session__media:hover .yphoto-session__img {
  transform: scale(1.03);
}
.yphoto-session__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.30) 100%);
  pointer-events: none;
}
.yphoto-session__badge {
  position: absolute;
  left: 16px; right: 16px; bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 2;
  color: #fff;
}
.yphoto-session__badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 100px;
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.2);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: 0.7rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  white-space: nowrap;
}
.yphoto-session__badge-loc {
  font-weight: 700;
  font-size: 0.7rem;
  opacity: .9;
  white-space: nowrap;
}

/* Content side — DS Card pattern */
.yphoto-session__content {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  transition: box-shadow .3s ease;
}
.yphoto-session__content:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

/* Eyebrow — DS Section 12 (with dot) */
.yphoto-session__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--yb-brand);
  font-weight: 700;
}
.yphoto-session__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yb-brand);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.yphoto-session__title {
  margin: 0 0 12px;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.yphoto-session__lead {
  margin: 0 0 20px;
  color: #6F6A66;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Highlight mini cards */
.yphoto-session__highlights {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
@media (min-width: 480px) {
  .yphoto-session__highlights { grid-template-columns: repeat(3, 1fr); }
}
.yphoto-session__hl {
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  padding: 14px;
  background: #FFFCF9;
  transition: border-color .2s;
}
.yphoto-session__hl:hover { border-color: rgba(247,92,3,.3); }
.yphoto-session__hl-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.yphoto-session__hl-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #6F6A66;
}
.yphoto-session__hl-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1C1C1C;
  white-space: nowrap;
}
.yphoto-session__hl-desc {
  margin: 0;
  color: #6F6A66;
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Feature list — DS Section 17 (checkmarks) */
.yphoto-session__features {
  padding-top: 16px;
  margin-top: auto;
  border-top: 1px solid #E8E4E0;
}
.yphoto-session__features-title {
  margin: 0 0 10px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #1C1C1C;
}
.yphoto-session__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.yphoto-session__list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: #6F6A66;
  font-size: 0.9rem;
  line-height: 1.6;
}
.yphoto-session__list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--yb-brand);
  font-weight: 700;
}

/* CTAs — DS Section 3 buttons (.yb-btn used directly in template) */
.yphoto-session__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.yphoto-session__note {
  margin: 12px 0 0;
  color: #6F6A66;
  font-size: 0.8rem;
  line-height: 1.5;
}
@media (max-width: 899px) {
  .yphoto-session__media { min-height: 350px; }
}


/* ─────────────────────────────────────────
   Prep + FAQ — Two Side-by-Side Cards
   Pattern: DS Section 4 (Card) + DS Section 15 (Accordion)
   ───────────────────────────────────────── */
.yphoto-prepfaq {
  background: #F5F3F0;
  padding: clamp(60px, 8vw, 100px) 20px;
}
.yphoto-prepfaq__wrap {
  max-width: 1180px;
  margin: 0 auto;
}
.yphoto-prepfaq__grid {
  display: grid;
  gap: clamp(16px, 2.5vw, 24px);
  align-items: stretch;
}
@media (min-width: 900px) {
  .yphoto-prepfaq__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Shared card — DS Card pattern */
.yphoto-prepfaq__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all .3s ease;
}
.yphoto-prepfaq__card:hover {
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}
.yphoto-prepfaq__card-head {
  padding: clamp(24px, 3vw, 32px) clamp(24px, 3vw, 32px) 0;
}

/* Eyebrow — DS Section 12 (with dot) */
.yphoto-prepfaq__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--yb-brand);
  font-weight: 700;
}
.yphoto-prepfaq__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yb-brand);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.yphoto-prepfaq__card-title {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.yphoto-prepfaq__card-desc {
  margin: 0 0 16px;
  color: #6F6A66;
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Card footer */
.yphoto-prepfaq__card-foot {
  padding: 16px clamp(24px, 3vw, 32px) clamp(24px, 3vw, 28px);
  margin-top: auto;
}
.yphoto-prepfaq__card-foot--split {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.yphoto-prepfaq__note {
  margin: 10px 0 0;
  color: #6F6A66;
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Prep list — icon + text items */
.yphoto-prep__list {
  list-style: none;
  padding: 0 clamp(24px, 3vw, 32px);
  margin: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}
.yphoto-prep__item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 12px;
  background: #F5F3F0;
  transition: background .2s, transform .2s;
}
.yphoto-prep__item:hover {
  background: #F0EDEA;
  transform: translateY(-2px);
}
.yphoto-prep__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(247,92,3,.08);
  border: 1px solid rgba(247,92,3,.18);
  font-size: 18px;
  flex-shrink: 0;
}
.yphoto-prep__label {
  display: block;
  font-weight: 700;
  color: #1C1C1C;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.yphoto-prep__desc {
  margin: 0;
  color: #6F6A66;
  font-size: 0.85rem;
  line-height: 1.55;
}

/* FAQ Accordion — DS Section 15 (Separate Rounded Items with Orange Circle) */
.yphoto-faq__list {
  padding: 0 clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.yphoto-faq__item {
  background: #F5F3F0;
  border-radius: 12px;
  overflow: hidden;
}
.yphoto-faq__toggle {
  width: 100%;
  padding: 16px 20px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.4;
  font-family: inherit;
  transition: background .2s;
}
.yphoto-faq__toggle:hover {
  background: #F0EDEA;
}
.yphoto-faq__toggle > span:first-child { flex: 1 1 auto; }

/* Orange circle icon — DS accordion pattern */
.yphoto-faq__icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--yb-brand);
  background: transparent;
  position: relative;
  transition: all .3s ease;
}
.yphoto-faq__icon::before,
.yphoto-faq__icon::after {
  content: "";
  position: absolute;
  background: var(--yb-brand);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.yphoto-faq__icon::before { width: 12px; height: 2px; }
.yphoto-faq__icon::after { width: 2px; height: 12px; transition: opacity .2s ease; }

/* Open state — fill orange, icon white, rotate */
.yphoto-faq__item.is-open .yphoto-faq__icon {
  background: var(--yb-brand);
  transform: rotate(45deg);
}
.yphoto-faq__item.is-open .yphoto-faq__icon::before,
.yphoto-faq__item.is-open .yphoto-faq__icon::after {
  background: #fff;
}

/* Panel — hidden by default, shown when .is-open */
.yphoto-faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.yphoto-faq__item.is-open .yphoto-faq__panel {
  max-height: 300px;
}
.yphoto-faq__panel p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.9rem;
  color: #6F6A66;
  line-height: 1.7;
}


/* ─────────────────────────────────────────
   Big Photo + Quote — Full Portrait Height
   Pattern: DS Section 31A (Dark Cinematic Photo Hero)
   ───────────────────────────────────────── */
.yphoto-quote {
  background: #FFFCF9;
  padding: clamp(40px, 6vw, 80px) 20px;
  overflow: hidden;
}
.yphoto-quote__wrap {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.yphoto-quote__img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.yphoto-quote__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: clamp(20px, 4vw, 40px);
  padding-bottom: 16%;
  background: linear-gradient(
    90deg,
    transparent 30%,
    rgba(0,0,0,.08) 60%,
    rgba(0,0,0,.20) 100%
  );
}

/* Glass panel overlay */
.yphoto-quote__glass {
  max-width: min(500px, 50%);
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(235,231,227,.7);
  border-radius: 12px;
  padding: clamp(18px, 2.5vw, 28px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 60px rgba(0,0,0,.12);
  position: relative;
}
.yphoto-quote__bar {
  position: absolute;
  left: -8px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  border-radius: 999px;
  background: var(--yb-brand);
}
.yphoto-quote__eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: .25em;
  color: var(--yb-brand);
  font-weight: 700;
}
.yphoto-quote__eyebrow-dot {
  width: 6px;
  height: 6px;
  background: var(--yb-brand);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}
.yphoto-quote__headline {
  margin: 0 0 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: #1C1C1C;
}
.yphoto-quote__micro {
  margin-top: 12px;
  color: #6F6A66;
  font-size: 0.75rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-weight: 700;
}
@media (max-width: 640px) {
  .yphoto-quote__overlay {
    align-items: flex-end;
  }
  .yphoto-quote__glass {
    max-width: 100%;
    background: rgba(255,255,255,.92);
  }
  .yphoto-quote__bar { display: none; }
  .yphoto-quote__headline { font-size: clamp(1rem, 5vw, 1.3rem); }
}


/* ─────────────────────────────────────────
   Models Section Header
   Pattern: DS Section 29 (Dark Cinematic Hero)
   ───────────────────────────────────────── */
.yphoto-models-header {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(60px, 8vw, 100px) 20px clamp(30px, 4vw, 50px);
  text-align: center;
}
.yphoto-models-header__inner {
  max-width: 800px;
  margin: 0 auto;
}
.yphoto-models-header__eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--yb-brand);
  margin-bottom: 16px;
}
.yphoto-models-header__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 16px;
  background: linear-gradient(135deg, #FDFBF7 0%, #ff9966 50%, var(--yb-brand) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.yphoto-models-header__subtitle {
  color: rgba(255,255,255,.6);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}


/* ─────────────────────────────────────────
   Model Showcase Cards (3 variations)
   Pattern: DS Section 32 (A/B/C)
   ───────────────────────────────────────── */
.yphoto-model {
  background: #0F0F0F;
  padding: clamp(30px, 4vw, 50px) 20px;
  overflow: hidden;
}
.yphoto-model__inner {
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #161616;
  padding: clamp(30px, 4vw, 60px) clamp(20px, 3vw, 50px);
}
.yphoto-model__intro {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.yphoto-model__portrait {
  width: 260px;
  min-width: 260px;
  height: 340px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.yphoto-model__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yphoto-model__info {
  padding-top: 16px;
  color: #fff;
}
.yphoto-model__eyebrow {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--yb-brand);
  margin-bottom: 10px;
}
.yphoto-model__name {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 16px;
  color: #fff;
}
.yphoto-model__bio {
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 20px;
  max-width: 450px;
}
.yphoto-model__links {
  display: flex;
  gap: 16px;
}
.yphoto-model__links a {
  color: var(--yb-brand);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.yphoto-model__links a:hover { opacity: 0.7; }
/* Gallery */
.yphoto-model__gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}
.yphoto-model__photo {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: #222;
}
.yphoto-model__photo img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.yphoto-model__photo:hover img { transform: scale(1.03); }

/* Variation A: Classic — portrait left, info right, gallery below as collage */
.yphoto-model--a .yphoto-model__photo--1 { width: 58%; }
.yphoto-model--a .yphoto-model__photo--2 { width: calc(42% - 16px); margin-top: -40px; }
.yphoto-model--a .yphoto-model__photo--3 { width: 40%; margin-left: 10%; margin-top: -20px; }

/* Variation B: Hero Portrait Top — centered portrait, info + gallery below */
.yphoto-model--b .yphoto-model__intro {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.yphoto-model--b .yphoto-model__portrait {
  width: 100%;
  max-width: 700px;
}
.yphoto-model--b .yphoto-model__bio {
  max-width: 550px;
  margin: 0 auto 20px;
}
.yphoto-model--b .yphoto-model__links { justify-content: center; }
.yphoto-model--b .yphoto-model__gallery { justify-content: center; }
.yphoto-model--b .yphoto-model__photo--1 { width: 30%; margin-top: 20px; }
.yphoto-model--b .yphoto-model__photo--2 { width: 42%; }
.yphoto-model--b .yphoto-model__photo--3 { width: 55%; margin-top: -30px; }

/* Variation C: Side-by-side editorial — portrait with name overlay, asymmetric gallery */
.yphoto-model--c .yphoto-model__intro {
  flex-direction: row-reverse;
}
.yphoto-model--c .yphoto-model__gallery { justify-content: space-between; }
.yphoto-model--c .yphoto-model__photo--1 { width: 100%; margin-bottom: -30px; }
.yphoto-model--c .yphoto-model__photo--2 { width: 48%; }
.yphoto-model--c .yphoto-model__photo--3 { width: 48%; margin-top: 30px; }

/* Mobile: stack model cards */
@media (max-width: 768px) {
  .yphoto-model__intro {
    flex-direction: column !important;
    align-items: center;
    text-align: center;
  }
  .yphoto-model__portrait {
    width: 100% !important;
    max-width: 400px;
    min-width: 0 !important;
  }
  .yphoto-model__bio { max-width: 100%; }
  .yphoto-model__links { justify-content: center; }
  .yphoto-model__gallery { flex-direction: column; }
  .yphoto-model__photo { width: 100% !important; margin: 0 !important; }
}


/* ─────────────────────────────────────────
   Interstitial Quote Sections
   Pattern: DS Section 18 (Dark Cinematic Quote) + overlay
   ───────────────────────────────────────── */
.yphoto-interstitial {
  background: #0F0F0F;
  padding: clamp(30px, 4vw, 50px) 20px;
}
.yphoto-interstitial__inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: clamp(500px, 70vw, 800px);
}
.yphoto-interstitial__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.yphoto-interstitial__inner:hover .yphoto-interstitial__img {
  transform: scale(1.03);
}
.yphoto-interstitial__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.65) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 60px);
  color: #fff;
}
.yphoto-interstitial__quote {
  font-size: clamp(1.4rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 700px;
  margin: 0 0 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
}
.yphoto-interstitial__quote::before {
  content: "\201C";
  display: block;
  font-size: 3em;
  line-height: .6;
  color: var(--yb-brand);
  margin-bottom: 8px;
  opacity: .8;
}
@media (max-width: 640px) {
  .yphoto-interstitial__inner { min-height: clamp(450px, 110vw, 700px); }
  .yphoto-interstitial__quote { font-size: clamp(1.2rem, 6vw, 1.8rem); }
}


/* ── Energy Arc ── */
.ym-arc {
  background: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-arc::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-arc__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-arc__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-arc__box {
  background: #FFFCF9;
  border: 1px solid #e5e0db;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 48px);
}
.ym-arc__box-intro {
  text-align: center;
  margin-bottom: 32px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.ym-arc__box-intro h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 12px;
}
.ym-arc__box-intro p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.65;
  margin: 0;
}

/* SVG Curve */
.ym-arc__curve { margin-bottom: 32px; }
.ym-arc__peak-label {
  text-align: center;
  margin-bottom: 8px;
}
.ym-arc__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-arc__svg-wrap { width: 100%; }
.ym-arc__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-arc__labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-arc__label {
  font-size: 0.7rem;
  color: #6F6A66;
  font-weight: 600;
  text-align: center;
}
.ym-arc__label small {
  display: block;
  font-size: 0.6rem;
  opacity: 0.7;
  margin-top: 2px;
}

/* Phase Cards */
.ym-arc__phases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.ym-arc__phase {
  background: #fff;
  border: 1px solid #EBE7E3;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-arc__phase:hover {
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.ym-arc__phase-time {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--yb-brand);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.ym-arc__phase-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1C1C1C;
  margin-bottom: 8px;
}
.ym-arc__phase-bpm {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 6px;
}
.ym-arc__phase-bpm small {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6F6A66;
}
.ym-arc__phase p {
  font-size: 0.85rem;
  color: #6F6A66;
  line-height: 1.5;
  margin: 0;
}
@media (max-width: 920px) {
  .ym-arc__phases { grid-template-columns: 1fr; gap: 12px; }
}


/* ── Design Principles — 4 feature cards ── */
.ym-prin {
  background: #F5F3F0;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
}
.ym-prin__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-prin__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}
.ym-prin__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.ym-prin__card {
  background: #fff;
  border: 1px solid #E8E4E0;
  border-radius: 18px;
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-prin__card:hover {
  border-color: rgba(247,92,3,0.25);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-prin__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(247,92,3,0.1), rgba(247,92,3,0.05));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.ym-prin__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1C1C1C;
  margin: 0 0 10px;
}
.ym-prin__card p {
  font-size: 0.92rem;
  color: #6F6A66;
  line-height: 1.6;
  margin: 0;
}


/* ── Listen Now — SoundCloud embed (dark section) ── */
.ym-listen {
  background: #1C1C1C;
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-listen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--yb-brand), transparent);
}
.ym-listen__inner {
  max-width: 800px;
  margin: 0 auto;
}
.ym-listen__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-listen__embed {
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  padding: 4px;
}
.ym-listen__embed iframe {
  display: block;
  border-radius: 12px;
}


/* ── Testimonials — orange stroke cards (mirroring yb-k-reviews) ── */
.ym-test {
  padding: 100px 20px;
  background: #F5F3F0;
}
.ym-test__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-test__header {
  margin-bottom: clamp(40px, 5vw, 56px);
}
.ym-test__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ym-test__card {
  background: #FFFCF9;
  border: 1.5px solid var(--yb-brand);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ym-test__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.06);
}
.ym-test__stars {
  color: var(--yb-brand);
  font-size: 18px;
  letter-spacing: 2px;
}
.ym-test__quote {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  flex: 1;
  font-style: italic;
  margin: 0;
  border: none;
  padding: 0;
}
.ym-test__footer {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ym-test__footer strong {
  font-size: 13px;
  font-weight: 700;
  color: #1C1C1C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ym-test__footer span {
  font-size: 12px;
  color: #999;
}
@media (max-width: 920px) {
  .ym-test__grid { grid-template-columns: 1fr; gap: 16px; }
  .ym-test__card { max-width: 480px; margin: 0 auto; width: 100%; }
}


/* ── For Artists & DJs — full dark technical section ── */
.ym-artists {
  background: #0F0F0F;
  color: #fff;
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  position: relative;
}
.ym-artists__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.ym-artists__header {
  margin-bottom: clamp(48px, 6vw, 72px);
}

/* Philosophy blockquote */
.ym-artists__quote {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 4px solid var(--yb-brand);
  border-radius: 0 16px 16px 0;
  padding: clamp(24px, 4vw, 32px);
  margin-bottom: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.ym-artists__quote p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin: 0;
}
.ym-artists__quote strong { color: #fff; font-weight: 700; }

/* Arc container */
.ym-artists__arc {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 48px;
}
.ym-artists__arc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--yb-brand);
  margin: 0 0 24px;
  text-align: center;
}

/* Phase bars */
.ym-artists__bars {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}
.ym-artists__bar {
  flex: 1;
  text-align: center;
  padding: 12px 8px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ym-artists__bar span {
  display: block;
  font-size: 0.6rem;
  font-weight: 600;
  opacity: 0.7;
  margin-top: 4px;
}
.ym-artists__bar--warm { background: rgba(100,181,246,0.15); color: #64b5f6; }
.ym-artists__bar--peak { background: rgba(247,92,3,0.2); color: var(--yb-brand); }
.ym-artists__bar--cool { background: rgba(129,199,132,0.15); color: #81c784; }

/* Curve */
.ym-artists__curve { padding: 0 20px; }
.ym-artists__peak-label {
  text-align: center;
  margin-bottom: 4px;
}
.ym-artists__peak-label span {
  color: var(--yb-brand);
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ym-artists__svg-wrap { width: 100%; }
.ym-artists__svg {
  width: 100%;
  height: auto;
  display: block;
}
.ym-artists__side-labels {
  display: flex;
  justify-content: space-between;
  padding: 8px 2% 0;
}
.ym-artists__side-labels span {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.ym-artists__side-labels small {
  display: block;
  font-size: 0.55rem;
  opacity: 0.7;
  margin-top: 2px;
}
.ym-artists__side-labels--right { text-align: right; }

/* Timeline */
.ym-artists__timeline {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ym-artists__timeline span {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}

/* 6-Segment Cards */
.ym-artists__segments {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.ym-artists__seg {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.ym-artists__seg:hover {
  background: rgba(247,92,3,0.08);
  border-color: rgba(247,92,3,0.2);
}
.ym-artists__seg-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.ym-artists__seg-bpm {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--yb-brand);
  margin-bottom: 4px;
}
.ym-artists__seg-bpm small {
  font-size: 0.55rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.ym-artists__seg-desc {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.45);
}

/* Rules Grid */
.ym-artists__rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 48px;
}
.ym-artists__rule {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.ym-artists__rule:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(247,92,3,0.3);
  transform: translateY(-2px);
}
.ym-artists__rule-icon {
  width: 40px;
  height: 40px;
  background: rgba(247,92,3,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yb-brand);
  margin-bottom: 14px;
}
.ym-artists__rule h3 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ym-artists__rule ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ym-artists__rule li {
  padding: 6px 0 6px 18px;
  position: relative;
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ym-artists__rule li:last-child { border-bottom: none; }
.ym-artists__rule li::before {
  content: '\2192';
  position: absolute;
  left: 0;
  color: var(--yb-brand);
  font-weight: 700;
}
.ym-artists__rule--avoid li::before { content: '\00D7'; }
.ym-artists__rule--prefer li::before { content: '\2713'; }

/* Tech Specs */
.ym-artists__specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 28px;
  background: rgba(0,0,0,0.3);
  border-radius: 14px;
  margin-bottom: 48px;
}
.ym-artists__spec { text-align: center; }
.ym-artists__spec-val {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 5px;
}
.ym-artists__spec-val small { color: var(--yb-brand); }
.ym-artists__spec-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.45);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Collaboration CTA */
.ym-artists__collab {
  text-align: center;
  padding: clamp(36px, 5vw, 56px);
  background: linear-gradient(135deg, rgba(247,92,3,0.12), rgba(247,92,3,0.04));
  border: 1px solid rgba(247,92,3,0.3);
  border-radius: 22px;
}
.ym-artists__collab h3 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
}
.ym-artists__collab p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.ym-artists__collab-or {
  margin-top: 14px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45) !important;
}
.ym-artists__collab-or a {
  color: var(--yb-brand);
  text-decoration: none;
  font-weight: 700;
}

/* Artists responsive */
@media (max-width: 920px) {
  .ym-artists__segments { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .ym-artists__bars { flex-direction: column; gap: 6px; }
  .ym-artists__segments { grid-template-columns: repeat(2, 1fr); }
  .ym-artists__specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .ym-artists__segments { gap: 6px; }
  .ym-artists__seg { padding: 12px 6px; }
  .ym-artists__specs { gap: 16px; padding: 20px; }
  .ym-artists__side-labels { display: none; }
}


/* ── FAQ — button toggle accordion (mirroring ybc-faq-section) ── */
.ym-faq {
  padding: clamp(80px, 10vw, 140px) clamp(20px, 5vw, 40px);
  background: #FFFCF9;
  position: relative;
}
.ym-faq::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e5e0db, transparent);
}
.ym-faq__inner {
  max-width: 780px;
  margin: 0 auto;
}
.ym-faq__header {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.ym-faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ym-faq__item {
  background: #F5F3F0;
  border-radius: 14px;
  overflow: hidden;
}
.ym-faq__toggle {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: #1C1C1C;
  line-height: 1.4;
  font-family: inherit;
}
.ym-faq__toggle span:first-child { flex: 1 1 auto; }
.ym-faq__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--yb-brand);
  position: relative;
  transition: transform 0.3s ease;
}
.ym-faq__icon::before,
.ym-faq__icon::after {
  content: "";
  position: absolute;
  background: #fff;
  inset: 50%;
  transform: translate(-50%, -50%);
}
.ym-faq__icon::before { width: 14px; height: 2px; }
.ym-faq__icon::after { width: 2px; height: 14px; transition: opacity 0.2s ease; }
.ym-faq__toggle[aria-expanded="true"] .ym-faq__icon {
  transform: rotate(45deg);
}
.ym-faq__panel {
  padding: 0 24px 20px;
}
.ym-faq__panel p {
  font-size: 0.95rem;
  color: #6F6A66;
  line-height: 1.7;
  margin: 0;
}
.ym-faq__contact {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #6F6A66;
}
.ym-faq__contact a {
  color: var(--yb-brand);
  text-decoration: underline;
  font-weight: 700;
}


/* ── CTA — Orange gradient final section ── */
.ym-cta {
  background: linear-gradient(135deg, var(--yb-brand) 0%, #d94f02 100%);
  padding: clamp(80px, 10vw, 120px) clamp(20px, 5vw, 40px);
  text-align: center;
}
.ym-cta__inner {
  max-width: 700px;
  margin: 0 auto;
}
.ym-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}
.ym-cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 0 32px;
}
.ym-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 599px) {
  .ym-cta__buttons { flex-direction: column; align-items: center; }
  .ym-cta__buttons .yb-btn { width: 100%; max-width: 280px; justify-content: center; }
}


/* ═══════════════════════════════════════════════════════════
   ACCOMMODATION PAGE  (yba-*) — overrides / additions
   ═══════════════════════════════════════════════════════════ */
.yba-course-card__img img {
  border-radius: 12px 12px 0 0;
}

.yba-hotel-card__img img {
  border-radius: 12px 12px 0 0;
  transform: scale(1.01);
  transition: transform .6s ease;
}


/* ═══════════════════════════════════════════════════════════
   APPOINTMENT BOOKING MODAL (yb-book-*)
   Calendly replacement — 4-step booking flow
   ═══════════════════════════════════════════════════════════ */

/* Modal overlay */
.yb-book[aria-hidden="true"] { display: none; }
.yb-book[aria-hidden="false"] {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.yb-book__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, 0.6);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.yb-book__box {
  position: relative;
  background: #FFFCF9;
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: ybBookFadeIn 0.3s ease;
}
@keyframes ybBookFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.yb-book__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6F6A66;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.yb-book__close:hover { background: #F5F3F0; }

/* Step indicator */
.yb-book__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 24px;
}
.yb-book__step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #E8E4E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  color: #999;
  background: #fff;
  transition: all 0.3s;
}
.yb-book__step-dot.is-active {
  border-color: #f75c03;
  color: #fff;
  background: #f75c03;
}
.yb-book__step-dot.is-current {
  box-shadow: 0 0 0 4px rgba(247, 92, 3, 0.2);
}
.yb-book__step-line {
  width: 40px;
  height: 2px;
  background: #E8E4E0;
  transition: background 0.3s;
}
.yb-book__step-line.is-active { background: #f75c03; }

/* Panel (step content) */
.yb-book__panel { display: none; }
.yb-book__panel.is-active { display: block; animation: ybBookFadeIn 0.25s ease; }

/* Titles */
.yb-book__title {
  font-size: 22px;
  font-weight: bold;
  margin: 0 0 4px;
  text-align: center;
}
.yb-book__subtitle {
  font-size: 14px;
  color: #6F6A66;
  text-align: center;
  margin: 0 0 20px;
}
.yb-book__back {
  background: none;
  border: none;
  color: #f75c03;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  font-family: inherit;
}
.yb-book__back:hover { text-decoration: underline; }

/* Appointment type buttons */
.yb-book__types {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.yb-book__type-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1.5px solid #E8E4E0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  font-family: inherit;
  font-size: 14px;
}
.yb-book__type-btn:hover { border-color: #f75c03; background: #FFF8F5; }
.yb-book__type-btn.is-active {
  border-color: #f75c03;
  background: #FFF8F5;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.1);
}
.yb-book__type-icon { font-size: 20px; }
.yb-book__type-name { flex: 1; font-weight: 600; }
.yb-book__type-dur { font-size: 12px; color: #999; }

/* Calendar */
.yb-book__calendar { margin-bottom: 16px; }
.yb-book__cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.yb-book__cal-month {
  font-size: 16px;
  font-weight: bold;
}
.yb-book__cal-arrow {
  background: none;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s;
}
.yb-book__cal-arrow:hover { border-color: #f75c03; color: #f75c03; }

.yb-book__cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.yb-book__cal-dayname {
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: #999;
  padding: 4px 0;
  text-transform: uppercase;
}
.yb-book__cal-cell {
  text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
}
.yb-book__cal-cell:hover:not(.yb-book__cal-cell--disabled):not(.yb-book__cal-cell--empty) {
  background: #FFF8F5;
  color: #f75c03;
}
.yb-book__cal-cell--empty { visibility: hidden; }
.yb-book__cal-cell--disabled {
  color: #ccc;
  cursor: default;
  pointer-events: none;
}
.yb-book__cal-cell--today {
  font-weight: bold;
  border: 1.5px solid #f75c03;
}
.yb-book__cal-cell--selected {
  background: #f75c03 !important;
  color: #fff !important;
  font-weight: bold;
}

/* Time slots */
.yb-book__slots { min-height: 120px; }
.yb-book__loading {
  text-align: center;
  padding: 32px;
  color: #999;
}
.yb-book__slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.yb-book__slot-btn {
  padding: 10px;
  border: 1.5px solid #E8E4E0;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.15s;
  text-align: center;
}
.yb-book__slot-btn:hover {
  border-color: #f75c03;
  color: #f75c03;
  background: #FFF8F5;
}
.yb-book__slot-btn.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}

/* Date display label */
.yb-book__date-label {
  text-align: center;
  font-size: 15px;
  color: #666;
  margin: 0 0 16px;
  font-weight: 600;
}

/* Next/Submit buttons */
.yb-book__next-btn,
.yb-book__submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 16px;
  border-radius: 10px;
}
.yb-book__next-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Form */
.yb-book__form { margin-top: 16px; }
.yb-book__field {
  margin-bottom: 14px;
}
.yb-book__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}
.yb-book__field input,
.yb-book__field textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #f75c03;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  transition: box-shadow 0.2s;
  box-sizing: border-box;
}
.yb-book__field input:focus,
.yb-book__field textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.15);
}

/* Summary card */
.yb-book__summary-card {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 16px;
}
.yb-book__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 14px;
  border-bottom: 1px solid #E8E4E0;
}
.yb-book__summary-row:last-child { border-bottom: none; }
.yb-book__summary-label { color: #999; }

/* Success */
.yb-book__success {
  text-align: center;
  padding: 20px 0;
}
.yb-book__success-icon {
  font-size: 56px;
  margin-bottom: 12px;
}
.yb-book__success-text {
  color: #666;
  margin: 8px 0 16px;
  font-size: 14px;
}

/* Mobile */
@media (max-width: 520px) {
  .yb-book__box { padding: 24px 20px; border-radius: 12px; }
  .yb-book__slot-grid { grid-template-columns: repeat(2, 1fr); }
  .yb-book__cal-cell { padding: 6px 2px; font-size: 13px; }
  .yb-book__type-btn { padding: 10px 12px; }
}


/* ─── Appointment Request Mode additions ─── */
.yb-book__request-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFF8F0;
  border: 1px solid #f75c03;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #f75c03;
  font-weight: 600;
}
.yb-book__request-notice {
  display: flex;
  align-items: center;
  background: #FFF8F0;
  border: 1px dashed #f75c03;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #6F6A66;
  line-height: 1.4;
}
.yb-book__req-chip {
  display: inline-block;
  background: #f75c03;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
}
.yb-book__type-req {
  display: none;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #f75c03;
  background: #FFF8F0;
  border: 1px solid #f75c03;
  padding: 1px 8px;
  border-radius: 20px;
}
.yb-book__type-btn[data-type="intro-class"] .yb-book__type-req {
  display: inline-block;
}


/* ═══════════════════════════════════════════════════════════
   PHOTO SESSION REQUEST MODAL (yb-pbook__*)
   ═══════════════════════════════════════════════════════════ */
.yb-pbook[aria-hidden="true"] { display: none; }
.yb-pbook[aria-hidden="false"] {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 10001;
  align-items: center;
  justify-content: center;
}
.yb-pbook__overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.yb-pbook__box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  max-width: 520px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  z-index: 1;
}
.yb-pbook__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.yb-pbook__close:hover { background: #F5F3F0; }

/* Step dots */
.yb-pbook__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
}
.yb-pbook__step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #E8E4E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #999;
  background: #fff;
  transition: all 0.2s;
}
.yb-pbook__step-dot.is-active {
  background: #f75c03;
  border-color: #f75c03;
  color: #fff;
}
.yb-pbook__step-line {
  width: 40px;
  height: 2px;
  background: #E8E4E0;
  transition: background 0.2s;
}
.yb-pbook__step-line.is-active { background: #f75c03; }

/* Panels */
.yb-pbook__panel { display: none; }
.yb-pbook__panel.is-active { display: block; animation: ybBookFadeIn 0.25s ease; }

.yb-pbook__title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #0F0F0F;
}
.yb-pbook__subtitle {
  font-size: 14px;
  color: #6F6A66;
  margin: 0 0 20px;
}

/* Request badge */
.yb-pbook__request-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #F5F3F0;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  padding: 8px 14px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #6F6A66;
  font-weight: 600;
}

/* Back button */
.yb-pbook__back {
  background: none;
  border: none;
  color: #6F6A66;
  font-size: 14px;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  display: inline-block;
}
.yb-pbook__back:hover { text-decoration: underline; }

/* Form fields */
.yb-pbook__form { margin-top: 0; }
.yb-pbook__field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
}
.yb-pbook__field {
  margin-bottom: 12px;
}
.yb-pbook__field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #0F0F0F;
  margin-bottom: 4px;
}
.yb-pbook__field input,
.yb-pbook__field textarea,
.yb-pbook__field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #f75c03;
  border-radius: 12px;
  font-size: 15px;
  color: #0F0F0F;
  background: #fff;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.yb-pbook__field input:focus,
.yb-pbook__field textarea:focus,
.yb-pbook__field select:focus {
  outline: none;
  border-color: #f75c03;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}

/* Date/time suggestion slots */
.yb-pbook__slots-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
  margin-top: 4px;
}
.yb-pbook__slots-title {
  font-size: 14px;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0;
}
.yb-pbook__slots-hint {
  font-size: 12px;
  color: #999;
  margin: 0;
}
.yb-pbook__slot-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #F5F3F0;
  border-radius: 10px;
  border: 1px solid #E8E4E0;
}
.yb-pbook__slot-row--required {
  border-color: #f75c03;
  background: #FFF8F0;
}
.yb-pbook__slot-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f75c03;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.yb-pbook__slot-row:not(.yb-pbook__slot-row--required) .yb-pbook__slot-num {
  background: #E8E4E0;
  color: #6F6A66;
}
.yb-pbook__slot-fields {
  display: flex;
  gap: 8px;
  flex: 1;
}
.yb-pbook__slot-date,
.yb-pbook__slot-time {
  padding: 8px 10px;
  border: 1px solid #E8E4E0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0F0F0F;
  background: #fff;
  flex: 1;
}
.yb-pbook__slot-date:focus,
.yb-pbook__slot-time:focus {
  outline: none;
  border-color: #f75c03;
  box-shadow: 0 0 0 3px rgba(247, 92, 3, 0.12);
}

/* Next / Submit buttons */
.yb-pbook__next-btn,
.yb-pbook__submit-btn {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
}

/* Summary */
.yb-pbook__summary-card {
  background: #F5F3F0;
  border-radius: 10px;
  padding: 4px 0;
  margin-bottom: 12px;
}
.yb-pbook__summary-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 16px;
  border-bottom: 1px solid #E8E4E0;
  font-size: 14px;
}
.yb-pbook__summary-row:last-child { border-bottom: none; }
.yb-pbook__summary-label { color: #999; }

.yb-pbook__summary-slots {
  margin-top: 12px;
}
.yb-pbook__summary-slots-title {
  font-size: 14px;
  font-weight: 700;
  color: #0F0F0F;
  margin: 0 0 8px;
}
.yb-pbook__summary-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: #FFF8F0;
  border: 1px solid #f75c03;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}
.yb-pbook__summary-slot-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f75c03;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Success */
.yb-pbook__success {
  text-align: center;
  padding: 16px 0;
}
.yb-pbook__success-icon {
  font-size: 48px;
  margin-bottom: 12px;
}
.yb-pbook__success-text {
  color: #6F6A66;
  font-size: 15px;
  margin: 8px 0 16px;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 520px) {
  .yb-pbook__box { padding: 24px 20px; border-radius: 12px; }
  .yb-pbook__field-row { grid-template-columns: 1fr; }
  .yb-pbook__slot-fields { flex-direction: column; }
}


/* ═══════════════════════════════════════════════════════════
   ADMIN APPOINTMENTS — Calendar View (yb-appt-*)
   ═══════════════════════════════════════════════════════════ */

/* ── Contact search dropdown ── */
.yb-appt__contact-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--yb-border, #E8E4E0);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  max-height: 280px;
  overflow-y: auto;
  margin-top: 4px;
}
.yb-appt__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s;
  border-bottom: 1px solid #f0eeec;
}
.yb-appt__contact-item:last-child { border-bottom: none; }
.yb-appt__contact-item:hover,
.yb-appt__contact-item.is-active { background: #FFF7F0; }
.yb-appt__contact-name { font-weight: 600; font-size: 14px; color: #0F0F0F; }
.yb-appt__contact-email { font-size: 12px; color: #6F6A66; }
.yb-appt__contact-badge {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  margin-left: auto;
  white-space: nowrap;
}
.yb-appt__contact-badge--lead { background: #FFF3E6; color: #f75c03; }
.yb-appt__contact-badge--application { background: #E8F5E9; color: #2E7D32; }
.yb-appt__contact-badge--career { background: #E3F2FD; color: #1565C0; }
.yb-appt__contact-badge--user { background: #F3E8FD; color: #7B1FA2; }
.yb-appt__contact-empty {
  padding: 16px;
  text-align: center;
  color: #6F6A66;
  font-size: 13px;
}

.yb-appt__calendar { margin-top: 16px; }
.yb-appt__calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.yb-appt__calendar-title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}
.yb-appt__cal-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 4px;
}
.yb-appt__cal-day-name {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  color: #999;
  padding: 8px 0;
  text-transform: uppercase;
}
.yb-appt__cal-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.yb-appt__cal-cell {
  min-height: 80px;
  border: 1px solid #E8E4E0;
  border-radius: 6px;
  padding: 4px;
  background: #fff;
  transition: background 0.15s;
}
.yb-appt__cal-cell:hover { background: #FAFAF8; }
.yb-appt__cal-cell--empty {
  background: transparent;
  border-color: transparent;
}
.yb-appt__cal-cell--today {
  border-color: #f75c03;
  background: #FFF8F5;
}
.yb-appt__cal-cell--has-appts {
  border-color: #f75c03;
}
.yb-appt__cal-date {
  font-size: 12px;
  font-weight: bold;
  color: #666;
  padding: 2px 4px;
}
.yb-appt__cal-cell--today .yb-appt__cal-date { color: #f75c03; }


/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL — COMPREHENSIVE RESPONSIVE OVERHAUL
   Mobile + Tablet responsive styles for all admin tabs
   ═══════════════════════════════════════════════════════════ */

/* ── Clickable phone links in tables ── */
a.yb-lead__cell-phone-link {
  font-size: 0.72rem;
  color: #f75c03;
  text-decoration: none;
  display: block;
}
a.yb-lead__cell-phone-link:hover { text-decoration: underline; }

a.yb-appt__phone-link {
  color: #f75c03;
  text-decoration: none;
  font-size: 12px;
}
a.yb-appt__phone-link:hover { text-decoration: underline; }

/* ── Tablet (max-width: 1024px) ── */
@media (max-width: 1024px) {
  /* Tabs: smaller padding, smaller font */
  .yb-admin .yb-profile__tabs {
    padding: 0 12px;
    gap: 0;
  }
  .yb-admin .yb-profile__tab {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  /* View head: allow wrapping */
  .yb-admin__view-head {
    gap: 0.5rem;
  }

  /* Stats grid: 3 columns on tablet */
  .yb-lead__stats-grid { grid-template-columns: repeat(3, 1fr); }

  /* Lead table: hide follow-up column on tablet */
  .yb-lead__th-followup,
  .yb-lead__cell-followup { display: none; }

  /* Kanban columns: narrower */
  .yb-lead__kanban-col { flex: 0 0 200px; min-width: 200px; }

  /* Appointment calendar cells: smaller */
  .yb-appt__cal-cell { min-height: 60px; padding: 2px; }
}

/* ── Mobile (max-width: 768px) ── */
@media (max-width: 768px) {
  /* Admin container: reduce padding */
  .yb-admin .container { padding-left: 12px; padding-right: 12px; }

  /* Tabs: scrollable strip with compact sizing */
  .yb-admin .yb-profile__tabs {
    padding: 0 8px;
    gap: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .yb-admin .yb-profile__tabs::-webkit-scrollbar { display: none; }
  .yb-admin .yb-profile__tab {
    padding: 8px 10px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }

  /* View head: stack title and buttons */
  .yb-admin__view-head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .yb-admin__view-head h2 { font-size: 1.1rem; }
  .yb-admin__view-head-btns {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
  }

  /* View toggle: full width */
  .yb-lead__view-toggle { width: 100%; }
  .yb-lead__view-btn { flex: 1; justify-content: center; font-size: 0.78rem; padding: 6px 8px; }

  /* Filter bar: full stack */
  .yb-lead__filter-bar {
    flex-direction: column;
    gap: 0.4rem;
  }
  .yb-lead__search-form { width: 100%; min-width: 0; }
  .yb-lead__filter { width: 100%; min-width: 0; }

  /* Stats toggle: visible on mobile */
  .yb-lead__stats-toggle { display: flex; }

  /* Stats grid: collapsed by default on mobile */
  .yb-lead__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    display: none; /* collapsed by default */
  }
  .yb-lead__stats-grid.is-expanded { display: grid; }
  .yb-lead__stat-card { padding: 0.65rem; }
  .yb-lead__stat-value { font-size: 1.2rem; }
  .yb-lead__stat-label { font-size: 0.65rem; }

  /* Bulk actions bar: wrap and compact */
  .yb-lead__bulk-bar {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.78rem;
  }
  .yb-lead__bulk-bar button,
  .yb-lead__bulk-bar .yb-btn { font-size: 0.75rem; padding: 4px 8px; }

  /* Table: force horizontal scroll, min-width */
  .yb-lead__table-wrap,
  .yb-admin__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -12px;
    padding: 0 12px;
  }
  .yb-lead__table { min-width: 600px; font-size: 0.78rem; }
  .yb-admin__table { min-width: 500px; font-size: 0.78rem; }

  /* Hide more table columns on mobile */
  .yb-lead__cell-program,
  .yb-lead__cell-source,
  .yb-lead__th-program,
  .yb-lead__th-source,
  .yb-lead__th-lastcontact,
  .yb-lead__cell-lastcontact,
  .yb-lead__th-notes,
  .yb-lead__cell-notes,
  .yb-lead__th-app,
  .yb-lead__cell-app,
  .yb-lead__th-temp,
  .yb-lead__cell-temp,
  .yb-lead__th-followup,
  .yb-lead__cell-followup { display: none; }

  /* Table cells: tighter padding */
  .yb-lead__table th,
  .yb-lead__table td { padding: 0.4rem 0.5rem; }
  .yb-lead__cell-name { max-width: 120px; font-size: 0.8rem; }
  .yb-lead__cell-contact { max-width: 150px; }
  .yb-lead__cell-email-text { font-size: 0.75rem; }

  /* Expanded panel: compact */
  .yb-lead__expanded-panel { padding: 0.5rem 0.65rem; }
  .yb-lead__exp-row { gap: 0.5rem; }
  .yb-lead__exp-stat { min-width: 60px; }
  .yb-lead__exp-label { font-size: 0.6rem; }
  .yb-lead__exp-value { font-size: 0.78rem; }
  .yb-lead__exp-actions { gap: 0.3rem; }
  .yb-lead__exp-actions .yb-btn { font-size: 0.72rem; padding: 3px 6px; }

  /* Detail views: stack everything */
  .yb-lead__detail-cards { grid-template-columns: 1fr; gap: 0.65rem; }
  .yb-lead__section-card { padding: 1rem; }
  .yb-lead__section-card--full { grid-column: auto; }
  .yb-lead__card-row { gap: 0.4rem; padding: 0.35rem 0; font-size: 0.82rem; }
  .yb-lead__card-label { min-width: 70px; font-size: 0.75rem; }
  .yb-lead__card-value { font-size: 0.82rem; word-break: break-word; }

  /* Detail status bar: 2 columns */
  .yb-lead__detail-status-bar { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .yb-lead__status-grid { grid-template-columns: 1fr; gap: 0.5rem; }

  /* Actions row in detail view */
  .yb-lead__actions { flex-wrap: wrap; gap: 0.35rem; }
  .yb-lead__actions .yb-btn { font-size: 0.78rem; padding: 5px 10px; }

  /* SMS conversation: tighter */
  .yb-lead__sms-bubble--outbound,
  .yb-lead__sms-bubble--inbound { max-width: 92%; font-size: 0.82rem; }

  /* Notes timeline */
  .yb-lead__notes-timeline { max-height: 300px; }
  .yb-lead__note-form { flex-direction: column; gap: 0.4rem; }
  .yb-lead__note-form input { width: 100%; }
  .yb-lead__note-form button { width: 100%; }

  /* Forms: single column */
  .yb-admin__form { max-width: 100%; }
  .yb-admin__form-row { grid-template-columns: 1fr; gap: 0.65rem; }
  .yb-admin__field input,
  .yb-admin__field textarea,
  .yb-admin__field select,
  .yb-admin__select { font-size: 16px; /* prevent iOS zoom */ }

  /* Kanban: smaller columns */
  .yb-lead__kanban-col { flex: 0 0 160px; min-width: 160px; }
  .yb-lead__kanban-col-header { padding: 0.5rem; }
  .yb-lead__kanban-col-name { font-size: 0.72rem; }
  .yb-lead__kanban-card { padding: 0.5rem; }
  .yb-lead__kanban-card-name { font-size: 0.75rem; }

  /* Appointment calendar: compact cells */
  .yb-appt__cal-cell { min-height: 48px; padding: 1px; font-size: 0.7rem; }
  .yb-appt__cal-date { font-size: 10px; }
  .yb-appt__cal-day-name { font-size: 10px; }
  .yb-appt__calendar-title { font-size: 16px; }
  .yb-appt__calendar-nav { gap: 6px; }
  .yb-appt__calendar-nav button { font-size: 0.78rem; padding: 4px 8px; }

  /* Appointment detail: stack grid */
  .yb-lead__detail-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 12px !important;
  }

  /* Campaign modals: full screen on mobile */
  .yb-lead__campaign-box { width: 98vw; max-height: 96vh; border-radius: 8px; }
  .yb-lead__campaign-recipients { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-compose { grid-template-columns: 1fr; }
  .yb-lead__campaign-email-sidebar {
    border-right: none;
    border-bottom: 1px solid #E8E4E0;
    padding-right: 0;
    padding-bottom: 0.75rem;
  }
  .yb-lead__campaign-results-grid { grid-template-columns: 1fr 1fr; }
  .yb-lead__campaign-schedule-grid { grid-template-columns: 1fr; }
  .yb-lead__campaign-summary-cards { grid-template-columns: 1fr; }
  .yb-lead__campaign-tabs { gap: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .yb-lead__campaign-tab { font-size: 0.75rem; padding: 6px 8px; white-space: nowrap; }

  /* Modal overlay: less padding */
  .yb-lead__modal .yb-lead__campaign-box { padding: 1rem; }

  /* Admin header compact */
  .yb-admin__header { margin-bottom: 1rem; }

  /* Document browser: compact */
  .yb-doc-browser { padding: 0.5rem; }
  .yb-doc-browser__toolbar { flex-wrap: wrap; }
  .yb-doc-browser__search { min-width: 0; }

  /* Toast: full width on mobile */
  .yb-admin__toast { left: 1rem; right: 1rem; bottom: 1rem; text-align: center; font-size: 0.82rem; }

  /* Breadcrumb: smaller */
  .yb-admin__breadcrumb { font-size: 0.78rem; }

  /* Enrollment form: stack */
  .yb-admin__enroll-form { flex-direction: column; gap: 0.4rem; }
  .yb-admin__enroll-form button { width: 100%; }

  /* Editor: stack */
  .yb-admin__editor-wrap { grid-template-columns: 1fr; }
  .yb-admin__preview-panel { border-left: none; border-top: 1px solid #E8E4E0; min-height: 200px; }

  /* Stats grid for admin */
  .yb-admin__stats-grid { grid-template-columns: repeat(2, 1fr); }

  /* User toolbar */
  .yb-admin__user-toolbar { flex-direction: column; gap: 0.4rem; }
  .yb-admin__user-search { width: 100%; }
  .yb-admin__user-meta { grid-template-columns: 1fr; }
}

/* ── Small mobile (max-width: 480px) ── */
@media (max-width: 480px) {
  /* Tabs: even more compact */
  .yb-admin .yb-profile__tab {
    padding: 7px 8px;
    font-size: 0.72rem;
  }

  /* Stats: single column */
  .yb-lead__stats-grid { grid-template-columns: 1fr; }
  .yb-admin__stats-grid { grid-template-columns: 1fr; }

  /* Table: even more compact */
  .yb-lead__table { min-width: 480px; font-size: 0.72rem; }
  .yb-lead__table th,
  .yb-lead__table td { padding: 0.3rem 0.35rem; }
  .yb-lead__cell-name { max-width: 100px; font-size: 0.75rem; }
  .yb-lead__cell-contact { max-width: 120px; }

  /* Chevron smaller */
  .yb-lead__th-chevron { width: 22px; }
  .yb-lead__cell-chevron { width: 22px; }
  .yb-lead__chevron-btn { width: 20px; height: 20px; }

  /* Checkbox column smaller */
  .yb-lead__th-cb,
  .yb-lead__cell-cb { width: 32px; padding: 0.3rem 0.15rem; }

  /* Calendar: 5-col fallback or very compact 7-col */
  .yb-appt__cal-cell { min-height: 36px; border-radius: 4px; }
  .yb-appt__cal-date { font-size: 9px; }
  .yb-appt__cal-body { gap: 2px; }

  /* Kanban: even smaller columns */
  .yb-lead__kanban-col { flex: 0 0 140px; min-width: 140px; }

  /* Detail view: compact cards */
  .yb-lead__section-card { padding: 0.75rem; }
  .yb-lead__card-title { font-size: 0.72rem; }
  .yb-lead__card-row { font-size: 0.78rem; }

  /* Campaign modal: tighter */
  .yb-lead__campaign-box { padding: 0.75rem; }
  .yb-lead__campaign-results-grid { grid-template-columns: 1fr; }

  /* Appointment detail grid */
  .yb-lead__detail-grid {
    padding: 8px !important;
    font-size: 0.82rem;
  }

  /* View head */
  .yb-admin__view-head h2 { font-size: 1rem; }

  /* Bulk bar compact */
  .yb-lead__bulk-bar { padding: 0.35rem 0.5rem; }
  .yb-lead__bulk-count-text { font-size: 0.75rem; }
}

/* ── Landscape phone (max-height: 500px) AND (max-width: 900px) ── */
@media (max-height: 500px) and (max-width: 900px) {
  .yb-lead__campaign-box { max-height: 94vh; }
  .yb-appt__cal-cell { min-height: 32px; }
}


/* ── Link page booking buttons ── */
.yb-link__item--booking {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  text-align: left;
  transition: all 0.2s;
  margin-bottom: 8px;
}
.yb-link__item--booking:hover {
  border-color: #f75c03;
  background: rgba(247, 92, 3, 0.08);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════
   BILLING ADMIN (e-conomic)
   ══════════════════════════════════════════ */
.yb-billing__section {
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 1.25rem 1.5rem; margin-bottom: 1.25rem;
}
.yb-billing__section-title {
  font-size: 0.95rem; font-weight: 700; color: #0F0F0F;
  margin: 0 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid #f75c03;
}
.yb-billing__search-row {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
}
.yb-billing__search-row .yb-lead__search-input { flex: 1; min-width: 200px; }

/* Customer results */
.yb-billing__customer-list { display: flex; flex-direction: column; gap: 4px; margin-top: 0.75rem; }
.yb-billing__customer-row {
  display: flex; gap: 0.75rem; align-items: center; padding: 0.6rem 0.75rem;
  background: white; border: 1px solid #E8E4E0; border-radius: 8px;
  cursor: pointer; font-family: inherit; font-size: 0.85rem; text-align: left;
  transition: border-color 0.15s;
}
.yb-billing__customer-row:hover { border-color: #f75c03; }
.yb-billing__cr-name { font-weight: 600; color: #0F0F0F; }
.yb-billing__cr-num { color: #6F6A66; font-size: 0.8rem; }
.yb-billing__cr-email { color: #6F6A66; font-size: 0.8rem; margin-left: auto; }
.yb-billing__no-results { color: #6F6A66; font-size: 0.85rem; margin: 0.5rem 0; }

/* Selected customer badge */
.yb-billing__selected-customer { margin-top: 0.75rem; }
.yb-billing__customer-badge {
  display: inline-flex; gap: 0.5rem; align-items: center;
  background: rgba(247,92,3,0.08); border: 1px solid #f75c03; border-radius: 8px;
  padding: 0.5rem 0.75rem; font-size: 0.85rem;
}
.yb-billing__customer-badge-name { font-weight: 700; color: #0F0F0F; }
.yb-billing__customer-badge-num { color: #6F6A66; }
.yb-billing__customer-badge-email { color: #6F6A66; }
.yb-billing__customer-badge-clear {
  background: none; border: none; cursor: pointer; font-size: 1.1rem; color: #6F6A66;
  padding: 0 0.25rem; line-height: 1;
}
.yb-billing__customer-badge-clear:hover { color: #dc2626; }

/* New customer form */
.yb-billing__new-customer { margin-top: 1rem; padding-top: 1rem; border-top: 1px dashed #E8E4E0; }

/* Amount input with suffix */
.yb-billing__input-with-suffix {
  display: flex; align-items: center; gap: 0; border: 1px solid #f75c03; border-radius: 12px; overflow: hidden;
}
.yb-billing__input-with-suffix input {
  flex: 1; border: none; padding: 0.6rem 0.75rem; font-family: inherit; font-size: 0.9rem; outline: none;
  border-radius: 12px 0 0 12px;
}
.yb-billing__input-with-suffix input:focus { box-shadow: inset 0 0 0 1px rgba(247,92,3,0.3); }
.yb-billing__input-suffix {
  padding: 0.6rem 0.75rem; background: #F5F3F0; color: #6F6A66;
  font-weight: 600; font-size: 0.85rem; border-left: 1px solid #E8E4E0;
}

/* Extra lines */
.yb-billing__extra-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.yb-billing__extra-line {
  display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem;
}
.yb-billing__extra-line input[type="text"] {
  flex: 1; min-width: 0;
}
.yb-billing__extra-line .yb-billing__input-with-suffix { flex: 0 0 180px; }
.yb-billing__extra-remove {
  width: 28px; height: 28px; padding: 0; border: none; background: none;
  cursor: pointer; font-size: 1.1rem; color: #6F6A66; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.yb-billing__extra-remove:hover { background: #fee2e2; color: #dc2626; }

/* Preview */
.yb-billing__preview { margin-top: 0.5rem; }
.yb-billing__preview-empty { color: #6F6A66; font-size: 0.85rem; }
.yb-billing__preview-summary {
  display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem;
}
.yb-billing__preview-row {
  display: flex; gap: 0.75rem; align-items: center; font-size: 0.85rem;
}
.yb-billing__preview-label { font-weight: 600; color: #6F6A66; min-width: 120px; }
.yb-billing__preview-amount { font-weight: 700; color: #0F0F0F; font-variant-numeric: tabular-nums; }
.yb-billing__preview-heading {
  font-size: 0.85rem; font-weight: 700; color: #6F6A66; text-transform: uppercase;
  letter-spacing: 0.05em; margin: 0 0 0.5rem;
}
.yb-billing__preview-table {
  width: 100%; font-size: 0.85rem; border-collapse: collapse;
}
.yb-billing__preview-table th {
  text-align: left; padding: 0.4rem 0.5rem; border-bottom: 2px solid #E8E4E0;
  font-weight: 600; color: #6F6A66; font-size: 0.8rem;
}
.yb-billing__preview-table td {
  padding: 0.4rem 0.5rem; border-bottom: 1px solid #E8E4E0; color: #0F0F0F;
}
.yb-billing__preview-table td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.yb-billing__preview-table th:last-child { text-align: right; }

/* Actions row */
.yb-billing__actions { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.yb-btn--muted { opacity: 0.5; }

/* Missing item warning in preview */
.yb-billing__preview-row--missing span:last-child { color: #dc2626; font-weight: 600; }

/* Source tabs (e-conomic / Applicants toggle) */
.yb-billing__source-tabs {
  display: flex; gap: 0; margin-bottom: 0.75rem; border-bottom: 2px solid #E8E4E0;
}
.yb-billing__source-tab {
  padding: 0.5rem 1rem; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.85rem; font-weight: 600;
  color: #6F6A66; border-bottom: 2px solid transparent;
  margin-bottom: -2px; transition: color 0.15s, border-color 0.15s;
}
.yb-billing__source-tab:hover { color: #0F0F0F; }
.yb-billing__source-tab.is-active { color: #f75c03; border-bottom-color: #f75c03; }

/* Applicant-specific result row extras */
.yb-billing__cr-status {
  font-size: 0.7rem; font-weight: 600; background: #F5F3F0;
  padding: 2px 6px; border-radius: 4px; color: #6F6A66;
}
.yb-billing__cr-course { font-size: 0.8rem; color: #f75c03; }

/* Unified search result groups */
.yb-billing__result-group { margin-bottom: 0.5rem; }
.yb-billing__result-group-header {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.03em; color: #6F6A66; padding: 0.4rem 0.5rem 0.2rem;
  border-bottom: 1px solid #E8E4E0; margin-bottom: 0.25rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.yb-billing__result-group-count {
  background: #f75c03; color: #fff; font-size: 0.65rem;
  padding: 1px 6px; border-radius: 10px; font-weight: 700;
}

/* Applicant banner (shown when navigated from Application tab) */
.yb-billing__applicant-banner {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(247,92,3,0.08); border: 1px solid #f75c03; border-radius: 8px;
  padding: 0.6rem 1rem; margin-bottom: 1rem; font-size: 0.85rem; font-weight: 600;
}
.yb-billing__applicant-banner-clear {
  margin-left: auto; background: none; border: none; cursor: pointer;
  font-size: 1.1rem; color: #6F6A66; line-height: 1;
}
.yb-billing__applicant-banner-clear:hover { color: #dc2626; }

/* Drafts empty */
.yb-billing__empty { text-align: center; color: #6F6A66; padding: 2rem; font-size: 0.9rem; }

/* Draft detail modal */
.yb-billing__modal-box {
  position: relative; background: white; border-radius: 16px; padding: 1.5rem;
  max-width: 560px; width: 90%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 1001;
}
.yb-billing__modal-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid #E8E4E0;
}
.yb-billing__modal-header h3 { margin: 0; font-size: 1.1rem; }
.yb-billing__modal-body { margin-bottom: 1rem; }
.yb-billing__modal-footer { display: flex; gap: 0.5rem; justify-content: flex-end; padding-top: 0.75rem; border-top: 1px solid #E8E4E0; }
.yb-billing__detail-row { font-size: 0.85rem; margin-bottom: 0.35rem; }
.yb-billing__detail-row strong { color: #6F6A66; margin-right: 0.5rem; }
.yb-billing__error { color: #dc2626; font-size: 0.85rem; }

/* Payment status badges */
.yb-billing__status--paid { color: #16a34a; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--unpaid { color: #dc2626; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--partial { color: #d97706; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--draft { color: #6F6A66; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--booked { color: #2563eb; font-weight: 600; font-size: 0.8rem; }
.yb-billing__status--sent { color: #7c3aed; font-weight: 600; font-size: 0.8rem; }
.yb-billing__type-badge {
  display: inline-block; padding: 0.15rem 0.5rem; border-radius: 6px;
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
}
.yb-billing__type-badge--draft { background: #f3f4f6; color: #6F6A66; }
.yb-billing__type-badge--booked { background: #eff6ff; color: #2563eb; }

/* ── Invoice Status Card (on Application Profile) ── */
.yb-app-invoice__header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem;
}
.yb-app-invoice__badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.25rem 0.65rem; border-radius: 20px; font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.02em;
}
.yb-app-invoice__badge--draft { background: #FEF3C7; color: #92400E; }
.yb-app-invoice__badge--booked { background: #DBEAFE; color: #1E40AF; }
.yb-app-invoice__badge--sent { background: #D1FAE5; color: #065F46; }
.yb-app-invoice__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; padding-top: 0.75rem;
  border-top: 1px solid #E8E4E0;
}
.yb-app-invoice__modal {
  position: relative; background: white; border-radius: 16px; padding: 1.5rem;
  max-width: 560px; width: 90%; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15); z-index: 1001;
}
.yb-billing__modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.yb-billing__modal-close {
  background: none; border: none; font-size: 1.4rem; cursor: pointer; color: #6F6A66;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.15s;
}
.yb-billing__modal-close:hover { background: #F5F3F0; }
.yb-billing__modal-footer-spacer { flex: 1; }

/* ── Save Button Feedback ── */
.yb-btn--save-success {
  background: #16a34a !important; border-color: #16a34a !important; color: white !important;
  transition: background 0.3s, border-color 0.3s;
}
@keyframes yb-save-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}
.yb-btn--save-pulse {
  animation: yb-save-pulse 0.4s ease;
}

/* Responsive */
@media (max-width: 600px) {
  .yb-billing__section { padding: 1rem; }
  .yb-billing__search-row { flex-direction: column; }
  .yb-billing__search-row .yb-lead__search-input { min-width: 0; width: 100%; }
  .yb-billing__preview-row { flex-direction: column; gap: 0.15rem; }
  .yb-billing__preview-label { min-width: 0; }
  .yb-billing__customer-row { flex-wrap: wrap; }
  .yb-billing__cr-email { margin-left: 0; }
  .yb-billing__actions { flex-direction: column; }
  .yb-billing__actions .yb-btn { width: 100%; text-align: center; }

  /* Extra lines: stack on mobile */
  .yb-billing__extra-line {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }
  .yb-billing__extra-line .yb-billing__input-with-suffix { flex: 1; }
  .yb-billing__extra-header { flex-wrap: wrap; gap: 0.5rem; }

  /* Customer badge: wrap and compact */
  .yb-billing__customer-badge {
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
  }

  /* Source tabs: scrollable */
  .yb-billing__source-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .yb-billing__source-tabs::-webkit-scrollbar { display: none; }
  .yb-billing__source-tab { white-space: nowrap; font-size: 0.8rem; padding: 0.4rem 0.75rem; }

  /* Invoice table: scrollable with min-width */
  .yb-billing__section .yb-admin__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -1rem;
    padding: 0 1rem;
  }
  .yb-billing__section .yb-admin__table { min-width: 500px; font-size: 0.78rem; }

  /* Applicant banner: wrap */
  .yb-billing__applicant-banner { flex-wrap: wrap; font-size: 0.8rem; padding: 0.5rem 0.75rem; }

  /* Modal: full-width on small screens */
  .yb-billing__modal-box,
  .yb-app-invoice__modal {
    width: 96%;
    max-width: none;
    padding: 1rem;
    border-radius: 12px;
  }
  .yb-billing__modal-header h3 { font-size: 0.95rem; }
  .yb-billing__modal-footer { flex-wrap: wrap; gap: 0.4rem; }
  .yb-billing__modal-footer .yb-btn { flex: 1; min-width: 0; text-align: center; font-size: 0.8rem; }
  .yb-billing__detail-row { font-size: 0.8rem; }

  /* Preview table: compact */
  .yb-billing__preview-table { font-size: 0.78rem; }
  .yb-billing__preview-table th,
  .yb-billing__preview-table td { padding: 0.3rem 0.35rem; }

  /* New customer form: stack */
  .yb-billing__new-customer .yb-admin__form-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   AUTH MODAL & CHECKOUT FLOW — SMALL PHONE RESPONSIVE
   Fix for normal-sized iPhones (375px) and small phones
   ═══════════════════════════════════════════════════════════ */

/* ── Auth modal: fit on 375px screens ── */
@media (max-width: 420px) {
  .yb-auth-modal {
    padding: 8px;
  }
  .yb-auth-modal__box {
    padding: 24px 18px;
    border-radius: 12px;
    max-width: 100%;
    max-height: 94vh;
  }
  .yb-auth-modal__title { font-size: 1.2rem; }
  .yb-auth-modal__subtitle { font-size: 0.82rem; }
  .yb-auth-modal__logo img { max-height: 28px; }

  /* Register split: reduce visual panel and form padding */
  .yb-auth-modal__box[data-view="register"] {
    max-width: 100%;
    max-height: 94vh;
    overflow-y: auto;
  }
  .yb-auth-modal__box[data-view="register"] .yb-auth-modal__visual {
    min-height: auto;
    padding: 14px 16px;
  }
  .yb-auth-modal__box[data-view="register"] .yb-auth-view {
    padding: 20px 18px;
  }

  /* Inputs: prevent iOS zoom and reduce size */
  .yb-auth-form input,
  .yb-auth-form select {
    font-size: 16px;
    padding: 10px 12px;
  }
  .yb-auth-submit {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  /* Consent checkboxes: tighter */
  .yb-auth-consent { gap: 8px; margin-bottom: 12px; }
  .yb-auth-consent__item { gap: 8px; font-size: 0.78rem; line-height: 1.35; }
  .yb-auth-consent__item input[type="checkbox"] { width: 16px; height: 16px; min-width: 16px; }

  /* Auth links: smaller */
  .yb-auth-links { font-size: 0.82rem; }
  .yb-auth-divider { font-size: 0.82rem; }
}

/* ── Checkout flow modal: fit on small phones ── */
@media (max-width: 420px) {
  .ycf-box {
    padding: 24px 16px;
    max-width: 100%;
  }

  /* Step indicator: tighter */
  .ycf-steps { margin-bottom: 20px; }
  .ycf-steps__dot { width: 8px; height: 8px; }
  .ycf-steps__line { width: 28px; }

  /* Product badge on login: compact */
  .ycf-product-badge { padding: 10px 12px; margin-bottom: 16px; }
  .ycf-product-badge__name { font-size: 0.82rem; }
  .ycf-product-badge__price { font-size: 0.88rem; }
  .ycf-product-badge__cohort { font-size: 0.72rem; }
  .ycf-product-badge__desc { font-size: 0.72rem; }

  /* Product breakdown on checkout: compact */
  .ycf-product { padding: 14px; margin-bottom: 16px; }
  .ycf-product__name { font-size: 0.95rem; }
  .ycf-product__price { font-size: 1rem; }
  .ycf-product__desc { font-size: 0.82rem; }
  .ycf-product__note { font-size: 0.78rem; gap: 6px; }
  .ycf-product__benefits { font-size: 0.82rem; }

  /* Chips: compact */
  .ycf-chip { padding: 3px 8px; font-size: 0.68rem; }

  /* Payment methods: compact */
  .ycf-payment-option { padding: 10px 12px; gap: 8px; }
  .ycf-payment-option__label { font-size: 0.82rem; }
  .ycf-payment-option__card { font-size: 0.78rem; }

  /* Back link: smaller */
  .ycf-back { font-size: 0.78rem; margin-bottom: 8px; }

  /* Two-column row: always stack on small phones */
  .yb-auth-row { grid-template-columns: 1fr; gap: 12px; }

  /* Checkout divider text */
  .yb-checkout-divider { font-size: 0.78rem; }
}

/* ── Extra small phones (320px, iPhone SE) ── */
@media (max-width: 360px) {
  .yb-auth-modal { padding: 4px; }
  .yb-auth-modal__box { padding: 20px 14px; }
  .ycf-box { padding: 20px 12px; }
  .yb-auth-modal__title { font-size: 1.1rem; }
  .yb-auth-form input,
  .yb-auth-form select { padding: 9px 10px; }
  .yb-auth-submit { padding: 11px 14px; }
  .yb-auth-consent__item { font-size: 0.72rem; }
}

/* ═══════════════════════════════════════════════════════════
   ADMIN PANEL — ADDITIONAL MOBILE IMPROVEMENTS
   Better touch targets, user detail, and table column hiding
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet: hide less important user table columns ── */
@media (max-width: 1024px) {
  #yb-user-table th:nth-child(6),
  #yb-user-table td:nth-child(6) { display: none; }  /* tier */
}

/* ── Mobile: user table and detail improvements ── */
@media (max-width: 768px) {
  /* Hide more user table columns */
  #yb-user-table th:nth-child(4),
  #yb-user-table td:nth-child(4),  /* phone */
  #yb-user-table th:nth-child(6),
  #yb-user-table td:nth-child(6),  /* tier */
  #yb-user-table th:nth-child(7),
  #yb-user-table td:nth-child(7),  /* waiver */
  #yb-user-table th:nth-child(8),
  #yb-user-table td:nth-child(8),  /* mb */
  #yb-user-table th:nth-child(9),
  #yb-user-table td:nth-child(9) { display: none; }  /* joined */

  /* User detail: compact sections */
  #yb-admin-v-user-detail .yb-admin__section-divider { margin: 0.75rem 0; }
  #yb-admin-v-user-detail h3 { font-size: 0.88rem !important; margin-bottom: 0.5rem !important; }
  #yb-admin-v-user-detail .yb-lead__actions { gap: 0.3rem; }
  #yb-admin-v-user-detail .yb-lead__actions .yb-btn { font-size: 0.75rem; padding: 5px 8px; }

  /* User profile card: stack meta */
  .yb-admin__user-meta { gap: 0.5rem; }
  .yb-admin__user-meta > div { font-size: 0.82rem; }

  /* User invoices table inside detail: scrollable */
  #yb-admin-user-invoices .yb-admin__table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  #yb-admin-user-invoices .yb-admin__table { min-width: 400px; font-size: 0.78rem; }

  /* Filter dropdowns: improve touch targets */
  .yb-lead__filter-bar .yb-admin__select,
  .yb-lead__filter-bar .yb-lead__filter {
    min-height: 40px;
    font-size: 16px;  /* prevent iOS zoom */
  }
  .yb-lead__search-input { min-height: 40px; font-size: 16px; }

  /* Admin view head buttons: better wrapping */
  .yb-admin__view-head .yb-lead__toolbar-right {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
  }
  .yb-admin__view-head .yb-lead__toolbar-right .yb-btn {
    font-size: 0.72rem;
    padding: 5px 8px;
    white-space: nowrap;
  }

  /* Section titles in admin */
  .yb-lead__section-title { font-size: 0.85rem; }

  /* Back button: better tap target */
  .yb-admin__back-btn { min-height: 36px; font-size: 0.85rem; padding: 6px 10px; }

  /* Enrollment form: compact */
  .yb-admin__enroll-form .yb-admin__select { font-size: 16px; min-height: 40px; }

  /* Note form: better touch */
  .yb-lead__note-input { min-height: 40px; font-size: 16px; }
}

/* ── Small mobile admin improvements ── */
@media (max-width: 480px) {
  /* User table: also hide email column, show only name + role + actions */
  #yb-user-table th:nth-child(3),
  #yb-user-table td:nth-child(3) { display: none; }  /* email */

  /* Admin tabs: improve scrollability hint */
  .yb-admin .yb-profile__tabs {
    -webkit-mask-image: linear-gradient(to right, black 90%, transparent);
    mask-image: linear-gradient(to right, black 90%, transparent);
  }

  /* User detail: full-width buttons */
  #yb-admin-v-user-detail .yb-lead__actions {
    flex-direction: column;
  }
  #yb-admin-v-user-detail .yb-lead__actions .yb-btn { width: 100%; text-align: center; }

  /* View head buttons: stack */
  .yb-admin__view-head .yb-lead__toolbar-right {
    width: 100%;
  }
  .yb-admin__view-head .yb-lead__toolbar-right .yb-btn { flex: 1; text-align: center; }

  /* Billing invoices filter: full width */
  #yb-billing-invoice-filter { width: 100%; }
}

/* ═══════════════════════════════════════════════════════
   VIDEO TUTORIAL WIDGET  (.yvt-*)
   Floating bottom-right widget — per-page video guides
   Triggered via front matter: videoTutorial: {...}
   Design: Variant F — Resend-style dark thumbnail card
═══════════════════════════════════════════════════════ */

.yvt-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9800;
  width: 248px;
  border-radius: 14px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 40px rgba(0,0,0,.55), 0 2px 8px rgba(0,0,0,.35);
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.38s cubic-bezier(.22,1,.36,1), opacity 0.35s ease, width 0.28s ease;
  will-change: transform, opacity;
}

.yvt-widget--visible {
  transform: translateY(0);
  opacity: 1;
}

.yvt-widget--expanded {
  width: 320px;
}

/* ── Explainer mode: wider to fit 480×270 component ── */
.yvt-widget--explainer.yvt-widget--expanded {
  width: 480px;
}
@media (max-width: 520px) {
  .yvt-widget--explainer.yvt-widget--expanded {
    width: calc(100vw - 24px);
  }
}

/* ── Preview (resting) state ── */
.yvt-preview {
  position: relative;
}

.yvt-preview__thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.yvt-preview__thumb img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.yvt-preview__thumb:hover img {
  opacity: 0.85;
}

.yvt-preview__bar {
  padding: 11px 13px 13px;
}

.yvt-preview__title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0;
}

.yvt-dismiss {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,.75);
  line-height: 0;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yvt-dismiss:hover {
  background: rgba(247,92,3,.85);
  border-color: rgba(247,92,3,.5);
  color: #fff;
}

/* ── Player (expanded) state ── */
.yvt-player__video-wrap {
  background: #000;
}

.yvt-player__video {
  display: block;
  width: 100%;
  height: 180px; /* 320px × 9/16 */
  object-fit: contain;
}

.yvt-player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 12px 13px;
  gap: 8px;
}

.yvt-player__title {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  letter-spacing: -0.01em;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.yvt-player__controls {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.yvt-player__minimize,
.yvt-player__close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  line-height: 0;
  padding: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yvt-player__minimize:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.25);
  color: #fff;
}

.yvt-player__close:hover {
  background: rgba(247,92,3,.85);
  border-color: rgba(247,92,3,.5);
  color: #fff;
}

/* ===== Apply Form Wizard ===== */
.yb-wizard__nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-start;
}

.yb-wizard__nav .yb-btn {
  flex: 1;
  max-width: 180px;
}

.yb-wizard__nav .yb-btn.is-hidden {
  display: none;
}

/* Review Summary Section */
.yb-review {
  background: #f5f3f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.yb-review__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0f0f0f;
}

.yb-review__section {
  background: white;
  border: 1px solid #e8e4e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.yb-review__section-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f0f0f;
  border-bottom: 2px solid #f75c03;
  padding-bottom: 8px;
}

.yb-review__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.yb-review__list li {
  padding: 8px 0;
  color: #6f6a66;
  font-size: 0.95rem;
}

.yb-review__list li:before {
  content: "✓ ";
  color: #f75c03;
  font-weight: bold;
  margin-right: 8px;
}

.yb-review__contact {
  display: grid;
  gap: 12px;
}

.yb-review__field {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #e8e4e0;
}

.yb-review__field:last-child {
  border-bottom: none;
}

.yb-review__label {
  font-weight: 600;
  color: #0f0f0f;
  min-width: 140px;
}

.yb-review__payment p {
  margin: 6px 0;
  color: #6f6a66;
  font-size: 0.95rem;
}

.yb-review__actions {
  margin-top: 24px;
  text-align: center;
}

.yb-review__actions .yb-btn {
  max-width: 200px;
}

/* Message Styles */
.yb-msg {
  display: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 16px;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.yb-msg--success {
  background: #ECFDF5;
  color: #166534;
  border: 1px solid #D1FAE5;
}

.yb-msg--error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FEE;
}

/* Mobile */
@media (max-width: 480px) {
  .yvt-widget {
    right: 12px;
    bottom: 16px;
    width: 220px;
  }
  .yvt-widget--expanded {
    width: 280px;
  }
  .yvt-preview__thumb img {
    height: 124px;
  }
  .yvt-player__video {
    height: 157px; /* 280px × 9/16 */
  }

  .yb-wizard__nav {
    flex-direction: column;
  }

  .yb-wizard__nav .yb-btn {
    max-width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────
   CAROUSEL — Studio Pictures
   ───────────────────────────────────────────────────────────── */
.yba-carousel-wrapper {
  position: relative;
}

.yba-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  background: #f5f3f0;
}

.yba-carousel__track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.yba-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yba-carousel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yba-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(247, 92, 3, 0.85);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  line-height: 0;
}

.yba-carousel__btn:hover {
  background: #f75c03;
  transform: translateY(-50%) scale(1.1);
}

.yba-carousel__btn:active {
  transform: translateY(-50%) scale(0.95);
}

.yba-carousel__btn--prev {
  left: 20px;
}

.yba-carousel__btn--next {
  right: 20px;
}

.yba-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  background: #fff;
}

.yba-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e8e4e0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
  padding: 0;
}

.yba-carousel__dot:hover {
  background: #d4cfc8;
  transform: scale(1.2);
}

.yba-carousel__dot.active {
  background: #f75c03;
}

/* ═══════════════════════════════════════════════════════════════
   SEQUENCES ADMIN (yb-seq__)
   ═══════════════════════════════════════════════════════════════ */
.yb-seq__card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px;
  margin-top: 16px;
}
.yb-seq__card {
  background: #FFFCF9; border: 1px solid #E8E4E0; border-radius: 12px;
  padding: 16px; transition: border-color 0.2s, box-shadow 0.2s;
}
.yb-seq__card:hover { border-color: #f75c03; box-shadow: 0 2px 8px rgba(247,92,3,0.08); }
.yb-seq__card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.yb-seq__card-header h3 { margin: 0; font-size: 15px; flex: 1; }
.yb-seq__card-desc { font-size: 13px; color: #6F6A66; margin-bottom: 12px; }
.yb-seq__card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; font-size: 12px; }
.yb-seq__card-meta span { padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.yb-seq__card-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.yb-seq__badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px;
}
.yb-seq__badge--manual { background: #E8E4E0; color: #6F6A66; }
.yb-seq__badge--new_lead { background: #DCEDC8; color: #33691E; }
.yb-seq__badge--status_change { background: #B3E5FC; color: #01579B; }
.yb-seq__badge--active { background: #E8F5E9; color: #2E7D32; }
.yb-seq__badge--paused { background: #FFF3CD; color: #856404; }

/* Fieldsets */
.yb-seq__fieldset {
  border: 1px solid #E8E4E0; border-radius: 12px; padding: 16px 20px;
  margin: 16px 0; background: #FFFCF9;
}
.yb-seq__fieldset legend {
  font-weight: 700; font-size: 14px; padding: 0 8px; color: #0F0F0F;
}
.yb-seq__conditions-hint {
  font-size: 13px; color: #6F6A66; margin: 0 0 12px;
}

/* Exit conditions */
.yb-seq__exit-checks {
  display: flex; flex-wrap: wrap; gap: 12px 24px;
}
.yb-seq__exit-checks label {
  display: flex; align-items: center; gap: 6px; font-size: 13px; cursor: pointer;
}
.yb-seq__exit-checks input[type="checkbox"] { accent-color: #f75c03; }

/* Active toggle */
.yb-seq__toggle {
  position: relative; display: inline-block; width: 44px; height: 24px; cursor: pointer;
}
.yb-seq__toggle input { opacity: 0; width: 0; height: 0; }
.yb-seq__toggle-slider {
  position: absolute; inset: 0; background: #ccc; border-radius: 24px;
  transition: background 0.2s;
}
.yb-seq__toggle-slider::before {
  content: ''; position: absolute; width: 18px; height: 18px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform 0.2s;
}
.yb-seq__toggle input:checked + .yb-seq__toggle-slider { background: #f75c03; }
.yb-seq__toggle input:checked + .yb-seq__toggle-slider::before { transform: translateX(20px); }

/* Steps timeline */
.yb-seq__steps-timeline { position: relative; padding-left: 32px; }
.yb-seq__step {
  position: relative; margin-bottom: 20px; background: #fff; border: 1px solid #E8E4E0;
  border-radius: 10px; padding: 16px;
}
.yb-seq__step::before {
  content: ''; position: absolute; left: -25px; top: 28px; bottom: -22px;
  width: 2px; background: #E8E4E0;
}
.yb-seq__step:last-child::before { display: none; }
.yb-seq__step-dot {
  position: absolute; left: -32px; top: 16px; width: 16px; height: 16px;
  background: #f75c03; border: 2px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 2px #f75c03; z-index: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff; font-weight: 700;
}
.yb-seq__step-header {
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.yb-seq__step-header strong { font-size: 13px; flex: 1; }
.yb-seq__step-actions { display: flex; gap: 4px; }
.yb-seq__step-actions button {
  padding: 3px 8px; border: 1px solid #E8E4E0; border-radius: 6px;
  background: #fff; cursor: pointer; font-size: 12px; transition: border-color 0.15s;
}
.yb-seq__step-actions button:hover { border-color: #f75c03; }

.yb-seq__step-body { display: flex; flex-direction: column; gap: 10px; }
.yb-seq__step-row { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.yb-seq__step-row .yb-admin__field { flex: 1; min-width: 100px; margin: 0; }
.yb-seq__step-delay { display: flex; gap: 6px; align-items: center; font-size: 13px; }
.yb-seq__step-delay input[type="number"] {
  width: 60px; padding: 6px 8px; border: 1px solid #E8E4E0; border-radius: 8px;
  font-family: inherit; font-size: 13px; text-align: center;
}
.yb-seq__step-delay input:focus { border-color: #f75c03; outline: none; box-shadow: 0 0 0 3px rgba(247,92,3,0.1); }

.yb-seq__step-email, .yb-seq__step-sms {
  border-top: 1px dashed #E8E4E0; padding-top: 10px; margin-top: 4px;
}
.yb-seq__step-email label, .yb-seq__step-sms label { font-size: 12px; font-weight: 600; color: #6F6A66; }
.yb-seq__step-email input, .yb-seq__step-sms input,
.yb-seq__step-email textarea, .yb-seq__step-sms textarea {
  width: 100%; padding: 8px 10px; border: 1px solid #E8E4E0; border-radius: 8px;
  font-family: inherit; font-size: 13px; margin-top: 4px; box-sizing: border-box;
}
.yb-seq__step-email textarea { min-height: 120px; resize: vertical; }
.yb-seq__step-sms textarea { min-height: 60px; resize: vertical; }
.yb-seq__step-email input:focus, .yb-seq__step-sms input:focus,
.yb-seq__step-email textarea:focus, .yb-seq__step-sms textarea:focus {
  border-color: #f75c03; outline: none; box-shadow: 0 0 0 3px rgba(247,92,3,0.1);
}
.yb-seq__var-hints { font-size: 11px; color: #6F6A66; margin-top: 4px; font-style: italic; }
.yb-seq__sms-count { font-size: 11px; color: #6F6A66; text-align: right; margin-top: 2px; }

/* Enrollment management */
.yb-seq__enroll-search { margin-bottom: 16px; }
.yb-seq__enroll-search label { font-size: 13px; font-weight: 600; margin-bottom: 4px; display: block; }
.yb-seq__lead-search-wrap { position: relative; max-width: 400px; }
.yb-seq__lead-results {
  position: absolute; top: 100%; left: 0; right: 0; background: #fff;
  border: 1px solid #E8E4E0; border-radius: 10px; box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  max-height: 240px; overflow-y: auto; z-index: 20; margin-top: 4px;
}
.yb-seq__lead-result {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px;
  cursor: pointer; font-size: 13px; transition: background 0.1s;
}
.yb-seq__lead-result:hover { background: rgba(247,92,3,0.05); }
.yb-seq__lead-result-name { font-weight: 600; }
.yb-seq__lead-result-email { color: #6F6A66; }
.yb-seq__lead-result-type {
  margin-left: auto; padding: 2px 8px; border-radius: 10px; font-size: 11px;
  background: #E8E4E0; color: #6F6A66; font-weight: 600;
}

/* Enrollment status badges */
.yb-seq__enrollment-badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600;
}
.yb-seq__enrollment-badge--active { background: #E8F5E9; color: #2E7D32; }
.yb-seq__enrollment-badge--paused { background: #FFF3CD; color: #856404; }
.yb-seq__enrollment-badge--completed { background: #E3F2FD; color: #1565C0; }
.yb-seq__enrollment-badge--exited { background: #FFEBEE; color: #C62828; }

/* No sequences empty state */
.yb-seq__empty {
  text-align: center; padding: 40px 20px; color: #6F6A66; font-size: 14px;
}
.yb-seq__empty-icon { font-size: 48px; margin-bottom: 12px; }

@media (max-width: 640px) {
  .yb-seq__card-grid { grid-template-columns: 1fr; }
  .yb-seq__step-row { flex-direction: column; }
  .yb-seq__steps-timeline { padding-left: 24px; }
}
