/*
Theme Name: Uberkonzol
Author: Antigravity
Description: Prémium gamer / konzol blog téma. Sötét, szögletes, tech-orientált dizájn Chakra Petch + Barlow fontokkal, piros akcentussal.
Version: 1.0.1
License: GNU General Public License v2 or later
Text Domain: uberkonzol
*/

/* ===================================================
   RESET & BASE
   =================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --dark:     #080808;
    --surface:  #111111;
    --surface2: #1a1a1a;
    --surface3: #222222;
    --red:      #FDC415;
    --red-dim:  rgba(253,196,21,.12);
    --white:    #ffffff;
    --muted:    #a0a0a0;
    --dim:      #555555;
    --primary:  #FDC415;
    --border:   #222222;
    --container: 1440px;
}

html { scroll-behavior: smooth; }

body {
    background: var(--dark);
    color: var(--white);
    font-family: 'Barlow', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ===================================================
   TYPOGRAPHY
   =================================================== */
h1, h2, h3, h4 {
    font-family: 'Chakra Petch', sans-serif;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
}

/* ===================================================
   LAYOUT
   =================================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 60px;
}

/* ===================================================
   SCROLLBAR
   =================================================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); }

/* ===================================================
   SECTION LABEL
   =================================================== */
.section-label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .35em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.section-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 1px;
    background: var(--red);
    flex-shrink: 0;
}

/* ===================================================
   NAV
   =================================================== */
#site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background .3s, backdrop-filter .3s, padding .3s;
}
#site-header.scrolled {
    background: rgba(8,8,8,.92);
    backdrop-filter: blur(20px);
    padding: 14px 60px;
    border-bottom: 1px solid rgba(226,35,26,.15);
}
.site-logo {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--white);
    text-transform: uppercase;
}
.site-logo span { color: var(--red); }

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,.75);
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color .2s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--red);
    transition: width .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-mobile-btn span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    transition: all .3s;
}

/* ===================================================
   HERO CAROUSEL
   =================================================== */
#hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity .8s ease;
    pointer-events: none;
}
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.12); }
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(8,8,8,.95) 0%, rgba(8,8,8,.6) 50%, rgba(8,8,8,.85) 100%);
}
.hero-slide-overlay2 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(8,8,8,.9) 40%, transparent 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 60px;
    padding-top: 80px;
    width: 100%;
}
.hero-cat {
    display: inline-block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .35em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-cat::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--red);
}
.hero-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
    max-width: 700px;
}
.hero-excerpt {
    font-size: 17px;
    font-weight: 300;
    color: rgba(255,255,255,.65);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.65;
}
.hero-btn {
    display: inline-block;
    background: var(--red);
    color: var(--dark);
    padding: 16px 36px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 2px solid var(--red);
    transition: all .2s;
}
.hero-btn:hover {
    background: transparent;
    color: var(--red);
}
/* carousel dots */
.hero-dots {
    position: absolute;
    bottom: 36px;
    left: 60px;
    z-index: 3;
    display: flex;
    gap: 12px;
    align-items: center;
}
.hero-dot {
    width: 24px; height: 2px;
    background: rgba(255,255,255,.3);
    cursor: pointer;
    transition: background .3s, width .3s;
    border: none;
}
.hero-dot.active {
    background: var(--red);
    width: 48px;
}
/* scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 40px; right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: .45;
    z-index: 3;
}
.scroll-hint span {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    letter-spacing: .25em;
    color: var(--white);
    text-transform: uppercase;
    writing-mode: vertical-rl;
}
.scroll-line {
    width: 1px; height: 50px;
    background: var(--white);
    transform-origin: top;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: .3; transform: scaleY(.5); }
    50%       { opacity: 1;  transform: scaleY(1); }
}

/* ===================================================
   AKTUÁLIS — hover thumbnail list
   =================================================== */
#aktualis {
    padding: 120px 0;
    background: var(--dark);
}
.aktualis-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.aktualis-preview {
    position: sticky;
    top: 120px;
}
.aktualis-img-wrap {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--surface2);
}
.aktualis-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .5s ease;
}
.aktualis-img-wrap img.visible { opacity: 1; }

.aktualis-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 40px;
}
.aktualis-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 20px;
    align-items: start;
    padding: 28px 0;
    border-top: 1px solid var(--surface3);
    cursor: pointer;
    transition: all .25s;
    text-decoration: none;
    color: inherit;
}
.aktualis-item:last-child { border-bottom: 1px solid var(--surface3); }
.aktualis-item:hover { background: var(--red-dim); padding-left: 12px; }
.aktualis-num {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: rgba(255,255,255,.12);
    line-height: 1;
    margin-top: 4px;
    transition: color .25s;
}
.aktualis-item:hover .aktualis-num,
.aktualis-item.active .aktualis-num { color: var(--red); }
.aktualis-cat {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .25em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.aktualis-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--white);
    line-height: 1.1;
    transition: color .25s;
}
.aktualis-item:hover .aktualis-title { color: rgba(255,255,255,.8); }
.aktualis-arrow {
    margin-top: 8px;
    font-size: 13px;
    color: var(--red);
    opacity: 0;
    transition: opacity .25s;
}
.aktualis-item:hover .aktualis-arrow { opacity: 1; }

/* ===================================================
   CATEGORY FILTER + 3 POSTS
   =================================================== */
#cat-filter {
    padding: 120px 0;
    background: var(--surface);
    position: relative;
}
#cat-filter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(226,35,26,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226,35,26,.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.cat-filter-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}
.cat-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.cat-tab {
    padding: 10px 24px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    background: transparent;
    color: var(--muted);
    border: 1px solid var(--surface3);
    cursor: pointer;
    transition: all .2s;
}
.cat-tab.active, .cat-tab:hover {
    background: var(--red);
    color: var(--dark);
    border-color: var(--red);
}
.cat-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 40px;
}
.cat-posts-group { display: none; }
.cat-posts-group.active { display: contents; }

/* card used in cat-filter */
.post-card {
    background: var(--surface2);
    overflow: hidden;
    position: relative;
}
.post-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.post-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 24px; }
.post-card-cat {
    display: inline-block;
    background: var(--red);
    color: var(--dark);
    padding: 3px 10px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.post-card-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 10px;
    transition: color .2s;
}
.post-card:hover .post-card-title { color: rgba(255,255,255,.75); }
.post-card-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .15em;
    color: var(--muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color .2s;
}
.post-card-link::after { content: '→'; transition: transform .2s; }
.post-card:hover .post-card-link { color: var(--red); }
.post-card:hover .post-card-link::after { transform: translateX(4px); }

.cat-all-btn {
    display: block;
    width: fit-content;
    margin: 0 auto;
    padding: 14px 40px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,.3);
    color: var(--white);
    transition: all .2s;
}
.cat-all-btn:hover { border-color: var(--red); color: var(--red); }

/* ===================================================
   6 TILE POSTS (csempe rács)
   =================================================== */
#tile-posts {
    padding: 120px 0;
    background: var(--dark);
}
.tile-posts-head {
    margin-bottom: 60px;
}
.tile-posts-head h2 {
    font-size: clamp(36px, 4.5vw, 64px);
    color: var(--white);
}
.tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
/* post-card reused */

/* ===================================================
   5 TEXT-ONLY POSTS
   =================================================== */
#text-posts {
    padding: 120px 0;
    background: var(--surface);
}
.text-posts-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
@media (min-width: 901px) {
    .text-posts-left { position: sticky; top: 120px; }
}
.text-posts-left h2 {
    font-size: clamp(36px, 4vw, 60px);
    color: var(--white);
    margin-bottom: 12px;
}
.text-posts-left p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 380px;
}
.text-post-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.text-post-item {
    padding: 28px 0;
    border-top: 1px solid var(--surface3);
    display: block;
    transition: background .2s, padding-left .2s;
    color: inherit;
}
.text-post-item:last-child { border-bottom: 1px solid var(--surface3); }
.text-post-item:hover { padding-left: 8px; }
.text-post-cat {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .25em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.text-post-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 10px;
    transition: color .2s;
}
.text-post-item:hover .text-post-title { color: rgba(255,255,255,.75); }
.text-post-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}
.text-post-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .15em;
    color: var(--red);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .45s ease, transform .45s ease;
}
.text-post-item:hover .text-post-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================================
   FEATURED + 3 POSTS (news-style layout)
   =================================================== */
#more-posts {
    padding: 120px 0;
    background: #0a0a0a;
}
.more-posts-head {
    margin-bottom: 60px;
}
.more-posts-head h2 {
    font-size: clamp(36px, 4.5vw, 64px);
    color: var(--white);
}
/* Featured row: big image left + text right */
.more-featured {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 4px;
    margin-bottom: 4px;
}
.more-feat-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}
.more-feat-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.more-featured:hover .more-feat-img img { transform: scale(1.03); }
.more-feat-img::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(8,8,8,.65) 0%, transparent 60%);
}
.more-feat-body {
    background: var(--surface);
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.more-feat-cat {
    display: inline-block;
    background: var(--red);
    color: var(--dark);
    padding: 4px 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 20px;
    width: fit-content;
}
.more-feat-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 16px;
    transition: color .2s;
}
.more-featured:hover .more-feat-title { color: rgba(255,255,255,.8); }
.more-feat-excerpt {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 24px;
}
.more-feat-link {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: .15em;
    color: var(--red);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap .2s;
}
.more-feat-link:hover { gap: 14px; }

/* 3-column bottom grid */
.more-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

/* ===================================================
   ARCHIVE PAGE
   =================================================== */
#archive-wrap {
    padding: 120px 0;
    background: var(--dark);
    min-height: 80vh;
}
.archive-head {
    margin-bottom: 60px;
    padding-top: 60px;
}
.archive-head h1 {
    font-size: clamp(42px, 5vw, 72px);
    color: var(--white);
}
.archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 60px;
}

/* ===================================================
   SINGLE POST
   =================================================== */
#single-wrap {
    padding-top: 120px;
    background: var(--dark);
    min-height: 100vh;
}
.single-hero {
    width: 100%;
    aspect-ratio: 16/6;
    overflow: hidden;
    position: relative;
}
.single-hero img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.7);
}
.single-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--dark), transparent);
}
.single-header {
    padding: 60px 60px 0;
}
.single-cat {
    display: inline-block;
    background: var(--red);
    color: var(--dark);
    padding: 4px 12px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.single-title {
    font-size: clamp(28px, 3.5vw, 52px);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.05;
}
.single-excerpt {
    font-size: 17px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
    border-left: 3px solid var(--red);
    padding-left: 20px;
    margin-bottom: 0;
}

/* 2-column layout: article + sidebar */
.single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    align-items: start;
    padding-top: 40px;
    padding-bottom: 80px;
}
.single-content {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
}
.single-content h2,
.single-content h3,
.single-content h4 {
    color: var(--white);
    margin: 48px 0 16px;
    font-size: clamp(20px, 2.2vw, 30px);
}
.single-content p { margin-bottom: 24px; }
.single-content img { width: 100%; margin: 32px 0; }
.single-content a { color: var(--red); text-decoration: underline; }

/* Sidebar */
.single-sidebar { }
.sidebar-sticky {
    position: sticky;
    top: 120px;
}
.sidebar-label {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .3em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.sidebar-label::before {
    content: '';
    width: 24px; height: 1px;
    background: var(--red);
}
.sidebar-card {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--surface3);
    text-decoration: none;
    color: inherit;
    transition: background .2s;
}
.sidebar-card:last-of-type { border-bottom: 1px solid var(--surface3); }
.sidebar-card:hover { background: var(--red-dim); padding-left: 6px; }
.sidebar-card-img {
    width: 96px;
    aspect-ratio: 4/3;
    overflow: hidden;
    flex-shrink: 0;
}
.sidebar-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.sidebar-card:hover .sidebar-card-img img { transform: scale(1.05); }
.sidebar-card-cat {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--red);
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}
.sidebar-card-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 6px;
    transition: color .2s;
}
.sidebar-card:hover .sidebar-card-title { color: rgba(255,255,255,.75); }
.sidebar-card-excerpt {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
}

/* ===================================================
   PAGE (static)
   =================================================== */
#page-wrap {
    padding: 140px 0 100px;
    background: var(--dark);
    min-height: 100vh;
}
.page-header {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--surface3);
    padding-bottom: 40px;
}
.page-title {
    font-size: clamp(36px, 5vw, 72px);
    color: var(--white);
}
.page-content {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,.8);
    max-width: 860px;
}
.page-content h2, .page-content h3 { color: var(--white); margin: 40px 0 16px; }
.page-content p { margin-bottom: 20px; }
.page-content a { color: var(--red); }
.page-content img { width: 100%; margin: 24px 0; }

/* ===================================================
   404
   =================================================== */
#error-wrap {
    min-height: 100vh;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px;
}
.error-inner { max-width: 600px; }
.error-num {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(120px, 20vw, 220px);
    font-weight: 700;
    color: rgba(226,35,26,.15);
    line-height: 1;
    letter-spacing: .05em;
}
.error-msg {
    font-family: 'Chakra Petch', sans-serif;
    font-size: clamp(24px, 4vw, 48px);
    font-weight: 700;
    text-transform: uppercase;
    color: var(--white);
    margin-top: -40px;
    margin-bottom: 20px;
}
.error-sub { font-size: 16px; color: var(--muted); margin-bottom: 40px; }
.btn-red {
    display: inline-block;
    background: var(--red);
    color: var(--dark);
    padding: 14px 36px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 2px solid var(--red);
    transition: all .2s;
}
.btn-red:hover { background: transparent; color: var(--red); }

/* ===================================================
   FOOTER
   =================================================== */
#site-footer {
    background: #050505;
    border-top: 1px solid var(--surface3);
    padding: 60px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}
.footer-brand-name {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-brand-name span { color: var(--red); }
.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    color: var(--muted);
}
.footer-col h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .25em;
    color: var(--dim);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    font-size: 14px;
    color: var(--muted);
    transition: color .2s;
    letter-spacing: .02em;
}
.footer-col a:hover { color: var(--red); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--surface3);
}
.footer-copy {
    font-size: 12px;
    color: var(--dim);
    letter-spacing: .05em;
}
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
    font-size: 12px;
    color: var(--dim);
    letter-spacing: .05em;
    transition: color .2s;
}
.footer-legal a:hover { color: var(--red); }

/* ===================================================
   ARCHIVE PREV/NEXT
   =================================================== */
.archive-prevnext {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 16px;
}
.archive-prevnext a {
    display: inline-block;
    padding: 12px 28px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1px solid var(--surface3);
    color: var(--muted);
    background: var(--surface);
    transition: border-color .2s, color .2s;
}
.archive-prevnext a:hover { border-color: var(--red); color: var(--red); }

/* ===================================================
   PAGINATION
   =================================================== */
.pagination-wrap {
    margin: 60px 0 0;
    text-align: center;
}
.pagination {
    display: inline-flex;
    gap: 4px;
    flex-wrap: wrap;
}
.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 1px solid var(--surface3);
    color: var(--muted);
    background: var(--surface);
    transition: all .2s;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .current { background: var(--red); color: var(--dark); border-color: var(--red); }

/* ===================================================
   REVEAL ANIMATION
   =================================================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================================================
   MOBILE NAV OVERLAY (body-szintű, header stacking context-en kívül)
   =================================================== */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8,8,8,.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-overlay .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    list-style: none;
    padding: 0;
}
.mobile-nav-overlay .nav-links a {
    font-size: 22px;
    color: rgba(255,255,255,.85);
    letter-spacing: .08em;
}
.mobile-nav-overlay .nav-links a:hover { color: var(--red); }

/* Hamburger → X */
.nav-mobile-btn span { transition: all .3s ease; }
.nav-mobile-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-mobile-btn.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-mobile-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===================================================
   MOBILE NAV
   =================================================== */
@media (max-width: 900px) {
    #site-header { padding: 16px 24px; }
    #site-header.scrolled { padding: 12px 24px; }
    .nav-links { display: none !important; } /* headerben rejtve mobilon, overlay veszi át */
    .nav-mobile-btn { display: flex; z-index: 2001; }

    .container { padding: 0 24px; }
    .hero-content { padding: 0 24px; padding-top: 80px; }
    .hero-dots { left: 24px; }
    .scroll-hint { display: none; }

    .aktualis-inner { grid-template-columns: 1fr; gap: 40px; }
    .aktualis-preview { display: none; }

    .cat-posts-grid,
    .tile-grid,
    .more-grid,
    .more-featured,
    .archive-grid { grid-template-columns: 1fr; }
    .more-feat-body { padding: 28px; }
    .related-grid { grid-template-columns: 1fr; }

    .text-posts-inner { grid-template-columns: 1fr; gap: 40px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

    .single-header { padding: 32px 24px 0; }
    .single-layout { grid-template-columns: 1fr; gap: 40px; padding: 32px 24px 60px; }
    .sidebar-sticky { position: static; }
    .single-hero { aspect-ratio: 16/9; }

    .hero-title { font-size: clamp(38px, 8vw, 64px); }

    #tile-posts, #text-posts, #more-posts, #cat-filter, #aktualis { padding: 80px 0; }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .cat-filter-tabs { display: none; }
}

/* ===================================================
   GDPR COOKIE COMPLIANCE — button override
   =================================================== */
#cookie-notice-accept-button,
.cn-button,
.cli-plugin-button,
.moove-gdpr-infobar-allow-btn,
.cmplz-btn,
.cc-btn {
    border-radius: 0 !important;
}
