/* =====================================================
   Coach T – Story Band (Editorial Feature)
   ===================================================== */

.story-band {
  position: relative;
  color: #fff;
  overflow: hidden;

  background-image: url("../img/coach-washington-nfl.png"); /* update if needed */
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;

  padding-block: clamp(5rem, 10vw, 8rem);
}

/* Overlay for text contrast */
.story-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Ensure content renders above overlay */
.story-band .container {
  position: relative;
  z-index: 2;
}

/* =====================================================
   Typography
   ===================================================== */

.story-band .section-title {
  margin-bottom: 1.5rem;
}

.story-band p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

.story-band p:last-child {
  margin-bottom: 0;
}

/* Subtle shadow improves readability on bright imagery */
.story-band h2,
.story-band p {
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* =====================================================
   Performance & Accessibility
   ===================================================== */

/* Disable fixed backgrounds on mobile (iOS + perf) */
@media (max-width: 991px) {
  .story-band {
    background-attachment: scroll;
    background-position: center top;
  }
}

/* Respect reduced‑motion preferences */
@media (prefers-reduced-motion: reduce) {
  .story-band {
    background-attachment: scroll;
  }
}