/*
Theme Name:  Húsmentes Hétfő
Author:      Digital Footprint
Description: A husmenteshetfo.hu magazintémája – krémszínű alap, mélyzöld (petróleum) tipográfia, friss zöld és barack kiemelés, Fraunces címek. Teljes szélességű nyitókép, rovatblokk, számozott válogatás, oldalsáv, cikkenként automatikus tartalomjegyzék. A sávok és gombok szövegei 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: husmenteshetfo
*/

/* ═══════════════════════════════════════════════════════════════
   1. Változók és alapok
   ═══════════════════════════════════════════════════════════════ */
:root {
    --ink:        #0a4a4a;
    --ink-soft:   rgba(10, 74, 74, .72);
    --muted:      #5a6b6b;
    --faint:      #8a9696;
    --green:      #29a579;
    --green-deep: #147d77;
    --warm:       #e59875;
    --peach:      #f8decd;
    --cream:      #fdf6f0;
    --cream-deep: #f8ebde;
    --line:       rgba(10, 74, 74, .16);
    --white:      #ffffff;

    --display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --wrap:   1240px;
    --pad:    clamp(18px, 3.4vw, 40px);
    --r:      6px;
    --r-lg:   10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font: 400 16.5px/1.6 var(--body);
    -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; color: var(--ink); font-family: var(--display); font-weight: 700; font-optical-sizing: auto; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; cursor: pointer; }
::selection { background: var(--peach); 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(--cream); font-weight: 600; border-radius: var(--r); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 3px; }

/* Gombok, címkék */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 0;
    border-radius: var(--r);
    font: 600 14.5px/1.2 var(--body);
    white-space: nowrap;
    transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 9px 14px; font-size: 13.5px; }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--peach { background: var(--peach); color: var(--ink); }
.btn--peach:hover { background: var(--warm); color: var(--white); }
.btn--teal { background: var(--ink); color: var(--white); }
.btn--teal:hover { background: var(--green-deep); }

.pill {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 4px;
    background: var(--peach);
    font: 600 12px/1.2 var(--body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    transition: background .2s, color .2s;
}
.pill:hover { background: var(--warm); color: var(--white); }

.cat {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 700 11px/1.4 var(--body);
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
}
.cat:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.cat--dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.cat--light { color: var(--peach); }
.cat--light:hover { color: var(--white); }

.meta { margin: 8px 0 0; font: 500 12.5px/1.4 var(--body); color: var(--faint); }

.text-link { font: 600 14px/1.3 var(--body); color: var(--ink); text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.text-link:hover { color: var(--green-deep); }

.sec-kicker { margin: 0 0 6px; font: 600 11.5px/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sec-kicker b { color: var(--green); font-weight: 700; }
.sec-kicker--light { color: var(--peach); }
.sec-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 14px;
    margin-bottom: clamp(24px, 3vw, 36px);
    border-bottom: 2px solid var(--ink);
}
.sec-title { font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -.03em; }
.sec-note { font: 600 11.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 0;
    border-radius: var(--r);
    background: transparent;
    color: var(--ink);
    transition: background .2s;
}
.icon-btn:hover { background: var(--cream-deep); }

.thumb-ph {
    display: block;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(41, 165, 121, .18), transparent 60%), var(--cream-deep);
}

/* ═══════════════════════════════════════════════════════════════
   2. Felső sáv, fejléc, logó
   ═══════════════════════════════════════════════════════════════ */
.topbar { background: var(--ink); color: var(--cream); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding-top: 6px; padding-bottom: 6px; }
.topbar__text { display: flex; align-items: center; gap: 12px; margin: 0; font: 600 13.5px/1.35 var(--body); }
.topbar__dots { display: inline-flex; flex-shrink: 0; }
.topbar__dots i { width: 22px; height: 22px; margin-left: -7px; border-radius: 50%; border: 2px solid var(--ink); background: var(--peach); }
.topbar__dots i:first-child { margin-left: 0; background: var(--green); }
.topbar__dots i:last-child { background: var(--cream); }

.site-header { background: var(--cream); }
.site-header__row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 96px;
    padding-top: 10px;
    padding-bottom: 6px;
}
.site-header__left { display: flex; align-items: center; }
.site-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.menu-btn { display: none; }

.brand { display: inline-flex; flex-direction: column; align-items: center; color: var(--ink); line-height: 1; }
.brand__logo { max-height: 72px; width: auto; }
.brand__top { font: 700 11px/1 var(--body); letter-spacing: .34em; text-transform: uppercase; margin: 0 0 2px .34em; }
.brand__main {
    position: relative;
    font: 700 46px/.92 var(--display);
    letter-spacing: -.035em;
    font-variation-settings: 'SOFT' 100, 'WONK' 1;
}
.brand__leaf {
    position: absolute;
    right: -.42em; top: -.2em;
    width: .44em; height: .44em;
    fill: var(--green);
    transform: rotate(-8deg);
    transform-origin: bottom left;
    transition: transform .4s ease;
}
.brand__vein { stroke: var(--cream); }
.brand:hover .brand__leaf { transform: rotate(10deg) scale(1.08); }

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 30px;
    padding-top: 12px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}
.main-nav a {
    font: 600 12.5px/1.3 var(--body);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: transparent;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
    transition: color .2s, text-decoration-color .2s;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--green); text-decoration-color: var(--green); }

.search-panel { padding: 16px 0; border-bottom: 1px solid var(--line); }
.search-panel .search-form { max-width: 720px; margin: 0 auto; }
.search-form { display: flex; gap: 8px; }
.search-form input[type="search"] {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--white);
    font: 400 16px var(--body);
    color: var(--ink);
    outline: none;
}
.search-form input[type="search"]:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(41, 165, 121, .2); }
.search-form button { padding: 0 20px; border: 0; border-radius: var(--r); background: var(--ink); color: var(--white); font: 600 14px var(--body); }
.search-form button:hover { background: var(--green-deep); }
.search-form--page { max-width: 560px; margin-top: 20px; }

/* Oldalsó menü */
.drawer { position: fixed; inset: 0; z-index: 300; background: rgba(10, 74, 74, .45); }
.drawer__panel {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: min(380px, 88vw);
    padding: 70px 26px 26px;
    background: var(--cream);
    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 { margin-bottom: 26px; }
.brand--drawer .brand__main { font-size: 38px; }
.drawer__nav { display: flex; flex-direction: column; margin-bottom: 24px; border-top: 2px solid var(--ink); }
.drawer__nav a { display: flex; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font: 600 20px/1.2 var(--display); }
.drawer__nav a span { font: 500 13px var(--body); color: var(--faint); align-self: center; }
.drawer__nav a:hover { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════
   3. Címlap
   ═══════════════════════════════════════════════════════════════ */
.hero { position: relative; display: flex; min-height: clamp(520px, 82vh, 780px); overflow: hidden; background: var(--ink); color: var(--white); }
.hero__img { position: absolute; inset: 0; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 34, 34, .9) 0%, rgba(4, 34, 34, .45) 45%, rgba(4, 34, 34, .1) 100%); }
.hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 26px;
    padding-bottom: clamp(36px, 6vw, 64px);
    pointer-events: none;
}
.hero__content a { pointer-events: auto; }
.hero__eyebrow { margin: 0; font: 700 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .88); }
.hero__text { max-width: 780px; }
.hero__title { margin: 12px 0 16px; font-size: clamp(40px, 5.8vw, 76px); line-height: .98; letter-spacing: -.035em; color: var(--white); }
.hero__title a:hover { text-decoration: underline; text-decoration-color: var(--green); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.hero__dek { max-width: 580px; margin: 0; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.hero .meta { color: rgba(255, 255, 255, .7); }

.first-row {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 56px);
    padding-top: clamp(40px, 5vw, 64px);
    padding-bottom: clamp(48px, 6vw, 72px);
}
.first-row__cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.first-row__latest { padding-left: clamp(20px, 2.6vw, 32px); border-left: 1px solid var(--line); }

.card { min-width: 0; }
.card__img { position: relative; display: block; aspect-ratio: 4 / 3; margin-bottom: 14px; overflow: hidden; border-radius: 4px; background: var(--cream-deep); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.badge { position: absolute; left: 0; bottom: 0; padding: 5px 10px; background: var(--cream); font: 700 11px/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.card__title { margin: 6px 0 8px; font-size: clamp(21px, 2vw, 26px); line-height: 1.14; letter-spacing: -.015em; }
.card__title a:hover { color: var(--green-deep); }
.card__text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }

.side-label { margin: 0 0 4px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 700 11.5px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.latest { list-style: none; margin: 0 0 16px; padding: 0; }
.latest li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.latest__link { display: block; margin-top: 4px; font: 600 18px/1.25 var(--display); letter-spacing: -.01em; }
.latest__link:hover { color: var(--green-deep); }

/* Mélyzöld felhívó sáv */
.cta-band { background: var(--ink); color: var(--cream); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: clamp(40px, 5vw, 60px); padding-bottom: clamp(40px, 5vw, 60px); }
.cta-band__title { margin: 4px 0 10px; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.05; letter-spacing: -.025em; color: var(--cream); }
.cta-band__text { max-width: 600px; margin: 0; color: rgba(253, 246, 240, .8); }

/* Barack rovatblokk */
.peach { background: var(--peach); padding: clamp(52px, 7vw, 80px) 0 clamp(56px, 7vw, 88px); }
.peach .sec-head { border-bottom-color: var(--ink); }
.peach__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 44px); align-items: start; }
.big__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--cream-deep); margin-bottom: 16px; }
.big__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.big:hover .big__img img { transform: scale(1.03); }
.big__title { font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -.025em; }
.big__title a:hover { color: var(--green-deep); }
.big__text { margin: 12px 0 0; color: var(--ink-soft); }
.peach__small { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.small__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--cream-deep); margin-bottom: 10px; }
.small__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.small:hover .small__img img { transform: scale(1.04); }
.small__title { font: 600 17px/1.22 var(--display); letter-spacing: -.01em; }
.small__title a:hover { color: var(--green-deep); }

/* Számozott válogatás */
.ranking { padding-top: clamp(52px, 7vw, 80px); padding-bottom: clamp(40px, 5vw, 56px); }
.ranking__list { list-style: none; counter-reset: rank; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 44px); }
.ranking__list li {
    counter-increment: rank;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0 18px 70px;
    border-bottom: 1px solid var(--line);
}
.ranking__list li::before {
    content: counter(rank);
    position: absolute;
    left: 0; top: 6px;
    font: 700 66px/.9 var(--display);
    color: var(--warm);
}
.ranking__title { margin-top: 6px; font: 650 21px/1.2 var(--display); letter-spacing: -.01em; }
.ranking__title:hover { color: var(--green-deep); }

/* Lista + oldalsáv */
.with-side {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(32px, 4.6vw, 64px);
    align-items: start;
    padding-top: clamp(32px, 4vw, 48px);
    padding-bottom: clamp(56px, 8vw, 96px);
}
.more .btn { margin-top: 28px; }
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: clamp(16px, 2.6vw, 32px); padding: 24px 0; border-bottom: 1px solid var(--line); }
.row__title { margin: 6px 0 8px; font-size: clamp(21px, 2.2vw, 27px); line-height: 1.15; letter-spacing: -.015em; }
.row__title a:hover { color: var(--green-deep); }
.row__text { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.row__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px; background: var(--cream-deep); }
.row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.row:hover .row__img img { transform: scale(1.04); }

.sidebar { display: flex; flex-direction: column; gap: 30px; }
.side-cta { padding: 26px; border-radius: var(--r-lg); background: var(--ink); color: rgba(253, 246, 240, .82); }
.side-cta__title { margin: 0 0 8px; font: 700 25px/1.1 var(--display); letter-spacing: -.02em; color: var(--cream); }
.side-cta p:not(.side-cta__title) { font-size: 15px; line-height: 1.5; }
.side-cats { display: flex; flex-direction: column; }
.side-cats a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; }
.side-cats a span { color: var(--faint); font-weight: 500; font-size: 13px; }
.side-cats a:hover { color: var(--green); }

/* ═══════════════════════════════════════════════════════════════
   4. Rovatoldal / keresés
   ═══════════════════════════════════════════════════════════════ */
.page-head { padding-top: clamp(36px, 5vw, 56px); padding-bottom: 8px; }
.page-head__title { font-size: clamp(46px, 6.4vw, 84px); line-height: 1; letter-spacing: -.035em; }
.page-head__title--peach { color: var(--warm); }
.page-head__desc { max-width: 660px; margin-top: 14px; font-size: 18px; color: var(--ink-soft); }
.page-head__desc p:last-child { margin-bottom: 0; }

.boxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 30px); }
.box { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.box:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(10, 74, 74, .45); }
.box__img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--cream-deep); }
.box__img img { width: 100%; height: 100%; object-fit: cover; }
.box__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 22px 24px 26px; }
.box__title { margin: 8px 0 10px; font-size: clamp(21px, 2vw, 25px); line-height: 1.15; letter-spacing: -.015em; }
.box__title a:hover { color: var(--green-deep); }
.box__text { flex: 1; font-size: 15px; line-height: 1.55; color: var(--muted); }

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

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination .page-numbers { min-width: 42px; padding: 10px 14px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); text-align: center; font: 600 14px/1 var(--body); }
.pagination a.page-numbers:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination .dots { background: transparent; border-color: transparent; }

/* ═══════════════════════════════════════════════════════════════
   5. Cikkoldal
   ═══════════════════════════════════════════════════════════════ */
.article__head { max-width: calc(1040px + 2 * var(--pad)); padding-top: clamp(28px, 4vw, 44px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: 13px; color: var(--faint); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.article__title { margin: 12px 0 24px; font-size: clamp(36px, 5.2vw, 66px); line-height: 1.03; letter-spacing: -.03em; }
.article__sub { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.article__rule { display: block; width: 100%; height: 1px; background: var(--ink); margin: 12px 0 10px; }
.article__dek { margin: 0; max-width: 620px; font: 500 20px/1.5 var(--display); color: var(--ink-soft); }

.article__img { max-width: calc(1300px + 2 * var(--pad)); margin: clamp(28px, 4vw, 44px) auto 0; padding: 0 var(--pad); }
.article__img img { width: 100%; max-height: 78vh; object-fit: cover; border-radius: 4px; }
.article__img figcaption { padding: 10px 0 0; font-size: 12.5px; color: var(--faint); }

.article__layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 700px);
    justify-content: center;
    gap: clamp(32px, 5vw, 72px);
    padding-top: clamp(36px, 5vw, 56px);
    padding-bottom: clamp(56px, 8vw, 96px);
}
.article__layout--no-toc { grid-template-columns: minmax(0, 700px); }

.toc { position: sticky; top: 24px; align-self: start; }
.admin-bar .toc { top: 56px; }
.toc__label { margin: 0; padding-bottom: 10px; border-bottom: 2px solid var(--ink); font: 700 11.5px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: grid; grid-template-columns: 30px 1fr; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; line-height: 1.4; color: var(--muted); transition: color .2s; }
.toc a span { font-weight: 700; color: var(--green); }
.toc a:hover,
.toc a[aria-current="true"] { color: var(--ink); font-weight: 600; }

/* Olvasószöveg */
.entry-content { min-width: 0; font: 400 19px/1.7 var(--body); color: var(--ink); counter-reset: h2; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content > p:first-child { font-size: 22px; line-height: 1.55; font-weight: 500; }
.entry-content > p:first-child strong { color: var(--green); }
.entry-content h2 {
    counter-increment: h2;
    margin: 2.2em 0 .6em;
    padding-top: 26px;
    border-top: 1px solid var(--line);
    font-size: clamp(28px, 3.2vw, 38px);
    line-height: 1.1;
    letter-spacing: -.025em;
}
.entry-content h2::before {
    content: counter(h2, decimal-leading-zero);
    display: block;
    margin-bottom: 10px;
    font: 700 12px/1 var(--body);
    letter-spacing: .14em;
    color: var(--green);
}
.entry-content h3 { margin: 1.8em 0 .5em; font-size: clamp(22px, 2.4vw, 26px); line-height: 1.2; letter-spacing: -.015em; }
.entry-content h4 { margin: 1.6em 0 .4em; font: 700 13px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.entry-content strong { font-weight: 700; }
.entry-content ul,
.entry-content ol { padding-left: 1.25em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--green); font-weight: 700; }
.entry-content blockquote {
    margin: 1.8em 0;
    padding: 24px 28px;
    border-left: 4px solid var(--green);
    border-radius: 0 var(--r-lg) var(--r-lg) 0;
    background: var(--cream-deep);
    font: italic 500 clamp(20px, 2.2vw, 24px)/1.45 var(--display);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content img { width: 100%; border-radius: 4px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption,
.entry-content .wp-element-caption { margin-top: 8px; font-size: 13px; color: var(--faint); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; background: var(--white); border-radius: var(--r-lg); overflow: hidden; }
.entry-content th,
.entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { background: var(--peach); font-weight: 700; }

/* Szövegközi hivatkozások: zöld aláhúzás, félkövér */
.entry-content a:not(.wp-block-button__link):not(:has(img)) {
    font-weight: 600;
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: background .2s, color .2s;
}
.entry-content a:not(.wp-block-button__link):not(:has(img)):hover { background: var(--peach); color: var(--ink); }

/* 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;
    border-radius: 4px;
}

.entry-content .wp-block-button__link { background: var(--ink); color: var(--white); border-radius: var(--r); font: 600 15px var(--body); padding: 14px 22px; }
.entry-content .wp-block-button__link:hover { background: var(--green-deep); }

.article__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }
.article__tags a { padding: 6px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font: 600 13px var(--body); }
.article__tags a:hover { background: var(--peach); border-color: var(--peach); }

.peach--related .sec-title { font-size: clamp(32px, 4vw, 48px); }
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px); }

.article--page .article__head { padding-left: 0; padding-right: 0; max-width: 780px; margin: 0 auto; }
.article--page .entry-content { max-width: 780px; margin: 24px auto clamp(56px, 8vw, 96px); }
.article--page .entry-content > p:first-child { font-size: 19px; font-weight: 400; }

/* 404 */
.not-found { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 96px); }
.not-found__code { margin: 0; font: 700 clamp(110px, 18vw, 190px)/.9 var(--display); letter-spacing: -.05em; color: var(--warm); }
.not-found__text { max-width: 560px; margin-top: 14px; font-size: 18px; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chips a { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.chips a:hover { background: var(--peach); border-color: var(--peach); }

/* ═══════════════════════════════════════════════════════════════
   6. Lábléc
   ═══════════════════════════════════════════════════════════════ */
.site-footer { background: var(--ink); color: var(--cream); padding: clamp(52px, 7vw, 80px) 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 4vw, 64px); padding-bottom: 44px; }
.brand--footer { align-items: flex-start; color: var(--cream); }
.brand--footer .brand__top { margin-left: 0; }
.brand--footer .brand__main { font-size: 52px; }
.brand--footer .brand__vein { stroke: var(--ink); }
.footer-brand p { max-width: 40ch; margin: 18px 0 22px; font-size: 15.5px; line-height: 1.6; color: rgba(253, 246, 240, .78); }
.footer-label { margin: 0 0 14px; font: 700 11.5px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--peach); }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { align-self: flex-start; font-size: 15.5px; color: rgba(253, 246, 240, .85); }
.footer-col a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(253, 246, 240, .2); font-size: 13px; color: rgba(253, 246, 240, .6); }

/* ═══════════════════════════════════════════════════════════════
   7. Reszponzív
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .ranking__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .with-side { grid-template-columns: 1fr; }
    .sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .article__layout { grid-template-columns: 200px minmax(0, 700px); gap: 40px; }
}

@media (max-width: 1000px) {
    .menu-btn { display: inline-grid; }
    .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; }
    .first-row { grid-template-columns: 1fr; }
    .first-row__latest { padding-left: 0; border-left: 0; }
    .peach__grid { grid-template-columns: 1fr; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .article__sub { grid-template-columns: 1fr; gap: 8px; }
    .article__layout { grid-template-columns: minmax(0, 700px); }
    .toc { position: static; }
    .cards3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    body { font-size: 16px; }
    .topbar__text { font-size: 12.5px; }
    .topbar__dots { display: none; }
    .site-header__row { min-height: 78px; }
    .brand__main { font-size: 36px; }
    .brand__top { font-size: 9.5px; }
    .header-btn { display: none; }
    .hero { min-height: 74vh; }
    .first-row__cards,
    .peach__small,
    .boxes,
    .cards3,
    .sidebar,
    .ranking__list { grid-template-columns: 1fr; }
    .row { grid-template-columns: minmax(0, 1fr) 110px; }
    .row__text { display: none; }
    .sec-head { flex-direction: column; align-items: flex-start; }
    .entry-content { font-size: 17.5px; }
    .entry-content > p:first-child { font-size: 19px; }
    .footer-grid { grid-template-columns: 1fr; }
}
