
/* ===== Top bar ===== */
header {
  background-color: #fff;
  color: #000;
  padding: 1em;
  text-align: right;
  border-bottom: 1px solid #e6e6e6;
}
header nav ul { list-style: none; margin: 0; padding: 0; }
header nav ul li { display: inline-block; margin-right: 20px; }
header nav a { color: #000; text-decoration: none; font-family: Arial, sans-serif; }
header nav a:hover { color: #444; }

/* Page base */
html, body { margin: 0; padding: 0; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f0f0f0;   /* match music.html */
  color: #111;
  line-height: 1.5;
}

h1 {
  font-size: clamp(22px, 3.2vw, 36px);
  margin: 18px auto;
  padding: 0 12px;
  font-weight: 700;
  text-align: center;
}

/* ===== Index ===== */
.index {
  background: #fff;
  padding: 16px 20px;
  margin: 16px auto 8px;
  border: 1px solid #ddd;
  border-radius: 12px;
  max-width: 1100px;
}
.index h2 { font-size: 20px; margin: 0 0 10px 0; text-align: center; }
.index p { margin: 0 0 10px 0; text-align: left; }
.index ul { list-style: none; padding-left: 0; margin: 0; columns: 2; column-gap: 40px; }
.index li { break-inside: avoid; margin: 6px 0; }
.index a { text-decoration: none; color: #0a66c2; }
.index a:hover { text-decoration: underline; }

/* ===== Cards grid ===== */
.video-container {
  display: flex !important;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  max-width: 1600px;
  margin: 16px auto 40px;
  padding: 0 10px 10px;
}

/* Base: 1-up */
.video-card {
  flex: 1 1 100%;
  max-width: 100%;
  border: 5px solid #eee;
  border-radius: 20px;
  box-shadow: 0 1px 10px rgba(0,0,0,.08);
  background: #fff;
  padding-bottom: 12px;
  overflow: hidden;
  scroll-margin-top: 80px;
}

/* 2-up for small laptops / tablet landscape */
@media (min-width: 900px) and (max-width: 1199px) {
  .video-card {
    flex: 1 1 calc(50% - 18px);
    max-width: calc(50% - 18px);
  }
}

/* 4-up for PC and above */
@media (min-width: 1200px) {
  .video-card {
    flex: 1 1 calc(25% - 18px);
    max-width: calc(25% - 18px);
  }
}

/* ===== Card content ===== */
.video-card h2 { font-size: 18px; margin: 12px 12px 6px 12px; }
.video-card p, .video-card .meta, .video-card .notes { font-size: 14px; margin: 6px 12px; }

/* Embedded player */
.player-wrapper { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.player-wrapper iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Instagram */
.instagram-wrap { width: 100%; display: flex; justify-content: center; align-items: stretch; }
.instagram-media { width: 100% !important; max-width: 560px !important; min-width: 326px !important; margin: 8px auto !important; border-radius: 8px !important; }

/* Buttons */
.btn {
  display: inline-block;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  transition: transform .05s ease, box-shadow .15s ease;
  background: #f6e7c4;
  color: #333;
}
.btn:hover { box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.btn:active { transform: translateY(1px); }
.video-card .back-to-top { margin: 10px 12px 0 12px; text-align: center; }

@media (max-width: 560px) {
  .index ul { columns: 1; }
}
