/* ==========================================================================
   SHUM Video Watch Pages (docs/17-video-watch-pages-plan.md)
   ========================================================================== */

.shum-video-page {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--site-narrow);
  margin-inline: auto;
  padding-inline: var(--site-gutter);
  padding-top: calc(var(--header-height) + clamp(20px, 3.5vw, 40px));
  padding-bottom: clamp(48px, 6vw, 84px);
  color: #111111;
  font-family: Manrope, sans-serif;
  line-height: 1.55;
}

.shum-video-page *,
.shum-video-page *::before,
.shum-video-page *::after {
  box-sizing: border-box;
}

/* Header & Eyebrow */
.shum-video-page__header {
  margin: 0 0 clamp(18px, 2.5vw, 28px);
}

.shum-video-page__eyebrow {
  display: inline-block;
  margin: 0 0 clamp(10px, 1.5vw, 16px);
  padding: 4px 10px;
  background: #f3ac03;
  color: #111111;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px;
  line-height: 1.3;
}

.shum-video-page__title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #111111;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Video Player Media */
.shum-video-page__media {
  margin: 0;
  padding: 0;
  width: 100%;
}

.shum-video-page__video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 24px;
  object-fit: cover;
}

.shum-video-page__caption {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #555555;
}

/* Summary Grid: Description + Facts */
.shum-video-page__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  margin-top: clamp(24px, 3.5vw, 36px);
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.shum-video-page__description {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.6;
  color: #222222;
}

.shum-video-page__description p {
  margin: 0 0 1rem;
}

.shum-video-page__description p:last-child {
  margin-bottom: 0;
}

/* Details Card (Facts) */
.shum-video-page__details {
  margin: 0;
  padding: clamp(20px, 2.5vw, 28px);
  background: #111111;
  color: #ffffff;
  border-radius: 16px;
  display: grid;
  gap: 14px;
}

.shum-video-page__detail {
  display: grid;
  gap: 4px;
}

.shum-video-page__detail + .shum-video-page__detail {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.shum-video-page__detail dt {
  color: #f3ac03;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shum-video-page__detail dd {
  margin: 0;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 500;
  color: #f5f5f7;
}

/* Project Link */
.shum-video-page__project-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  font-weight: 400;
  color: #111111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.shum-video-page__project-link:hover,
.shum-video-page__project-link:focus-visible {
  color: #f3ac03;
}

/* Mobile Adjustments (max-width: 767px) */
@media (max-width: 767px) {
  .shum-video-page {
    padding-inline: 6vw;
    padding-top: calc(var(--header-height) + 16px);
  }

  .shum-video-page__title {
    font-size: clamp(1.75rem, 7.5vw, 2.25rem);
  }

  .shum-video-page__video {
    border-radius: 16px;
  }

  .shum-video-page__summary {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 20px;
    margin-bottom: 24px;
  }

  .shum-video-page__details {
    padding: 20px;
  }
}
