﻿/* ==========================================================================
   CSS CUSTOM PROPERTIES (paletta) — bustygranny.org v3.1
   ========================================================================== */
:root {
  /* Brand */
  --bg-dark: #1b1b1b;
  --accent-yellow: #ffec00;
  --accent-yellow-hover: #fff200;
  --accent-red: #d63638;
  --accent-red-hover: #b82c2e;

  /* Text */
  --text-dark: #444444;
  --text-secondary: #6f6f6f;
  --text-tertiary: #888888;

  /* Surfaces */
  --bg-light: #f5f5f5;
  --bg-light-hover: #ececec;
  --card-white: #ffffff;
  --surface-dark-2: #262727;

  /* Borders */
  --border-light: #e9e9e9;
  --border-medium: #d0d0d0;
  --border-dark: #2a2a2a;

  /* Effects */
  --shadow-soft: #e5e5e5;
  --shadow-strong: rgba(0, 0, 0, 0.4);
  --overlay-dark: rgba(0, 0, 0, 0.55);
}
/* ==========================================================================
   BustyGranny.org — XGLUZ-style tube template (v3)
   Wrapper 1280px, common .thumbs-grid for category + video (both 16:9)
   Hamburger slide-out nav + mobile-search-row (MHM mintára)
   Breakpoints: 1100 (hamburger) / 1000 / 768 (search → logo alá) / 480
   ========================================================================== */

/* ---------- RESET / BASE ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    letter-spacing: 0.4px;
    color: var(--text-dark);
    background-color: var(--bg-light);
    font-weight: 300;
    line-height: 1.5;
    margin: 0;
}
body.menu-open { overflow: hidden; }   /* lock scroll on open slide-out */
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; display: block; }
a {
    text-decoration: none;
    color: var(--text-dark);
    transition: opacity 0.25s ease;
}
a:hover { opacity: 0.85; }
strong { font-weight: 500; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }

.web-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   HEADER + NAV
   ========================================================================== */
header {
    width: 100%;
    background-color: var(--bg-dark);
    position: relative;        /* NEM sticky — natural scroll */
    z-index: 50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.site-header {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 56px;
    padding-top: 8px;
    padding-bottom: 8px;
    position: relative;
}

/* ----- Logo (inline SVG) ----- */
.site-title { flex-shrink: 0; line-height: 0; }
.site-title a { display: inline-block; line-height: 0; }
.site-title .logo-svg { height: 28px; width: auto; display: block; }

/* ----- Hamburger button (animálódó X) ----- */
.hamburger-btn {
    display: none;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
    flex-shrink: 0;
    z-index: 350;
}
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--accent-yellow);
    border-radius: 1px;
    transition: all 0.3s ease;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- Main nav (desktop: inline / mobile: slide-out) ----- */
.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}
.nav-list { display: flex; gap: 8px; }
.nav-list li { display: inline-block; }
.nav-list a {
    color: white;
    border-radius: 100px;
    padding: 6px 14px;
    background-color: var(--surface-dark-2);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
/* Hover: csak text-szín változik sárgára, háttér marad */
.nav-list a:hover {
    background-color: var(--surface-dark-2);
    color: var(--accent-yellow);
    opacity: 1;
}
/* Aktív (current page): sárga háttér jelzi */
.nav-list .active a {
    background-color: var(--accent-yellow);
    color: var(--bg-dark);
    opacity: 1;
}
.nav-list a svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Close X gomb ELTÁVOLÍTVA — a bal oldali hamburger újrakattintással zárható (animálódó X)
   Ha a HTML-ben mégis maradna .menu-close-btn, biztos rejtve marad: */
.menu-close-btn { display: none !important; }

/* ----- Search form (desktop: a nav-ban jobbra; mobile: a nav-ban alulra) ----- */
.search-form {
    display: flex;
    align-items: center;
    background: var(--surface-dark-2);
    border: 1px solid var(--border-dark);
    border-radius: 100px;
    padding: 3px 4px 3px 14px;
    flex: 1;
    max-width: 320px;
    margin-left: auto;
}
.search-form input {
    flex: 1;
    background: transparent;
    border: 0;
    color: white;
    padding: 4px 6px;
    font-size: 13px;
    font-family: inherit;
    outline: none;
    width: 100%;
    min-width: 0;
}
.search-form input::placeholder { color: var(--text-tertiary); }
.search-form button {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border: 0;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
    line-height: 1;
}
.search-form button:hover { background: var(--accent-yellow-hover); }

/* ----- Menu overlay (slide-out mögötti sötét háttér) ----- */
.menu-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background: var(--overlay-dark);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* ----- Mobile search row (header alatt, csak ≤768-on jelenik meg) ----- */
.mobile-search-row {
    display: none;
    background: var(--card-white);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-light);
}
.mobile-search-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;         /* NEM shorthand — megőrzi a .web-container vízszintes paddingot */
    padding-bottom: 8px;
}
.home-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border: 1px solid var(--border-medium);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.2s ease;
}
.home-btn svg { display: block; width: 16px; height: 16px; }
.home-btn:hover {
    background: var(--bg-light-hover);
    border-color: var(--text-tertiary);
    color: var(--bg-dark);
    opacity: 1;
}
.mobile-search-row .search-form {
    flex: 1;
    margin: 0;
    max-width: none;
    background: var(--bg-light);
    border-color: var(--border-medium);
    padding: 2px 3px 2px 12px;
}
.mobile-search-row .search-form input {
    color: var(--bg-dark);
    padding: 4px 6px;
    font-size: 13px;
}
.mobile-search-row .search-form input::placeholder { color: var(--text-tertiary); }
.mobile-search-row .search-form button {
    padding: 6px 12px;
}

/* ==========================================================================
   POPULAR CATEGORY CHIPS (top bar)
   ========================================================================== */
.head-links {
    background-color: var(--card-white);
    border-bottom: 1px solid var(--border-light);
}
.head-links-inner {
    display: flex;
    gap: 6px;
    padding-top: 10px;        /* NEM `padding: 10px 0` — az felülírná a .web-container vízszintes 40/20/10px-jét */
    padding-bottom: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.head-links-inner::-webkit-scrollbar { height: 4px; }
.head-links-inner::-webkit-scrollbar-thumb { background: var(--text-tertiary); border-radius: 4px; }
.head-links-inner a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-radius: 100px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-transform: capitalize;
    transition: all 0.2s ease;
    flex-shrink: 0;
}
.head-links-inner a:hover {
    background-color: var(--card-white);
    color: var(--bg-dark);
    box-shadow: 0 0 0 1px var(--border-medium);       /* finom szürke ring — kiemeli a chip-et a fehér háttéren */
    opacity: 1;
}
.head-links-inner a .emoji { font-size: 14px; line-height: 1; }

/* ==========================================================================
   PAGE TITLE / INTRO + SUB TITLE
   ========================================================================== */
main { padding: 0; }
.page-title {
    background-color: var(--card-white);
    padding: 18px 0 6px;
    margin: 0;
}
.page-title h1 {
    font-size: 24px;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--bg-dark);
}
.page-intro {
    background-color: var(--card-white);
    color: var(--text-secondary);
    font-size: 14px;
    padding: 0 0 18px;
    line-height: 1.5;
}
.section-title,
.sub-title {                          /* .sub-title alias backward-compat-ra */
    padding: 8px 20px;
    font-weight: 500;
    font-size: 18px;
    text-align: left;
    background-color: var(--border-light);
    color: var(--bg-dark);
    margin-top: 12px;
    margin-bottom: 0;
    /* NINCS negatív horizontal margin — a szürke csík NEM lóghat ki a .web-container padding-ján túl */
}
.section-title .accent,
.sub-title .accent { color: var(--accent-red); }

/* Page-title h1 variant (MHM .cl-h1) — yellow accent border + bigger font */
.section-title.cl-h1 {
    background-color: transparent;
    color: var(--bg-dark);
    font-size: 22px;
    font-weight: 500;
    padding: 18px 0 8px;
    margin: 4px 0 8px;
    border-bottom: 3px solid var(--accent-yellow);
    text-align: left;
}
.section-title.cl-h1 .accent { color: var(--accent-red); }

/* Bare variant (transparent, no padding) — All Categories style */
.section-title.bare {
    background: transparent;
    padding: 0;
    margin: 0 0 6px;
}

/* ==========================================================================
   THUMBS GRID (shared by category + video, mind 16:9 / 320×180 arány)
   ========================================================================== */
.thumbs-grid {
    display: grid;
    /* minmax(0,1fr) — megakadályozza hogy egy szeles tartalom (pl. injektalt native-ad creative) szetfeszitse a track-et */
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 16px;
    padding: 18px 0 25px;
    background-color: var(--card-white);
}
/* In-grid native-ad (JS injektalja moveCatAd()/moveAds() cols*3 pozicioba) — teljes sort foglaljon */
.thumbs-grid .native-ad,
.thumbs-grid .seo-description {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    margin: 0;
}
.thumbs-grid .native-ad {
    overflow: hidden;
    text-align: center;
    background-color: var(--card-white);
}
.thumbs-grid .native-ad ins.eas6a97888e20 {
    display: inline-block;
    max-width: 100%;
}
.thumb-card {
    background-color: var(--card-white);
    border-radius: 5px;
    box-shadow: 0 0 8px 2px var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
    display: block;
}
/* Alap hover: csak finomabb árnyék, NINCS mozgás (video card-ra ez érvényes). */
.thumb-card:hover {
    box-shadow: 0 4px 14px 2px var(--border-medium);
}
/* Csak a CATEGORY card mozog hover-en (lift + thumb-kép skálázás). */
.thumb-card:has(.is-category):hover {
    transform: translateY(-2px);
}
.thumb-card a { display: block; color: inherit; }
.thumb-img {
    /* MHM-mintaju szabaly (v15.1 preview MP4 kompatibilis): NINCS display:flex,
       fekete fallback hatter a video alatt, kep es video > direct child layering. */
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}
/* Kategoria thumb specialis: marad a brand barna gradient (cat-label hattere lett volna,
   most a cat-label display:none, de a gradient esztetikailag megmarad a kategoria-thumbon) */
.thumb-img.is-category {
    background: linear-gradient(135deg, #1f1717 0%, #3a2424 60%, #5a3030 100%);
}
/* Preview MP4 video overlay (MHM v15.1 SSR pattern — direct child of .thumb-img) */
.thumb-img > video.preview-video {
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 2;
    background: #000;
}
.thumb-img > video.preview-video[data-state="playing"] {
    opacity: 1;
}
.thumb-img > img {
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
/* Csak category thumb-on van kép-skálázás, video thumb statikus marad. */
.thumb-card:has(.is-category):hover .thumb-img > img { transform: scale(1.04); }

/* Skeleton shimmer while lazy <img> not yet loaded (Redwap-mintaju Core Web Vitals fix 2026-06-07) */
@keyframes bg-skeleton-shimmer {
    0%   { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}
.thumb-img:has(img.lazy):not(:has(img.loaded)) {
    background: linear-gradient(90deg, #1f1717 0%, #2a1c1c 50%, #1f1717 100%);
    background-size: 400px 100%;
    animation: bg-skeleton-shimmer 1.2s ease-in-out infinite;
}
/* On finished load, kill the shimmer */
.thumb-img:has(img.loaded) {
    animation: none;
}

/* Play-overlay a videó-thumb közepén KIKAPCSOLVA (user kérés 2026-06-07) */
.thumb-img.is-video::before {
    content: none;
}
/* Sárga kategória-név overlay a thumbon KIKAPCSOLVA — a név a kártya alatt marad (user kérés 2026-06-07) */
.thumb-img.is-category .cat-label {
    display: none;
}
.thumb-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 55%, var(--overlay-dark) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Badges + tags */
.thumb-img .badge {
    position: absolute;
    bottom: 6px;
    background: rgba(0,0,0,0.78);
    color: var(--card-white);
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    z-index: 3;
    line-height: 1.4;
    pointer-events: none;
}
.thumb-img .badge.duration { right: 6px; }
.thumb-img .badge.views    { left: 6px; }
.thumb-img .badge.count    {
    left: 6px; bottom: 6px;
    background: rgba(0, 0, 0, 0.68);
    color: var(--card-white);
    font-weight: 500;
}
.thumb-img .tag {
    position: absolute;
    top: 6px; left: 6px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent-yellow);
    font-size: 10px;
    font-weight: 500;
    padding: 3px 6px;
    border-radius: 50px;
    line-height: 1;
    text-transform: uppercase;
    z-index: 3;
}
.thumb-img .tag.hd { background: var(--accent-red); color: white; }

.thumb-info { padding: 8px 10px 10px; }
.thumb-info h3 {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.thumb-info.category-info { text-align: center; padding: 8px 10px; }
.thumb-info.category-info h3 {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-line-clamp: 1;
}
.video-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-tertiary);
}

/* ==========================================================================
   NATIVE AD
   ========================================================================== */
.native-ad {
    margin: 10px 0;
    padding: 0;
    background-color: var(--card-white);
    color: var(--text-secondary);
    font-size: 13px;
    position: relative;
}
/* NINCS szaggatott border (user keres 2026-06-07): clean konteneer, az ExoClick rajzolja sajat AD-badge-et */
.native-ad::before { content: none; }
/* Force-no-border a teljes native-ad subtree-re (ExoClick natiV widget sajat dashed border-jet is eltunteti) */
.native-ad,
.native-ad * {
    border: 0 !important;
    border-style: none !important;
}
/* Az ExoClick natiV ad belso card-jait a .thumb-card mintajara stilizaljuk:
   lekerekitett, finom box-shadow, hover lift — hogy ugyanolyan vonzo legyen mint a kategoria-thumb. */
.native-ad ins.eas6a97888e20,
.native-ad ins.eas6a97888e20 > * {
    border-radius: 5px;
}
/* Force ExoClick widget magassagat content-aware-ra (user keres 2026-06-07: nagy ures hely a native-ad alatt) */
.native-ad ins.eas6a97888e20 {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    line-height: normal;
    margin: 0 !important;
    padding: 0 !important;
}
.native-ad ins.eas6a97888e20 iframe,
.native-ad ins.eas6a97888e20 > div {
    height: auto !important;
    min-height: 0 !important;
}
.native-ad ins.eas6a97888e20 a {
    display: block;
    background-color: var(--card-white);
    border-radius: 5px;
    box-shadow: 0 0 8px 2px var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    color: inherit;
    text-decoration: none;
}
.native-ad ins.eas6a97888e20 a:hover {
    box-shadow: 0 4px 14px 2px var(--border-medium);
    transform: translateY(-2px);
}
.native-ad ins.eas6a97888e20 img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}
/* Konteneer mar tartja az ExoClick height-jet — sem padding sem extra margin alulra */
.native-ad { padding-bottom: 0 !important; }
.native-ad-inner {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 16px;
    align-items: center;
    text-align: left;
}
.native-ad-thumb {
    width: 160px;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #3a1d1d, #7a2929);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1px;
}
.native-ad-body h4 {
    font-size: 15px;
    color: var(--bg-dark);
    margin-bottom: 4px;
    font-weight: 500;
}
.native-ad-body p {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.native-ad-body .ad-cta {
    display: inline-block;
    margin-top: 8px;
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 22px 0 30px;
    background-color: var(--card-white);
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    padding: 0 10px;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: all 0.2s ease;
}
.pagination a:hover {
    background: var(--card-white);
    color: var(--bg-dark);
    box-shadow: 0 0 0 1px var(--border-medium);
    opacity: 1;
}
.pagination .current { background: var(--bg-dark); color: var(--accent-yellow); }
.pagination .gap { background: transparent; color: var(--text-tertiary); }
.pagination .nav-arrow { font-weight: 600; }

/* ==========================================================================
   ALL CATEGORIES TEXT LIST
   ========================================================================== */
.all-categories {
    background-color: var(--card-white);
    padding: 18px 0 25px;
}
.all-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 12px;
}
.all-categories-list a {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 400;
    text-transform: capitalize;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.all-categories-list a:hover {
    background: var(--card-white);
    color: var(--bg-dark);
    box-shadow: 0 0 0 1px var(--border-medium);
    opacity: 1;
}
.all-categories-list a .count { color: var(--text-tertiary); margin-left: 4px; font-size: 11px; }
.all-categories-list a:hover .count { color: var(--text-secondary); }

/* ==========================================================================
   SEO DESCRIPTION
   ========================================================================== */
.seo-description {
    background-color: var(--card-white);
    color: var(--text-secondary);
    padding: 24px 0 30px;
    margin-top: 10px;
}
.seo-description h2 { font-size: 18px; font-weight: 500; color: var(--bg-dark); margin-bottom: 10px; }
.seo-description h3 { font-size: 15px; font-weight: 500; color: var(--bg-dark); margin-top: 14px; margin-bottom: 6px; }
.seo-description p { font-size: 14px; line-height: 1.6; margin-bottom: 8px; text-align: justify; }
.seo-description a { color: var(--accent-red); }

/* ==========================================================================
   MOBILE BANNER AD (csak <768px, MHM mintára 300x100 placeholder)
   ========================================================================== */
.mhm-mobile-banner {
    display: block;
    margin: 10px auto;
    text-align: center;
    padding: 0 10px;
}
.mhm-mobile-banner .mobile-banner-placeholder {
    display: inline-block;
    width: 300px;
    max-width: 100%;
    height: 100px;
    background: var(--bg-dark);
    border: 1px dashed var(--text-dark);
    color: var(--text-tertiary);
    line-height: 100px;
    font-size: 11px;
    letter-spacing: 1px;
    text-align: center;
}
@media (min-width: 768px) {
    .mhm-mobile-banner { display: none; }
}

/* ==========================================================================
   POPULAR SEARCHES (MHM .popular-searches pattern)
   Pagination UTÁN, all-categories ELŐTT
   ========================================================================== */
.popular-searches {
    background: var(--card-white);
    padding: 14px 0 18px;
}
.popular-searches-label {
    font-weight: 500;
    color: var(--bg-dark);
    margin-bottom: 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.popular-searches-label .accent { color: var(--accent-red); }

/* ==========================================================================
   IN-GRID NATIVE AD (a thumbs-grid-en BELÜL, egy thumb-card méretű cella)
   ========================================================================== */
.native-ad.in-grid {
    margin: 0;
    padding: 12px;
    background: var(--card-white);
    border-radius: 5px;
    box-shadow: 0 0 8px 2px var(--shadow-soft);
    grid-column: span 2;          /* két thumb-cell-t foglal el → arányos */
    display: flex;
    align-items: center;
}
.native-ad.in-grid::before { top: 6px; right: 8px; }
.native-ad.in-grid .native-ad-inner {
    grid-template-columns: 100px 1fr;
    gap: 10px;
}
.native-ad.in-grid .native-ad-thumb { width: 100px; }
.native-ad.in-grid .native-ad-body h4 { font-size: 13px; }
@media (max-width: 768px) {
    .native-ad.in-grid { grid-column: span 2; }
}

/* ==========================================================================
   SCROLL-TO-TOP floating button (MHM search page mintára)
   ========================================================================== */
.mhm-scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.2s ease;
    font-size: 22px;
    line-height: 1;
    z-index: 999;
    box-shadow: 0 2px 10px var(--shadow-strong);
}
.mhm-scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.mhm-scroll-top:hover { transform: translateY(-2px); }

/* ==========================================================================
   READ MORE / LESS (MHM-mintára)
   - Homepage + Category SEO description: MIND desktop, MIND mobile collapsed + toggle
   - Video page "About this scene" (.video-seo): desktop always-open (no toggle),
     mobile collapsed + toggle (MHM `.video-page-wrapper .cl-seo-text` szabály)
   ========================================================================== */
.read-more-content {
    overflow: hidden;
    transition: max-height 0.4s ease;
    position: relative;
}
.read-more-content > p:last-of-type { margin-bottom: 0; }
.seo-fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2.6em;
    background: linear-gradient(to bottom, transparent, var(--card-white) 92%);
    pointer-events: none;
}
.read-more-toggle {
    display: block;
    margin: 12px auto 0;
    background: transparent;
    border: 0;
    color: var(--accent-red);
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 12px;
    border-radius: 4px;
}
.read-more-toggle:hover { color: var(--accent-red-hover); }
.read-more-toggle::after {
    content: " ▼";
    font-size: 10px;
    margin-left: 4px;
}
.read-more-toggle.expanded::after { content: " ▲"; }

/* ALAP: minden Read More content collapsed → ~3 sor magasság, fade aktív, toggle látható.
   Ez minden viewport-on igaz a homepage és category SEO description-en. */
.read-more-content.collapsed {
    max-height: 5em;
}
.read-more-content:not(.collapsed) {
    max-height: none;
}
.read-more-content:not(.collapsed) .seo-fade {
    display: none;
}

/* All Categories Read More: collapsed-ben ~3-4 sor pill latszik (user keres 2026-06-07) */
.all-categories .read-more-content.collapsed { max-height: 8em; }

/* KIVÉTEL: a video oldali "About this scene" (.video-seo) — DESKTOP ≥768px-en
   always-open, no toggle, no fade (mint MHM .video-page-wrapper .cl-seo-text). */
@media (min-width: 768px) {
    .video-seo .read-more-content {
        max-height: none !important;
        overflow: visible !important;
    }
    .video-seo .seo-fade { display: none !important; }
    .video-seo .read-more-toggle { display: none !important; }
}

/* ==========================================================================
   BREADCRUMB (category + video page-en)
   ========================================================================== */
.breadcrumb {
    background-color: var(--card-white);
    padding: 12px 0 0;
    font-size: 12px;
    color: var(--text-secondary);
}
.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin: 0;
    padding: 0;
}
.breadcrumb li { display: inline-flex; align-items: center; }
.breadcrumb li + li::before {
    content: "›";
    margin-right: 6px;
    color: var(--text-tertiary);
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--bg-dark); opacity: 1; }
.breadcrumb .current { color: var(--bg-dark); font-weight: 500; }

/* ==========================================================================
   VIDEO PAGE — közös info-oszlop (820px middle, VG/MHM mintára)
   A breadcrumb, player, meta, tags, ad, SEO mind ide kerül.
   A "Related videos" grid KÍVÜL marad — teljes 1200px szélességig stretchel.
   ========================================================================== */
.video-column {
    max-width: 820px;
    margin: 0 auto;
}

/* Video player (a video-column-on belül) */
.video-player-wrapper {
    background: #000;
    margin: 14px 0 0;          /* a parent column már középre rakja */
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 16px 2px rgba(0, 0, 0, 0.18);
}
.video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: radial-gradient(ellipse at center, #2a1a1a 0%, #0d0707 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.video-player .play-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 236, 0, 0.9);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    line-height: 1;
    padding-left: 6px;
    cursor: pointer;
    box-shadow: 0 0 0 8px rgba(255, 236, 0, 0.15);
    transition: all 0.2s ease;
}
.video-player .play-circle:hover { transform: scale(1.05); }
.video-player .player-label {
    position: absolute;
    top: 10px;
    left: 12px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}
.video-player .player-duration {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(0, 0, 0, 0.72);
    color: var(--card-white);
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

/* Video meta block (under player) */
.video-meta-box {
    background: var(--card-white);
    padding: 14px 0 18px;
    border-bottom: 1px solid var(--border-light);
}
.video-meta-box h1 {
    font-size: 22px;
    font-weight: 500;
    color: var(--bg-dark);
    line-height: 1.3;
    margin: 0 0 10px;
}
.video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    color: var(--text-secondary);
    font-size: 13px;
}
.video-stats .stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.video-stats .stat strong { color: var(--bg-dark); font-weight: 500; }
.video-stats .rating { color: var(--accent-red); font-weight: 500; }

/* Video action buttons */
.video-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}
.video-actions button, .video-actions a {
    background: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-light);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.video-actions button:hover, .video-actions a:hover {
    background: var(--card-white);
    border-color: var(--bg-dark);
    color: var(--bg-dark);
    opacity: 1;
}
.video-actions .primary {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}
.video-actions .primary:hover { background: var(--accent-red-hover); border-color: var(--accent-red-hover); color: white; }

/* Tag chips under video meta */
.video-tags {
    background: var(--card-white);
    padding: 14px 0 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.video-tags-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-right: 6px;
}
.video-tags a {
    background: var(--bg-light);
    color: var(--text-dark);
    padding: 5px 11px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 400;
    transition: all 0.2s ease;
    text-transform: capitalize;
}
.video-tags a:hover { background: var(--card-white); color: var(--bg-dark); opacity: 1; box-shadow: 0 0 0 1px var(--border-medium); }

@media (max-width: 768px) {
    .video-player .play-circle { width: 60px; height: 60px; font-size: 28px; }
    .video-meta-box h1 { font-size: 17px; }
    .video-stats { font-size: 12px; gap: 4px 12px; }
    .video-actions button, .video-actions a { font-size: 11px; padding: 5px 10px; }
    .video-tags-label { font-size: 12px; }
    .video-tags a { font-size: 11px; padding: 4px 9px; }
}

/* ==========================================================================
   SEARCH HEADER (search results page)
   ========================================================================== */
.search-header {
    background-color: var(--card-white);
    padding: 18px 0 6px;
}
.search-header h1 {
    font-size: 22px;
    font-weight: 500;
    color: var(--bg-dark);
    margin: 0 0 4px;
}
.search-header h1 .query {
    color: var(--accent-red);
    font-weight: 500;
}
.search-result-count {
    color: var(--text-secondary);
    font-size: 13px;
    padding-bottom: 14px;
}

/* Inline search refinement bar (on search page) */
.search-refinement {
    background-color: var(--card-white);
    padding: 0 0 18px;
}
.search-refinement form {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 1px solid var(--border-medium);
    border-radius: 100px;
    padding: 4px 4px 4px 14px;
    max-width: 520px;
}
.search-refinement input {
    flex: 1;
    background: transparent;
    border: 0;
    padding: 6px 6px;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    color: var(--bg-dark);
    width: 100%;
    min-width: 0;
}
.search-refinement input::placeholder { color: var(--text-tertiary); }
.search-refinement button {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    border: 0;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}
.search-refinement button:hover { background: var(--accent-yellow-hover); }

/* Empty state (no results) */
.search-empty {
    background-color: var(--card-white);
    padding: 30px 20px 30px;
    text-align: center;
    color: var(--text-secondary);
}
.search-empty h2 {
    font-size: 18px;
    color: var(--bg-dark);
    font-weight: 500;
    margin-bottom: 6px;
}
.search-empty p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.search-empty .suggestion {
    color: var(--accent-red);
    font-weight: 500;
}

/* Popular searches list (under search results) */
.popular-searches {
    background: var(--card-white);
    padding: 18px 0 25px;
}
.popular-searches-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .search-header h1 { font-size: 17px; }
    .search-result-count { font-size: 12px; padding-bottom: 10px; }
    .search-refinement input { font-size: 13px; }
    .search-refinement button { padding: 6px 14px; font-size: 11px; }
    .search-empty { padding: 24px 14px 24px; }
    .search-empty h2 { font-size: 16px; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    width: 100%;
    background-color: var(--bg-dark);
    color: var(--text-tertiary);
    margin-top: 20px;
}
.footer-inner { padding: 24px 0 18px; text-align: center; }
.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-bottom: 14px;
}
.footer-nav a {
    color: var(--text-tertiary);
    font-size: 12px;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.footer-nav a:hover { color: var(--accent-yellow); opacity: 1; }
.footer-disclaimer {
    color: var(--text-tertiary);
    font-size: 11px;
    line-height: 1.5;
    max-width: 760px;
    margin: 0 auto 12px;
}
.footer-copy {
    color: var(--text-tertiary);
    font-size: 11px;
    border-top: 1px solid var(--border-dark);
    padding-top: 12px;
}
.footer-copy strong { color: var(--accent-yellow); font-weight: 500; }

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MHM: 1100 / 1000 / 768 / 480)
   ========================================================================== */

/* ≤1100px — hamburger megjelenik, nav SLIDE-OUT balról */
@media (max-width: 1100px) {
    .web-container { padding: 0 20px; }

    .hamburger-btn { display: flex; order: -1; }

    /* Logo abszolút középre (oldal közepe, hamburger nem tolja el) */
    .site-title {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    /* Slide-out nav balról */
    .site-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 82%;
        max-width: 340px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        padding: 60px 18px 24px;
        box-shadow: 4px 0 18px var(--shadow-strong);
        transition: left 0.3s ease;
        z-index: 300;
        overflow-y: auto;
    }
    .site-nav.active { left: 0; }

    .nav-list {
        flex-direction: column;
        gap: 4px;
        width: 100%;
    }
    .nav-list li { width: 100%; }
    .nav-list a {
        width: 100%;
        padding: 12px 16px;
        border-radius: 8px;
        background-color: transparent;
        border: 1px solid var(--border-dark);
        font-size: 14px;
    }
    .nav-list a svg { width: 18px; height: 18px; }
    /* Hover: csak text + border sárgára, háttér marad sötét */
    .nav-list a:hover {
        background-color: transparent;
        color: var(--accent-yellow);
        border-color: var(--text-dark);
    }
    /* Aktív: sárga háttér */
    .nav-list .active a {
        background-color: var(--accent-yellow);
        color: var(--bg-dark);
        border-color: var(--accent-yellow);
    }

    /* Search még a slide-out alján a desktop ↔ 768 zónában */
    .search-form {
        margin: 16px 0 0;
        max-width: 100%;
        background: var(--surface-dark-2);
    }
    .search-form input { color: white; }

    .site-header { gap: 12px; min-height: 56px; }
}

/* ≤1000 — 4 → 3 oszlop */
@media (max-width: 1000px) {
    .thumbs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; }
    .section-title, .sub-title { margin-top: 12px; margin-bottom: 0; padding: 8px 20px; }
}

/* ≤768 — search a logo ALÁ kerül, 3 → 2 oszlop, kisebb tipo */
@media (max-width: 768px) {
    .web-container { padding: 0 10px; }
    .site-title .logo-svg { height: 24px; }

    /* MOBILE SEARCH ROW megjelenik */
    .mobile-search-row { display: block; }

    /* A slide-out NAV-on belül a search form ELREJTVE
       (mert a mobile-search-row már megjeleníti a logo alatt) */
    .site-nav .search-form { display: none; }

    /* Grid */
    .head-links-inner { padding-top: 8px; padding-bottom: 8px; }
    .head-links-inner a { font-size: 11px; padding: 5px 10px; }
    .page-title { padding: 12px 0 4px; }
    .page-title h1 { font-size: 18px; }
    .page-intro { font-size: 12px; line-height: 1.4; padding-bottom: 12px; }
    .section-title, .sub-title { font-size: 15px; padding: 8px 14px; margin-top: 10px; margin-bottom: 0; }
    .thumbs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 8px;
        padding: 12px 0 18px;
    }
    .thumb-info { padding: 6px 8px 8px; }
    .thumb-info h3 { font-size: 12px; line-height: 1.3; }
    .thumb-info.category-info h3 { font-size: 12px; }
    .thumb-img.is-category .cat-label { font-size: 16px; }
    .thumb-img.is-video::before { font-size: 28px; }
    .video-meta { font-size: 10px; }
    .native-ad-inner { grid-template-columns: 100px 1fr; gap: 10px; }
    .native-ad-thumb { width: 100px; }
    .native-ad-body h4 { font-size: 13px; }
    .all-categories { padding: 12px 0 18px; }
    .all-categories-list a { font-size: 11px; padding: 5px 10px; }
    .seo-description { padding: 18px 0 20px; }
    .seo-description h2 { font-size: 16px; }
    .seo-description h3 { font-size: 14px; }
    .seo-description p { font-size: 13px; line-height: 1.5; }
    .footer-inner { padding: 18px 0 14px; }
    .footer-nav a { font-size: 11px; }
}

/* ≤480 — kisebb tipo, kisebb gap */
@media (max-width: 480px) {
    .site-title .logo-svg { height: 20px; }
    .thumbs-grid { gap: 8px 6px; }
    .thumb-info h3 { font-size: 11px; }
    .thumb-info.category-info h3 { font-size: 11px; }
    .thumb-info { padding: 5px 7px 7px; }
    .thumb-img .badge { font-size: 10px; padding: 1px 5px; }
    .thumb-img .tag { font-size: 9px; padding: 2px 5px; }
    .pagination a, .pagination span { min-width: 30px; height: 30px; font-size: 12px; padding: 0 8px; }
    .all-categories-list { gap: 5px 6px; }
}
