/* Section spacing for the page */
.case-study {
  padding: 2rem 0;
}

/* Media image card: centered, responsive block */
.media-card {
  max-width: 900px;        /* aligns with main .container width */
  margin: 1rem auto 2rem;  /* center + breathing room */
  text-align: center;
}

.media-img {
  display: block;
  width: 100%;
  height: auto;            /* keep aspect ratio */
  border-radius: 12px;     /* soft corners */
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  background: #000;        /* pleasant letterbox on non-16:9 images */
  object-fit: contain;     /* show entire image (no crop) */
}

.media-caption {
  color: #666;
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Audio card: simple elevated panel for the player */
.audio-card {
  max-width: 900px;
  margin: 0 auto 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  padding: 1rem 1.25rem;
}

.audio-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.audio-player {
  width: 100%;
  display: block;          /* ensure it spans the card width */
}

/* Small screens: add side padding when full-width */
@media (max-width: 480px) {
  .media-card,
  .audio-card {
    margin-left: 1rem;
    margin-right: 1rem;
  }
}