/* =========================
   WebTV
========================= */
:root {
  --webtv-bg: #111111;
  --webtv-panel: #161616;
  --webtv-panel-2: #f1f1f1;
  --webtv-text: #ece8dd;
  --webtv-muted: #a7a7a7;
  --webtv-border: rgba(255, 255, 255, 0.08);
}

.webtv-page {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 3rem;
  margin-top: 2rem;
  overflow: hidden;
}

.webtv-head {
  align-items: stretch;
  background: #222;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
}

.webtv-title {
  align-items: center;
  color: #fff;
  display: flex;
  font-family: var(--hu-display-font);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 1px;
  margin: 0;
  padding: 0 1.5rem;
  text-transform: uppercase;
}

.webtv-back {
  align-items: center;
  background: var(--hu-accent);
  color: #111;
  display: flex;
  font-family: var(--hu-display-font);
  font-size: 0.95rem;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  width: 110px;
}

.webtv-back:hover {
  color: #111;
  filter: brightness(1.05);
}

.webtv-logo-filter {
  background: var(--webtv-panel-2);
  border-bottom: 1px solid #d6d6d6;
  display: grid;
  grid-template-columns: 110px repeat(auto-fit, minmax(86px, 1fr));
}

.webtv-logo-filter a {
  align-items: center;
  background: transparent;
  border-right: 1px solid #d6d6d6;
  color: #222;
  display: flex;
  font-family: var(--hu-display-font);
  font-weight: 700;
  justify-content: center;
  min-height: 82px;
  padding: 0.4rem;
  text-transform: uppercase;
}

.webtv-logo-filter a:first-child {
  font-size: 1.35rem;
  letter-spacing: 1px;
}

.webtv-logo-filter a.active {
  background: #fff;
  position: relative;
}

.webtv-logo-filter a.active::after {
  background: var(--hu-accent);
  bottom: 0;
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
}

.webtv-subnav {
  background: #e7e7e7;
  border-bottom: 1px solid #d4d4d4;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
  padding: 0.75rem 1rem 1rem;
}

.webtv-subnav a {
  color: #222;
  font-family: var(--hu-display-font);
  font-size: 0.95rem;
  padding: 0.25rem 0.7rem;
  text-transform: uppercase;
  white-space: nowrap;
}

.webtv-subnav a.active {
  color: #a6ab2e;
  font-weight: 700;
}

.webtv-grid {
  background: #171717;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 2rem;
}

.webtv-card {
  color: inherit;
  display: block;
}

.webtv-card:hover {
  color: inherit;
}

.webtv-card-large {
  background: #222;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.webtv-thumb {
  aspect-ratio: 16 / 9;
  background: #2a2a2a;
  overflow: hidden;
  position: relative;
  width: 100%;
}

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

.webtv-play {
  color: rgba(255, 255, 255, 0.95);
  display: grid;
  font-size: 3.2rem;
  inset: 0;
  line-height: 1;
  place-items: center;
  pointer-events: none;
  position: absolute;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.5);
}

.webtv-meta {
  background: linear-gradient(to bottom, #1f1f1f, #181818);
  padding: 1rem 1rem 1.1rem;
}

.webtv-author {
  color: var(--hu-accent);
  display: inline-block;
  font-family: var(--hu-display-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-right: 0.5rem;
  text-transform: uppercase;
}

.webtv-date {
  color: #d8d8d8;
  font-family: var(--hu-display-font);
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.webtv-card-title {
  color: #fff;
  font-family: var(--hu-display-font);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
  margin: 0.55rem 0 0;
}

.webtv-card-description {
  color: var(--webtv-muted);
  font-size: 0.85rem;
  margin: 0.65rem 0 0;
}

.webtv-empty {
  color: #aaa;
  grid-column: 1 / -1;
  margin: 0;
}

.webtv-card:hover .webtv-card-title {
  color: var(--hu-accent);
}

.webtv-card:hover .webtv-thumb {
  outline: 2px solid rgba(205, 212, 71, 0.55);
}

@media (max-width: 992px) {
  .webtv-title {
    font-size: 1.7rem;
  }

  .webtv-logo-filter {
    grid-template-columns: 90px repeat(auto-fit, minmax(78px, 1fr));
  }

  .webtv-grid {
    grid-template-columns: 1fr;
  }

  .webtv-card-title {
    font-size: 1.45rem;
  }
}

@media (max-width: 576px) {
  .webtv-page {
    margin-top: 1rem;
  }

  .webtv-head {
    min-height: 64px;
  }

  .webtv-title {
    font-size: 1.35rem;
    padding: 0 1rem;
  }

  .webtv-back {
    font-size: 0.8rem;
    width: 92px;
  }

  .webtv-logo-filter {
    grid-template-columns: 1fr;
  }

  .webtv-logo-filter a {
    min-height: 64px;
  }

  .webtv-logo-filter a:first-child {
    font-size: 1.1rem;
  }

  .webtv-subnav {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
  }

  .webtv-grid {
    padding: 1rem;
  }

  .webtv-card-title {
    font-size: 1.2rem;
  }

  .webtv-play {
    font-size: 2.4rem;
  }
}
