/* Helyi értékek oldalak – önálló stílus (a régi és az új megjelenésben is működik) */
.hv-wrap {
    --hv-green: var(--rv26-green, #2C5E43);
    --hv-green-dark: var(--rv26-green-dark, #1F4430);
    --hv-green-soft: var(--rv26-green-soft, #E7EFE9);
    --hv-gold: var(--rv26-gold, #D9A74A);
    --hv-bg-alt: var(--rv26-bg-alt, #F4F0E4);
    --hv-line: var(--rv26-line, #E3DDCE);
    --hv-text: var(--rv26-text, #2B2D2F);
    --hv-muted: var(--rv26-muted, #52565A);
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 56px) 16px clamp(40px, 6vw, 72px);
    color: var(--hv-text);
}
.hv-wrap--article { max-width: 920px; }
.hv-wrap .visually-hidden {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Fejléc */
.hv-eyebrow { margin: 0 0 6px; font-size: .85rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--hv-muted); }
.hv-title { margin: 0 0 12px; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.15; font-weight: 800; color: var(--hv-green); }
.hv-lead { margin: 0; max-width: 62ch; font-size: 1.1rem; line-height: 1.6; color: var(--hv-muted); }
.hv-head { margin-bottom: 26px; }
.hv-h2 { margin: 0 0 12px; font-size: 1.35rem; font-weight: 800; color: var(--hv-green); }

/* Szűrősáv */
.hv-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 28px; }
.hv-chip {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; min-height: 44px;
    border: 1px solid var(--hv-line); border-radius: 999px; background: #fff;
    font-weight: 700; font-size: .95rem; color: var(--hv-green); text-decoration: none;
}
.hv-chip:hover { border-color: var(--hv-green); }
.hv-chip:focus-visible { outline: 3px solid var(--hv-green); outline-offset: 2px; }
.hv-chip.is-active { background: var(--hv-green); border-color: var(--hv-green); color: #fff; }
.hv-chip__n {
    min-width: 24px; padding: 1px 7px; border-radius: 999px; text-align: center;
    background: var(--hv-green-soft); color: var(--hv-green-dark); font-size: .8rem;
}
.hv-chip.is-active .hv-chip__n { background: rgba(255, 255, 255, .22); color: #fff; }

/* Kártyarács */
.hv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hv-grid--small { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 991px) { .hv-grid, .hv-grid--small { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .hv-grid, .hv-grid--small { grid-template-columns: 1fr; } }

.hv-card {
    display: flex; flex-direction: column; overflow: hidden; background: #fff;
    border: 1px solid var(--hv-line); border-radius: 20px;
    box-shadow: 0 8px 26px rgba(44, 94, 67, .08), 0 1px 2px rgba(44, 94, 67, .06);
    transition: box-shadow .2s ease, transform .2s ease;
}
.hv-card:hover, .hv-card:focus-within { box-shadow: 0 16px 38px rgba(44, 94, 67, .16); transform: translateY(-2px); }
.hv-card.is-featured { border-color: var(--hv-gold); }
.hv-card__media { display: block; aspect-ratio: 16 / 10; background: var(--hv-green-soft); overflow: hidden; }
.hv-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hv-card__ph {
    display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--hv-green-soft), var(--hv-bg-alt)); color: var(--hv-green);
}
.hv-card__ph svg { width: 52px; height: 52px; stroke-width: 1.4; }
.hv-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.hv-card__cat { margin: 0; font-size: .8rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--hv-muted); }
.hv-card__title { margin: 0; font-size: 1.2rem; line-height: 1.3; font-weight: 800; }
.hv-card__title a { color: var(--hv-green); text-decoration: none; }
.hv-card__title a:hover { text-decoration: underline; }
.hv-card__text { margin: 0; line-height: 1.55; color: var(--hv-text); }
.hv-card__more { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--hv-green); text-decoration: none; }
.hv-card__more::after { content: " →"; }
.hv-card__more:hover { text-decoration: underline; }
.hv-card a:focus-visible { outline: 3px solid var(--hv-green); outline-offset: 3px; border-radius: 4px; }

.hv-empty { padding: 24px; background: var(--hv-bg-alt); border-radius: 14px; color: var(--hv-muted); }

.hv-note {
    margin-top: 40px; padding: 20px 24px; border-left: 4px solid var(--hv-gold);
    background: var(--hv-bg-alt); border-radius: 0 14px 14px 0; line-height: 1.6;
}
.hv-note a { color: var(--hv-green); font-weight: 700; }

/* Részletező oldal */
.hv-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; font-size: .95rem; color: var(--hv-muted); }
.hv-crumbs a { color: var(--hv-green); font-weight: 700; }
.hv-article__head { margin-bottom: 22px; }
.hv-figure { margin: 0 0 26px; }
.hv-figure img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--hv-line); }
.hv-figure figcaption { margin-top: 8px; font-size: .9rem; color: var(--hv-muted); }
.hv-body { font-size: 1.1rem; line-height: 1.75; max-width: 70ch; }
.hv-body p { margin: 0 0 1.1em; }
.hv-body h2, .hv-body h3 { margin: 1.6em 0 .6em; color: var(--hv-green); font-weight: 800; }
.hv-place { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--hv-line); }
.hv-map { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    min-height: 260px; margin: 12px 0; border-radius: 16px; background: var(--hv-green-soft); border: 1px solid var(--hv-line); overflow: hidden; }
.hv-map iframe { width: 100%; height: 360px; border: 0; display: block; }
.hv-map__btn {
    padding: 12px 22px; min-height: 44px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--hv-gold); color: #2B2D2F; font-weight: 800; font-size: 1rem;
}
.hv-map__btn:hover { filter: brightness(1.05); }
.hv-map__btn:focus-visible { outline: 3px solid var(--hv-green); outline-offset: 3px; }
.hv-map__hint { margin: 0; padding: 0 16px; font-size: .88rem; color: var(--hv-muted); text-align: center; }
.hv-source { margin-top: 28px; padding: 14px 18px; background: var(--hv-bg-alt); border-radius: 12px; font-size: .95rem; color: var(--hv-muted); }
.hv-related { margin-top: 48px; }

@media (prefers-reduced-motion: reduce) {
    .hv-card { transition: none; }
    .hv-card:hover, .hv-card:focus-within { transform: none; }
}
