:root {
    --purple: #7e22ce;
    --purple-dark: #4c1d95;
    --cyan: #06b6d4;
    --dark: #0f172a;
    --bg: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    background: var(--bg);
    color: #334155;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4 { font-family: "Syne", sans-serif; color: var(--dark); }
a { color: inherit; text-decoration: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: 8px;
    z-index: 999;
    background: var(--purple);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
}
.skip-link:focus { left: 10px; }

/* Univerzalis, jol lathato fokusz */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid rgba(6, 182, 212, .45);
    outline-offset: 2px;
    border-radius: 10px;
}

/* Skeleton es betoltesi allapotok */
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 40%, #e2e8f0 55%);
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.15s linear infinite;
}
.skeleton-text {
    height: 14px;
    border-radius: 999px;
}
.skeleton-text + .skeleton-text { margin-top: 8px; }
.skeleton-text.w-80 { width: 80%; }
.skeleton-text.w-60 { width: 60%; }

/* Finom tartalom beleptetes csak no-preference alatt */
@keyframes fade-up-soft {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.reveal-on-load {
    opacity: 0;
    transform: translateY(8px);
}
.reveal-on-load.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    /* Ne hasznaljunk backdrop-filtert: a fixed mobil menu a fejlechez lenne kotve, es csak keskeny savban jelenne meg. */
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.nav-wrap {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}
@media (min-width: 1001px) {
    .nav-wrap {
        display: grid;
        grid-template-columns: minmax(0, auto) 1fr minmax(0, auto);
        align-items: center;
        gap: 20px;
    }
    .site-branding {
        justify-self: start;
    }
    .primary-nav {
        justify-self: center;
        max-width: 100%;
    }
    .primary-nav ul {
        justify-content: center;
    }
    .header-actions {
        margin-left: 0;
        justify-self: end;
    }
}
.site-branding {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 120px;
}
.logo { display: flex; align-items: center; gap: 8px; font-size: 1.7rem; font-weight: 800; color: var(--purple); }
.logo i { color: var(--cyan); font-size: 1.9rem; }
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
.custom-logo {
    width: auto;
    height: auto;
    max-height: 56px;
    max-width: 240px;
    object-fit: contain;
}
.primary-nav ul { display: flex; list-style: none; gap: 22px; margin: 0; padding: 0; font-weight: 600; }
.primary-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    color: #334155;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    box-sizing: border-box;
    transition: color .2s ease, border-color .2s ease;
}
.primary-nav a:hover {
    color: var(--purple);
}
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
    color: var(--purple);
    border-bottom-color: var(--purple);
}
@media (max-width: 1000px) {
    .primary-nav a {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .primary-nav .current-menu-item > a,
    .primary-nav .current_page_item > a {
        border-bottom: 0;
    }
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.menu-toggle, .search-toggle, .mobile-close {
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #eef2f7;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all .2s ease;
}
.menu-toggle { display: none; }
.menu-toggle:hover, .search-toggle:hover, .mobile-close:hover {
    background: var(--cyan);
    color: #fff;
}
.mobile-close { display: none; }

/* Arculat szerinti kereso: mezo + jobbra beagyazott ikon gomb */
.search-form--inline {
    position: relative;
    display: block;
    width: 100%;
}
.search-form--inline .search-form__field-wrap {
    display: block;
    margin: 0;
}
.search-form--inline .search-field {
    width: 100%;
    min-height: 46px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
    padding: 0 52px 0 16px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.search-form--inline .search-field:hover {
    background: #fff;
    border-color: #cbd5e1;
}
.search-form--inline .search-field:focus {
    background: #fff;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.18);
}
.search-form--inline .search-submit--icon {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: var(--cyan);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.search-form--inline .search-submit--icon:hover {
    background: var(--purple);
    transform: translateY(-50%) scale(1.02);
}
.search-form--inline .search-submit--icon .search-submit-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.search-form--inline .search-submit--icon i {
    font-size: 1.1rem;
}

/* Oldalsav / egyeb: klasszikus soros kereso (ha mas osztaly) */
.search-form:not(.search-form--inline) {
    display: flex;
    align-items: center;
    gap: 8px;
}
.search-form:not(.search-form--inline) label {
    flex: 1;
}
.search-form:not(.search-form--inline) .search-field {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}
.search-form:not(.search-form--inline) .search-field:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
}
.search-form:not(.search-form--inline) .search-submit {
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(120deg, var(--purple), var(--cyan));
    color: #fff;
    font-weight: 700;
    padding: 0 14px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.search-form:not(.search-form--inline) .search-submit:hover {
    transform: translateY(-1px);
    opacity: 0.95;
}

.header-search-panel {
    display: none;
    border-top: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.98);
    padding: 18px 0;
    box-shadow: 0 12px 24px -12px rgba(15, 23, 42, 0.12);
}
.header-search-panel.open {
    display: block;
}
.header-search-inner {
    max-width: 640px;
    margin: 0 auto;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 45;
}
.nav-overlay.open { opacity: 1; visibility: visible; }

.site-main { padding: 28px 0 60px; }
body.single .site-main {
    padding-top: 0;
    padding-bottom: 0;
}
/* Single bejegyzes: ne duplazzuk a main also padding + footer margin (feher sav) */
body.single .site-footer--brand {
    margin-top: 0;
}

/* Főoldal hero: 8/12 + 4/12, belul 2x2 csempe (nagy bal + ket kicsi jobb) */
.hero-section {
    margin-bottom: 3rem;
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 24px;
    align-items: start;
}

.hero-posts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: minmax(180px, auto) minmax(180px, auto);
    gap: 16px;
    min-height: 0;
}
/* 3 cikk: nagy bal (2 sor), ket kicsi jobb */
.hero-posts .hero-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.hero-posts .hero-card--compact:nth-of-type(2) {
    grid-column: 2;
    grid-row: 1;
}
.hero-posts .hero-card--compact:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
}
/* 1 cikk: teljes szelesseg */
.hero-posts--count-1 .hero-card--featured {
    grid-column: 1 / -1;
    grid-row: 1 / -1;
}
/* 2 cikk: nagy bal, egy kicsi jobb felul */
.hero-posts--count-2 .hero-card--featured {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.hero-posts--count-2 .hero-card--compact {
    grid-column: 2;
    grid-row: 1;
}

.hero-card {
    position: relative;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
.hero-card__link {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 200px;
    overflow: hidden;
    border-radius: 22px;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 10px 40px -12px rgba(15, 23, 42, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hero-card a.hero-card__link:visited {
    color: #fff;
}
.hero-card__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -16px rgba(126, 34, 206, 0.35);
}
.hero-card--featured .hero-card__link {
    min-height: min(100%, 440px);
}
.hero-card--compact .hero-card__link {
    min-height: 200px;
    border-radius: 18px;
}
.hero-card__link--static {
    cursor: default;
    pointer-events: none;
}
.hero-card__link--static:hover {
    transform: none;
}

.hero-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background: linear-gradient(135deg, #4c1d95 0%, #7e22ce 40%, #06b6d4 100%);
}
.hero-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.45) 45%, transparent 100%);
    z-index: 1;
}
.hero-card--compact .hero-card__shade {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.5) 50%, rgba(15, 23, 42, 0.15) 78%, transparent 100%);
}

.hero-card__content {
    position: relative;
    z-index: 2;
    padding: 1.25rem 1.35rem 1.35rem;
    color: #fff;
}
.hero-card--featured .hero-card__content {
    padding: 1.5rem 1.5rem 1.6rem;
}
.hero-card__badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    margin-bottom: 0.65rem;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
}
.hero-card--compact .hero-card__badge {
    background: rgba(103, 232, 249, 0.95);
    color: #0f172a;
    font-size: 0.62rem;
}
.hero-card .hero-card__title,
.hero-card .hero-card__title--sm {
    color: #fff;
}
.hero-card__title {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.hero-card__title--sm {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 700;
}
.hero-card__excerpt {
    margin: 0.6rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #f1f5f9;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-card--empty .hero-card__title,
.hero-card--empty .hero-card__excerpt {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.side-modules {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.module {
    background: #fff;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    padding: 1.35rem 1.5rem;
    box-shadow: 0 4px 24px -8px rgba(15, 23, 42, 0.12);
}

.weather-module {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, var(--purple), var(--purple-dark));
    border: none;
    padding: 1.5rem;
}
.weather-module-deco {
    position: absolute;
    right: -1.5rem;
    bottom: -2rem;
    font-size: 9rem;
    opacity: 0.1;
    pointer-events: none;
    line-height: 1;
}
.weather-module-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}
.weather-module h3 {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}
.weather-module-date {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #67e8f9;
}
.weather-module-icon {
    font-size: 2.25rem;
    color: #67e8f9;
    flex-shrink: 0;
}
.weather-module-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem 1rem;
}
.weather-module-temp {
    font-family: "Syne", sans-serif;
    font-size: clamp(2.5rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}
.weather-module-desc {
    font-size: 1rem;
    opacity: 0.88;
    margin-bottom: 0.15rem;
}

.module--finance {
    border: 2px solid rgba(6, 182, 212, 0.25);
    border-radius: 24px;
}
.module--finance-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
}
.module--finance-head h3 {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}
.module--finance-head .ph {
    font-size: 1.5rem;
    color: var(--cyan);
}
.module--finance-note {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: #94a3b8;
    text-align: right;
}

.rate-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}
.rate-row:last-of-type {
    border-bottom: 0;
}

.card,
.category-box,
.single-article {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 16px;
}
.post-list .card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.post-list .card:hover {
    transform: translateY(-4px);
    border-color: #d8b4fe;
    box-shadow: 0 20px 30px -20px rgba(126, 34, 206, 0.45);
}
.card img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 16/10;
    object-fit: cover;
    margin-bottom: 10px;
}
.card img.is-loading,
.hero-card__img.is-loading,
.post-card-thumb img.is-loading,
.single-cover img.is-loading,
.single-hero__img.is-loading,
.single-related-card__img.is-loading,
.single-editor-card__img.is-loading,
.front-friss-card__thumb img.is-loading,
.front-kiemelt-featured__img.is-loading,
.front-kiemelt-list__thumb img.is-loading,
.front-cat-post__img.is-loading {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 40%, #e2e8f0 55%);
    background-size: 220% 100%;
    animation: skeleton-shimmer 1.15s linear infinite;
    filter: saturate(0.75);
}
.card h2 {
    margin: 4px 0 0;
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    line-height: 1.3;
}

/* Főoldal: Friss hírek, Kiemelt, 3 kategória oszlop */
.front-friss,
.front-kiemelt,
.front-category-columns {
    margin-top: clamp(28px, 4vw, 44px);
}
.front-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 28px;
}
.front-section-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 1.85rem);
    font-weight: 700;
    color: var(--dark);
}
.front-section-title__accent--purple { color: var(--purple); }
.front-section-title__accent--cyan { color: var(--cyan); }
.front-section-more {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--cyan);
    transition: color 0.2s ease;
}
.front-section-more:hover { color: var(--purple); }
.front-friss__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}
.front-friss-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.front-friss-card:hover {
    transform: translateY(-4px);
    border-color: #e9d5ff;
    box-shadow: 0 20px 30px -20px rgba(126, 34, 206, 0.35);
}
.front-friss-card__thumb {
    display: block;
    height: 192px;
    overflow: hidden;
}
.front-friss-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.front-friss-card:hover .front-friss-card__thumb img {
    transform: scale(1.05);
}
.front-friss-card__body { padding: 18px 18px 20px; }
.front-friss-card__cat {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.front-friss-card__cat--purple { color: var(--purple); }
.front-friss-card__cat--cyan { color: var(--cyan); }
.front-friss-card__title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
}
.front-friss-card__title a:hover { color: var(--purple); }
.front-friss-card__excerpt {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.front-kiemelt {
    background: linear-gradient(90deg, #f8fafc 0%, #fff 100%);
    border-radius: 22px;
    border: 1px solid #f1f5f9;
    padding: clamp(22px, 3vw, 38px);
}
.front-kiemelt__heading {
    margin-bottom: 28px;
}
.front-kiemelt__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: stretch;
}
.front-kiemelt-featured {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 360px;
    box-shadow: 0 12px 40px -24px rgba(15, 23, 42, 0.45);
}
.front-kiemelt-featured__link {
    display: block;
    height: 100%;
    min-height: 360px;
    position: relative;
    color: #fff;
}
.front-kiemelt-featured__media {
    position: absolute;
    inset: 0;
}
.front-kiemelt-featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}
.front-kiemelt-featured:hover .front-kiemelt-featured__img {
    transform: scale(1.04);
}
.front-kiemelt-featured__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.2) 55%, transparent 100%);
    pointer-events: none;
}
.front-kiemelt-featured__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: clamp(22px, 3vw, 32px);
    z-index: 1;
}
.front-kiemelt-featured__badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--purple);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.front-kiemelt-featured__title {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.25;
    color: #fff;
}
.front-kiemelt-featured__excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #e2e8f0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.front-kiemelt-featured--empty .front-kiemelt-featured__link {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    display: flex;
    align-items: flex-end;
}

.front-kiemelt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: space-between;
}
.front-kiemelt-list__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 10px 12px;
    border-radius: 14px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}
.front-kiemelt-list__item:hover {
    background: #fff;
    box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.15);
}
.front-kiemelt-list__thumb {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}
.front-kiemelt-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.front-kiemelt-list__thumb--placeholder {
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 1.75rem;
}
.front-kiemelt-list__meta {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.front-kiemelt-list__meta--purple { color: var(--purple); }
.front-kiemelt-list__meta--cyan { color: var(--cyan); }
.front-kiemelt-list__title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.front-kiemelt-list__item:hover .front-kiemelt-list__title { color: var(--cyan); }
.front-kiemelt-list__item--alt:hover .front-kiemelt-list__title { color: var(--purple); }
.front-kiemelt-list__date {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #94a3b8;
}
.front-kiemelt-list__text {
    display: block;
    min-width: 0;
}

.front-category-columns__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(22px, 3vw, 36px);
}
.category-column__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}
.category-column__icon {
    font-size: 1.65rem;
    line-height: 1;
}
.category-column--accent-purple .category-column__head { border-bottom-color: var(--purple); }
.category-column--accent-purple .category-column__icon { color: var(--purple); }
.category-column--accent-purple .front-cat-post--large .front-cat-post__title a:hover { color: var(--purple); }
.category-column--accent-purple .front-cat-post--compact .front-cat-post__title a:hover { color: var(--purple); }

.category-column--accent-cyan .category-column__head { border-bottom-color: var(--cyan); }
.category-column--accent-cyan .category-column__icon { color: var(--cyan); }
.category-column--accent-cyan .front-cat-post--large .front-cat-post__title a:hover { color: var(--cyan); }
.category-column--accent-cyan .front-cat-post--compact .front-cat-post__title a:hover { color: var(--cyan); }

.category-column--accent-dark .category-column__head { border-bottom-color: var(--purple-dark); }
.category-column--accent-dark .category-column__icon { color: var(--purple-dark); }
.category-column--accent-dark .front-cat-post--large .front-cat-post__title a:hover { color: var(--purple-dark); }
.category-column--accent-dark .front-cat-post--compact .front-cat-post__title a:hover { color: var(--purple-dark); }

.category-column__title {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.45rem);
    font-weight: 700;
}
.category-column__title a { color: inherit; }
.category-column__title a:hover { opacity: 0.85; }

.front-cat-post-stack {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.front-cat-post--large .front-cat-post__link { display: block; }
.front-cat-post--large .front-cat-post__media {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 16 / 10;
}
.front-cat-post--large .front-cat-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.front-cat-post--large:hover .front-cat-post__img {
    transform: scale(1.03);
}
.front-cat-post--large .front-cat-post__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
    font-weight: 700;
}
.front-cat-post--compact .front-cat-post__row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.front-cat-post--compact .front-cat-post__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}
.front-cat-post--compact .front-cat-post__thumb--placeholder {
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    display: grid;
    place-items: center;
    color: #94a3b8;
    font-size: 1.35rem;
}
.front-cat-post--compact .front-cat-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.front-cat-post--compact .front-cat-post__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.front-cat-empty {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.category-box ul { margin: 10px 0 0; padding-left: 16px; }
.category-box li { margin: 8px 0; }
.basic-list { display: grid; gap: 14px; }
.listing-layout { display: grid; gap: 18px; }
.listing-header {
    background: linear-gradient(145deg, #0f172a, #1e293b);
    border-radius: 22px;
    color: #e2e8f0;
    padding: clamp(18px, 3vw, 30px);
}
.listing-header h1 {
    color: #fff;
    margin: 0 0 8px;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}
.listing-header p {
    margin: 0;
    color: #94a3b8;
    max-width: 70ch;
}
.listing-desc {
    margin: 0;
    color: #94a3b8;
    max-width: 70ch;
    font-size: 0.95rem;
    line-height: 1.6;
}
.listing-desc p { margin: 0; }

.layout-with-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(100%, 340px);
    gap: 28px;
    align-items: start;
}
.layout-main {
    min-width: 0;
}
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 92px;
}

.sidebar-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}
.sidebar-widget--search .search-form {
    margin-top: 8px;
}
.sidebar-widget-title {
    font-family: "Syne", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
    display: inline-block;
}
.sidebar-widget-title--cyan { border-bottom-color: var(--cyan); }
.sidebar-widget-title--purple { border-bottom-color: var(--purple); }

.sidebar-cat-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-cat-list li {
    margin: 0;
    border-bottom: 1px solid #f1f5f9;
}
.sidebar-cat-list li:last-child { border-bottom: 0; }
.sidebar-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 0;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s ease;
}
.sidebar-cat-list a:hover { color: var(--purple); }
.sidebar-cat-count {
    font-size: 0.75rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
}

.sidebar-tag-cloud {
    font-size: 0.8125rem;
    line-height: 1.6;
}
.sidebar-tag-cloud a {
    display: inline-block;
    margin: 0 6px 8px 0;
    padding: 0.35rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #475569;
    font-weight: 500;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.sidebar-tag-cloud a:hover {
    border-color: var(--purple);
    color: var(--purple);
    background: rgba(126, 34, 206, 0.05);
}

.sidebar-widget--newsletter,
.sidebar-widget--newsletter-alt {
    padding: 0;
    overflow: hidden;
    border: none;
    background: transparent;
    box-shadow: none;
}
.sidebar-newsletter-inner {
    background: linear-gradient(145deg, var(--purple), var(--cyan));
    color: #fff;
    border-radius: 22px;
    padding: 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.sidebar-newsletter-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    pointer-events: none;
}
.sidebar-newsletter-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    line-height: 1;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}
.sidebar-newsletter-title {
    font-family: "Syne", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px;
    position: relative;
    z-index: 1;
}
.sidebar-newsletter-text {
    margin: 0 0 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.5;
    position: relative;
    z-index: 1;
}
.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    z-index: 1;
}
.sidebar-newsletter-form input[type="email"] {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.65rem 0.9rem;
    font-size: 0.875rem;
    outline: none;
}
.sidebar-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.sidebar-newsletter-btn {
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    padding: 0.65rem 1rem;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.sidebar-newsletter-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}
.sidebar-newsletter-note {
    margin: 12px 0 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.55);
    position: relative;
    z-index: 1;
}

.sidebar-ranked-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-ranked-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.sidebar-ranked-list li:last-child { border-bottom: 0; }
.sidebar-rank {
    font-family: "Syne", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1;
    min-width: 1.8rem;
}
.sidebar-ranked-list a {
    font-weight: 700;
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.35;
}
.sidebar-ranked-list a:hover { color: var(--purple); }
.sidebar-rank-date {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
}

.sidebar-mini-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-mini-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}
.sidebar-mini-list li:last-child { border-bottom: 0; }
.sidebar-mini-list a {
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.35;
}
.sidebar-mini-list a:hover { color: var(--cyan); }
.sidebar-mini-date {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
}
.post-list { display: grid; gap: 14px; }
.post-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.post-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 30px -20px rgba(15, 23, 42, .4);
}
.post-card-thumb { display: block; height: 100%; }
.post-card-thumb img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}
.post-card-fallback {
    width: 100%;
    height: 100%;
    min-height: 210px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    color: #64748b;
    font-size: 2rem;
}
.post-card-body { padding: 18px 20px; }
.post-card-meta {
    margin: 0 0 8px;
    color: #64748b;
    font-size: .86rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.post-card-meta a { color: #64748b; }
.post-card-meta a:hover { color: var(--purple); }
.post-card-meta .sep { opacity: .6; }
.post-card-title {
    margin: 0 0 8px;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    line-height: 1.3;
}
.post-card-title a:hover { color: var(--purple); }
.post-card-excerpt {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.7;
}
.post-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--purple);
    font-weight: 700;
}
.post-card-link i { transition: transform .2s ease; }
.post-card-link:hover i { transform: translateX(2px); }

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}
.pagination .page-numbers {
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe3ef;
    background: #fff;
    color: #334155;
    font-weight: 600;
}
.pagination .page-numbers.current {
    border-color: transparent;
    background: linear-gradient(120deg, var(--purple), var(--cyan));
    color: #fff;
}
.pagination .page-numbers:hover { border-color: #a78bfa; color: var(--purple); }

/* Statikus oldal / 404: egyszeru kartya */
.single-article h1 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--dark);
}
.single-article img {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

/* Bejegyzes tartalom pixelpontos tipografia */
.entry-content {
    font-size: clamp(1.05rem, 1.25vw, 1.18rem);
    line-height: 1.9;
    color: #1e293b;
}
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p { margin: 0 0 1.35em; }
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5 {
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -.01em;
    margin: 1.9em 0 .6em;
}
.entry-content h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); }
.entry-content h3 { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.entry-content h4 { font-size: clamp(1.12rem, 2vw, 1.3rem); }
.entry-content h5 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; }
.entry-content a {
    color: var(--purple);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(126, 34, 206, .28);
    font-weight: 600;
    transition: color .2s ease, text-decoration-color .2s ease;
}
.entry-content a:hover,
.entry-content a:focus-visible {
    color: var(--cyan);
    text-decoration-color: rgba(6, 182, 212, .55);
}
.entry-content ul,
.entry-content ol {
    margin: 0 0 1.35em;
    padding-left: 1.35em;
}
.entry-content li { margin-bottom: .45em; }
.entry-content blockquote {
    margin: 1.8em 0;
    padding: 1.1em 1.2em;
    border-left: 4px solid var(--cyan);
    background: linear-gradient(90deg, rgba(6, 182, 212, .08), rgba(6, 182, 212, .02));
    border-radius: 0 12px 12px 0;
    color: #334155;
    font-style: italic;
}
.entry-content figure { margin: 1.7em 0; }
.entry-content figcaption {
    color: #64748b;
    font-size: .9rem;
    margin-top: .6em;
    text-align: center;
}
.entry-content code {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: .1em .42em;
    font-size: .92em;
}
.entry-content pre {
    background: #0f172a;
    color: #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    overflow: auto;
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    font-size: .95rem;
}
.entry-content th,
.entry-content td {
    border: 1px solid #e2e8f0;
    padding: 10px 12px;
    text-align: left;
}
.entry-content th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

/* --- Bejegyzes oldal (design-post.html) --- */
.single-post-article {
    margin: 0;
    padding: 0;
    overflow-x: clip;
}
.single-hero {
    position: relative;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    min-height: clamp(420px, 60vh, 720px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.single-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0;
}
.single-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.single-hero__placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: linear-gradient(135deg, #4c1d95 0%, #7e22ce 45%, #0f172a 100%);
}
.single-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.55) 45%, rgba(15, 23, 42, 0.15) 100%);
    pointer-events: none;
}
.single-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: min(1200px, 92%);
    margin: 0 auto;
    padding: 0 0 clamp(2rem, 4vw, 3.5rem);
    text-align: center;
}
.single-hero__crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}
.single-hero__pill {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--cyan);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, transform 0.2s ease;
}
.single-hero__pill:hover {
    background: var(--purple);
    color: #fff;
}
.single-hero__dot {
    color: rgba(255, 255, 255, 0.45);
}
.single-hero__crumb-link {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}
.single-hero__crumb-link:hover {
    color: #fff;
}
.single-hero__title {
    margin: 0 0 1.5rem;
    font-family: "Syne", sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 4px 32px rgba(0, 0, 0, 0.55);
}
.single-hero__byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.9rem;
}
.single-hero__author {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}
.single-hero__avatar {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.25);
}
.single-hero__author-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}
.single-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.88);
}
.single-hero__meta-item .ph {
    font-size: 1.15rem;
    color: #67e8f9;
}

.post-single-wrap {
    margin-top: 0;
    padding-bottom: 2rem;
}
.post-single-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
@media (min-width: 1100px) {
    .post-single-grid {
        grid-template-columns: 52px minmax(0, 1fr) minmax(280px, 340px);
        gap: 2rem 2.25rem;
    }
}
.post-single-main {
    min-width: 0;
}
.post-single-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
}

.single-share-rail {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.25rem;
}
@media (min-width: 1100px) {
    .single-share-rail {
        display: flex;
    }
}
.single-share-rail__label {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #94a3b8;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}
.single-share-rail__rule {
    width: 1px;
    height: 2.5rem;
    background: #e2e8f0;
}
.single-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.single-share-btn:hover {
    transform: scale(1.08);
}
.single-share-btn--fb { background: #1877f2; }
.single-share-btn--x { background: #0f172a; }
.single-share-btn--in { background: #0a66c2; }
.single-share-btn--link {
    background: var(--cyan);
}
.single-share-mobile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}
@media (min-width: 1100px) {
    .single-share-mobile {
        display: none;
    }
}
.single-share-mobile__label {
    font-weight: 700;
    color: #64748b;
    margin-right: 0.25rem;
}

.single-entry.article-content {
    font-size: 1.125rem;
    line-height: 1.8;
}
.single-entry.article-content > p:first-of-type::first-letter {
    float: left;
    font-family: "Syne", sans-serif;
    font-size: 3.75rem;
    line-height: 0.82;
    font-weight: 800;
    padding-right: 0.65rem;
    padding-top: 0.35rem;
    color: var(--purple);
}
.single-entry.article-content ul {
    list-style: none;
    padding-left: 0;
    margin: 0 0 1.75rem;
}
.single-entry.article-content ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}
.single-entry.article-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1;
    top: -2px;
}
.single-entry.article-content blockquote {
    border-left: 4px solid var(--cyan);
    background: linear-gradient(to right, rgba(6, 182, 212, 0.06), transparent);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin: 2.5rem 0;
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--purple-dark);
}
.single-entry.article-content img {
    border-radius: 1rem;
    margin: 2.5rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}
.single-tags__label {
    font-weight: 700;
    color: #64748b;
    margin-right: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.single-tags__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.single-tags__pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.single-tags__pill:hover {
    background: var(--purple);
    color: #fff;
}

.single-author-box {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 1.5rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    transition: border-color 0.2s ease;
}
@media (min-width: 640px) {
    .single-author-box {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }
}
.single-author-box:hover {
    border-color: rgba(6, 182, 212, 0.35);
}
.single-author-box__avatar {
    width: 96px;
    height: 96px;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
    flex-shrink: 0;
}
.single-author-box__name {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
}
.single-author-box__bio {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.65;
    color: #64748b;
}
.single-author-box__more {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--purple);
    text-decoration: none;
    transition: color 0.2s ease;
}
.single-author-box__more:hover {
    color: var(--cyan);
}

.comments-area--single {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.single-post-nav {
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
}
.single-post-nav__inner {
    display: grid;
    grid-template-columns: 1fr;
    max-width: min(1200px, 92%);
    margin: 0 auto;
}
@media (min-width: 768px) {
    .single-post-nav__inner {
        grid-template-columns: 1fr 1fr;
    }
}
.single-post-nav__link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}
.single-post-nav__link:hover {
    background: #f8fafc;
}
.single-post-nav__link--next {
    text-align: right;
    justify-content: flex-end;
}
@media (min-width: 768px) {
    .single-post-nav__link--next {
        border-left: 1px solid #e2e8f0;
    }
}
.single-post-nav__icon {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    flex-shrink: 0;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.single-post-nav__link:hover .single-post-nav__icon {
    border-color: var(--purple);
    color: var(--purple);
}
.single-post-nav__link--next:hover .single-post-nav__icon {
    border-color: var(--cyan);
    color: var(--cyan);
}
.single-post-nav__link--prev:hover .single-post-nav__icon {
    transform: translateX(-4px);
}
.single-post-nav__link--next:hover .single-post-nav__icon {
    transform: translateX(4px);
}
.single-post-nav__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}
.single-post-nav__link--prev .single-post-nav__label {
    color: var(--purple);
}
.single-post-nav__link--next .single-post-nav__label {
    color: var(--cyan);
}
.single-post-nav__title {
    display: block;
    font-family: "Syne", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--dark);
}
.single-post-nav__spacer {
    min-height: 0;
    display: none;
}
@media (min-width: 768px) {
    .single-post-nav__spacer {
        display: block;
    }
}

.single-related-section {
    padding: 3.5rem 0;
    background: #f8fafc;
}
.single-related-section__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 2rem;
    font-family: "Syne", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: var(--dark);
}
.single-related-section__head .ph-fill {
    color: var(--purple);
    font-size: 1.75rem;
}
.single-related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 768px) {
    .single-related-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
.single-related-card {
    margin: 0;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.single-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(126, 34, 206, 0.08), 0 8px 10px -6px rgba(6, 182, 212, 0.08);
}
.single-related-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.single-related-card__media {
    position: relative;
    height: 12rem;
    overflow: hidden;
    background: #f1f5f9;
}
.single-related-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}
.single-related-card:hover .single-related-card__img {
    transform: scale(1.05);
}
.single-related-card__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2.5rem;
    color: #94a3b8;
}
.single-related-card__badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.92);
    color: var(--cyan);
}
.single-related-card__body {
    padding: 1.25rem 1.35rem 1.5rem;
}
.single-related-card__title {
    margin: 0 0 0.75rem;
    font-family: "Syne", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
    transition: color 0.2s ease;
}
.single-related-card:hover .single-related-card__title {
    color: var(--purple);
}
.single-related-card__date {
    margin: 0;
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.single-editor-section {
    position: relative;
    padding: 3.5rem 0;
    background: var(--dark);
    color: #e2e8f0;
    overflow: hidden;
}
.single-editor-section__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.2;
    pointer-events: none;
}
.single-editor-section__glow--cyan {
    width: 24rem;
    height: 24rem;
    right: 0;
    bottom: 0;
    background: var(--cyan);
    transform: translate(40%, 40%);
}
.single-editor-section__glow--purple {
    width: 24rem;
    height: 24rem;
    left: 0;
    top: 0;
    background: var(--purple);
    transform: translate(-40%, -40%);
}
.single-editor-section__inner {
    position: relative;
    z-index: 1;
    max-width: min(1200px, 92%);
    margin: 0 auto;
}
.single-editor-section__head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #334155;
}
@media (min-width: 768px) {
    .single-editor-section__head {
        flex-direction: row;
        align-items: center;
    }
}
.single-editor-section__title {
    margin: 0;
    font-family: "Syne", sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: #fff;
}
.single-editor-section__accent {
    color: #67e8f9;
}
.single-editor-section__more {
    font-size: 0.9rem;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}
.single-editor-section__more:hover {
    color: #fff;
}
.single-editor-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}
@media (min-width: 768px) {
    .single-editor-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.single-editor-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}
@media (min-width: 640px) {
    .single-editor-card {
        flex-direction: row;
    }
}
.single-editor-card:hover {
    background: rgba(255, 255, 255, 0.1);
}
.single-editor-card__media {
    flex-shrink: 0;
    width: 100%;
    height: 12rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.5);
}
@media (min-width: 640px) {
    .single-editor-card__media {
        width: 12rem;
        height: 12rem;
    }
}
.single-editor-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-editor-card__fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    color: #64748b;
}
.single-editor-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.single-editor-card__lab {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #c4b5fd;
    margin-bottom: 0.5rem;
}
.single-editor-card__t {
    font-family: "Syne", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}
.single-editor-card:hover .single-editor-card__t {
    color: #67e8f9;
}
.single-editor-card__ex {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #94a3b8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-links {
    margin: 2rem 0;
    font-size: 0.95rem;
}

.site-footer--brand {
    background: #0f172a;
    color: #e2e8f0;
    margin-top: 48px;
    padding: 56px 0 32px;
    border-top: 1px solid #1e293b;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col--brand {
    max-width: 28rem;
}
.footer-brand {
    margin-bottom: 12px;
}
.footer-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
}
.footer-logo .custom-logo {
    max-height: 48px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.footer-logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-logo-text .ph-fill {
    font-size: 2rem;
    color: var(--cyan);
}
.footer-site-name {
    font-family: "Syne", sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
}
.footer-tagline {
    margin: 0;
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.65;
}
.footer-heading {
    font-family: "Syne", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 16px;
}
.footer-heading--cyan { color: #67e8f9; }
.footer-heading--purple { color: #c4b5fd; }
.footer-link-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-link-list li {
    margin-bottom: 10px;
}
.footer-link-list a {
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.footer-link-list a:hover {
    color: #fff;
}
.footer-empty {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    border-top: 1px solid #1e293b;
}
.footer-copy {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}
.footer-social {
    display: flex;
    gap: 14px;
}
.footer-social-link {
    color: #94a3b8;
    font-size: 1.35rem;
    line-height: 1;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-social-link:hover {
    color: var(--cyan);
    transform: translateY(-2px);
}
.footer-social-link:nth-child(3):hover {
    color: #c4b5fd;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-on-load.is-visible {
        animation: fade-up-soft 180ms ease-out both;
    }
}

/* Reduced motion tamogatas */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .single-share-btn:hover,
    .single-post-nav__link:hover .single-post-nav__icon {
        transform: none !important;
    }
    .card:hover,
    .post-card:hover,
    .front-friss-card:hover,
    .search-submit:hover,
    .post-card-link:hover i {
        transform: none !important;
    }
    .front-kiemelt-featured:hover .front-kiemelt-featured__img,
    .front-cat-post--large:hover .front-cat-post__img {
        transform: none !important;
    }
}

@media (max-width: 1000px) {
    .layout-with-sidebar {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .layout-main { order: 1; }
    .content-sidebar {
        position: static;
        order: 2;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .header-actions { margin-left: 0; }
    .search-toggle { display: inline-flex; }
    .menu-toggle { display: inline-flex; }
    .mobile-close { display: inline-flex; position: fixed; top: 16px; right: 16px; z-index: 62; opacity: 0; pointer-events: none; }
    body.nav-open .mobile-close { opacity: 1; pointer-events: auto; }
    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        max-width: none;
        min-height: 100vh;
        min-height: 100dvh;
        box-sizing: border-box;
        background: #fff;
        padding-top: max(80px, env(safe-area-inset-top, 0px));
        padding-right: max(22px, env(safe-area-inset-right, 0px));
        padding-bottom: max(22px, env(safe-area-inset-bottom, 0px));
        padding-left: max(22px, env(safe-area-inset-left, 0px));
        transform: translateX(100%);
        transition: transform .25s ease;
        z-index: 60;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        box-shadow: -20px 0 50px rgba(15, 23, 42, .15);
    }
    .primary-nav.open { transform: translateX(0); }
    .primary-nav ul { flex-direction: column; gap: 6px; }
    .primary-nav a {
        width: 100%;
        min-height: 48px;
        padding: 0 12px;
        border-radius: 10px;
    }
    .primary-nav a:hover { background: #f1f5f9; }
    .header-search-panel { padding-top: 10px; }
    .header-search-panel .search-submit span { display: none; }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hero-posts {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .hero-posts .hero-card--featured,
    .hero-posts .hero-card--compact,
    .hero-posts--count-1 .hero-card--featured,
    .hero-posts--count-2 .hero-card--featured,
    .hero-posts--count-2 .hero-card--compact {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    .hero-card--featured .hero-card__link {
        min-height: 320px;
    }
    .category-grid { grid-template-columns: 1fr; }
    .front-friss__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .front-kiemelt__inner { grid-template-columns: 1fr; }
    .front-category-columns__grid { grid-template-columns: 1fr; }
    .front-kiemelt-featured,
    .front-kiemelt-featured__link { min-height: 300px; }
    .post-card { grid-template-columns: 1fr; }
    .post-card-thumb img { aspect-ratio: 16/10; }
    .entry-content { font-size: 1.03rem; line-height: 1.8; }
    .custom-logo {
        max-height: 44px;
        max-width: 180px;
    }
}

@media (max-width: 540px) {
    .front-friss__grid { grid-template-columns: 1fr; }
    .front-section-more { width: 100%; text-align: right; }
}
