/* ============================================================
   VIRTUAL CLASSES — vc.css
   Namespace: vc-*  (all custom classes prefixed vc-)
   ============================================================ */

/* ─── Local design tokens ──────────────────────────────────── */
:root {
  --teal:         #31b898;
  --teal-dim:     #28967C;
  --teal-light:   #5EC9AE;
  --teal-pale:    #EDF6F3;
  --teal-mist:    #F0FAF7;
  --sand-mid:     #F5EFE8;
  --sand-deep:    #E8DDD4;
  --rose-pale:    #F7EDE8;
  --forest:       #1C3832;
  --forest-mid:   #2A4F47;
  --forest-light: #3A6A60;
  --dark:         #1A2420;
  --mid:          #4A5E58;
  --muted:        #7A9490;
  --subtle:       #B0C4BF;
  --white:        #FDFAF7;
  --W:            1200px;
  --pad:          max(28px, calc((100% - var(--W)) / 2 + 48px));
}

/* ─── Body defaults ────────────────────────────────────────── */
body {
  background: var(--off-white);
  color: var(--dark);
}


/* ============================================================
   1. HERO
   ============================================================ */

.vc-hero {
  background: var(--dark);
  padding-top: 200px;
  padding-right: var(--pad);
  padding-bottom: 60px;
  padding-left: var(--pad);
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Watermark */
.vc-hero-watermark {
  position: absolute;
  bottom: -24px;
  left: -16px;
  font-family: var(--font-serif);
  font-size: clamp(140px, 22vw, 280px);
  font-weight: 600;
  line-height: 1;
  color: var(--white);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
}

/* Inner grid: text left, badge right */
.vc-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  position: relative;
  z-index: 1;
}

/* Breadcrumb */
.vc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 400;
  color: var(--subtle);
  margin-bottom: 24px;
}
.vc-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.vc-breadcrumb a:hover { color: var(--teal-light); }
.vc-breadcrumb-sep { color: var(--subtle); opacity: 0.5; }

/* Eyebrow */
.vc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 16px;
}
.vc-eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1.5px;
  background: var(--teal-light);
  opacity: 0.7;
  flex-shrink: 0;
}

/* H1 */
.vc-hero-h1 {
  font-family: var(--font-serif);
  font-size: var(--type-display);
  font-weight: 400;
  line-height: 1.06;
  color: var(--white);
  margin: 0 0 22px;
}
.vc-hero-h1 em {
  font-style: italic;
  color: var(--teal-light);
}

/* Sub text */
.vc-hero-sub {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: white;
  max-width: 540px;
  margin: 0;
}

/* Badge box */
.vc-hero-badge {
  background: rgba(255,254,251,0.07);
  border: 1px solid rgba(255,254,251,0.12);
  border-radius: 20px;
  padding: 24px 28px;
  text-align: center;
  flex-shrink: 0;
  min-width: 170px;
  backdrop-filter: blur(8px);
}
.vc-hero-badge-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}
.vc-hero-badge-title {
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--teal-light);
  margin-bottom: 6px;
}
.vc-hero-badge-desc {
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 400;
  color: white;
  line-height: 1.5;
}


/* ============================================================
   2. FILTER BAR (sticky nav tabs)
   ============================================================ */

.vc-filter-bar {
  background: var(--white);
  border-bottom: 1px solid var(--sand-deep);
  position: sticky;
  top: 68px;
  z-index: 100;
}

.vc-filter-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 var(--pad);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.vc-filter-inner::-webkit-scrollbar { display: none; }

.vc-ftab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 18px 24px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 400;
  color: var(--muted);
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.18s, border-color 0.18s;
  outline-offset: 2px;
  text-decoration: none;
}
.vc-ftab:hover { color: var(--dark); }
.vc-ftab.active {
  color: var(--dark);
  font-weight: 500;
  border-bottom-color: var(--teal);
}


/* ============================================================
   3. SECTION UTILITY
   ============================================================ */

.vc-section {
  padding: 64px var(--pad);
}
.vc-section.alt {
  background: var(--white);
}
.vc-section.sand {
  background: var(--off-white);
}

/* Section label (eyebrow) */
.vc-sl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.vc-sl::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1.5px;
  background: var(--teal);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Section h2 */
.vc-sh2 {
  font-family: var(--font-serif);
  font-size: var(--type-h1);
  font-weight: 400;
  line-height: 1.1;
  color: var(--dark);
  margin: 0 0 12px;
}
.vc-sh2 em {
  font-style: italic;
  color: var(--teal-dim);
}
.vc-sh2.inv em {
  color: var(--teal-light);
}

/* Section sub paragraph */
.vc-sp {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 400;
  line-height: var(--lh-body);
  color: var(--mid);
  max-width: 560px;
  margin: 0 0 40px;
}

/* Section header block */
.vc-section-hd {
  margin-bottom: 40px;
}


/* ============================================================
   4. UPCOMING WEBINAR CARDS (.wcard)
   ============================================================ */

.vc-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Full card */
.wcard {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.wcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Dark top portion */
.wcard-top {
  background: var(--forest);
  padding: 20px 24px 16px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Date box */
.wcard-date {
  background: var(--teal-pale);
  border-radius: 12px;
  padding: 10px 14px;
  text-align: center;
  flex-shrink: 0;
  min-width: 52px;
}
.wcard-date-month {
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dim);
  display: block;
  margin-bottom: 2px;
}
.wcard-date-day {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
  display: block;
}

/* Card header (next to date) */
.wcard-header {
  flex: 1;
  min-width: 0;
}

/* Category badge */
.wcard-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.wb-glp1      { background: rgba(49,184,152,0.18); color: var(--teal-light); }
.wb-nutrition { background: rgba(196,145,124,0.18); color: #e6a88a; }
.wb-lifestyle { background: rgba(176,196,191,0.18); color: var(--subtle); }
.wb-exercise  { background: rgba(58,106,96,0.20); color: var(--teal-light); }
.wb-default   { background: rgba(255,254,251,0.10); color: var(--subtle); }

/* Card title */
.wcard-title {
  font-family: var(--font-serif);
  font-size: var(--type-body-lg);
  font-weight: 400;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
}

/* Card body */
.wcard-body {
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  gap: 14px;
}

/* Time/duration row */
.wcard-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.wcard-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 400;
  color: var(--mid);
}
.wcard-meta-icon {
  opacity: 0.55;
  font-size: var(--type-small);
}

/* Card footer */
.wcard-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.wcard-free {
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 400;
  color: var(--teal-dim);
  letter-spacing: 0.02em;
}
.wcard-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: var(--teal);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.wcard-register:hover {
  background: var(--teal-dim);
  transform: translateY(-1px);
}

/* No upcoming state */
.vc-no-upcoming {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 400;
}


/* ============================================================
   5. ON-DEMAND FILTER PILLS
   ============================================================ */

.vc-od-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.vc-od-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 400;
  color: var(--mid);
  background: transparent;
  border: 1.5px solid var(--sand-deep);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  outline-offset: 2px;
}
.vc-od-tab:hover {
  border-color: var(--teal);
  color: var(--dark);
}
.vc-od-tab.active {
  background: var(--teal-pale);
  border-color: var(--teal);
  color: var(--teal-dim);
  font-weight: 500;
}


/* ============================================================
   6. ON-DEMAND CARDS (.vc-od-card)
   ============================================================ */

.vc-od-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.vc-od-card {
  background: var(--white);
  border: 1px solid rgba(26,36,32,0.07);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(26,36,32,0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.vc-od-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(26,36,32,0.12);
  border-left: 3px solid var(--teal, #31B898);
}

/* Thumbnail area */
.vc-od-thumb {
  position: relative;
  height: 120px;
  overflow: hidden;
  flex-shrink: 0;
}
.vc-od-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vc-od-thumb-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--forest) 0%, var(--forest-mid) 60%, var(--teal-dim) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-od-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,254,251,0.18);
  border: 1.5px solid rgba(255,254,251,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}
.vc-od-card:hover .vc-od-play {
  background: rgba(255,254,251,0.28);
  transform: scale(1.08);
}
.vc-od-play svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
  margin-left: 2px;
}
/* Overlay play on image thumb */
.vc-od-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,36,32,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.vc-od-card:hover .vc-od-thumb-overlay {
  background: rgba(26,36,32,0.48);
}

/* Badge on thumb */
.vc-od-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.vc-odb-webinar { background: rgba(49,184,152,0.22); color: var(--teal-light); }
.vc-odb-tips    { background: rgba(196,145,124,0.22); color: #e8a882; }
.vc-odb-workout { background: rgba(58,106,96,0.22); color: var(--teal-light); }

/* Card body */
.vc-od-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.vc-od-title {
  font-family: var(--font-serif);
  font-size: var(--type-body-lg);
  font-weight: 400;
  line-height: 1.35;
  color: var(--forest);
  margin: 0;
  transition: color 0.2s;
}
.vc-od-card:hover .vc-od-title { color: var(--teal-dim); }

.vc-od-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 8px;
}
.vc-od-meta-item {
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 400;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.vc-od-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--subtle);
  display: inline-block;
}

/* Empty state for on-demand */
.vc-od-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 400;
}


/* ============================================================
   7. ACCESS BAND (#access)
   ============================================================ */

.vc-access {
  background: var(--forest);
  padding: 96px var(--pad);
  position: relative;
  overflow: hidden;
}
/* Subtle glow */
.vc-access::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--teal);
  opacity: 0.06;
  pointer-events: none;
}
.vc-access-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.vc-access-icon {
  font-size: 40px;
  flex-shrink: 0;
  opacity: 0.9;
}
.vc-access-text {}
.vc-access-h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  font-weight: 400;
  line-height: 1.1;
  color: var(--white);
  margin: 0 0 10px;
}
.vc-access-h2 em {
  font-style: italic;
  color: var(--teal-light);
}
.vc-access-p {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 400;
  color: white;
  margin: 0 0 24px;
  line-height: var(--lh-body);
  max-width: 480px;
}
.vc-access-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.vc-btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--teal);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.vc-btn-teal:hover {
  background: var(--teal-dim);
  transform: translateY(-2px);
}
.vc-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  background: transparent;
  color: var(--subtle);
  border: 1.5px solid rgba(176,196,191,0.3);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.vc-btn-ghost:hover {
  color: var(--white);
  border-color: rgba(176,196,191,0.6);
  transform: translateY(-2px);
}


/* ============================================================
   8. CTA BAND
   ============================================================ */

.vc-cta {
  background: var(--sand-mid);
  padding: 96px var(--pad);
}
.vc-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.vc-cta-left {}
.vc-cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: var(--type-caption);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dim);
  margin-bottom: 10px;
}
.vc-cta-h2 {
  font-family: var(--font-serif);
  font-size: var(--type-h2);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin: 0 0 6px;
}
.vc-cta-p {
  font-family: var(--font-sans);
  font-size: var(--type-body);
  font-weight: 400;
  color: var(--mid);
  margin: 0;
}
.vc-cta-btns {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.vc-btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: var(--dark);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}
.vc-btn-dark:hover {
  background: var(--forest);
  transform: translateY(-2px);
}
.vc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: transparent;
  color: var(--mid);
  border: 1.5px solid var(--sand-deep);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: var(--type-small);
  font-weight: 400;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}
.vc-btn-outline:hover {
  color: var(--dark);
  border-color: var(--mid);
  transform: translateY(-2px);
}


/* ============================================================
   9. VIDEO MODAL
   ============================================================ */

.vc-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,36,32,0.82);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.vc-modal.open {
  display: flex;
}
.vc-modal-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  background: var(--dark);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(26,36,32,0.5);
}
.vc-modal-ratio {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.vc-modal-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.vc-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,254,251,0.15);
  border: 1px solid rgba(255,254,251,0.2);
  color: var(--white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.vc-modal-close:hover { background: rgba(255,254,251,0.25); }


/* ============================================================
   10. SKELETON LOADERS
   ============================================================ */

@keyframes vc-shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.vc-skeleton {
  background: linear-gradient(90deg, var(--sand-deep) 25%, var(--sand-mid) 50%, var(--sand-deep) 75%);
  background-size: 600px 100%;
  animation: vc-shimmer 1.4s infinite linear;
  border-radius: 6px;
}
.vc-skeleton-card {
  background: var(--white);
  border: 1px solid var(--sand-deep);
  border-radius: 20px;
  overflow: hidden;
}
.vc-skeleton-top {
  background: var(--forest);
  opacity: 0.5;
  height: 100px;
}
.vc-skeleton-body {
  padding: 16px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vc-skeleton-line {
  height: 13px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--sand-deep) 25%, var(--sand-mid) 50%, var(--sand-deep) 75%);
  background-size: 600px 100%;
  animation: vc-shimmer 1.4s infinite linear;
}


/* ============================================================
   11. RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .vc-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .vc-hero-badge {
    align-self: flex-start;
  }
  .vc-upcoming-grid {
    grid-template-columns: 1fr;
  }
  .vc-od-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vc-access-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .vc-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .vc-hero {
    padding-bottom: 56px;
  }
  .vc-od-grid {
    grid-template-columns: 1fr;
  }
  .vc-section {
    padding: 64px var(--pad);
  }
  .vc-access {
    padding: 64px var(--pad);
  }
  .vc-cta {
    padding: 64px var(--pad);
  }
  .vc-filter-inner {
    padding: 0 20px;
  }
}
