/* ==========================================================
   Videos Page — The Tom West Show
   Print magazine aesthetic: serif type, white space, editorial grid
   ========================================================== */

/* ---- Fonts ---- */
@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-v40-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('/fonts/playfair-display-v40-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Home Page ---- */
body.page-home {
  background: #fff;
  color: #1a1a1a;
}

.home-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

@media (min-width: 640px) {
  .home-title {
    font-size: 6rem;
  }
}

.home-link {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.home-link:hover {
  color: #1a1a1a;
}

/* ---- Page Body ---- */
body.page-videos {
  background: #fff;
  color: #1a1a1a;
  display: block;
  align-items: initial;
  justify-content: initial;
  text-align: left;
  min-height: auto;
}

/* ---- Container ---- */
.magazine {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---- Navigation ---- */
.site-nav {
  padding: 1.2rem 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.site-nav a {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a:focus {
  color: #1a1a1a;
}

.site-nav a[aria-current="page"] {
  color: #1a1a1a;
}

/* ---- Page Header ---- */
.page-header {
  padding: 3rem 0 1.5rem;
  border-bottom: 1px solid #ddd;
  margin-bottom: 2.5rem;
}

.page-header .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #999;
  margin-bottom: 0.4rem;
}

.page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 400;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}

/* ---- Hero Video ---- */
.video-hero {
  margin-bottom: 2.5rem;
}

.video-hero .video-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-hero .video-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #1a1a1a;
  margin-top: 0.8rem;
  line-height: 1.3;
}

/* ---- Section Divider ---- */
.divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0 0 2.5rem;
}

/* ---- Video Grid ---- */
.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 580px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (min-width: 860px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }
}

/* ---- Video Card ---- */
.video-card {
  position: relative;
}

.video-card .video-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.video-card .video-link:focus {
  outline: 2px solid #888;
  outline-offset: 4px;
}

.video-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-card .video-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
  margin-top: 0.5rem;
  line-height: 1.35;
}

/* ---- Footer ---- */
.site-footer {
  text-align: center;
  padding: 3rem 2rem 2rem;
  margin-top: 2rem;
  border-top: 1px solid #ddd;
  color: #bbb;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer a {
  color: #999;
  text-decoration: none;
}

.site-footer a:hover {
  color: #1a1a1a;
}
