/* Show portal — lifted from the videos mockup (.cat-sec / .vid-shelf / .show-row / .show-tile). */
.cat-sec { padding: 56px 0 64px; }
.vid-shelf { margin-bottom: 52px; }
.vid-shelf:last-child { margin-bottom: 0; }
.cat-sec .shelf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.cat-sec .shelf-head .l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cat-sec .shelf-head h2 { font-family: var(--serif-fa); font-weight: 500; font-size: 26px; margin: 0; letter-spacing: -0.5px; line-height: 1.15; color: var(--ink); }

.cat-sec .row-wrap { position: relative; padding: 0 56px; }
.cat-sec .row-arrow {
  position: absolute; top: 0; bottom: 28px; width: 48px;
  display: flex; align-items: center; justify-content: center; z-index: 2;
  transition: opacity 0.18s;
}
.cat-sec .row-arrow.prev { left: 0; }
.cat-sec .row-arrow.next { right: 0; }
.cat-sec .row-arrow.hide { opacity: 0; pointer-events: none; }
.cat-sec .row-arrow button {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--ink-2); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(30, 15, 15, 0.10); transition: background 0.15s, color 0.15s, transform 0.15s;
}
.cat-sec .row-arrow button:hover { background: var(--ink); color: #fff; transform: scale(1.06); }

.show-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 320px;
  gap: 22px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  margin: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.show-row::-webkit-scrollbar { display: none; }

.show-tile { cursor: pointer; display: flex; flex-direction: column; gap: 10px; transition: transform 0.2s ease; scroll-snap-align: start; text-decoration: none; }
.show-tile:hover { transform: translateY(-3px); }
.show-tile .thumb {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: 14px; overflow: hidden;
  background: var(--paper-2);
  box-shadow: 0 10px 24px rgba(30, 15, 15, 0.14), 0 3px 6px rgba(30, 15, 15, 0.08);
  transition: box-shadow 0.2s ease;
}
.show-tile:hover .thumb { box-shadow: 0 18px 36px rgba(30, 15, 15, 0.20); }
.show-tile .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.show-tile:hover .thumb img { transform: scale(1.04); }
.show-tile .thumb .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 8, 8, 0.72) 100%);
  pointer-events: none;
}
.show-tile h3 { font-family: var(--serif-fa); font-weight: 500; font-size: 21px; margin: 0; letter-spacing: -0.4px; line-height: 1.25; color: var(--ink); }
.show-tile:hover h3 { color: var(--accent); }
.show-tile .info {
  margin: 0; font-size: 13px; color: var(--ink-3); font-weight: 500;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.show-tile .info .seasons { color: var(--ink-3); }

/* Fallback poster when a show has no featured image. */
.thumb--fallback { display: flex; align-items: center; justify-content: center; }
.thumb--fallback .thumb-initial { font-family: var(--serif-fa); font-size: 48px; font-weight: 500; color: #fff; opacity: 0.92; position: relative; z-index: 1; }
.thumb--fallback[data-cover="0"] { background: linear-gradient(150deg, #eb584d, #b23227); }
.thumb--fallback[data-cover="1"] { background: linear-gradient(150deg, #ba3885, #7c2057); }
.thumb--fallback[data-cover="2"] { background: linear-gradient(150deg, #3f7c8a, #234c58); }
.thumb--fallback[data-cover="3"] { background: linear-gradient(150deg, #6a5acd, #3f2f9c); }
.thumb--fallback[data-cover="4"] { background: linear-gradient(150deg, #2e8b57, #1c5c39); }
.thumb--fallback[data-cover="5"] { background: linear-gradient(150deg, #e89a3c, #b0701f); }

@media (max-width: 720px) {
  .cat-sec { padding: 40px 0; }
  .cat-sec .row-wrap { padding: 0; }
  .cat-sec .row-arrow { display: none; }
  .show-row { grid-auto-columns: 260px; }
  .cat-sec .shelf-head h2 { font-size: 22px; }
  .show-tile h3 { font-size: 16px; }
  .show-tile .info { font-size: 11.5px; }
}
