/* =========================================================
   Révleányvár – új (2026-os) arculat
   Betölti: app/views/layouts/public_header_2026.php (a régi style.css UTÁN),
   csak a nyilvános oldalakon; az admin felületet nem érinti.

   Paletta:   márkazöld #2C5E43 · homoksárga #D9A74A · háttér #FDFBF7 · szöveg #2B2D2F
   Szabályok: sárga gombon CSAK sötétszürke szöveg (6,3:1); sárga szín szövegként
              világos háttéren tilos (2,1:1); fókuszkeret 3 px, sötétzöld / sötét
              alapon sárga (fehér a fotón és a sárga gombon).
   ========================================================= */

/* ---------- Betű (saját szerverről; ha a fájl hiányzik, rendszerbetű) ---------- */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-var.woff2") format("woff2"),
         url("../fonts/plus-jakarta-sans-var.ttf") format("truetype");
}

/* ---------- Változók ---------- */
:root {
    --rv26-green: #2C5E43;
    --rv26-green-dark: #1F4430;
    --rv26-green-soft: #E7EFE9;
    --rv26-gold: #D9A74A;
    --rv26-gold-light: #E6BD6E;
    --rv26-bg: #FDFBF7;
    --rv26-bg-alt: #F4F0E4;
    --rv26-surface: #FFFFFF;
    --rv26-text: #2B2D2F;
    --rv26-muted: #52565A;
    --rv26-line: #E3DDCE;

    --rv26-h: 84px;
    --rv26-section: clamp(56px, 8vw, 96px);
    --rv26-shadow: 0 8px 26px rgba(44, 94, 67, .08), 0 1px 2px rgba(44, 94, 67, .06);
    --rv26-shadow-hover: 0 16px 38px rgba(44, 94, 67, .16);
    --rv26-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html { scroll-padding-top: calc(var(--rv26-h) + 16px); }

/* ---------- Alap ---------- */
.rv26-body {
    --bs-body-font-family: var(--rv26-font);
    --bs-body-font-size: 1.0625rem;
    --bs-body-color: var(--rv26-text);
    --bs-body-bg: var(--rv26-bg);
    --bs-border-color: var(--rv26-line);
    --bs-link-color-rgb: 44, 94, 67;
    --bs-link-hover-color-rgb: 31, 68, 48;
    --bs-primary: #2C5E43;
    --bs-primary-rgb: 44, 94, 67;
    --bs-success: #2C5E43;
    --bs-success-rgb: 44, 94, 67;

    margin: 0;
    font-family: var(--rv26-font);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--rv26-text);
    background: var(--rv26-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.rv26-body :is(h1, h2, h3, h4, h5, h6) { letter-spacing: 0; font-family: var(--rv26-font); }
:where(.rv26-body) a { color: var(--rv26-green); }
:where(.rv26-body) a:hover { color: var(--rv26-green-dark); }
.rv26-body img { max-width: 100%; }

/* ---------- Akadálymentesség ---------- */
.rv26-skip {
    position: fixed; left: 12px; top: -80px; z-index: 3000;
    background: var(--rv26-gold); color: var(--rv26-text);
    padding: 12px 20px; border-radius: 10px; font-weight: 800; text-decoration: none;
    transition: top .15s;
}
.rv26-skip:focus { top: 12px; color: var(--rv26-text); outline: 3px solid var(--rv26-green-dark); outline-offset: 2px; }

.rv26-body :focus-visible {
    outline: 3px solid var(--rv26-green);
    outline-offset: 2px;
    box-shadow: none;
}
.rv26-on-dark :focus-visible,
.rv26-tile:focus-visible { outline-color: var(--rv26-gold); }
.rv26-hero :focus-visible { outline-color: #fff; }
.rv26-search :focus-visible { outline-color: var(--rv26-green); }
.rv26-body .btn:focus-visible,
.rv26-body .form-control:focus,
.rv26-body .form-select:focus,
.rv26-body .page-link:focus {
    outline: 3px solid var(--rv26-green);
    outline-offset: 2px;
    box-shadow: none;
    border-color: var(--rv26-green);
}
.rv26-main:focus { outline: none; }

/* =========================================================
   Fejléc és főmenü
   ========================================================= */
.rv26-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1040;
    background: var(--rv26-green); color: #fff;
    box-shadow: 0 2px 14px rgba(18, 44, 30, .18);
    transition: background-color .2s ease, box-shadow .2s ease;
}
.rv26-header__bar {
    position: relative;
    max-width: 1320px; margin: 0 auto; padding: 0 20px;
    min-height: var(--rv26-h);
    display: flex; align-items: center; gap: 16px;
    transition: min-height .2s ease;
}
.rv26-header.is-scrolled .rv26-header__bar { min-height: 64px; }

/* Főoldalon, az oldal tetején: átlátszó fejléc + sötétzöld átmenet az olvashatóságért */
.js .rv26-header--overlay:not(.is-scrolled):not(.is-search-open) { background: transparent; box-shadow: none; }
.js .rv26-header--overlay:not(.is-scrolled):not(.is-search-open)::before {
    content: ""; position: absolute; inset: 0 0 -120px 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(18, 44, 30, .80) 0%, rgba(18, 44, 30, .48) 55%, rgba(18, 44, 30, 0) 100%);
}

.rv26-sentinel { position: absolute; top: 80px; left: 0; width: 1px; height: 1px; pointer-events: none; }

/* Márka */
.rv26-brand { order: 1; display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; min-width: 0; }
.rv26-brand:hover { color: #fff; }
/* A címer pajzs alakú: önállóan, kör nélkül jelenik meg, vékony fehér kontúrral */
.rv26-brand__crest { flex: none; display: block; line-height: 0; }
.rv26-brand__crest img {
    display: block; height: 62px; width: auto;
    filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff) drop-shadow(0 3px 6px rgba(0, 0, 0, .35));
    transition: height .2s ease;
}
.rv26-header.is-scrolled .rv26-brand__crest img { height: 48px; }
.rv26-brand__text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.rv26-brand__name { font-weight: 800; font-size: 1.25rem; letter-spacing: .01em; }
.rv26-brand__sub { font-size: .8rem; font-weight: 500; opacity: .95; white-space: nowrap; }
@media (max-width: 399.98px) { .rv26-brand__sub { display: none; } }

/* Eszközök (kereső, hamburger) */
.rv26-tools { order: 2; margin-left: auto; display: flex; align-items: center; gap: 4px; }
.rv26-iconbtn {
    display: inline-grid; place-items: center; width: 46px; height: 46px;
    border: 0; border-radius: 12px; background: transparent; color: #fff; cursor: pointer;
    transition: background-color .15s ease;
}
.rv26-iconbtn:hover { background: rgba(255, 255, 255, .16); }
.rv26-iconbtn[aria-expanded="true"] { background: rgba(255, 255, 255, .2); }

/* Menü */
.rv26-nav { list-style: none; margin: 0; padding: 0; }
.rv26-nav__link {
    position: relative; display: inline-flex; white-space: nowrap; align-items: center; gap: 6px;
    padding: 10px 14px; border: 0; background: none; color: #fff;
    font: inherit; font-weight: 600; font-size: 1.0625rem; line-height: 1.2;
    text-decoration: none; border-radius: 10px; cursor: pointer;
}
.rv26-nav__link:hover { color: #fff; }
.rv26-chev { flex: none; transition: transform .18s ease; }
.rv26-nav__item.is-open > .rv26-nav__btn .rv26-chev { transform: rotate(180deg); }

.rv26-sub[hidden] { display: none !important; }
.rv26-sub__list { list-style: none; margin: 0; padding: 0; }
.rv26-sub__list a {
    display: block; padding: 10px 14px; border-radius: 10px;
    color: var(--rv26-text); font-weight: 500; line-height: 1.35; text-decoration: none;
}
.rv26-sub__list a:hover,
.rv26-sub__list a:focus-visible { background: var(--rv26-green-soft); color: var(--rv26-green-dark); }
.rv26-sub__list a[aria-current="page"] { background: var(--rv26-green-soft); font-weight: 700; box-shadow: inset 3px 0 0 var(--rv26-gold); }
.rv26-sub__heading {
    padding: 8px 14px 6px; font-size: .78rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: var(--rv26-green);
}

/* --- Asztali nézet --- */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .rv26-nav__link { padding: 10px 9px; font-size: 1rem; }
    .rv26-nav__link::after { left: 9px; right: 9px; }
    .rv26-brand__name { font-size: 1.15rem; }
}
@media (min-width: 1200px) {
    .rv26-navwrap { order: 2; margin-left: auto; }
    .rv26-tools { order: 3; margin-left: 0; }
    .rv26-burger { display: none; }
    .rv26-nav { display: flex; align-items: stretch; gap: 2px; }

    .rv26-nav__item { position: relative; display: flex; align-items: center; align-self: stretch; }
    .rv26-nav__item--mega { position: static; }

    .rv26-nav__link::after {
        content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px;
        background: var(--rv26-gold); transform: scaleX(0); transition: transform .18s ease;
    }
    .rv26-nav__link:hover::after,
    .rv26-nav__link.is-active::after,
    .rv26-nav__item.is-open > .rv26-nav__link::after { transform: scaleX(1); }

    .rv26-sub {
        position: absolute; top: 100%; left: 0; z-index: 5;
        min-width: 290px; padding: 10px;
        background: var(--rv26-bg); color: var(--rv26-text);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(18, 44, 30, .24), 0 2px 6px rgba(18, 44, 30, .12);
    }
    .rv26-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
    .rv26-sub--right { left: auto; right: 0; }
    .rv26-sub--mega { left: auto; right: 20px; width: min(800px, calc(100vw - 40px)); padding: 14px; }
    .rv26-sub__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 6px 10px; }
    .rv26-sub :focus-visible { outline-color: var(--rv26-green); }
}

/* --- Telefonos nézet: jobbról becsúszó panel, harmonikás almenük --- */
@media (max-width: 1199.98px) {
    .rv26-navwrap {
        --bs-offcanvas-width: min(88vw, 380px);
        --bs-offcanvas-bg: var(--rv26-green-dark);
        --bs-offcanvas-color: #fff;
        background: var(--rv26-green-dark); color: #fff;
    }
    .rv26-navwrap__head { padding: 16px 20px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
    .rv26-navwrap__title { font-weight: 800; font-size: 1.15rem; }
    .rv26-navwrap__body { padding: 8px 12px 28px; }
    .rv26-nav__item { border-bottom: 1px solid rgba(255, 255, 255, .12); }
    .rv26-nav__link { width: 100%; justify-content: space-between; min-height: 54px; padding: 12px; font-size: 1.1rem; }
    .rv26-nav__link.is-active { background: rgba(255, 255, 255, .1); box-shadow: inset 4px 0 0 var(--rv26-gold); }
    .rv26-sub { margin: 0 0 10px; padding: 6px; background: rgba(255, 255, 255, .08); border-radius: 12px; }
    .rv26-sub__list a { display: flex; align-items: center; min-height: 48px; color: #fff; }
    .rv26-sub__list a:hover,
    .rv26-sub__list a:focus-visible { background: rgba(255, 255, 255, .16); color: #fff; }
    .rv26-sub__list a[aria-current="page"] { background: rgba(255, 255, 255, .12); }
    .rv26-sub__heading { color: var(--rv26-gold); padding-top: 12px; }
    .rv26-sub__cols { display: block; }
}

/* Kereső sáv */
.rv26-search { background: var(--rv26-bg); border-top: 1px solid var(--rv26-line); padding: 14px 20px; color: var(--rv26-text); }
.rv26-search[hidden] { display: none; }
.rv26-search__form { max-width: 1320px; margin: 0 auto; display: flex; gap: 10px; }
.rv26-search__form input {
    flex: 1; min-width: 0; min-height: 50px; padding: 0 16px;
    border: 2px solid var(--rv26-line); border-radius: 12px; background: #fff;
    font: inherit; color: var(--rv26-text);
}
.rv26-search__form input:focus { border-color: var(--rv26-green); }

/* =========================================================
   Gombok
   ========================================================= */
.rv26-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 12px 26px;
    border: 2px solid transparent; border-radius: 12px;
    font: inherit; font-weight: 800; line-height: 1.2; text-decoration: none; cursor: pointer;
    transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.rv26-btn--gold { background: var(--rv26-gold); border-color: var(--rv26-gold); color: var(--rv26-text); }
.rv26-btn--gold:hover { background: var(--rv26-gold-light); border-color: var(--rv26-gold-light); color: var(--rv26-text); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.rv26-btn--green { background: var(--rv26-green); border-color: var(--rv26-green); color: #fff; }
.rv26-btn--green:hover { background: var(--rv26-green-dark); border-color: var(--rv26-green-dark); color: #fff; }
.rv26-btn--outline { background: transparent; border-color: var(--rv26-green); color: var(--rv26-green); }
.rv26-btn--outline:hover { background: var(--rv26-green-soft); color: var(--rv26-green-dark); }
.rv26-btn--pill { border-radius: 999px; padding-left: 34px; padding-right: 34px; min-height: 56px; font-size: 1.0625rem; letter-spacing: .02em; text-transform: uppercase; }

/* =========================================================
   Hero
   ========================================================= */
.rv26-hero {
    position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center;
    min-height: clamp(620px, 84vh, 800px);
    padding: calc(var(--rv26-h) + 32px) 20px 160px;
    color: #fff; text-align: center; background: var(--rv26-green-dark);
}
.rv26-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.rv26-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(18, 44, 30, .52) 0%, rgba(18, 44, 30, .30) 40%, rgba(18, 44, 30, .66) 100%);
}
.rv26-hero__inner { width: 100%; max-width: 900px; }
.rv26-hero__title {
    margin: 0 0 16px; font-size: clamp(2.2rem, 6vw, 3.9rem); font-weight: 800; line-height: 1.08; color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}
.rv26-hero__lead {
    margin: 0 auto 34px; max-width: 680px; font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 500; line-height: 1.4;
    text-shadow: 0 1px 14px rgba(0, 0, 0, .55);
}

/* Négy gyorselérési csempe – a hero aljába nyúlnak */
.rv26-quick { position: relative; z-index: 3; max-width: 1220px; margin: -124px auto 0; padding: 0 20px; }
.rv26-quick__panel {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
    padding: 16px; background: var(--rv26-bg); border-radius: 24px;
    box-shadow: 0 22px 54px rgba(18, 44, 30, .22);
}
.rv26-tile {
    display: flex; align-items: center; gap: 14px; min-height: 100px; padding: 16px 18px;
    background: var(--rv26-green); color: #fff; border-radius: 16px; text-decoration: none;
    box-shadow: 0 6px 16px rgba(44, 94, 67, .25);
    transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.rv26-tile:hover { background: var(--rv26-green-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(44, 94, 67, .32); }
.rv26-tile__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--rv26-bg); color: var(--rv26-green); }
.rv26-tile__ico svg { width: 28px; height: 28px; }
.rv26-tile__title { display: block; font-weight: 800; font-size: 1.08rem; line-height: 1.2; }
.rv26-tile__desc { display: block; margin-top: 3px; font-size: .9rem; line-height: 1.3; opacity: .95; }

/* =========================================================
   Szekciók
   ========================================================= */
.rv26-section { padding: var(--rv26-section) 0; }
.rv26-section--tight { padding: clamp(32px, 5vw, 56px) 0; }
.rv26-section--alt { background: var(--rv26-bg-alt); }
.rv26-container { max-width: 1220px; margin: 0 auto; padding: 0 20px; }

.rv26-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 30px; }
.rv26-h2 { position: relative; margin: 0; padding-bottom: 14px; font-size: clamp(1.65rem, 3.4vw, 2.3rem); font-weight: 800; line-height: 1.15; color: var(--rv26-green); }
.rv26-h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--rv26-gold); }
.rv26-lead { margin: 10px 0 0; max-width: 62ch; color: var(--rv26-muted); }

.rv26-card { background: var(--rv26-surface); border: 1px solid var(--rv26-line); border-radius: 20px; box-shadow: var(--rv26-shadow); }
.rv26-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 24px; border-bottom: 1px solid var(--rv26-line); }
.rv26-card__title { margin: 0; font-size: 1.2rem; font-weight: 800; color: var(--rv26-green); }
.rv26-card__link { font-weight: 700; font-size: .95rem; }
.rv26-empty { padding: 22px 24px; color: var(--rv26-muted); }

/* ---------- Aktuális állapotok ---------- */
.rv26-status { display: flex; flex-wrap: wrap; gap: 12px; }
.rv26-chip {
    --chip: #3B6D11; --chip-ico-bg: #D3E8B5; --chip-ico: #27500A; --chip-text: #27500A;
    position: relative; display: flex; align-items: center; gap: 14px; overflow: hidden;
    padding: 12px 18px 12px 22px; background: #fff; border: 1px solid var(--rv26-line); border-radius: 14px; box-shadow: var(--rv26-shadow);
}
.rv26-chip::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--chip); }
.rv26-chip--warning { --chip: #854F0B; --chip-ico-bg: #FAD9A0; --chip-ico: #633806; --chip-text: #633806; }
.rv26-chip--error { --chip: #A32D2D; --chip-ico-bg: #F7C1C1; --chip-ico: #791F1F; --chip-text: #791F1F; }
.rv26-chip__title { font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .03em; }
.rv26-chip__state { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--chip-text); }
.rv26-chip__ico { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--chip-ico-bg); color: var(--chip-ico); }
.rv26-live { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; margin-top: 18px; }
.rv26-live > * { min-width: 0; }
.rv26-live .mb-3 { margin-bottom: 0 !important; }

/* ---------- Hírek ---------- */
.rv26-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.rv26-news {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--rv26-line); border-radius: 20px; box-shadow: var(--rv26-shadow);
    transition: transform .15s ease, box-shadow .15s ease;
}
.rv26-news:hover { transform: translateY(-4px); box-shadow: var(--rv26-shadow-hover); }
.rv26-news:focus-within { outline: 3px solid var(--rv26-green); outline-offset: 3px; }
.rv26-news__media { aspect-ratio: 16 / 9; background: var(--rv26-green-soft); overflow: hidden; }
.rv26-news__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rv26-news__ph { display: grid; place-items: center; height: 100%; color: var(--rv26-green); }
.rv26-news__ph svg { width: 44px; height: 44px; opacity: .55; }
.rv26-news__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px 22px 22px; }
.rv26-news__date { font-size: .88rem; font-weight: 700; color: var(--rv26-green); }
.rv26-news__title { margin: 0; font-size: 1.22rem; font-weight: 800; line-height: 1.3; }
.rv26-news__title a { color: var(--rv26-text); text-decoration: none; }
.rv26-news__title a::after { content: ""; position: absolute; inset: 0; }
.rv26-news__title a:focus-visible { outline: none; }
.rv26-news__text { margin: 0; color: #44484C; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.rv26-news__more { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--rv26-green); }

/* ---------- Dokumentumok és események ---------- */
.rv26-two { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; }
.rv26-two--even { grid-template-columns: 1fr 1fr; }
.rv26-list { list-style: none; margin: 0; padding: 0; }
.rv26-list > li + li { border-top: 1px solid var(--rv26-line); }
.rv26-list__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 15px 24px; color: var(--rv26-text); text-decoration: none; }
.rv26-list__item:hover { background: var(--rv26-green-soft); color: var(--rv26-text); }
.rv26-list__title { display: block; font-weight: 700; line-height: 1.35; }
.rv26-list__meta { display: block; margin-top: 2px; font-size: .88rem; color: var(--rv26-muted); }
.rv26-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--rv26-green-soft); color: var(--rv26-green-dark); font-size: .78rem; font-weight: 800; white-space: nowrap; }
.rv26-badge--pi { background: var(--rv26-green); color: #fff; }
.rv26-card__foot { padding: 16px 24px 22px; }

.rv26-event { display: flex; gap: 16px; align-items: center; padding: 15px 24px; color: var(--rv26-text); text-decoration: none; }
.rv26-event:hover { background: var(--rv26-green-soft); color: var(--rv26-text); }
.rv26-event__date { flex: none; width: 58px; padding: 6px 0; text-align: center; border-radius: 12px; background: var(--rv26-green); color: #fff; line-height: 1.1; }
.rv26-event__day { display: block; font-size: 1.45rem; font-weight: 800; }
.rv26-event__mon { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Közösség és alrendszerek ---------- */
.rv26-community { padding: clamp(26px, 4vw, 40px); border-radius: 24px; background: var(--rv26-green); color: #fff; box-shadow: var(--rv26-shadow); }
.rv26-community h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; }
.rv26-community p { margin: 0 0 22px; max-width: 46ch; font-size: 1.05rem; }
.rv26-community__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rv26-community .rv26-btn--outline { border-color: #fff; color: #fff; }
.rv26-community .rv26-btn--outline:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.rv26-community :focus-visible { outline-color: var(--rv26-gold); }

.rv26-sys-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rv26-sys {
    display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 76px;
    background: #fff; border: 1px solid var(--rv26-line); border-radius: 16px; color: var(--rv26-text); text-decoration: none;
    box-shadow: var(--rv26-shadow); transition: transform .15s ease, border-color .15s ease;
}
.rv26-sys:hover { transform: translateY(-2px); border-color: var(--rv26-green); color: var(--rv26-text); }
.rv26-sys__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--rv26-green-soft); color: var(--rv26-green); }
.rv26-sys__ico svg { width: 24px; height: 24px; }
.rv26-sys__title { display: block; font-weight: 800; line-height: 1.2; }
.rv26-sys__desc { display: block; margin-top: 2px; font-size: .85rem; line-height: 1.3; color: var(--rv26-muted); }

/* ---------- Fejlesztéseink és programlogók ---------- */
.rv26-proj { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--rv26-line); border-radius: 20px; box-shadow: var(--rv26-shadow); transition: transform .15s ease, box-shadow .15s ease; }
.rv26-proj:hover { transform: translateY(-4px); box-shadow: var(--rv26-shadow-hover); }
.rv26-proj:focus-within { outline: 3px solid var(--rv26-green); outline-offset: 3px; }
.rv26-proj__media { aspect-ratio: 16 / 10; background: var(--rv26-green-soft); display: grid; place-items: center; overflow: hidden; }
.rv26-proj__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv26-proj__ph { color: var(--rv26-green); opacity: .5; }
.rv26-proj__ph svg { width: 48px; height: 48px; }
.rv26-proj__body { padding: 20px 22px 24px; }
.rv26-proj__title { margin: 0 0 8px; font-size: 1.12rem; font-weight: 800; line-height: 1.3; }
.rv26-proj__title a { color: var(--rv26-text); text-decoration: none; }
.rv26-proj__title a::after { content: ""; position: absolute; inset: 0; }
.rv26-proj__title a:focus-visible { outline: none; }
.rv26-proj__text { margin: 0; color: #44484C; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.rv26-logos { margin-top: 30px; padding: 22px 26px; background: #fff; border: 1px solid var(--rv26-line); border-radius: 20px; box-shadow: var(--rv26-shadow); }
.rv26-logos__title { margin: 0 0 14px; text-align: center; font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rv26-muted); }
.rv26-logos__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 30px; }
.rv26-logos__row a { display: inline-flex; border-radius: 8px; transition: opacity .15s ease, transform .15s ease; }
.rv26-logos__row a:hover { opacity: .85; transform: translateY(-1px); }
.rv26-logos__row img { height: 72px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Átlátható önkormányzat ---------- */
.rv26-bigl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rv26-bigl { display: flex; flex-direction: column; gap: 10px; padding: 24px; min-height: 190px; background: #fff; border: 1px solid var(--rv26-line); border-radius: 20px; color: var(--rv26-text); text-decoration: none; box-shadow: var(--rv26-shadow); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.rv26-bigl:hover { transform: translateY(-4px); border-color: var(--rv26-green); box-shadow: var(--rv26-shadow-hover); color: var(--rv26-text); }
.rv26-bigl__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--rv26-green-soft); color: var(--rv26-green); }
.rv26-bigl__ico svg { width: 28px; height: 28px; }
.rv26-bigl__title { font-size: 1.12rem; font-weight: 800; line-height: 1.25; }
.rv26-bigl__desc { font-size: .93rem; color: var(--rv26-muted); line-height: 1.4; }
.rv26-bigl__go { margin-top: auto; font-weight: 800; color: var(--rv26-green); }

/* ---------- Helyi gazdaság és élet ---------- */
.rv26-biz { display: block; padding: 14px 24px; color: var(--rv26-text); text-decoration: none; }
.rv26-biz:hover { background: var(--rv26-green-soft); color: var(--rv26-text); }
.rv26-prop { display: flex; gap: 16px; align-items: center; padding: 14px 24px; color: var(--rv26-text); text-decoration: none; }
.rv26-prop:hover { background: var(--rv26-green-soft); color: var(--rv26-text); }
.rv26-prop__img { flex: none; width: 96px; height: 72px; border-radius: 12px; overflow: hidden; background: var(--rv26-green-soft); }
.rv26-prop__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv26-prop__price { display: block; margin-top: 2px; font-weight: 800; color: var(--rv26-green); }
.rv26-partners { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.rv26-partners a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 2px solid var(--rv26-line); border-radius: 999px; background: #fff; color: var(--rv26-text); font-weight: 700; font-size: .95rem; text-decoration: none; }
.rv26-partners a:hover { border-color: var(--rv26-green); color: var(--rv26-green-dark); }
.rv26-partners__title { margin: 28px 0 0; font-size: .85rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--rv26-muted); }

/* ---------- Megközelítés / térkép ---------- */
.rv26-map { position: relative; min-height: 340px; overflow: hidden; border-radius: 20px; background: var(--rv26-green-soft); border: 1px solid var(--rv26-line); }
.rv26-map__ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-height: 340px; padding: 28px; text-align: center; }
.rv26-map__ph p { margin: 0; max-width: 40ch; color: var(--rv26-muted); font-size: .95rem; }
.rv26-map__frame { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.rv26-facts { margin: 0 0 22px; padding: 0; list-style: none; }
.rv26-facts li { padding: 10px 0; border-bottom: 1px solid var(--rv26-line); }
.rv26-facts strong { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--rv26-green); }


/* ---------- Fejlesztési fórum (főoldali doboz) ---------- */
.rv26-forum { overflow: hidden; border-radius: 28px; background: #FBF6EA; border: 1px solid var(--rv26-line); box-shadow: var(--rv26-shadow); }
.rv26-forum__bar { display: flex; align-items: center; gap: 20px; padding: 16px 28px 16px 26px; background: #8DB89B; color: #1F4430; }
.rv26-forum__crest { flex: none; display: block; line-height: 0; }
.rv26-forum__crest img { display: block; height: 88px; width: auto; filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(0 4px 10px rgba(31, 68, 48, .35)); }
.rv26-forum__bartitle { display: flex; flex-direction: column; line-height: 1.1; }
.rv26-forum__barname { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #1F4430; }
.rv26-forum__barsub { margin-top: 4px; font-size: .95rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #1F4430; }

.rv26-forum__hero { padding: clamp(28px, 5vw, 48px) 24px 8px; text-align: center; }
.rv26-forum__title { margin: 0; font-size: clamp(1.7rem, 4.6vw, 2.6rem); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; color: var(--rv26-green); }
.rv26-forum__lead { margin: 6px 0 22px; font-size: clamp(1.15rem, 2.8vw, 1.6rem); font-weight: 800; color: var(--rv26-text); }
.rv26-forum__cta { min-height: 60px; padding: 10px 30px 10px 12px; border-radius: 18px; font-size: 1.2rem; box-shadow: 0 6px 18px rgba(217, 167, 74, .45); }
.rv26-forum__bulb { display: grid; place-items: center; width: 40px; height: 40px; margin-right: 4px; border-radius: 12px; background: var(--rv26-green); color: #fff; }

.rv26-forumrow { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.rv26-forum__body { display: block; padding: 22px clamp(18px, 3vw, 30px) 28px; }
.rv26-forum__side { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.rv26-forum__side .rv26-forum__box { flex: 1 1 100%; margin: 0; }
.rv26-forum__side .rv26-forum__sidebtn { flex: 1 1 200px; margin: 0; text-align: center; }
.rv26-forum__cats { display: flex; flex-wrap: wrap; gap: 4px 6px; }
.rv26-forum__cats a { padding: 6px 12px; }
.rv26-forum__box { overflow: hidden; margin-bottom: 14px; border-radius: 18px; background: #F3EAD3; border: 3px solid var(--rv26-gold); }
.rv26-forum__boxhead { margin: 0; padding: 12px 18px; background: var(--rv26-gold); font-size: 1.05rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--rv26-text); }
.rv26-forum__cats { list-style: none; margin: 0; padding: 10px 10px 12px; }
.rv26-forum__cats a { display: block; padding: 8px 12px; border-radius: 10px; color: var(--rv26-text); font-weight: 600; line-height: 1.3; text-decoration: none; }
.rv26-forum__cats a:hover { background: #fff; color: var(--rv26-green-dark); }
.rv26-forum__sidebtn { display: block; margin-bottom: 12px; padding: 13px 18px; border-radius: 16px; background: var(--rv26-gold); color: var(--rv26-text); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; box-shadow: 0 3px 10px rgba(217, 167, 74, .35); transition: background-color .15s ease; }
.rv26-forum__sidebtn:hover { background: var(--rv26-gold-light); color: var(--rv26-text); }

.rv26-forum__mainhead { margin: 0 0 18px; text-align: center; font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 800; letter-spacing: .03em; text-transform: uppercase; color: var(--rv26-text); }
.rv26-forum__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rv26-forum__empty { margin: 0; padding: 28px 16px; text-align: center; color: var(--rv26-muted); }
.rv26-forum__grid > .rv26-idea:last-child:nth-child(odd) { grid-column: 1 / -1; }
.rv26-idea { position: relative; display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: #fff; border: 4px solid var(--rv26-gold); box-shadow: 0 6px 16px rgba(217, 167, 74, .28); transition: transform .15s ease, box-shadow .15s ease; }
.rv26-idea:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(217, 167, 74, .42); }
.rv26-idea:focus-within { outline: 3px solid var(--rv26-green); outline-offset: 3px; }
.rv26-idea__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #F3EAD3; border: 2px solid var(--rv26-gold); color: var(--rv26-green); }
.rv26-idea__ico svg { width: 28px; height: 28px; }
.rv26-idea__body { min-width: 0; }
.rv26-idea__title { margin: 0 0 6px; font-size: 1.08rem; font-weight: 800; line-height: 1.25; text-transform: uppercase; }
.rv26-idea__title a { color: var(--rv26-text); text-decoration: none; }
.rv26-idea__title a::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.rv26-idea__title a:focus-visible { outline: none; }
.rv26-idea__text { margin: 0 0 10px; color: #44484C; font-size: .95rem; line-height: 1.45; }
.rv26-idea__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-size: .85rem; font-weight: 700; }
.rv26-idea__cat { padding: 2px 10px; border-radius: 999px; background: var(--rv26-green-soft); color: var(--rv26-green-dark); }
.rv26-idea__votes { display: inline-flex; align-items: center; gap: 6px; color: var(--rv26-green-dark); }
@media (prefers-reduced-motion: reduce) { .rv26-idea:hover { transform: none; } }

/* =========================================================
   Lábléc
   ========================================================= */
.rv26-footer { background: var(--rv26-green); color: #fff; margin-top: 0; }
.rv26-footer__inner { max-width: 1220px; margin: 0 auto; padding: 56px 20px 24px; }
.rv26-footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.rv26-footer__title { margin: 0 0 16px; font-size: 1.1rem; font-weight: 800; color: #fff; }
.rv26-footer__p { margin: 0 0 8px; }
.rv26-footer__hours { margin-top: 16px; }
.rv26-footer a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); }
.rv26-footer a:hover { color: #fff; text-decoration-color: var(--rv26-gold); text-decoration-thickness: 2px; }
.rv26-footer__list { list-style: none; margin: 0; padding: 0; }
.rv26-footer__list li { margin-bottom: 8px; }
.rv26-social { display: flex; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.rv26-social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); text-decoration: none; }
.rv26-social a:hover { background: rgba(255, 255, 255, .16); border-color: var(--rv26-gold); }
.rv26-footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 38px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: .9rem; }
.rv26-footer__admin { opacity: .9; }

/* =========================================================
   Aloldalak (hír, oldal, dokumentumok, események, vállalkozások, ingatlanok, keresés)
   ========================================================= */
.rv26-inner .rv26-main { min-height: 62vh; padding: calc(var(--rv26-h) + 30px) 0 72px; }
.rv26-inner .rv26-main h1,
.rv26-inner .rv26-main .h3 { color: var(--rv26-green); font-weight: 800; }
.rv26-inner .rv26-main h1 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); }

.rv26-body .card { border: 1px solid var(--rv26-line); border-radius: 20px; background: #fff; }
.rv26-body .card.shadow-sm { box-shadow: var(--rv26-shadow) !important; }
.rv26-body .card-header { background: var(--rv26-green-soft); border-bottom-color: var(--rv26-line); font-weight: 700; }
.rv26-body .list-group-item { border-color: var(--rv26-line); }
.rv26-body .list-group-item-action:hover { background: var(--rv26-green-soft); color: var(--rv26-text); }
.rv26-body .rv-tile-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; border-bottom: 1px solid var(--rv26-line); }
.rv26-body .rv-tile-title { font-weight: 800; color: var(--rv26-green); }

.rv26-body .btn { border-radius: 12px; font-weight: 700; }
.rv26-body .btn-primary,
.rv26-body .btn-success { --bs-btn-bg: var(--rv26-green); --bs-btn-border-color: var(--rv26-green); --bs-btn-color: #fff; --bs-btn-hover-bg: var(--rv26-green-dark); --bs-btn-hover-border-color: var(--rv26-green-dark); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--rv26-green-dark); --bs-btn-active-border-color: var(--rv26-green-dark); --bs-btn-active-color: #fff; --bs-btn-disabled-bg: var(--rv26-green); --bs-btn-disabled-border-color: var(--rv26-green); }
.rv26-body .btn-outline-primary { --bs-btn-color: var(--rv26-green); --bs-btn-border-color: var(--rv26-green); --bs-btn-hover-bg: var(--rv26-green); --bs-btn-hover-border-color: var(--rv26-green); --bs-btn-hover-color: #fff; --bs-btn-active-bg: var(--rv26-green-dark); --bs-btn-active-border-color: var(--rv26-green-dark); --bs-btn-active-color: #fff; }
.rv26-body .btn-outline-secondary { --bs-btn-color: var(--rv26-text); --bs-btn-border-color: #8A8E92; --bs-btn-hover-bg: var(--rv26-text); --bs-btn-hover-border-color: var(--rv26-text); --bs-btn-hover-color: #fff; }
.rv26-body .btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--rv26-line); --bs-btn-hover-bg: var(--rv26-green-soft); --bs-btn-hover-border-color: var(--rv26-green); }
.rv26-body .badge.bg-success { background-color: var(--rv26-green) !important; color: #fff; }
.rv26-body .badge.bg-secondary { background-color: #5A5F63 !important; color: #fff; }
.rv26-body .badge.bg-light { background-color: var(--rv26-green-soft) !important; color: var(--rv26-green-dark) !important; border-color: var(--rv26-line) !important; }
.rv26-body .text-muted { color: var(--rv26-muted) !important; }
.rv26-body .text-primary { color: var(--rv26-green) !important; }

.rv26-body .form-control,
.rv26-body .form-select { min-height: 46px; border: 2px solid var(--rv26-line); border-radius: 12px; font-size: 1rem; }
.rv26-body .form-label { font-weight: 700; }
.rv26-body .form-check-input:checked { background-color: var(--rv26-green); border-color: var(--rv26-green); }
.rv26-body .page-link { color: var(--rv26-green); border-color: var(--rv26-line); min-width: 40px; text-align: center; }
.rv26-body .page-item.active .page-link { background: var(--rv26-green); border-color: var(--rv26-green); color: #fff; }
.rv26-body .alert-success { background: var(--rv26-green-soft); border-color: #B9D1C0; color: var(--rv26-green-dark); }
.rv26-body .modal-content { border: 0; border-radius: 20px; }

.rv26-body .rv-rich-content,
.rv26-body .page-body,
.rv26-body .post-body { font-size: 1.0625rem; line-height: 1.7; }
.rv26-body .rv-rich-content a,
.rv26-body .post-body a,
.rv26-body .page-body a { text-decoration: underline; text-underline-offset: 3px; }
.rv26-body .rv-rich-content table { display: block; max-width: 100%; overflow-x: auto; }

/* =========================================================
   Reszponzív finomítások
   ========================================================= */
@media (max-width: 1099.98px) {
    .rv26-quick__panel { grid-template-columns: repeat(2, 1fr); }
    .rv26-bigl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991.98px) {
    .rv26-sys-grid { grid-template-columns: repeat(2, 1fr); }
    .rv26-forumrow { grid-template-columns: 1fr; }
    .rv26-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .rv26-two, .rv26-two--even { grid-template-columns: 1fr; }
    .rv26-footer__cols { grid-template-columns: 1fr 1fr; }
    .rv26-footer__cols > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 767.98px) {
    :root { --rv26-h: 72px; }
    .rv26-brand__crest img { height: 52px; }
    .rv26-header.is-scrolled .rv26-brand__crest img { height: 44px; }
    .rv26-hero { min-height: 640px; padding-bottom: 150px; }
    .rv26-quick { margin-top: -104px; padding: 0 14px; }
    .rv26-quick__panel { padding: 12px; gap: 10px; border-radius: 20px; }
    .rv26-sys-grid { grid-template-columns: 1fr; }
    .rv26-forum__grid { grid-template-columns: 1fr; }
    .rv26-btn--pill { padding-left: 24px; padding-right: 24px; font-size: 1rem; }
}
@media (max-width: 575.98px) {
    .rv26-grid-3 { grid-template-columns: 1fr; }
    .rv26-quick__panel { grid-template-columns: 1fr; }
    .rv26-bigl-grid { grid-template-columns: 1fr; }
    .rv26-footer__cols { grid-template-columns: 1fr; gap: 30px; }
    .rv26-search__form { flex-direction: column; }
    .rv26-tile { min-height: 84px; }
}

@media (prefers-reduced-motion: reduce) {
    .rv26-body *, .rv26-body *::before, .rv26-body *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .rv26-news:hover, .rv26-proj:hover, .rv26-bigl:hover, .rv26-tile:hover, .rv26-sys:hover { transform: none; }
}

@media print {
    .rv26-header, .rv26-skip, .rv26-footer, .rv26-sentinel { display: none !important; }
    .rv26-inner .rv26-main { padding-top: 0; }
}
