/* Mifious Video R2. Uses Music's title rhythm and full-width inline video. */
.video-section,
.video-page-main {
  color: #eefaff;
}
.video-container {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 64px));
  margin: 0 auto;
}

/* Home: heading + one large player + song title, nothing else. */
.video-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0 112px;
  border-top: 1px solid rgba(160, 218, 248, .16);
  background:
    linear-gradient(140deg, rgba(3, 11, 19, .87), rgba(5, 23, 36, .72)),
    url("../../music-bg.webp") center / cover fixed;
}
.video-heading {
  margin: 0 0 36px;
  text-align: center;
}
.video-heading h2 {
  margin: 0;
  color: #eefaff;
  font-size: clamp(46px, 6vw, 78px);
  line-height: 1;
  letter-spacing: -.045em;
}
.video-featured {
  max-width: 1060px;
  margin: 0 auto;
}
.video-featured__media {
  width: 100%;
}
.video-featured__title {
  margin: 22px 0 0;
  color: #eefaff;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  text-align: center;
}

/* The player is in the page, immediately visible, never a modal. */
.video-inline-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* 200px of iframe viewport plus borders; YouTube letterboxes narrow screens. */
  min-height: 202px;
  overflow: hidden;
  border: 1px solid rgba(159, 222, 255, .22);
  border-radius: 22px 8px 22px 8px;
  background: #02070c;
  box-shadow: 0 24px 75px rgba(0, 0, 0, .34);
}
.video-inline-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-fallback-link {
  display: inline-block;
  padding: 12px 0;
  color: #bceeff;
  text-underline-offset: 4px;
}

/* Internal Video page matches Music: nav, one title, first player directly below. */
.video-page-main {
  min-height: calc(100vh - var(--site-nav-height));
}
.video-catalog-section {
  min-height: calc(100vh - var(--site-nav-height));
  padding: 34px 0 110px;
  background:
    linear-gradient(to bottom, rgba(2, 8, 15, .12), rgba(2, 8, 15, .52)),
    url("../../music-bg.webp") center top / cover fixed;
}
.video-page-heading {
  margin: 0 0 30px;
  text-align: center;
}
.video-page-heading h1 {
  margin: 0;
  color: #eefaff;
  font-size: clamp(54px, 6.2vw, 88px);
  line-height: .95;
  letter-spacing: -.05em;
}
.video-list {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 54px;
}
.video-list-item {
  min-width: 0;
  margin: 0;
}
.video-list-item__title {
  margin: 19px 0 0;
  color: #eefaff;
  font-size: clamp(22px, 2.7vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  text-align: center;
}

@media (max-width: 900px) {
  .video-section {
    padding: 84px 0 94px;
    background-attachment: scroll;
  }
  .video-catalog-section {
    padding-top: 28px;
    background-attachment: scroll;
  }
  .video-page-heading { margin-bottom: 25px; }
  .video-list { gap: 42px; }
}
@media (max-width: 680px) {
  .video-container { width: min(100% - 32px, 1220px); }
  .video-section { padding: 75px 0 80px; }
  .video-heading { margin-bottom: 26px; }
  .video-inline-frame { border-radius: 14px 5px 14px 5px; }
  .video-featured__title { margin-top: 16px; }
  .video-list-item__title { margin-top: 15px; }
  .video-catalog-section { padding-bottom: 78px; }
}
@media (max-width: 520px) {
  .video-catalog-section { padding-top: 20px; }
  .video-page-heading { margin-bottom: 22px; }
  .video-page-heading h1 { font-size: clamp(42px, 13vw, 66px); }
  .video-list { gap: 35px; }
}

/* A persistent text link also works when the third-party embed is blocked. */
.video-list-item > .video-fallback-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
}
