/* ═══════════════════════════════════════════════════════════
   SZIGETKÖZ.HU — Organikus prémium dizájn 2026
   Paletta: mélyzöld + meleg krém + természetes tónusok
   Betűk: Playfair Display (serif) + DM Sans
═══════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;1,400;1,500&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

:root {
  --cream:#f5f0e8; --cream2:#ede6d8; --cream3:#e2d9c8; --cream4:#d4c9b0;
  --green:#1e3a2a; --green2:#2d5a3d; --green3:#3d7a52; --green4:#c8dcc0;
  --accent:#b85c28; --gold:#c8960a;
  --ink:#1e1a14; --ink2:#4a4438; --ink3:#8a7e70; --ink4:#b8b0a0;
  --br:1px solid var(--cream3); --br2:1px solid var(--cream4);
  --bg:var(--cream); --bg2:var(--cream2); --bg3:var(--cream3);
  --fd:'Playfair Display',Georgia,serif;
  --fs:'DM Sans',system-ui,sans-serif;
  --rad:12px; --rad-s:8px; --rad-xs:6px;
  --acc:var(--green2);
}
body.dark {
  --cream:#141410; --cream2:#1a1814; --cream3:#201e18; --cream4:#282418;
  --ink:#f0ead8; --ink2:#b0a890; --ink3:#6a6050; --ink4:#3a3428;
  --bg:#141410; --bg2:#1a1814; --bg3:#201e18;
  --br:1px solid rgba(255,255,255,.07); --br2:1px solid rgba(255,255,255,.12);
}
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:var(--fs); background:var(--bg); color:var(--ink); line-height:1.6; -webkit-font-smoothing:antialiased; transition:background .3s,color .3s; }
a { text-decoration:none; color:inherit; }
button { font-family:var(--fs); }
img { max-width:100%; }
.spin { animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }
.loading { text-align:center; padding:60px; color:var(--ink3); font-size:28px; }

/* ════════════════════════════════════════════════════════
   NAVIGÁCIÓ
════════════════════════════════════════════════════════ */
.nav {
  background:var(--bg);
  border-bottom:var(--br);
  padding:0 48px;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky; top:0; z-index:100;
  transition:background .3s;
}
.logo {
  font-family:var(--fd);
  font-size:22px;
  color:var(--ink);
  font-style:italic;
  letter-spacing:-.3px;
  flex-shrink:0;
}
.logo em { color:var(--green2); font-style:italic; }
.nav-links {
  display:flex;
  gap:2px;
  align-items:center;
}
.nav-links a, .nl {
  background:none; border:none; cursor:pointer;
  font-family:var(--fs);
  font-size:13px; color:var(--ink2);
  padding:6px 14px; border-radius:var(--rad-xs);
  transition:all .15s; letter-spacing:.2px;
  text-decoration:none; display:inline-block;
}
.nav-links a:hover, .nl:hover { background:var(--cream2); color:var(--ink); }
.nav-links a.active, .nl.on { background:var(--green); color:#fff; }
body.dark .nav-links a:hover, body.dark .nl:hover { background:var(--cream2); }
.nav-actions { display:flex; gap:8px; align-items:center; }
.nav-theme-btn {
  background:none; border:var(--br2); color:var(--ink2);
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; font-size:15px; transition:all .15s;
}
.nav-theme-btn:hover { background:var(--bg2); }
@media(max-width:900px) {
  .nav { padding:0 20px; }
  .nav-links { display:none; }
}

/* ════════════════════════════════════════════════════════
   HERO SLIDER
════════════════════════════════════════════════════════ */
.hero-slider { position:relative; height:600px; overflow:hidden; background:var(--green); }
.hero-slides-wrap {
  display:flex; height:100%;
  transition:transform .7s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.hero-slide {
  min-width:100%; height:100%;
  position:relative; display:flex; align-items:flex-end;
  flex-shrink:0;
}
.hero-slide-bg {
  position:absolute; inset:0;
  background:linear-gradient(160deg,var(--green) 0%,var(--green2) 50%,#1a4a5a 100%);
  background-size:cover; background-position:center;
}
.hero-slide-bg img { width:100%; height:100%; object-fit:cover; }
.hero-slide-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(10,20,14,.82) 0%,rgba(10,20,14,.28) 55%,transparent 100%);
}
.hero-slide-content {
  position:relative; z-index:2;
  padding:0 56px 56px; max-width:720px;
}
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(168,230,184,.15);
  border:1px solid rgba(168,230,184,.25);
  color:rgba(168,230,184,.9);
  font-size:11px; letter-spacing:2px; text-transform:uppercase;
  padding:5px 14px; border-radius:100px;
  font-weight:500; margin-bottom:20px;
}
.hero-h1 {
  font-family:var(--fd);
  font-size:clamp(36px,5vw,62px);
  color:#fff; line-height:1.05;
  letter-spacing:-1.5px; margin-bottom:16px;
}
.hero-h1 em { font-style:italic; color:#a8e6b8; }
.hero-sub {
  font-size:16px; font-weight:300;
  color:rgba(255,255,255,.68); line-height:1.7;
  margin-bottom:32px; max-width:480px;
}
.hero-btns { display:flex; gap:10px; align-items:center; }
.btn-primary {
  background:#fff; color:var(--green);
  border:none; padding:12px 24px; border-radius:100px;
  font-size:14px; font-weight:500; cursor:pointer;
  font-family:var(--fs); transition:all .15s;
}
.btn-primary:hover { opacity:.9; transform:translateY(-1px); }
.btn-secondary {
  background:rgba(255,255,255,.1);
  color:#fff; border:1px solid rgba(255,255,255,.25);
  padding:12px 22px; border-radius:100px;
  font-size:14px; cursor:pointer; font-family:var(--fs);
  transition:all .15s;
}
.btn-secondary:hover { background:rgba(255,255,255,.18); }
/* Slider dots */
.hero-dots {
  position:absolute; bottom:22px; left:56px;
  display:flex; gap:8px; z-index:10;
}
.hero-dot {
  width:8px; height:8px; border-radius:50%;
  background:rgba(255,255,255,.35); border:none; cursor:pointer;
  transition:all .25s; padding:0;
}
.hero-dot.on { background:#fff; width:24px; border-radius:4px; }
/* Slider arrows */
.hero-arrow {
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.12); border:none; color:#fff;
  width:46px; height:46px; border-radius:50%; font-size:22px;
  cursor:pointer; z-index:10; backdrop-filter:blur(4px);
  transition:background .15s;
  display:flex; align-items:center; justify-content:center;
}
.hero-arrow:hover { background:rgba(255,255,255,.25); }
.hero-prev { left:20px; } .hero-next { right:20px; }

/* ════════════════════════════════════════════════════════
   SCROLL RIBBON
════════════════════════════════════════════════════════ */
.ribbon {
  background:var(--green);
  padding:12px 0;
  overflow:hidden;
  border-top:1px solid rgba(255,255,255,.07);
}
.ribbon-track {
  display:flex; gap:0;
  animation:ribbon-scroll 22s linear infinite;
  white-space:nowrap;
  width:max-content;
}
@keyframes ribbon-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ribbon-item {
  display:inline-flex; align-items:center; gap:8px;
  color:rgba(255,255,255,.55); font-size:12px;
  letter-spacing:.5px; padding:0 28px;
}
.ribbon-sep { color:rgba(255,255,255,.2); font-size:8px; }

/* ════════════════════════════════════════════════════════
   BANNERS BAR
════════════════════════════════════════════════════════ */
.banners-bar {
  background:var(--bg2); border-bottom:var(--br);
  display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
}
.banner-item {
  padding:14px 24px; cursor:pointer;
  border-right:var(--br); transition:background .15s;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.banner-item:last-child { border-right:none; }
.banner-item:hover { background:var(--bg3); }
.banner-label { font-size:9px; letter-spacing:1.5px; text-transform:uppercase; color:var(--ink4); margin-bottom:3px; font-weight:500; }
.banner-name { font-family:var(--fd); font-size:14px; color:var(--ink); }
.banner-sub { font-size:11px; color:var(--ink3); }

/* ════════════════════════════════════════════════════════
   EVENTS STRIP
════════════════════════════════════════════════════════ */
.events-section { padding:40px 48px 0; background:var(--bg); }
.events-section > * { max-width:1200px; margin-left:auto; margin-right:auto; }
.section-header {
  display:flex; align-items:baseline;
  justify-content:space-between; margin-bottom:16px;
}
.section-label {
  font-size:10px; letter-spacing:2px; text-transform:uppercase;
  color:var(--ink3); font-weight:500;
}
.section-link { font-size:13px; color:var(--green2); cursor:pointer; }
.events-grid {
  display:flex;
  border:var(--br); border-radius:var(--rad);
  overflow:hidden;
  width:100%;
}
.ev-item {
  flex:1; min-width:0;
  padding:20px 18px; border-right:var(--br);
  cursor:pointer; transition:background .15s;
}
.ev-item:last-child { border-right:none; }
.ev-item:hover { background:var(--bg2); }
.ev-date {
  font-family:var(--fd); font-size:12px;
  font-style:italic; color:var(--accent); margin-bottom:5px;
}
.ev-badge {
  display:inline-block; font-size:9px; font-weight:500;
  letter-spacing:.8px; text-transform:uppercase;
  padding:2px 8px; border-radius:100px; margin-bottom:6px;
  background:var(--green4); color:var(--green);
}
.ev-name {
  font-family:var(--fd); font-size:15px;
  color:var(--ink); margin-bottom:3px; line-height:1.3;
}
.ev-loc { font-size:11px; color:var(--ink3); }

/* ════════════════════════════════════════════════════════
   LISTINGS SECTION
════════════════════════════════════════════════════════ */
#listings-section { padding:48px 48px 0; background:var(--bg); }
.section-title {
  font-family:var(--fd); font-size:34px; color:var(--ink);
  letter-spacing:-.5px; margin-bottom:6px;
}
.section-title em { font-style:italic; color:var(--green2); }
.section-sub {
  font-size:14px; color:var(--ink3); margin-bottom:28px; font-weight:300;
}

/* FILTER PILLS */
.filter-pills { display:flex; gap:6px; margin-bottom:28px; flex-wrap:wrap; }
#filterPills { display:flex; gap:6px; flex-wrap:wrap; }
.fp {
  background:var(--bg2); border:var(--br);
  color:var(--ink2); padding:7px 16px; border-radius:100px;
  font-size:12px; cursor:pointer; font-family:var(--fs);
  transition:all .15s; font-weight:400;
}
.fp:hover { border-color:var(--ink3); }
.fp.on { background:var(--green); color:#fff; border-color:var(--green); }

/* SEARCH + VIEW */
.listings-toolbar {
  display:flex; gap:10px; align-items:center; margin-bottom:24px; flex-wrap:wrap;
}
.search-wrap {
  flex:1; min-width:200px; max-width:340px;
  position:relative;
}
.search-wrap i {
  position:absolute; left:12px; top:50%; transform:translateY(-50%);
  color:var(--ink3); font-size:16px;
}
#searchInput {
  width:100%; padding:9px 12px 9px 36px;
  border:var(--br); border-radius:100px;
  background:var(--bg2); color:var(--ink);
  font-family:var(--fs); font-size:13px; outline:none;
  transition:border .15s;
}
#searchInput:focus { border-color:var(--green2); }
.view-btns { display:flex; gap:4px; }
.view-btn {
  background:var(--bg2); border:var(--br);
  color:var(--ink3); width:32px; height:32px;
  border-radius:var(--rad-xs); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:15px; transition:all .15s;
}
.view-btn.on { background:var(--green); color:#fff; border-color:var(--green); }

/* CARDS GRID */
/* ═══════════════════════════════════════
   CARDS GRID — Modern szellős layout
═══════════════════════════════════════ */
.cards-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

/* Első kártya nagy — 2 oszlop */
.cards-grid .place-card:first-child {
  grid-column: span 2;
}
.cards-grid .place-card:first-child .place-thumb {
  aspect-ratio: 16/8;
}
.cards-grid .place-card:first-child .place-title {
  font-size: 24px;
}

/* 3. helyen AdSense — csak 1 oszlop széles */
.adsense-slot {
  background: var(--bg2);
  border: var(--br);
  border-radius: var(--rad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 20px;
  text-align: center;
}
.adsense-slot-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink4);
  margin-bottom: 12px;
}

/* PLACE CARD */
.place-card {
  background: var(--bg);
  border: var(--br);
  border-radius: var(--rad);
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.place-card:hover {
  box-shadow: 0 8px 32px rgba(30,26,20,.1);
  transform: translateY(-2px);
}
.place-thumb {
  background: linear-gradient(135deg, var(--cream3) 0%, var(--cream4) 100%);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.place-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
}
.place-card:hover .place-thumb img { transform: scale(1.06); }
.place-badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(255,255,255,.92);
  color: var(--green);
  font-size: 9px; font-weight: 600; letter-spacing: .8px;
  text-transform: uppercase; padding: 3px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
}
.place-body {
  padding: 18px 20px 22px;
  flex: 1; display: flex; flex-direction: column;
}
.place-cat {
  font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink3);
  margin-bottom: 8px; font-weight: 500;
}
.place-title {
  font-family: var(--fd); font-size: 18px;
  color: var(--ink); margin-bottom: 8px; line-height: 1.2;
}
.place-desc {
  font-size: 13px; color: var(--ink2);
  line-height: 1.65; margin-bottom: 16px;
  flex: 1; font-weight: 300;
}
.place-foot {
  display: flex; justify-content: space-between; align-items: center;
  border-top: var(--br); padding-top: 12px; margin-top: auto;
}
.place-price {
  font-family: var(--fd); font-size: 14px; color: var(--ink);
}
.place-more {
  font-size: 12px; color: var(--green2); font-weight: 500;
  display: flex; align-items: center; gap: 3px;
}

/* LIST VIEW */
.list-wrap { display:flex; flex-direction:column; }
.list-card {
  background:var(--bg); border-bottom:var(--br);
  cursor:pointer; transition:background .15s;
  display:grid; grid-template-columns:80px 1fr auto;
  align-items:center; gap:16px; padding:14px 18px;
}
.list-card:hover { background:var(--bg2); }
.list-thumb {
  width:80px; height:60px; border-radius:var(--rad-s);
  background:var(--cream3); overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  font-size:24px;
}
.list-thumb img { width:100%; height:100%; object-fit:cover; }
.list-body { min-width:0; }
.list-right { text-align:right; flex-shrink:0; }

/* EMPTY STATE */
.empty-state { padding:60px 0; text-align:center; color:var(--ink3); }

/* ════════════════════════════════════════════════════════
   ÖNKORMÁNYZATI PROGRAMOK
════════════════════════════════════════════════════════ */
.municipal-section {
  padding:64px 48px 48px;
  background:var(--green);
  position:relative; overflow:hidden;
  transition:background .3s;
}
.municipal-section::before {
  content:'';
  position:absolute; top:-80px; right:-80px;
  width:400px; height:400px; border-radius:50%;
  background:rgba(255,255,255,.03); pointer-events:none;
}
.municipal-header { margin-bottom:36px; }
.municipal-section .section-label { color:rgba(255,255,255,.45); }
.section-title-light { font-family:var(--fd); font-size:34px; color:#fff; letter-spacing:-.5px; }
.section-title-light em { font-style:italic; color:#a8e6b8; }
.municipal-cards {
  display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:12px;
}
.muni-card {
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.11);
  border-radius:var(--rad); overflow:hidden; cursor:pointer;
  transition:all .15s;
}
.muni-card:hover { background:rgba(255,255,255,.12); transform:translateY(-2px); }
.muni-card-img {
  aspect-ratio:16/9; background:rgba(255,255,255,.05);
  display:flex; align-items:center; justify-content:center;
  font-size:36px; overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.muni-card-img img { width:100%; height:100%; object-fit:cover; }
.muni-card-body { padding:16px 18px 20px; }
.muni-card-date { font-size:11px; color:rgba(255,255,255,.4); margin-bottom:6px; }
.muni-card-title { font-family:var(--fd); font-size:17px; color:#fff; margin-bottom:6px; line-height:1.3; }
.muni-card-excerpt { font-size:12px; color:rgba(255,255,255,.5); line-height:1.5; font-weight:300; }
.muni-card-meta { display:flex; justify-content:space-between; align-items:center; margin-top:10px; }
.muni-badge {
  display:inline-block; font-size:9px; font-weight:500;
  letter-spacing:.8px; text-transform:uppercase;
  padding:2px 8px; border-radius:100px;
  background:rgba(168,230,184,.2); color:#a8e6b8;
}
.muni-more { font-size:12px; color:rgba(255,255,255,.35); }

/* Adsense a muni programok alatt */
.muni-adsense {
  background:var(--green);
  padding:0 48px 48px;
}
.muni-adsense-inner {
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--rad);
  padding:20px; text-align:center; min-height:100px;
  display:flex; align-items:center; justify-content:center;
}

/* ════════════════════════════════════════════════════════
   GALÉRIA SZEKCIÓ
════════════════════════════════════════════════════════ */
.gallery-section {
  padding:64px 48px 48px;
  background:var(--bg2); border-top:var(--br);
}
.gallery-header { margin-bottom:28px; }
.gallery-track-wrap { overflow:hidden; }
.gallery-track {
  display:flex; gap:12px;
  transition:transform .55s cubic-bezier(.4,0,.2,1);
  will-change:transform;
}
.gallery-item {
  width:400px; height:400px; flex-shrink:0;
  border-radius:var(--rad); overflow:hidden;
  background:var(--bg3); cursor:pointer; position:relative;
}
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.gallery-item:hover img { transform:scale(1.04); }
.gallery-item-caption {
  position:absolute; bottom:0; left:0; right:0;
  background:linear-gradient(to top,rgba(0,0,0,.7),transparent);
  color:#fff; font-size:13px; padding:24px 14px 12px;
  opacity:0; transition:opacity .2s;
}
.gallery-item:hover .gallery-item-caption { opacity:1; }
.gallery-nav {
  display:flex; align-items:center; justify-content:center;
  gap:12px; margin-top:18px;
}
.gallery-btn {
  width:38px; height:38px; border-radius:50%;
  border:var(--br2); background:var(--bg);
  color:var(--ink2); font-size:20px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:all .15s;
}
.gallery-btn:hover { background:var(--bg3); border-color:var(--ink3); }
.gallery-dots { display:flex; gap:6px; align-items:center; }
.gallery-dot {
  width:6px; height:6px; border-radius:50%;
  background:var(--cream4); border:none; cursor:pointer;
  transition:all .2s; padding:0;
}
.gallery-dot.on { background:var(--ink2); width:18px; border-radius:3px; }

/* ════════════════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════════════════ */
#lightbox {
  position:fixed; inset:0; background:rgba(0,0,0,.92);
  z-index:500; display:none; align-items:center;
  justify-content:center; flex-direction:column; padding:20px;
}
.lb-inner {
  position:relative; max-width:900px; width:100%;
  display:flex; flex-direction:column; align-items:center; gap:14px;
}
#lbImg { max-height:75vh; max-width:100%; border-radius:var(--rad); object-fit:contain; }
.lb-caption { color:rgba(255,255,255,.7); font-size:14px; text-align:center; }
.lb-counter { color:rgba(255,255,255,.4); font-size:12px; }
.lb-close {
  position:fixed; top:20px; right:20px;
  background:rgba(255,255,255,.1); border:none; color:#fff;
  width:40px; height:40px; border-radius:50%; font-size:18px;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
}
.lb-arrow {
  position:fixed; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.1); border:none; color:#fff;
  width:48px; height:48px; border-radius:50%; font-size:28px;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .15s;
}
.lb-arrow:hover { background:rgba(255,255,255,.2); }
.lb-prev { left:16px; } .lb-next { right:16px; }

/* ════════════════════════════════════════════════════════
   DETAIL OLDALAK (aloldalak)
════════════════════════════════════════════════════════ */
.detail-overlay {
  position:fixed; inset:0; background:var(--bg3);
  z-index:300; overflow-y:auto; display:none;
  transition:background .3s;
}
.detail-page { min-height:100vh; }
.detail-nav {
  position:sticky; top:0; z-index:10;
  background:var(--bg); border-bottom:var(--br);
  padding:0 40px; height:56px;
  display:flex; align-items:center; justify-content:space-between;
  transition:background .3s;
}
.detail-back {
  display:flex; align-items:center; gap:6px;
  background:none; border:none; font-family:var(--fs);
  font-size:13px; color:var(--ink2); cursor:pointer;
  transition:color .15s;
}
.detail-back:hover { color:var(--ink); }
.detail-hero {
  height:480px; position:relative; display:flex; align-items:flex-end;
  background:var(--green); background-size:cover; background-position:center; overflow:hidden;
}
.detail-hero-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.75) 0%,rgba(0,0,0,.15) 60%,transparent 100%);
}
.detail-hero-content { position:relative; z-index:2; padding:0 40px 40px; }
.detail-type { font-size:11px; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:10px; }
.detail-title { font-family:var(--fd); font-size:clamp(28px,4vw,52px); color:#fff; line-height:1.1; letter-spacing:-1px; }
.dp-body { max-width:1200px; margin:0 auto; padding:48px 40px 64px; }
.dp-meta-bar { display:flex; gap:28px; flex-wrap:wrap; padding-bottom:28px; border-bottom:var(--br); margin-bottom:36px; }
.dp-meta-item { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--ink2); }
.dp-meta-item i { color:var(--accent); font-size:20px; }
.dp-content-row { display:grid; grid-template-columns:1fr 320px; gap:48px; align-items:start; margin-bottom:40px; }
.dp-content-row.no-poster { grid-template-columns:1fr; }
.dp-text-col { min-width:0; }
.dp-desc { font-size:15px; color:var(--ink2); line-height:1.9; font-weight:300; }
.dp-desc h1,.dp-desc h2,.dp-desc h3 { font-family:var(--fd); color:var(--ink); margin:24px 0 12px; line-height:1.2; }
.dp-desc h1 { font-size:28px; } .dp-desc h2 { font-size:22px; } .dp-desc h3 { font-size:18px; }
.dp-desc p { margin-bottom:14px; }
.dp-desc b,.dp-desc strong { color:var(--ink); font-weight:500; }
.dp-desc ul,.dp-desc ol { padding-left:20px; margin-bottom:14px; }
.dp-desc li { margin-bottom:6px; }
.dp-desc a { color:var(--green2); text-decoration:underline; }
.dp-cta-wrap { margin-top:24px; }
.dp-cta-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:var(--ink); color:var(--bg);
  padding:12px 24px; border-radius:100px;
  font-size:14px; font-weight:500; text-decoration:none;
  transition:opacity .15s;
}
.dp-cta-btn:hover { opacity:.8; }
.dp-poster-col { flex-shrink:0; }
.dp-poster-label { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:var(--ink3); margin-bottom:10px; }
.dp-poster-img {
  width:100%; max-width:320px;
  border-radius:var(--rad); border:var(--br);
  display:block; cursor:pointer;
  transition:transform .2s, box-shadow .2s;
}
.dp-poster-img:hover { transform:scale(1.02); box-shadow:0 8px 32px rgba(0,0,0,.15); }
.dp-poster-col::after {
  content:'🔍 Kattints a nagyításhoz';
  display:block; font-size:11px; color:var(--ink3);
  margin-top:6px; text-align:center;
}
.detail-gallery-section { margin-top:48px; padding-top:36px; border-top:var(--br); }
.detail-gallery-head { font-family:var(--fd); font-size:22px; color:var(--ink); margin-bottom:20px; }
.detail-gallery-wrap { overflow:hidden; }
.detail-gallery-track { display:flex; gap:10px; transition:transform .5s cubic-bezier(.4,0,.2,1); }
.detail-gallery-item {
  width:400px; height:400px; flex-shrink:0;
  border-radius:var(--rad-s); overflow:hidden; background:var(--bg2); cursor:pointer;
}
.detail-gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.detail-gallery-item:hover img { transform:scale(1.04); }
.detail-gallery-nav { display:flex; gap:8px; margin-top:14px; }

/* ════════════════════════════════════════════════════════
   HELYSZÍN ALOLDAL
════════════════════════════════════════════════════════ */
.loc-detail-hero {
  height:500px; position:relative; display:flex; align-items:flex-end;
  background:var(--green); background-size:cover; background-position:center; overflow:hidden;
}
.loc-detail-hero-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.12) 60%,transparent 100%); }
.loc-detail-hero-content { position:relative; z-index:2; padding:0 40px 44px; }
.loc-detail-cat { font-size:11px; letter-spacing:2.5px; text-transform:uppercase; color:rgba(255,255,255,.55); margin-bottom:10px; }
.loc-detail-title { font-family:var(--fd); font-size:clamp(28px,4vw,54px); color:#fff; line-height:1.05; letter-spacing:-1px; margin-bottom:10px; }
.loc-detail-badge { display:inline-block; background:rgba(255,255,255,.15); color:#fff; border:1px solid rgba(255,255,255,.3); border-radius:100px; padding:4px 14px; font-size:12px; backdrop-filter:blur(4px); }
.loc-detail-body { max-width:920px; margin:0 auto; padding:48px 40px; }
.loc-detail-grid { display:grid; grid-template-columns:1fr 340px; gap:48px; margin-bottom:40px; align-items:start; }
.loc-detail-desc { font-size:15px; color:var(--ink2); line-height:1.8; font-weight:300; }
.loc-detail-desc p { margin-bottom:14px; }
.loc-info-card { background:var(--bg); border:var(--br); border-radius:var(--rad); padding:24px; }
.loc-info-item { display:flex; align-items:flex-start; gap:12px; padding:12px 0; border-bottom:var(--br); font-size:13px; }
.loc-info-item:last-child { border-bottom:none; }
.loc-info-item i { color:var(--green2); font-size:18px; flex-shrink:0; margin-top:1px; }
.loc-info-label { font-size:10px; color:var(--ink3); letter-spacing:.5px; text-transform:uppercase; margin-bottom:2px; }
.loc-info-val { color:var(--ink); }
.loc-info-val a { color:var(--green2); text-decoration:none; }
.loc-detail-gallery { margin-top:48px; padding-top:36px; border-top:var(--br); }
.loc-gallery-head { font-family:var(--fd); font-size:22px; color:var(--ink); margin-bottom:20px; }
.loc-gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; }
.loc-gallery-item { aspect-ratio:4/3; border-radius:var(--rad-s); overflow:hidden; background:var(--bg2); cursor:pointer; }
.loc-gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .3s; }
.loc-gallery-item:hover img { transform:scale(1.05); }
.loc-website-btn { display:inline-flex; align-items:center; gap:8px; background:var(--ink); color:var(--bg); padding:12px 24px; border-radius:100px; font-size:14px; font-weight:500; text-decoration:none; margin-top:20px; transition:opacity .15s; }
.loc-website-btn:hover { opacity:.8; }
.opening-hours { display:grid; grid-template-columns:auto 1fr; gap:4px 16px; font-size:13px; }
.oh-day { color:var(--ink2); } .oh-time { color:var(--ink); font-weight:500; }

/* ════════════════════════════════════════════════════════
   KATEGÓRIA OLDALAK
════════════════════════════════════════════════════════ */
#catPageOverlay {
  position:fixed; inset:0; background:var(--bg3);
  z-index:200; overflow-y:auto; display:none;
}
.cat-page { min-height:100vh; }
.cat-hero {
  height:420px; position:relative; display:flex;
  align-items:flex-end; overflow:hidden;
  background:linear-gradient(160deg,var(--green),var(--green2));
  background-size:cover; background-position:center;
}
.cat-hero-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(0,0,0,.68),rgba(0,0,0,.12) 60%,transparent); }
.cat-hero-content { position:relative; z-index:2; padding:0 40px 44px; max-width:760px; }
.cat-hero-title { font-family:var(--fd); font-size:clamp(32px,5vw,56px); color:#fff; line-height:1.05; letter-spacing:-1px; margin-bottom:12px; }
.cat-hero-sub { font-size:16px; font-weight:300; color:rgba(255,255,255,.72); line-height:1.6; }
.cat-ad-bar { background:var(--bg); border-bottom:var(--br); }
.cat-ad-inner { display:grid; grid-template-columns:1fr 1fr; }
.cat-intro { max-width:860px; margin:0 auto; padding:36px 40px 0; }
.cat-intro p { font-size:15px; color:var(--ink2); line-height:1.8; font-weight:300; }
.cat-listings { max-width:1200px; margin:0 auto; padding:40px 40px 64px; }
.cat-count { font-size:13px; color:var(--ink3); }

/* ════════════════════════════════════════════════════════
   BADGE RENDSZER
════════════════════════════════════════════════════════ */
.badge-onkormanyzat { background:#e8f0fe!important; color:#1a56db!important; }
.badge-kiemelt      { background:#fef9c3!important; color:#92400e!important; }
.badge-csalad       { background:#dcfce7!important; color:#166534!important; }
.badge-gasztro      { background:#fce7f3!important; color:#9d174d!important; }
.badge-program      { background:#e0f2fe!important; color:#075985!important; }
.badge-sport        { background:#ffedd5!important; color:#9a3412!important; }
.badge-termeszet    { background:#d1fae5!important; color:#065f46!important; }
.badge-kultura      { background:#ede9fe!important; color:#5b21b6!important; }

/* ════════════════════════════════════════════════════════
   MODAL (helyszín)
════════════════════════════════════════════════════════ */
.modal-overlay {
  position:fixed; inset:0; background:rgba(0,0,0,.5);
  z-index:400; display:none; align-items:center; justify-content:center;
  padding:20px;
}
.modal-sheet {
  background:var(--bg); border-radius:var(--rad);
  max-width:640px; width:100%; max-height:85vh; overflow-y:auto;
}
.modal-header {
  display:flex; justify-content:space-between; align-items:flex-start;
  padding:24px 28px 20px; border-bottom:var(--br); position:sticky; top:0;
  background:var(--bg); z-index:1;
}
.modal-close {
  background:var(--bg2); border:var(--br); color:var(--ink2);
  width:32px; height:32px; border-radius:50%; cursor:pointer;
  display:flex; align-items:center; justify-content:center; font-size:16px;
  flex-shrink:0; margin-top:2px;
}
.modal-body { padding:24px 28px 28px; }
.modal-gallery { margin-bottom:20px; }
.modal-gallery .main-img {
  aspect-ratio:16/9; overflow:hidden; border-radius:var(--rad-s);
  background:var(--bg2); display:flex; align-items:center; justify-content:center;
}
.modal-gallery .main-img img { width:100%; height:100%; object-fit:cover; }
.modal-meta { display:flex; flex-wrap:wrap; gap:14px; margin-top:16px; }
.modal-meta-item { display:flex; align-items:center; gap:6px; font-size:13px; color:var(--ink2); }
.modal-meta-item i { color:var(--green2); }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
.footer {
  background:var(--ink); padding:48px 48px 32px;
  display:grid; grid-template-columns:2fr 1fr 1fr; gap:40px;
  border-top:1px solid rgba(255,255,255,.05);
}
.ft-logo { font-family:var(--fd); font-size:22px; color:var(--cream); font-style:italic; margin-bottom:12px; }
.ft-logo em { color:#a8e6b8; }
.ft-desc { font-size:12px; color:rgba(255,255,255,.32); line-height:1.75; font-weight:300; max-width:260px; }
.ft-head { font-size:10px; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.28); margin-bottom:14px; font-weight:500; }
.ft-link { font-size:12px; color:rgba(255,255,255,.42); margin-bottom:8px; cursor:pointer; transition:color .15s; }
.ft-link:hover { color:rgba(255,255,255,.8); }
.ft-copy { font-size:10px; color:rgba(255,255,255,.18); margin-top:32px; grid-column:1/-1; padding-top:20px; border-top:1px solid rgba(255,255,255,.06); }

/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media(max-width:1024px) {
  .cards-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
  .cards-grid .place-card:first-child { grid-column:span 2; }
  .adsense-slot { min-height:120px; }
}
@media(max-width:900px) {
  .nav { padding:0 20px; }
  .events-section, #listings-section { padding-left:20px; padding-right:20px; }
  .municipal-section { padding:40px 20px; }
  .gallery-section { padding:40px 20px; }
  .events-grid { display:flex; overflow-x:auto; scrollbar-width:none; }
  .events-grid::-webkit-scrollbar { display:none; }
  .ev-item { min-width:160px; flex-shrink:0; padding:16px 14px; }
  .dp-content-row { grid-template-columns:1fr; }
  .loc-detail-grid { grid-template-columns:1fr; }
  .loc-gallery-grid { grid-template-columns:repeat(2,1fr); }
  .footer { grid-template-columns:1fr 1fr; padding:32px 20px 24px; }
  .gallery-item { width:280px; height:280px; }
  .detail-gallery-item { width:280px; height:280px; }
  .cat-hero { height:320px; }
  .cat-listings { padding:24px 20px 48px; }
  .hero-slider { height:480px; }
  .hero-slide-content { padding:0 24px 40px; }
}
@media(max-width:600px) {
  .events-grid { display:flex; }
  .cards-grid { grid-template-columns:1fr; gap:10px; }
  .cards-grid .place-card:first-child { grid-column:1; }
  .cards-grid .place-card:first-child .place-thumb { aspect-ratio:16/9; }
  .municipal-cards { grid-template-columns:1fr; }
  .footer { grid-template-columns:1fr; }
  .gallery-item { width:240px; height:240px; }
}

/* ════════════════════════════════════════════════════════
   DEKORATÍV KÖRKÖRÖS ELEMEK
════════════════════════════════════════════════════════ */

/* Listings section - nagy dekoratív körök */
#listings-section {
  position: relative;
  overflow: hidden;
}
#listings-section::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid var(--cream3);
  pointer-events: none; z-index: 0;
}
#listings-section::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid var(--cream4);
  pointer-events: none; z-index: 0;
}
#listings-section > * { position: relative; z-index: 1; }

/* Events section - kis dekoratív kör bal oldalt */
.events-section {
  position: relative;
  overflow: hidden;
}
.events-section::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  border: 1px solid var(--cream3);
  pointer-events: none;
}

/* Municipal section - körök a zöld háttéren */
.municipal-section::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -100px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  pointer-events: none;
}

/* Gallery section - kör jobb oldalt */
.gallery-section {
  position: relative;
  overflow: hidden;
}
.gallery-section::after {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  border: 1px solid var(--cream3);
  pointer-events: none;
}

/* Ribbon scroll animáció javítás */
.ribbon-track {
  display: flex;
  animation: ribbon-scroll 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

/* Events grid responsive - vízszintes scroll, 1 sorban marad */
@media(max-width:900px) {
  .events-section { padding-left: 20px; padding-right: 20px; }
  .events-section > * { max-width: 100%; }
}

/* ════════════════════════════════════════════════════════
   VÍZÁLLÁS WIDGET — Folyó animáció
════════════════════════════════════════════════════════ */
#vizallasWidget {
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(0,0,0,.15);
}

/* Folyó animáció réteg */
.river-anim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(30,80,140,.0) 0%,
    rgba(40,120,200,.18) 20%,
    rgba(60,160,240,.1) 40%,
    rgba(30,80,140,.0) 60%,
    rgba(40,120,200,.18) 80%,
    rgba(60,160,240,.1) 100%
  );
  background-size: 200% 100%;
  animation: river-flow 6s linear infinite;
}

/* Hullám overlay */
.river-anim::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px,
    transparent 12px,
    rgba(100,180,255,.25) 12px,
    rgba(100,180,255,.25) 24px
  );
  animation: river-wave 3s linear infinite;
}

@keyframes river-flow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes river-wave {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-24px); }
}

/* Vízállás értékek */
.viz-item {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding: 0 16px;
  border-right: 1px solid rgba(255,255,255,.08);
  white-space: nowrap;
}
.viz-item:last-child { border-right: none; }
.viz-allomas {
  font-size: 11px;
  color: rgba(120,200,255,.55);
  letter-spacing: .3px;
}
.viz-ertek {
  font-family: var(--fd);
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}
.viz-cm {
  font-size: 10px;
  color: rgba(255,255,255,.35);
}
/* Vízállás mobilon */
@media(max-width:900px) {
  #vizallasWidget > div {
    padding: 10px 16px !important;
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 4px !important;
  }
  #vizallasData {
    justify-content: center;
    flex-wrap: wrap;
  }
  .viz-item {
    padding: 0 10px;
  }
  .viz-ertek { font-size: 15px; }
}
