/* ==========================================================================
   THE EARTHBOUND ETHEREAL - LUXURY EDITORIAL DESIGN SYSTEM
   Journal Article Template Stylesheet for Cresent Vibe
   ========================================================================== */

:root {
  /* Brand North Star Color Palette */
  --cv-primary: #c54513;            /* Terracotta / Sacred Ochre */
  --cv-primary-hover: #a03000;      /* Deep Ochre Hover */
  --cv-primary-deep: #7a2200;       /* Dark Ember */
  --cv-secondary-accent: #a83827;   /* Crimson Ochre */
  --cv-bg: #f9f9f9;                 /* Page Canvas */
  --cv-on-surface: #1a1c1c;         /* Rich Slate - Never 100% Black */
  --cv-on-surface-variant: #59413a; /* Warm Muted Earth */
  --cv-muted: #6e6865;              /* Secondary Muted */

  /* Surface Tiers - Depth & Layering (No Borders Rule) */
  --cv-surface-lowest: #ffffff;
  --cv-surface-low: #f4f2f0;
  --cv-surface: #ece9e6;
  --cv-surface-high: #e4e0dc;

  /* Diffused Ambient Shadows (No 1px Lines) */
  --cv-shadow-ambient: 0 10px 30px -5px rgba(89, 65, 58, 0.05);
  --cv-shadow-card: 0 15px 35px -8px rgba(89, 65, 58, 0.07);
  --cv-shadow-elevated: 0 25px 50px -12px rgba(89, 65, 58, 0.09);
  --cv-shadow-floating: 0 20px 40px -10px rgba(26, 28, 28, 0.12);

  /* Typography */
  --font-headline: 'Noto Serif', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Button Gradient */
  --cv-gradient-btn: linear-gradient(135deg, #c54513 0%, #a03000 100%);
  --cv-gradient-btn-hover: linear-gradient(135deg, #d8501c 0%, #b33600 100%);
  --cv-gradient-gold: linear-gradient(135deg, #c54513 0%, #d4af37 100%);
}

/* Base Body Alignment for Journal Article Page */
body.journal-editorial-page,
.journal-editorial-wrapper {
  background-color: var(--cv-bg);
  color: var(--cv-on-surface);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* Material Symbols Adjustments */
.journal-editorial-wrapper .material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 350, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ==========================================================================
   A. TOP READING PROGRESS BAR
   ========================================================================== */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--cv-primary);
  z-index: 100000;
  transition: width 0.12s cubic-bezier(0.1, 0.5, 0.5, 1);
  box-shadow: 0 1px 6px rgba(197, 69, 19, 0.4);
}

/* ==========================================================================
   THE "NO-LINE" RULE ENFORCEMENT & OVERRIDES
   Remove harsh 1px borders from article cards, tables, callouts
   ========================================================================== */
.journal-editorial-wrapper [class*="border"],
.journal-editorial-wrapper article [class*="border"] {
  border-color: transparent !important;
  border-width: 0 !important;
}

.journal-editorial-wrapper .border-l-4,
.journal-editorial-wrapper article .border-l-4 {
  border-left-width: 0 !important; /* Replace left border bars with tonal shading */
}

/* Override legacy purple #543564 in all forms */
.journal-editorial-wrapper [class*="543564"],
.journal-editorial-wrapper [style*="543564"],
.journal-editorial-wrapper .text-primary {
  color: var(--cv-primary) !important;
}
.journal-editorial-wrapper .bg-primary {
  background-color: var(--cv-primary) !important;
}
.journal-editorial-wrapper .bg-surface-container {
  background-color: var(--cv-surface) !important;
}

/* ==========================================================================
   B. EDITORIAL HERO HEADER
   ========================================================================== */
.editorial-hero-header {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

/* Minimal Uppercase Tracking Breadcrumb */
.editorial-breadcrumbs {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cv-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.editorial-breadcrumbs a {
  color: var(--cv-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.editorial-breadcrumbs a:hover {
  color: var(--cv-primary);
}

.editorial-breadcrumbs .sep {
  opacity: 0.4;
  font-size: 0.65rem;
}

.editorial-breadcrumbs .current {
  color: var(--cv-on-surface);
  font-weight: 700;
}

/* Category & Metadata Pills */
.editorial-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  background-color: var(--cv-surface);
  color: var(--cv-primary);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

.meta-pill:hover {
  background-color: var(--cv-surface-high);
  color: var(--cv-primary-hover);
  transform: translateY(-1px);
}

.read-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cv-on-surface-variant);
  background-color: var(--cv-surface-low);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--cv-primary);
  display: inline-block;
  animation: cvPulse 2.2s infinite ease-in-out;
}

@keyframes cvPulse {
  0% { transform: scale(0.9); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 8px rgba(197, 69, 19, 0.6); }
  100% { transform: scale(0.9); opacity: 0.5; }
}

/* Editorial Headline */
.editorial-headline {
  font-family: var(--font-headline);
  font-weight: 400;
  color: var(--cv-on-surface);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  margin-bottom: 1.25rem;
}

/* Editorial Lead Subtitle */
.editorial-lead-in {
  font-family: var(--font-headline);
  font-style: italic;
  font-weight: 300;
  color: var(--cv-on-surface-variant);
  font-size: 1.25rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

/* Author Byline & Consecration Verification */
.editorial-author-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background-color: var(--cv-surface-lowest);
  border-radius: 1.25rem;
  box-shadow: var(--cv-shadow-ambient);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.author-profile-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar-frame {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cv-surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-primary);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--cv-shadow-ambient);
}

.author-meta-info {
  display: flex;
  flex-direction: column;
}

.author-name-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.author-name {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--cv-on-surface);
}

.verified-seal-icon {
  color: var(--cv-primary);
  font-size: 17px !important;
}

.author-credentials {
  font-size: 0.75rem;
  color: var(--cv-on-surface-variant);
  font-weight: 500;
}

.author-date-info {
  font-size: 0.75rem;
  color: var(--cv-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Hero Image Framing (16:9 Organic, No-Line) */
.editorial-hero-figure {
  margin: 0 0 3.5rem 0;
}

.editorial-hero-frame {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: var(--cv-surface);
  box-shadow: var(--cv-shadow-elevated);
}

.editorial-hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-hero-frame:hover img {
  transform: scale(1.02);
}

.editorial-hero-caption {
  font-size: 0.75rem;
  color: var(--cv-muted);
  font-family: var(--font-body);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   C. MAIN ARTICLE COLUMN & RICH TYPOGRAPHY
   ========================================================================== */

/* Key Takeaways ("The Sacred Gist") Callout */
.sacred-gist-card {
  background: var(--cv-surface-low);
  border-radius: 1.5rem;
  padding: 2rem 2.25rem;
  margin-bottom: 3rem;
  box-shadow: var(--cv-shadow-card);
  position: relative;
  overflow: hidden;
}

.sacred-gist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cv-primary);
  margin-bottom: 0.75rem;
}

.sacred-gist-title {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  color: var(--cv-on-surface);
  margin-bottom: 1.25rem;
  font-weight: 500;
}

.sacred-gist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.sacred-gist-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.9375rem;
  color: var(--cv-on-surface-variant);
  line-height: 1.6;
}

.sacred-gist-glyph {
  color: var(--cv-primary);
  font-size: 0.95rem;
  line-height: 1.5;
  flex-shrink: 0;
}

/* Rich Editorial Prose */
.prose-editorial {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.85;
  color: var(--cv-on-surface);
}

.prose-editorial p {
  margin-bottom: 1.85rem;
  color: #2b2927;
}

/* Classic Drop Cap */
.editorial-drop-cap::first-letter,
.prose-editorial .editorial-drop-cap::first-letter,
.prose-editorial h2:first-of-type + p::first-letter,
.prose-editorial > p:first-of-type::first-letter,
.prose-editorial .drop-cap-p::first-letter {
  font-family: var(--font-headline) !important;
  font-size: 3.75rem !important;
  line-height: 0.82 !important;
  float: left !important;
  margin-right: 0.75rem !important;
  margin-top: 0.15rem !important;
  margin-bottom: -0.1rem !important;
  color: var(--cv-primary) !important;
  font-weight: 600 !important;
  text-shadow: 0 2px 4px rgba(197, 69, 19, 0.15) !important;
}

/* Editorial Headings */
.prose-editorial h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.65rem, 3.2vw, 2.25rem);
  font-weight: 500;
  color: var(--cv-on-surface);
  line-height: 1.25;
  letter-spacing: -0.015em;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  scroll-margin-top: 100px;
}

.prose-editorial h3 {
  font-family: var(--font-headline);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 500;
  color: var(--cv-primary-deep);
  line-height: 1.35;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  scroll-margin-top: 100px;
}

.prose-editorial h4 {
  font-family: var(--font-headline);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cv-on-surface);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose-editorial a {
  color: var(--cv-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.prose-editorial a:hover {
  color: var(--cv-primary-hover);
}

/* Blockquotes / Sacred Mantras */
.prose-editorial blockquote,
.sacred-mantra-quote {
  font-family: var(--font-headline);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--cv-on-surface-variant);
  background-color: var(--cv-surface-low);
  padding: 2.25rem 2.5rem;
  border-radius: 1.5rem;
  margin: 3rem 0;
  box-shadow: var(--cv-shadow-ambient);
  position: relative;
  quotes: "“" "”";
}

.sacred-mantra-quote::before {
  content: "“";
  font-family: var(--font-headline);
  font-size: 4rem;
  color: var(--cv-primary);
  opacity: 0.3;
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
  pointer-events: none;
}

/* Borderless Custom Tables (Tonal Shifts Only) */
.prose-editorial table,
.borderless-editorial-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--cv-shadow-card);
  margin: 2.75rem 0;
  background-color: var(--cv-surface-lowest);
}

.borderless-editorial-table th {
  background-color: var(--cv-surface);
  color: var(--cv-on-surface);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.15rem 1.25rem;
  text-align: left;
  border: none !important;
}

.borderless-editorial-table td {
  padding: 1.15rem 1.25rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--cv-on-surface-variant);
  border: none !important;
  transition: background-color 0.2s ease;
}

.borderless-editorial-table tbody tr:nth-child(even) {
  background-color: var(--cv-surface-low);
}

.borderless-editorial-table tbody tr:hover td {
  background-color: rgba(197, 69, 19, 0.04);
}

/* Gemological Spec Cards */
.gemological-spec-card {
  background-color: var(--cv-surface-lowest);
  border-radius: 1.5rem;
  padding: 2.25rem;
  box-shadow: var(--cv-shadow-card);
  margin: 3rem 0;
}

.spec-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--cv-surface-low) !important;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: var(--cv-surface-low);
  border-radius: 0.75rem;
  font-size: 0.875rem;
}

.spec-key {
  color: var(--cv-on-surface-variant);
  font-weight: 500;
}

.spec-val {
  font-weight: 700;
  color: var(--cv-on-surface);
}

/* Interactive FAQ Accordions (No-Line, Smooth Expand) */
.faq-accordion-group {
  margin: 3rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-accordion-item {
  background-color: var(--cv-surface-lowest);
  border-radius: 1.25rem;
  box-shadow: var(--cv-shadow-ambient);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-accordion-item:hover {
  box-shadow: var(--cv-shadow-card);
}

.faq-accordion-trigger {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-accordion-trigger h4 {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--cv-on-surface);
  margin: 0;
  line-height: 1.4;
}

.faq-chevron {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--cv-surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-primary);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.faq-accordion-item.active .faq-chevron {
  transform: rotate(180deg);
  background-color: var(--cv-primary);
  color: #ffffff;
}

.faq-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.faq-accordion-item.active .faq-accordion-content {
  opacity: 1;
}

.faq-accordion-body {
  padding: 0 1.75rem 1.5rem 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--cv-on-surface-variant);
}

/* ==========================================================================
   SOCIAL SHARE & BOOKMARK DOCK
   ========================================================================== */
.social-share-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  background-color: var(--cv-surface-lowest);
  border-radius: 1.5rem;
  box-shadow: var(--cv-shadow-card);
  margin: 3.5rem 0 2rem 0;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.share-dock-label {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cv-on-surface-variant);
}

.share-buttons-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.share-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--cv-surface-low);
  color: var(--cv-on-surface-variant);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.share-icon-btn:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: var(--cv-primary);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(197, 69, 19, 0.35);
}

.share-icon-btn.whatsapp-brand:hover {
  background-color: #25d366;
  box-shadow: 0 8px 20px -4px rgba(37, 211, 102, 0.35);
}

.share-icon-btn.bookmark-btn.saved {
  background-color: var(--cv-primary);
  color: #ffffff;
}

/* ==========================================================================
   FLOATING TOAST NOTIFICATION
   ========================================================================== */
#cv-toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000000;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cv-toast {
  background-color: var(--cv-on-surface);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-radius: 9999px;
  box-shadow: var(--cv-shadow-floating);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.cv-toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cv-toast-glyph {
  color: #d4af37;
  font-size: 1.1rem;
}

/* ==========================================================================
   STICKY SIDEBAR COMPONENTS (Desktop lg:col-span-4)
   ========================================================================== */
.editorial-sticky-sidebar {
  position: sticky;
  top: 6.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

/* Dynamic Table of Contents (TOC) */
.toc-card {
  background-color: var(--cv-surface-lowest);
  border-radius: 1.5rem;
  padding: 1.85rem;
  box-shadow: var(--cv-shadow-card);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cv-primary);
}

.toc-nav {
  position: relative;
}

.toc-indicator-track {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: var(--cv-surface);
  border-radius: 9999px;
}

.toc-indicator-pill {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 24px;
  background-color: var(--cv-primary);
  border-radius: 9999px;
  transition: top 0.25s cubic-bezier(0.2, 0.8, 0.4, 1), height 0.25s ease;
  box-shadow: 0 0 8px rgba(197, 69, 19, 0.5);
}

.toc-list {
  list-style: none;
  padding: 0 0 0 1rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.toc-item a {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--cv-on-surface-variant);
  text-decoration: none;
  line-height: 1.45;
  transition: color 0.2s ease, transform 0.2s ease;
}

.toc-item a:hover,
.toc-item.active a {
  color: var(--cv-primary);
  font-weight: 700;
  transform: translateX(4px);
}

.toc-item.sub-item {
  padding-left: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.85;
}

/* Shoppable "Artifacts in this Story" Widget */
.artifacts-widget-card {
  background-color: var(--cv-surface-lowest);
  border-radius: 1.5rem;
  padding: 1.85rem;
  box-shadow: var(--cv-shadow-card);
}

.artifacts-widget-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cv-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.artifact-compact-card {
  background-color: var(--cv-surface-low);
  border-radius: 1.15rem;
  padding: 1.15rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.artifact-compact-card:last-child {
  margin-bottom: 0;
}

.artifact-compact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cv-shadow-ambient);
}

.artifact-thumbnail-frame {
  width: 72px;
  height: 72px;
  border-radius: 0.85rem;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--cv-surface-lowest);
}

.artifact-thumbnail-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.artifact-intention-badge {
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cv-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.artifact-compact-title {
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cv-on-surface);
  line-height: 1.3;
  margin-bottom: 0.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.artifact-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.artifact-price {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--cv-on-surface);
}

/* 135° Terracotta Gradient Button Style */
.btn-terracotta-gradient {
  background: var(--cv-gradient-btn);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  box-shadow: 0 4px 12px rgba(197, 69, 19, 0.25);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.btn-terracotta-gradient:hover {
  background: var(--cv-gradient-btn-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 69, 19, 0.35);
}

/* Editorial Newsletter Card ("Join the Inner Circle") */
.newsletter-card {
  background-color: var(--cv-surface-low);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--cv-shadow-card);
  text-align: center;
}

.newsletter-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--cv-surface-lowest);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-primary);
  margin-bottom: 1rem;
}

.newsletter-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: var(--cv-on-surface);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.newsletter-desc {
  font-size: 0.8125rem;
  color: var(--cv-on-surface-variant);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.newsletter-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  background-color: var(--cv-surface-lowest);
  border: none !important;
  border-radius: 9999px;
  padding: 0.85rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--cv-on-surface);
  outline: none;
  box-shadow: var(--cv-shadow-ambient);
}

.newsletter-input:focus {
  box-shadow: 0 0 0 2px var(--cv-primary);
}

/* ==========================================================================
   D. MOBILE BOTTOM STICKY READING BAR (lg:hidden)
   ========================================================================== */
.mobile-reading-bar {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 99999;
  background: rgba(249, 249, 249, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 9999px;
  padding: 0.65rem 1.25rem;
  box-shadow: var(--cv-shadow-floating);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-read-stat {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cv-on-surface);
}

.mobile-bar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--cv-surface);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-on-surface);
  cursor: pointer;
}

.mobile-shop-drawer-btn {
  background: var(--cv-gradient-btn);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Mobile Slide-Up Bottom Drawer */
#mobile-artifacts-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

#mobile-artifacts-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 28, 28, 0.4);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#mobile-artifacts-drawer.open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--cv-surface-lowest);
  border-radius: 2rem 2rem 0 0;
  padding: 2rem 1.5rem 3rem 1.5rem;
  max-height: 82vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.15);
}

#mobile-artifacts-drawer.open .drawer-panel {
  transform: translateY(0);
}

.drawer-pill-handle {
  width: 44px;
  height: 4px;
  background-color: var(--cv-surface-high);
  border-radius: 9999px;
  margin: -0.5rem auto 1.5rem auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.drawer-header h3 {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: var(--cv-on-surface);
  margin: 0;
}

.drawer-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--cv-surface-low);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-on-surface);
  cursor: pointer;
}

/* ==========================================================================
   E. POST-ARTICLE ENGAGEMENT SECTION
   ========================================================================== */

/* Varanasi Consecration Guarantee Card */
.consecration-guarantee-card {
  background: var(--cv-surface-low);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  margin: 4.5rem 0 3.5rem 0;
  box-shadow: var(--cv-shadow-card);
  position: relative;
  overflow: hidden;
}

.consecration-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.consecration-subtitle {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cv-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.consecration-title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--cv-on-surface);
  font-weight: 500;
  line-height: 1.25;
}

.consecration-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.consecration-feature-box {
  background-color: var(--cv-surface-lowest);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--cv-shadow-ambient);
  transition: transform 0.25s ease;
}

.consecration-feature-box:hover {
  transform: translateY(-4px);
}

.consecration-seal-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--cv-surface-low);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-primary);
  margin-bottom: 1rem;
  font-size: 26px !important;
}

.consecration-feature-title {
  font-family: var(--font-headline);
  font-size: 1.0625rem;
  color: var(--cv-on-surface);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.consecration-feature-desc {
  font-size: 0.8125rem;
  color: var(--cv-on-surface-variant);
  line-height: 1.55;
  margin: 0;
}

/* Author Bio Card (Expanded) */
.expanded-author-card {
  background-color: var(--cv-surface-lowest);
  border-radius: 2rem;
  padding: 2.5rem;
  box-shadow: var(--cv-shadow-card);
  margin-bottom: 4.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 768px) {
  .expanded-author-card {
    flex-direction: column;
    text-align: center;
  }
}

.expanded-author-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--cv-surface-low);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cv-primary);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 2rem;
  flex-shrink: 0;
  box-shadow: var(--cv-shadow-ambient);
}

.expanded-author-info {
  flex: 1;
}

.expanded-author-role {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cv-primary);
  margin-bottom: 0.35rem;
  display: block;
}

.expanded-author-name {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  color: var(--cv-on-surface);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.expanded-author-desc {
  font-size: 0.875rem;
  color: var(--cv-on-surface-variant);
  line-height: 1.65;
  margin: 0;
}

/* Related Stories ("Continue the Journey") */
.continue-journey-section {
  margin-bottom: 5rem;
}

.section-editorial-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-editorial-tag {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cv-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.section-editorial-title {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
  color: var(--cv-on-surface);
  font-weight: 500;
}

.related-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.related-story-card {
  background-color: var(--cv-surface-lowest);
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--cv-shadow-ambient);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.related-story-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--cv-shadow-elevated);
}

.related-story-thumb-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--cv-surface);
  position: relative;
}

.related-story-thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.related-story-card:hover .related-story-thumb-frame img {
  transform: scale(1.05);
}

.related-story-content {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.related-story-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cv-primary);
  margin-bottom: 0.6rem;
}

.related-story-readtime {
  color: var(--cv-muted);
}

.related-story-title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--cv-on-surface);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

.related-story-excerpt {
  font-size: 0.8125rem;
  color: var(--cv-on-surface-variant);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

/* Contextual Product Carousel / Shelf */
.consecrated-shelf-section {
  margin-bottom: 5rem;
}

.shelf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.shelf-product-card {
  background-color: var(--cv-surface-lowest);
  border-radius: 1.5rem;
  padding: 1.25rem;
  box-shadow: var(--cv-shadow-ambient);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.shelf-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cv-shadow-elevated);
}

.shelf-product-img-frame {
  aspect-ratio: 1 / 1;
  border-radius: 1.15rem;
  overflow: hidden;
  background-color: var(--cv-surface-low);
  margin-bottom: 1.15rem;
}

.shelf-product-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.shelf-product-card:hover .shelf-product-img-frame img {
  transform: scale(1.05);
}

.shelf-product-intention {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cv-primary);
  margin-bottom: 0.35rem;
}

.shelf-product-title {
  font-family: var(--font-headline);
  font-size: 1rem;
  font-weight: 600;
  color: var(--cv-on-surface);
  line-height: 1.35;
  margin-bottom: 0.75rem;
  min-height: 2.7rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.shelf-product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
}

.shelf-product-price {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--cv-on-surface);
}

/* ==========================================================================
   RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1024px) {
  .editorial-author-dock {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .editorial-hero-header {
    padding-top: 0.5rem;
  }
  
  .sacred-gist-card {
    padding: 1.5rem;
  }
  
  .prose-editorial {
    font-size: 1.025rem;
    line-height: 1.75;
  }
  
  .prose-editorial > p:first-of-type::first-letter {
    font-size: 3.25rem;
    margin-right: 0.65rem;
  }
  
  .social-share-dock {
    padding: 1.25rem;
  }
  
  .consecration-guarantee-card {
    padding: 2rem 1.25rem;
  }
}

/* ==========================================================================
   INTERACTIVE CTA BANNERS & DARK CONTAINER OVERRIDES
   Ensures crystal-clear contrast for interactive quizzes, CTAs, and banners
   ========================================================================== */
.prose-editorial .editorial-interactive-banner,
.prose-editorial [class*="bg-gradient"],
.prose-editorial [class*="from-primary"],
.prose-editorial .bg-primary {
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(26, 28, 28, 0.25) !important;
}

/* Ensure background gradient is deep, rich, and high-contrast */
.prose-editorial .editorial-interactive-banner {
  background: linear-gradient(135deg, #a03000 0%, #7a2200 45%, #2a1133 100%) !important;
  border-radius: 1.5rem !important;
  padding: 2.5rem 2rem !important;
}

/* Direct Heading Override */
.prose-editorial .editorial-interactive-banner h2,
.prose-editorial .editorial-interactive-banner h3,
.prose-editorial .editorial-interactive-banner h4,
.prose-editorial [class*="bg-gradient"] h2,
.prose-editorial [class*="bg-gradient"] h3,
.prose-editorial [class*="bg-gradient"] h4 {
  color: #ffffff !important;
  font-family: var(--font-headline) !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
}

/* Direct Paragraph Override */
.prose-editorial .editorial-interactive-banner p,
.prose-editorial [class*="bg-gradient"] p {
  color: #fbf9f6 !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  opacity: 0.95 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem !important;
}

/* Badges & Pill Overrides */
.prose-editorial .cta-badge,
.prose-editorial [class*="bg-gradient"] span[class*="rounded-full"] {
  display: inline-block !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 0.35rem 1.15rem !important;
  margin-bottom: 1.25rem !important;
}

/* Button Reset (Never Underlined in Banners) */
.prose-editorial .editorial-interactive-banner a,
.prose-editorial [class*="bg-gradient"] a {
  text-decoration: none !important;
}

/* Primary White Card Button */
.prose-editorial .cta-btn-light,
.prose-editorial [class*="bg-gradient"] a[class*="bg-white"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #ffffff !important;
  color: #c54513 !important;
  font-family: var(--font-body) !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: 9999px !important;
  padding: 1rem 1.85rem !important;
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.3) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.prose-editorial .cta-btn-light:hover,
.prose-editorial [class*="bg-gradient"] a[class*="bg-white"]:hover {
  background-color: #fbf9f6 !important;
  color: #8c2a00 !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 30px -3px rgba(0, 0, 0, 0.4) !important;
}

/* WhatsApp Emerald CTA Button */
.prose-editorial .cta-btn-whatsapp,
.prose-editorial [class*="bg-gradient"] a[class*="bg-emerald"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #059669 !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 0.8125rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: 9999px !important;
  padding: 1rem 1.85rem !important;
  box-shadow: 0 10px 25px -3px rgba(5, 150, 105, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.prose-editorial .cta-btn-whatsapp span,
.prose-editorial [class*="bg-gradient"] a[class*="bg-emerald"] span {
  color: #ffffff !important;
}

.prose-editorial .cta-btn-whatsapp:hover,
.prose-editorial [class*="bg-gradient"] a[class*="bg-emerald"]:hover {
  background-color: #047857 !important;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 14px 30px -3px rgba(5, 150, 105, 0.55) !important;
}

