/*
Theme Name: VidTube
Theme URI: https://example.com/vidtube
Author: VidTube Studio
Author URI: https://example.com
Description: VidTube is a complete, general-purpose video CMS theme for lawful video content — a tube-style layout with a video grid, category and tag browsing, a full watch page with player and related videos, search, channels, and front-end user submissions. Dark, modern, responsive, and built for WordPress 5.9+ on PHP 7.4+.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vidtube
Tags: dark, video, grid-layout, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready, right-sidebar, block-styles, wide-blocks
*/

/* ==========================================================================
   1. Design tokens
   ========================================================================== */
:root {
  --vt-bg: #0f0f0f;
  --vt-bg-elev: #161616;
  --vt-surface: #1c1c1c;
  --vt-surface-2: #242424;
  --vt-surface-3: #2e2e2e;
  --vt-border: #303030;
  --vt-border-soft: #262626;
  --vt-text: #f1f1f1;
  --vt-text-2: #c9c9c9;
  --vt-muted: #9a9a9a;
  --vt-muted-2: #6f6f6f;
  --vt-accent: #ff3d3d;
  --vt-accent-ink: #ffffff;
  --vt-accent-soft: rgba(255, 61, 61, 0.14);
  --vt-ok: #2ecc71;
  --vt-warn: #f5a623;
  --vt-info: #3ea6ff;
  --vt-radius: 12px;
  --vt-radius-sm: 8px;
  --vt-radius-lg: 18px;
  --vt-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --vt-shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.35);
  --vt-header-h: 64px;
  --vt-max: 1600px;
  --vt-gap: 20px;
  --vt-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --vt-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --vt-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   2. Reset / base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--vt-bg);
  color: var(--vt-text);
  font-family: var(--vt-font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video, canvas, iframe { max-width: 100%; display: block; }
img { height: auto; }

a { color: var(--vt-text); text-decoration: none; transition: color 0.15s var(--vt-ease); }
a:hover, a:focus { color: var(--vt-accent); }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--vt-text);
}
h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--vt-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.vt-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--vt-accent); color: var(--vt-accent-ink);
  padding: 10px 16px; border-radius: 0 0 var(--vt-radius-sm) 0;
}
.vt-skip:focus { left: 0; color: var(--vt-accent-ink); }

/* ==========================================================================
   3. Layout
   ========================================================================== */
.vt-wrap { width: 100%; max-width: var(--vt-max); margin: 0 auto; padding: 0 24px; }
.vt-wrap--narrow { max-width: 900px; }

.vt-main { padding: 28px 0 64px; min-height: 50vh; }

.vt-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.vt-layout--full { grid-template-columns: minmax(0, 1fr); }
.vt-layout--left { grid-template-columns: 240px minmax(0, 1fr); }

.vt-section { margin-bottom: 40px; }
.vt-section:last-child { margin-bottom: 0; }

.vt-section__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 16px;
}
.vt-section__title {
  display: flex; align-items: center; gap: 10px;
  margin: 0; font-size: 1.25rem; font-weight: 700;
}
.vt-section__title .vt-i { color: var(--vt-accent); }
.vt-section__more { font-size: 0.85rem; color: var(--vt-muted); white-space: nowrap; }
.vt-section__more:hover { color: var(--vt-accent); }

/* ==========================================================================
   4. Icons
   ========================================================================== */
.vt-i { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; fill: currentColor; }
/* Safety net: an inline SVG with no intrinsic size renders at 300x150 and
   blows up its container. Any icon that somehow misses .vt-i still gets sized. */
svg:not([width]):not([height]) { max-width: 24px; max-height: 24px; }
.vt-i--sm { width: 14px; height: 14px; }
.vt-i--lg { width: 24px; height: 24px; }
.vt-i--xl { width: 40px; height: 40px; }

/* ==========================================================================
   5. Buttons
   ========================================================================== */
.vt-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border: 1px solid transparent; border-radius: 999px;
  background: var(--vt-surface-2); color: var(--vt-text);
  font-size: 0.9rem; font-weight: 600; line-height: 1.2;
  text-align: center; white-space: nowrap;
  transition: background 0.15s var(--vt-ease), color 0.15s var(--vt-ease), border-color 0.15s var(--vt-ease), transform 0.1s var(--vt-ease);
}
.vt-btn:hover { background: var(--vt-surface-3); color: var(--vt-text); }
.vt-btn:active { transform: translateY(1px); }
.vt-btn--primary { background: var(--vt-accent); color: var(--vt-accent-ink); }
.vt-btn--primary:hover { background: var(--vt-accent); color: var(--vt-accent-ink); filter: brightness(1.1); }
.vt-btn--ghost { background: transparent; border-color: var(--vt-border); }
.vt-btn--ghost:hover { background: var(--vt-surface-2); border-color: var(--vt-surface-3); }
.vt-btn--block { width: 100%; }
.vt-btn--sm { padding: 7px 14px; font-size: 0.82rem; }
.vt-btn--lg { padding: 13px 26px; font-size: 1rem; }
.vt-btn[disabled], .vt-btn.is-disabled { opacity: 0.5; pointer-events: none; }
.vt-btn.is-active { background: var(--vt-accent); color: var(--vt-accent-ink); }

/* ==========================================================================
   6. Header
   ========================================================================== */
.vt-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--vt-border-soft);
}
.vt-header__bar {
  display: flex; align-items: center; gap: 18px;
  height: var(--vt-header-h);
}
.vt-header__left { display: flex; align-items: center; gap: 12px; flex: none; }
.vt-header__center { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }
.vt-header__right { display: flex; align-items: center; gap: 10px; flex: none; }

.vt-burger {
  display: none; width: 40px; height: 40px; border-radius: 50%;
  background: transparent; border: 0; color: var(--vt-text);
  align-items: center; justify-content: center;
}
.vt-burger:hover { background: var(--vt-surface-2); }

.vt-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; }
.vt-brand:hover { color: var(--vt-text); }
.vt-brand__mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  background: var(--vt-accent); color: var(--vt-accent-ink);
  display: flex; align-items: center; justify-content: center;
}
.vt-brand__mark .vt-i { width: 20px; height: 20px; }
.vt-brand__img { max-height: 34px; width: auto; }
.vt-brand__name { white-space: nowrap; }
.vt-brand__name em { color: var(--vt-accent); font-style: normal; }

.vt-search { display: flex; width: 100%; max-width: 620px; }
.vt-search__field {
  flex: 1 1 auto; min-width: 0;
  background: var(--vt-bg-elev); border: 1px solid var(--vt-border);
  border-right: 0; border-radius: 999px 0 0 999px;
  padding: 10px 18px; color: var(--vt-text); font-size: 0.92rem;
}
.vt-search__field::placeholder { color: var(--vt-muted-2); }
.vt-search__field:focus { outline: none; border-color: var(--vt-accent); background: var(--vt-surface); }
.vt-search__btn {
  flex: none; width: 60px; border: 1px solid var(--vt-border);
  border-radius: 0 999px 999px 0; background: var(--vt-surface-2);
  color: var(--vt-text); display: flex; align-items: center; justify-content: center;
}
.vt-search__btn:hover { background: var(--vt-surface-3); }

.vt-iconbtn {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: transparent; border: 0; color: var(--vt-text);
  display: inline-flex; align-items: center; justify-content: center; position: relative;
}
.vt-iconbtn:hover { background: var(--vt-surface-2); color: var(--vt-text); }
.vt-iconbtn__badge {
  position: absolute; top: 2px; right: 2px; min-width: 17px; height: 17px;
  padding: 0 4px; border-radius: 999px; background: var(--vt-accent); color: var(--vt-accent-ink);
  font-size: 0.62rem; font-weight: 700; line-height: 17px; text-align: center;
}

.vt-avatar {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  object-fit: cover; background: var(--vt-surface-3);
  border: 1px solid var(--vt-border);
}
.vt-avatar--lg { width: 84px; height: 84px; }
.vt-avatar--xl { width: 120px; height: 120px; }

/* Category strip */
.vt-catbar { border-bottom: 1px solid var(--vt-border-soft); background: var(--vt-bg); }
.vt-catbar__inner {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; overflow-x: auto; scrollbar-width: none;
}
.vt-catbar__inner::-webkit-scrollbar { display: none; }
.vt-chip {
  flex: none; padding: 7px 15px; border-radius: 999px;
  background: var(--vt-surface-2); color: var(--vt-text-2);
  font-size: 0.84rem; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent;
}
.vt-chip:hover { background: var(--vt-surface-3); color: var(--vt-text); }
.vt-chip.is-active { background: var(--vt-text); color: #0f0f0f; }

/* Mega menu */
.vt-nav { display: flex; align-items: center; gap: 4px; }
.vt-nav__list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.vt-nav__item { position: relative; }
.vt-nav__link {
  display: flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: var(--vt-radius-sm);
  font-size: 0.9rem; font-weight: 600; color: var(--vt-text-2);
}
.vt-nav__link:hover, .vt-nav__item.is-open > .vt-nav__link { background: var(--vt-surface-2); color: var(--vt-text); }
.vt-nav__item.is-current > .vt-nav__link { color: var(--vt-accent); }
.vt-nav__caret { width: 12px; height: 12px; transition: transform 0.2s var(--vt-ease); }
.vt-nav__item.is-open > .vt-nav__link .vt-nav__caret { transform: rotate(180deg); }

.vt-nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 300;
  min-width: 240px; margin: 0; padding: 8px; list-style: none;
  background: var(--vt-surface); border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius); box-shadow: var(--vt-shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s var(--vt-ease), transform 0.16s var(--vt-ease), visibility 0.16s;
}
.vt-nav__item:hover > .vt-nav__sub,
.vt-nav__item:focus-within > .vt-nav__sub,
.vt-nav__item.is-open > .vt-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.vt-nav__sub .vt-nav__link { padding: 9px 12px; font-weight: 500; color: var(--vt-text-2); }
.vt-nav__sub .vt-nav__link:hover { background: var(--vt-surface-2); color: var(--vt-text); }
.vt-nav__sub .vt-nav__sub { top: -8px; left: calc(100% + 6px); }

/* Mobile drawer */
.vt-drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 400;
  width: 280px; max-width: 86vw; padding: 18px;
  background: var(--vt-bg-elev); border-right: 1px solid var(--vt-border);
  transform: translateX(-102%); transition: transform 0.24s var(--vt-ease);
  overflow-y: auto;
}
.vt-drawer.is-open { transform: translateX(0); }
.vt-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.vt-drawer__list { list-style: none; margin: 0; padding: 0; }
.vt-drawer__list .vt-nav__link { padding: 11px 12px; font-size: 0.95rem; }
.vt-drawer__list .vt-nav__sub {
  position: static; opacity: 1; visibility: visible; transform: none;
  box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px;
  display: none; min-width: 0;
}
.vt-drawer__list .vt-nav__item.is-open > .vt-nav__sub { display: block; }
.vt-scrim {
  position: fixed; inset: 0; z-index: 350; background: rgba(0, 0, 0, 0.6);
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--vt-ease), visibility 0.2s;
}
.vt-scrim.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   7. Video grid + cards
   ========================================================================== */
.vt-grid {
  display: grid; gap: var(--vt-gap) 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.vt-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vt-grid--1 { grid-template-columns: minmax(0, 1fr); }
.vt-grid--wide { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.vt-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.vt-card__thumb {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--vt-radius); background: var(--vt-surface-2);
  aspect-ratio: 16 / 9;
}
.vt-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.35s var(--vt-ease), filter 0.35s var(--vt-ease);
}
.vt-card:hover .vt-card__img { transform: scale(1.05); }
.vt-card__fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  padding: 14px; text-align: center;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 55%, #241a1a 100%);
  color: var(--vt-text-2); font-weight: 700; font-size: 0.9rem; line-height: 1.35;
}
.vt-card__fallback span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-card__play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s var(--vt-ease);
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.45));
}
.vt-card:hover .vt-card__play { opacity: 1; }
.vt-card__play span {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 61, 61, 0.92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.vt-card__play .vt-i { width: 22px; height: 22px; margin-left: 2px; }

.vt-badge {
  position: absolute; z-index: 2;
  padding: 3px 7px; border-radius: 5px;
  background: rgba(0, 0, 0, 0.82); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.vt-badge--dur { right: 8px; bottom: 8px; }
.vt-badge--hd { left: 8px; top: 8px; background: var(--vt-accent); }
.vt-badge--new { left: 8px; top: 8px; background: var(--vt-ok); }
.vt-badge--status { left: 8px; top: 8px; }
.vt-badge--pending { background: var(--vt-warn); color: #1a1a1a; }
.vt-badge--draft { background: var(--vt-muted-2); }
.vt-badge--publish { background: var(--vt-ok); color: #0f0f0f; }

.vt-card__body { display: flex; gap: 12px; padding: 12px 2px 0; }
.vt-card__avatar { flex: none; }
.vt-card__meta { min-width: 0; flex: 1 1 auto; }
.vt-card__title {
  margin: 0 0 4px; font-size: 0.95rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.vt-card__title a { color: var(--vt-text); }
.vt-card__title a:hover { color: var(--vt-accent); }
.vt-card__sub { font-size: 0.8rem; color: var(--vt-muted); line-height: 1.5; }
.vt-card__sub a { color: var(--vt-muted); }
.vt-card__sub a:hover { color: var(--vt-text); }
.vt-card__dot { margin: 0 5px; opacity: 0.6; }
.vt-card__stats { display: flex; align-items: center; gap: 12px; margin-top: 5px; font-size: 0.78rem; color: var(--vt-muted-2); }
.vt-card__stats span { display: inline-flex; align-items: center; gap: 4px; }

/* Horizontal (list) card */
.vt-card--row { flex-direction: row; gap: 12px; }
.vt-card--row .vt-card__thumb { flex: none; width: 168px; }
.vt-card--row .vt-card__body { padding: 0; flex: 1 1 auto; }
.vt-card--row .vt-card__title { -webkit-line-clamp: 2; }

/* Compact (sidebar related) */
.vt-card--compact .vt-card__thumb { width: 168px; }
.vt-card--compact .vt-card__title { font-size: 0.88rem; }

/* ==========================================================================
   8. Hero slider
   ========================================================================== */
.vt-hero { position: relative; margin-bottom: 40px; }
.vt-hero__viewport {
  position: relative; overflow: hidden;
  border-radius: var(--vt-radius-lg); background: var(--vt-surface);
  aspect-ratio: 21 / 9; min-height: 300px;
}
.vt-slide {
  position: absolute; inset: 0; opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--vt-ease), visibility 0.6s;
}
.vt-slide.is-active { opacity: 1; visibility: visible; }
.vt-slide__img { width: 100%; height: 100%; object-fit: cover; }
.vt-slide__fallback {
  width: 100%; height: 100%;
  background: linear-gradient(120deg, #1d1d1d 0%, #2b1a1a 60%, #1a1a1a 100%);
}
.vt-slide__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.1) 100%);
}
.vt-slide__content {
  position: absolute; left: 0; bottom: 0; z-index: 3;
  padding: clamp(20px, 4vw, 48px); max-width: 640px;
}
.vt-slide__eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
  background: var(--vt-accent); color: var(--vt-accent-ink);
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.vt-slide__title { font-size: clamp(1.4rem, 3.4vw, 2.6rem); margin: 0 0 10px; color: #fff; }
.vt-slide__title a { color: #fff; }
.vt-slide__title a:hover { color: var(--vt-accent); }
.vt-slide__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 16px; color: #d8d8d8; font-size: 0.85rem; }
.vt-slide__meta span { display: inline-flex; align-items: center; gap: 5px; }
.vt-slide__excerpt { color: #cfcfcf; font-size: 0.95rem; margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.vt-hero__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; }
.vt-hero__nav--prev { left: 14px; }
.vt-hero__nav--next { right: 14px; }
.vt-hero__nav button {
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(0, 0, 0, 0.55); color: #fff;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px);
}
.vt-hero__nav button:hover { background: var(--vt-accent); }
.vt-hero__dots { position: absolute; left: 0; right: 0; bottom: 16px; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.vt-hero__dots button {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.4);
}
.vt-hero__dots button.is-active { background: var(--vt-accent); width: 26px; border-radius: 999px; }
.vt-hero__progress { position: absolute; left: 0; bottom: 0; height: 3px; z-index: 6; background: var(--vt-accent); width: 0; }

/* ==========================================================================
   9. Watch page
   ========================================================================== */
.vt-watch { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.vt-watch__main { min-width: 0; }
.vt-watch__side { min-width: 0; }

.vt-player {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #000; border-radius: var(--vt-radius); overflow: hidden;
  box-shadow: var(--vt-shadow-sm);
}
.vt-player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.vt-player iframe { width: 100%; height: 100%; border: 0; }
.vt-player__poster {
  position: absolute; inset: 0; z-index: 3; cursor: pointer;
  background-size: cover; background-position: center;
}
.vt-player__poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0.55));
}
.vt-player__bigplay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 4;
  width: 76px; height: 76px; border-radius: 50%; border: 0;
  background: var(--vt-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 34px rgba(0,0,0,0.6);
  transition: transform 0.2s var(--vt-ease);
}
.vt-player__bigplay:hover { transform: translate(-50%, -50%) scale(1.08); }
.vt-player__bigplay .vt-i { width: 30px; height: 30px; margin-left: 3px; }
.vt-player.is-playing .vt-player__poster { display: none; }

.vt-player__controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 26px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  opacity: 0; transition: opacity 0.2s var(--vt-ease);
}
.vt-player:hover .vt-player__controls,
.vt-player.is-paused .vt-player__controls,
.vt-player__controls:focus-within { opacity: 1; }
.vt-player__seek {
  position: relative; height: 5px; border-radius: 999px; margin-bottom: 10px;
  background: rgba(255,255,255,0.25); cursor: pointer;
}
.vt-player__buffered { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255,255,255,0.35); border-radius: 999px; }
.vt-player__played { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--vt-accent); border-radius: 999px; }
.vt-player__knob {
  position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%;
  background: var(--vt-accent); transform: translate(-50%, -50%); pointer-events: none;
}
.vt-player__row { display: flex; align-items: center; gap: 12px; color: #fff; }
.vt-player__row button {
  background: transparent; border: 0; color: #fff; padding: 4px;
  display: inline-flex; align-items: center; justify-content: center; border-radius: 6px;
}
.vt-player__row button:hover { color: var(--vt-accent); }
.vt-player__time { font-size: 0.78rem; font-variant-numeric: tabular-nums; color: #e6e6e6; }
.vt-player__spacer { flex: 1 1 auto; }
.vt-player__vol { display: flex; align-items: center; gap: 6px; }
.vt-player__vol input { width: 78px; accent-color: var(--vt-accent); }
.vt-player__quality {
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.04em;
  padding: 3px 7px; border: 1px solid rgba(255,255,255,0.5); border-radius: 4px;
}

.vt-watch__title { font-size: clamp(1.15rem, 2.2vw, 1.6rem); margin: 18px 0 10px; }
.vt-watch__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  color: var(--vt-muted); font-size: 0.85rem; margin-bottom: 16px;
}
.vt-watch__meta span { display: inline-flex; align-items: center; gap: 5px; }

.vt-watch__actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  padding-bottom: 18px; border-bottom: 1px solid var(--vt-border-soft); margin-bottom: 18px;
}
.vt-vote { display: inline-flex; align-items: center; background: var(--vt-surface-2); border-radius: 999px; overflow: hidden; }
.vt-vote__btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px;
  background: transparent; border: 0; color: var(--vt-text); font-size: 0.85rem; font-weight: 600;
}
.vt-vote__btn:hover { background: var(--vt-surface-3); }
.vt-vote__btn.is-active { color: var(--vt-accent); }
.vt-vote__sep { width: 1px; height: 22px; background: var(--vt-border); }
.vt-rating { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.vt-rating__bar { flex: 1 1 auto; height: 5px; border-radius: 999px; background: var(--vt-surface-3); overflow: hidden; }
.vt-rating__fill { height: 100%; background: var(--vt-accent); border-radius: 999px; }
.vt-rating__pct { font-size: 0.78rem; color: var(--vt-muted); font-variant-numeric: tabular-nums; }

.vt-channel-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  padding: 16px 0; border-bottom: 1px solid var(--vt-border-soft); margin-bottom: 18px;
}
.vt-channel-row__info { flex: 1 1 auto; min-width: 0; }
.vt-channel-row__name { font-weight: 700; font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.vt-channel-row__sub { font-size: 0.8rem; color: var(--vt-muted); }

.vt-desc { background: var(--vt-surface); border-radius: var(--vt-radius); padding: 16px; margin-bottom: 24px; }
.vt-desc__text { margin: 0; color: var(--vt-text-2); font-size: 0.92rem; white-space: pre-line; }
.vt-desc.is-collapsed .vt-desc__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vt-desc__toggle { margin-top: 10px; background: none; border: 0; color: var(--vt-accent); font-weight: 700; font-size: 0.85rem; padding: 0; }
.vt-desc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.vt-upnext { background: var(--vt-surface); border-radius: var(--vt-radius); padding: 14px; margin-bottom: 20px; }
.vt-upnext__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.vt-upnext__title { font-size: 0.9rem; font-weight: 700; margin: 0; }
.vt-switch { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; color: var(--vt-muted); cursor: pointer; }
.vt-switch input { accent-color: var(--vt-accent); }

.vt-related__list { display: flex; flex-direction: column; gap: 14px; }

/* ==========================================================================
   10. Channel page
   ========================================================================== */
.vt-channel-banner {
  position: relative; border-radius: var(--vt-radius-lg); overflow: hidden;
  aspect-ratio: 6 / 1; min-height: 150px; background: var(--vt-surface-2); margin-bottom: 0;
}
.vt-channel-banner img { width: 100%; height: 100%; object-fit: cover; }
.vt-channel-banner__fallback { width: 100%; height: 100%; background: linear-gradient(120deg, #241a1a, #1a1a1a 60%, #2a2a2a); }
.vt-channel-head {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 22px 0; border-bottom: 1px solid var(--vt-border-soft); margin-bottom: 26px;
}
.vt-channel-head__info { flex: 1 1 320px; min-width: 0; }
.vt-channel-head__name { font-size: clamp(1.3rem, 2.6vw, 1.9rem); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; }
.vt-channel-head__stats { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--vt-muted); font-size: 0.85rem; }
.vt-channel-head__desc { color: var(--vt-text-2); font-size: 0.9rem; margin: 10px 0 0; max-width: 720px; }
.vt-verified { color: var(--vt-info); }

/* ==========================================================================
   11. Forms
   ========================================================================== */
.vt-form { display: grid; gap: 18px; }
.vt-form--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vt-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.vt-field--full { grid-column: 1 / -1; }
.vt-label { font-size: 0.85rem; font-weight: 600; color: var(--vt-text-2); }
.vt-label .vt-req { color: var(--vt-accent); }
.vt-input, .vt-select, .vt-textarea {
  width: 100%; padding: 11px 14px;
  background: var(--vt-bg-elev); border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-sm); color: var(--vt-text); font-size: 0.92rem;
  transition: border-color 0.15s var(--vt-ease), background 0.15s var(--vt-ease);
}
.vt-input::placeholder, .vt-textarea::placeholder { color: var(--vt-muted-2); }
.vt-input:focus, .vt-select:focus, .vt-textarea:focus {
  outline: none; border-color: var(--vt-accent); background: var(--vt-surface);
}
.vt-textarea { min-height: 130px; resize: vertical; }
.vt-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%239a9a9a'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 20px; padding-right: 38px; }
.vt-help { font-size: 0.78rem; color: var(--vt-muted-2); }
.vt-error { font-size: 0.8rem; color: var(--vt-accent); }

.vt-drop {
  border: 2px dashed var(--vt-border); border-radius: var(--vt-radius);
  padding: 26px; text-align: center; background: var(--vt-bg-elev);
  transition: border-color 0.15s var(--vt-ease), background 0.15s var(--vt-ease);
}
.vt-drop:hover, .vt-drop.is-drag { border-color: var(--vt-accent); background: var(--vt-accent-soft); }
.vt-drop .vt-i { width: 34px; height: 34px; color: var(--vt-muted); margin: 0 auto 10px; }
.vt-drop__title { font-weight: 700; margin: 0 0 4px; }
.vt-drop__hint { font-size: 0.8rem; color: var(--vt-muted); margin: 0; }

.vt-panel {
  background: var(--vt-surface); border: 1px solid var(--vt-border-soft);
  border-radius: var(--vt-radius); padding: 24px;
}
.vt-panel__title { margin: 0 0 4px; font-size: 1.1rem; }
.vt-panel__sub { margin: 0 0 20px; color: var(--vt-muted); font-size: 0.85rem; }

.vt-notice {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: var(--vt-radius-sm); margin-bottom: 18px;
  font-size: 0.88rem; border: 1px solid transparent;
}
.vt-notice--ok { background: rgba(46, 204, 113, 0.12); border-color: rgba(46, 204, 113, 0.4); color: #9be8bd; }
.vt-notice--err { background: rgba(255, 61, 61, 0.12); border-color: rgba(255, 61, 61, 0.4); color: #ffb3b3; }
.vt-notice--info { background: rgba(62, 166, 255, 0.12); border-color: rgba(62, 166, 255, 0.4); color: #b3dcff; }
.vt-notice--warn { background: rgba(245, 166, 35, 0.12); border-color: rgba(245, 166, 35, 0.4); color: #ffdca8; }

/* ==========================================================================
   12. Toolbar / filters / pagination
   ========================================================================== */
.vt-toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--vt-border-soft); margin-bottom: 24px;
}
.vt-toolbar__title { margin: 0; font-size: 1.15rem; flex: 1 1 auto; min-width: 0; }
.vt-toolbar__title small { display: block; font-size: 0.8rem; color: var(--vt-muted); font-weight: 400; margin-top: 3px; }
.vt-sort { display: flex; align-items: center; gap: 8px; }
.vt-sort__label { font-size: 0.8rem; color: var(--vt-muted); }
.vt-sort__select { padding: 8px 34px 8px 12px; font-size: 0.85rem; }

.vt-pagination { display: flex; justify-content: center; margin-top: 40px; }
.vt-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px; margin: 0 3px;
  border-radius: var(--vt-radius-sm); background: var(--vt-surface-2);
  color: var(--vt-text-2); font-size: 0.88rem; font-weight: 600;
}
.vt-pagination .page-numbers:hover { background: var(--vt-surface-3); color: var(--vt-text); }
.vt-pagination .page-numbers.current { background: var(--vt-accent); color: var(--vt-accent-ink); }
.vt-pagination .page-numbers.dots { background: transparent; }

.vt-loadmore { display: flex; justify-content: center; margin-top: 34px; }

/* ==========================================================================
   13. Sidebar / widgets
   ========================================================================== */
.vt-sidebar { display: flex; flex-direction: column; gap: 24px; }
.vt-widget {
  background: var(--vt-surface); border: 1px solid var(--vt-border-soft);
  border-radius: var(--vt-radius); padding: 20px;
}
.vt-widget__title {
  margin: 0 0 14px; font-size: 0.95rem; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.vt-widget__title .vt-i { color: var(--vt-accent); }
.vt-widget ul { list-style: none; margin: 0; padding: 0; }
.vt-widget li { padding: 7px 0; border-bottom: 1px solid var(--vt-border-soft); font-size: 0.88rem; }
.vt-widget li:last-child { border-bottom: 0; }
.vt-widget li a { color: var(--vt-text-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vt-widget li a:hover { color: var(--vt-accent); }
.vt-widget__count { font-size: 0.75rem; color: var(--vt-muted-2); background: var(--vt-surface-2); padding: 2px 8px; border-radius: 999px; }
.vt-widget select, .vt-widget .vt-input { width: 100%; }

/* ==========================================================================
   14. Comments
   ========================================================================== */
.vt-comments { margin-top: 34px; }
.vt-comments__title { font-size: 1.1rem; margin: 0 0 18px; display: flex; align-items: center; gap: 9px; }
.vt-comments__list { list-style: none; margin: 0 0 26px; padding: 0; }
.vt-comments__list .children { list-style: none; margin: 0; padding-left: 22px; }
.vt-comment { display: flex; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--vt-border-soft); }
.vt-comment__body { flex: 1 1 auto; min-width: 0; }
.vt-comment__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 5px; }
.vt-comment__author { font-weight: 700; font-size: 0.9rem; }
.vt-comment__date { font-size: 0.76rem; color: var(--vt-muted-2); }
.vt-comment__text { font-size: 0.9rem; color: var(--vt-text-2); }
.vt-comment__text p:last-child { margin-bottom: 0; }
.vt-comment__actions { display: flex; gap: 14px; margin-top: 7px; font-size: 0.78rem; }
.vt-comment__actions a { color: var(--vt-muted); }
.vt-comment__actions a:hover { color: var(--vt-accent); }
.vt-comment-form { background: var(--vt-surface); border-radius: var(--vt-radius); padding: 22px; }
.vt-comment-form .comment-reply-title { font-size: 1rem; margin: 0 0 14px; }
.vt-comment-form .logged-in-as { font-size: 0.82rem; color: var(--vt-muted); }
.vt-comment-form input[type="text"],
.vt-comment-form input[type="email"],
.vt-comment-form input[type="url"],
.vt-comment-form textarea {
  width: 100%; padding: 11px 14px; margin-bottom: 12px;
  background: var(--vt-bg-elev); border: 1px solid var(--vt-border);
  border-radius: var(--vt-radius-sm); color: var(--vt-text);
}
.vt-comment-form input:focus, .vt-comment-form textarea:focus { outline: none; border-color: var(--vt-accent); }
.vt-comment-form .submit input, .vt-comment-form .form-submit input {
  padding: 11px 24px; border: 0; border-radius: 999px;
  background: var(--vt-accent); color: var(--vt-accent-ink); font-weight: 700; cursor: pointer;
}
.vt-comment-form .comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--vt-muted); }

/* ==========================================================================
   15. Footer
   ========================================================================== */
.vt-footer { background: var(--vt-bg-elev); border-top: 1px solid var(--vt-border-soft); margin-top: 60px; padding: 48px 0 0; }
.vt-footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; padding-bottom: 38px; }
.vt-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-weight: 800; font-size: 1.1rem; }
.vt-footer__about { color: var(--vt-muted); font-size: 0.88rem; max-width: 340px; }
.vt-footer__title { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--vt-text); margin: 0 0 14px; }
.vt-footer__list { list-style: none; margin: 0; padding: 0; }
.vt-footer__list li { margin-bottom: 9px; }
.vt-footer__list a { color: var(--vt-muted); font-size: 0.88rem; }
.vt-footer__list a:hover { color: var(--vt-accent); }
.vt-footer__social { display: flex; gap: 10px; margin-top: 16px; }
.vt-footer__social a {
  width: 38px; height: 38px; border-radius: 50%; background: var(--vt-surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--vt-text-2);
}
.vt-footer__social a:hover { background: var(--vt-accent); color: var(--vt-accent-ink); }
.vt-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 0; border-top: 1px solid var(--vt-border-soft);
  color: var(--vt-muted-2); font-size: 0.82rem;
}
.vt-footer__bottom a { color: var(--vt-muted); }
.vt-footer__bottom a:hover { color: var(--vt-accent); }
.vt-footer .vt-widget { background: transparent; border: 0; padding: 0; }
.vt-footer .vt-widget__title { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; }

/* ==========================================================================
   16. Misc components
   ========================================================================== */
.vt-empty { text-align: center; padding: 60px 20px; color: var(--vt-muted); }
.vt-empty .vt-i { width: 52px; height: 52px; margin: 0 auto 16px; color: var(--vt-muted-2); }
.vt-empty__title { font-size: 1.15rem; color: var(--vt-text); margin: 0 0 8px; }

.vt-tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--vt-border-soft); margin-bottom: 24px; overflow-x: auto; }
.vt-tab {
  padding: 11px 16px; background: transparent; border: 0; border-bottom: 2px solid transparent;
  color: var(--vt-muted); font-size: 0.9rem; font-weight: 600; white-space: nowrap;
}
.vt-tab:hover { color: var(--vt-text); }
.vt-tab.is-active { color: var(--vt-accent); border-bottom-color: var(--vt-accent); }

.vt-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin-bottom: 28px; }
.vt-stat { background: var(--vt-surface); border: 1px solid var(--vt-border-soft); border-radius: var(--vt-radius); padding: 18px; }
.vt-stat__label { font-size: 0.78rem; color: var(--vt-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.vt-stat__value { font-size: 1.5rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.vt-stat__value .vt-i { color: var(--vt-accent); }

.vt-table-wrap { overflow-x: auto; border: 1px solid var(--vt-border-soft); border-radius: var(--vt-radius); }
.vt-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.vt-table th, .vt-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--vt-border-soft); }
.vt-table th { background: var(--vt-surface-2); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vt-muted); font-weight: 700; }
.vt-table tr:last-child td { border-bottom: 0; }
.vt-table tbody tr:hover { background: var(--vt-surface); }

.vt-pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 0.74rem; font-weight: 700; }
.vt-pill--ok { background: rgba(46,204,113,0.16); color: #7fe0a8; }
.vt-pill--warn { background: rgba(245,166,35,0.16); color: #ffd08a; }
.vt-pill--err { background: rgba(255,61,61,0.16); color: #ff9d9d; }
.vt-pill--muted { background: var(--vt-surface-3); color: var(--vt-muted); }

.vt-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 0.8rem; color: var(--vt-muted-2); margin-bottom: 18px; }
.vt-breadcrumbs a { color: var(--vt-muted); }
.vt-breadcrumbs a:hover { color: var(--vt-accent); }
.vt-breadcrumbs .sep { opacity: 0.5; }

.vt-page-hero { padding: 34px 0 26px; border-bottom: 1px solid var(--vt-border-soft); margin-bottom: 30px; }
.vt-page-hero__eyebrow { display: inline-flex; align-items: center; gap: 7px; color: var(--vt-accent); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 10px; }
.vt-page-hero__title { margin: 0 0 8px; }
.vt-page-hero__sub { color: var(--vt-muted); margin: 0; max-width: 720px; }

.vt-entry { font-size: 1rem; color: var(--vt-text-2); }
.vt-entry h2, .vt-entry h3, .vt-entry h4 { color: var(--vt-text); margin-top: 1.6em; }
.vt-entry a { color: var(--vt-accent); text-decoration: underline; text-underline-offset: 3px; }
.vt-entry img { border-radius: var(--vt-radius); margin: 1.2em 0; }
.vt-entry blockquote {
  margin: 1.4em 0; padding: 14px 20px; border-left: 3px solid var(--vt-accent);
  background: var(--vt-surface); border-radius: 0 var(--vt-radius-sm) var(--vt-radius-sm) 0; color: var(--vt-text-2);
}
.vt-entry code { background: var(--vt-surface-2); padding: 2px 6px; border-radius: 4px; font-family: var(--vt-mono); font-size: 0.88em; }
.vt-entry pre { background: var(--vt-surface); padding: 16px; border-radius: var(--vt-radius); overflow-x: auto; }
.vt-entry pre code { background: none; padding: 0; }
.vt-entry ul, .vt-entry ol { padding-left: 1.4em; }
.vt-entry table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.vt-entry th, .vt-entry td { padding: 10px 12px; border: 1px solid var(--vt-border); text-align: left; }
.vt-entry th { background: var(--vt-surface-2); }
.vt-entry .wp-block-button__link { background: var(--vt-accent); color: var(--vt-accent-ink); border-radius: 999px; padding: 11px 24px; text-decoration: none; }
.vt-entry .alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.vt-entry .alignfull { max-width: none; }
.vt-entry .wp-caption-text, .vt-entry figcaption { font-size: 0.82rem; color: var(--vt-muted); text-align: center; margin-top: 6px; }

.vt-404 { text-align: center; padding: 70px 20px; }
.vt-404__code { font-size: clamp(4rem, 14vw, 9rem); font-weight: 900; line-height: 1; color: var(--vt-accent); letter-spacing: -0.04em; }
.vt-404__title { margin: 10px 0 12px; }
.vt-404__text { color: var(--vt-muted); max-width: 520px; margin: 0 auto 26px; }

.vt-toast {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: var(--vt-radius);
  background: var(--vt-surface-2); border: 1px solid var(--vt-border);
  box-shadow: var(--vt-shadow); font-size: 0.88rem; font-weight: 600;
  transform: translateY(20px); opacity: 0; visibility: hidden;
  transition: transform 0.24s var(--vt-ease), opacity 0.24s var(--vt-ease), visibility 0.24s;
}
.vt-toast.is-show { transform: translateY(0); opacity: 1; visibility: visible; }
.vt-toast--ok { border-color: rgba(46,204,113,0.5); }
.vt-toast--err { border-color: rgba(255,61,61,0.5); }
.vt-toast .vt-i { color: var(--vt-accent); }

.vt-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25); border-top-color: var(--vt-accent);
  animation: vt-spin 0.7s linear infinite; display: inline-block;
}
@keyframes vt-spin { to { transform: rotate(360deg); } }

.vt-reveal { opacity: 1; transform: none; }
html.vt-js-ready .vt-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--vt-ease), transform 0.5s var(--vt-ease); }
html.vt-js-ready .vt-reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   17. Responsive
   ========================================================================== */
@media (max-width: 1400px) {
  .vt-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .vt-watch { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 1200px) {
  .vt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vt-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .vt-watch { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }
  .vt-footer__grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 26px; }
}
@media (max-width: 1024px) {
  .vt-nav { display: none; }
  .vt-burger { display: inline-flex; }
  .vt-layout, .vt-layout--left { grid-template-columns: minmax(0, 1fr); }
  .vt-watch { grid-template-columns: minmax(0, 1fr); }
  .vt-sidebar { margin-top: 34px; }
  .vt-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .vt-hero__viewport { aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) {
  .vt-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vt-form--2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
  .vt-wrap { padding: 0 16px; }
  .vt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .vt-header__center { display: none; }
  .vt-header__bar { gap: 10px; }
  .vt-brand__name { display: none; }
  .vt-card--row .vt-card__thumb, .vt-card--compact .vt-card__thumb { width: 140px; }
  .vt-channel-head { gap: 16px; }
  .vt-avatar--xl { width: 84px; height: 84px; }
  .vt-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .vt-hero__viewport { aspect-ratio: 4 / 3; min-height: 260px; }
  .vt-slide__content { padding: 20px; }
  .vt-player__vol input { display: none; }
  .vt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .vt-grid { grid-template-columns: minmax(0, 1fr); }
  .vt-card--row .vt-card__thumb, .vt-card--compact .vt-card__thumb { width: 120px; }
  .vt-toolbar { gap: 8px; }
  .vt-toolbar__title { flex-basis: 100%; }
  .vt-stats { grid-template-columns: minmax(0, 1fr); }
  .vt-panel { padding: 18px; }
}

/* ==========================================================================
   18. WordPress core alignment / a11y
   ========================================================================== */
.alignleft { float: left; margin: 0 1.4em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.4em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--vt-accent); color: var(--vt-accent-ink); }
.sticky .vt-card__title::after { content: " •"; color: var(--vt-accent); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-item img { border-radius: var(--vt-radius-sm); }
.wp-block-image img { border-radius: var(--vt-radius); }

@media print {
  .vt-header, .vt-footer, .vt-sidebar, .vt-player__controls, .vt-watch__side { display: none !important; }
  body { background: #fff; color: #000; }
}
