/* ============================================================
   VoyeurGranny â€” vg-style.css v2 (2026-05-16)
   F-light-18style design: light theme + red accent
   Brand: red #e0273a (primary), red-dark #b8121f, dark text #2c2c2c
   Responsive: 1024 / 768 / 480 (OW-pattern: 4â†’3â†’2 cols)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-top: #1c1c1c;
  --bg-header: #ffffff;
  --bg-body: #f0f0f0;
  --bg-card: #ffffff;
  --border: #e5e5e5;
  --border-soft: #ececec;
  --text: #2c2c2c;
  --text-dim: #666666;
  --text-muted: #999999;
  --red: #e0273a;
  --red-dark: #b8121f;
  --red-light: #ffe5e8;
  --green-hd: #4caf50;
}

html { scroll-behavior: smooth; }
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}
body {
  background: var(--bg-body);
  color: var(--text);
  font-family: 'Roboto', sans-serif;
  min-height: 100vh;
  line-height: 1.4;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER =====
   header z-index 200: stacking-context fix (MHM 2026-05-03).
   Header creates a stacking context (position:relative + z-index).
   Without z:200 > overlay z:90, Categories tap lands on overlay â†’ closeMenu fires. */
header {
  background: var(--bg-header);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  position: relative;
  z-index: 200;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* ===== HAMBURGER (mobile only) ===== */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  align-items: center;
  transition: opacity 0.2s;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger-btn:hover { opacity: 0.8; }
.hamburger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 60px; width: auto; display: block; }

/* ===== NAV ===== */
nav { display: flex; flex: 1; }
nav ul { list-style: none; display: flex; gap: 4px; align-items: center; }
nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}
nav a svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  transition: stroke 0.2s;
}
nav a:hover { color: var(--red); }
nav a.active { color: var(--red); }
nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--red);
}

/* Categories dropdown (mega) â€” OW-pattern: full header-width, 6 cols, lowercase
   <li> is position:static so <header> (position:relative, z:200) is the abs-parent. */
nav .dropdown-nav { position: static; }
.nav-caret {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.6;
  transition: transform 0.25s;
  margin-left: 2px;
}
nav .dropdown-nav:hover .nav-caret { transform: rotate(180deg); }
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 14px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s;
  z-index: 200;
}
nav .dropdown-nav:hover .mega-dropdown,
nav .dropdown-nav.open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-dropdown-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px 14px;
}
.mega-dropdown-inner > a {
  display: block;
  padding: 4px 6px !important;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  text-transform: capitalize;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  transition: color 0.15s, background 0.15s;
}
.mega-dropdown-inner > a:hover {
  color: var(--red);
  background: var(--red-light);
}
.mega-dropdown-inner > a::after { display: none; }
.mega-footer {
  max-width: 1280px;
  margin: 14px auto 0;
  padding: 14px 20px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.view-all-btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--red);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 3px;
  transition: background 0.2s;
  flex-direction: row !important;
}
.view-all-btn:hover { background: var(--red-dark); }
.view-all-btn::after { display: none; }

/* ===== SEARCH BOX =====
   overflow:hidden was clipping the .ac-dropdown (position:absolute child of the form).
   Removed; child border-radius matches the parent corners instead. */
.search-box {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  width: 260px;
  height: 38px;
  position: relative;
}
.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 12px;
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  color: var(--text);
  border-radius: 3px 0 0 3px;
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box button {
  background: var(--red);
  border: none;
  padding: 0 18px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s;
  border-radius: 0 3px 3px 0;
}
.search-box button:hover { background: var(--red-dark); }

/* ===== Autocomplete dropdown ===== */
.ac-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 300;
  max-height: 60vh;
  overflow-y: auto;
}
.ac-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.ac-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
  cursor: pointer;
  transition: background 0.1s, color 0.1s;
}
.ac-item:last-child { border-bottom: none; }
.ac-item:hover,
.ac-item.selected {
  background: var(--red-light);
  color: var(--red);
}
.ac-item .ac-q { flex: 1; text-transform: capitalize; }
.ac-item .ac-count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--border-soft);
  padding: 1px 8px;
  border-radius: 999px;
  margin-left: 8px;
}
.ac-item:hover .ac-count,
.ac-item.selected .ac-count { color: var(--red); background: #fff; }

/* ===== Mobile banner 300x100 (ExoClick zone 5578184) =====
   The ExoClick iframe sometimes paints with a default height (~250px) larger than
   the actual 100px banner content â€” clip with max-height to prevent dead space below.
   Without this, mobile-on a 150-200px Ã¼res tÃ©r jelenik meg banner alatt. */
.vg-mobile-banner {
  display: block;
  margin: 4px 0 8px;
  text-align: center;
  line-height: 0;
  overflow: hidden;
  max-width: 100%;
  max-height: 110px;
}
.vg-mobile-banner ins,
.vg-mobile-banner iframe {
  max-width: 100%;
  max-height: 100px;
  display: inline-block;
  margin: 0 auto;
  padding: 0;
  vertical-align: top;
}
/* Desktop â‰¥768px: hard-hide parent + ins/iframe child (ExoClick ad-provider.js sometimes
   inlines display:block on <ins>; without !important on both, the banner still leaks
   on desktop. The 2026-05-12 OW playbook also notes this requires explicit suppression). */
@media (min-width: 768px) {
  .vg-mobile-banner,
  .vg-mobile-banner ins,
  .vg-mobile-banner iframe { display: none !important; }
}

/* ===== Native ad placeholder (ExoClick zone 3936304) â€” JS moveAd() positions it =====
   CRITICAL bugs avoided here:
   - grid-column: 1 / -1 forces a full-width row inside the CSS Grid (otherwise the
     ExoClick multi-card native ad clips into a single ~320px cell)
   - min-height: 220px reserves vertical space (the <ins> is async-loaded â€” without
     reserving height, the *next* grid row collapses up under the native ad and the
     tmb-titles render over the ad's captions)
   - position: relative + overflow: hidden contains absolutely-positioned children
     from the ad-provider.js (the eas6a97888e20 multi-card pattern uses absolute
     positioning internally) */
.content-ad {
  display: block;
  margin: 8px 0;
  text-align: center;
  /* line-height intentionally NOT set to 0 â€” would inherit into ad's captions
     and render multi-line text on top of itself (overlap bug). Keep default. */
  grid-column: 1 / -1;
  position: relative;
  min-height: 240px;
  overflow: hidden;
}
.content-ad ins, .content-ad iframe {
  max-width: 100%;
  width: 100%;
}

/* ===== NAV CLOSE (mobile slide-in panel X) ===== */
.nav-close-btn {
  display: none;
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.nav-close-btn svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}
.nav-close-btn:hover { background: var(--red-light); color: var(--red); }

/* ===== OVERLAY ===== */
.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.3s;
}
.menu-overlay.active { display: block; opacity: 1; }

/* ===== SECTION HEAD ===== */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px;
}
.section-head h1,
.section-head h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
}
.section-head .badge-btn {
  padding: 8px 18px;
  background: var(--red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 3px;
  text-transform: capitalize;
  transition: background 0.2s;
}
.section-head .badge-btn:hover { background: var(--red-dark); }

/* ===== POPULAR CATEGORIES GRID (4-col, OW-pattern, 320Ã—180 thumbs) ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 24px;
}
.cat-card {
  position: relative;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.cat-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.cat-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}
.cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
/* hover scale removed per user request â€” thumb stays still, preview video activates instead */
.cat-badge {
  position: absolute;
  top: 8px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  backdrop-filter: blur(2px);
}
.cat-badge.left { left: 8px; }
.cat-badge.right { right: 8px; }
.cat-badge svg { width: 12px; height: 12px; fill: currentColor; }
.cat-name {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-transform: capitalize;
}
.cat-card:hover .cat-name { color: var(--red); }

/* ===== VIDEO GRID (4-col, OW-pattern, 320Ã—180 thumbs) ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-bottom: 24px;
}
.tmb {
  position: relative;
  background: var(--bg-card);
  border-radius: 3px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.tmb:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.tmb-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
}
.tmb-preview > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Preview video overlay: SSR <video src>, fades in on data-state="playing" (set by JS) */
.tmb-preview > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  background: #000;
}
.tmb-preview > video[data-state="playing"] { opacity: 1; }

.tmb-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 2px;
}
.tmb-hd {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--red);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  letter-spacing: 0.5px;
}
/* .tmb-play (red play button overlay) hidden per user request â€” preview video is enough on hover */
.tmb-play { display: none; }

.tmb-info { padding: 10px 12px 12px; }
.tmb-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.tmb:hover .tmb-title { color: var(--red); }
.tmb-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.tmb-meta span { display: inline-flex; align-items: center; gap: 4px; }
.tmb-meta svg { width: 13px; height: 13px; fill: currentColor; opacity: 0.7; }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 24px 0 32px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}
.pagination li { list-style: none; }
.pagination a,
.pagination span,
.pagination .current {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  border-radius: 3px;
  transition: all 0.15s;
}
.pagination a:hover {
  color: var(--red);
  border-color: var(--red);
}
.pagination .current,
.pagination .active a {
  background: var(--red);
  color: #ffffff;
  border-color: var(--red);
  font-weight: 700;
}
.pagination .arrow svg { width: 14px; height: 14px; fill: currentColor; }
.pagination .gap {
  background: transparent;
  border: none;
  color: var(--text-muted);
  min-width: auto;
  padding: 0 4px;
}

/* ===== PILL SECTIONS ===== */
.pill-section { padding-bottom: 24px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-list.collapsible {
  max-height: 92px;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
}
.pill-list.collapsible.expanded { max-height: 3000px; }
.pill-list.collapsible:not(.expanded)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32px;
  background: linear-gradient(180deg, rgba(240, 240, 240, 0) 0%, var(--bg-body) 90%);
  pointer-events: none;
}
.show-all-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px auto 0;
  padding: 8px 16px;
  background: transparent;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 13px;
  transition: color 0.2s;
  user-select: none;
}
.show-all-toggle:hover { color: var(--red-dark); }
.show-all-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform 0.3s;
  fill: currentColor;
}
.show-all-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.15s;
}
.pill:hover {
  color: #ffffff;
  background: var(--red);
  border-color: var(--red);
}
.pill .count {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--border-soft);
  padding: 1px 6px;
  border-radius: 999px;
}
.pill:hover .count { color: var(--red); background: #ffffff; }

/* ===== SEO DESCRIPTION BLOCK (Read More toggle) â€” MHM-pattern: title + red border + 1-row fade ===== */
.seo-description {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 20px 28px 14px;
  margin: 8px 0 28px;
  grid-column: 1 / -1;  /* full-row when inserted into a CSS Grid (content_list JS moveAd) */
}
.seo-description h2,
.seo-description h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red);
  letter-spacing: -0.2px;
}
.seo-description .read-more-content {
  position: relative;
  max-height: 50px;   /* ~1 row visible + fade into 2nd row */
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
}
.seo-description .read-more-content.expanded { max-height: 1500px; }
.seo-description .read-more-content p { margin: 0 0 10px; }
.seo-description .read-more-content p:last-child { margin-bottom: 0; }
.seo-description .seo-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--bg-card) 100%);
  pointer-events: none;
  transition: opacity 0.3s;
}
.read-more-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin: 12px auto 0;
  background: transparent;
  border: none;
  color: var(--red);
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 16px;
  user-select: none;
  transition: color 0.2s;
}
.read-more-toggle:hover { color: var(--red-dark); }
.read-more-toggle svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
  transition: transform 0.3s;
}
.read-more-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

/* mp4-player only â€” desktop â‰¥768px: always-expanded SEO body, no Read More toggle.
   Mobile (<768px) keeps the collapse + Read More for screen real-estate. */
@media (min-width: 768px) {
  .video-meta .seo-description .read-more-content { max-height: none; overflow: visible; }
  .video-meta .seo-description .seo-fade { display: none; }
  .video-meta .seo-description .read-more-toggle { display: none; }
}

/* ===== VIDEO PLAYER PAGE (mp4-player / new-video-2) =====
   max-width: 800px per OW/MHM playbook pattern â€” full-1280px player on desktop
   is too large; 800px is the standard tube-site comfort width. Related grid below
   keeps full container width. */
.video-wrap {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 16px auto;
  max-width: 800px;
}
.video-wrap .player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  width: 100%;
}
.video-wrap .player-frame video,
.video-wrap .player-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.video-meta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 16px 20px;
  margin: 0 auto 18px;
  max-width: 800px;
}
.video-meta h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.2px;
}
.video-meta .meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
}
.video-meta .meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.video-meta .meta-row svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  opacity: 0.7;
}
.video-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.video-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.btn-action {
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-action:hover {
  color: var(--red);
  border-color: var(--red);
}
.btn-action.primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-action.primary:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ===== LEGAL PAGES (2257 / DMCA / content_not_found) ===== */
.legal-page {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 28px 32px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}
.legal-page h1 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--text);
  border-bottom: 2px solid var(--red);
  padding-bottom: 10px;
}
.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text);
}
.legal-page p { margin: 0 0 14px; }
.legal-page a { color: var(--red); }
.legal-page a:hover { color: var(--red-dark); text-decoration: underline; }
.legal-page ul, .legal-page ol { margin: 0 0 14px 24px; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg-top);
  color: #888;
  padding: 28px 0 24px;
  margin-top: 32px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.5px;
}
.footer-tagline { color: #888; font-size: 12px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  color: #aaa;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--red); }

/* ===== RESPONSIVE BREAKPOINTS (OW-pattern: 4 â†’ 3 â†’ 2) ===== */
@media (max-width: 1024px) {
  .hamburger-btn { display: flex; }
  .header-inner { gap: 14px; flex-wrap: wrap; row-gap: 10px; }
  .search-box {
    order: 99;
    flex-basis: 100%;
    width: 100%;
    max-width: none;
  }
  nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: var(--bg-header);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    z-index: 100;
    transition: left 0.3s ease;
    padding: 70px 12px 24px;
    overflow-y: auto;
    flex: none;
  }
  nav.active { left: 0; }
  nav ul { flex-direction: column; gap: 2px; align-items: stretch; }
  nav a { flex-direction: row; gap: 14px; padding: 12px 14px; font-size: 15px; }
  nav a::after { display: none; }
  nav a.active { background: var(--red-light); border-radius: 4px; }
  .nav-close-btn { display: flex; }
  nav { padding-top: 60px !important; }
  .mega-dropdown {
    position: static;
    transform: none !important;
    width: auto !important;
    opacity: 1;
    visibility: visible;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 !important;
    border: none;
    box-shadow: none;
    margin-top: 4px;
  }
  .dropdown-nav.open .mega-dropdown {
    max-height: 60vh;
    padding: 0 !important;
    overflow-y: auto;
  }
  /* Mobile accordion: OW-pattern â€” 2 cols, Title Case, zebra striping every 2nd row. */
  .mega-dropdown-inner {
    max-width: none;
    margin: 0;
    padding: 0 !important;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-width: 0;
  }
  .mega-dropdown-inner > a {
    padding: 6px 12px !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--text) !important;
    text-transform: capitalize;
    border-bottom: 1px solid var(--border-soft);
    border-radius: 0 !important;
    background: transparent;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  /* Zebra: row 2 (cells 3-4), row 4 (cells 7-8), row 6 (cells 11-12)â€¦ light gray */
  .mega-dropdown-inner > a:nth-child(4n+3),
  .mega-dropdown-inner > a:nth-child(4n+4) {
    background: #f7f7f7;
  }
  .mega-dropdown-inner > a:hover {
    background: var(--red-light) !important;
    color: var(--red) !important;
  }
  .logo { flex: 1; justify-content: center; }
  .logo img { height: 48px; }
  .grid, .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 14px; }
  .grid, .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .video-meta { padding: 10px 14px; }
  .video-meta h1 { font-size: 16px; margin-bottom: 4px; }
  .legal-page { padding: 22px 18px; }
  .legal-page h1 { font-size: 22px; }
}

@media (max-width: 480px) {
  .container { padding: 0 8px; }
  .logo img { height: 44px; }
}

body.menu-open { overflow: hidden; }
