/**
 * Silver Talkies — Emotional Storytelling design language
 * Reusable story cards, hero hooks, and community reassurance patterns.
 */

@import url(https://fonts.googleapis.com/css2?family=Tangerine:wght@400;700&display=swap);

:root {
  --st-story-pink: #fe5780;
  --st-story-ink: #333333;
  --st-story-muted: #8c8683;
  --st-story-warm-bg: #f7f7f7;
  --st-story-radius: 14px;
  --st-story-shadow: 0 4px 20px 0 #00000024;
}

/* ── Hero slideshow hooks (homepage) ── */
#section-1 #fade-slideshow .st-hero-hook {
  text-align: center;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.45;
  color: var(--st-story-pink);
  margin: 6px 0 0;
  float: left;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  min-height: 1.45em;
}

#section-1 #fade-slideshow .item.current .st-hero-hook {
  opacity: 1;
}

#section-1 .st-hero-stories-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--st-story-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

#section-1 .st-hero-stories-link:hover,
#section-1 .st-hero-stories-link:focus {
  color: var(--st-story-pink);
}

/* ── Stories preview band (homepage) ── */
#section-stories-hub {
  float: left;
  width: 100%;
  margin-top: 12%;
  padding-bottom: 5%;
  border-bottom: 1px solid var(--light-border, #e7e7e7);
}

#section-stories-hub .st-stories-heading {
  font-weight: 700;
  font-size: 45px;
  text-align: center;
  margin: 10px 0 8%;
  line-height: 59px;
}

#section-stories-hub .st-stories-subheading {
  font-size: 22px;
  text-align: center;
  margin: -4% 0 8%;
  color: var(--st-story-ink);
}

.st-story-card {
  margin-bottom: 5%;
  display: block;
  color: inherit;
  text-decoration: none;
}

.st-story-card:hover,
.st-story-card:focus {
  text-decoration: none;
  color: inherit;
}

.st-story-card:hover .st-story-card__image,
.st-story-card:focus .st-story-card__image {
  transform: scale(1.02);
  transition: transform 0.3s ease;
}

.st-story-card__image {
  box-shadow: var(--st-story-shadow);
  max-height: 330px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--st-story-radius);
  transition: transform 0.3s ease;
}

.st-story-card__name {
  font-weight: 600;
  font-size: 23px;
  text-align: left;
  line-height: 1.4;
  margin: 5% 0 0;
}

.st-story-card__hook {
  font-size: 16px;
  margin: 8px 0 0;
  color: var(--st-story-ink);
}

.st-story-card__tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--st-story-pink);
}

.st-stories-cta-wrap {
  text-align: center;
  margin-top: 2%;
}

.st-stories-cta-wrap .clearbtn {
  display: inline-block;
  margin: 0 auto;
}

/* ── Stories hub page ── */
.st-stories-page {
  float: left;
  width: 100%;
}

.st-stories-page-hero {
  margin-top: 6%;
  padding: 4% 0 6%;
  background: linear-gradient(180deg, #fff 0%, var(--st-story-warm-bg) 100%);
  float: left;
  width: 100%;
}

.st-stories-page-hero h1 {
  font-weight: 700;
  font-size: 45px;
  line-height: 1.25;
  text-align: center;
  margin: 0 0 16px;
}

.st-stories-page-hero p {
  font-size: 18px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

.st-stories-section {
  float: left;
  width: 100%;
  margin-top: 8%;
  padding-bottom: 4%;
}

.st-stories-section + .st-stories-section {
  border-top: 1px solid #e7e7e7;
  padding-top: 8%;
}

.st-stories-section__title {
  font-weight: 700;
  font-size: 38px;
  text-align: center;
  margin: 0 0 12px;
  line-height: 1.25;
}

.st-stories-section__lead {
  font-size: 18px;
  text-align: center;
  margin: 0 0 6%;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* Club members grid on stories.html */
.st-stories-members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
  width: 100%;
  clear: both;
}

#club-members .st-stories-member-card {
  float: none;
  width: 100%;
  min-width: 0;
}

#club-members .success-story-box {
  margin-bottom: 0;
  float: none;
  width: 100%;
}

#club-members .success-story-image {
  box-shadow: var(--st-story-shadow);
  max-height: 330px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--st-story-radius);
  display: block;
}

#club-members .x-success-heading {
  font-weight: 600;
  font-size: 23px;
  text-align: left;
  line-height: 1.35;
  margin: 20px 0 0;
}

#club-members .x-success-para {
  font-size: 16px;
  line-height: 1.55;
  margin: 12px 0 0;
}

/* Pathbreakers row on stories.html */
.st-stories-pathbreakers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 20px;
  width: 100%;
  clear: both;
}

.st-stories-pathbreakers-grid > div {
  float: none;
  width: 100%;
  min-width: 0;
}

.st-story-quote-card {
  background: #fff;
  border-radius: var(--st-story-radius);
  box-shadow: var(--st-story-shadow);
  padding: 28px 24px;
  margin-bottom: 24px;
  height: 100%;
}

.st-story-quote-card blockquote {
  font-size: 20px;
  line-height: 1.55;
  margin: 0 0 16px;
  font-style: italic;
  color: var(--st-story-ink);
  border: none;
  padding: 0;
}

.st-story-quote-card cite {
  font-size: 14px;
  color: var(--st-story-muted);
  font-style: normal;
}

.st-story-quote-card cite .Tangerian-font {
  font-family: Tangerine, cursive;
  font-size: 36px;
  color: var(--st-story-pink);
  margin-right: 6px;
}

.st-stories-banner-cta {
  float: left;
  width: 100%;
  margin: 10% 0 6%;
  padding: 5% 0;
  background-color: var(--st-story-warm-bg);
  text-align: center;
  border-radius: var(--st-story-radius);
}

.st-stories-banner-cta h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 12px;
}

.st-stories-banner-cta p {
  font-size: 18px;
  margin: 0 0 24px;
}

.st-stories-anchor-target {
  scroll-margin-top: 100px;
}

/* Community page: story cards as links */
#section-7 a.st-story-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

#section-7 a.st-story-card-link:hover .x-success-heading,
#section-7 a.st-story-card-link:focus .x-success-heading {
  color: var(--st-story-pink);
}

#section-7 .st-read-story {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--st-story-pink);
}

/* Membership checkout reassurance strip */
.st-checkout-stories {
  margin: 0 0 1rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 2px solid var(--st-border, #b8c4c4);
  border-radius: var(--st-radius, 14px);
}

.st-checkout-stories__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
}

.st-checkout-stories__item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0 0 0.85rem;
}

.st-checkout-stories__item:last-child {
  margin-bottom: 0;
}

.st-checkout-stories__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--st-brand, #2fadb1);
}

.st-checkout-stories__quote {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
  font-style: italic;
}

.st-checkout-stories__name {
  margin: 4px 0 0;
  font-size: 0.82rem;
  color: var(--st-muted, #4a4a4a);
}

@media screen and (max-width: 767px) {
  .st-stories-members-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .st-stories-pathbreakers-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  #section-1 #fade-slideshow .st-hero-hook {
    font-size: 15px;
  }

  #section-stories-hub .st-stories-heading,
  .st-stories-page-hero h1 {
    font-size: 24px;
    line-height: 1.35;
  }

  #section-stories-hub .st-stories-subheading,
  .st-stories-section__title {
    font-size: 18px;
    line-height: 1.4;
  }

  .st-stories-section__title {
    font-size: 22px;
  }

  .st-story-quote-card blockquote {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #section-1 #fade-slideshow .st-hero-hook,
  .st-story-card__image {
    transition: none;
  }

  .st-story-card:hover .st-story-card__image,
  .st-story-card:focus .st-story-card__image {
    transform: none;
  }
}
