/* ═══════════════════════════════════════════════════════════════════════════
   LILIAN INSPIRES — Design System
   Based on Figma design tokens, adapted for author digital platform
   ═══════════════════════════════════════════════════════════════════════════ */

/* Design tokens (:root) live in style.css, which this file's wp_enqueue_style
   dependency (inc/assets.php: 'ln-sections' depends on 'ln-main') guarantees
   loads first — this used to redeclare a byte-for-byte duplicate :root here,
   which silently re-applied the OLD token values after style.css (since
   this file loads later) for anything both files defined, and never picked
   up newer tokens (the type/spacing scale) added only to style.css. */

/* ── SVG Icon System ────────────────────────────────────────────────────── */
/*  Replaces all emoji icons with clean, minimal line-style SVGs */

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Filled icons override stroke → fill */
.icon-filled svg,
.icon.filled svg {
  fill: currentColor;
  stroke: none;
}

/* Sizing */
.icon-sm  { font-size: 0.75rem; }
.icon-md  { font-size: 1.1rem; }
.icon-lg  { font-size: 1.4rem; }
.icon-xl  { font-size: 1.75rem; }
.icon-2xl { font-size: 2.5rem; }

/* ── Reset & Base ────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  background-image:
    linear-gradient(180deg, rgba(249, 250, 247, 0.55) 0%, rgba(249, 250, 247, 0.28) 100%),
    var(--ln-bg-image, url('../../images/hero-bg.jpg'));
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: var(--font-body);
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* ── Typography ──────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.125rem; }

/* ── Utility Classes ─────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section-py {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-label span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-accent);
  font-family: var(--font-body);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  line-height: 1;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  border: 1.5px solid rgba(63, 94, 74, 0.3);
  color: var(--color-primary);
}
.btn-outline:hover {
  background: rgba(63, 94, 74, 0.05);
  border-color: var(--color-primary);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 600;
}
.btn-accent:hover {
  background: var(--color-accent-hover);
}

.btn-sm {
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
}

.btn-lg {
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem;
}

/* ── Grid & Layout Helpers ───────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

@media (max-width: 1024px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr; }
  :root { --section-py: 4rem; }
}

/* ── Header / Navigation ─────────────────────────────────────────────────── */
/* .site-header positioning is in style.css (theme structural layer) */
.site-header {
  transition: all var(--transition-slow);
  padding: 1.25rem 0;
}

.site-header.scrolled {
  padding: 0.75rem 0;
}

.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--color-white);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.logo-text .logo-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.1;
}

.logo-text .logo-tagline {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-secondary);
  font-weight: 500;
}

.header-nav { display: flex; align-items: center; gap: 0.25rem; } .header-nav > a { display: flex; align-items: center; padding: 0.5rem 0.75rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--color-text); text-decoration: none; border-radius: 6px; transition: background 0.2s, color 0.2s; white-space: nowrap; } .header-nav > a:hover { background: var(--color-muted); color: var(--color-primary); }

.header-nav a {
  font-size: 0.875rem;
  color: rgba(45, 45, 45, 0.7);
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}

.header-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.header-nav a:hover {
  color: var(--color-primary);
}

.header-nav a:hover::after {
  width: 100%;
}

/* ── Dropdown Navigation ───────────────────────────────────────────── */
.header-nav .nav-item {
  position: relative;
}

.header-nav .nav-trigger {
  font-size: 0.875rem;
  color: rgba(45, 45, 45, 0.7);
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0;
  position: relative;
  background: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color var(--transition-fast);
}

.header-nav .nav-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

.header-nav .nav-trigger:hover,
.header-nav .nav-trigger:focus-within {
  color: var(--color-primary);
}

.header-nav .nav-trigger:hover::after,
.header-nav .nav-item.open > .nav-trigger::after {
  width: 100%;
}

.header-nav .nav-trigger .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition-fast);
  opacity: 0.5;
}

.header-nav .nav-item.open > .nav-trigger .arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.header-nav .dropdown {
  position: absolute;
  top: 100%;
  left: -1rem;
  min-width: 200px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-base);
  z-index: 110;
}

.header-nav .nav-item.open > .dropdown,
.header-nav .nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-nav .dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.header-nav .dropdown a:hover {
  background: rgba(63, 94, 74, 0.06);
  color: var(--color-primary);
}

.header-nav .dropdown a::after {
  display: none;
}

.header-nav .dropdown .dropdown-label {
  display: block;
  padding: 0.4rem 1rem 0.3rem;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: 0.25rem;
}

/* ── Nav badge (e.g. NEW on Newsletter) ───────────────────────────── */
.nav-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15em 0.5em;
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-text);
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-btn {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: background var(--transition-fast);
}

.cart-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-btn:hover {
  background: rgba(63, 94, 74, 0.08);
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 1.125rem;
  height: 1.125rem;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--color-text);
}

.mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .header-nav { display: flex; align-items: center; gap: 0.25rem; } .header-nav > a { display: flex; align-items: center; padding: 0.5rem 0.75rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--color-text); text-decoration: none; border-radius: 6px; transition: background 0.2s, color 0.2s; white-space: nowrap; } .header-nav > a:hover { background: var(--color-muted); color: var(--color-primary); }
  .header-actions .btn { display: none; }
  .mobile-toggle { display: block; }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: var(--color-bg);
    padding: 5rem 2rem 2rem;
    z-index: 200;
    transition: right var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: var(--shadow-xl);
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu a {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border-light);
    color: var(--color-text);
  }

  /* Mobile accordion */
  .mobile-menu .mobile-group {
    border-bottom: 1px solid var(--color-border-light);
  }

  .mobile-menu .mobile-group-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text);
    background: none;
    cursor: pointer;
  }

  .mobile-menu .mobile-group-trigger .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--color-text);
    transition: transform var(--transition-fast);
  }

  .mobile-menu .mobile-group.open > .mobile-group-trigger .arrow {
    transform: rotate(180deg);
  }

  .mobile-menu .mobile-sub {
    display: none;
    padding: 0 0 0.5rem 1rem;
    flex-direction: column;
  }

  .mobile-menu .mobile-group.open > .mobile-sub {
    display: flex;
  }

  .mobile-menu .mobile-sub a {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: none;
    color: rgba(45, 45, 45, 0.7);
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 150;
  }

  .mobile-overlay.active {
    display: block;
  }

  .mobile-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    padding: 0.5rem;
  }
}

/* ── Hero Section ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: transparent;
  overflow: hidden;
  padding-top: 5rem;
}

.hero-bg-dots {
  display: none;
}

.hero-blob-1 {
  display: none;
  position: absolute;
  top: 5rem;
  right: 0;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: rgba(107, 142, 110, 0.08);
  filter: blur(80px);
  pointer-events: none;
}

.hero-blob-2 {
  display: none;
  position: absolute;
  bottom: -5rem;
  left: 0;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(201, 166, 107, 0.06);
  filter: blur(80px);
  pointer-events: none;
}

.hero-content {
  display: flow-root;
}

.hero-copy {
  max-width: none;
  /* Uniform body font for ALL hero text, including lines that the editor
     saved without a <p> wrapper. Only .hero-title uses the heading font. */
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.85;
  color: #3d4340;
}

/* ── Hero body typography (structured paragraphs) ───────────────────────── */
.hero-copy .section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-accent);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}

.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.85;
  color: #3d4340;
  margin-bottom: 1.5rem;
}

.hero-copy .hero-lead {
  /* Same size as the other hero paragraphs — uniform homepage text. */
  font-size: 1.08rem;
  line-height: 1.85;
  color: #292e2b;
}

.hero-copy .hero-list {
  list-style: none;
  margin: 1.75rem 0;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-accent);
  border-radius: 0.9rem;
}

.hero-copy .hero-list li {
  position: relative;
  padding-left: 0;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.5;
}

.hero-copy .hero-list li::before {
  display: none;
}

.hero-copy .hero-quote {
  margin: 1.5rem 0;
  padding: 0.25rem 0 0.25rem 1.4rem;
  border-left: 3px solid var(--color-accent);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3a403d;
}

.hero-copy .hero-quote p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3a403d;
  margin-bottom: 0;
}

.hero-copy .hero-becoming {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3d4340;
}

.hero-copy .hero-becoming span {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.4;
  color: var(--color-accent);
}

.hero-copy .hero-signoff {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin: 1.75rem 0 0;
}

/* Two-column hero: image left, text right. */
.hero-image {
  float: left;
  width: 42%;
  max-width: 460px;
  margin: 0 3.25rem 2rem 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  color: #1e2320;
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  letter-spacing: -0.01em;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.5rem;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  padding: 0;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--color-text);
  font-weight: 500;
}

.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  stroke-width: 2.5;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--color-border-light);
}

.hero-stat-num {
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(45, 45, 45, 0.55);
  font-weight: 500;
  margin-top: 0.25rem;
}

.hero-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: none;
}

.hero-img {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(63, 94, 74, 0.15);
  background: var(--color-muted);
  max-width: 100%;
  width: 100%;
}

.hero-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top;
}

.hero-img-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.hero-img-card-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
}

.hero-img-card-role {
  font-size: 0.7rem;
  color: var(--color-secondary);
  font-weight: 500;
  margin-top: 0.125rem;
}

.hero-img-card-stars {
  display: flex;
  gap: 2px;
  margin-top: 0.5rem;
  color: var(--color-accent);
  font-size: 0.7rem;
}

.hero-float-badge {
  position: absolute;
  left: -1.5rem;
  top: 33%;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
}

.hero-float-badge .badge-icon {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.4;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  .hero-content {
    display: block;
  }
  .hero-image {
    float: none;
    width: 100%;
    max-width: 440px;
    margin: 0 auto 2rem;
  }
  .hero-float-badge { display: none; }
}

/* ── Section Headers ─────────────────────────────────────────────────────── */
.section-header {
  margin-bottom: 4rem;
}

.section-header.center {
  text-align: center;
}

.section-header.flex-between {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-top: 0.5rem;
  max-width: 32rem;
}

.section-header.center .section-title {
  max-width: none;
}

.section-desc {
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  max-width: 36rem;
  line-height: 1.7;
}

.section-header.center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

.view-all {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.875rem;
  transition: gap var(--transition-fast);
}
.view-all:hover { gap: 0.75rem; }

/* ── Book Cards ──────────────────────────────────────────────────────────── */
.books-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.book-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.book-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.book-card-img {
  position: relative;
  overflow: hidden;
  background: var(--color-muted);
  aspect-ratio: 3/4;
}

.book-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.book-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}

.book-badge.bestseller {
  background: var(--color-primary);
  color: var(--color-white);
}

.book-badge.new {
  background: var(--color-secondary);
  color: var(--color-white);
}

.book-badge.preorder {
  background: var(--color-accent);
  color: var(--color-text);
}

.book-card-body {
  padding: 1.25rem;
}

.book-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.book-card-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.75rem;
}

.book-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.75rem;
}

.book-stars {
  color: var(--color-accent);
  font-size: 0.7rem;
  display: flex;
  gap: 1px;
}

.book-stars svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
  stroke: none;
}

.book-rating-text {
  font-size: 0.7rem;
  color: rgba(45, 45, 45, 0.45);
}

.book-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-light);
}

.book-price {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-primary);
}

.book-price .original {
  font-weight: 400;
  color: rgba(45, 45, 45, 0.3);
  text-decoration: line-through;
  font-size: 0.75rem;
  margin-left: 0.5rem;
}

@media (max-width: 1024px) {
  .books-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .books-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
}

/* ── Audiobook Cards ─────────────────────────────────────────────────────── */
.audiobooks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.audiobook-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  align-items: center;
}

.audiobook-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.audiobook-cover {
  width: 100px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-muted);
}

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

.audiobook-info {
  flex: 1;
  min-width: 0;
}

.audiobook-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.audiobook-author {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.audiobook-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  color: var(--color-text-light);
}

.audiobook-duration {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.audiobook-play {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
  font-size: 0.8rem;
}

.audiobook-play:hover {
  background: var(--color-primary-hover);
}

@media (max-width: 1024px) {
  .audiobooks-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .audiobooks-grid { grid-template-columns: 1fr; }

.audiobook-card-img { aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--color-muted); }
.audiobook-card-img img { width: 100%; height: 100%; object-fit: cover; }
.audiobook-card-body { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.audiobook-badge { display: inline-block; font-size: 0.7rem; font-weight: 600; color: var(--color-primary); background: rgba(63,94,74,0.08); padding: 0.3rem 0.7rem; border-radius: var(--radius-full); margin-bottom: 0.75rem; align-self: flex-start; }
.audiobook-card-title { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.25rem; }
.audiobook-card-narrator { font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.audiobook-card-desc { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; margin-bottom: 1rem; flex: 1; }
.audiobook-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 0.75rem; border-top: 1px solid var(--color-border-light); }
.audiobook-card-price { font-weight: 600; font-size: 0.9rem; color: var(--color-primary); }

}

/* ── Blog Cards ──────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.blog-card-img {
  overflow: hidden;
  background: var(--color-muted);
  aspect-ratio: 16/10;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blog-card-body {
  padding: 1.5rem;
}

.blog-card-category {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-secondary);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--color-primary);
}

.blog-card-excerpt {
  font-size: 0.825rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.blog-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(45, 45, 45, 0.35);
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}
.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-card-meta svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── Video Cards ─────────────────────────────────────────────────────────── */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.video-thumb {
  position: relative;
  background: var(--color-muted);
  aspect-ratio: 16/9;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.video-card:hover .video-play-overlay {
  opacity: 1;
}

.video-play-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.video-duration {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.75);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
}

.video-card-body {
  padding: 1.25rem;
}

.video-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.375rem;
}

.video-card-views {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

/* ── Podcast Cards ───────────────────────────────────────────────────────── */
.podcasts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.podcast-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  align-items: center;
}

.podcast-card:hover {
  box-shadow: var(--shadow-lg);
}

.podcast-cover {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-muted);
}

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

.podcast-info {
  flex: 1;
}

.podcast-episode {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.podcast-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.podcast-desc {
  font-size: 0.825rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.podcast-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .podcasts-grid { grid-template-columns: 1fr; }
  .podcast-card { flex-direction: column; text-align: center; }
}

/* ── Resource Cards ──────────────────────────────────────────────────────── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.resource-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.resource-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 0 1.25rem;
  background: transparent;
}
.resource-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resource-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.resource-card-desc {
  font-size: 0.825rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.resource-download {
  color: var(--color-primary);
  font-weight: 500;
  font-size: 0.825rem;
}

@media (max-width: 1024px) {
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .resources-grid { grid-template-columns: 1fr; }
}


/* ── Blog Cards ──────────────────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}
.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.blog-card-img {
  position: relative;
  background: var(--color-muted);
  aspect-ratio: 16/10;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--color-primary);
  color: #fff;
}
.blog-card-body {
  padding: 1.25rem;
}
.blog-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 0.825rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-light);
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-light);
}
.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-card-meta svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ── Testimonial Cards ───────────────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 2rem;
  color: rgba(201, 166, 107, 0.4);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.testimonial-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--color-muted);
  overflow: hidden;
  flex-shrink: 0;
}

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

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
}

.testimonial-role {
  font-size: 0.7rem;
  color: var(--color-text-light);
}

.testimonial-stars {
  margin-left: auto;
  color: var(--color-accent);
  font-size: 0.65rem;
  display: flex;
  gap: 1px;
}

@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}

/* ── FAQ Accordion ───────────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  color: var(--color-text);
  font-size: 0.95rem;
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  width: 1rem;
  height: 1rem;
  position: relative;
  flex-shrink: 0;
  color: var(--color-accent);
  font-size: 0; /* suppress text — pseudo-elements draw the +/− */
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition-base);
}

.faq-icon::before {
  width: 100%;
  height: 2px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-icon::after {
  width: 2px;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ── Community / Social Hub ──────────────────────────────────────────────── */
.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.community-card {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.community-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.community-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.community-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.community-card-icon.youtube {
  background: rgba(255, 0, 0, 0.08);
  color: #FF0000;
}

.community-card-icon.tiktok {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.community-card-icon.podcast {
  background: rgba(63, 94, 74, 0.08);
  color: var(--color-primary);
}

.community-card-icon.newsletter {
  background: rgba(201, 166, 107, 0.12);
  color: var(--color-accent);
}

.community-card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.community-card-desc {
  font-size: 0.825rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.community-card-stat {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

.community-card-stat-label {
  font-size: 0.7rem;
  color: var(--color-text-light);
}

@media (max-width: 1024px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .community-grid { grid-template-columns: 1fr; }
}

/* ── Newsletter Section ──────────────────────────────────────────────────── */
.newsletter-section {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  max-width: var(--container-max);
  margin: 4rem auto;
  padding: 3.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.newsletter-bg {
  display: none;
}

.newsletter-content {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(63, 94, 74, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--color-primary);
}

.newsletter-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.newsletter-title {
  color: var(--color-text);
  margin-bottom: 0.75rem;
  font-size: 1.75rem;
}

.newsletter-desc {
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  line-height: 1.7;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
}

.newsletter-form input::placeholder {
  color: var(--color-text-light);
}

.newsletter-form input:focus {
  border-color: var(--color-primary);
}

.newsletter-form .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

.newsletter-privacy {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin-top: 0.75rem;
}

.newsletter-success {
  color: var(--color-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ── About Section ───────────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-main-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(63, 94, 74, 0.1);
  width: 100%;
}

.about-main-img img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}

.about-secondary-img {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 13rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-bg);
}

.about-secondary-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-accent-badge {
  position: absolute;
  top: 2rem;
  left: 0;
  right: auto;
  background: var(--color-accent);
  color: var(--color-white, #fff);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about-accent-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
}

.about-accent-label {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 0.25rem;
}

.about-copy .section-title {
  margin-bottom: 1.25rem;
}

.about-copy p {
  color: #232825;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.about-copy .about-lead {
  /* Same size as the other About paragraphs — uniform homepage text. */
  font-size: 1.1rem;
  line-height: 1.8;
  color: #1a1f1c;
  font-weight: 500;
}

.about-qualifications {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.about-qual {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: #3a403d;
  line-height: 1.5;
}

.about-qual-icon {
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.about-qual-icon::before {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.22);
}

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-images { max-width: 480px; margin: 0 auto; }
  .about-accent-badge { left: 0; }
}

/* ── Contact Section ─────────────────────────────────────────────────────── */
.contact-wrapper {
  background: var(--color-card);
  border-radius: var(--radius-2xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info .section-title {
  margin-bottom: 1.25rem;
}

.contact-info-desc {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-detail-icon {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-sm);
  background: rgba(63, 94, 74, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 0.85rem;
  height: 0.85rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-detail-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.contact-form-wrapper {
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--color-text);
  transition: border-color var(--transition-fast);
  width: 100%;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-secondary);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(45, 45, 45, 0.3);
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

@media (max-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr; padding: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--color-text);
  color: rgba(250, 249, 246, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(250, 249, 246, 0.5);
  margin: 1rem 0 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-social {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(250, 249, 246, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  color: rgba(250, 249, 246, 0.6);
}

.footer-social svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-social:hover {
  background: rgba(107, 142, 110, 0.5);
  color: var(--color-white);
}

/* Card-icon image replacement */
.card-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1rem;
  background: var(--color-muted);
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links a {
  font-size: 0.825rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(250, 249, 246, 0.08);
  font-size: 0.8rem;
  color: rgba(250, 249, 246, 0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

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

/* ── TikTok / Social Proof Section ───────────────────────────────────────── */
.tiktok-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.tiktok-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9/16;
  background: var(--color-muted);
  cursor: pointer;
  transition: transform var(--transition-base);
  text-decoration: none;
}

.tiktok-card:hover {
  transform: scale(1.03);
}

.tiktok-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tiktok-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
}

.tiktok-card-views {
  font-size: 0.75rem;
  font-weight: 500;
}

.tiktok-card-title {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

.tiktok-card-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #1a1a2e, #16213e);
  color: rgba(255, 255, 255, 0.85);
}

.tiktok-card-fallback svg {
  width: 2.5rem;
  height: 2.5rem;
}

.tiktok-card-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.tiktok-card-icon svg {
  width: 0.7rem;
  height: 0.7rem;
  fill: currentColor;
  stroke: none;
}

@media (max-width: 768px) {
  .tiktok-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── CTA Banner ──────────────────────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-2xl);
  padding: 4rem 3rem;
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-banner-dots {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, #FAF9F6 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
}

.cta-banner-title {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner-desc {
  color: rgba(250, 249, 246, 0.7);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Breadcrumb ──────────────────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb .sep {
  color: var(--color-border);
}

.breadcrumb .current {
  color: var(--color-primary);
  font-weight: 500;
}

/* ── Page Header ─────────────────────────────────────────────────────────── */
.page-header {
  background: var(--color-card);
  padding: 8rem 0 4rem;
  text-align: center;
}

.page-header-icon {
  margin-bottom: 1rem;
}

.page-header-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.page-header-title {
  margin-bottom: 0.75rem;
}

.page-header-desc {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Filter Bar ──────────────────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.filter-tabs {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
  background: transparent;
}

.filter-tab:hover {
  background: rgba(63, 94, 74, 0.05);
  color: var(--color-primary);
}

.filter-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
}

.filter-search {
  position: relative;
}

.filter-search input {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  font-size: 0.825rem;
  width: 240px;
  color: var(--color-text);
}

.filter-search .search-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  width: 1rem;
  height: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.filter-search .search-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Pagination ──────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 3rem;
}

.page-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.page-btn:hover {
  background: rgba(63, 94, 74, 0.06);
}

.page-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ── Cart Sidebar ────────────────────────────────────────────────────────── */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--color-bg);
  z-index: 300;
  box-shadow: var(--shadow-xl);
  transition: right var(--transition-base);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-sidebar-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
}

.cart-sidebar-close {
  padding: 0.25rem;
  font-size: 1.25rem;
  color: var(--color-text-light);
}

.cart-sidebar-items {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.cart-item-img {
  width: 60px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-muted);
  flex-shrink: 0;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.cart-item-type {
  font-size: 0.7rem;
  color: var(--color-text-light);
  margin-bottom: 0.5rem;
}

.cart-item-price {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-primary);
}

.cart-item-remove {
  font-size: 0.7rem;
  color: #c0392b;
  cursor: pointer;
  padding: 0.25rem;
}

.cart-sidebar-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  margin-bottom: 1rem;
}

.cart-total-amount {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-primary);
}

.cart-sidebar-footer .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.cart-continue {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 250;
}

.cart-overlay.open {
  display: block;
}

/* ── Notification / Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 0.875rem;
  z-index: 400;
  box-shadow: var(--shadow-xl);
  transform: translateY(120%);
  transition: transform var(--transition-base);
}

.toast.show {
  transform: translateY(0);
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* ── Misc ────────────────────────────────────────────────────────────────── */
.bg-card { background: var(--color-card); }
.bg-primary { background: var(--color-primary); }
.bg-muted { background: var(--color-muted); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* ── Dashboard Styles (Customer & Affiliate) ─────────────────────────────── */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 260px;
  background: var(--color-text);
  color: var(--color-white);
  padding: 2rem 0;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.dashboard-sidebar-brand {
  padding: 0 1.5rem 2rem;
  border-bottom: 1px solid rgba(250,249,246,0.08);
  margin-bottom: 1.5rem;
}

.dashboard-sidebar-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0 1rem;
}

.dashboard-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: rgba(250,249,246,0.6);
  transition: all var(--transition-fast);
}

.dashboard-sidebar-nav a:hover,
.dashboard-sidebar-nav a.active {
  background: rgba(250,249,246,0.08);
  color: var(--color-white);
}

.dashboard-sidebar-nav a .nav-icon {
  width: 1.25rem;
  height: 1.25rem;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dashboard-sidebar-nav a .nav-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dashboard-main {
  flex: 1;
  background: var(--color-card);
  padding: 2rem;
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-weight: 600;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.dash-stat-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.dash-stat-label {
  font-size: 0.75rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.dash-stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
}

.dashboard-table-wrap {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th {
  text-align: left;
  padding: 1rem 1.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-light);
  border-bottom: 1px solid var(--color-border-light);
  font-weight: 600;
}

.dashboard-table td {
  padding: 1rem 1.5rem;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-border-light);
}

.dashboard-table tr:hover td {
  background: rgba(63, 94, 74, 0.02);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
}

.status-badge.completed {
  background: rgba(107, 142, 110, 0.15);
  color: var(--color-secondary);
}

.status-badge.pending {
  background: rgba(201, 166, 107, 0.2);
  color: var(--color-accent);
}

.status-badge.active {
  background: rgba(63, 94, 74, 0.12);
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .dashboard-sidebar { width: 220px; }
  .dashboard-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .dashboard-layout { flex-direction: column; }
  .dashboard-sidebar { width: 100%; padding: 1rem; }
  .dashboard-sidebar-nav { flex-direction: row; flex-wrap: wrap; }
  .dashboard-main { padding: 1.5rem 1rem; }

}


/* ── Scrollbar ───────────────────────────────────────────────────────────── */


/* ── Card Grid System (Books, Events, Blog, Audiobooks) ────────────────── */

.books-grid,
.events-grid,
.blog-grid,
.audiobooks-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ── Event Card ─────────────────────────────────────────────────────── */
.event-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.event-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-muted);
}
.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-date-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  text-align: center;
  padding: 0.4rem 0.65rem;
  box-shadow: var(--shadow-sm);
  min-width: 3rem;
  z-index: 1;
}
.event-date-day {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.event-date-month {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
}
.event-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  background: rgba(63, 94, 74, 0.08);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
  align-self: flex-start;
}
.event-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}
.event-card-desc {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.event-card-meta {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.event-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.event-card-meta svg {
  width: 0.9rem;
  height: 0.9rem;
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.event-card-body .btn {
  align-self: flex-start;
  margin-top: 1rem;
}

/* ── Blog Card ───────────────────────────────────────────────────────── */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.blog-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--color-muted);
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-card-category {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--color-primary);
  color: #fff;
  z-index: 1;
}
.blog-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.blog-card-excerpt {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}
.blog-card-meta {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-card-meta svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Book Card ───────────────────────────────────────────────────────── */
.book-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.book-card-img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-muted);
}
.book-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book-card-subtitle {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.book-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.book-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}
.book-stars {
  display: flex;
  gap: 1px;
}
.book-stars svg {
  width: 0.9rem;
  height: 0.9rem;
}
.book-stars .star-filled svg {
  fill: var(--color-accent);
  stroke: var(--color-accent);
}
.book-stars .star-empty svg {
  fill: none;
  stroke: var(--color-border);
  stroke-width: 1.5;
}
.book-rating-text {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}
.book-card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.book-price {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-primary);
}
.book-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 1;
}
.book-badge.bestseller { background: var(--color-accent); color: #fff; }
.book-badge.new { background: var(--color-primary); color: #fff; }
.book-badge.preorder { background: var(--color-secondary); color: #fff; }

/* ── Audiobook Card ──────────────────────────────────────────────────── */
.audiobook-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
.audiobook-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.audiobook-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--color-muted);
}
.audiobook-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.audiobook-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.audiobook-card:hover .audiobook-play { opacity: 1; }
.audiobook-play svg {
  width: 3rem;
  height: 3rem;
  fill: var(--color-white);
  stroke: none;
}
.audiobook-info {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.audiobook-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.15rem;
  line-height: 1.3;
}
.audiobook-author {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.audiobook-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.audiobook-duration {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.audiobook-duration svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Responsive Grids ────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .books-grid,
  .events-grid,
  .blog-grid,
  .audiobooks-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
}


::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(63, 94, 74, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(63, 94, 74, 0.35); }

/* Dashboard sidebar nav icons */
.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.nav-icon svg {
  width: 100%;
  height: 100%;
}

/* Dashboard table download links */
.dashboard-table a[href="#"] svg,
.dashboard-table a svg {
  margin-right: 0.3rem;
  vertical-align: middle;
}
/* -- Desktop Navigation -------------------------------------------------- */
.header-nav { display: flex; align-items: center; gap: 0.25rem; } .header-nav > a { display: flex; align-items: center; padding: 0.5rem 0.75rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--color-text); text-decoration: none; border-radius: 6px; transition: background 0.2s, color 0.2s; white-space: nowrap; } .header-nav > a:hover { background: var(--color-muted); color: var(--color-primary); }
.nav-item { position: relative; }
.nav-trigger { display: flex; align-items: center; gap: 0.3rem; padding: 0.5rem 0.75rem; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; color: var(--color-text); border-radius: 6px; transition: background 0.2s, color 0.2s; text-decoration: none; white-space: nowrap; }
.nav-trigger:hover, .nav-item.open > .nav-trigger { background: var(--color-muted); color: var(--color-primary); }
.nav-trigger .arrow { display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; margin-top: -2px; }
.nav-item.open > .nav-trigger .arrow { transform: rotate(-135deg); margin-top: 2px; }
.dropdown { position: absolute; top: 100%; left: 0; min-width: 200px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.1); padding: 0.5rem 0; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; z-index: 1000; }
.nav-item.open > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 0.55rem 1.25rem; font-size: 0.875rem; color: var(--color-text); text-decoration: none; transition: background 0.15s, color 0.15s; }

/* ── Page Header (shared subpage hero) ─────────────────────────────────── */
.page-header { text-align: center; padding: 4rem 0 3rem; background: linear-gradient(180deg, rgba(63,94,74,0.04) 0%, transparent 100%); }
.page-header-icon { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; margin: 0 auto 1.5rem; box-shadow: var(--shadow-md); }
.page-header-icon img { width: 100%; height: 100%; object-fit: cover; }
.page-header-title { font-family: var(--font-heading); font-size: 2.75rem; font-weight: 700; color: var(--color-text); margin-bottom: 0.75rem; }
.page-header-desc { font-size: 1.05rem; color: var(--color-text-muted); max-width: 600px; margin: 0 auto; line-height: 1.6; }
.breadcrumb { font-size: 0.8rem; color: var(--color-text-light); margin-bottom: 1rem; }
.breadcrumb a { color: var(--color-primary); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 0.4rem; }
.breadcrumb .current { color: var(--color-text-muted); }

/* ── Section Padding ──────────────────────────────────────────────────── */
.section-py { padding-top: var(--section-py); padding-bottom: var(--section-py); }
@media (max-width: 768px) {
  .page-header { padding: 2.5rem 0 2rem; }
  .page-header-icon { width: 64px; height: 64px; }
  .page-header-title { font-size: 2rem; }
  .page-header-desc { font-size: 0.95rem; }
  .section-py { padding-top: 3rem; padding-bottom: 3rem; }
}
.dropdown a:hover { background: var(--color-muted); color: var(--color-primary); }

/* ── Mobile Navigation ──────────────────────────────────────────────────── */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
  color: var(--color-text);
  z-index: 1001;
}
.mobile-toggle svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1098;
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 1099;
  overflow-y: auto;
  padding: 5rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: right 0.3s ease;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
}
.mobile-menu.active {
  right: 0;
}

.mobile-menu > a {
  display: block;
  padding: 0.7rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-menu > a:hover {
  color: var(--color-primary);
}

.mobile-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.3rem;
  line-height: 1;
  color: var(--color-text);
}
.mobile-close svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--color-text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile accordion groups */
.mobile-group {
  border-bottom: 1px solid var(--color-border-light);
}
.mobile-group-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.7rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text);
  font-family: var(--font-body);
}
.mobile-group-trigger .arrow {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: rotate(45deg);
  transition: transform 0.25s;
  margin-left: 0.5rem;
  flex-shrink: 0;
}
.mobile-group.open .mobile-group-trigger .arrow {
  transform: rotate(-135deg);
}
.mobile-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 0.75rem;
}
.mobile-group.open .mobile-sub {
  max-height: 200px;
}
.mobile-sub a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.925rem;
  color: var(--color-text-muted);
  text-decoration: none;
}
.mobile-sub a:hover {
  color: var(--color-primary);
}

.nav-badge {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  letter-spacing: 0.04em;
  margin-left: 0.4rem;
  vertical-align: middle;
}

@media (max-width: 1024px) {
  .header-nav { display: none !important; }
  .header-actions .btn { display: none !important; }
  .mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
}


/* -----------------------------------------------------------------------
   CART SIDEBAR & TRIGGER
   ----------------------------------------------------------------------- */

/* Cart trigger button in header */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  border: 1.5px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-text);
  cursor: pointer;
  transition: all 0.2s;
}
.cart-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cart-btn svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Cart badge */
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  border-radius: 100px;
  line-height: 1;
}

/* Cart overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s, visibility 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }

/* Cart sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.12);
  transition: right 0.35s cubic-bezier(0.25, 0.8, 0.25, 1.2);
}
.cart-sidebar.open { right: 0; }

/* Cart sidebar header */
.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}
.cart-sidebar-header h3 { font-size: 1rem; margin: 0; font-weight: 600; }
.cart-sidebar-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0.25rem;
  transition: color 0.2s;
}
.cart-sidebar-close:hover { color: var(--color-text); }

/* Cart items container */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

/* Cart empty state */
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--color-text-muted);
}
.cart-empty svg { margin-bottom: 1rem; opacity: 0.4; }
.cart-empty p { margin: 0.25rem 0; font-size: 0.9rem; }

/* Cart item row */
.cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 56px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--color-bg);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.2rem; color: var(--color-text); }
.cart-item-meta { font-size: 0.7rem; color: var(--color-text-light); text-transform: uppercase; letter-spacing: 0.04em; }
.cart-item-price { font-weight: 600; font-size: 0.85rem; color: var(--color-text); white-space: nowrap; }
.cart-item-remove {
  position: absolute;
  top: 0.5rem;
  right: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--color-text-light);
  font-size: 1.1rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s;
}
.cart-item-remove:hover { color: #c0392b; background: rgba(192,57,43,0.06); }

/* Cart footer */
.cart-footer {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
}
.cart-total-amount { color: var(--color-primary); }
.cart-checkout-btn {
  width: 100%;
  text-align: center;
  display: block;
  margin-bottom: 0.5rem;
}
.cart-continue {
  width: 100%;
  background: none;
  border: none;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.4rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cart-continue:hover { color: var(--color-text); }

/* ── WhatsApp Floating Button ────────────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 9999;
  width: 3.5rem;
  height: 3.5rem;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  color: #fff;
}
.whatsapp-float svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}
.whatsapp-float-pulse {
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* hide on very small screens if it overlaps critical UI */
@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
  }
  .whatsapp-float svg {
    width: 1.35rem;
    height: 1.35rem;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   BOOK DETAIL PAGE (book-detail.html styles)
   ═══════════════════════════════════════════════════════════════════ */

.book-detail-layout { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; }
.book-detail-cover { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); position: sticky; top: 6rem; }
.book-detail-cover img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.book-detail-info h1 { margin-bottom: 0.25rem; }
.book-detail-subtitle { font-size: 1.1rem; color: var(--color-text-muted); font-style: italic; margin-bottom: 1rem; }
.book-detail-meta { display: flex; gap: 2rem; margin: 1.25rem 0; flex-wrap: wrap; }
.book-detail-meta-item { display: flex; flex-direction: column; }
.book-detail-meta-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-light); }
.book-detail-meta-value { font-weight: 600; font-size: 0.95rem; }
.book-detail-price-block { background: var(--color-card); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; }
.book-detail-price { font-family: var(--font-heading); font-size: 2rem; font-weight: 600; color: var(--color-primary); }
.book-detail-price .original { font-size: 1.1rem; color: var(--color-text-light); text-decoration: line-through; margin-left: 0.75rem; font-weight: 400; }
.book-detail-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.detail-tabs { display: flex; gap: 0; border-bottom: 2px solid var(--color-border-light); margin: 2.5rem 0 1.5rem; }
.detail-tab { padding: 0.75rem 1.5rem; font-weight: 500; font-size: 0.875rem; color: var(--color-text-muted); border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition-fast); cursor: pointer; background: none; border-top: none; border-left: none; border-right: none; }
.detail-tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.detail-panel { display: none; }
.detail-panel.active { display: block; }
.detail-panel p { color: var(--color-text-muted); line-height: 1.8; margin-bottom: 1rem; }
.reviews-list { display: flex; flex-direction: column; gap: 1.5rem; }
.review-card { background: var(--color-card); border-radius: var(--radius-lg); padding: 1.5rem; }
.review-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.review-avatar { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--color-muted); overflow: hidden; flex-shrink: 0; }
.review-name { font-weight: 600; font-size: 0.9rem; }
.review-date { font-size: 0.75rem; color: var(--color-text-light); }
.review-stars { color: var(--color-accent); font-size: 0.75rem; margin-left: auto; display: flex; gap: 1px; flex-shrink: 0; }
.review-stars svg { width: 14px; height: 14px; fill: var(--color-accent); }
.review-text { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.7; }
.related-books { margin-top: 3rem; }

@media (max-width: 768px) {
  .book-detail-layout { grid-template-columns: 1fr; }
  .book-detail-cover { max-width: 280px; position: static; }
  .detail-tabs { flex-wrap: wrap; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE: Community Hub
   ═══════════════════════════════════════════════════════════════════════════ */
.community-hero { padding: 8rem 2rem 2rem; text-align: center; background: linear-gradient(180deg, rgba(63,94,74,0.05) 0%, rgba(201,166,107,0.05) 100%); }
.community-hero h1 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 0.75rem; }
.community-hero p { color: var(--color-text-muted); max-width: 650px; margin: 0 auto; font-size: 1.05rem; }
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; max-width: 1000px; margin: -2rem auto 3rem; padding: 0 var(--container-px); position: relative; z-index: 1; }
.stat-card { background: var(--color-bg); border-radius: var(--radius-xl); padding: 1.5rem; text-align: center; box-shadow: var(--shadow-md); }
.stat-card-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--color-primary); }
.stat-card-label { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.25rem; }
.platforms-section { max-width: var(--container-max); margin: 0 auto 4rem; padding: 0 var(--container-px); }
.platforms-section h2 { font-family: var(--font-heading); font-size: 1.75rem; text-align: center; margin-bottom: 2rem; }
.platform-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.platform-card { background: var(--color-card); border-radius: var(--radius-xl); padding: 2rem; text-align: center; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.platform-card-icon { width: 4rem; height: 4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1rem; color: white; }
.pc-youtube { background: #FF0000; } .pc-tiktok { background: #000; } .pc-podcast { background: var(--color-primary); } .pc-newsletter { background: var(--color-accent); }
.platform-card h3 { font-weight: 600; margin-bottom: 0.5rem; }
.platform-card p { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.platform-card-stat { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--color-primary); }
.platform-card-stat-label { font-size: 0.7rem; color: var(--color-text-light); }
.newsletter-section-comm { max-width: var(--container-max); margin: 0 auto 4rem; padding: 3rem; background: var(--color-card); border-radius: var(--radius-2xl); text-align: center; }
.newsletter-section-comm h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.75rem; }
.newsletter-section-comm p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.newsletter-section-comm form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.newsletter-section-comm input { flex: 1; padding: 0.85rem 1.25rem; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-bg); }
.testimonials-preview { max-width: var(--container-max); margin: 0 auto 4rem; padding: 0 var(--container-px); }
.testimonials-preview h2 { font-family: var(--font-heading); font-size: 1.75rem; text-align: center; margin-bottom: 2rem; }
.events-preview { max-width: var(--container-max); margin: 0 auto 4rem; padding: 0 var(--container-px); }
.events-preview h2 { font-family: var(--font-heading); font-size: 1.75rem; text-align: center; margin-bottom: 2rem; }
@media (max-width: 768px) {
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .platform-cards { grid-template-columns: repeat(2, 1fr); }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE: Testimonials
   ═══════════════════════════════════════════════════════════════════════════ */
.testimonials-hero { padding: 8rem 2rem 2rem; text-align: center; background: linear-gradient(180deg, rgba(63,94,74,0.04) 0%, transparent 100%); }
.testimonials-hero h1 { font-family: var(--font-heading); font-size: 2.5rem; margin-bottom: 0.75rem; }
.testimonials-hero p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto; }
.testimonials-page-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--container-max); margin: 0 auto 4rem; padding: 0 var(--container-px); }
.testimonial-card-page { background: var(--color-card); border: 1px solid var(--color-border, #e8e2d7); border-radius: var(--radius-lg, 12px); padding: 1.75rem; display: flex; flex-direction: column; gap: 1rem; transition: transform var(--transition-base); }
.testimonial-card-page:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-stars { display: flex; gap: 0.25rem; }
.t-quote { font-size: 0.95rem; line-height: 1.65; color: var(--color-text, #5c5548); font-style: italic; flex: 1; }
.t-author { display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--color-border, #f0ebe0); padding-top: 1rem; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--color-muted); }
.t-name { display: block; font-weight: 600; font-size: 0.9rem; color: var(--color-heading, #3a3226); }
.t-role { display: block; font-size: 0.8rem; color: var(--color-text-muted, #9a8c7a); margin-top: 0.15rem; }
.share-story { background: var(--color-card); border-radius: var(--radius-2xl); padding: 3rem; text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.share-story h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.75rem; }
.share-story p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
@media (max-width: 768px) { .testimonials-page-grid { grid-template-columns: 1fr; } }


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE: FAQ (hero, categories, still-help — item styles are above in FAQ Accordion)
   ═══════════════════════════════════════════════════════════════════════════ */
/* .page-hero — used consistently across ~10 pages (audiobooks, community,
   contact, events, FAQ, podcasts, resources, testimonials, videos, WC shop
   archive). Consolidated from several previously-split/duplicated
   declarations (including a byte-for-byte duplicate under .faq-hero) into
   one block using the type/spacing scale tokens. h1 size intentionally
   left to inherit the global fluid h1 rule (var(--text-4xl)) instead of a
   smaller fixed 2.5rem override, so hero headings match the rest of the
   site's type scale. */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-12) var(--space-6) var(--space-6);
  text-align: center;
  background: transparent;
}
.page-hero h1 {
  font-family: var(--font-heading);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.page-hero p {
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}
.page-hero .breadcrumb {
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  margin-bottom: var(--space-2);
}
.page-hero .breadcrumb a {
  color: var(--color-primary);
  text-decoration: none;
}
.page-hero .breadcrumb .sep {
  margin: 0 0.4rem;
}
.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-accent, #C9A66B), var(--color-primary, #3F5E4A));
  opacity: 0.6;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS (global — pairs with [data-reveal] in main.js)
   ═══════════════════════════════════════════════════════════════════════════ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease-out, ease), transform 0.7s var(--ease-out, ease); will-change: opacity, transform; }
[data-reveal].is-revealed { opacity: 1; transform: translateY(0); }
[data-reveal="left"] { transform: translateX(-36px); }
[data-reveal="left"].is-revealed { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(36px); }
[data-reveal="right"].is-revealed { transform: translateX(0); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal="zoom"].is-revealed { transform: scale(1); }

/* Subtle fade-up used by auto-tagged cards (see main.js auto-reveal) */
.ln-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s var(--ease-out, ease), transform 0.65s var(--ease-out, ease); will-change: opacity, transform; }
.ln-reveal.is-revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    [data-reveal], .ln-reveal { opacity: 1; transform: none; transition: none; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   CARD HOVER LIFT (global polish)
   ═══════════════════════════════════════════════════════════════════════════ */
.book-card, .event-card, .article-card, .video-card, .testimonial-card,
.testimonial-card-page, .pdf-card, .mission-card, .qual-card, .value-card,
.podcast-card, .ab-card, .resource-pill, .contact-info-card,
ul.products li.product {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}
.book-card:hover, .event-card:hover, .article-card:hover, .video-card:hover,
.testimonial-card:hover, .testimonial-card-page:hover, .pdf-card:hover,
.mission-card:hover, .qual-card:hover, .value-card:hover,
.podcast-card:hover, .ab-card:hover, .contact-info-card:hover,
ul.products li.product:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.resource-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.faq-categories { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; max-width: var(--container-max); margin: 0 auto 2rem; padding: 0 var(--container-px); }
.faq-cat-btn { padding: 0.5rem 1.25rem; border-radius: var(--radius-full); font-size: 0.8rem; font-weight: 500; background: var(--color-card); border: 1px solid var(--color-border); cursor: pointer; transition: all var(--transition-fast); color: var(--color-text); }
.faq-cat-btn:hover, .faq-cat-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.faq-page-list { max-width: 800px; margin: 0 auto 4rem; padding: 0 var(--container-px); }
.faq-page-list h3 { font-family: var(--font-heading); font-size: 1.25rem; margin: 2rem 0 1rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--color-border-light); display: flex; align-items: center; gap: 0.6rem; }
.faq-cat-icon { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.faq-cat-icon img { width: 100%; height: 100%; object-fit: cover; }
.still-help { background: var(--color-card); border-radius: var(--radius-2xl); padding: 3rem; text-align: center; max-width: 600px; margin: 0 auto 4rem; }
.still-help h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.75rem; }
.still-help p { color: var(--color-text-muted); margin-bottom: 1.5rem; }


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE: Newsletter
   ═══════════════════════════════════════════════════════════════════════════ */
.nl-hero { padding: 5rem 2rem 3rem; max-width: 1100px; margin: 0 auto; }
.nl-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.nl-badge { display: inline-block; background: rgba(201,166,107,0.15); color: #B8934F; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.35rem 0.85rem; border-radius: var(--radius-full); margin-bottom: 1.25rem; }
.nl-left h1 { font-family: var(--font-heading); font-size: 2.5rem; line-height: 1.25; margin-bottom: 0.5rem; color: var(--color-text); }
.nl-subtitle { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1.75rem; }
.nl-form-row { display: flex; gap: 0.5rem; max-width: 440px; margin-bottom: 0.5rem; }
.nl-form-row input { flex: 1; padding: 0.65rem 1rem; border-radius: var(--radius-full); border: 1.5px solid var(--color-border); background: var(--color-white); font-size: 0.85rem; font-family: var(--font-body); min-width: 0; }
.nl-form-row input:focus { outline: none; border-color: var(--color-primary); }
.nl-form-row button { padding: 0.65rem 1.5rem; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-white); border: none; font-weight: 500; font-size: 0.85rem; cursor: pointer; font-family: var(--font-body); white-space: nowrap; transition: background var(--transition-fast); display: inline-flex; align-items: center; gap: 0.4rem; }
.nl-form-row button:hover { background: var(--color-primary-hover); }
.nl-form-row button svg { width: 0.9rem; height: 0.9rem; flex-shrink: 0; }
.nl-privacy { font-size: 0.72rem; color: var(--color-text-light); max-width: 440px; }
.nl-count { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.85rem; color: var(--color-text-muted); }
.nl-count strong { color: var(--color-primary); font-size: 1.1rem; }
.nl-count-avatars { display: flex; margin-right: 0.25rem; }
.nl-count-avatars span { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--color-bg); margin-left: -0.5rem; display: inline-block; overflow: hidden; }
.nl-count-avatars span:first-child { margin-left: 0; }

.nl-right { position: relative; }
.nl-preview { background: var(--color-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); overflow: hidden; border: 1px solid var(--color-border); }
.nl-preview-header { background: var(--color-primary); padding: 1.25rem 1.5rem; color: var(--color-white); }
.nl-preview-header .nl-from { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; margin-bottom: 0.2rem; }
.nl-preview-header .nl-subject { font-weight: 600; font-size: 0.95rem; }
.nl-preview-body { padding: 1.5rem; }
.nl-preview-body .nl-greeting { font-size: 0.85rem; color: var(--color-text); margin-bottom: 0.75rem; }
.nl-preview-body .nl-block { background: var(--color-bg); border-radius: var(--radius-md); padding: 0.75rem 1rem; margin-bottom: 0.5rem; font-size: 0.8rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 0.5rem; }
.nl-preview-body .nl-block svg { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--color-primary); }
.nl-preview-body .nl-cta { display: inline-block; background: var(--color-primary); color: var(--color-white); padding: 0.45rem 1rem; border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 500; margin-top: 0.5rem; cursor: pointer; font-family: var(--font-body); border: none; transition: background var(--transition-fast); }
.nl-preview-body .nl-cta:hover { background: var(--color-primary-hover); }

/* ── Read Full Letter Modal ───────────────────────────────────────────── */
.nl-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 10001; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s, visibility 0.3s; }
.nl-modal-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.nl-modal { background: var(--color-white); border-radius: var(--radius-2xl); max-width: 680px; width: 100%; max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-xl); position: relative; animation: nl-modal-in 0.3s ease; }
@keyframes nl-modal-in { from { opacity:0; transform: translateY(20px) scale(0.97); } to { opacity:1; transform: translateY(0) scale(1); } }
.nl-modal-close { position: absolute; top: 1rem; right: 1rem; background: var(--color-bg); border: none; border-radius: 50%; width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--color-text-muted); transition: all var(--transition-fast); }
.nl-modal-close:hover { background: var(--color-muted); color: var(--color-text); }
.nl-modal-header { background: var(--color-primary); padding: 2rem 2rem 1.5rem; color: var(--color-white); border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
.nl-modal-from { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; margin-bottom: 0.2rem; }
.nl-modal-subject { font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; margin: 0; color: var(--color-white); }
.nl-modal-body { padding: 2rem; font-size: 0.95rem; line-height: 1.8; color: var(--color-text); }
.nl-modal-body p { margin-bottom: 1.25rem; }
.nl-modal-body h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; margin: 1.75rem 0 0.75rem; color: var(--color-text); }
.nl-modal-body ul { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.nl-modal-body li { margin-bottom: 0.5rem; color: var(--color-text-muted); }
.nl-modal-body em { color: var(--color-text-muted); }
.nl-modal-body strong { color: var(--color-text); }
@media (max-width: 768px) {
  .nl-modal-overlay { padding: 1rem; align-items: flex-end; }
  .nl-modal { max-height: 90vh; border-radius: var(--radius-2xl) var(--radius-2xl) 0 0; }
  .nl-modal-header { padding: 1.5rem 1.25rem 1.25rem; }
  .nl-modal-body { padding: 1.25rem; font-size: 0.9rem; }
  .nl-modal-subject { font-size: 1.1rem; }
}
.nl-preview-dots { padding: 0.75rem 1.5rem; border-top: 1px solid var(--color-border); display: flex; gap: 0.4rem; }
.nl-preview-dots span { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--color-border); }

.nl-benefits-section { max-width: 1100px; margin: 0 auto; padding: 0 2rem 4rem; }
.nl-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.nl-benefit-card { background: var(--color-card); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; transition: transform var(--transition-fast); }
.nl-benefit-card:hover { transform: translateY(-2px); }
.nl-benefit-card .nl-bc-icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(63,94,74,0.08); display: flex; align-items: center; justify-content: center; margin: 0 auto 0.75rem; }
.nl-benefit-card .nl-bc-icon svg { width: 1.2rem; height: 1.2rem; color: var(--color-primary); }
.nl-benefit-card h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.35rem; }
.nl-benefit-card p { font-size: 0.8rem; color: var(--color-text-muted); line-height: 1.5; }

.nl-testimonial-bar { max-width: 1100px; margin: 0 auto 4rem; padding: 0 2rem; }
.nl-testimonial-bar blockquote { background: var(--color-card); border-radius: var(--radius-xl); padding: 2rem 2.5rem; text-align: center; font-style: italic; color: var(--color-text-muted); font-size: 1rem; line-height: 1.7; max-width: 700px; margin: 0 auto; border-left: 4px solid var(--color-accent); }
.nl-testimonial-bar .nl-tq-author { font-style: normal; font-weight: 600; color: var(--color-text); margin-top: 0.75rem; font-size: 0.85rem; }

.toast-nl { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(150px); background: var(--color-primary); color: white; padding: 0.85rem 1.75rem; border-radius: var(--radius-full); font-weight: 500; box-shadow: var(--shadow-lg); z-index: 10000; transition: transform var(--transition-base); opacity: 0; pointer-events: none; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.toast-nl.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-nl svg { width: 1rem; height: 1rem; flex-shrink: 0; }

@media (max-width: 768px) {
  .nl-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nl-left h1 { font-size: 1.75rem; }
  .nl-form-row { flex-direction: column; }
  .nl-form-row button { width: 100%; justify-content: center; }
  .nl-right { order: -1; }
  .nl-benefits-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════════════════════════════════
   PAGE: About
   ═══════════════════════════════════════════════════════════════════════════ */
.about-hero { padding: 8rem 2rem 4rem; background: linear-gradient(180deg, rgba(63,94,74,0.04) 0%, transparent 100%); }
.about-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; max-width: var(--container-max); margin: 0 auto; }
.about-hero-img { position: relative; }
.about-hero-img img { width: 100%; border-radius: var(--radius-2xl); box-shadow: var(--shadow-xl); }
.about-hero-badge { position: absolute; bottom: -1.5rem; right: -1.5rem; background: var(--color-primary); color: var(--color-white); padding: 1.25rem 2rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-lg); }
.about-hero-badge-num { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.about-hero-badge-label { font-size: 0.75rem; opacity: 0.85; margin-top: 0.25rem; }
.about-hero-copy .section-label { margin-bottom: 0.75rem; }
.about-hero-copy h1 { font-family: var(--font-heading); font-size: 2.75rem; font-weight: 600; line-height: 1.2; margin-bottom: 1.25rem; }
.about-hero-copy h1 .highlight { color: var(--color-primary); }
.about-hero-copy p { color: #232825; line-height: 1.8; margin-bottom: 1rem; font-size: 1.15rem; }
.about-hero-copy p:first-of-type { font-size: 1.25rem; color: #1a1f1c; font-weight: 500; }

.mission-section { padding: 5rem var(--container-px); }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--container-max); margin: 0 auto; }
.mission-card { background: var(--color-card); border-radius: var(--radius-xl); padding: 2rem; text-align: center; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.mission-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mission-card-icon { width: 3.5rem; height: 3.5rem; margin: 0 auto 1.25rem; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; background: var(--color-muted); color: var(--color-primary); }
.mission-card-icon svg { display: block; width: 32px; height: 32px; }
.mission-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.mission-card h3 { font-family: var(--font-heading); font-weight: 600; margin-bottom: 0.75rem; font-size: 1.15rem; }
.mission-card p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.7; }

.journey-section { padding: 5rem var(--container-px); background: var(--color-card); }
.journey-inner { max-width: var(--container-max); margin: 0 auto; }
.journey-inner h2 { font-family: var(--font-heading); font-size: 2rem; text-align: center; margin-bottom: 3rem; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: var(--color-primary); opacity: 0.2; }
.timeline-item { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; position: relative; }
.timeline-dot { width: 3rem; height: 3rem; border-radius: 50%; background: var(--color-primary); color: var(--color-white); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; position: relative; z-index: 1; font-size: 0.9rem; }
.timeline-content { background: var(--color-bg); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); flex: 1; }
.timeline-content h4 { font-family: var(--font-heading); font-weight: 600; margin-bottom: 0.35rem; }
.timeline-content p { color: var(--color-text-muted); font-size: 0.875rem; line-height: 1.7; }

.qualifications-section { padding: 5rem var(--container-px); }
.qualifications-inner { max-width: var(--container-max); margin: 0 auto; }
.qualifications-inner h2 { font-family: var(--font-heading); font-size: 2rem; text-align: center; margin-bottom: 3rem; }
.quals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.qual-card { display: flex; align-items: flex-start; gap: 1rem; background: var(--color-card); padding: 1.5rem; border-radius: var(--radius-lg); }
.qual-card-icon { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: var(--radius-md); overflow: hidden; background: var(--color-muted); display: flex; align-items: center; justify-content: center; color: var(--color-primary); }
.qual-card-icon svg { display: block; width: 28px; height: 28px; }
.qual-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.qual-card-text h4 { font-weight: 600; margin-bottom: 0.25rem; font-size: 0.95rem; }
.qual-card-text p { color: var(--color-text-muted); font-size: 0.8rem; }

.values-section { padding: 5rem var(--container-px); background: var(--color-card); }
.values-inner { max-width: var(--container-max); margin: 0 auto; }
.values-inner h2 { font-family: var(--font-heading); font-size: 2rem; text-align: center; margin-bottom: 3rem; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.value-card { text-align: center; padding: 2rem 1.5rem; background: var(--color-bg); border-radius: var(--radius-xl); transition: transform var(--transition-base); }
.value-card:hover { transform: translateY(-4px); }
.value-card-icon { width: 4.5rem; height: 4.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; background: var(--color-muted); color: var(--color-primary); }
.value-card-icon svg { display: block; }
.value-card-icon img { display: none; }
.value-card h4 { font-family: var(--font-heading); font-weight: 600; margin-bottom: 0.5rem; }
.value-card p { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.6; }

.cta-section { padding: 5rem var(--container-px); text-align: center; }
.cta-section h2 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto 2rem; }

@media (max-width: 768px) {
  .about-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-hero-copy h1 { font-size: 2rem; }
  .mission-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .quals-grid { grid-template-columns: 1fr; }
  .about-hero-badge { right: 0; bottom: -1rem; padding: 1rem 1.5rem; }
  .about-hero-badge-num { font-size: 1.75rem; }
}

/* ── Responsive: Events Gallery ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Override inline 4-col grids used in event gallery sections */
  .section-py [style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUDIOBOOKS — Chapter list & audio player
   ═══════════════════════════════════════════════════════════════════════════ */
.audio-player-bar { background: var(--color-card); border-radius: var(--radius-xl); padding: 1rem 1.5rem; display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.audio-progress { flex: 1; min-width: 60px; height: 4px; background: var(--color-border); border-radius: 2px; position: relative; }
.audio-progress-fill { position: absolute; left: 0; top: 0; height: 100%; background: var(--color-primary); border-radius: 2px; width: 35%; }
.chapter-list { display: flex; flex-direction: column; gap: 0.375rem; }
.chapter-item { display: flex; align-items: center; gap: 1rem; padding: 0.875rem 1.25rem; border-radius: var(--radius-md); background: var(--color-card); transition: background var(--transition-fast); }
.chapter-item:hover { background: rgba(63,94,74,0.05); }
.chapter-num { width: 2rem; height: 2rem; border-radius: 50%; background: var(--color-primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 600; flex-shrink: 0; }
.chapter-info { flex: 1; }
.chapter-title { font-weight: 500; font-size: 0.9rem; }
.chapter-duration { font-size: 0.75rem; color: var(--color-text-light); }
.chapter-download { font-size: 0.75rem; color: var(--color-primary); font-weight: 500; display:flex; align-items:center; text-decoration: none; }
.chapter-download svg { width: 1.1rem; height: 1.1rem; transition: transform var(--transition-fast); flex-shrink: 0; }
.chapter-download:hover svg { transform: translateY(2px); }
.player-btn { width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1.5px solid var(--color-border); background: var(--color-card); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all var(--transition-fast); color: var(--color-text); }
.player-btn svg { width: 1rem; height: 1rem; }
.player-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.player-btn-play { width: 2.75rem; height: 2.75rem; background: var(--color-primary); border-color: var(--color-primary); color: white; }
.player-btn-play svg { width: 1.1rem; height: 1.1rem; }
.player-btn-play:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); color: white; }
.now-playing-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); display: inline-block; animation: pulse-dot 1.4s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.75); } }
.audiobook-badge { display:inline-block; font-size:0.7rem; background:var(--color-primary); color:white; padding:0.15rem 0.6rem; border-radius:var(--radius-full); margin-bottom:0.5rem; }
.play-overlay { position:absolute; inset:0; background:rgba(0,0,0,0.3); display:flex; align-items:center; justify-content:center; opacity:0; transition:opacity 0.3s; }
.book-card:hover .play-overlay, .play-overlay:hover { opacity: 1; }
.sample-btn { border-color: var(--color-primary); color: var(--color-primary); }
.sample-btn:hover { background: var(--color-primary); color: white; }

/* ═══════════════════════════════════════════════════════════════════════════
   RESOURCES HUB — articles, videos, podcasts, PDFs, materials, wellness
   ═══════════════════════════════════════════════════════════════════════════ */
.resources-hero { padding: 8rem 2rem 3rem; background: linear-gradient(180deg, rgba(201,166,107,0.08) 0%, transparent 100%); text-align: center; }
.resources-hero h1 { font-family: var(--font-heading); font-size: 2.75rem; margin-bottom: 1rem; }
.resources-hero p { color: var(--color-text-muted); max-width: 650px; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }
.resource-categories-nav { max-width: var(--container-max); margin: 0 auto 2rem; padding: 0 var(--container-px); position: sticky; top: 80px; z-index: 10; background: var(--color-bg); padding-top: 0.75rem; padding-bottom: 0.75rem; }
.resource-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.resource-pill { padding: 0.6rem 1.4rem; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 500; background: var(--color-card); color: var(--color-text-muted); border: 1px solid var(--color-border); cursor: pointer; transition: all var(--transition-fast); text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap; }
.resource-pill:hover, .resource-pill.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.resource-pill svg { width: 0.9rem; height: 0.9rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.section-resources { padding: 2rem var(--container-px) 5rem; scroll-margin-top: 140px; }
.section-resources:nth-child(even) { background: rgba(250,249,246,0.4); }
.section-resources-inner { max-width: var(--container-max); margin: 0 auto; }
.section-resources h2 { font-family: var(--font-heading); font-size: 1.75rem; margin-bottom: 0.5rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--color-border-light); display: flex; align-items: center; gap: 0.75rem; }
.section-resources h2 .section-icon { display: inline-flex; align-items: center; }
.section-resources h2 .section-icon svg { width: 1.4rem; height: 1.4rem; stroke: var(--color-primary); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.section-subtitle { color: var(--color-text-muted); margin-bottom: 1.5rem; line-height: 1.6; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.article-card { background: var(--color-card); border-radius: var(--radius-xl); overflow: hidden; transition: transform var(--transition-base), box-shadow var(--transition-base); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card-img { height: 180px; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 1.25rem; }
.article-card-category { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-primary); font-weight: 600; margin-bottom: 0.5rem; }
.article-card h3 { font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem; line-height: 1.4; }
.article-card p { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 1rem; }
.article-card-meta { font-size: 0.75rem; color: var(--color-text-light); display: flex; justify-content: space-between; }
.featured-video { margin-bottom: 2rem; }
.featured-video-thumb { position: relative; border-radius: var(--radius-2xl); overflow: hidden; }
.featured-video-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.featured-video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.25); cursor: pointer; }
.featured-video-play { width: 5rem; height: 5rem; border-radius: 50%; background: var(--color-accent); color: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 32px rgba(0,0,0,0.3); transition: transform var(--transition-base); }
.featured-video-play svg { width: 1.75rem; height: 1.75rem; fill: currentColor; stroke: none; }
.featured-video-play:hover { transform: scale(1.1); }
.featured-video-info { padding: 1.25rem 0 0; }
.featured-video-info h3 { font-family: var(--font-heading); font-size: 1.35rem; margin-bottom: 0.4rem; }
.featured-video-info .fv-meta { color: var(--color-text-light); font-size: 0.85rem; }
.videos-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.video-card { background: var(--color-card); border-radius: var(--radius-xl); overflow: hidden; transition: transform var(--transition-base); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.video-card-thumb { position: relative; height: 170px; overflow: hidden; }
.video-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-card-body { padding: 1rem; }
.video-card-body h4 { font-weight: 600; font-size: 0.88rem; line-height: 1.4; margin-bottom: 0.4rem; }
.video-card-body .vc-meta { font-size: 0.75rem; color: var(--color-text-light); }
.vd-badge { position: absolute; bottom: 0.4rem; right: 0.4rem; background: rgba(0,0,0,0.7); color: white; padding: 0.15rem 0.5rem; border-radius: var(--radius-sm); font-size: 0.7rem; }
.youtube-cta { background: linear-gradient(135deg, #FF0000, #CC0000); color: white; text-align: center; padding: 2.5rem 2rem; border-radius: var(--radius-2xl); margin-top: 2.5rem; }
.youtube-cta h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.youtube-cta p { opacity: 0.9; margin-bottom: 1.25rem; }
.btn-yt { background: white; color: #CC0000; font-weight: 600; display: inline-block; padding: 0.75rem 1.75rem; border-radius: var(--radius-full); text-decoration: none; }
.platforms-bar { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.platform-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.25rem; border-radius: var(--radius-full); font-weight: 500; font-size: 0.82rem; background: var(--color-card); border: 1px solid var(--color-border); cursor: pointer; transition: all var(--transition-fast); text-decoration: none; color: var(--color-text); }
.platform-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.platform-btn.spotify { background: #1DB954; color: white; border-color: #1DB954; }
.platform-btn.apple { background: #872EC4; color: white; border-color: #872EC4; }
.featured-ep { margin-bottom: 2rem; background: var(--color-card); border-radius: var(--radius-2xl); padding: 2rem; display: flex; gap: 2rem; align-items: center; border: 2px solid var(--color-border-light); }
.featured-ep-cover { width: 160px; height: 160px; border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0; }
.featured-ep-cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-ep-info h3 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 0.4rem; }
.fe-badge { display: inline-block; background: var(--color-accent); color: white; padding: 0.15rem 0.65rem; border-radius: var(--radius-full); font-size: 0.68rem; font-weight: 600; text-transform: uppercase; margin-bottom: 0.6rem; }
.featured-ep-info p { color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 0.75rem; }
.ep-meta { font-size: 0.75rem; color: var(--color-text-light); display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.ep-meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.ep-meta svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.episodes-list { display: flex; flex-direction: column; gap: 0.75rem; }
.episode-card { display: flex; gap: 1rem; background: var(--color-card); border-radius: var(--radius-xl); padding: 1rem 1.25rem; align-items: center; transition: transform var(--transition-base); border: 1px solid var(--color-border-light); }
.episode-card:hover { transform: translateX(3px); border-color: var(--color-border); }
.ep-num { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--color-primary); width: 2.5rem; text-align: center; flex-shrink: 0; }
.ep-info { flex: 1; min-width: 0; }
.ep-info h4 { font-weight: 600; font-size: 0.92rem; margin-bottom: 0.15rem; }
.ep-info p { color: var(--color-text-muted); font-size: 0.8rem; line-height: 1.5; margin-bottom: 0.25rem; }
.ep-links { display: flex; gap: 0.4rem; flex-shrink: 0; }
.ep-link { padding: 0.3rem 0.65rem; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; background: rgba(63,94,74,0.08); color: var(--color-primary); text-decoration: none; white-space: nowrap; }
.pdfs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.pdf-card { background: var(--color-card); border-radius: var(--radius-xl); padding: 1.75rem; text-align: center; border: 2px solid transparent; transition: all var(--transition-base); cursor: pointer; }
.pdf-card:hover { border-color: var(--color-primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pdf-card-icon { width: 4rem; height: 4rem; border-radius: var(--radius-lg); overflow: hidden; margin: 0 auto 1rem; background: var(--color-muted); }
.pdf-card h4 { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.5rem; }
.pdf-card p { color: var(--color-text-muted); font-size: 0.8rem; line-height: 1.5; margin-bottom: 1rem; }
.pdf-card .pdf-download-btn { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; border: 1px solid var(--color-border); border-radius: var(--radius-full); padding: 0.45rem 1rem; transition: all var(--transition-fast); text-decoration: none; }
.pdf-card .pdf-download-btn:hover { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.pdf-card .pdf-download-btn svg { width: 0.85rem; height: 0.85rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pdf-card.featured { border-color: var(--color-accent); background: linear-gradient(135deg, rgba(201,166,107,0.08), var(--color-card)); }
.materials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.material-card { display: flex; gap: 1.25rem; background: var(--color-card); border-radius: var(--radius-xl); padding: 1.5rem; align-items: center; transition: transform var(--transition-base); }
.material-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.material-card-icon { width: 4rem; height: 4rem; border-radius: var(--radius-lg); overflow: hidden; flex-shrink: 0; background: var(--color-muted); }
.material-card-icon img { width: 100%; height: 100%; object-fit: cover; }
.material-card-info h4 { font-weight: 600; margin-bottom: 0.35rem; }
.material-card-info p { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 0.5rem; }
.material-card-info a { color: var(--color-primary); font-weight: 600; font-size: 0.85rem; }
.wellness-hub { background: linear-gradient(135deg, rgba(63,94,74,0.06), rgba(201,166,107,0.08)); border-radius: var(--radius-2xl); padding: 3rem; text-align: center; }
.wellness-hub h2 { border-bottom: none; justify-content: center; margin-bottom: 1rem; }
.wellness-hub p { color: var(--color-text-muted); max-width: 600px; margin: 0 auto 2rem; line-height: 1.7; }
.wellness-links { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.wellness-link-card { background: var(--color-bg); border-radius: var(--radius-lg); padding: 1.5rem; width: 200px; text-align: center; transition: transform var(--transition-base); }
.wellness-link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.wellness-link-card .wl-icon { width: 3rem; height: 3rem; border-radius: 50%; overflow: hidden; margin: 0 auto 0.5rem; background: var(--color-muted); display: inline-flex; align-items: center; justify-content: center; }
.wellness-link-card .wl-icon img { width: 100%; height: 100%; object-fit: cover; }
.wellness-link-card h5 { font-weight: 600; font-size: 0.85rem; margin-bottom: 0.25rem; }
.wellness-link-card span { font-size: 0.75rem; color: var(--color-primary); font-weight: 500; }
.newsletter-cta-resources { margin-top: 3rem; text-align: center; padding: 3rem; background: var(--color-card); border-radius: var(--radius-2xl); }
.newsletter-cta-resources h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 0.75rem; }
.newsletter-cta-resources p { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.newsletter-cta-resources form { display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto; }
.newsletter-cta-resources input { flex: 1; padding: 0.85rem 1.25rem; border-radius: var(--radius-full); border: 1px solid var(--color-border); background: var(--color-bg); font-size: 0.9rem; }
.newsletter-cta-resources button { white-space: nowrap; }

/* Resources responsive */
@media (max-width: 768px) {
  .articles-grid { grid-template-columns: 1fr; }
  .videos-grid { grid-template-columns: 1fr 1fr; }
  .pdfs-grid { grid-template-columns: repeat(2, 1fr); }
  .materials-grid { grid-template-columns: 1fr; }
  .resources-hero h1 { font-size: 2rem; }
  .wellness-links { flex-direction: column; align-items: center; }
  .wellness-link-card { width: 100%; max-width: 280px; }
  .featured-ep { flex-direction: column; text-align: center; }
  .featured-ep-cover { width: 130px; height: 130px; margin: 0 auto; }
  .episode-card { flex-wrap: wrap; }
  .ep-links { width: 100%; }
  .resource-categories-nav { top: 70px; }
  .section-resources { scroll-margin-top: 130px; }
}
@media (max-width: 480px) {
  .videos-grid { grid-template-columns: 1fr; }
  .pdfs-grid { grid-template-columns: 1fr 1fr; }
}

/* ────────────────────────────────────────────────────────────────────────
   Homepage polish — cohesive typography & gold accents (matches hero)
   ──────────────────────────────────────────────────────────────────────── */

/* Section titles: brand green serif, like the hero H1 */
.section-title {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}


/* View-all: gold, uppercase, letter-spaced, animated arrow */
.view-all {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--color-accent);
}
.view-all svg {
  width: 1rem;
  height: 1rem;
  stroke: var(--color-accent);
  stroke-width: 2;
  fill: none;
}

/* Card headings → ink by default, brand green on hover */
.book-card-title a,
.audiobook-title a,
.video-card-title a,
.podcast-title a,
.blog-card-title a,
.event-card-title a {
  color: var(--color-text);
  transition: color var(--transition-fast);
}
.book-card-title a:hover,
.audiobook-title a:hover,
.video-card-title a:hover,
.podcast-title a:hover,
.blog-card-title a:hover,
.event-card-title a:hover {
  color: var(--color-primary);
}

/* Testimonials: elegant serif italic quote */
.testimonial-text {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-primary);
}

/* CTA banner: refined serif heading */
.cta-banner-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ── Homepage "Our Community" card icons ───────────────────────────────────
   The icons used to be inline SVGs in the homepage content, but the editor
   strips <svg> on save, leaving empty boxes (and "TK" for TikTok). Draw them
   from the card's platform class instead so content edits can't remove them.
   The icon takes each card's existing brand colour (currentColor). */
.community-card-icon.youtube,
.community-card-icon.tiktok,
.community-card-icon.podcast,
.community-card-icon.newsletter {
  font-size: 0; /* hide leftover placeholder text such as "TK" */
}
.community-card-icon.youtube > svg,
.community-card-icon.tiktok > svg,
.community-card-icon.podcast > svg,
.community-card-icon.newsletter > svg {
  display: none; /* if an inline SVG survives, don't show two icons */
}
.community-card-icon.youtube::before,
.community-card-icon.tiktok::before,
.community-card-icon.podcast::before,
.community-card-icon.newsletter::before {
  content: '';
  display: block;
  width: 1.6rem;
  height: 1.6rem;
  background-color: currentColor;
  -webkit-mask: var(--ln-community-icon) center / contain no-repeat;
  mask: var(--ln-community-icon) center / contain no-repeat;
}
.community-card-icon.youtube { --ln-community-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.5 6.19a3.02 3.02 0 0 0-2.12-2.14C19.5 3.55 12 3.55 12 3.55s-7.5 0-9.38.5A3.02 3.02 0 0 0 .5 6.19C0 8.07 0 12 0 12s0 3.93.5 5.81a3.02 3.02 0 0 0 2.12 2.14c1.88.5 9.38.5 9.38.5s7.5 0 9.38-.5a3.02 3.02 0 0 0 2.12-2.14C24 15.93 24 12 24 12s0-3.93-.5-5.81zM9.55 15.57V8.43L15.82 12l-6.27 3.57z'/%3E%3C/svg%3E"); }
.community-card-icon.tiktok { --ln-community-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19.59 6.69a4.83 4.83 0 0 1-3.77-4.25V2h-3.45v13.67a2.89 2.89 0 0 1-5.2 1.74 2.89 2.89 0 0 1 2.31-4.64c.3 0 .58.04.86.13V9.4a6.33 6.33 0 0 0-.86-.06 6.34 6.34 0 1 0 6.34 6.34V8.86a8.16 8.16 0 0 0 4.77 1.52v-3.45a4.85 4.85 0 0 1-1-.24z'/%3E%3C/svg%3E"); }
.community-card-icon.podcast { --ln-community-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='12' rx='3'/%3E%3Cpath d='M5 10v1a7 7 0 0 0 14 0v-1'/%3E%3Cline x1='12' y1='18' x2='12' y2='22'/%3E%3Cline x1='8' y1='22' x2='16' y2='22'/%3E%3C/svg%3E"); }
.community-card-icon.newsletter { --ln-community-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='M22 6l-10 7L2 6'/%3E%3C/svg%3E"); }
