/**
 * Retro Videos — Base Styles (layout & structure only)
 *
 * "The In-Store TV": a grid of wood-paneled console TVs. Each set has a CRT
 * bezel around a 16:9 embed, a control strip (power LED + two dials), and a
 * display-font caption below. Visual treatment (wood, bezel, dials, type) lives
 * in styles/retro.css. data-ams/wized hooks match editorial-videos.
 */

.retro-videos {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.retro-videos__inner {
  max-width: 78rem;
  margin: 0 auto;
}

/* ───────────────────────────────────────────────────────── HEADER */

.retro-videos__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.retro-videos__kicker {
  margin: 0;
  font-family: var(--body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.retro-videos__title-h {
  margin: 0;
  font-family: var(--header);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 0.98;
}

/* ───────────────────────────────────────────────────────── GRID */

.retro-videos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

.retro-videos__set {
  display: flex;
  flex-direction: column;
  outline: none;
}

.retro-videos__set:focus-visible .retro-videos__cabinet {
  outline: 2px solid;
  outline-offset: 3px;
}

/* ---- the wood cabinet ---- */

.retro-videos__cabinet {
  position: relative;
  padding: 0.7rem 0.7rem 0;
  border-radius: 12px;
}

/* ---- the CRT screen ---- */

.retro-videos__screen {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
}

.retro-videos__aspect {
  position: relative;
  padding-bottom: 56.25%;   /* 16:9 */
  height: 0;
  overflow: hidden;
}

.retro-videos__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---- control strip: power LED + two dials ---- */

.retro-videos__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
  height: 1.9rem;
  padding-right: 0.3rem;
}

.retro-videos__led {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  margin-right: auto;          /* push the LED to the left, dials to the right */
  margin-left: 0.2rem;
}

.retro-videos__dial {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
}

/* ---- caption ---- */

.retro-videos__info {
  margin-top: 0.85rem;
}

.retro-videos__title {
  margin: 0;
  font-family: var(--header);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.05;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ───────────────────────────────────────────────────── RESPONSIVE */

@media screen and (max-width: 767px) {
  .retro-videos__grid {
    grid-template-columns: 1fr;
  }
}
