/*
   BVV Budakeszi Theme
   Light, professional municipal design
   Inspired by bvv.budakeszi.hu
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --green:          #1b5e3b;
    --green-dark:     #163d28;
    --green-mid:      #226b45;
    --green-light:    #e8f5ee;
    --green-hover:    #144d30;
    --orange:         #f5a623;
    --orange-dark:    #e09318;
    --orange-light:   #fef3d8;

    --white:          #ffffff;
    --bg:             #f7f8f6;
    --bg-card:        #ffffff;
    --border:         #dde5db;
    --border-light:   #eff3ed;

    --text:           #1a2e1e;
    --text-muted:     #5a6e5d;
    --text-light:     #8fa28e;

    --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow:         0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
    --shadow-md:      0 8px 24px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.05);
    --shadow-lg:      0 16px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);

    --radius:         .75rem;
    --radius-lg:      1.25rem;
    --radius-xl:      1.75rem;

    --font:           'Inter', system-ui, -apple-system, sans-serif;
    --nav-h:          84px;
    --topbar-h:       38px;
}

/* Sötét téma (a header.php-ban beállított data-theme="dark" alapján) */
html[data-theme="dark"] {
    --green:          #3ea873;
    --green-dark:     #2f8a5c;
    --green-mid:      #339061;
    --green-light:    #12251a;
    --green-hover:    #4bbd82;
    --orange:         #f5a623;
    --orange-dark:    #f0b94f;
    --orange-light:   #3a2c10;

    --white:          #ffffff;
    --bg:             #10171c;
    --bg-card:        #171f26;
    --border:         #263139;
    --border-light:   #1e2830;

    --text:           #e7ede9;
    --text-muted:     #9fb0a5;
    --text-light:     #6d8177;

    --shadow-sm:      0 1px 3px rgba(0,0,0,.3), 0 1px 2px rgba(0,0,0,.2);
    --shadow:         0 4px 12px rgba(0,0,0,.35), 0 2px 4px rgba(0,0,0,.2);
    --shadow-md:      0 8px 24px rgba(0,0,0,.4), 0 4px 8px rgba(0,0,0,.2);
    --shadow-lg:      0 16px 40px rgba(0,0,0,.45), 0 8px 16px rgba(0,0,0,.25);
}
html[data-theme="dark"] #site-header { background: var(--bg-card); }

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.65;
    transition: background .2s, color .2s;
}

a { text-decoration: none; color: inherit; transition: color .2s; }
img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-label {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .4rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.15;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.section-header--center { justify-content: center; text-align: center; }

.section-all-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--green);
    white-space: nowrap;
    transition: gap .2s;
}
.section-all-link:hover { color: var(--green-dark); gap: .55rem; }

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--green);
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: .75rem 1.5rem;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background .2s, transform .15s, box-shadow .2s;
    box-shadow: 0 2px 8px rgba(27,94,59,.25);
}
.btn-primary:hover {
    background: var(--green-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(27,94,59,.30);
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    padding: .73rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid rgba(255,255,255,.7);
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: #fff; color: #fff; }

.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: transparent;
    color: var(--green);
    font-size: .9rem;
    font-weight: 600;
    padding: .73rem 1.5rem;
    border-radius: var(--radius);
    border: 2px solid var(--green);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.btn-outline-dark:hover { background: var(--green); color: #fff; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
    background: var(--green-dark);
    color: rgba(255,255,255,.8);
    font-size: .75rem;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
}
.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.topbar-link { color: rgba(255,255,255,.8); transition: color .2s; }
.topbar-link:hover { color: #fff; }
.topbar-sep { color: rgba(255,255,255,.3); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--green);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-shrink: 0;
    text-decoration: none;
}
.logo-mark { flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--green);
    letter-spacing: -.01em;
}
.logo-sub { font-size: .65rem; font-weight: 500; color: var(--text-muted); letter-spacing: .06em; text-transform: uppercase; }

/* Desktop nav */
.main-nav { margin-left: auto; }
.nav-list { display: flex; list-style: none; gap: .25rem; }
.nav-link {
    display: block;
    padding: .5rem .9rem;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    border-radius: .5rem;
    transition: color .2s, background .2s;
    position: relative;
}
.nav-link:hover { color: var(--green); background: var(--green-light); }
.nav-link.nav-active { color: var(--green); background: var(--green-light); }
.nav-link.nav-home { display: flex; align-items: center; justify-content: center; padding: .5rem .7rem; }
.nav-link.nav-home svg { display: block; }
.nav-link.nav-active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: .9rem;
    right: .9rem;
    height: 2px;
    background: var(--green);
    border-radius: 2px;
}

/* Header actions (search / theme toggle / hamburger) */
.header-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-left: auto;
}
.header-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid var(--border);
    border-radius: .5rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: border-color .2s, color .2s, background .2s;
    flex-shrink: 0;
}
.header-action-btn:hover { border-color: var(--green); color: var(--green); background: var(--green-light); }
#theme-toggle-btn .icon-moon { display: none; }
[data-theme="dark"] #theme-toggle-btn .icon-sun { display: none; }
[data-theme="dark"] #theme-toggle-btn .icon-moon { display: block; }

/* Keresés overlay */
.site-search-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(10, 20, 14, .55);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
}
.site-search-overlay.open { opacity: 1; pointer-events: auto; }
.site-search-overlay[hidden] { display: flex; }
.site-search-inner {
    display: flex;
    align-items: center;
    gap: .75rem;
    width: min(600px, 92vw);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: .75rem 1rem;
    transform: translateY(-12px);
    transition: transform .2s;
}
.site-search-overlay.open .site-search-inner { transform: translateY(0); }
.site-search-form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--text-light);
}
.site-search-form input {
    flex: 1;
    border: none;
    outline: none;
    background: none;
    font: inherit;
    font-size: 1.05rem;
    color: var(--text);
}
.site-search-close {
    background: none; border: none; cursor: pointer;
    color: var(--text-light);
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: .5rem;
    transition: background .2s, color .2s;
    flex-shrink: 0;
}
.site-search-close:hover { background: var(--green-light); color: var(--green); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 38px;
    height: 38px;
    background: none;
    border: 1px solid var(--border);
    border-radius: .5rem;
    cursor: pointer;
    padding: .5rem;
    transition: border-color .2s;
}
.nav-toggle:hover { border-color: var(--green); }
.hb-bar {
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

/* Mobile menu */
.mobile-menu {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: .75rem 1.5rem 1rem;
}
.mobile-menu[hidden] { display: none; }
.mobile-nav-list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.mobile-nav-link {
    display: block;
    padding: .6rem .9rem;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    border-radius: .5rem;
    transition: color .2s, background .2s;
}
.mobile-nav-link:hover,
.mobile-nav-link.nav-active { color: var(--green); background: var(--green-light); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    height: clamp(420px, 60vh, 680px);
    overflow: hidden;
    background: var(--green-dark);
}

.hero-slides { width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--green-dark);
    transform: scale(1.04);
}
.hero-slide.active .hero-slide-bg {
    animation: heroKenBurns 16s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
    0%   { transform: scale(1.04) translate(0, 0); }
    100% { transform: scale(1.14) translate(-1.5%, -1.5%); }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(22,61,40,.80) 0%, rgba(22,61,40,.45) 60%, rgba(22,61,40,.20) 100%);
}
.hero-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 55% 90% at 15% 50%, rgba(0,0,0,.7), transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 55% 90% at 15% 50%, rgba(0,0,0,.7), transparent 75%);
    opacity: .5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-content > * {
    opacity: 0;
    animation: heroFadeUp .7s cubic-bezier(.22,.68,.36,1) forwards;
}
.hero-content > .hero-badge { animation-delay: .1s; }
.hero-content > .hero-title { animation-delay: .22s; }
.hero-content > .hero-sub   { animation-delay: .34s; }
.hero-content > .hero-cta   { animation-delay: .46s; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(245,166,35,.15);
    border: 1px solid rgba(245,166,35,.4);
    color: var(--orange);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 999px;
    width: fit-content;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(1.8rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    max-width: 640px;
    text-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.hero-title strong {
    color: var(--orange);
    font-weight: 800;
    position: relative;
    display: inline-block;
}
.hero-title strong::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: .08em;
    height: .28em;
    background: rgba(245,166,35,.25);
    z-index: -1;
    border-radius: 3px;
}

.hero-sub {
    font-size: clamp(.95rem, 1.8vw, 1.1rem);
    color: rgba(255,255,255,.82);
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; }
.hero-cta .btn-primary, .hero-cta .btn-outline { transition: transform .25s ease, box-shadow .25s ease, background .2s, color .2s, border-color .2s; }
.hero-cta .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(245,166,35,.5); }
.hero-cta .btn-outline:hover { transform: translateY(-2px); }

@media (prefers-reduced-motion: reduce) {
    .hero-slide.active .hero-slide-bg { animation: none; }
    .hero-content > * { animation: none; opacity: 1; transform: none; }
}

.hero-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .5rem;
    z-index: 3;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: none;
    cursor: pointer;
    transition: background .25s, transform .25s;
    padding: 0;
}
.hero-dot.active { background: var(--orange); transform: scale(1.25); }

/* ============================================================
   QUICK INFO CARDS
   ============================================================ */
.quick-info {
    background: var(--white);
    padding: 2.5rem 0;
    box-shadow: var(--shadow-sm);
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.quick-card {
    background: var(--white);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: background .2s;
}
.quick-card:hover { background: var(--green-light); }

.quick-icon {
    width: 46px;
    height: 46px;
    background: var(--green-light);
    border-radius: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: .25rem;
    transition: background .2s, color .2s;
}
.quick-card:hover .quick-icon { background: var(--green); color: #fff; }

.quick-card h3 { font-size: .95rem; font-weight: 700; color: var(--text); }
.quick-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.55; flex: 1; }
.quick-link { font-size: .8rem; font-weight: 700; color: var(--green); margin-top: .25rem; transition: color .2s; }
.quick-card:hover .quick-link { color: var(--green-dark); }

/* ============================================================
   NEWS SECTION
   ============================================================ */
.news-section { padding: 4rem 0; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.news-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.news-card--featured {
    grid-column: span 3;
    flex-direction: row;
}
.news-card--featured .news-card-img-link { flex: 0 0 45%; }
.news-card--featured .news-card-body { padding: 2rem 2rem 2rem; }
.news-card--featured .news-title a { font-size: 1.3rem; }
.news-card--featured .news-excerpt { display: block; }

.news-card-img-link { display: block; overflow: hidden; position: relative; }
.news-cat-badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background: var(--green);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 999px;
    letter-spacing: .02em;
    z-index: 2;
}
.news-card-img-link img,
.news-card-img-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s;
}
.news-card:hover .news-card-img-link img { transform: scale(1.04); }
.news-card-img-placeholder { background: linear-gradient(135deg, var(--green-light), #d4ead9); }

.news-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: .5rem;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.news-title a { color: var(--text); transition: color .2s; }
.news-title a:hover { color: var(--green); }

.news-excerpt {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--green);
    margin-top: .5rem;
    transition: gap .2s, color .2s;
}
.news-read-more:hover { color: var(--green-dark); gap: .5rem; }

.news-empty { color: var(--text-muted); font-style: italic; text-align: center; padding: 2rem; }

/* ============================================================
   KIEMELT FELHÍVÁS BANNEREK (2 nagy kártya, hírek blokk felett)
   ============================================================ */
.feature-banners { padding: 3rem 0 3.5rem; }

.feature-banner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: .65rem;
    min-height: 220px;
    padding: 2rem 2.25rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .25s, box-shadow .25s;
}
.feature-banner:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
}

.feature-banner-fade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.feature-banner-title {
    position: relative;
    z-index: 2;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
    max-width: 15rem;
}

.feature-banner-cta {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: .4rem;
    font-size: .88rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
    transition: gap .2s;
}
.feature-banner:hover .feature-banner-cta { gap: .65rem; }

/* --- Ágaprítás: őszi, faágas hangulat --- */
.feature-banner--agdaralas { background: #c2680f; }
.feature-banner--agdaralas .feature-banner-fade {
    background: linear-gradient(100deg, #c2680f 0%, #c2680f 32%, rgba(194,104,15,.65) 55%, transparent 85%);
}

/* --- Gyümölcsfa: friss zöld, kertészeti hangulat --- */
.feature-banner--gyumolcsfa { background: var(--green-dark); }
.feature-banner--gyumolcsfa .feature-banner-fade {
    background: linear-gradient(100deg, var(--green-dark) 0%, var(--green-dark) 32%, rgba(22,61,40,.65) 55%, transparent 85%);
}

@media (max-width: 760px) {
    .feature-banner-grid { grid-template-columns: 1fr; }
    .feature-banner-title { max-width: none; }
}

/* ============================================================
   PROMO BANNERS (tájékoztató sávok a főoldalon)
   ============================================================ */
.promo-banners { padding: 0 0 4rem; }

.promo-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.promo-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 190px;
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s;
}
.promo-banner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.promo-banner-title {
    position: relative;
    font-weight: 800;
    font-size: 1.15rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: .01em;
}

/* --- Sportpálya --- */
.promo-banner--field {
    background:
        linear-gradient(180deg, rgba(10,30,15,.35), rgba(10,30,15,.62)),
        repeating-linear-gradient(90deg, #2f8a4c 0 40px, #35994f 40px 80px);
}
.promo-banner--field .promo-banner-title {
    color: var(--orange);
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
    -webkit-text-stroke: .4px rgba(0,0,0,.15);
}

/* --- Kisokos --- */
.promo-banner--kisokos { background: var(--white); border: 1px solid var(--border); }
.promo-banner-icons { display: flex; gap: .5rem; }
.promo-banner-icon {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    background: var(--green-light);
    color: #1d6fb8;
    border-radius: .5rem;
    box-shadow: var(--shadow-sm);
    transform: rotate(-4deg);
}
.promo-banner-icon:nth-child(2) { transform: rotate(3deg); }
.promo-banner-icon:nth-child(3) { transform: rotate(-2deg); }
.promo-banner-icon:nth-child(4) { transform: rotate(4deg); }
.promo-banner-icon--at { font-weight: 800; font-size: 1.05rem; }
.promo-banner-title--kisokos { color: #1d6fb8; }

/* --- Hulladéknaptár --- */
.promo-banner--waste {
    background: linear-gradient(135deg, var(--green-dark), var(--green-mid) 60%, #2f8a4c);
}
.promo-banner--waste::after {
    content: "";
    position: absolute; inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px);
    pointer-events: none;
}
.promo-banner-year {
    position: relative;
    font-weight: 800;
    font-size: 1.9rem;
    color: var(--white);
    line-height: 1;
}
.promo-banner-title--waste { color: var(--orange); }

/* --- Zöld munkacsoport --- */
.promo-banner--green {
    background:
        linear-gradient(180deg, rgba(10,30,15,.18), rgba(10,30,15,.6)),
        url('../../uploads/zold-munkacsoport/card.jpg') center / cover no-repeat;
}
.promo-banner-title--green {
    color: var(--white);
    text-shadow: 0 2px 6px rgba(0,0,0,.45);
    -webkit-text-stroke: .4px rgba(0,0,0,.15);
}

@media (max-width: 900px) {
    .promo-banner-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .promo-banner-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
    background: var(--white);
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-item {
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    transition: border-color .2s, background .2s, box-shadow .2s, transform .2s;
}
.service-item:hover {
    border-color: var(--green);
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.service-icon {
    width: 52px;
    height: 52px;
    background: var(--green-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    transition: background .2s, color .2s;
}
.service-item:hover .service-icon { background: var(--green); color: #fff; }

.service-item h3 { font-size: .95rem; font-weight: 700; color: var(--text); }
.service-item p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section { padding: 4rem 0; }

.cta-inner {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-lg);
}

.cta-text h2 { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 800; color: #fff; }
.cta-text p { color: rgba(255,255,255,.8); font-size: .95rem; margin-top: .4rem; }

.cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; flex-shrink: 0; }

/* ============================================================
   ARCHIVE PAGE
   ============================================================ */
.archive-wrap { padding-bottom: 4rem; }

.archive-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%);
    padding: 1.6rem 0;
    margin-bottom: 2.25rem;
    isolation: isolate;
    box-shadow: 0 10px 30px -14px rgba(22,61,40,.55);
}
.archive-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(0,0,0,.9), transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(0,0,0,.9), transparent 75%);
    pointer-events: none;
}
.archive-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    pointer-events: none;
}
.archive-hero-glow {
    position: absolute;
    top: -90px;
    right: 8%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.32) 0%, rgba(245,166,35,0) 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: 0;
}
.archive-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.archive-hero-left { display: flex; align-items: center; gap: .9rem; }
.archive-hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 12px;
    background: linear-gradient(155deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
    border: 1px solid rgba(255,255,255,.22);
    color: var(--orange);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 12px -4px rgba(0,0,0,.35);
    flex-shrink: 0;
}
.archive-hero-text { display: flex; flex-direction: column; gap: .1rem; }
.archive-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--orange);
}
.archive-eyebrow::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(245,166,35,.25);
}
.archive-title { font-size: clamp(1.25rem, 2.4vw, 1.55rem); font-weight: 800; color: #fff; margin: 0; letter-spacing: -.01em; line-height: 1.2; }
.archive-hero-count {
    flex-shrink: 0;
    font-size: .76rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.16);
    padding: .4rem .8rem;
    border-radius: 999px;
    white-space: nowrap;
}
.archive-meta { color: rgba(255,255,255,.65); font-size: .82rem; margin-top: .15rem; }

@media (max-width: 640px) {
    .archive-hero-count { display: none; }
}

.archive-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: flex-start;
}

.archive-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

/* Archive grid */
.archive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.arch-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .25s;
}
.arch-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.arch-card-img-wrap { display: block; overflow: hidden; position: relative; }
.arch-card-img-wrap img,
.arch-card-img-ph {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: transform .5s;
}
.arch-card:hover .arch-card-img-wrap img { transform: scale(1.05); }
.arch-card-img-ph { background: linear-gradient(135deg, var(--green-light), #d4ead9); }

.arch-cat-badge {
    position: absolute;
    top: .6rem;
    left: .6rem;
    background: var(--green);
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: .25rem .7rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.arch-card-body {
    padding: 1.25rem 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    flex: 1;
}

.arch-date {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .73rem;
    color: var(--text-muted);
}

.arch-title {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.arch-title a { color: var(--text); transition: color .2s; }
.arch-title a:hover { color: var(--green); }

.arch-excerpt {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.arch-more {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .78rem;
    font-weight: 700;
    color: var(--green);
    margin-top: .4rem;
    transition: gap .2s;
}
.arch-more:hover { gap: .5rem; }

/* Pagination */
.arch-pagination {
    display: flex;
    gap: .4rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.arch-page-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: .5rem;
    font-size: .85rem;
    font-weight: 700;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--white);
    transition: all .2s;
}
.arch-page-btn:hover { border-color: var(--green); color: var(--green); }
.arch-page-btn.active { background: var(--green); color: #fff; border-color: var(--green); }

/* Archive sidebar */
.archive-sidebar { position: sticky; top: calc(var(--nav-h) + .75rem + var(--topbar-h)); }

.arch-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.5rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.arch-widget-title {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.arch-search-form {
    position: relative;
    display: flex;
}
.arch-search-input {
    width: 100%;
    padding: .6rem 2.5rem .6rem .9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: .85rem;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.arch-search-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(27,94,59,.1); }
.arch-search-btn {
    position: absolute;
    right: .4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.8rem;
    height: 1.8rem;
    background: var(--green);
    border: none;
    border-radius: .4rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}
.arch-search-btn:hover { background: var(--green-dark); }

.arch-cat-list { list-style: none; display: flex; flex-direction: column; gap: .15rem; }
.arch-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem .65rem;
    border-radius: .5rem;
    font-size: .83rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: background .2s, color .2s;
}
.arch-cat-link:hover, .arch-cat-link.active { background: var(--green-light); color: var(--green); font-weight: 600; }
.arch-cat-count {
    background: var(--bg);
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 999px;
    color: var(--text-muted);
}
.arch-cat-link.active .arch-cat-count { background: rgba(27,94,59,.12); color: var(--green); }

.arch-recent-list { list-style: none; display: flex; flex-direction: column; gap: .25rem; }
.arch-recent-item {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .5rem .4rem;
    border-radius: .5rem;
    transition: background .2s;
}
.arch-recent-item:hover { background: var(--green-light); }
.arch-recent-thumb {
    width: 48px;
    height: 48px;
    border-radius: .5rem;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--green-light);
    border: 1px solid var(--border);
}
.arch-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.arch-recent-title { font-size: .78rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.arch-recent-item:hover .arch-recent-title { color: var(--green); }
.arch-recent-date { font-size: .7rem; color: var(--text-light); margin-top: .15rem; display: block; }

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-wrap { padding-bottom: 4rem; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--text); font-weight: 500; }

/* Hero fejléc: kiemelt kép háttérrel (photo), vagy márkázott gradiens (default) */
.single-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    isolation: isolate;
    box-shadow: 0 10px 30px -14px rgba(22,61,40,.5);
}
.single-hero:not(.single-hero--photo) {
    background: linear-gradient(120deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%);
}
/* Kép nélküli fejléc: koncentrikus körök jobbra, hogy szándékos dizájn legyen,
   ne "hiányzó kép" — a fotós változatnál ez zavarná a képet, ezért csak itt. */
.single-hero:not(.single-hero--photo)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -70px;
    width: 340px;
    height: 340px;
    transform: translateY(-50%);
    border-radius: 50%;
    background:
        radial-gradient(circle, transparent 62%, rgba(255,255,255,.07) 62.5% 63.5%, transparent 64%),
        radial-gradient(circle, transparent 44%, rgba(255,255,255,.09) 44.5% 45.5%, transparent 46%),
        radial-gradient(circle, transparent 26%, rgba(245,166,35,.22) 26.5% 28%, transparent 28.5%);
    pointer-events: none;
    z-index: 0;
}
.single-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.16) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(0,0,0,.9), transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 60% 100% at 0% 50%, rgba(0,0,0,.9), transparent 75%);
    pointer-events: none;
    z-index: 0;
}
.single-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -1; }
.single-hero-overlay {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgba(10,20,14,.1) 0%, rgba(9,18,12,.8) 100%);
}
.single-hero-glow {
    position: absolute;
    top: -90px;
    right: 8%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.32) 0%, rgba(245,166,35,0) 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: 0;
}
.single-hero-inner {
    position: relative;
    z-index: 1;
    padding: 1.5rem 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
}
.single-hero--photo .single-hero-inner { padding: 1.5rem 0 2.5rem; min-height: 320px; }
/* fotós hero: a breadcrumb a tetején marad, a többi a doboz aljára rendeződik */
.single-hero-breadcrumb + * { margin-top: auto; }

.single-hero-breadcrumb { margin-bottom: 0; color: rgba(255,255,255,.65); }
.single-hero-breadcrumb a { color: rgba(255,255,255,.75); }
.single-hero-breadcrumb a:hover { color: #fff; }
.single-hero-breadcrumb span { color: rgba(255,255,255,.95); }

.single-hero-cats { display: flex; gap: .5rem; flex-wrap: wrap; }
.single-hero-cat-badge {
    display: inline-block;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .3rem .8rem;
    border-radius: 999px;
    letter-spacing: .06em;
    text-transform: uppercase;
    transition: background .2s;
}
.single-hero-cat-badge:hover { background: rgba(255,255,255,.26); }
.single-hero-title {
    max-width: 42rem;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.01em;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.3);
}
.single-hero-meta { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.single-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .82rem;
    color: rgba(255,255,255,.8);
}

.single-excerpt { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 2rem; }

.single-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Post body content */
.post-body { line-height: 1.8; font-size: 1.02rem; color: var(--text); }
.post-body h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
    padding-left: .85rem;
    border-left: 4px solid var(--orange);
    color: var(--text);
    scroll-margin-top: calc(var(--nav-h) + var(--topbar-h) + 1.25rem);
}
.post-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 1.75rem 0 .6rem;
    color: var(--green);
    scroll-margin-top: calc(var(--nav-h) + var(--topbar-h) + 1.25rem);
}
.post-body p { margin-bottom: 1.1rem; }
.post-body > p:first-of-type {
    font-size: 1.1rem;
    color: var(--text-muted);
}
.post-body ul, .post-body ol { margin: 0 0 1.25rem .25rem; }
.post-body ul { list-style: none; }
.post-body ul li {
    position: relative;
    padding-left: 1.4rem;
    margin-bottom: .55rem;
}
.post-body ul li::before {
    content: "";
    position: absolute;
    left: .15rem;
    top: .6rem;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: var(--orange);
}
.post-body ol { margin-left: 1.4rem; }
.post-body ol li { margin-bottom: .55rem; padding-left: .25rem; }
.post-body a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.post-body a:hover { color: var(--green-dark); }
.post-body img { max-width: 100%; border-radius: var(--radius); margin: 1.5rem 0; box-shadow: var(--shadow); }
.post-body blockquote {
    border-left: 4px solid var(--green);
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    background: var(--green-light);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--text-muted);
}
.post-body strong { font-weight: 700; }
.post-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ------------------------------------------------------------
   Elérhetőség-lista (.dir-*) — újrafelhasználható blokk a poszt
   HTML-tartalmában (pl. "Budakeszi Kisokos" telefonszám-gyűjtemény).
   A szabályok .post-body alá vannak kötve, hogy felülírják a
   fenti általános bekezdés-/lista-stílusokat.
   ------------------------------------------------------------ */
.post-body .dir-emergency {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    margin: 1.75rem 0 2rem;
    padding: 1.15rem 1.35rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(120deg, #b3261e 0%, #d3372e 100%);
    color: #fff;
    box-shadow: 0 10px 26px -12px rgba(179,38,30,.7);
}
.post-body .dir-emergency-num {
    flex-shrink: 0;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
}
.post-body .dir-emergency-num a { color: #fff; text-decoration: none; }
.post-body .dir-emergency-num a:hover { text-decoration: underline; }
.post-body .dir-emergency-text { display: flex; flex-direction: column; gap: .2rem; }
.post-body .dir-emergency-text strong {
    font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.post-body .dir-emergency-text span { font-size: .86rem; line-height: 1.5; color: rgba(255,255,255,.9); }

.post-body .dir-group { margin: 1.75rem 0; }
/* A tartalomjegyzék-generátor újraépíti a h2/h3 tageket (csak id marad),
   ezért leszármazott-szelektorral stílusozunk, nem osztállyal. */
.post-body .dir-group h3 {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin: 0 0 .65rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--green);
}
.post-body .dir-group h3::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.post-body .dir-list {
    margin: 0;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.post-body .dir-list li {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: .72rem 1rem;
    border-top: 1px solid var(--border-light);
    transition: background .15s;
}
.post-body .dir-list li:first-child { border-top: none; }
.post-body .dir-list li::before { content: none; }
.post-body .dir-list li:hover { background: var(--green-light); }

.post-body .dir-name { font-size: .92rem; line-height: 1.4; color: var(--text); }
.post-body .dir-role { display: block; margin-top: .1rem; font-size: .78rem; color: var(--text-muted); }

.post-body .dir-tels { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; flex-shrink: 0; }
.post-body .dir-tel {
    font-size: .92rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.post-body .dir-tel:hover { color: var(--green-dark); text-decoration: underline; }
.post-body .dir-ext { font-weight: 600; color: var(--text-muted); }

.post-body .dir-note {
    margin: .55rem 0 0;
    padding: .6rem .85rem;
    background: var(--orange-light);
    border-left: 3px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: .83rem;
    line-height: 1.5;
    color: var(--text-muted);
}

@media (max-width: 520px) {
    .post-body .dir-emergency { flex-direction: column; align-items: flex-start; gap: .6rem; }
    .post-body .dir-list li { flex-direction: column; align-items: flex-start; gap: .25rem; }
    .post-body .dir-tels { align-items: flex-start; }
}

/* Share */
.single-share {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 2rem 0 1.25rem;
    flex-wrap: wrap;
}
.share-label { font-size: .82rem; font-weight: 600; color: var(--text-muted); }
.share-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .4rem .85rem;
    border-radius: .5rem;
    font-size: .78rem;
    font-weight: 600;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    transition: all .2s;
    font-family: var(--font);
}
.share-fb { color: #1877f2; border-color: rgba(24,119,242,.25); }
.share-fb:hover { background: rgba(24,119,242,.08); }
.share-copy:hover { background: var(--green-light); color: var(--green); border-color: var(--green); }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--green);
    transition: gap .2s;
}
.back-link:hover { gap: .6rem; }

/* Single sidebar */
.single-sidebar { position: sticky; top: calc(var(--nav-h) + .75rem + var(--topbar-h)); }
.single-sidebar.no-sticky { position: static; }
.single-sidebar-sticky { display: flex; flex-direction: column; gap: 1.25rem; }

.single-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.4rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-muted);
    margin-bottom: .85rem;
}

.toc-list { list-style: none; display: flex; flex-direction: column; gap: .15rem; }
.toc-list li a {
    display: block;
    padding: .35rem .6rem;
    font-size: .82rem;
    color: var(--text-muted);
    border-radius: .4rem;
    transition: background .2s, color .2s;
}
.toc-list li a:hover { background: var(--green-light); color: var(--green); }
.toc-sub > a { padding-left: 1.25rem; font-size: .78rem; }

/* Related posts */
.related-posts { margin-top: 3.5rem; }
.related-title { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 1.5rem; }

/* ============================================================
   INNER PAGE
   ============================================================ */
.inner-page { padding: 3rem 0 5rem; }
.inner-page-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    margin: 1rem 0 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}
.inner-page-body { max-width: 800px; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page { padding: 2.25rem 0 5rem; }

/* Quick action bar (hero) */
.contact-quickbar {
    display: flex;
    gap: .75rem;
    margin-top: 1.6rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.contact-quickbar a {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    padding: .65rem 1.1rem;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 600;
}
.contact-quickbar-ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.contact-quickbar-ghost svg { color: var(--orange); }
.contact-quickbar-solid { background: var(--orange); color: var(--green-dark); font-weight: 700; }

.contact-panel {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 3.5rem;
}

.contact-info-card { padding: 2.25rem; display: flex; flex-direction: column; gap: 1.6rem; }
.contact-card-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}
.contact-card-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 10px;
    background: var(--green-light);
    color: var(--green);
    flex-shrink: 0;
}
.contact-detail-list { list-style: none; display: flex; flex-direction: column; gap: 1.15rem; }
.contact-detail-list li { display: flex; align-items: flex-start; gap: .85rem; }
.contact-detail-list svg { flex-shrink: 0; margin-top: 2px; color: var(--text-light); }
.contact-detail-list li > div { display: flex; flex-direction: column; gap: .15rem; }
.contact-detail-list strong { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }
.contact-detail-list span { font-size: .98rem; color: var(--text); }
.contact-detail-list span a { color: var(--text); font-weight: 600; }
.contact-detail-list span a:hover { color: var(--green); }
.contact-detail-divider { height: 1px; background: var(--border-light); margin: .2rem 0; }

.contact-map {
    position: relative;
    min-height: 420px;
    border-left: 1px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: saturate(.92) contrast(1.02); }
.contact-map-badge {
    position: absolute;
    left: 1.1rem;
    bottom: 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    border-radius: 1rem;
    padding: .85rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    max-width: 78%;
}
.contact-map-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 8px;
    background: var(--orange-light);
    color: var(--orange-dark);
    flex-shrink: 0;
}
.contact-map-badge strong { display: block; font-size: .78rem; font-weight: 700; color: var(--text); }
.contact-map-badge span { font-size: .76rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.contact-section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}
.contact-section-title { font-size: 1.4rem; font-weight: 800; color: var(--text); margin: 0; letter-spacing: -.01em; }
.contact-section-count { font-size: .82rem; color: var(--text-light); font-weight: 600; }

.staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
.staff-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-light); }

.staff-card-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--green-light) 0%, var(--bg-card) 55%);
    padding: 1.75rem;
    display: flex;
    gap: 1.4rem;
    align-items: center;
}
.staff-card-featured .staff-avatar {
    width: 4.5rem; height: 4.5rem;
    font-size: 1.3rem;
    background: linear-gradient(140deg, var(--green) 0%, var(--green-mid) 100%);
    color: #fff;
    box-shadow: 0 0 0 4px var(--bg-card), 0 4px 14px -4px rgba(27,94,59,.4);
    margin-bottom: 0;
    flex-shrink: 0;
}
.staff-card-featured-body { flex: 1; min-width: 0; }
.staff-card-featured-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: .3rem; }
.staff-card-featured-head .staff-name { margin: 0; font-size: 1.12rem; }
.staff-badge {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--orange-dark);
    background: var(--orange-light);
    padding: .25rem .55rem;
    border-radius: 999px;
}
.staff-card-featured .staff-meta { flex-direction: row; gap: 1.4rem; flex-wrap: wrap; margin-top: .7rem; }
.staff-card-featured .staff-meta li { font-size: .84rem; }

.staff-card-body { display: flex; align-items: center; gap: .9rem; }
.staff-card-body .staff-avatar { margin-bottom: 0; }
.staff-card-heading { min-width: 0; }
.staff-card .staff-role-inline { font-size: .72rem; font-weight: 600; color: var(--text-muted); }
.staff-card-divider { height: 1px; background: var(--border-light); margin: 1rem 0; }

.staff-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .85rem; letter-spacing: .02em;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.staff-name { font-size: .98rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.staff-role { font-size: .84rem; color: var(--orange-dark); font-weight: 600; margin-bottom: 1rem; }
.staff-meta { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.staff-meta li { display: flex; align-items: flex-start; gap: .5rem; font-size: .82rem; color: var(--text-muted); }
.staff-meta svg { flex-shrink: 0; margin-top: 2px; color: var(--text-light); }
.staff-meta a { color: var(--text-muted); }
.staff-meta a:hover { color: var(--green); }

@media (max-width: 860px) {
    .contact-panel { grid-template-columns: 1fr; }
    .contact-map { min-height: 260px; border-left: none; border-top: 1px solid var(--border); }
    .staff-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
    .staff-card-featured { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-dark); color: rgba(255,255,255,.75); margin-top: 0; }

.footer-top { padding: 4rem 0 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-logo { display: block; margin-bottom: 1rem; }

.footer-tagline {
    font-size: .82rem;
    color: rgba(255,255,255,.55);
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    font-size: .82rem;
    color: rgba(255,255,255,.65);
}
.footer-contact-list li a { color: rgba(255,255,255,.7); transition: color .2s; }
.footer-contact-list li strong { color: rgba(255,255,255,.9); font-weight: 600; }
.footer-contact-list li a:hover { color: #fff; }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; }

.footer-col-title {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(255,255,255,.45);
    margin-bottom: 1rem;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links li {
    font-size: .84rem;
    color: rgba(255,255,255,.65);
}
.footer-links li a { color: rgba(255,255,255,.65); transition: color .2s; }
.footer-links li a:hover { color: #fff; }

.footer-hours { gap: 0 !important; }
.footer-hours li {
    display: flex;
    justify-content: space-between;
    padding: .3rem 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-size: .82rem;
}
.footer-hours .day { color: rgba(255,255,255,.65); }
.footer-hours .time { font-weight: 600; color: rgba(255,255,255,.8); }

.footer-emergency {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .8rem;
    color: var(--orange);
    margin-top: .75rem;
}
.footer-emergency a { color: var(--orange); font-weight: 700; }
.footer-emergency a:hover { text-decoration: underline; }

.footer-bottom {
    padding: 1.25rem 0;
}
.footer-bottom-inner {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .75rem;
}
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; align-items: center; gap: .5rem; font-size: .78rem; }
.footer-bottom-links a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }
.footer-bottom-links span { color: rgba(255,255,255,.2); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    z-index: 9999;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 1rem 1.25rem;
    width: min(620px, calc(100vw - 2rem));
    transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); }

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: .85rem;
    flex-wrap: wrap;
    font-size: .84rem;
    color: var(--text-muted);
}

.cookie-actions { display: flex; gap: .5rem; margin-left: auto; }
.cookie-btn {
    font-size: .8rem;
    font-weight: 600;
    padding: .4rem .9rem;
    border-radius: .5rem;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    transition: all .2s;
}
.cookie-accept { background: var(--green); color: #fff; }
.cookie-accept:hover { background: var(--green-dark); }
.cookie-decline { background: var(--bg); color: var(--text-muted); border: 1px solid var(--border); }
.cookie-decline:hover { background: var(--border); }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#stt-btn {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 500;
    width: 42px;
    height: 42px;
    background: var(--green);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s, background .2s;
    pointer-events: none;
}
#stt-btn.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
#stt-btn:hover { background: var(--green-dark); }

/* ============================================================
   PAGE TRANSITIONS
   ============================================================ */
html.page-entering body { opacity: 0; }
html.page-leaving body { opacity: 0; transition: opacity .25s ease; }
body { transition: opacity .25s ease; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card--featured { grid-column: span 2; flex-direction: column; }
    .news-card--featured .news-card-img-link { flex: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-info-grid { grid-template-columns: repeat(2, 1fr); }
    .archive-layout { grid-template-columns: 1fr 260px; gap: 1.75rem; }
    .single-layout { grid-template-columns: 1fr 240px; gap: 2rem; }
    .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
    :root { --topbar-h: 0px; }
    .topbar { display: none; }
    .nav-toggle { display: flex; }
    .main-nav { display: none; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card--featured { grid-column: span 1; }
    .services-grid { grid-template-columns: 1fr; }
    .archive-layout { grid-template-columns: 1fr; }
    .archive-sidebar { position: static; }
    .archive-grid { grid-template-columns: 1fr; }
    .single-layout { grid-template-columns: 1fr; }
    .single-sidebar { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; }
    .cta-inner { padding: 2rem 1.5rem; }
    .section-header { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

@media (max-width: 480px) {
    .quick-info-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn-primary,
    .hero-cta .btn-outline { width: 100%; justify-content: center; }
}

/* ============================================================
   GYÜMÖLCSFA RENDELÉS (page-gyumolcsfa-rendeles.php)
   ============================================================ */
.gyf-page { padding: 2.25rem 0 5rem; }

.gyf-hero-lead {
    position: relative;
    z-index: 1;
    max-width: 62ch;
    margin-top: 1rem;
    color: rgba(255,255,255,.82);
    font-size: .95rem;
    line-height: 1.65;
}

/* --- Hero: két hasáb, jobbra fotó (ua. minta, mint az ágdarálás .adr-hero-media-je) --- */
.gyf-hero-inner { gap: 2.5rem; flex-wrap: wrap; }
.gyf-hero-content { flex: 1 1 420px; display: flex; flex-direction: column; gap: 0; }
.gyf-hero-media {
    flex: 0 0 300px;
    max-width: 300px;
    position: relative;
}
.gyf-hero-media::before {
    content: "";
    position: absolute;
    inset: -14%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%);
    pointer-events: none;
}
.gyf-hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
}
@media (max-width: 900px) {
    .gyf-hero-inner { flex-direction: column; text-align: center; }
    .gyf-hero-content { align-items: center; max-width: 100%; }
    .gyf-hero-media { order: -1; max-width: 260px; }
}

/* --- Kiemelt adatok --- */
.gyf-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}
.gyf-fact {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}
.gyf-fact-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: linear-gradient(150deg, var(--green) 0%, var(--green-mid) 100%);
    color: #fff;
    box-shadow: 0 6px 14px -8px rgba(22,61,40,.7);
}
.gyf-fact-body { min-width: 0; }
.gyf-fact-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--text);
    margin: 0 0 .35rem;
}
.gyf-fact-text { font-size: .86rem; line-height: 1.55; color: var(--text-muted); margin: 0; }
.gyf-fact-text strong { color: var(--text); }
.gyf-fact-price { font-size: 1.5rem; font-weight: 800; color: var(--green); margin: 0; letter-spacing: -.02em; }
.gyf-fact-price span { font-size: .85rem; font-weight: 500; color: var(--text-light); }
.gyf-fact-strong { font-size: .95rem; font-weight: 700; color: var(--text); margin: 0; }
.gyf-fact-deadline { font-size: .78rem; font-weight: 700; color: #c0392b; margin: .1rem 0 0; }
html[data-theme="dark"] .gyf-fact-deadline { color: #ff8a75; }

/* --- Tudnivalók (1-2. lépés) --- */
.gyf-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.gyf-step {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
}
.gyf-step-title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border-light);
}
.gyf-step-num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
}
.gyf-step-text { font-size: .89rem; line-height: 1.7; color: var(--text-muted); margin: 0 0 .9rem; }
.gyf-step-text:last-child { margin-bottom: 0; }
.gyf-step-text strong { color: var(--text); }
.gyf-link { color: var(--green); font-weight: 700; }
.gyf-link:hover { text-decoration: underline; }

.gyf-note {
    border-radius: var(--radius);
    padding: .9rem 1rem;
    font-size: .87rem;
    line-height: 1.6;
    margin: 0 0 .9rem;
}
.gyf-note-warn {
    background: var(--orange-light);
    border-left: 4px solid var(--orange);
    color: var(--text);
}
.gyf-note-warn a { color: var(--green); font-weight: 700; text-decoration: underline; }
.gyf-note-plain {
    background: var(--green-light);
    border: 1px solid var(--border);
    color: var(--text-muted);
}
.gyf-note-plain strong { display: block; color: var(--text); margin-bottom: .25rem; }
.gyf-note-plain span { display: block; }

/* --- Átvétel / CTA --- */
.gyf-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: var(--green-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1.6rem;
    margin-bottom: 3rem;
}
.gyf-cta-text h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 .3rem; }
.gyf-cta-text p { font-size: .88rem; line-height: 1.6; color: var(--text-muted); margin: 0; }
.gyf-cta-small { font-size: .78rem !important; font-style: italic; margin-top: .3rem !important; }
.gyf-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    padding: .85rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: background .18s ease, transform .18s ease;
    white-space: nowrap;
}
.gyf-cta-btn:hover { background: var(--green-hover); transform: translateY(-1px); }
html[data-theme="dark"] .gyf-cta-btn { color: var(--green-dark); }

/* --- Fajták --- */
.gyf-varieties-head { text-align: center; max-width: 42rem; margin: 0 auto 2rem; }
.gyf-pill {
    display: inline-block;
    background: var(--green-light);
    color: var(--green);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .35rem .8rem;
    border-radius: 999px;
}
.gyf-varieties-title {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--text);
    margin: .6rem 0 .4rem;
    letter-spacing: -.02em;
}
.gyf-varieties-lead { font-size: .89rem; color: var(--text-muted); margin: 0; }

.gyf-varieties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.gyf-variety {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    transition: box-shadow .2s ease, transform .2s ease;
}
.gyf-variety:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.gyf-variety-wide { grid-column: span 2; }
.gyf-variety-head {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border-light);
}
.gyf-variety-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 10px;
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}
.gyf-tone-red     { background: #fde8e6; }
.gyf-tone-amber   { background: #fdf0d8; }
.gyf-tone-purple  { background: #efe6f7; }
.gyf-tone-rose    { background: #fde6ec; }
.gyf-tone-emerald { background: #e3f5ea; }
html[data-theme="dark"] .gyf-variety-emoji { background: rgba(255,255,255,.07); }
.gyf-variety-name { font-size: 1.02rem; font-weight: 700; color: var(--text); margin: 0; flex: 1; }
.gyf-variety-count {
    flex-shrink: 0;
    font-size: .7rem;
    font-weight: 600;
    color: var(--text-light);
    background: var(--border-light);
    padding: .2rem .55rem;
    border-radius: 999px;
    white-space: nowrap;
}
.gyf-variety-list { list-style: none; display: grid; gap: .4rem; margin: 0; padding: 0; }
.gyf-variety-list-cols { grid-template-columns: repeat(2, 1fr); }
.gyf-variety-list li {
    position: relative;
    padding-left: 1.05rem;
    font-size: .875rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.gyf-variety-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .52em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    opacity: .55;
}

/* --- Reszponzív --- */
@media (max-width: 1024px) {
    .gyf-facts     { grid-template-columns: 1fr; }
    .gyf-varieties { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
    .gyf-steps { grid-template-columns: 1fr; }
    .gyf-varieties { grid-template-columns: 1fr; }
    .gyf-variety-wide { grid-column: span 1; }
    .gyf-cta { flex-direction: column; align-items: stretch; }
    .gyf-cta-btn { width: 100%; }
}
@media (max-width: 480px) {
    .gyf-variety-list-cols { grid-template-columns: 1fr; }
}

/* ============================================================
   ZÖLD MUNKACSOPORT (page-zold-munkacsoport.php)
   ============================================================ */

/* --- Hero (saját, teli-szélességű, illusztrációval) --- */
.zm-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%);
    padding: 3.5rem 0 5.5rem;
    isolation: isolate;
    box-shadow: 0 10px 30px -14px rgba(22,61,40,.55);
}
.zm-hero-glow {
    position: absolute;
    top: -140px;
    right: -60px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.28) 0%, rgba(245,166,35,0) 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: 0;
}
.zm-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 65% 100% at 0% 30%, rgba(0,0,0,.9), transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 65% 100% at 0% 30%, rgba(0,0,0,.9), transparent 75%);
    pointer-events: none;
}
.zm-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.zm-hero-content { flex: 1 1 480px; max-width: 580px; }
.zm-hero-title {
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin: .8rem 0 1.1rem;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.zm-hero-lead {
    max-width: 56ch;
    color: rgba(255,255,255,.84);
    font-size: .97rem;
    line-height: 1.7;
    margin: 0 0 1.8rem;
}
.zm-hero-media {
    position: relative;
    flex: 1 1 380px;
    max-width: 440px;
}
.zm-hero-media::before {
    content: "";
    position: absolute;
    inset: -12%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%);
    pointer-events: none;
}
.zm-hero-media img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 24px 44px rgba(0,0,0,.28));
}

.zm-page { padding: 0 0 5rem; }

/* --- Stratégia-szalag: fehér kártyák, a hero aljára úsztatva --- */
.zm-strategy-band {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
    margin: -3.25rem 0 3.5rem;
}
.zm-strategy-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 3px solid var(--green);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 1.3rem 1.4rem;
}
.zm-strategy-tag {
    display: block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: .5rem;
}
.zm-strategy-item p { font-size: .89rem; line-height: 1.55; color: var(--text); margin: 0; }

/* --- Célok fejléc --- */
.zm-goals-head { text-align: center; max-width: 42rem; margin: 0 auto 2.25rem; }
.zm-pill {
    display: inline-block;
    background: var(--green-light);
    color: var(--green);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .35rem .8rem;
    border-radius: 999px;
}
.zm-goals-title {
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--text);
    margin: .6rem 0 .4rem;
    letter-spacing: -.02em;
}
.zm-goals-lead { font-size: .89rem; color: var(--text-muted); margin: 0; }

/* --- Cél-kártyák --- */
.zm-goals {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
    margin-bottom: 4rem;
}
.zm-goal-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.7rem 1.7rem 1.8rem;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.zm-goal-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.zm-goal-card.zm-tone-green-accent::before  { background: linear-gradient(90deg, var(--green), var(--green-mid)); }
.zm-goal-card.zm-tone-orange-accent::before { background: linear-gradient(90deg, var(--orange), var(--orange-dark)); }
.zm-goal-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.zm-goal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 14px;
    margin-bottom: 1.1rem;
    color: #fff;
}
.zm-tone-green  { background: linear-gradient(150deg, var(--green) 0%, var(--green-mid) 100%); box-shadow: 0 6px 14px -8px rgba(22,61,40,.7); }
.zm-tone-orange { background: linear-gradient(150deg, var(--orange) 0%, var(--orange-dark) 100%); box-shadow: 0 6px 14px -8px rgba(224,147,24,.55); }
.zm-goal-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 0 0 .65rem; letter-spacing: -.01em; }
.zm-goal-lead { font-size: .89rem; line-height: 1.6; color: var(--text-muted); margin: 0 0 1rem; }
.zm-goal-list { list-style: none; display: grid; gap: .6rem; margin: 0; padding: 0; }
.zm-goal-list li {
    position: relative;
    padding-left: 1.2rem;
    font-size: .87rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.zm-goal-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green);
    opacity: .6;
}

/* --- Archívum panel + időrend --- */
.zm-archive-panel {
    background: var(--green-light);
    border-radius: var(--radius-xl);
    padding: 3.25rem 2.5rem;
    margin-bottom: 3.5rem;
}
.zm-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.zm-timeline::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 15px;
    width: 2px;
    background: linear-gradient(var(--green), rgba(27,94,59,.15));
    opacity: .35;
}
html[data-theme="dark"] .zm-timeline::before { background: linear-gradient(var(--green), rgba(62,168,115,.15)); }

.zm-tl-item { position: relative; padding-left: 3.75rem; margin-bottom: 1.5rem; }
.zm-tl-item:last-child { margin-bottom: 0; }
.zm-tl-dot {
    position: absolute;
    left: 6px;
    top: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--green);
    box-shadow: 0 0 0 4px var(--green-light);
    z-index: 1;
}
.zm-tl-card {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.zm-tl-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.zm-tl-media { width: 220px; flex-shrink: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--border-light); }
.zm-tl-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.zm-tl-card:hover .zm-tl-media img { transform: scale(1.05); }
.zm-tl-body { padding: 1.15rem 1.4rem; flex: 1; min-width: 0; }
.zm-tl-card-noimg .zm-tl-body { padding: 1.3rem 1.5rem; }
.zm-tl-date {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    color: var(--orange-dark);
    margin-bottom: .4rem;
}
.zm-tl-title { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0 0 .5rem; line-height: 1.35; }
.zm-tl-text { font-size: .86rem; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* --- CTA --- */
.zm-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow-md);
}
.zm-cta-text h4 { font-size: 1.15rem; font-weight: 800; color: #fff; margin: 0 0 .4rem; letter-spacing: -.01em; }
.zm-cta-text p { font-size: .9rem; line-height: 1.6; color: rgba(255,255,255,.82); margin: 0; }
.zm-cta-small { font-size: .8rem !important; margin-top: .4rem !important; color: rgba(255,255,255,.65) !important; }
.zm-cta-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: var(--green-dark);
    font-weight: 700;
    font-size: .9rem;
    padding: .9rem 1.7rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: background .18s ease, transform .18s ease;
    white-space: nowrap;
}
.zm-cta-btn:hover { background: var(--orange-dark); transform: translateY(-1px); }

/* --- Reszponzív --- */
@media (max-width: 960px) {
    .zm-hero-inner { flex-direction: column; text-align: center; gap: 2rem; }
    .zm-hero-content { max-width: 100%; }
    .zm-hero-lead { margin-left: auto; margin-right: auto; }
    .zm-hero-media { max-width: 320px; }
    .zm-strategy-band { grid-template-columns: 1fr; margin-top: -2rem; }
}
@media (max-width: 780px) {
    .zm-goals { grid-template-columns: 1fr; }
    .zm-archive-panel { padding: 2.25rem 1.25rem; }
    .zm-tl-card { flex-direction: column; }
    .zm-tl-media { width: 100%; aspect-ratio: 16 / 9; }
    .zm-cta { flex-direction: column; align-items: stretch; text-align: center; }
    .zm-cta-btn { width: 100%; }
}
@media (max-width: 480px) {
    .zm-tl-item { padding-left: 2.75rem; }
}

/* ============================================================
   RÁGCSÁLÓ- ÉS ROVARIRTÁS (page-ragcsalo-es-rovar-irtas.php)
   ============================================================ */

/* --- Hero (saját, illusztrációval) --- */
.rri-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 55%, var(--green-mid) 100%);
    padding: 3.5rem 0 4.5rem;
    isolation: isolate;
    box-shadow: 0 10px 30px -14px rgba(22,61,40,.55);
}
.rri-hero-glow {
    position: absolute;
    top: -120px;
    right: -40px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245,166,35,.26) 0%, rgba(245,166,35,0) 70%);
    filter: blur(6px);
    pointer-events: none;
    z-index: 0;
}
.rri-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 65% 100% at 0% 30%, rgba(0,0,0,.9), transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 65% 100% at 0% 30%, rgba(0,0,0,.9), transparent 75%);
    pointer-events: none;
}
.rri-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}
.rri-hero-content { flex: 1 1 460px; max-width: 560px; }
.rri-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: .8rem 0 1.1rem;
    letter-spacing: -.02em;
    line-height: 1.15;
}
.rri-hero-lead {
    max-width: 58ch;
    color: rgba(255,255,255,.84);
    font-size: .96rem;
    line-height: 1.7;
    margin: 0 0 1.7rem;
}
.rri-hero-media {
    position: relative;
    flex: 1 1 260px;
    max-width: 300px;
}
.rri-hero-media::before {
    content: "";
    position: absolute;
    inset: -18%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%);
    pointer-events: none;
}
.rri-hero-media img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 36px rgba(0,0,0,.28));
}

.rri-page { padding: 3rem 0 5rem; }

/* --- Partner kártya (teljes szélességű, kép nélkül) --- */
.rri-partner {
    max-width: 640px;
    margin: 0 auto 3.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem 2.2rem;
    text-align: center;
}
.rri-pill {
    display: inline-block;
    background: var(--green-light);
    color: var(--green);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .35rem .8rem;
    border-radius: 999px;
}
.rri-pill-alt { background: var(--orange-light); color: var(--orange-dark); }
.rri-partner-name { font-size: 1.4rem; font-weight: 800; color: var(--text); margin: .8rem 0 .2rem; letter-spacing: -.01em; }
.rri-partner-person { font-size: .93rem; color: var(--text-muted); margin: 0 0 1.4rem; }

.rri-partner-contacts {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
}
.rri-partner-contacts li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; }
.rri-partner-contacts svg { color: var(--green); flex-shrink: 0; }
.rri-partner-contacts a { color: var(--text); font-weight: 600; }
.rri-partner-contacts a:hover { color: var(--green); }

.rri-fee-note {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    text-align: left;
    background: var(--orange-light);
    border-left: 4px solid var(--orange);
    border-radius: var(--radius);
    padding: .9rem 1.05rem;
    font-size: .87rem;
    line-height: 1.55;
    color: var(--text);
}
.rri-fee-note svg { color: var(--orange-dark); flex-shrink: 0; margin-top: .1rem; }

/* --- Jogszabályi háttér --- */
.rri-legal-head { text-align: center; max-width: 42rem; margin: 0 auto 1.75rem; }
.rri-legal-title {
    font-size: clamp(1.3rem, 3vw, 1.7rem);
    font-weight: 800;
    color: var(--text);
    margin: .6rem 0 .4rem;
    letter-spacing: -.02em;
}
.rri-legal-lead { font-size: .89rem; color: var(--text-muted); margin: 0; }

.rri-legal-card {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 1.9rem 2.1rem;
}
.rri-legal-quote { font-size: .92rem; line-height: 1.65; color: var(--text); margin: 0 0 1rem; }
.rri-legal-list { margin: 0; padding-left: 1.4rem; display: grid; gap: .7rem; }
.rri-legal-list li { font-size: .89rem; line-height: 1.65; color: var(--text-muted); }
.rri-legal-list li strong { color: var(--text); }

/* --- Reszponzív --- */
@media (max-width: 900px) {
    .rri-hero-inner { flex-direction: column; text-align: center; gap: 2rem; }
    .rri-hero-content { max-width: 100%; }
    .rri-hero-lead { margin-left: auto; margin-right: auto; }
    .rri-hero-media { max-width: 220px; }
}
@media (max-width: 560px) {
    .rri-partner { padding: 1.6rem 1.4rem; }
    .rri-partner-contacts { flex-direction: column; align-items: center; }
    .rri-legal-card { padding: 1.4rem 1.5rem; }
}

/* ============================================================
   ÁGDARÁLÁS (agdaralas/index.php — a valódi site header/footer-jét
   használja, de saját, önálló mini-app-ként fut a /agdaralas/ mappából)
   ============================================================ */
.adr-page { padding: 2.25rem 0 5rem; }

/* --- Hero: két hasáb, jobbra fotó (ua. minta, mint a rágcsáló-aloldal .rri-hero-media-je) --- */
.adr-hero-inner { gap: 2.5rem; flex-wrap: wrap; }
.adr-hero-content { flex: 1 1 420px; display: flex; flex-direction: column; gap: 0; }
.adr-hero-media {
    flex: 0 0 300px;
    max-width: 300px;
    position: relative;
}
.adr-hero-media::before {
    content: "";
    position: absolute;
    inset: -14%;
    z-index: -1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 70%);
    pointer-events: none;
}
.adr-hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,.45);
}
@media (max-width: 900px) {
    .adr-hero-inner { flex-direction: column; text-align: center; }
    .adr-hero-content { align-items: center; max-width: 100%; }
    .adr-hero-media { order: -1; max-width: 260px; }
}

/* --- Fotó(k) a tartalom alatt (opcionális, csak ha be van illesztve) --- */
.adr-photos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.adr-photos-single { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
.adr-photos img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    display: block;
}

/* --- Tudnivalók (balra) + Űrlap (jobbra) két hasábban --- */
.adr-main-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 3rem;
}
.gyf-steps-stack { grid-template-columns: 1fr; }
@media (max-width: 900px) {
    .adr-main-grid { grid-template-columns: 1fr; }
}

/* --- Jelentkezési űrlap (jobb hasáb) ---
   Korábban position:sticky volt rajta, de az oldal saját nav-ja (#site-header)
   is sticky (top:0) — a két egymásra épülő sticky kontextus akadozó
   görgetést okozott, ezért egyszerű statikus elhelyezésre váltva. */
.adr-form-section { margin-top: 0; }
.adr-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2rem 2.2rem;
}
@media (max-width: 560px) { .adr-form-card { padding: 1.5rem 1.3rem; } }

.adr-alert {
    border-radius: var(--radius);
    padding: .9rem 1.1rem;
    font-size: .87rem;
    line-height: 1.6;
    margin: 0 0 1.3rem;
}
.adr-alert-ok {
    background: var(--green-light);
    border: 1px solid var(--green);
    color: var(--text);
}
.adr-alert-err {
    background: #fde8e6;
    border: 1px solid #e0857c;
    color: #7a2c22;
}
html[data-theme="dark"] .adr-alert-err { background: #3a1f1c; border-color: #7a3c33; color: #ff8a75; }
.adr-alert-err ul { margin: 0; padding-left: 1.2rem; }
.adr-alert-err li { margin: .2rem 0; }

/* Honeypot — a látogató nem látja, csak a robotok töltik ki */
.adr-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.adr-form { display: flex; flex-direction: column; gap: 1.1rem; }
.adr-field { display: flex; flex-direction: column; gap: .4rem; }
.adr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .adr-field-row { grid-template-columns: 1fr; } }

.adr-field label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text);
}
.adr-req { color: #c0392b; }
html[data-theme="dark"] .adr-req { color: #ff8a75; }

.adr-field input[type="text"],
.adr-field input[type="email"],
.adr-field textarea {
    font: inherit;
    font-size: .92rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: .7rem .9rem;
    transition: border-color .15s, box-shadow .15s;
}
.adr-field input[type="text"]:focus,
.adr-field input[type="email"]:focus,
.adr-field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(27,94,59,.14);
}
.adr-field textarea { resize: vertical; min-height: 5.5rem; }

.adr-captcha {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: .87rem;
    color: var(--text-muted);
}
.adr-captcha input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--green); }

.adr-submit { align-self: flex-start; margin-top: .3rem; }

@media (max-width: 780px) { .adr-photos { grid-template-columns: 1fr; } }

/* --- Köszönő modal (sikeres beküldés után) --- */
.adr-thanks-overlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(9,20,14,.6);
    backdrop-filter: blur(2px);
    display: flex; align-items: center; justify-content: center;
    padding: 1.5rem;
    animation: adrFadeIn .25s ease both;
}
.adr-thanks-overlay.closing { animation: adrFadeOut .2s ease both; }
.adr-thanks-box {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.6rem 2.2rem 2.2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: adrPop .4s cubic-bezier(.34,1.56,.64,1) both;
}
.adr-thanks-icon {
    width: 72px; height: 72px; margin: 0 auto 1.3rem;
    border-radius: 50%;
    background: linear-gradient(150deg, var(--green) 0%, var(--green-mid) 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 12px 26px -8px rgba(22,61,40,.55);
    animation: adrIconPop .5s .1s cubic-bezier(.34,1.56,.64,1) both;
}
.adr-thanks-box h3 { font-size: 1.35rem; font-weight: 800; color: var(--text); margin: 0 0 .6rem; letter-spacing: -.01em; }
.adr-thanks-box p { font-size: .92rem; line-height: 1.65; color: var(--text-muted); margin: 0 0 1.7rem; }
.adr-thanks-box .btn-primary { width: 100%; justify-content: center; }

@keyframes adrFadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes adrFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes adrPop     { from { opacity: 0; transform: scale(.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes adrIconPop { from { transform: scale(0); } to { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
    .adr-thanks-overlay, .adr-thanks-box, .adr-thanks-icon { animation: none; }
}
