/* Second Chances in Action — stories index and post pages.
   Extends the site stylesheet; do not load this on other pages. */

.sample-banner{
  background:var(--gold-tint);
  border-bottom:3px solid var(--gold);
  color:var(--navy);
  font-weight:800;
  text-align:center;
  padding:.85rem 1.25rem;
  font-size:.95rem;
  letter-spacing:.01em;
}
.sample-banner strong{font-weight:900}
.sample-badge{
  display:inline-block;
  align-self:flex-start;
  margin:0 0 .7rem;
  padding:.25rem .65rem;
  border-radius:999px;
  background:var(--gold-tint);
  color:var(--gold-text);
  font-weight:800;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.story-cards{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.6rem;
}
.story-cards:has(> .story-card:only-child){
  grid-template-columns:minmax(0,36rem);
}
.story-card{
  padding:0;
  overflow:hidden;
  height:100%;
}
.story-card-link{
  display:flex;
  flex-direction:column;
  height:100%;
  color:inherit;
  text-decoration:none;
}
.story-card-link:hover{color:inherit}
.story-card-photo{
  aspect-ratio:3/2;
  border-radius:0;
  box-shadow:none;
}
.story-card-photo img{transition:transform .35s ease}
.story-card-link:hover .story-card-photo img{transform:scale(1.03)}
.story-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:1.45rem 1.5rem 1.6rem;
}
.story-card-title{
  font-size:1.45rem;
  margin:0 0 .55rem;
}
.story-card-link:hover .story-card-title{color:var(--teal)}
.story-card-teaser{
  color:var(--muted);
  margin:0 0 1rem;
  font-size:1.02rem;
}
.story-empty{
  max-width:640px;
  margin:0 auto;
  text-align:center;
}

.story-hero-section{padding-top:2.2rem;padding-bottom:0}
.story-hero-photo{aspect-ratio:auto;max-height:none}
.story-hero-photo img{height:auto;object-fit:contain;width:100%}
.story-body{
  font-size:1.125rem;
  line-height:1.7;
}
.story-body h2{margin-top:1.8em}
.story-body h3{margin-top:1.5em}
.story-body blockquote{
  margin:1.6rem 0;
  padding:.2rem 0 .2rem 1.4rem;
  border-left:5px solid var(--gold);
  color:var(--navy);
  font-weight:700;
  font-size:1.2rem;
  line-height:1.45;
}
.story-body figure{margin:1.8rem 0}
.story-body figcaption{
  margin-top:.7rem;
  font-size:.9rem;
  color:var(--muted);
  font-weight:600;
}
.story-back{margin:2.2rem 0 0;font-weight:800}
.story-back a{text-decoration:none;color:var(--teal)}
.story-back a:hover{text-decoration:underline;color:var(--navy)}
.story-cta .lead{max-width:640px}
.story-cta .btn-row{margin-top:1.6rem;justify-content:center}

@media (max-width:800px){
  .story-cards,
  .story-cards:has(> .story-card:only-child){grid-template-columns:1fr}
  .story-hero-photo{max-height:none}
}
