/* The Verifier 2026: tablets (768–1024px). Between the phone layout and the desktop one:
 * wider margins, two or three columns where the content allows, larger type than on phones. */

@media (min-width: 768px) and (max-width: 1024px) {

  /* ---------- Shared ---------- */
  .tvs { padding-left: 32px; padding-right: 32px; padding-top: 52px; }
  .tvs-head h2 { font-size: 34px; }
  .tv-meta__name { display: inline; }
  .tv-meta__name::after { content: "·"; margin-right: 7px; }

  /* ---------- Header ---------- */
  .tvh__bar { height: 64px; padding: 0 20px; }
  .tvh-nav--scroll { padding: 0 24px; }

  /* ---------- Home ---------- */
  .tvhero { height: 620px; }
  .tvhero__img { height: 420px; }
  .tvhero__panel { clip-path: polygon(0 405px, 100% 315px, 100% 100%, 0 100%); }
  .tvhero__band { clip-path: polygon(0 399px, 100% 309px, 100% 316px, 0 406px); }
  .tvhero__body { top: 360px; right: 32px; left: 32px; gap: 16px; }
  .tvhero__title { font-size: 36px; line-height: 1.1; }
  .tvsheet { margin: -40px 20px 0; }
  .tvsheet__grid { padding: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .tvcard-ov { height: 260px; }
  .tvcard-ov__title { font-size: 18px; }
  .tvcard-ov .tv-meta__name { display: none; }

  .tvlive { margin: 48px 32px 0; }

  .tvil { padding: 64px 32px 40px; clip-path: polygon(0 36px, 100% 0, 100% 100%, 0 100%); }
  .tvil h2 { font-size: 48px; }
  .tvil__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .tvil__card { flex-direction: column; align-items: stretch; gap: 8px; }
  .tvil__img { width: 100%; height: 150px; }

  .tvrev { padding-left: 0; padding-right: 0; }
  .tvrev .tvs-head { padding: 0 32px; }
  .tvrev__row { padding: 0 32px 4px; gap: 16px; }
  .tvrev__card { width: 210px; }
  .tvrev__img { height: 150px; }

  .tvfronts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 32px; }
  .tvlatest { grid-column: 1 / -1; }
  .tvfront__img { height: 200px; }

  .tvguides__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

  .tvdeals .tvs-head { padding: 0 32px; }
  .tvdeals__row { padding: 0 32px; gap: 16px; }
  .tvdeal { width: 200px; }
  .tvapp { margin: 24px 32px 0; padding: 28px 28px; }

  /* ---------- Article ---------- */
  body.tv-2026.single-post h1.s-title { font-size: 38px; line-height: 1.1; }
  body.tv-2026.single-post h2.s-tagline { font-size: 19px; }
  body.tv-review .tvs-hero .s-feat-outer::before,
  body.tv-review .tvs-hero .s-feat-outer::after { left: 56px; width: 96px; height: 96px; bottom: 72px; left: 64px; } /* box overlaps the photo by 120px */
  body.tv-review .tvs-hero .s-feat-outer::before {
    background:
      radial-gradient(circle, var(--tv-bg) 0 39px, transparent 40px),
      conic-gradient(var(--tv-cyan) 0deg, var(--tv-purple) var(--tv-score-deg), var(--tv-ring-track) var(--tv-score-deg));
  }
  body.tv-review .tvs-hero .s-feat-outer::after { font-size: 36px; }
  .tvverdict__pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

  /* ---------- Category ---------- */
  .tvcat__head { padding: 32px 32px 22px; }
  .tvcat__row { justify-content: flex-start; align-items: center; gap: 20px; }
  .tvcat__h1 { font-size: 76px !important; letter-spacing: -2.4px; }
  .tvcat__desc { font-size: 18px; max-width: 640px; }
  .tvcat__chips { padding: 16px 32px; }
  .tvcat__lead-img { height: 360px; }
  .tvcat__lead-box { margin: -64px 32px 0; padding: 24px 28px 28px; }
  .tvcat__lead-title { font-size: 30px; line-height: 1.15; }
  .tvcat__seconds { padding: 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
  .tvcat__seconds .tvcat__second,
  .tvcat__seconds .tvcat__second:first-child { flex-direction: column; gap: 10px; padding: 0; border: 0; }
  .tvcat__second-img { width: 100%; height: 170px; }
  .tvcat__second-title { font-size: 19px; }
  .tvcat__body { padding: 0 32px; margin-top: 32px; }
  .tvfeed__item { gap: 20px; align-items: center; padding: 20px 0; }
  .tvfeed__title { font-size: 19px; }
  .tvfeed__img { width: 180px; height: 110px; }
  .tvside { margin-top: 48px; }

  /* ---------- Author ---------- */
  .tvauth__band { height: 130px; }
  .tvauth__id { margin: -64px 32px 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px 28px; align-items: end; }
  .tvauth__photo { width: 150px; height: 150px; }
  .tvauth__name { font-size: 44px !important; }
  .tvauth__job { font-size: 18px; }
  .tvauth__actions { grid-column: 1 / -1; padding-top: 8px; }
  .tvauth__about { margin: 22px 32px 0; }
  .tvauth__bio { font-size: 18px; max-width: 680px; }

  /* ---------- Footer ---------- */
  .tvf { padding: 44px 32px 32px; }
  .tvf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
}

/* ===== Review pass: tablet gaps ===== */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Home */
  .tvhero__dek { display: block; font-size: 17px; line-height: 1.45; color: var(--tv-muted); }
  .tvrev__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; overflow: visible; }
  .tvrev__card { width: auto; }
  .tvrev__img { height: 130px; }
  .tvrev__title { font-size: 15px; }
  .tvdeals__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); overflow: visible; }
  .tvdeal { width: auto; }
  .tvguide__t { font-size: 17px; }
  .tvlatest { column-gap: 32px; }
  .tvh-search { padding-left: 32px; padding-right: 32px; }

  /* Article */
  body.tv-2026.single-post .entry-content h2.wp-block-heading { font-size: 26px; }
  body.tv-2026.single-post .s-hl { padding: 22px 24px; }
  body.tv-2026.single-post .s-hl-content { font-size: 17px; }
  .tvverdict { padding: 24px 26px; }
  .tvverdict__t { font-size: 21px; }
  .tvverdict__s { font-size: 16px; }
  body.tv-review .review-section .review-footer { padding: 30px 28px !important; }

  /* Category / author */
  .tvside { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .tvside__t { grid-column: 1 / -1; }
  .tvpager { padding-top: 32px; }
}

/* ===== Small laptops and tablets in landscape (1025–1264px) =====
 * The desktop containers are 1200px wide with no side padding, so below ~1264px the content
 * touched the screen edges. Keep a 32px gutter on each side. */
@media (min-width: 1025px) {
  .tvs, .tvil__in, .tvdeals__in, .tvlive,
  .tvcat__head, .tvcat__chips, .tvcat__top, .tvcat__body,
  .tvauth__id, .tvauth__about {
    width: min(1200px, calc(100% - 64px));
    max-width: none;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box;
  }
  .tvsheet { width: min(1200px, calc(100% - 64px)); max-width: none; }
  .tvfronts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(280px, 340px); }
  .tvcat__top { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
  .tvcat__body { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
  .tvdeals__in { grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); }
  .tvhero__body { width: min(470px, 42%); }
  .tvauth__id { grid-template-columns: 200px minmax(0, 1fr) auto; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .tvhero__title { font-size: 38px; }
  .tvhero__dek { font-size: 17px; }
  .tvcat__h1 { font-size: 84px !important; }
  .tvauth__id { grid-template-columns: 160px minmax(0, 1fr); }
  .tvauth__photo { width: 160px; height: 160px; }
  .tvauth__actions { grid-column: 1 / -1; }
  .tvauth__about { grid-template-columns: minmax(0, 1fr); }
}

/* Small laptops (1025–1199px): the six sections, search, theme and the app button didn't fit in one row,
   so the last section ran under the icons. Tighter spacing and type keep them apart. */
@media (min-width: 1025px) and (max-width: 1199px) {
  .tvh__in { gap: 16px; }
  .tvh-nav { gap: 0; }
  .tvh-nav a { padding: 0 7px; font-size: 14px; }
  .tvh-app { margin-right: 6px; padding: 0 14px; font-size: 14px; }
}

/* Author page, same range: the photo is smaller here, so the name and title rose onto the colour band. */
@media (min-width: 1025px) and (max-width: 1199px) {
  .tvauth__id { margin-top: -48px !important; }
  .tvauth__name { font-size: 48px !important; }
}
@media (min-width: 768px) and (max-width: 1024px) { .tvauth__id { margin-top: -52px; } }
