/*
Theme Name:  Planetlens
Author:      Digital Footprint
Description: A planetlens.hu tipográfiai magazintémája – fehér alap, fekete betűk, neon kiemelés és kétszínű (duotone) képek. Óriás függőleges logó és kollázs a címlapon, „Legfrissebb” oszlop, rovatlista, rovatblokkok, képes kiemelés. A kiemelőszín, a duotone hatás és a feliratok a Testreszabóban állíthatók.
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License:     GNU General Public License v2 or later
Text Domain: planetlens
*/

/* ═══════════════════════════════════════════════════════════════
   1. Változók és alapok
   ═══════════════════════════════════════════════════════════════ */
:root {
    --paper: #ffffff;
    --ink:   #000000;
    --ink2:  #111111;
    --grey:  #555555;
    --grey2: #696969;
    --line:  #dddddd;
    --soft:  #f4f4f1;
    --neon:  #dcff1e;   /* a Testreszabóban felülírható */
    --blue:  #2440ff;

    --black: 'Archivo Black', 'Arial Black', Impact, sans-serif;
    --slab:  'Zilla Slab', 'Rockwell', Georgia, serif;
    --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
    --mono:  'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

    --wrap: 1200px;
    --pad:  clamp(18px, 3vw, 36px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 130px; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 18px/1.55 var(--serif);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; color: var(--ink); }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--neon); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 500; padding: 10px 16px; background: var(--ink); color: var(--paper); font: 500 14px var(--mono); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Feliratok */
.kicker {
    display: inline-block;
    font: italic 400 12.5px/1.4 var(--mono);
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink);
}
.kicker:hover { background: var(--neon); }
.kicker--blue { color: var(--blue); font-size: 11px; letter-spacing: .14em; }

.rubric {
    display: inline-block;
    font: 700 10.5px/1.4 var(--slab);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink);
}
.rubric:hover { background: var(--neon); }

.meta {
    margin: 10px 0 0;
    font: italic 400 12px/1.4 var(--mono);
    letter-spacing: .04em;
    color: var(--grey2);
}

.section-label {
    margin: 0 0 18px;
    font: 700 13px/1.3 var(--slab);
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--ink);
}
.section-label--center { display: flex; align-items: center; gap: 18px; justify-content: center; }
.section-label--center::before,
.section-label--center::after { content: ''; flex: 1; height: 1px; background: var(--ink); }

.big-title { font: 400 clamp(34px, 4vw, 46px)/1.05 var(--serif); letter-spacing: -.01em; }
.big-title a:hover { background: var(--neon); }

.more {
    font: italic 400 13px var(--mono);
    letter-spacing: .06em;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}
.more:hover { background: var(--neon); }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border: 0;
    background: transparent;
    color: var(--ink);
}
.icon-btn:hover { background: var(--neon); }

/* ═══════════════════════════════════════════════════════════════
   2. Logók
   ═══════════════════════════════════════════════════════════════ */
.brand {
    display: inline-flex;
    align-items: center;
    gap: .08em;
    font: 400 30px/1 var(--black);
    letter-spacing: -.035em;
    text-transform: uppercase;
    color: var(--ink);
}
.brand__logo { max-height: 44px; width: auto; }
.brand__lens {
    display: inline-block;
    width: .7em; height: .7em;
    margin: 0 .04em;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, var(--ink) 0 27%, var(--neon) 28% 100%);
    box-shadow: 0 0 0 .07em var(--ink);
    transition: transform .4s ease;
}
.brand:hover .brand__lens { transform: rotate(180deg) scale(1.08); }

/* Óriás függőleges logó a címlapon */
.stack-logo {
    display: flex;
    flex-direction: column;
    font: 400 clamp(70px, 7.6vw, 104px)/.84 var(--black);
    letter-spacing: -.05em;
    color: var(--ink);
}
.stack-logo span { display: block; }
.stack-logo .has-lens { position: relative; }
.stack-logo .has-lens::after {
    content: '';
    position: absolute;
    right: -.1em; top: -.32em;
    width: .44em; height: .44em;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ink) 0 27%, var(--neon) 28% 100%);
    box-shadow: 0 0 0 .05em var(--ink);
}

/* ═══════════════════════════════════════════════════════════════
   3. Fejléc
   ═══════════════════════════════════════════════════════════════ */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); transition: box-shadow .25s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--ink); }

.site-header__row {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    justify-items: center;
    height: 70px;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 9px;
    padding-bottom: 9px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--line);
}
.main-nav a {
    padding: 2px 16px;
    font: 700 12px/1.4 var(--slab);
    letter-spacing: .24em;
    text-transform: uppercase;
    border-left: 1px solid var(--line);
}
.main-nav a:first-child { border-left: 0; }
.main-nav a:hover,
.main-nav a[aria-current="page"] { background: var(--neon); }

.search-panel { padding: 16px 0; border-bottom: 1px solid var(--line); background: var(--paper); }
.search-panel .search-form { max-width: 720px; margin: 0 auto; }
.search-form { display: flex; gap: 0; }
.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--ink);
    border-right: 0;
    border-radius: 0;
    background: var(--paper);
    font: 400 17px var(--serif);
    color: var(--ink);
    outline: none;
}
.search-form input[type="search"]:focus { background: #fbffe6; }
.search-form button {
    padding: 0 18px;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    font: 700 12px var(--slab);
    letter-spacing: .2em;
    text-transform: uppercase;
}
.search-form button:hover { background: var(--neon); color: var(--ink); }
.search-form--page { max-width: 560px; margin-top: 22px; }

/* Oldalsó menü */
.drawer { position: fixed; inset: 0; z-index: 300; background: rgba(0, 0, 0, .35); }
.drawer__panel {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: min(400px, 88vw);
    padding: 70px 28px 28px;
    background: var(--paper);
    border-right: 1px solid var(--ink);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform .3s ease;
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; top: 14px; right: 14px; }
.brand--drawer { font-size: 26px; margin-bottom: 30px; }
.drawer__nav { display: flex; flex-direction: column; margin-bottom: 26px; border-top: 1px solid var(--ink); }
.drawer__nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font: 400 24px/1.2 var(--serif); }
.drawer__nav a:hover { background: var(--neon); }

/* ═══════════════════════════════════════════════════════════════
   4. Kétszínű (duotone) képek
   ═══════════════════════════════════════════════════════════════ */
.thumb-ph {
    display: block;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(135deg, transparent 0 9px, rgba(0, 0, 0, .06) 9px 18px), var(--soft);
}
.duo { position: relative; display: block; isolation: isolate; }
.has-duotone .duo { background: var(--neon); }
.has-duotone .duo img {
    filter: grayscale(1) contrast(1.2) brightness(1.06);
    mix-blend-mode: multiply;
    transition: filter .5s ease, mix-blend-mode .5s;
}
.has-duotone .duo:hover img { filter: none; mix-blend-mode: normal; }

/* ═══════════════════════════════════════════════════════════════
   5. Címlap
   ═══════════════════════════════════════════════════════════════ */
.front-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 270px;
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
    padding-top: 32px;
    padding-bottom: clamp(48px, 6vw, 80px);
}
.front-top__logo { position: sticky; top: 130px; }

/* Ha a nagy logó látszik, a fejléc logója csak görgetés után jelenik meg */
@media (min-width: 1001px) {
    .home .site-header .brand { transition: opacity .3s; }
    .home .site-header:not(.is-scrolled) .brand { opacity: 0; pointer-events: none; }
}

/* Kollázs */
.lede { min-width: 0; }
.lede__img { overflow: hidden; background: var(--soft); }
.lede__img img { width: 100%; height: 100%; object-fit: cover; }
.lede__body { position: relative; text-align: center; padding: 16px 6% 0; }
.lede__title { margin-top: 6px; font: 700 clamp(19px, 1.7vw, 22px)/1.18 var(--slab); }
.lede__title a:hover { background: var(--neon); }
.lede__text { margin: 10px 0 0; font-size: 16px; line-height: 1.45; color: var(--grey); }

.collage__main .lede__img { aspect-ratio: 3 / 2; position: relative; }
.collage__main .lede__img::after {
    content: '';
    position: absolute;
    inset: 7% 9%;
    border: 3px dashed var(--ink);
    pointer-events: none;
    z-index: 2;
}
.collage__main .lede__body { max-width: 560px; margin: 0 auto; }
.collage__main .lede__title { font-size: clamp(24px, 2.4vw, 31px); }
.collage__main .lede__text { font-size: 17px; }

.collage__pair {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(20px, 3vw, 36px);
    margin-top: clamp(36px, 4vw, 56px);
    align-items: start;
}
.collage__a .lede__img { aspect-ratio: 4 / 5; }
.collage__b { margin-top: clamp(40px, 7vw, 110px); }
.collage__b .lede__img { aspect-ratio: 3 / 2; }

/* Legfrissebb oszlop */
.latest { display: grid; grid-template-columns: 52px minmax(0, 1fr); border-top: 1px solid var(--ink); padding-top: 14px; }
.latest__title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    justify-self: start;
    align-self: start;
    font: 300 44px/1 var(--serif);
    letter-spacing: -.01em;
}
.latest__title--flat { writing-mode: horizontal-tb; transform: none; font-size: 32px; margin-bottom: 14px; }
.latest__list { list-style: none; margin: 0; padding: 0; }
.latest__list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.latest__list li:first-child { padding-top: 0; }
.latest__link { display: block; margin-top: 4px; font: 400 14px/1.4 var(--mono); }
.latest__link:hover { background: var(--neon); }

/* Számozott ajánló */
.popular { max-width: 920px; padding-top: 10px; padding-bottom: clamp(48px, 6vw, 72px); }
.popular__list { list-style: none; counter-reset: pop; margin: 0; padding: 0; }
.popular__list li {
    counter-increment: pop;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}
.popular__list li::before { content: counter(pop) '.'; font: 400 13px var(--mono); color: var(--blue); }
.popular__list a { font: 400 21px/1.3 var(--serif); }
.popular__list a:hover { background: var(--neon); }

/* Kártyasor */
.strip { padding-bottom: clamp(48px, 6vw, 72px); }
.strip__row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); padding-top: 18px; border-top: 1px solid var(--ink); }
.mini { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; }
.mini__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mini__title { margin-top: 4px; font: 400 16px/1.25 var(--serif); }
.mini__title a:hover { background: var(--neon); }

/* Rovatlista */
.cat-index { padding-bottom: clamp(48px, 6vw, 72px); }
.cat-index .big-title { padding-top: 16px; border-top: 1px solid var(--ink); margin-bottom: 18px; }
.cat-index__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.cat-index__list a {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    transition: background .15s;
}
.cat-index__list span { font: 400 21px/1.2 var(--serif); }
.cat-index__list em { font: italic 400 12px var(--mono); color: var(--grey2); }
.cat-index__list a:hover { background: var(--neon); }

/* Rovatblokk */
.cat-block { padding-bottom: clamp(48px, 6vw, 72px); }
.cat-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    margin-bottom: 26px;
    border-top: 1px solid var(--ink);
}
.cat-block--related { margin-top: clamp(32px, 5vw, 56px); }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(20px, 2.6vw, 36px); }

.card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.card__img { display: block; width: 100%; aspect-ratio: 3 / 2; margin-bottom: 14px; overflow: hidden; background: var(--soft); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.03); }
.card__title { margin-top: 6px; font: 500 22px/1.2 var(--serif); }
.card__title a:hover { background: var(--neon); }
.card__text { margin: 8px 0 0; font-size: 16px; line-height: 1.45; color: var(--grey); }

/* Képes kiemelés */
.feature { position: relative; margin-bottom: clamp(56px, 8vw, 96px); }
.feature__img { aspect-ratio: 21 / 9; max-height: 78vh; width: 100%; overflow: hidden; background: var(--soft); }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__box {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: -110px auto 0;
    padding: 30px clamp(20px, 4vw, 44px) 32px;
    background: var(--paper);
    border: 1px solid var(--ink);
    text-align: center;
}
.feature__title { margin-top: 8px; font: 700 clamp(26px, 3vw, 36px)/1.12 var(--slab); }
.feature__title a:hover { background: var(--neon); }
.feature__text { margin: 12px 0 0; color: var(--grey); }

/* ═══════════════════════════════════════════════════════════════
   6. Rovatoldal / keresés
   ═══════════════════════════════════════════════════════════════ */
.archive-head { padding-top: clamp(36px, 5vw, 56px); padding-bottom: 12px; }
.archive-head .section-label { margin-bottom: 10px; }
.archive-head__title { font: 400 clamp(44px, 6.4vw, 84px)/1 var(--serif); letter-spacing: -.02em; }
.archive-head__desc { max-width: 680px; margin-top: 14px; font-size: 19px; color: var(--grey); }
.archive-head__desc p:last-child { margin-bottom: 0; }

.rows { padding-top: 20px; padding-bottom: clamp(56px, 8vw, 96px); }
.row-card {
    display: grid;
    grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
    padding: 26px 0;
    border-top: 1px solid var(--ink);
}
.row-card__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.row-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.row-card:hover .row-card__img img { transform: scale(1.03); }
.row-card__title { margin-top: 6px; font: 400 clamp(24px, 2.6vw, 32px)/1.12 var(--serif); letter-spacing: -.01em; }
.row-card__title a:hover { background: var(--neon); }
.row-card__text { margin: 12px 0 0; max-width: 640px; font-size: 17px; color: var(--grey); }

.empty { color: var(--grey); }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.pagination .page-numbers { min-width: 40px; padding: 9px 12px; border: 1px solid var(--line); text-align: center; font: 500 13px/1 var(--mono); }
.pagination a.page-numbers:hover { background: var(--neon); border-color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.pagination .dots { border-color: transparent; }

/* ═══════════════════════════════════════════════════════════════
   7. Cikkoldal
   ═══════════════════════════════════════════════════════════════ */
.article { padding-bottom: 20px; }
.article__head { max-width: 860px; margin-top: 28px; padding-top: 14px; border-top: 2px solid var(--ink); }
.article__title { margin-top: 10px; font: 300 clamp(34px, 4.6vw, 56px)/1.06 var(--serif); letter-spacing: -.015em; }
.article__dek { margin: 16px 0 0; max-width: 720px; font: italic 400 20px/1.45 var(--serif); color: var(--grey); }
.article__head .meta { margin-top: 16px; }

.article__layout {
    display: grid;
    grid-template-columns: minmax(0, 800px) 280px;
    justify-content: space-between;
    gap: clamp(32px, 5vw, 64px);
    margin-top: 28px;
}
.article__main { min-width: 0; }
.article__img { margin: 0 0 32px; }
.article__img img { width: 100%; }
.article__img figcaption { margin-top: 8px; font: italic 400 12px/1.5 var(--mono); color: var(--grey2); }

.article__side { position: sticky; top: 130px; align-self: start; padding-left: 24px; border-left: 1px solid var(--line); }

.entry-content { max-width: 660px; font: 400 19px/1.62 var(--serif); color: var(--ink2); }
.entry-content > * { margin-top: 0; margin-bottom: 1.2em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { font-family: var(--slab); font-weight: 700; line-height: 1.2; margin: 1.7em 0 .5em; }
.entry-content h2 { font-size: clamp(24px, 2.6vw, 28px); }
.entry-content h3 { font-size: clamp(20px, 2.2vw, 23px); }
.entry-content h4 { font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.entry-content ul,
.entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
    margin: 1.8em 0;
    padding: 22px 0;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    text-align: center;
    font: italic 300 clamp(22px, 2.6vw, 28px)/1.35 var(--serif);
    color: var(--ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { width: 100%; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: 8px; font: italic 400 12px/1.5 var(--mono); color: var(--grey2); }
.entry-content hr { border: 0; border-top: 1px solid var(--ink); margin: 2.2em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th,
.entry-content td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font: 700 11px var(--slab); letter-spacing: .2em; text-transform: uppercase; }

/* Szövegközi hivatkozások: aláhúzás + halvány neon kiemelő */
.entry-content a:not(.wp-block-button__link):not(:has(img)) {
    font-weight: 500;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    background-image: linear-gradient(transparent 62%, var(--neon) 62%);
    transition: background-size .2s;
}
.entry-content a:not(.wp-block-button__link):not(:has(img)):hover { background-image: linear-gradient(var(--neon), var(--neon)); }

/* Beágyazott videók teljes hasábszélességben */
.entry-content .wp-block-embed,
.entry-content .wp-block-video { width: 100%; max-width: 100%; }
.entry-content .wp-block-embed__wrapper { width: 100%; }
.entry-content iframe[src*="youtube"],
.entry-content iframe[src*="youtu.be"],
.entry-content iframe[src*="vimeo"],
.entry-content .wp-block-embed.is-type-video iframe,
.entry-content video {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: 0;
}

.entry-content .wp-block-button__link {
    background: var(--ink);
    color: var(--paper);
    border-radius: 0;
    font: 700 12px var(--slab);
    letter-spacing: .2em;
    text-transform: uppercase;
    padding: 14px 22px;
}
.entry-content .wp-block-button__link:hover { background: var(--neon); color: var(--ink); }

.article__tags { display: flex; flex-wrap: wrap; gap: 6px 18px; max-width: 660px; margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--line); }

.article--page .article__head { margin-left: auto; margin-right: auto; max-width: 760px; }
.article--page .entry-content { max-width: 760px; margin: 32px auto clamp(56px, 8vw, 96px); }

/* 404 */
.not-found { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.not-found__code { display: flex; align-items: center; margin: 0 0 10px; font: 400 clamp(110px, 18vw, 200px)/.9 var(--black); letter-spacing: -.05em; }
.not-found__code .brand__lens { width: .72em; height: .72em; margin: 0 .04em; }
.not-found__text { max-width: 560px; margin-top: 14px; color: var(--grey); }
.not-found .cat-index__list { margin-top: 36px; border-top: 1px solid var(--ink); }

/* ═══════════════════════════════════════════════════════════════
   8. Lábléc
   ═══════════════════════════════════════════════════════════════ */
.site-footer { margin-top: 0; padding: clamp(48px, 6vw, 72px) 0 28px; background: var(--ink); color: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: 40px; }
.brand--footer { color: var(--paper); font-size: clamp(34px, 4vw, 52px); }
.brand--footer .brand__lens { box-shadow: 0 0 0 .07em var(--paper); }
.footer-brand p { max-width: 42ch; margin: 18px 0 0; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.site-footer .section-label { color: var(--neon); }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { align-self: flex-start; font: 400 18px/1.3 var(--serif); color: rgba(255, 255, 255, .85); }
.footer-col a:hover { color: var(--ink); background: var(--neon); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .25);
    font: italic 400 12px var(--mono);
    color: rgba(255, 255, 255, .6);
}
.to-top:hover { color: var(--neon); }

/* ═══════════════════════════════════════════════════════════════
   9. Reszponzív
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .front-top { grid-template-columns: auto minmax(0, 1fr) 240px; }
    .strip__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
    .front-top { grid-template-columns: 1fr; }
    .front-top__logo { display: none; }
    .latest { grid-template-columns: 1fr; }
    .latest__title { writing-mode: horizontal-tb; transform: none; font-size: 34px; margin-bottom: 14px; }
    .latest__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
    .latest__list li:first-child { padding-top: 12px; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article__layout { grid-template-columns: 1fr; }
    .article__side { position: static; padding-left: 0; border-left: 0; border-top: 1px solid var(--ink); padding-top: 18px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
    body { font-size: 17px; }
    .brand { font-size: 24px; }
    .main-nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav a { white-space: nowrap; }
    .collage__pair { grid-template-columns: 1fr; }
    .collage__b { margin-top: 0; }
    .collage__a .lede__img { aspect-ratio: 3 / 2; }
    .latest__list,
    .grid,
    .strip__row,
    .cat-index__list { grid-template-columns: 1fr; }
    .row-card { grid-template-columns: 1fr; }
    .feature__img { aspect-ratio: 4 / 3; }
    .feature__box { margin: -50px 14px 0; }
    .entry-content { font-size: 18px; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
