/* =============================================
   OLDSTER — fő stíluslap
   ============================================= */

/* ── Saját szerveren tárolt betűtípusok ── */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-700-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/playfair-700-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/playfair-900-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/playfair-900-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}

:root {
    --accent:        #5C7A5F;
    --accent-dark:   #4a6550;
    --bg:          #F3F4F6;
    --surface:     #FFFFFF;
    --border:      #E5E7EB;
    --text:        #111827;
    --text-muted:  #6B7280;
    --radius:      14px;
    --radius-sm:   8px;
    --shadow:      0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
    --shadow-hover: 0 4px 12px rgba(26,136,185,.15), 0 8px 32px rgba(0,0,0,.1);
    --font-head:   'Playfair Display', Georgia, serif;
    --font-body:   'Inter', system-ui, sans-serif;
    --transition:  0.12s ease;
}

/* ── DARK MODE ── */
body.dark-mode {
    --bg:          #0f1117;
    --surface:     #1a1f2e;
    --border:      #2a3045;
    --text:        #e8eaf0;
    --text-muted:  #8b92a8;
    --shadow:      0 1px 3px rgba(0,0,0,.3), 0 4px 16px rgba(0,0,0,.25);
    --shadow-hover: 0 4px 12px rgba(26,136,185,.2), 0 8px 32px rgba(0,0,0,.3);
}
body.dark-mode .site-header::after { background: linear-gradient(to bottom, transparent, var(--bg)); }
body.dark-mode .category-nav { background: var(--bg); border-color: var(--border); }
body.dark-mode .site-footer { background: #080b12; }
body.dark-mode .share-x { background: #333; }

/* Dark mode kapcsoló gomb */
.dark-toggle {
    position: fixed;
    bottom: 5rem;
    right: 1.5rem;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    z-index: 999;
    transition: background var(--transition), border-color var(--transition), transform .15s ease;
}
.dark-toggle:hover { transform: scale(1.1); }

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.skip-link {
    position: fixed;
    left: -9999px;
    top: 1rem;
    background: var(--accent);
    color: #fff;
    padding: .5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    z-index: 9999;
    text-decoration: none;
    opacity: 0;
}
.skip-link:focus { left: 1rem; opacity: 1; }

html { scroll-behavior: smooth; overflow-y: auto !important; overflow-x: hidden; }
body { overflow-y: auto !important; overflow-x: hidden; max-width: 100vw; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }

/* ── LAYOUT ── */
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.site-content { padding: 2.5rem 0 4rem; }
.content-area {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
}

/* ── HERO HEADER ── */
.site-header {
    position: relative;
    height: clamp(260px, 30vw, 480px);
    background: #111;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: 25% 60%;
    background-repeat: no-repeat;
    filter: brightness(1.05) saturate(1.3);
    z-index: 0;
}

.header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.02) 0%,
        rgba(0,0,0,.35) 60%,
        rgba(0,0,0,.65) 100%
    );
    z-index: 1;
}

.header-inner {
    position: relative;
    z-index: 2;
    padding: 2.5rem 3rem;
    width: 100%;
}

.site-tagline {
    color: #fff;
    font-size: clamp(.85rem, 1.5vw, 1.05rem);
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: .08em;
    font-style: italic;
    margin-top: .5rem;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: taglineFadeIn 1.2s ease 1s forwards;
}
@keyframes taglineFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Logó ── */
.site-logo {
    display: inline-block;
    font-family: var(--font-head);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    font-style: normal;
    letter-spacing: .08em;
    color: #fff;
    text-decoration: none;
    line-height: 1;
}
.site-logo:hover { color: #fff; }
.logo-r { transition: color .4s ease; }
.site-logo:hover .logo-r { color: var(--accent); }
.logo-dot { color: #fff; }

/* ── SVG IKONOK ── */
.site-logo svg, .cat-link svg, .post-cat-badge svg,
.cat-widget-list svg, .footer-menu svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

/* ── CATEGORY NAV ── */
.category-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: visible;
    transition: box-shadow .3s ease, transform .3s ease;
}
.category-nav.cat-nav--stuck {
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.category-nav.nav-hidden {
    transform: translateY(-110%);
}
.cat-list {
    list-style: none;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    padding: .25rem 1rem .25rem 0;
    -webkit-overflow-scrolling: touch;
}
.cat-list li:last-child { padding-right: 1rem; }
.cat-list::-webkit-scrollbar { display: none; }

.cat-link {
    display: flex;
    align-items: center;
    gap: .5em;
    padding: .65rem 1.1rem;
    border-radius: 100px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: background 80ms linear, color 80ms linear;
    margin: .3rem .15rem;
    will-change: background, color;
}
.cat-link:hover { background: var(--bg); color: var(--text); }
.cat-link.active { background: var(--accent); color: #fff; }

/* ── POST CARD ── */
.posts-feed { display: flex; flex-direction: column; gap: 1.5rem; }
.posts-feed > * + * { margin-top: 1.5rem; }

@keyframes cardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.post-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
    animation: cardFadeIn .45s ease both;
}
.post-card:nth-child(1) { animation-delay: .05s; }
.post-card:nth-child(2) { animation-delay: .12s; }
.post-card:nth-child(3) { animation-delay: .19s; }
.post-card:nth-child(4) { animation-delay: .26s; }
.post-card:nth-child(5) { animation-delay: .33s; }
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

/* ── Kiemelt első cikk ── */
.post-card--featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}
.post-card--featured .post-thumbnail {
    max-height: none;
    height: 100%;
}
.post-card--featured .post-thumbnail img {
    height: 100%;
    object-fit: cover;
}
.post-card--featured .post-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem;
}
.post-card--featured .post-title--featured {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    line-height: 1.25;
    margin: .75rem 0 1rem;
}
.post-card--featured .post-excerpt--featured {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-muted);
}
@media (max-width: 768px) {
    .post-card--featured { grid-template-columns: 1fr; }
    .post-card--featured .post-thumbnail { max-height: 260px; }
}

/* ── Új badge ── */
.badge-new {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .15rem .5rem;
    border-radius: 100px;
    vertical-align: middle;
}

.post-thumbnail { overflow: hidden; max-height: 360px; position: relative; }
.post-thumbnail img { width: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-thumbnail img { transform: scale(1.03); }

/* Kategória badge a kép sarkán */
.card-cat-badge {
    position: absolute;
    top: .75rem; left: .75rem;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    padding: .25rem .7rem;
    border-radius: 100px;
    text-decoration: none;
    letter-spacing: .02em;
    transition: background var(--transition);
    z-index: 2;
}
.card-cat-badge:hover { background: var(--accent); }

.post-body { padding: 1.5rem 1.75rem 1.75rem; }

.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .8rem;
    color: var(--text-muted);
    margin-bottom: .75rem;
    flex-wrap: wrap;
}
.post-date { letter-spacing: .03em; }
.read-time { color: var(--text-muted); font-size: .78rem; display: flex; align-items: center; gap: .3em; }
.read-time::before { content: '⏱'; font-size: .75rem; }
.post-author a {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .75rem;
    letter-spacing: .06em;
}
.post-author a:hover { color: var(--accent-dark); }

.post-title {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: .75rem;
}
.post-title a { color: var(--text); }
.post-title a:hover { color: var(--accent); }

.post-excerpt { color: var(--text-muted); font-size: .95rem; margin-bottom: 1.25rem; line-height: 1.65; }

.post-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.post-cats { display: flex; gap: .5rem; flex-wrap: wrap; }
.post-cats > * { margin: .25rem .25rem 0 0; }

.post-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: .25rem .75rem;
    font-size: .78rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.post-cat-badge:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

.read-more { font-size: .85rem; font-weight: 600; color: var(--accent); letter-spacing: .03em; white-space: nowrap; }
.read-more:hover { color: var(--accent-dark); }

/* ── SINGLE POST ── */
.single-post {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 2rem;
}
.single-thumbnail img { width: 100%; max-height: 480px; object-fit: cover; }
.single-body { padding: 2rem 2.5rem 2.5rem; }
.single-title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    margin: 1rem 0 1.5rem;
}
.single-content { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.single-content > p,
.single-content > h2,
.single-content > h3,
.single-content > ul,
.single-content > ol,
.single-content > blockquote {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.single-content p { margin-bottom: 1.25rem; }
.single-content > p:first-of-type {
    font-size: 1.22rem;
    line-height: 1.75;
    color: var(--text);
    font-weight: 400;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.single-content h2, .single-content h3 { font-family: var(--font-head); margin: 2rem 0 1rem; }
.single-content h2 { font-size: 1.6rem; }
.single-content h3 { font-size: 1.3rem; }
.single-content blockquote {
    border-left: 4px solid var(--accent);
    padding: .75rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-muted);
    font-style: italic;
}
.single-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.single-content ul, .single-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.single-content li { margin-bottom: .4rem; }
.single-content img { border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow); }
.single-content figure { margin: 1.5rem 0; }
.single-content figure img { margin: 0; }
.single-content figcaption { font-size: .82rem; color: var(--text-muted); text-align: center; margin-top: .5rem; font-style: italic; }
.wp-block-image img { border-radius: var(--radius) !important; box-shadow: var(--shadow); }
.wp-block-image.alignleft, .wp-block-image.alignright { margin: .5rem 0; }
.wp-caption img, .wp-post-image { border-radius: var(--radius); box-shadow: var(--shadow); }
.single-content iframe {
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.single-content .wp-block-embed__wrapper iframe {
    aspect-ratio: 16/9;
    width: 100%;
}
.single-tags { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-muted); }
.single-tags a { color: var(--accent); }
.tags-label { font-weight: 600; }

/* ── SHARE BOX ── */
.share-box {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.share-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.share-buttons { display: flex; gap: .6rem; flex-wrap: wrap; }
.share-buttons > * { margin: .3rem .3rem 0 0; }
.share-btn {
    display: inline-flex; align-items: center; gap: .45em;
    padding: .45rem 1rem; border-radius: 100px;
    font-size: .85rem; font-weight: 600; text-decoration: none;
    transition: opacity .15s ease, transform .15s ease;
    color: #fff;
}
.share-btn:hover { opacity: .88; transform: translateY(-1px); color: #fff; }
.share-fb { background: #1877F2; }
.share-x  { background: #000; }
.share-wa { background: #25D366; }

/* ── Ajánlott cikkek ── */
.related-posts {
    padding: 2rem 2.5rem;
    border-top: 1px solid var(--border);
}
.related-title {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.related-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg);
    text-decoration: none;
    color: var(--text);
    transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}
.related-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.related-card:hover .related-thumb img { transform: scale(1.04); }
.related-body {
    padding: .75rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}
.related-cat {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--accent);
}
.related-post-title {
    font-family: var(--font-head);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.related-date {
    font-size: .75rem;
    color: var(--text-muted);
}
@media (max-width: 600px) {
    .related-grid { grid-template-columns: 1fr; }
    .related-posts { padding: 1.5rem 1.25rem; }
}

.post-navigation { padding: 1.5rem 2.5rem; border-top: 1px solid var(--border); }
.nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.nav-previous, .nav-next { max-width: 48%; }
.nav-label { display: block; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .25rem; }
.nav-title { font-weight: 600; color: var(--accent); font-size: .9rem; }

/* ── ARCHIVE ── */
.archive-header { background: var(--surface); border-radius: var(--radius); padding: 1.75rem 2rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); border-left: 4px solid var(--accent); }
.archive-title { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; }
.archive-desc { color: var(--text-muted); margin-top: .4rem; font-style: italic; font-size: .95rem; }

/* ── Olvasási idő pontok ── */
.read-time-visual {
    display: flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .75rem;
}
.rt-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    flex-shrink: 0;
    transition: background .2s ease;
}
.rt-dot--filled { background: var(--accent); }
.rt-label {
    font-size: .78rem;
    color: var(--text-muted);
    margin-left: .3rem;
    font-weight: 500;
}

/* ── PAGINATION ── */
.pagination { margin-top: 2rem; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.5rem; height: 2.5rem; padding: 0 .75rem;
    border-radius: var(--radius-sm); font-weight: 500; font-size: .9rem;
    color: var(--text-muted); background: var(--surface); border: 1px solid var(--border);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.page-numbers:hover, .page-numbers.current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── SIDEBAR ── */
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar > * + * { margin-top: 1.25rem; }
.widget { background: var(--surface); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.widget-title {
    font-size: .82rem; font-weight: 600; letter-spacing: .03em;
    text-transform: none; color: var(--text-muted);
    margin-bottom: 1rem; padding-bottom: .65rem; border-bottom: 2px solid var(--border);
}
.widget-about p { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }

.search-inner { display: flex; gap: .5rem; }
.search-input {
    flex: 1; min-width: 0; padding: .6rem .9rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .9rem;
    background: var(--bg); color: var(--text); outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,136,185,.15); }
.search-btn {
    flex-shrink: 0; padding: .6rem 1rem; background: var(--accent); color: #fff;
    border: none; border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: .85rem; font-weight: 600; cursor: pointer;
    transition: background var(--transition), transform var(--transition); white-space: nowrap;
}
.search-btn:hover { background: var(--accent-dark); transform: translateY(-1px); }
.search-btn:active { transform: translateY(0); }

.cat-widget-list { list-style: none; }
.cat-widget-list li { border-bottom: 1px solid var(--border); }
.cat-widget-list li:last-child { border-bottom: none; }
.cat-widget-list a {
    display: flex; justify-content: space-between; align-items: center;
    padding: .5rem 0; font-size: .9rem; color: var(--text);
    transition: color var(--transition); gap: .5em;
}
.cat-widget-list a:hover { color: var(--accent); }
.cat-widget-list .cat-label { display: flex; align-items: center; gap: .5em; }
.cat-count { background: var(--bg); border-radius: 100px; padding: .1rem .5rem; font-size: .75rem; color: var(--text-muted); }

/* ── LEGUTÓBBI BEJEGYZÉSEK widget ── */
.recent-posts-list { list-style: none; }
.recent-posts-list li { border-bottom: 1px solid var(--border); }
.recent-posts-list li:last-child { border-bottom: none; }
.recent-posts-list a {
    display: flex; align-items: center; gap: .75rem;
    padding: .6rem 0; text-decoration: none; color: var(--text);
    transition: color var(--transition);
}
.recent-posts-list a:hover { color: var(--accent); }
.recent-thumb { width: 52px; height: 52px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.recent-title { display: block; font-size: .88rem; font-weight: 600; line-height: 1.35; }
.recent-date { display: block; font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }

/* ── LEGUTÓBBI HOZZÁSZÓLÁSOK widget ── */
.recent-comments-list { list-style: none; }
.recent-comments-list li { border-bottom: 1px solid var(--border); }
.recent-comments-list li:last-child { border-bottom: none; }
.recent-comments-list a {
    display: block; padding: .6rem 0; text-decoration: none;
    color: var(--text); transition: color var(--transition);
}
.recent-comments-list a:hover { color: var(--accent); }
.comment-author { display: block; font-size: .85rem; font-weight: 600; }
.comment-excerpt { display: block; font-size: .8rem; color: var(--text-muted); margin-top: .1rem; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud a {
    display: inline-block; padding: .25rem .7rem; border-radius: 100px;
    background: var(--bg); border: 1px solid var(--border); font-size: .8rem !important;
    color: var(--text-muted); transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.tag-cloud a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── FOOTER ── */
.site-footer { background: #1c2333; color: #fff; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; margin-bottom: 2rem; flex-wrap: wrap; }
.footer-logo { font-family: var(--font-head); font-size: 1.3rem; font-weight: 900; letter-spacing: .08em; color: #fff; display: block; margin-bottom: .5rem; }
.footer-desc { color: rgba(255,255,255,.5); font-size: .9rem; max-width: 280px; line-height: 1.6; }
.footer-menu { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-menu a { display: flex; align-items: center; gap: .5em; color: rgba(255,255,255,.55); font-size: .9rem; transition: color var(--transition); }
.footer-menu a:hover { color: #fff; }
.footer-menu svg { opacity: .7; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem;
    font-size: .82rem; color: rgba(255,255,255,.4);
    text-align: center; display: flex; flex-direction: column; gap: .4rem; align-items: center;
}
.cc-notice { display: flex; align-items: center; gap: .4em; font-size: .8rem; color: rgba(255,255,255,.35); }
.cc-notice a { color: rgba(255,255,255,.5); text-decoration: underline; text-underline-offset: 2px; }
.cc-notice a:hover { color: #fff; }

/* ── NO POSTS ── */
.no-posts { background: var(--surface); border-radius: var(--radius); padding: 3rem; text-align: center; color: var(--text-muted); box-shadow: var(--shadow); }

/* ── IMPRESSZUM OLDAL ── */
.impresszum-page { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.5rem 3rem; max-width: 720px; }
@media (max-width: 480px) { .impresszum-page { padding: 1.5rem 1.25rem; } }
.impresszum-title { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--border); }
.impresszum-block { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.impresszum-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.impresszum-block h2 { font-family: var(--font-head); font-size: 1.15rem; margin-bottom: .75rem; color: var(--text); }
.impresszum-block p { color: var(--text-muted); line-height: 1.75; margin-bottom: .5rem; }
.impresszum-block a { color: var(--accent); }

/* ── EMBED / VIDEO ── */
.wp-block-embed, .wp-video { border-radius: var(--radius-sm); overflow: hidden; margin: 1.5rem 0; }
.wp-block-embed__wrapper iframe { border-radius: var(--radius-sm); }

/* ── COMMENTS ── */
.comments-area { background: var(--surface); border-radius: var(--radius); padding: 2rem 2.5rem; box-shadow: var(--shadow); margin-top: 1.5rem; }
.comments-title { font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 1.5rem; }
.comment-list { list-style: none; }
.comment-body { padding: 1rem 0; border-bottom: 1px solid var(--border); }
.comment-meta { font-size: .82rem; color: var(--text-muted); margin-bottom: .5rem; }
.comment-author { font-weight: 600; color: var(--text); }
.comment-author .fn { font-style: normal; }
.comment-content p { font-size: .95rem; line-height: 1.7; }
.comment-metadata a { color: var(--text-muted); font-size: .8rem; }
.reply a { font-size: .82rem; font-weight: 600; color: var(--accent); margin-top: .5rem; display: inline-block; }
.reply a:hover { color: var(--accent-dark); }

/* Avatar */
.comment-author img { border-radius: 50%; width: 36px; height: 36px; vertical-align: middle; margin-right: .5rem; }

/* Hozzászólás űrlap */
.comment-respond { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.comment-reply-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 1.25rem; }
.comment-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--text-muted); margin-bottom: .35rem; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%; padding: .65rem .9rem;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    font-family: var(--font-body); font-size: .95rem;
    background: var(--bg); color: var(--text); outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    margin-bottom: 1rem;
}
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(26,136,185,.15); }
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form .form-submit { margin-top: .5rem; }
.comment-form input[type="submit"] {
    padding: .65rem 1.5rem; background: var(--accent); color: #fff;
    border: none; border-radius: var(--radius-sm); font-family: var(--font-body);
    font-size: .9rem; font-weight: 600; cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.comment-form input[type="submit"]:hover { background: var(--accent-dark); transform: translateY(-1px); }
.logged-in-as { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; }
.logged-in-as a { color: var(--accent); }

/* ── ANIMÁCIÓK ── */

/* 1. Logó megjelenés betöltéskor */
@keyframes logoFadeIn {
    from { opacity: 0; transform: translateX(-18px); }
    to   { opacity: 1; transform: translateX(0); }
}
.site-logo {
    animation: logoFadeIn 1.4s cubic-bezier(.22,.68,0,1.1) both;
    animation-delay: .3s;
}

/* 2. Kártya hover */

/* 3. Kategória nav aláhúzás effekt */
.cat-link {
    position: relative;
}
.cat-link:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 50%; right: 50%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: left .2s ease, right .2s ease;
}
.cat-link:not(.active):hover::after {
    left: 12px;
    right: 12px;
}

/* 4. Olvasási progress bar */
.reading-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, var(--accent), #8aab8d);
    z-index: 9999;
    transition: width .1s linear;
    border-radius: 0 2px 2px 0;
}

/* ── SCROLL TO TOP ── */
.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 2.75rem; height: 2.75rem; border-radius: 50%;
    background: var(--accent); color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
    box-shadow: 0 4px 16px rgba(26,136,185,.35);
    opacity: 0; transform: translateY(12px);
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
    z-index: 999;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); }
.scroll-top:hover { background: var(--accent-dark); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .content-area { grid-template-columns: 1fr; }
    .sidebar { order: 2; }
    .site-header { height: 280px; }
    .header-inner { padding: 1.5rem; }
    .single-body { padding: 1.25rem 1.25rem 1.75rem; }
    .post-body { padding: 1.25rem; }
    .post-navigation { padding: 1rem 1.25rem; }
}
@media (max-width: 480px) {
    .site-header { height: 220px; }
    .post-footer { flex-direction: column; align-items: flex-start; }
}
