/*
Theme Name: explorerworld
Author: Antigravity
Description: Streetwear-inspired blog/magazine theme for explorerworld.hu — bold, textured, cream-and-red aesthetic.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: explorerworld
*/

/* =============================================
   CSS Variables
   ============================================= */
:root {
    --bg:      #f5f2ec;
    --dark:    #111111;
    --primary: #cc2200;
    --muted:   #777777;
    --border:  #e0dbd0;
    --bg-alt:  #1a1a1a;
    --white:   #ffffff;
    --radius:  0px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--dark);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
}

/* =============================================
   Container
   ============================================= */
.ew-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =============================================
   Header
   ============================================= */
.ew-header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.ew-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 32px;
}
.ew-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}
.ew-logo img {
    height: 36px;
    width: auto;
}
.ew-logo-text {
    font-family: 'Anton', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--dark);
}
.ew-logo-text span { color: var(--primary); }

.ew-nav {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
}
.ew-nav li a {
    display: block;
    padding: 8px 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark);
    transition: color 0.2s ease;
}
.ew-nav li a:hover { color: var(--primary); }

/* Hamburger */
.ew-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}
.ew-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s ease;
}

/* Mobile Nav */
.ew-mobile-nav {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}
.ew-mobile-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.ew-mobile-nav a {
    font-family: 'Anton', sans-serif;
    font-size: 36px;
    text-transform: uppercase;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}
.ew-mobile-nav a:hover { color: var(--primary); }
.ew-mobile-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

/* =============================================
   Category Badge
   ============================================= */
.cat-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    transition: background 0.2s ease;
    cursor: pointer;
}
.cat-badge:hover { background: var(--dark); color: var(--white); }

/* =============================================
   Buttons
   ============================================= */
.ew-btn {
    display: inline-block;
    background: var(--dark);
    color: var(--white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 24px;
    border: 2px solid var(--dark);
    border-radius: 0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.ew-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.ew-btn--outline {
    background: transparent;
    color: var(--dark);
}
.ew-btn--outline:hover { background: var(--dark); color: var(--white); }
.ew-btn--white {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
}
.ew-btn--white:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* =============================================
   Section Heading
   ============================================= */
.ew-section-heading {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 4vw, 46px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.0;
    color: var(--dark);
    margin-bottom: 40px;
}
.ew-section-heading--white { color: var(--white); }
.ew-section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--muted);
    margin-bottom: 12px;
}
.ew-section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
}

/* =============================================
   Card Image
   ============================================= */
.card-img {
    position: relative;
    overflow: hidden;
    background: #d0ccc4;
    width: 100%;
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
a:hover .card-img img { transform: scale(1.04); }

.card-img--600 { height: 600px; }
.card-img--400 { height: 400px; }
.card-img--300 { height: 300px; }
.card-img--220 { height: 220px; }
.card-img--200 { height: 200px; }

/* =============================================
   SZEKCIÓ 1 — HERO
   ============================================= */
.ew-hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}
.ew-hero__bg {
    position: absolute;
    inset: 0;
}
.ew-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ew-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.1) 100%);
}
.ew-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
}
.ew-hero__content .cat-badge { margin-bottom: 16px; }
.ew-hero__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.0;
    color: var(--white);
    max-width: 700px;
    margin-bottom: 20px;
    display: block;
    transition: opacity 0.2s ease;
}
.ew-hero__title:hover { opacity: 0.85; color: var(--white); }

/* =============================================
   SZEKCIÓ 2 — LEGFRISSEBB (3-col grid)
   ============================================= */
.ew-section { padding: 80px 0; }
.ew-section--alt { background: var(--bg-alt); }
.ew-section--border-top { border-top: 1px solid var(--border); }
.ew-section--flush { padding: 0; }

.ew-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.ew-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.ew-card {
    display: block;
    position: relative;
}
.ew-card__img-wrap {
    position: relative;
    overflow: hidden;
}
.ew-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}
.ew-card__body {
    padding: 16px 0 0;
}
.ew-card__title {
    font-family: 'Anton', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--dark);
    transition: color 0.2s ease;
}
.ew-card:hover .ew-card__title { color: var(--primary); }
.ew-card--dark .ew-card__title { color: var(--white); }
.ew-card--dark:hover .ew-card__title { color: var(--primary); }

/* =============================================
   SZEKCIÓ 3 — BREATHABLE. TEXTURED. MADE TO MOVE.
   Alternating image+text rows (6 posts)
   ============================================= */
.ew-alternate { border-top: 1px solid var(--border); }
.ew-alternate__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--border);
    min-height: 420px;
}
.ew-alternate__row--reverse {
    direction: rtl;
}
.ew-alternate__row--reverse > * {
    direction: ltr;
}
.ew-alternate__img {
    overflow: hidden;
}
.ew-alternate__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ew-alternate__row:hover .ew-alternate__img img {
    transform: scale(1.04);
}
.ew-alternate__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
    gap: 16px;
}
.ew-alternate__cat { }
.ew-alternate__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(24px, 3vw, 40px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--dark);
    transition: color 0.2s ease;
}
.ew-alternate__row:hover .ew-alternate__title { color: var(--primary); }
.ew-alternate__excerpt {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 420px;
}

/* =============================================
   SZEKCIÓ 4 — KIEMELT (4-col, dark bg)
   ============================================= */
.ew-section--dark {
    background: var(--dark);
    color: var(--white);
}
.ew-section--dark .ew-section-label { color: rgba(255,255,255,0.4); }
.ew-section--dark .ew-section-heading { color: var(--white); }
.ew-section--dark .cat-badge { }
.ew-section--dark .ew-card__body {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 14px 0 0;
}

/* =============================================
   Section heading block (label + heading pair)
   ============================================= */
.ew-section-head { margin-bottom: 40px; }
.ew-section-head--flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}
.ew-section-head--flex .ew-section-heading { margin-bottom: 0; }

/* =============================================
   Slider
   ============================================= */
.ew-slider {
    overflow: hidden;
}
.ew-slider__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.ew-slider__track::-webkit-scrollbar { display: none; }
.ew-slider__item {
    flex: 0 0 calc(25% - 15px);
    min-width: 0;
    scroll-snap-align: start;
}
.ew-slider__nav {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    padding-bottom: 4px;
}
.ew-slider__btn {
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
    line-height: 1;
}
.ew-slider__btn:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.ew-slider__btn:disabled {
    opacity: 0.3;
    cursor: default;
}

/* =============================================
   SZEKCIÓ 1 — HERO SPLIT
   ============================================= */
.ew-hero-split {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}
.ew-hero-split__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 480px;
}
.ew-hero-split__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}
.ew-hero-split__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(32px, 4.5vw, 58px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--dark);
    display: block;
    transition: color 0.2s ease;
}
.ew-hero-split__title:hover { color: var(--primary); }
.ew-hero-split__excerpt {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.65;
    max-width: 420px;
}
.ew-hero-split__img {
    overflow: hidden;
    height: 520px;
    background: #d0ccc4;
}
.ew-hero-split__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.ew-hero-split:hover .ew-hero-split__img img { transform: scale(1.03); }

/* =============================================
   SZEKCIÓ 2 — KIEMELT KÁRTYA (nagy kép + overlay)
   ============================================= */
.ew-featcard {
    display: block;
    position: relative;
    overflow: hidden;
    height: 500px;
    background: #d0ccc4;
}
.ew-featcard__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ew-featcard:hover .ew-featcard__img { transform: scale(1.03); }
.ew-featcard__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.08) 100%);
}
.ew-featcard__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.ew-featcard__content .ew-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
    padding-bottom: 48px;
}
.ew-featcard__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 4vw, 52px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.05;
    color: var(--white);
    max-width: 700px;
    transition: opacity 0.2s ease;
}
.ew-featcard:hover .ew-featcard__title { opacity: 0.9; }
.ew-featcard__excerpt {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    max-width: 540px;
}

/* =============================================
   SZEKCIÓ 3 — ALTERNÁLÓ lista (contained)
   ============================================= */
.ew-alt-list {
    display: flex;
    flex-direction: column;
}
.ew-alt-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
}
.ew-alt-row--reverse .ew-alt-row__img { order: 2; }
.ew-alt-row--reverse .ew-alt-row__text { order: 1; }
.ew-alt-row__img {
    overflow: hidden;
    height: 360px;
    background: #d0ccc4;
}
.ew-alt-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.ew-alt-row:hover .ew-alt-row__img img { transform: scale(1.04); }
.ew-alt-row__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}
.ew-alt-row__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(20px, 2vw, 28px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--dark);
    transition: color 0.2s ease;
}
.ew-alt-row:hover .ew-alt-row__title { color: var(--primary); }
.ew-alt-row__excerpt {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.65;
}
.ew-btn--sm {
    padding: 8px 16px;
    font-size: 10px;
}

/* =============================================
   SZEKCIÓ 5 — SZERKESZTŐI VÁLOGATÁS
   ============================================= */
.ew-editorial {
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.ew-editorial__grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
    align-items: start;
}
.ew-editorial__feature {
    display: block;
}
.ew-editorial__feature-img {
    height: 420px;
    overflow: hidden;
    background: #d0ccc4;
    margin-bottom: 24px;
}
.ew-editorial__feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.ew-editorial__feature:hover .ew-editorial__feature-img img { transform: scale(1.04); }
.ew-editorial__feature-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
.ew-editorial__feature-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(22px, 2.5vw, 34px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--dark);
    transition: color 0.2s ease;
}
.ew-editorial__feature:hover .ew-editorial__feature-title { color: var(--primary); }
.ew-editorial__feature-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}
.ew-editorial__list {
    display: flex;
    flex-direction: column;
}
.ew-editorial__list-header {
    padding-bottom: 16px;
    border-bottom: 2px solid var(--dark);
    margin-bottom: 0;
}
.ew-editorial__list-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 22px 0;
    border-bottom: 1px solid var(--border);
    transition: opacity 0.2s ease;
}
.ew-editorial__list-item:hover { opacity: 0.65; }
.ew-editorial__num {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 52px;
    line-height: 1;
    color: var(--border);
    flex-shrink: 0;
    width: 52px;
    text-align: right;
    transition: color 0.2s ease;
}
.ew-editorial__list-item:hover .ew-editorial__num { color: var(--primary); }
.ew-editorial__list-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    align-items: flex-start;
}
.ew-editorial__list-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.4vw, 19px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--dark);
}

/* =============================================
   Archive
   ============================================= */
.ew-archive-header {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}
.ew-archive-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
}
.ew-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 64px;
}
.ew-archive-card {
    display: block;
}
.ew-archive-card__img {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #d0ccc4;
    margin-bottom: 16px;
}
.ew-archive-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ew-archive-card:hover .ew-archive-card__img img { transform: scale(1.04); }
.ew-archive-card__title {
    font-family: 'Anton', sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}
.ew-archive-card:hover .ew-archive-card__title { color: var(--primary); }
.ew-archive-card__excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}
.ew-archive-card__cat {
    margin-bottom: 10px;
}

/* =============================================
   Single — Editorial Blog Layout
   ============================================= */
.single-article-header {
    padding: 72px 0 56px;
    border-bottom: 2px solid var(--dark);
}
.single-article-header__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.single-breadcrumb-link {
    color: var(--muted);
    transition: color 0.2s ease;
}
.single-breadcrumb-link:hover { color: var(--primary); }
.single-breadcrumb-sep { color: var(--border); }
.single-article-title {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: clamp(40px, 6vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.0;
    color: var(--dark);
    max-width: 900px;
    margin-bottom: 28px;
}
.single-article-lead {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.75;
    max-width: 640px;
    font-style: italic;
}
.single-article-img {
    border-bottom: 1px solid var(--border);
    margin-bottom: 64px;
}
.single-article-img img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* =============================================
   Single — Layout B (Szerkesztői hero) — megmarad fallbackként
   ============================================= */
.single-hero {
    position: relative;
    height: 560px;
    overflow: hidden;
    margin-bottom: 64px;
}
.single-hero__bg {
    position: absolute;
    inset: 0;
}
.single-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.single-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px;
}
.single-header--no-img {
    padding: 64px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}
.single-breadcrumb {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.single-breadcrumb a { color: var(--muted); }
.single-breadcrumb a:hover { color: var(--primary); }
.single-h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(32px, 5vw, 64px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.0;
    color: var(--white);
    margin-bottom: 20px;
}
.single-h1--dark { color: var(--dark); }
.single-cats { margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }

.single-content-wrap {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 32px;
    padding-bottom: 80px;
}
.single-content {
    font-size: 17px;
    line-height: 1.8;
    color: var(--dark);
}
.single-content h2,
.single-content h3 {
    font-family: 'Anton', sans-serif;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--dark);
    margin: 2.5rem 0 1rem;
}
.single-content h2 { font-size: 28px; }
.single-content h3 { font-size: 22px; }
.single-content p { margin-bottom: 1.5rem; }
.single-content img {
    border-radius: 0;
    margin: 2rem 0;
}
.single-content a { color: var(--primary); text-decoration: underline; }
.single-content a:hover { opacity: 0.8; }
.single-content ul, .single-content ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.single-content li { margin-bottom: 0.5rem; }
.single-content blockquote {
    border-left: 3px solid var(--primary);
    padding-left: 24px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--muted);
}

/* Video embed — responsive 16:9 */
.single-content .wp-block-embed,
.single-content .wp-block-embed__wrapper {
    width: 100% !important;
    max-width: 100% !important;
}
.single-content .wp-block-embed__wrapper {
    position: relative !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    overflow: hidden;
}
.single-content .wp-block-embed__wrapper::before { display: none !important; }
.single-content .wp-block-embed__wrapper iframe {
    position: absolute !important;
    top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
}

/* Related posts — Layout D (fehér, borderes kártyák) */
.related-section {
    background: var(--bg);
    padding: 64px 0;
    border-top: 2px solid var(--dark);
}
.related-heading {
    font-family: 'Anton', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 32px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.related-card {
    display: block;
    border: 1px solid var(--border);
    background: var(--white);
    transition: border-color 0.2s ease;
}
.related-card:hover { border-color: var(--dark); }
.related-card__img {
    height: 200px;
    overflow: hidden;
    background: #d0ccc4;
}
.related-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.related-card:hover .related-card__img img { transform: scale(1.04); }
.related-card__body {
    padding: 16px 20px 20px;
}
.related-card__cat { margin-bottom: 8px; }
.related-card__title {
    font-family: 'Anton', sans-serif;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--dark);
    transition: color 0.2s ease;
}
.related-card:hover .related-card__title { color: var(--primary); }

/* =============================================
   Page / 404
   ============================================= */
.page-section { padding: 80px 0; min-height: 60vh; }
.page-h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(36px, 6vw, 72px);
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
}
.page-content {
    font-size: 16px;
    line-height: 1.75;
    color: var(--dark);
    max-width: 720px;
}
.page-content p { margin-bottom: 1.25rem; }
.page-content a { color: var(--primary); text-decoration: underline; }

/* 404 */
.ew-404 {
    text-align: center;
    padding: 120px 0;
}
.ew-404__code {
    font-family: 'Anton', sans-serif;
    font-size: clamp(80px, 15vw, 180px);
    text-transform: uppercase;
    letter-spacing: -0.04em;
    color: var(--border);
    line-height: 1;
    margin-bottom: 0;
}
.ew-404__title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(24px, 4vw, 48px);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.ew-404__text {
    color: var(--muted);
    margin-bottom: 32px;
}

/* =============================================
   Pagination
   ============================================= */
.pagination-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 48px 0;
    border-top: 1px solid var(--border);
}
.pagination a, .pagination span {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border: 2px solid var(--dark);
    display: inline-block;
    transition: background 0.2s ease, color 0.2s ease;
}
.pagination a:hover { background: var(--dark); color: var(--white); }
.pagination .current {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* =============================================
   Footer
   ============================================= */
.ew-footer {
    background: var(--dark);
    color: var(--white);
    padding: 64px 0 32px;
}
.ew-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.ew-footer__logo {
    font-family: 'Anton', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 12px;
}
.ew-footer__logo span { color: var(--primary); }
.ew-footer__desc {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}
.ew-footer__col-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 20px;
}
.ew-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
}
.ew-footer__links li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s ease;
}
.ew-footer__links li a:hover { color: var(--primary); }
.ew-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =============================================
   Search
   ============================================= */
.ew-search-page { padding: 64px 0; }
.ew-search-title {
    font-family: 'Anton', sans-serif;
    font-size: clamp(28px, 4vw, 48px);
    text-transform: uppercase;
    margin-bottom: 40px;
}
.ew-search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ew-search-form {
    display: flex;
    gap: 0;
    margin-bottom: 48px;
    max-width: 600px;
}
.ew-search-form input[type="search"] {
    flex: 1;
    border: 2px solid var(--dark);
    border-right: none;
    padding: 12px 16px;
    font-size: 14px;
    background: var(--white);
    outline: none;
    font-family: 'Inter', sans-serif;
}
.ew-search-form button {
    background: var(--dark);
    color: var(--white);
    border: 2px solid var(--dark);
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    cursor: pointer;
    transition: background 0.2s ease;
}
.ew-search-form button:hover { background: var(--primary); border-color: var(--primary); }

/* =============================================
   Responsive — Tablet (≤991px)
   ============================================= */
@media (max-width: 991px) {
    .ew-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ew-footer__grid { grid-template-columns: 1fr 1fr; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
    .ew-archive-grid { grid-template-columns: repeat(2, 1fr); }
    .ew-search-grid { grid-template-columns: repeat(2, 1fr); }
    .ew-alternate__text { padding: 32px; }

    .ew-hero-split__inner { gap: 40px; }
    .ew-hero-split__img { height: 420px; }
    .ew-alt-row { gap: 40px; padding: 48px 0; }
    .ew-slider__item { flex: 0 0 calc(50% - 10px); }
    .ew-editorial__grid { gap: 40px; }
}

/* =============================================
   Responsive — Mobile (≤767px)
   ============================================= */
@media (max-width: 767px) {
    .ew-container { padding: 0 20px; }
    .ew-nav { display: none; }
    .ew-hamburger { display: flex; }

    .ew-hero { height: 420px; }
    .ew-hero__content { padding: 24px; }

    .ew-section { padding: 56px 0; }
    .ew-grid-3 { grid-template-columns: 1fr; }
    .ew-grid-4 { grid-template-columns: 1fr; }

    .ew-alternate__row { grid-template-columns: 1fr; min-height: auto; direction: ltr; }
    .ew-alternate__row--reverse { direction: ltr; }
    .ew-alternate__img { height: 300px; }
    .ew-alternate__text { padding: 24px; }
    .ew-alternate__title { font-size: 24px; }

    .single-article-header { padding: 48px 0 36px; }
    .single-article-title { font-size: clamp(32px, 8vw, 52px); margin-bottom: 20px; }
    .single-article-lead { font-size: 16px; }
    .single-article-img { margin-bottom: 40px; }

    .single-hero { height: 320px; }
    .single-hero__content { padding: 24px; }
    .single-content-wrap { padding: 0 20px 60px; }
    .single-h1 { font-size: clamp(28px, 8vw, 48px); }

    .related-grid { grid-template-columns: 1fr; }
    .ew-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .ew-archive-grid { grid-template-columns: 1fr; }
    .ew-search-grid { grid-template-columns: 1fr; }

    .card-img--220 { height: 300px; }
    .card-img--200 { height: 300px; }
    .card-img--400 { height: 300px; }
    .card-img--600 { height: 300px; }

    .ew-archive-card__img { height: 300px; }
    .related-card__img { height: 300px; }

    .ew-hero-split { padding: 48px 0; }
    .ew-hero-split__inner { grid-template-columns: 1fr; gap: 0; min-height: auto; }
    .ew-hero-split__text { padding-bottom: 32px; }
    .ew-hero-split__img { height: 300px; }

    .ew-featcard { height: 380px; }
    .ew-featcard__content .ew-container { padding-bottom: 24px; gap: 10px; }
    .ew-slider__item { flex: 0 0 calc(80% - 10px); }

    .ew-alt-row { grid-template-columns: 1fr; gap: 0; padding: 40px 0; }
    .ew-alt-row--reverse .ew-alt-row__img { order: 0; }
    .ew-alt-row--reverse .ew-alt-row__text { order: 0; }
    .ew-alt-row__img { height: 260px; margin-bottom: 24px; }
    .ew-editorial__grid { grid-template-columns: 1fr; gap: 0; }
    .ew-editorial__feature { margin-bottom: 48px; }
    .ew-editorial__feature-img { height: 280px; }

    .ew-section-heading { font-size: 28px; }
    .ew-archive-title { font-size: 36px; }

    .pagination-wrap { flex-direction: column; gap: 16px; text-align: center; }

    /* ticker mobilon */
    .ew-ticker a { font-size: 14px; }
}

/* =============================================
   GDPR Override
   ============================================= */
#cookie-notice-accept-button,
.cn-button,
.cli-plugin-button,
.moove-gdpr-infobar-allow-btn,
.cmplz-btn,
.cc-btn {
    border-radius: 0 !important;
    color: #ffffff !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}

#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content a.mgbutton,
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {
    color: #ffffff !important;
    border-radius: 0 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton {
    color: #ffffff !important;
    border-radius: 0 !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-footer-content .moove-gdpr-button-holder button.mgbutton.moove-gdpr-modal-save-settings {
    color: #ffffff !important;
}
#moove_gdpr_cookie_modal .moove-gdpr-modal-content .moove-gdpr-modal-left-content #moove-gdpr-menu li button {
    color: #111111 !important;
    border-radius: 0 !important;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:after,
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:before,
.gdpr-icon.moovegdpr-arrow-close:after,
.gdpr-icon.moovegdpr-arrow-close:before,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:after,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:before {
    color: #ffffff !important;
    transition: color 0.2s ease;
}
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:hover:after,
#moove_gdpr_cookie_info_bar .moove-gdpr-infobar-close-btn.moovegdpr-arrow-close:hover:before,
.gdpr-icon.moovegdpr-arrow-close:hover:after,
.gdpr-icon.moovegdpr-arrow-close:hover:before,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:hover:after,
i.moovegdpr-arrow-close.moovegdpr-arrow-close:hover:before {
    color: #111111 !important;
}
