/* Public YouTube browse / watch — aligns with site warm saffron accents */

.yt-videos-page {
  --yt-saffron: #c45c26;
  --yt-ink: #1c1410;
  --yt-muted: #5c534c;
  --yt-surface: #f7f2eb;
  --yt-line: rgba(28, 20, 16, 0.08);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 92, 38, 0.12), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(40, 90, 70, 0.08), transparent 55%),
    var(--yt-surface);
  color: var(--yt-ink);
  min-height: 100vh;
}

.yt-hero {
  padding: 2.5rem 0 1.5rem;
  border-bottom: 1px solid var(--yt-line);
}

.yt-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--yt-saffron);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.yt-hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0 0 0.5rem;
}

.yt-lead {
  max-width: 36rem;
  color: var(--yt-muted);
  margin: 0;
}

.btn-yt-primary {
  background: var(--yt-saffron);
  border-color: var(--yt-saffron);
  color: #fff;
}

.btn-yt-primary:hover {
  background: #a84b1c;
  border-color: #a84b1c;
  color: #fff;
}

.yt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.yt-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.yt-card:hover {
  transform: translateY(-3px);
  color: inherit;
}

.yt-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
  border-radius: 0.35rem;
}

.yt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-card-body h2,
.yt-card-body h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0.6rem 0 0.25rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-meta {
  font-size: 0.8rem;
  color: var(--yt-muted);
  margin: 0;
}

.yt-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  border-radius: 0.4rem;
  overflow: hidden;
}

.yt-player-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-watch h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  margin: 0 0 0.5rem;
}

.yt-attribution {
  color: var(--yt-muted);
  font-size: 0.95rem;
}

.yt-attribution a {
  color: var(--yt-saffron);
}

.yt-back {
  color: var(--yt-muted);
  text-decoration: none;
}

.yt-back:hover {
  color: var(--yt-saffron);
}

.yt-mood-tag {
  display: inline-block;
  margin-right: 0.4rem;
  font-size: 0.75rem;
  color: var(--yt-muted);
  border-bottom: 1px solid var(--yt-line);
}

.yt-desc {
  margin-top: 1rem;
  color: var(--yt-muted);
  white-space: pre-line;
  font-size: 0.9rem;
}

.yt-related h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

@media (max-width: 576px) {
  .yt-hero {
    padding-top: 1.5rem;
  }
}
