/* stories/stories.css — Thavira Health Patient Case Studies */
/* Design tokens mirror forum-base.css + index.html :root */

/* ── ADDITIONAL STORY-SPECIFIC VARIABLES ── */
:root {
  --story-accent-line: 4px solid var(--g);
  --story-accent-sage: 4px solid var(--sage);
  --story-radius: 16px;
  --story-shadow: 0 1px 3px rgba(0,0,0,.04), 0 4px 16px rgba(49,69,40,.07), 0 12px 40px rgba(49,69,40,.05);
  --story-shadow-hover: 0 2px 8px rgba(0,0,0,.07), 0 12px 32px rgba(49,69,40,.14), 0 24px 56px rgba(49,69,40,.08);
}

/* ══════════════════════════════════════════════════
   LISTING PAGE — STATS ROW
══════════════════════════════════════════════════ */
.stories-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 18px 20px 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(49,69,40,.55);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.stories-stats .stat-sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.stories-stats .stat-num {
  color: var(--g);
  font-weight: 700;
}

/* ══════════════════════════════════════════════════
   CASE STUDY CARD GRID
══════════════════════════════════════════════════ */
.stories-grid {
  padding: 12px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── CASE STUDY CARD ── */
.story-card {
  background: #fff;
  border-radius: var(--story-radius);
  border: 1px solid rgba(184,146,74,.18);
  border-left: var(--story-accent-line);
  padding: 20px 18px 18px;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: var(--story-shadow);
  transition: transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s ease;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.story-card:nth-child(even) {
  border-left-color: var(--sage);
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--story-shadow-hover);
}
.story-card:active {
  transform: scale(.98);
}
/* Decorative corner glow */
.story-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle at top right, rgba(184,146,74,.07) 0%, transparent 70%);
  pointer-events: none;
}
/* Coming-soon state */
.story-card.coming-soon {
  opacity: .55;
  pointer-events: none;
  border-left-color: rgba(107,141,115,.3);
  border-color: rgba(107,141,115,.15);
}

.story-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 3px 12px rgba(0,0,0,.15);
  background: linear-gradient(135deg, var(--g), var(--sage));
}
.story-card:nth-child(even) .story-avatar {
  background: linear-gradient(135deg, var(--sage), #4d7a5e);
}
.story-meta {
  flex: 1;
  min-width: 0;
}
.story-name {
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--g);
  margin-bottom: 2px;
}
.story-location {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gr);
}
.story-duration {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(184,146,74,.9);
  letter-spacing: .04em;
  margin-top: 2px;
}
.story-condition-tag {
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: 4px 11px;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(212,174,114,.18), rgba(184,146,74,.12));
  border: 1px solid rgba(184,146,74,.32);
  color: #8a6525;
  white-space: nowrap;
}

/* Video thumbnail placeholder in card */
.story-video-thumb {
  width: 100%;
  height: 120px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(49,69,40,.06), rgba(107,141,115,.1));
  border: 1px dashed rgba(107,141,115,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  gap: 6px;
  cursor: not-allowed;
}
.story-card:not(.coming-soon) .story-video-thumb {
  cursor: pointer;
}
.story-play-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(49,69,40,.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.story-play-icon svg {
  width: 14px; height: 14px;
  fill: var(--g);
  margin-left: 2px;
}
.story-video-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(49,69,40,.45);
}

.story-quote {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: rgba(42,42,42,.8);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.05);
}
.story-read-btn {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #fff;
  background: var(--g);
  border-radius: 40px;
  padding: 8px 16px;
  text-decoration: none;
  letter-spacing: .03em;
  transition: background .2s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.story-read-btn:hover {
  background: #1e2c18;
  box-shadow: 0 4px 14px rgba(49,69,40,.28);
}
.story-read-btn svg {
  width: 11px; height: 11px;
  stroke: #fff; stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.story-coming-badge {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(107,141,115,.7);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════
   LISTING PAGE FOOTER CTA
══════════════════════════════════════════════════ */
.stories-footer-cta {
  margin: 32px 16px 20px;
  padding: 28px 22px;
  background: linear-gradient(135deg, #314528 0%, #3d5530 100%);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(49,69,40,.28);
}
.stories-footer-cta::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.stories-footer-cta p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.stories-footer-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.stories-footer-cta .btn-consult {
  display: inline-block;
  padding: 13px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
  box-shadow: 0 4px 16px rgba(184,146,74,.4);
  position: relative; z-index: 1;
  transition: transform .2s, box-shadow .2s;
}
.stories-footer-cta .btn-consult:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184,146,74,.55);
}

/* ══════════════════════════════════════════════════
   INDIVIDUAL CASE STUDY PAGE
══════════════════════════════════════════════════ */

/* Patient hero (dark-green gradient) */
.patient-hero {
  position: relative;
  background: linear-gradient(135deg, #1e2c18 0%, #314528 40%, #3d5530 70%, #4d6b40 100%);
  padding: 28px 20px 52px;
  overflow: hidden;
}
.patient-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(184,146,74,.22) 0%, transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(107,141,115,.18) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}
.patient-hero::after {
  content: '';
  position: absolute; bottom: -1px; left: -1px; right: -1px;
  height: 32px; z-index: 2; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 376 32' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,18 C55,32 110,6 188,18 C266,30 320,6 376,18 L376,32 L0,32 Z' fill='%23faf6f1'/%3E%3C/svg%3E") bottom/100% 100% no-repeat;
}
.patient-hero-inner {
  position: relative; z-index: 1;
}
.patient-condition-badge {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 40px;
  padding: 4px 14px;
  backdrop-filter: blur(8px);
  margin-bottom: 10px;
}
.patient-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 16px rgba(0,0,0,.15);
  margin-bottom: 10px;
}
.patient-hero .recovery-span {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.recovery-arrow {
  font-size: 16px;
  color: var(--gold);
}
.patient-city {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(212,174,114,.85);
  letter-spacing: .06em;
  text-transform: uppercase;
}
/* Watermark */
.hero-wm {
  position: absolute;
  right: -8px; top: -10px;
  font-family: 'Playfair Display', serif;
  font-size: 100px; font-weight: 700;
  color: rgba(255,255,255,.055);
  line-height: 1;
  pointer-events: none; user-select: none; z-index: 0;
}

/* ── PATIENT SNAPSHOT CARD ── */
.patient-snapshot {
  margin: 24px 16px 0;
  background: #fff;
  border-radius: var(--story-radius);
  border: 1px solid rgba(184,146,74,.18);
  border-left: 4px solid var(--gold);
  padding: 20px 18px;
  box-shadow: var(--story-shadow);
}
.snapshot-title {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.snapshot-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(184,146,74,.3), transparent);
}
.snapshot-rows {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.snapshot-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  line-height: 1.5;
}
.snapshot-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--gr);
  letter-spacing: .04em;
  text-transform: uppercase;
  min-width: 110px;
  flex-shrink: 0;
  padding-top: 1px;
}
.snapshot-value {
  color: var(--ch);
  font-weight: 400;
}
.snapshot-value.recovered {
  color: var(--g);
  font-weight: 700;
}
.snapshot-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 5px;
}

/* ── CONTENT SECTIONS ── */
.story-section {
  padding: 28px 16px 0;
}
.story-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
}
.story-section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage), transparent);
  border-radius: 2px;
  flex-shrink: 0;
}
.story-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--g);
  line-height: 1.25;
  margin-bottom: 14px;
}
.story-section h2 em {
  color: var(--sage);
  font-style: italic;
}
.story-prose {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(42,42,42,.85);
  line-height: 1.78;
}
.story-prose p + p {
  margin-top: 14px;
}
.story-prose strong {
  color: var(--g);
  font-weight: 600;
}

/* ── PULL QUOTE / PATIENT VOICE ── */
.patient-voice {
  margin: 20px 0;
  padding: 18px 20px 18px 22px;
  background: linear-gradient(135deg, rgba(49,69,40,.04), rgba(107,141,115,.06));
  border-radius: 12px;
  border-left: 3px solid var(--g);
  position: relative;
}
.patient-voice::before {
  content: '\201C';
  position: absolute;
  top: -8px; left: 14px;
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  color: rgba(49,69,40,.12);
  line-height: 1;
  pointer-events: none;
}
.patient-voice p {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: var(--g);
  line-height: 1.65;
  position: relative; z-index: 1;
}
.patient-voice cite {
  display: block;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(49,69,40,.5);
  letter-spacing: .06em;
  text-transform: uppercase;
  font-style: normal;
}

/* ── PROTOCOL LIST ── */
.protocol-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-top: 4px;
}
.protocol-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(42,42,42,.85);
  line-height: 1.6;
}
.protocol-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(49,69,40,.1), rgba(107,141,115,.12));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.protocol-icon svg {
  width: 13px; height: 13px;
  stroke: var(--g); stroke-width: 2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ── HEALING TIMELINE ── */
.timeline-section {
  padding: 28px 16px 0;
}
.timeline-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--g);
  margin-bottom: 4px;
}
.timeline-section .story-section-label {
  margin-bottom: 18px;
}
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--g), var(--sage), rgba(107,141,115,.2));
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 20px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-dot {
  position: absolute;
  left: -23px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--g);
  box-shadow: 0 0 0 3px rgba(49,69,40,.08);
}
.timeline-item:last-child .timeline-dot {
  background: var(--g);
  border-color: var(--g);
}
.timeline-period {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.timeline-content {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: rgba(42,42,42,.85);
  line-height: 1.6;
}
.timeline-milestone {
  display: inline-block;
  margin-top: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--g);
  background: rgba(49,69,40,.07);
  border-radius: 20px;
  padding: 3px 10px;
}

/* ── VIDEO PLACEHOLDER ── */
.video-placeholder-section {
  padding: 24px 16px 0;
}
.video-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(49,69,40,.08), rgba(107,141,115,.14));
  border: 1px dashed rgba(107,141,115,.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background .2s, border-color .2s;
}
.video-placeholder:hover {
  background: linear-gradient(135deg, rgba(49,69,40,.12), rgba(107,141,115,.2));
  border-color: rgba(107,141,115,.6);
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
  pointer-events: none;
}
.video-play-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: rgba(49,69,40,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(49,69,40,.3);
  transition: transform .2s, background .2s;
  position: relative; z-index: 1;
}
.video-placeholder:hover .video-play-btn {
  transform: scale(1.08);
  background: var(--g);
}
.video-play-btn svg {
  width: 20px; height: 20px;
  fill: #fff;
  margin-left: 3px;
}
.video-caption {
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(49,69,40,.65);
  position: relative; z-index: 1;
}
.video-duration {
  font-weight: 400;
  color: rgba(49,69,40,.45);
}

/* ── DOCTOR'S NOTE ── */
.doctors-note {
  margin: 28px 16px 0;
  background: linear-gradient(135deg, #1e2c18 0%, #314528 100%);
  border-radius: 16px;
  padding: 24px 20px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(49,69,40,.24);
}
.doctors-note::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.dn-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(212,174,114,.85);
  margin-bottom: 8px;
  position: relative; z-index: 1;
}
.dn-doctor-name {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.dn-body {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-style: italic;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  position: relative; z-index: 1;
}
.dn-quote-mark {
  position: absolute;
  bottom: 12px; right: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  color: rgba(255,255,255,.07);
  line-height: 1;
  pointer-events: none;
}

/* ── INDIVIDUAL PAGE CTA BLOCK ── */
.story-cta-block {
  margin: 32px 16px 0;
  padding: 28px 22px;
  background: linear-gradient(135deg, #314528 0%, #3d5530 100%);
  border-radius: 20px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(49,69,40,.28);
}
.story-cta-block::before {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.story-cta-block .cta-eyebrow {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(212,174,114,.85);
  display: block;
  margin-bottom: 6px;
  position: relative; z-index: 1;
}
.story-cta-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.22;
  margin-bottom: 10px;
  position: relative; z-index: 1;
}
.story-cta-block p {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,.78);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative; z-index: 1;
}
.story-cta-block .btn-gold {
  display: inline-block;
  padding: 13px 28px;
  background: var(--gold);
  color: #fff;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .03em;
  box-shadow: 0 4px 16px rgba(184,146,74,.4);
  position: relative; z-index: 1;
  transition: transform .2s, box-shadow .2s;
}
.story-cta-block .btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184,146,74,.55);
}

/* ── RELATED CASES ── */
.related-section {
  padding: 28px 16px 4px;
}
.related-section h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(49,69,40,.5);
  margin-bottom: 14px;
}
.related-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(107,141,115,.18);
  border-left: 3px solid var(--sage);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 4px rgba(49,69,40,.05);
  transition: transform .18s, box-shadow .18s;
}
.related-link:hover {
  transform: translateX(3px);
  box-shadow: 0 3px 14px rgba(49,69,40,.1);
}
.related-link-text {
  flex: 1;
}
.related-link-name {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--g);
}
.related-link-cond {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: var(--gr);
  margin-top: 1px;
}
.related-link-arrow {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(49,69,40,.07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  flex-shrink: 0;
}
.related-link:hover .related-link-arrow {
  background: var(--sage);
}
.related-link-arrow svg {
  width: 10px; height: 10px;
  stroke: var(--g); stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.related-link:hover .related-link-arrow svg {
  stroke: #fff;
}

/* ══════════════════════════════════════════════════
   SCROLL REVEAL (duplicated here for standalone use)
══════════════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.d1 { transition-delay: .08s; }
.d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; }
.d4 { transition-delay: .32s; }
.d5 { transition-delay: .40s; }

/* ══════════════════════════════════════════════════
   LISTING PAGE — CARD ENTRANCE ANIMATIONS
══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .story-card:nth-child(1)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .32s both; }
  .story-card:nth-child(2)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .42s both; }
  .story-card:nth-child(3)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .50s both; }
  .story-card:nth-child(4)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .57s both; }
  .story-card:nth-child(5)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .63s both; }
  .story-card:nth-child(6)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .68s both; }
  .story-card:nth-child(7)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .73s both; }
  .story-card:nth-child(8)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .77s both; }
  .story-card:nth-child(9)  { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .81s both; }
  .story-card:nth-child(10) { animation: _storyIn .52s cubic-bezier(.22,1,.36,1) .85s both; }
  @keyframes _storyIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
  }

  /* Card shimmer on hover */
  .story-card::before {
    content: '';
    position: absolute;
    top: 0; left: -110%; width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.28) 50%, transparent 65%);
    pointer-events: none;
    transition: left .55s cubic-bezier(.22,1,.36,1);
    z-index: 1;
  }
  .story-card:hover::before { left: 145%; }
}

/* ══════════════════════════════════════════════════
   GOLD RULE (for use in story pages)
══════════════════════════════════════════════════ */
.story-gold-rule {
  width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 12px 0 16px;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET / WIDE MOBILE
══════════════════════════════════════════════════ */
@media (min-width: 480px) {
  .stories-grid {
    max-width: 480px;
    margin: 0 auto;
    padding: 12px 20px 0;
  }
  .patient-snapshot,
  .story-cta-block,
  .doctors-note,
  .stories-footer-cta {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .story-section,
  .timeline-section,
  .related-section,
  .video-placeholder-section {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* ════════════════════════════════════════════════════
   DESKTOP RESPONSIVE
════════════════════════════════════════════════════ */
@media (min-width: 768px){
  /* Stories listing header */
  .stories-header{padding:40px 60px 52px;}
  .stories-header h1{font-size:38px;}
  .stories-header .header-badge{font-size:11px;}

  /* Stats row */
  .stories-stats{
    max-width:700px;margin:0 auto;
    padding:16px 0;
    font-size:13px;gap:32px;
  }

  /* Filter pills */
  .stories-filters{
    max-width:1100px;margin:0 auto;
    padding:20px 60px 0;
    flex-wrap:wrap;justify-content:center;overflow-x:auto;gap:10px;
  }
  .sfpill{font-size:12px;padding:8px 18px;}
  #filter-wrap{padding:20px 60px 4px;}
  #filter-scroll{justify-content:center;}

  /* Cards grid — 2-col on tablet, 3-col on desktop */
  .stories-grid{
    max-width:1100px;margin:32px auto 0;
    padding:0 60px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
  }
  .story-card{width:auto;flex:none;}
  .story-card .vid-placeholder{height:220px;}

  /* Story detail pages */
  .story-inner{
    max-width:860px;margin:0 auto;
    padding:0 60px;
  }
  .patient-hero{padding:36px 0;}
  .story-timeline{padding:36px 40px;}
  .story-timeline .timeline-item{padding-left:40px;}
  .doctor-note{padding:36px 40px;}
  .story-cta{padding:48px 52px;}
  .story-cta h3{font-size:26px;}

  /* Floatbar */
  #float-bar{
    max-width:700px;left:50%;transform:translateX(-50%);
    right:auto;width:700px;border-radius:60px 60px 0 0;
  }
  #float-bg{max-width:700px;left:50%;transform:translateX(-50%);right:auto;width:700px;}
}

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