/* =====================================================================
   Games VTV — Premium dark gaming portal
   Main stylesheet (hand-written, no build step required).
   Build stamp: gvtv-20260510-hero-no-clip — if missing in DevTools Network, reload bypassing cache.
   ===================================================================== */

:root {
  --gvtv-bg: #0F0F0F;
  --gvtv-wrapper: #161616;
  --gvtv-elev-1: #1B1B1B;
  --gvtv-elev-2: #1F1F1F;
  --gvtv-text: #FFFFFF;
  --gvtv-text-2: #B3B3B3;
  --gvtv-text-3: #7B7B7B;
  --gvtv-line: rgba(255, 255, 255, 0.06);
  --gvtv-line-strong: rgba(255, 255, 255, 0.12);
  --gvtv-accent: #FF8F1F;
  --gvtv-accent-2: #FFB366;
  --gvtv-accent-soft: rgba(255, 143, 31, 0.15);
  --gvtv-accent-glow: rgba(255, 143, 31, 0.35);
  --gvtv-radius-sm: 10px;
  --gvtv-radius: 16px;
  --gvtv-radius-lg: 22px;
  --gvtv-radius-xl: 28px;
  --gvtv-shadow-1: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 30px rgba(0, 0, 0, 0.45);
  --gvtv-shadow-2: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 24px 60px rgba(0, 0, 0, 0.55);
  --gvtv-glow:    0 0 0 1px var(--gvtv-accent-soft), 0 18px 40px -10px var(--gvtv-accent-glow);
  --gvtv-glow-strong: 0 0 0 1px var(--gvtv-accent), 0 30px 60px -10px var(--gvtv-accent-glow);
  --gvtv-font: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gvtv-font-display: "Manrope", "Inter", system-ui, sans-serif;
  --gvtv-container: 1400px;
  --gvtv-pad: clamp(16px, 2.4vw, 32px);
  --gvtv-section-gap: clamp(48px, 6vw, 96px);
  --gvtv-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gvtv-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--gvtv-bg);
  color: var(--gvtv-text);
  font-family: var(--gvtv-font);
  font-size: clamp(15px, 0.95vw + 0.4rem, 17px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 143, 31, 0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(255, 143, 31, 0.04), transparent 60%);
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--gvtv-ease); }
a:hover { color: var(--gvtv-accent); }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding: 0; margin: 0; }
hr { border: 0; border-top: 1px solid var(--gvtv-line); margin: 2rem 0; }
:focus-visible { outline: 2px solid var(--gvtv-accent); outline-offset: 3px; border-radius: 6px; }

/* ---------- layout ---------- */
.gvtv-wrapper {
  position: relative;
  max-width: var(--gvtv-container);
  margin: 0 auto;
  padding: 0 var(--gvtv-pad);
}
.gvtv-wrapper--surface {
  margin: 24px auto 64px;
  padding: clamp(20px, 3vw, 40px);
  background: linear-gradient(180deg, var(--gvtv-wrapper) 0%, #131313 100%);
  border: 1px solid var(--gvtv-line);
  border-radius: var(--gvtv-radius-xl);
  box-shadow: var(--gvtv-shadow-2);
}
.gvtv-wrapper--surface::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background-image: radial-gradient(1000px 300px at 50% -50px, rgba(255, 143, 31, 0.08), transparent 60%);
}
.gvtv-section { padding: var(--gvtv-section-gap) 0; position: relative; }
.gvtv-section + .gvtv-section { padding-top: 0; }

/* Homepage: tighten space under header — first block is Games grid */
main.gvtv-main > .gvtv-wrapper--surface:has(> .gvtv-front-games:first-child) {
  padding-top: clamp(12px, 2vw, 20px);
}
.gvtv-section.gvtv-front-games {
  padding-top: 8px;
  padding-bottom: var(--gvtv-section-gap);
}
.gvtv-section__title.gvtv-section__title--bare {
  margin: 4px 0 0;
}

/* ---------- typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--gvtv-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 3.4vw + .5rem, 3.6rem); }
h2 { font-size: clamp(1.5rem, 1.8vw + .8rem, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1vw + .8rem, 1.6rem); }
p  { margin: 0 0 1.1em; color: var(--gvtv-text); }
small, .gvtv-muted { color: var(--gvtv-text-2); }
.gvtv-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase;
  font-size: 12px; font-weight: 700; letter-spacing: .14em;
  color: var(--gvtv-text-2);
}
.gvtv-eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--gvtv-accent);
  box-shadow: 0 0 10px var(--gvtv-accent-glow);
}

/* ---------- buttons / badges ---------- */
.gvtv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .02em;
  border: 1px solid var(--gvtv-line-strong);
  background: rgba(255, 255, 255, 0.02);
  color: var(--gvtv-text);
  transition: transform .25s var(--gvtv-ease), background .25s var(--gvtv-ease), border-color .25s var(--gvtv-ease), box-shadow .25s var(--gvtv-ease), color .25s var(--gvtv-ease);
}
.gvtv-btn:hover { transform: translateY(-1px); border-color: var(--gvtv-accent); box-shadow: var(--gvtv-glow); color: var(--gvtv-text); }
.gvtv-btn--primary {
  background: linear-gradient(180deg, rgba(255, 143, 31, 0.15), rgba(255, 143, 31, 0.05));
  border-color: rgba(255, 143, 31, 0.4);
}
.gvtv-btn--ghost { background: transparent; }

.gvtv-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gvtv-text);
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--gvtv-line-strong);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.gvtv-badge--accent {
  border-color: var(--gvtv-accent);
  color: var(--gvtv-accent);
  background: rgba(255, 143, 31, 0.08);
}
.gvtv-badge--solid {
  background: var(--gvtv-accent);
  color: #1A0F00;
  border-color: transparent;
}
.gvtv-badge--platform {
  background: rgba(255, 255, 255, 0.05);
  text-transform: none;
  letter-spacing: .04em;
}

/* ---------- header ---------- */
.gvtv-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--gvtv-accent-soft);
  background: rgba(15, 15, 15, 0.65);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.gvtv-header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 72px;
}
.gvtv-header__logo {
  display: inline-flex; align-items: center;
  flex-shrink: 0;
  color: var(--gvtv-text);
  line-height: 0;
}
.gvtv-header__logo .gvtv-site-logo__img {
  display: block;
  height: 44px;
  width: auto;
  max-width: min(220px, 42vw);
  object-fit: contain;
}
.gvtv-footer__brand .gvtv-footer__logo-link.gvtv-header__logo {
  margin-bottom: 6px;
}
.gvtv-footer__brand .gvtv-site-logo__img {
  height: 56px;
  max-width: min(260px, 85%);
}
.gvtv-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.gvtv-nav ul { display: flex; gap: 4px; list-style: none; }
.gvtv-nav a {
  position: relative;
  padding: 10px 16px; border-radius: 10px;
  font-weight: 600; font-size: 14px;
  color: var(--gvtv-text-2);
  transition: color .25s var(--gvtv-ease), background .25s var(--gvtv-ease);
}
.gvtv-nav a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px;
  background: var(--gvtv-accent);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--gvtv-ease);
  box-shadow: 0 0 10px var(--gvtv-accent-glow);
  border-radius: 2px;
}
.gvtv-nav a:hover, .gvtv-nav .current-menu-item > a, .gvtv-nav .current_page_item > a, .gvtv-nav .current-post-ancestor > a {
  color: var(--gvtv-text); background: rgba(255, 255, 255, 0.03);
}
.gvtv-nav a:hover::after, .gvtv-nav .current-menu-item > a::after { transform: scaleX(1); }
.gvtv-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.gvtv-iconbtn {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--gvtv-line);
  color: var(--gvtv-text-2);
  transition: all .25s var(--gvtv-ease);
}
.gvtv-iconbtn:hover { color: var(--gvtv-accent); border-color: var(--gvtv-accent); box-shadow: var(--gvtv-glow); }
.gvtv-burger { display: none; }

@media (max-width: 900px) {
  .gvtv-nav { display: none; }
  .gvtv-burger { display: grid; }
  .gvtv-nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    position: fixed; inset: 72px 0 0 0; padding: 24px;
    background: rgba(15, 15, 15, 0.96); backdrop-filter: blur(18px);
    z-index: 49;
  }
  .gvtv-nav.is-open ul { flex-direction: column; gap: 4px; }
  .gvtv-nav.is-open a { font-size: 18px; padding: 16px; border-bottom: 1px solid var(--gvtv-line); border-radius: 0; }
}

/* ---------- search overlay ---------- */
.gvtv-search-overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: flex-start; justify-content: center;
  padding-top: 12vh;
}
.gvtv-search-overlay.is-open { display: flex; }
.gvtv-search-overlay form {
  width: min(720px, 90vw);
  display: flex; gap: 8px;
  background: var(--gvtv-elev-1);
  border: 1px solid var(--gvtv-line);
  border-radius: var(--gvtv-radius);
  padding: 10px;
  box-shadow: var(--gvtv-shadow-2);
}
.gvtv-search-overlay input[type="search"] {
  flex: 1;
  background: transparent; border: 0; outline: none;
  color: var(--gvtv-text); font-size: 18px;
  padding: 12px 14px;
}
.gvtv-search-overlay button { background: var(--gvtv-accent); color: #1A0F00; border: 0; border-radius: 12px; padding: 0 18px; font-weight: 700; }

/* ---------- section heading ---------- */
.gvtv-section__head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.gvtv-section__title { margin: 4px 0 0; }
.gvtv-section__head a.gvtv-link {
  color: var(--gvtv-text-2); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.gvtv-section__head a.gvtv-link:hover { color: var(--gvtv-accent); border-color: var(--gvtv-accent); }

/* =====================================================================
   Cards
   ===================================================================== */
.gvtv-card {
  position: relative;
  display: block;
  background: var(--gvtv-elev-1);
  border: 1px solid var(--gvtv-accent-soft);
  border-radius: var(--gvtv-radius-lg);
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--gvtv-ease), border-color .35s var(--gvtv-ease), box-shadow .35s var(--gvtv-ease);
}
.gvtv-card:hover {
  transform: translateY(-4px);
  border-color: var(--gvtv-accent);
  box-shadow: var(--gvtv-glow);
}
.gvtv-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0a0a0a; }
.gvtv-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.85) 100%);
}
.gvtv-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--gvtv-ease-out), filter .35s var(--gvtv-ease);
  filter: saturate(105%);
}
.gvtv-card:hover .gvtv-card__img { transform: scale(1.06); filter: saturate(115%); }
.gvtv-card__badges { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.gvtv-card__body { padding: 18px 20px 22px; }
.gvtv-card__title {
  font-family: var(--gvtv-font-display); font-weight: 700;
  font-size: clamp(16px, 1vw + .6rem, 22px);
  line-height: 1.25; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.gvtv-card:hover .gvtv-card__title { color: var(--gvtv-text); }
.gvtv-card__meta {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 12px; color: var(--gvtv-text-3);
  letter-spacing: .02em;
}
.gvtv-card__meta strong { color: var(--gvtv-text-2); font-weight: 600; }
.gvtv-card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gvtv-text-3); }
.gvtv-card__excerpt {
  color: var(--gvtv-text-2); font-size: 14px; line-height: 1.55;
  margin: 6px 0 14px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* Card variants */
.gvtv-card--featured { grid-row: span 2; }
.gvtv-card--featured .gvtv-card__media { aspect-ratio: 16 / 11; }
.gvtv-card--featured .gvtv-card__title { font-size: clamp(20px, 1.6vw + .6rem, 32px); -webkit-line-clamp: 4; }

/* Horizontal rail: fixed-width thumb fills card height; body sets row height */
.gvtv-card.gvtv-card--compact {
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.gvtv-card--compact .gvtv-card__media {
  flex: 0 0 160px;
  width: 160px;
  min-width: 160px;
  max-width: 160px;
  align-self: stretch;
  min-height: 0;
  aspect-ratio: auto;
  height: auto;
}
.gvtv-card--compact .gvtv-card__media .gvtv-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gvtv-card--compact .gvtv-card__body {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  position: relative;
  z-index: 1;
}
.gvtv-card--compact .gvtv-card__meta {
  min-width: 0;
  margin: 0;
}
.gvtv-card--compact .gvtv-card__meta--compact-top {
  margin-bottom: 0;
  gap: 6px;
}
.gvtv-card--compact .gvtv-badge--compact {
  font-size: 10px;
  padding: 2px 8px;
}
.gvtv-card--compact .gvtv-card__title {
  font-size: 14px;
  line-height: 1.35;
  margin: 0;
  -webkit-line-clamp: 2;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 600px) {
  .gvtv-card--compact .gvtv-card__media {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
  }
}

.gvtv-card--review .gvtv-score {
  position: absolute; top: 14px; right: 14px;
  z-index: 3;
}

.gvtv-card--guide .gvtv-card__title { -webkit-line-clamp: 2; }

/* Game archive — compact portrait cards, title on frosted bar */
.gvtv-card--game .gvtv-card__media {
  aspect-ratio: 3 / 4;
  min-height: 0;
}
.gvtv-card--game .gvtv-card__media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.35) 100%);
}
.gvtv-card--game .gvtv-card__game-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 12px 14px 14px;
  background: rgba(12, 12, 12, 0.42);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35);
}
.gvtv-card--game .gvtv-card__title {
  margin: 0;
  font-size: clamp(13px, 0.35vw + 0.72rem, 16px);
  line-height: 1.3;
  -webkit-line-clamp: 2;
  color: var(--gvtv-text);
}
.gvtv-card--game:hover .gvtv-card__title {
  color: var(--gvtv-text);
}

/* /games/ grid — five cards per row on large screens */
.gvtv-games-grid {
  display: grid;
  gap: clamp(14px, 1.8vw, 20px);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1200px) {
  .gvtv-games-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .gvtv-games-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .gvtv-games-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 380px) {
  .gvtv-games-grid { grid-template-columns: 1fr; }
}

/* Same grid + “See all” tile on homepage (11th cell) */
.gvtv-games-grid--front {
  align-items: stretch;
}
.gvtv-games-grid--front > .gvtv-see-all--games-cell {
  align-self: stretch;
  margin: 0;
  min-height: 240px;
}
@media (min-width: 640px) {
  .gvtv-games-grid--front > .gvtv-see-all--games-cell { min-height: 280px; }
}

/* See all card */
.gvtv-see-all {
  position: relative;
  background: transparent;
  border: 1.5px dashed rgba(255, 143, 31, 0.4);
  border-radius: var(--gvtv-radius-lg);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  text-align: center; gap: 14px;
  padding: 32px;
  color: var(--gvtv-text-2);
  transition: all .35s var(--gvtv-ease);
}
/* Full-height only where the slide / cell is sized (not in news/guides rail — breaks flex split). */
.gvtv-hero__slide > .gvtv-see-all {
  min-height: 100%;
}
.gvtv-see-all__icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px dashed rgba(255, 143, 31, 0.4);
  display: grid; place-items: center; color: var(--gvtv-accent);
  transition: all .35s var(--gvtv-ease);
}
.gvtv-see-all:hover {
  border-style: solid; border-color: var(--gvtv-accent);
  background: linear-gradient(180deg, rgba(255, 143, 31, 0.06), rgba(255, 143, 31, 0.02));
  color: var(--gvtv-text); box-shadow: var(--gvtv-glow);
}
.gvtv-see-all:hover .gvtv-see-all__icon { background: var(--gvtv-accent); color: #1A0F00; border-style: solid; border-color: var(--gvtv-accent); }
.gvtv-see-all__title { font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }

/* =====================================================================
   Hero slider
   ===================================================================== */
.gvtv-hero {
  position: relative;
  padding-top: 36px;
  padding-bottom: 28px;
}
.gvtv-hero__head {
  display: flex; align-items: end; justify-content: space-between; gap: 16px;
  margin-bottom: 22px;
}
.gvtv-hero__nav { display: flex; gap: 8px; }
/* Main shell must not clip first-section hero glow (not only «blog home» uses front-page.php) */
main.gvtv-main,
main.gvtv-main > .gvtv-wrapper--surface {
  overflow: visible !important;
}
.gvtv-hero__viewport {
  position: relative;
  margin: 0 calc(var(--gvtv-pad) * -1);
  padding: 20px var(--gvtv-pad) 56px;
  /* Any non-visible overflow here cuts hover glow/shadows; horizontal trim via inset shadow only. */
  overflow: visible !important;
  box-shadow:
    inset 44px 0 40px -28px rgba(22, 22, 22, 0.88),
    inset -44px 0 40px -28px rgba(22, 22, 22, 0.88);
}
.gvtv-hero__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 4 * 18px) / 5);
  gap: 18px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 14px;
}
.gvtv-hero__track::-webkit-scrollbar { display: none; }
.gvtv-hero__slide {
  scroll-snap-align: start;
  position: relative;
  padding: 4px 0 12px;
  box-sizing: border-box;
}
.gvtv-hero__slide.is-active {
  z-index: 4;
}
.gvtv-hero__slide .gvtv-card:hover {
  position: relative;
  z-index: 5;
}
/* Card uses overflow:visible so hover box-shadow / lift are not self-clipped (see base .gvtv-card). */
.gvtv-hero .gvtv-card {
  overflow: visible;
}
.gvtv-hero .gvtv-card__media {
  border-top-left-radius: var(--gvtv-radius-lg);
  border-top-right-radius: var(--gvtv-radius-lg);
}
.gvtv-hero .gvtv-card__body {
  border-bottom-left-radius: var(--gvtv-radius-lg);
  border-bottom-right-radius: var(--gvtv-radius-lg);
}
.gvtv-hero__slide .gvtv-card { height: 100%; }
.gvtv-hero__slide .gvtv-card__media { aspect-ratio: 16 / 11; }
.gvtv-hero__slide .gvtv-card__body { padding: 16px 18px 20px; }
.gvtv-hero__slide .gvtv-card__title { -webkit-line-clamp: 2; }
.gvtv-hero__slide.is-active .gvtv-card {
  border-color: var(--gvtv-accent);
  box-shadow: var(--gvtv-glow-strong);
  transform: translateY(-4px) scale(1.015);
}
.gvtv-hero__slide.is-active .gvtv-card__media::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.92) 100%);
}

@media (max-width: 1100px) {
  .gvtv-hero__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
}
@media (max-width: 720px) {
  .gvtv-hero__track { grid-auto-columns: 82%; gap: 14px; }
}

/* =====================================================================
   News / Guides grids (2 columns: featured + stack)
   ===================================================================== */
.gvtv-rail {
  display: grid;
  gap: 22px;
  grid-template-columns: 1.4fr 1fr;
  align-items: stretch;
}
/* Featured uses grid-row: span 2 in multi-row archives; rail is one row → match stack height */
.gvtv-rail > .gvtv-card--featured {
  grid-row: auto;
}
.gvtv-rail__stack {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr)) auto;
  gap: 12px;
  min-height: 0;
  align-self: stretch;
  height: 100%;
}
.gvtv-rail__stack > .gvtv-card--compact {
  min-height: 0;
  height: 100%;
}
.gvtv-rail__stack > .gvtv-see-all {
  min-height: 100px;
  padding: 20px 18px;
  box-sizing: border-box;
}
@media (min-width: 901px) {
  .gvtv-rail__stack .gvtv-card--compact .gvtv-card__media {
    flex: 0 0 178px;
    width: 178px;
    min-width: 178px;
    max-width: 178px;
  }
}

.gvtv-rail--mirrored { grid-template-columns: 1fr 1.4fr; }
.gvtv-rail--mirrored .gvtv-card--featured { order: 2; }
.gvtv-rail--mirrored .gvtv-rail__stack { order: 1; }

@media (max-width: 900px) {
  .gvtv-rail, .gvtv-rail--mirrored { grid-template-columns: 1fr; }
  .gvtv-rail--mirrored .gvtv-card--featured,
  .gvtv-rail--mirrored .gvtv-rail__stack { order: initial; }
  .gvtv-rail__stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
  }
  .gvtv-rail__stack > .gvtv-card--compact {
    height: auto;
  }
}

/* =====================================================================
   Reviews grid
   ===================================================================== */
.gvtv-reviews-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1000px) { .gvtv-reviews-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .gvtv-reviews-grid { grid-template-columns: 1fr; } }

.gvtv-score {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 56px; height: 56px;
  border-radius: 14px;
  font-family: var(--gvtv-font-display);
  font-weight: 800; font-size: 22px;
  background: rgba(0, 0, 0, 0.55);
  border: 1.5px solid var(--gvtv-accent);
  color: var(--gvtv-accent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 0 4px rgba(255, 143, 31, 0.06), 0 12px 30px -8px var(--gvtv-accent-glow);
  letter-spacing: -0.02em;
}
.gvtv-score small { font-size: 11px; font-weight: 600; opacity: .7; margin-left: 1px; }
.gvtv-score--epic { color: #FFE2B5; border-color: #FFB366; box-shadow: 0 0 0 4px rgba(255, 179, 102, 0.08), 0 12px 30px -8px rgba(255, 179, 102, 0.45); }
.gvtv-score--good { color: var(--gvtv-accent); }
.gvtv-score--mid  { color: #B3B3B3; border-color: rgba(255, 255, 255, 0.4); box-shadow: none; }
.gvtv-score--bad  { color: #ff7373; border-color: #ff7373; box-shadow: 0 0 0 4px rgba(255, 115, 115, 0.08); }

/* =====================================================================
   Single article
   ===================================================================== */
.gvtv-article {
  display: grid;
  gap: clamp(24px, 3vw, 56px);
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}
@media (max-width: 1000px) { .gvtv-article { grid-template-columns: 1fr; } }

.gvtv-article__hero {
  position: relative; aspect-ratio: 21 / 9;
  border-radius: var(--gvtv-radius-xl); overflow: hidden;
  margin-bottom: 28px; border: 1px solid var(--gvtv-line);
}
.gvtv-article__hero img { width: 100%; height: 100%; object-fit: cover; }
.gvtv-article__hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
}

.gvtv-article__head h1 { margin-top: 18px; font-size: clamp(2rem, 2.6vw + .8rem, 3rem); }
.gvtv-article__lead {
  margin-top: 0.5rem;
  font-size: clamp(1.05rem, 0.45vw + 0.95rem, 1.15rem);
  line-height: 1.6;
}
.gvtv-article__meta {
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  color: var(--gvtv-text-2); font-size: 14px;
  margin: 16px 0 28px;
}
.gvtv-article__meta .gvtv-author {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--gvtv-text);
}
.gvtv-article__meta .gvtv-author img { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gvtv-line); }
.gvtv-article__meta .gvtv-meta-time { display: inline-flex; gap: 6px; align-items: center; }

.gvtv-article__content {
  width: 100%;
  min-width: 0;
  font-size: clamp(16px, 0.45vw + .9rem, 18px);
  line-height: 1.85;
  color: #E6E6E6;
}
.gvtv-article__content > * { margin-bottom: 1.2em; }
.gvtv-article__content h2 { margin-top: 2.2em; font-size: clamp(1.4rem, 1.2vw + .7rem, 1.9rem); }
.gvtv-article__content h2::before {
  content: ""; display: block; width: 40px; height: 3px; background: var(--gvtv-accent);
  margin-bottom: 14px; border-radius: 3px;
  box-shadow: 0 0 14px var(--gvtv-accent-glow);
}
.gvtv-article__content h3 { margin-top: 1.8em; font-size: clamp(1.2rem, .8vw + .7rem, 1.5rem); }
.gvtv-article__content a {
  color: var(--gvtv-accent);
  border-bottom: 1px solid rgba(255, 143, 31, 0.4);
  transition: all .25s var(--gvtv-ease);
}
.gvtv-article__content a:hover { background: rgba(255, 143, 31, 0.08); border-color: var(--gvtv-accent); }
.gvtv-article__content ul, .gvtv-article__content ol { padding-left: 1.4em; }
.gvtv-article__content ul li, .gvtv-article__content ol li { margin: .4em 0; }
.gvtv-article__content ul li::marker { color: var(--gvtv-accent); }
.gvtv-article__content blockquote {
  position: relative;
  border-left: 3px solid var(--gvtv-accent);
  background: linear-gradient(90deg, rgba(255, 143, 31, 0.08), transparent 60%);
  padding: 18px 22px;
  border-radius: 0 var(--gvtv-radius) var(--gvtv-radius) 0;
  font-style: italic; color: #F0F0F0;
}
.gvtv-article__content img { border-radius: var(--gvtv-radius); border: 1px solid var(--gvtv-line); }
.gvtv-article__content pre, .gvtv-article__content code {
  background: #0A0A0A; border: 1px solid var(--gvtv-line);
  border-radius: 12px; padding: 4px 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.gvtv-article__content pre { padding: 18px; overflow: auto; }
.gvtv-article__content table { width: 100%; border-collapse: collapse; }
.gvtv-article__content th, .gvtv-article__content td { padding: 10px 12px; border-bottom: 1px solid var(--gvtv-line); text-align: left; }

.gvtv-article__sidebar { position: sticky; top: 96px; }
.gvtv-toc {
  background: var(--gvtv-elev-1);
  border: 1px solid var(--gvtv-line);
  border-radius: var(--gvtv-radius);
  padding: 18px 20px;
}
.gvtv-toc h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gvtv-text-2); }
.gvtv-toc ol { list-style: none; counter-reset: toc; padding: 0; }
.gvtv-toc li { counter-increment: toc; margin: 6px 0; padding-left: 32px; position: relative; font-size: 14px; }
.gvtv-toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-size: 11px; font-weight: 700; color: var(--gvtv-accent);
  letter-spacing: .04em;
}
.gvtv-toc a { color: var(--gvtv-text-2); display: block; padding: 4px 0; line-height: 1.4; }
.gvtv-toc a:hover, .gvtv-toc a.is-active { color: var(--gvtv-text); }
.gvtv-toc a.is-active { font-weight: 600; }
.gvtv-toc li.depth-3 { padding-left: 44px; font-size: 13px; }

/* =====================================================================
   Pros/Cons (review)
   ===================================================================== */
.gvtv-procons {
  display: grid; gap: 18px;
  grid-template-columns: 1fr 1fr;
  margin: 28px 0;
}
@media (max-width: 700px) { .gvtv-procons { grid-template-columns: 1fr; } }
.gvtv-procons__col {
  background: var(--gvtv-elev-1);
  border: 1px solid var(--gvtv-line);
  border-radius: var(--gvtv-radius);
  padding: 18px 20px;
}
.gvtv-procons__title {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  margin: 0 0 12px; color: var(--gvtv-text-2);
  display: inline-flex; align-items: center; gap: 8px;
}
.gvtv-procons__title::before { content: ""; width: 16px; height: 2px; background: var(--gvtv-accent); border-radius: 2px; }
.gvtv-procons__col--cons .gvtv-procons__title::before { background: #ff7373; }
.gvtv-procons ul { list-style: none; padding: 0; }
.gvtv-procons li { padding: 6px 0 6px 22px; position: relative; color: #E6E6E6; }
.gvtv-procons li::before {
  content: ""; position: absolute; left: 0; top: 13px;
  width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--gvtv-accent), rgba(255, 143, 31, 0));
}
.gvtv-procons__col--cons li::before { background: radial-gradient(circle at 30% 30%, #ff7373, rgba(255, 115, 115, 0)); }

/* =====================================================================
   Sidebar widgets
   ===================================================================== */
.gvtv-widget {
  background: var(--gvtv-elev-1);
  border: 1px solid var(--gvtv-line);
  border-radius: var(--gvtv-radius);
  padding: 18px 20px;
  margin-bottom: 20px;
}
.gvtv-widget__title, .gvtv-widget .widget-title, .gvtv-widget h3 {
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gvtv-text-2);
  margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.gvtv-widget__title::before, .gvtv-widget .widget-title::before, .gvtv-widget h3::before {
  content: ""; width: 18px; height: 2px; background: var(--gvtv-accent); border-radius: 2px;
}
.gvtv-widget ul { list-style: none; padding: 0; }
.gvtv-widget ul li { padding: 8px 0; border-bottom: 1px dashed var(--gvtv-line); font-size: 14px; }
.gvtv-widget ul li:last-child { border-bottom: 0; }
.gvtv-widget a { color: var(--gvtv-text-2); }
.gvtv-widget a:hover { color: var(--gvtv-accent); }

.gvtv-popular { display: grid; gap: 12px; }
.gvtv-popular__item { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: center; }
.gvtv-popular__item img { width: 80px; height: 60px; object-fit: cover; border-radius: 10px; border: 1px solid var(--gvtv-line); }
.gvtv-popular__item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.4; font-weight: 600; }

.gvtv-tagcloud a {
  display: inline-block; padding: 4px 10px; margin: 0 4px 6px 0;
  border: 1px solid var(--gvtv-line); border-radius: 999px; font-size: 12px; color: var(--gvtv-text-2);
}
.gvtv-tagcloud a:hover { color: var(--gvtv-accent); border-color: var(--gvtv-accent); }

.gvtv-ad {
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(255, 143, 31, 0.18), transparent 60%),
    linear-gradient(180deg, var(--gvtv-elev-2), #121212);
  border: 1px solid var(--gvtv-accent-soft);
  border-radius: var(--gvtv-radius); padding: 22px;
  text-align: center;
}
.gvtv-ad small { display: block; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gvtv-text-3); margin-bottom: 10px; }
.gvtv-ad strong { display: block; font-family: var(--gvtv-font-display); font-size: 18px; margin-bottom: 14px; }

/* =====================================================================
   Pagination & prev/next
   ===================================================================== */
.gvtv-pagination ul { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; justify-content: center; margin: 40px 0; }
.gvtv-pagination .page-numbers,
.gvtv-pagination a, .gvtv-pagination span {
  display: inline-grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--gvtv-line);
  font-size: 14px; font-weight: 600; color: var(--gvtv-text-2);
  background: rgba(255, 255, 255, 0.02);
  transition: all .25s var(--gvtv-ease);
}
.gvtv-pagination a:hover { color: var(--gvtv-accent); border-color: var(--gvtv-accent); }
.gvtv-pagination .current { background: var(--gvtv-accent); color: #1A0F00; border-color: var(--gvtv-accent); }

.gvtv-prevnext {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin: 40px 0;
}
@media (max-width: 700px) { .gvtv-prevnext { grid-template-columns: 1fr; } }
.gvtv-prevnext a {
  display: block; padding: 18px 22px; border-radius: var(--gvtv-radius);
  background: var(--gvtv-elev-1); border: 1px solid var(--gvtv-line);
  transition: all .25s var(--gvtv-ease);
}
.gvtv-prevnext a:hover { border-color: var(--gvtv-accent); transform: translateY(-2px); box-shadow: var(--gvtv-glow); }
.gvtv-prevnext small { color: var(--gvtv-text-3); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.gvtv-prevnext span { display: block; margin-top: 6px; font-weight: 600; }
.gvtv-prevnext .next { text-align: right; }

/* =====================================================================
   Breadcrumbs
   ===================================================================== */
.gvtv-breadcrumbs {
  display: inline-flex;
  align-self: flex-start;
  max-width: 100%;
  margin: 0 0 clamp(14px, 2vw, 22px);
  padding: clamp(12px, 1.8vw, 18px) clamp(16px, 2.8vw, 26px);
  background: linear-gradient(180deg, var(--gvtv-elev-2) 0%, var(--gvtv-elev-1) 100%);
  border: 1px solid var(--gvtv-line);
  border-radius: var(--gvtv-radius);
  box-shadow: var(--gvtv-shadow-1);
}
.gvtv-breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  padding: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--gvtv-text-3);
}
.gvtv-breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.gvtv-breadcrumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: var(--gvtv-text-3);
  font-weight: 500;
}
.gvtv-breadcrumbs a {
  color: var(--gvtv-text-2);
}
.gvtv-breadcrumbs a:hover {
  color: var(--gvtv-accent);
}
.gvtv-breadcrumbs [aria-current="page"] span {
  color: var(--gvtv-text);
  font-weight: 700;
}

/* =====================================================================
   Footer
   ===================================================================== */
.gvtv-footer {
  position: relative;
  margin-top: 40px;
  padding: 56px 0 28px;
  background: linear-gradient(180deg, #131313, #0B0B0B);
  border-top: 1px solid var(--gvtv-accent-soft);
}
.gvtv-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gvtv-accent), transparent);
  opacity: .8;
  box-shadow: 0 0 20px var(--gvtv-accent-glow);
}
.gvtv-footer__grid {
  display: grid; gap: 32px;
  grid-template-columns: 1.4fr repeat(4, 1fr);
}
@media (max-width: 1000px) { .gvtv-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .gvtv-footer__grid { grid-template-columns: 1fr; } }

.gvtv-footer__brand p { color: var(--gvtv-text-2); font-size: 14px; margin: 12px 0 18px; max-width: 38ch; }
.gvtv-footer__widget-title {
  font-family: var(--gvtv-font-display);
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gvtv-text-2); margin: 0 0 16px;
}
.gvtv-footer__widget ul { list-style: none; }
.gvtv-footer__widget li { padding: 5px 0; font-size: 14px; }
.gvtv-footer__widget a { color: var(--gvtv-text-2); }
.gvtv-footer__widget a:hover { color: var(--gvtv-accent); }
.gvtv-socials { display: flex; gap: 8px; }
.gvtv-socials .gvtv-iconbtn { width: 38px; height: 38px; }
.gvtv-footer__bottom {
  margin-top: 36px; padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-top: 1px solid var(--gvtv-line);
  font-size: 12px; color: var(--gvtv-text-3);
}

/* =====================================================================
   404 / search no-results
   ===================================================================== */
.gvtv-404 { text-align: center; padding: 80px 0 40px; }
.gvtv-404 h1 {
  font-size: clamp(4rem, 12vw, 10rem);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--gvtv-accent) 80%, transparent 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0;
}
.gvtv-404 p { color: var(--gvtv-text-2); }

/* =====================================================================
   Reveal-on-scroll
   ===================================================================== */
.gvtv-reveal { opacity: 0; transform: translateY(20px); transition: all .8s var(--gvtv-ease-out); }
.gvtv-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .gvtv-reveal, .gvtv-reveal.is-visible { transition: none; opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Comments minimal */
.gvtv-comments { margin-top: 48px; }
.gvtv-comments h2 { font-size: 1.5rem; margin-bottom: 16px; }
.gvtv-comments .comment-list { list-style: none; }
.gvtv-comments li { padding: 14px 0; border-bottom: 1px solid var(--gvtv-line); }
.gvtv-comments .comment-form input,
.gvtv-comments .comment-form textarea {
  background: var(--gvtv-elev-1); border: 1px solid var(--gvtv-line); border-radius: 12px;
  padding: 12px 14px; color: var(--gvtv-text); width: 100%; font-family: inherit;
}
.gvtv-comments .comment-form textarea { min-height: 120px; }
.gvtv-comments .comment-form .submit { background: var(--gvtv-accent); color: #1A0F00; border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 700; }
