/* ==========================================================================
   Block: Patient stories  (exact specs from Figma 40:686)
   ========================================================================== */

.rg-stories__head { max-width: var(--rg-heading-max); }   /* left-aligned like every other section (Figma x120) */
.rg-stories__title {
  margin: 16px 0 0;
  font-size: var(--rg-fs-h2-lg);          /* 48/600 */
  font-weight: var(--rg-fw-semibold);
  line-height: var(--rg-lh-heading);
  color: var(--rg-green);                 /* #215749 */
  max-width: var(--rg-heading-max);
}
.rg-stories__title-b { color: var(--rg-heading-muted); }
.rg-stories__sub {
  margin: 12px 0 0;
  font-size: var(--rg-fs-h5);             /* 20/600 */
  font-weight: var(--rg-fw-semibold);
  color: var(--rg-muted);                  /* #77918A */
}

/* ---- 3-column masonry ---- */
.rg-stories__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 40px;
  align-items: start;
}
.rg-stories__col { display: flex; flex-direction: column; gap: 12px; }

/* ---- Text testimonial card ---- */
.rg-stories__card--text {
  display: flex; flex-direction: column;
  padding: 24px 17px 17px;
  border-radius: var(--rg-radius-card);   /* 20px */
  background: rgba(var(--rg-white-rgb), 0.5);   /* white @50% */
}
.rg-stories__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 80px; font-weight: var(--rg-fw-semibold);
  line-height: .6; height: 44px;
  color: var(--rg-beige);                 /* gold #A09878 */
}
.rg-stories__quote {
  margin: 6px 0 0;
  font-size: var(--rg-fs-lead);           /* 18/600 */
  font-weight: var(--rg-fw-semibold);
  color: var(--rg-green-deep);            /* #1D3A32 */
}
.rg-stories__body {
  margin: 15px 0 0;
  font-size: var(--rg-fs-body);           /* 16/400 */
  line-height: var(--rg-lh-body);
  color: var(--rg-green-deep);
}
.rg-stories__author {
  margin-top: 15px;
  display: flex; flex-direction: column; gap: 3px;
  font-size: var(--rg-fs-small);          /* 14 */
}
.rg-stories__author-name {
  font-weight: var(--rg-fw-regular);
  color: var(--rg-muted);                  /* muted credit line */
}
.rg-stories__author-verified {
  font-weight: var(--rg-fw-semibold);
  color: var(--rg-green);                  /* source line: "Patient of Ibogaine Clinic · …" */
}
.rg-stories__body strong { font-weight: var(--rg-fw-semibold); color: var(--rg-green-deep); }

/* ---- Video card ---- */
.rg-stories__card--video {
  position: relative;
  display: block;
  width: 100%; padding: 0; border: 0; background: none; font: inherit; cursor: pointer;
  aspect-ratio: 392 / 208;
  border-radius: var(--rg-radius-card);
  overflow: hidden;
}
.rg-stories__card--video .rg-video-embed {
  position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; display: block;
  opacity: 0; transition: opacity .45s ease;
}
.rg-stories__card--video .rg-video-embed.is-ready { opacity: 1; }
.rg-stories__card--video img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.rg-stories__play {
  position: absolute; z-index: 1; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--rg-green);            /* #215749 */
  transition: transform .15s, opacity .25s;
}
.rg-stories__card--video:hover .rg-stories__play { transform: translate(-50%, -50%) scale(1.06); }
.rg-stories__card--video.is-playing .rg-stories__play { opacity: 0; pointer-events: none; }
.rg-stories__play-tri {
  width: 0; height: 0; margin-left: 4px;
  border-style: solid; border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--rg-white);   /* white triangle */
}

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .rg-stories__cols { grid-template-columns: repeat(2, 1fr); }
  .rg-stories__title { font-size: var(--rg-fs-h2-lg); }
}
@media (max-width: 560px) {
  .rg-stories__cols { grid-template-columns: 1fr; }
}
