.single-media.section-bg--soft_charcoal  { background-color: #6e6e6e; color: #fff; }
.single-media.section-bg--electric_blue  { background-color: #1e96eb; color: #fff; }
.single-media.section-bg--midnight_blue  { background-color: #003d69; color: #fff; }
.single-media.section-bg--soft_periwinkle { background-color: #dfebf5; color: #003d69; }
.single-media.section-bg--white          { background-color: #fff;    color: #003d69; }
.single-media.section-bg--black          { background-color: #000;    color: #fff; }

.single-media__inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 60px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.single-media__body {
  width: 100%;
  text-align: center;
}

/* 16:9 wrapper for video and poster */
.single-media__player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
}

.single-media__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Poster: thumbnail + play button overlay */
.single-media__poster {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.single-media__poster .single-media__thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-media__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 80px;
  height: 80px;
  transition: transform 0.2s ease;
}

.single-media__play-btn:hover {
  transform: translate(-50%, -50%) scale(1.12);
}

.single-media__play-btn svg {
  width: 100%;
  height: 100%;
}

/* Image-only: centered, no aspect-ratio wrapper */
.single-media__image-only {
  width: 100%;
  display: flex;
  justify-content: center;
}

.single-media__image-only .single-media__thumbnail {
  max-width: 100%;
  height: auto;
  display: block;
}

/* CTA */
.single-media__cta-wrap {
  text-align: center;
}

.single-media__cta {
  display: inline-block;
  padding: 14px 36px;
  background-color: #003865;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.2s ease;
}

.single-media__cta:hover {
  background-color: #00254a;
  color: #fff;
}
