/*
Theme Name: Kunsziget Termálfalu
Theme URI: https://thermalfalu.hu
Description: Egyedi one-pager téma a Kunsziget Termálfalu előértékesítési weboldalához
Author: Kunsziget Projekt
Version: 1.0.0
Text Domain: kunsziget
*/

/* ======================================================
   RESET & BASE
====================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body {
  font-family: 'Bellota Text', 'Segoe UI', sans-serif;
  color: #1a1a1a;
  background: #071921;
  /* clip instead of hidden — overflow-x:hidden on body breaks Jarallax/AWB parallax */
  overflow-x: clip;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ======================================================
   CSS VARIABLES
====================================================== */
:root {
  --gold: #C9A84C;
  --gold-light: #E2C97E;
  --dark: #071921;
  --dark-mid: #0d2e3a;
  --dark-card: #103a4a;
  --teal: #1d6680;
  --teal-light: #2a8099;
  --cream: #F7F3EE;
  --text-light: rgba(255,255,255,0.82);
  --text-muted: rgba(255,255,255,0.5);
  --green: #1d6680;
  --section-pad: clamp(80px, 10vw, 130px);
  --nav-height: 80px;
  --hero-inset-top: calc(var(--nav-height) + 24px);
  --hero-edge-x: clamp(48px, 5.5vw, 80px);
  --hero-stats-bottom: 42px;
  --hero-text-width: min(72.8%, 868px);
  --hero-col-min-aside: 340px;
}

/* ======================================================
   TYPOGRAPHY
====================================================== */
h1, h2, h3, h4 {
  font-family: 'Bellota Text', sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: #fff;
  margin-bottom: 1.2rem;
}
.section-body {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.75;
}

/* ======================================================
   BLOCK EDITOR RESETS
   wp-block-library.css loads AFTER our * reset and
   re-introduces margins/constraints we must override.
====================================================== */

/* Library adds margin: 0 0 1em to every figure.wp-block-image.
   figure + class = 0,1,1 specificity beats library's 0,1,0. */
figure.wp-block-image { margin: 0; }

/* Card images: figure must fill the fixed-height container */
.accom-card-img figure.wp-block-image {
  height: 100%;
  width: 100%;
}
.accom-card-img figure.wp-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Separators: kill library defaults, our classes set appearance */
hr.wp-block-separator { margin: 0; border: none; }

/* Headings inside blocks: follow our colour variables */
.section .wp-block-heading { color: inherit; }
h2.section-title,
.wp-block-heading.section-title { color: #fff; margin-bottom: 1.2rem; }
.wp-block-heading.accom-group-title { color: #fff; margin: 0 0 0.75rem; }
.wp-block-heading.accom-card-title  { color: #fff; font-size: 1.3rem; margin: 0 0 8px; }
.wp-block-heading.investment-subtitle { color: #fff; font-size: 1.25rem; margin: 0 0 1.5rem; }
.wp-block-heading.contact-promo-title { color: var(--gold); font-size: 1.15rem; margin: 0 0 0.75rem; }

/* .container group: never let WP constrain the width */
.wp-block-group.container {
  max-width: 1320px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100%;
}

/* Paragraph margins: our * reset can't win in all block contexts */
.wp-block-group p { margin-bottom: 0; }
p.section-label  { margin-bottom: 1rem; }
p.section-body   { margin-bottom: 0; }

/* ======================================================
   NAVIGATION
====================================================== */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
  padding: 14px 0;
}
#main-nav.scrolled {
  background: rgba(7,25,33,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 0;
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 20px;
  flex-wrap: nowrap;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  height: 52px;
  width: auto;
  flex-shrink: 0;
  transition: height 0.3s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.nav-logo-text strong {
  font-family: 'Bellota Text', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.nav-logo-text em {
  font-family: 'Bellota Text', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
#main-nav.scrolled .nav-logo-icon { height: 40px; }
#main-nav.scrolled .nav-logo-text strong { font-size: 1.05rem; }

/* At page top: hide compact nav logo — hero shows logo-main instead */
#main-nav:not(.scrolled) .nav-logo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 0;
  overflow: hidden;
}
#main-nav:not(.scrolled) .nav-inner {
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 0 clamp(10px, 1.2vw, 28px);
  list-style: none;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: var(--nav-fit-size, 0.82rem);
}
.nav-links li {
  flex: 0 0 auto;
}
#main-nav.scrolled .nav-links {
  justify-content: space-between;
}
.nav-links a {
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  position: relative;
  display: block;
  line-height: 1.2;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.btn-nav {
  background: var(--gold);
  color: #0d1117 !important;
  padding: 0.75em 1.35em;
  border-radius: 3px;
  font-weight: 700 !important;
  font-size: 1em;
  letter-spacing: 0.08em;
  transition: background 0.2s, transform 0.2s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.nav-hamburger:hover,
.nav-hamburger:focus,
.nav-hamburger:focus-visible,
.nav-hamburger:active {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* ======================================================
   HERO SECTION
====================================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 650px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-logo {
  position: absolute;
  top: var(--hero-inset-top);
  left: var(--hero-edge-x);
  z-index: 3;
  line-height: 0;
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.hero-logo-img {
  display: block;
  height: clamp(160px, 28vh, 300px);
  width: auto;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.45));
}
body.hero-logo-hidden #hero .hero-logo {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
}
#hero-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
#hero::after {
  content: '';
  display: block;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 25, 33, 0.82) 0%,
    rgba(7, 25, 33, 0.42) 22%,
    rgba(7, 25, 33, 0.12) 42%,
    transparent 62%
  );
  z-index: 1;
  pointer-events: none;
}

/* Two-column bottom row: text left, CTAs + stats right (fixed min width for buttons) */
.hero-bottom {
  position: absolute;
  left: var(--hero-edge-x);
  right: 40px;
  bottom: var(--hero-stats-bottom);
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(var(--hero-col-min-aside), max-content);
  gap: clamp(16px, 3vw, 48px);
  align-items: end;
  box-sizing: border-box;
  width: auto;
  max-width: calc(100% - var(--hero-edge-x) - 40px);
}
.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 24px;
  min-width: var(--hero-col-min-aside);
  width: max-content;
  max-width: 100%;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 !important;
  padding-bottom: 0;
  z-index: 3;
}
.hero-ctas .wp-block-button,
.hero-ctas > a,
.hero-ctas .btn-primary,
.hero-ctas .btn-outline {
  flex-shrink: 0;
}
.hero-ctas .wp-block-button__link,
.hero-ctas .btn-primary,
.hero-ctas .btn-outline {
  white-space: nowrap;
  text-align: center;
}
.hero-content .hero-badge,
.hero-content .hero-title,
.hero-content .hero-subtitle,
.hero-content .wp-block-group.hero-badge,
.hero-content .wp-block-heading.hero-title,
.hero-content p.hero-subtitle {
  flex-shrink: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  min-width: 0;
}
.hero-subtitle {
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  color: var(--text-light);
  max-width: 100%;
  margin-bottom: 0;
  line-height: 1.7;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 2rem;
}
.hero-badge span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
p.hero-badge-dot {
  margin: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  max-width: 100%;
  margin-bottom: 1.25rem;
  line-height: 1.35;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em {
  font-style: normal;
  color: #fff;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: #071921;
  padding: 15px 32px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 14px rgba(201,168,76,0.4);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(201,168,76,0.6);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 15px 32px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  transform: translateY(-2px);
}
.hero-scroll {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: float-down 2s ease-in-out infinite;
}
@keyframes float-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
.hero-scroll svg {
  width: 20px; opacity: 0.5;
}
.hero-stats {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 40px);
  justify-content: flex-end;
  width: 100%;
  max-width: 100%;
}
.hero-stat {
  text-align: right;
  min-width: 0;
}
.hero-stat-num {
  font-family: 'Bellota Text', sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ======================================================
   SECTIONS COMMON
====================================================== */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section-dark { background: var(--dark); }
.section-mid { background: var(--dark-mid); }
.section-cream { background: var(--cream); }
.section-cream .section-title { color: #1a1a1a; }
.section-cream .section-body { color: #4a4a4a; }
.section-cream .section-label { color: var(--green); }
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.4rem 0;
}

/* ======================================================
   TERÜLETÁTTEKINTŐ TÉRKÉP
====================================================== */
#teruletattekintes .terulet-overview-intro {
  width: 100%;
  max-width: none;
  margin-bottom: 2.5rem;
}
#teruletattekintes .terulet-overview-intro .section-body {
  max-width: none;
}
#teruletattekintes .terulet-overview-intro .section-body + .section-body {
  margin-top: 1rem;
}
.terulet-map-widget {
  width: 100%;
}
.terulet-map-stage {
  position: relative;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(0, 0, 0, 0.25);
  line-height: 0;
}
.terulet-map-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 33, 0.18);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  z-index: 1;
}
.terulet-map-stage.is-hotspot-active::after {
  opacity: 0.42;
}
.terulet-map-img {
  display: block;
  width: 100%;
  height: auto;
}
.terulet-map-hotspots {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.terulet-hotspot {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--w);
  height: var(--h);
  margin: 0;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-radius: 10px;
  background: rgba(201, 168, 76, 0.08);
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.3;
  overflow: hidden;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}
.terulet-hotspot-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.terulet-hotspot-title {
  font-family: 'Bellota Text', sans-serif;
  font-size: clamp(0.82rem, 1.55vw, 1.12rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.75);
}
.terulet-hotspot-text {
  font-size: clamp(0.54rem, 0.98vw, 0.72rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.35;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}
.terulet-hotspot--compact {
  align-items: center;
  justify-content: center;
  padding: 6px;
  text-align: center;
}
.terulet-hotspot--compact .terulet-hotspot-label {
  align-items: center;
}
.terulet-hotspot--compact .terulet-hotspot-title {
  font-size: clamp(0.62rem, 1.05vw, 0.78rem);
  line-height: 1.2;
}
.terulet-hotspot--compact .terulet-hotspot-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: clamp(0.42rem, 0.72vw, 0.52rem);
  line-height: 1.25;
}
.terulet-map-stage.is-hotspot-active .terulet-hotspot {
  opacity: 0.22;
}
.terulet-map-stage:hover .terulet-hotspot:not(.is-active),
.terulet-map-stage:focus-within .terulet-hotspot:not(.is-active) {
  opacity: 0.1;
}
.terulet-hotspot:hover,
.terulet-hotspot:focus-visible,
.terulet-hotspot.is-active {
  opacity: 1 !important;
  background: rgba(7, 25, 33, 0.14);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-color: rgba(201, 168, 76, 0.65);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.22), 0 6px 20px rgba(0, 0, 0, 0.12);
  outline: none;
}
.terulet-hotspot:hover .terulet-hotspot-label,
.terulet-hotspot:focus-visible .terulet-hotspot-label,
.terulet-hotspot.is-active .terulet-hotspot-label {
  opacity: 1;
}
.terulet-map-legend {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 14px;
  margin-top: 1.5rem;
}
.terulet-legend-item {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(201, 168, 76, 0.22);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.terulet-legend-item:hover,
.terulet-legend-item.is-active {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.07);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.22);
  transform: translateY(-1px);
}
h3.terulet-legend-title,
.terulet-legend-title {
  margin: 0 0 6px;
  font-family: 'Bellota Text', sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.03em;
}
p.terulet-legend-text,
.terulet-legend-text {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.terulet-map-stage.is-hotspot-active .terulet-legend-item:not(.is-active) {
  opacity: 0.78;
}
@media (max-width: 768px) {
  .terulet-map-hotspots {
    display: none !important;
    pointer-events: none !important;
  }
  .terulet-map-stage::after {
    display: none !important;
  }
  .terulet-map-stage.is-hotspot-active::after {
    opacity: 0 !important;
  }
  .terulet-legend-item {
    transform: none !important;
  }
  .terulet-map-stage.is-hotspot-active .terulet-legend-item:not(.is-active) {
    opacity: 1;
  }
  .terulet-map-legend {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ======================================================
   LOCATION SECTION
====================================================== */
#lokacio .lokacio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
#lokacio .lokacio-map-wrap,
#lokacio .image-stack {
  position: relative;
}
#lokacio .lokacio-map,
#lokacio .lokacio-map-wrap img.lokacio-map {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: contain;
}
#lokacio .lokacio-map-wrap .img-badge {
  bottom: 1.25rem;
  left: 1.25rem;
}
#lokacio .img-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%; height: 82%;
  object-fit: cover;
  border-radius: 4px;
}
#lokacio .img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 54%;
  object-fit: cover;
  border-radius: 4px;
  border: 4px solid var(--dark-mid);
}
p.img-badge,
#lokacio .img-badge {
  position: absolute;
  bottom: 20%; left: 22%;
  background: rgba(201,168,76,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 14px 20px;
  border-radius: 4px;
  color: #fff;
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.features-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 2rem;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
#lokacio .feature-item--plain,
.wp-block-group.feature-item--plain {
  gap: 0;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}
p.feature-icon,
.feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 1.1rem;
}
.feature-text strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.feature-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ======================================================
   ACCOMMODATION SECTION
====================================================== */
#szallastipusok {
  background: var(--dark-mid);
}
.accommodation-intro {
  text-align: center;
  margin-bottom: 60px;
}
.accommodation-intro .section-body {
  margin: 0 auto;
}
.accommodation-intro .section-body + .section-body {
  margin-top: 1.25rem;
}

.accommodation-intro hr.wp-block-separator.divider-gold,
.accommodation-intro .divider-gold {
  margin-left: auto;
  margin-right: auto;
}
.accom-tabs-wrap {
  margin-top: 2rem;
  text-align: left;
}
#szallastipusok div:has(> .accom-tabs) {
  margin-top: 2rem;
  text-align: left !important;
}
.accom-tabs {
  display: inline-flex;
  gap: 4px;
  justify-content: flex-start;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  padding: 4px;
}
.accom-tab {
  padding: 10px 28px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  background: transparent;
}
.accom-tab.active {
  background: var(--gold);
  color: #071921;
}
#szallastipusok .accom-tabs-wrap {
  display: none !important;
}
#szallastipusok .accom-content {
  display: block !important;
}
.accom-all {
  margin-top: 0;
}
.accom-group + .accom-group {
  margin-top: 3rem;
}
.accom-group-title,
h3.accom-group-title,
#szallastipusok .wp-block-heading.accom-group-title {
  font-family: 'Bellota Text', sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: #fff !important;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  text-align: left;
}
#szallastipusok .accom-group-lead.section-body,
p.accom-group-lead.section-body {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  text-align: left;
  color: var(--text-light);
}
.accom-all .accom-card-kind,
.accom-group .accom-card-kind,
#szallastipusok:has(.accom-group-title) .accom-card-kind {
  display: none;
}
.accom-group .accom-grid,
#szallastipusok .accom-content.accom-group .accom-grid {
  margin-top: 0;
}
.accom-all > .accom-group:first-child,
#szallastipusok .accom-all > .accom-content.accom-group:first-child {
  margin-top: 0;
}
#szallastipusok .accom-content.accom-group + .accom-content.accom-group {
  margin-top: 3rem;
}
/* Tab panels — legacy fallback when tabs are present */
.accom-content { display: none; }
.accom-content.active { display: block; }
.accom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 40px;
}
.accom-card {
  background: var(--dark-card);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.accom-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.accom-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.accom-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.accom-card:hover .accom-card-img img { transform: scale(1.05); }
.accom-card-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: #071921;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.accom-card-body { padding: 24px; }
.accom-card-kind {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 6px;
}
.accom-card-title {
  font-family: 'Bellota Text', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}
.accom-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}
.accom-card-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.accom-feat {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}
.accom-feat::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* Accommodation detail modal */
.accom-card--detail {
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.accom-card--detail:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  border-color: rgba(201, 168, 76, 0.35);
}
.accom-card-actions {
  margin-top: 1.25rem;
}
.accom-detail-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid rgba(201, 168, 76, 0.55);
  border-radius: 3px;
  background: transparent;
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.accom-detail-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #071921;
}
.accom-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.accom-detail-modal[hidden] {
  display: none !important;
}
.accom-detail-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 20, 0.82);
  backdrop-filter: blur(4px);
}
.accom-detail-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1040px, 100%);
  max-height: min(96vh, 1120px);
  overflow: hidden;
  background: linear-gradient(180deg, #0d2e3a 0%, #071921 100%);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}
.accom-detail-main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.accom-detail-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.accom-detail-close:hover {
  background: rgba(201, 168, 76, 0.85);
  color: #071921;
}
.accom-detail-gallery-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
}
.accom-detail-media {
  padding: 8px 8px 0;
}
.accom-detail-media-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  padding: 0 4px;
}
.accom-detail-media-tabs[hidden] {
  display: none !important;
}
.accom-media-tab {
  padding: 8px 14px;
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.accom-media-tab:hover,
.accom-media-tab.is-active {
  background: rgba(201, 168, 76, 0.18);
  border-color: rgba(201, 168, 76, 0.65);
  color: var(--gold-light);
}
.accom-media-tab.is-active {
  background: rgba(201, 168, 76, 0.28);
}
.accom-media-panel {
  display: none;
}
.accom-media-panel.is-active {
  display: block;
}
.accom-media-panel[hidden] {
  display: none !important;
}
.accom-detail-static-media {
  width: 100%;
  min-height: clamp(480px, 63vh, 720px);
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.2);
  line-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
}
.accom-detail-static-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.accom-detail-static-media--plan {
  background: rgba(0, 0, 0, 0.2);
}
.accom-detail-static-media--plan img + img {
  margin-top: 12px;
}
.accom-detail-pano-wrap {
  height: clamp(480px, 63vh, 720px);
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.accom-detail-pano {
  width: 100%;
  height: 100%;
}
.accom-detail-pano.pnlm-container {
  width: 100% !important;
  height: 100% !important;
}
.accom-detail-pano .pnlm-render-container,
.accom-detail-pano.pnlm-container .pnlm-render-container {
  border-radius: 4px;
}
.accom-detail-pano--fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  background: #000;
}
.accom-detail-pano--fallback img {
  width: 100%;
  height: auto;
  display: block;
}
.accom-detail-pano-fallback-msg {
  margin: 0;
  padding: 10px 12px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}
.accom-detail-pano-loading {
  margin: 0;
  padding: 24px;
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9rem;
}
.accom-detail-pano .pnlm-controls {
  background: rgba(7, 25, 33, 0.55);
}
.accom-detail-pano .pnlm-zoom-in,
.accom-detail-pano .pnlm-zoom-out,
.accom-detail-pano .pnlm-fullscreen-toggle-button {
  filter: none;
}
.accom-detail-pano-hint {
  margin: 8px 4px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}
.accom-gallery-nav {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 168, 76, 0.45);
  border-radius: 50%;
  background: rgba(7, 25, 33, 0.72);
  color: var(--gold-light);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.accom-gallery-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #071921;
}
.accom-gallery-nav[hidden] {
  display: none;
}
.accom-detail-gallery {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 4px;
  height: clamp(480px, 63vh, 720px);
  background: rgba(0, 0, 0, 0.2);
}
.accom-gallery-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.accom-gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}
.accom-gallery-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}
.accom-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}
.accom-gallery-slide--contain img {
  object-fit: contain;
  background: rgba(0, 0, 0, 0.35);
}
.accom-detail-body {
  padding: 28px 32px 32px;
}
.accom-detail-tag {
  margin: 0 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.accom-detail-title {
  margin: 0 0 12px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  font-weight: 300;
}
.accom-detail-lead {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: 1.05rem;
  line-height: 1.6;
}
.accom-detail-desc {
  margin: 0 0 20px;
  color: var(--text-muted);
  line-height: 1.7;
}
.accom-detail-specs {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.accom-detail-specs li {
  display: grid;
  grid-template-columns: minmax(120px, 34%) 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
}
.accom-detail-specs strong {
  color: #fff;
  font-weight: 600;
}
.accom-detail-specs span {
  color: var(--text-muted);
}
.accom-detail-footer {
  flex-shrink: 0;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(201, 168, 76, 0.22);
  background: linear-gradient(180deg, rgba(7, 25, 33, 0.92) 0%, #071921 100%);
}
.accom-detail-disclaimer {
  margin: 0 0 14px;
  padding: 0;
  border: none;
  font-size: 0.7rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.42);
  text-align: center;
}
.accom-detail-disclaimer a {
  color: rgba(201, 168, 76, 0.8);
}
.accom-detail-disclaimer a:hover {
  color: var(--gold-light);
}
.accom-detail-cta {
  display: flex;
  width: 100%;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
body.accom-detail-open {
  overflow: hidden;
}
@media (max-width: 768px) {
  .accom-detail-media {
    padding: 8px 4px 0;
  }
  .accom-detail-gallery-wrap {
    padding: 0;
  }
  .accom-detail-gallery,
  .accom-detail-pano-wrap {
    height: clamp(360px, 54vh, 540px);
  }
  .accom-detail-static-media {
    min-height: clamp(360px, 54vh, 540px);
    max-width: 100%;
    box-sizing: border-box;
  }
  .accom-detail-static-media--plan {
    background: transparent;
  }
  .accom-detail-static-media--plan img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
  .accom-gallery-nav {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .accom-detail-body {
    padding: 22px 20px 24px;
  }
  .accom-detail-specs li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ======================================================
   WELLNESS SECTION
====================================================== */
#wellness {
  position: relative;
  overflow: hidden;
  padding: 0;
}
#wellness video.wellness-bg,
#wellness img.wellness-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
#wellness::after,
.wellness-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 25, 33, 0.98) 0%,
    rgba(7, 25, 33, 0.96) 28%,
    rgba(7, 25, 33, 0.82) 48%,
    rgba(7, 25, 33, 0.45) 72%,
    rgba(7, 25, 33, 0.18) 100%
  );
  z-index: 1;
  pointer-events: none;
}
#wellness::after {
  content: '';
}
.wellness-inner {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
}
.wellness-content {
  max-width: 560px;
}
.wellness-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 14px;
  margin-top: 2rem;
}
.wellness-service {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 18px;
  border-radius: 4px;
  transition: border-color 0.25s, background 0.25s;
}
.wellness-service:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.07);
}
p.ws-icon,
.ws-icon { font-size: 1.5rem; margin: 0 0 8px; line-height: 0; }
.ws-icon-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin: 0 0 10px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}
.ws-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.ws-desc { font-size: 0.78rem; color: var(--text-muted); }

/* CTA gombok a szekciók végén — WP block spacing gyakran 0 marad */
.wellness-cta,
.wellness-services + .wp-block-buttons,
.benefits-list + .wp-block-buttons,
.wp-block-group.benefits-list + .wp-block-buttons,
.wp-block-buttons.section-cta,
.section-cta {
  margin-top: 3.5rem !important;
}
.contact-promo > .wp-block-buttons {
  margin-top: 1.25rem !important;
}

/* ======================================================
   RESTAURANT SECTION
====================================================== */
#etterem {
  background: var(--dark);
}
.etterem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.etterem-img {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 500px;
}
.etterem-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.wp-block-column.etterem-img {
  position: relative;
}
.wp-block-column.etterem-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,25,33,0.5) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}
.menu-highlights {
  margin-top: 2.5rem;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.menu-item:last-child { border: none; }
.menu-name {
  font-family: 'Bellota Text', sans-serif;
  font-size: 1rem;
  color: #fff;
}
hr.wp-block-separator.menu-dots,
.menu-dots {
  flex: 1;
  height: 1px;
  border: none;
  background: repeating-linear-gradient(90deg, rgba(201,168,76,0.3) 0, rgba(201,168,76,0.3) 2px, transparent 2px, transparent 8px);
  margin: 0 12px;
  position: relative;
  top: -4px;
  max-width: none !important;
  width: auto;
}
.menu-note {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
}

/* ======================================================
   INFRASTRUCTURE SECTION (legacy .rendezveny-grid layout)
====================================================== */
#infrastruktura,
#rendezveny {
  background: var(--dark-mid);
}
.rendezveny-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.rendezveny-img {
  height: 520px;
  border-radius: 6px;
  overflow: hidden;
}
.rendezveny-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.event-types {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 2rem;
}
.event-type {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  transition: border-color 0.25s, transform 0.25s;
}
.event-type:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateX(6px);
}
.event-type--plain {
  gap: 0;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}
p.event-type-icon,
.event-type-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin: 0;
}
.event-type-name {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.event-type-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.event-capacity {
  margin-top: 2.5rem;
  display: flex;
  gap: 32px;
}
.cap-item { text-align: center; }
.cap-num {
  font-family: 'Bellota Text', sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.cap-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

/* ======================================================
   LEISURE SECTION
====================================================== */
#szabadido {
  background: var(--dark);
}
.leisure-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 40px;
  background: rgba(255,255,255,0.04);
  border-radius: 4px;
  padding: 4px;
  display: inline-flex;
}
.leisure-tab {
  padding: 10px 28px;
  border-radius: 3px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  background: transparent;
}
.leisure-tab.active {
  background: var(--gold);
  color: #071921;
}
/* Leisure tab panels */
.leisure-content { display: none; }
.leisure-content.active { display: block; }
.leisure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
}
.leisure-item {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.leisure-item--photo {
  position: relative;
  min-height: 168px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background-color: var(--dark-card);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: none;
  outline: none;
  box-shadow: none;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.leisure-item--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,25,33,0.94) 0%, rgba(7,25,33,0.45) 52%, rgba(7,25,33,0.12) 100%);
  transition: opacity 0.25s;
}
.leisure-item--photo:hover::before {
  background: linear-gradient(to top, rgba(7,25,33,0.88) 0%, rgba(7,25,33,0.35) 52%, rgba(7,25,33,0.08) 100%);
}
.leisure-item-text {
  position: relative;
  z-index: 1;
  padding: 16px 14px 14px;
}
.leisure-item--photo .leisure-name-hu {
  margin-top: 4px;
}
.leisure-item--photo:hover {
  border: none;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.leisure-item:not(.leisure-item--photo):hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
.leisure-icon { font-size: 2rem; margin-bottom: 12px; }
.leisure-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.leisure-name-hu {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 3px;
}

/* ======================================================
   INVESTMENT SECTION
====================================================== */
#befektetes {
  position: relative;
  overflow: hidden;
}
.investment-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
#befektetes::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(7,25,33,0.85);
  z-index: 1;
  pointer-events: none;
}
.investment-inner {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
}
.investment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.investment-numbers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 20px;
  margin-top: 2.5rem;
}
.inv-number {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 22px;
  border-radius: 4px;
}
.inv-num {
  font-family: 'Bellota Text', sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}
.inv-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 2rem;
}
.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
p.benefit-check,
.benefit-check {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin: 0;
  color: #071921;
  font-weight: 700;
}
.benefit-text strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
}
.benefit-text span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ======================================================
   CONTACT / CTA SECTION
====================================================== */
#kapcsolat {
  background: var(--dark-mid);
}
.contact-grid,
.wp-block-columns.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.form-success {
  display: none;
  background: rgba(61,107,80,0.15);
  border: 1px solid rgba(61,107,80,0.4);
  border-radius: 4px;
  padding: 16px;
  color: #7ec89b;
  font-size: 0.9rem;
  margin-top: 10px;
}
.contact-promo {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 6px;
  padding: 24px;
}
.contact-promo-title {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 0 8px;
  font-weight: 700;
}
.contact-promo-body {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0 0 16px;
}
.contact-promo-body strong {
  color: var(--gold);
}
.wp-block-button.contact-promo-btn .wp-block-button__link {
  font-size: 0.85rem;
  padding: 12px 22px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 3px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.92rem;
  font-family: 'Bellota Text', sans-serif;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201,168,76,0.05);
}
.form-group select option { background: #1e2732; color: #fff; }
.form-group .is-prefilled {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 0 1px rgba(201, 168, 76, 0.25);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
  margin-top: 8px;
}
.form-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
p.contact-info-title,
.contact-info-title {
  font-size: 1.8rem;
  color: #fff;
  font-family: 'Bellota Text', sans-serif;
  margin: 0 0 8px;
}
p.contact-info-sub,
.contact-info-sub {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
p.contact-detail-icon,
.contact-detail-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin: 0;
}
p.contact-detail-label,
.contact-detail-text strong {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  margin: 0;
}
p.contact-detail-value,
.contact-detail-text a,
.contact-detail-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.contact-detail-text a:hover,
p.contact-detail-value a:hover { color: var(--gold); }

/* ======================================================
   FOOTER
====================================================== */
#footer {
  background: #040f16;
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-logo img {
  height: 44px;
  opacity: 0.85;
}
.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}
.footer-disclaimer,
.legal-disclaimer {
  width: 100%;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.32);
  text-align: center;
}
.footer-disclaimer a,
.legal-disclaimer a {
  color: rgba(201, 168, 76, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-disclaimer a:hover,
.legal-disclaimer a:hover {
  color: var(--gold-light);
}

/* ======================================================
   SECTION DIVIDER
====================================================== */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
}

/* ======================================================
   ANIMATIONS
====================================================== */
/* fade-up — scroll-triggered entrance animation */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* Below ScrollMagic: never leave section content invisible (sticky canvas + hash scroll) */
.wp-block-scroll-magic-background ~ section .fade-up {
  opacity: 1;
  transform: none;
}

/* Előértékesítés parallax CTA */
.eloertekesites-section .nk-awb-wrap-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: inherit;
}
.eloertekesites-section .eloertekesites-inner {
  width: 100%;
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
}
.eloertekesites-section .eloertekesites-copy {
  width: 100%;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.eloertekesites-section .eloertekesites-title {
  margin: 0 auto 1.25rem;
  font-size: clamp(2.4rem, 6.5vw, 4.75rem);
  line-height: 1.05;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center !important;
  color: var(--gold-light);
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}
.eloertekesites-section .eloertekesites-lead,
.nk-awb-wrap-content .eloertekesites-lead {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15em;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.25rem;
}
.eloertekesites-section .wp-block-group.is-layout-flex:has(.eloertekesites-lead),
.eloertekesites-section .wp-block-group.is-layout-flex:has(.eloertekesites-lead-line) {
  flex-direction: column !important;
  flex-wrap: wrap !important;
  width: 100%;
}
.eloertekesites-section .eloertekesites-lead-line,
.nk-awb-wrap-content .eloertekesites-lead-line {
  display: block !important;
  width: 100%;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
  text-align: center !important;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.45;
  font-weight: 400;
  color: #fff !important;
  overflow-wrap: anywhere;
  white-space: normal !important;
  flex: 0 0 100% !important;
}
.eloertekesites-section .eloertekesites-sub,
.eloertekesites-section .nk-awb-wrap-content p:not(.img-badge):not(.eloertekesites-lead-line) {
  color: #fff !important;
  margin: 0;
  text-align: center;
}
.eloertekesites-section .nk-awb-wrap-content .wp-block-group > .wp-block-group p {
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.45;
}
.eloertekesites-section .nk-awb-wrap-content p.has-text-align-center:last-of-type {
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  line-height: 1.65;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 42rem;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 1.25rem !important;
}
.eloertekesites-section .eloertekesites-sub {
  font-size: clamp(0.82rem, 1.6vw, 0.95rem);
  line-height: 1.65;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}
.eloertekesites-section .eloertekesites-cta {
  margin-top: 2.25rem !important;
  justify-content: center;
}
.eloertekesites-section .wp-block-button .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold) !important;
  color: #071921 !important;
  padding: 15px 32px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none !important;
  filter: drop-shadow(0 0 7px rgba(201, 168, 76, 0.5));
  transition: background 0.25s, transform 0.25s, filter 0.25s;
}
.eloertekesites-section .wp-block-button .wp-block-button__link:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 13px rgba(201, 168, 76, 0.7));
}

/* Advanced Backgrounds (AWB / Jarallax) — avoid jitter with theme scroll effects */
.nk-awb {
  position: relative;
  isolation: isolate;
}
.jarallax-container,
.jarallax-img {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
/* AWB content must stay above the parallax layer */
.nk-awb-wrap-content {
  position: relative;
  z-index: 1;
}
.fade-up-delay-1 { transition-delay: 0.12s; }
.fade-up-delay-2 { transition-delay: 0.24s; }
.fade-up-delay-3 { transition-delay: 0.36s; }

/* ScrollMagic: frosted panel behind CTA copy */
.wp-block-scroll-magic-background .scroll-alom-cta-panel {
  position: relative;
  z-index: 2;
  width: min(100%, 720px);
  margin-inline: auto;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 16px;
  background: rgba(7, 20, 28, 0.55);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  text-align: center;
}
.wp-block-scroll-magic-background .scroll-alom-cta-panel .wp-block-heading {
  margin: 0 0 0.75rem;
  color: var(--gold-light);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.wp-block-scroll-magic-background .scroll-alom-cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* ScrollMagic: sticky sequence canvas must not paint over later sections */
.wp-block-scroll-magic-background.bvs-block {
  position: relative;
  z-index: 1;
  isolation: isolate;
}
.wp-block-scroll-magic-background ~ section,
.wp-block-scroll-magic-background ~ hr,
.wp-block-scroll-magic-background ~ .wp-block-nk-awb {
  position: relative;
  z-index: 10;
  isolation: isolate;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (max-width: 1200px) {
  .nav-links {
    gap: 0 clamp(8px, 1vw, 20px);
  }
}
@media (max-width: 1024px) {
  #lokacio .lokacio-grid,
  .etterem-grid,
  .rendezveny-grid,
  .investment-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .leisure-grid,
  .wp-block-group.leisure-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  }
  #lokacio .image-stack { height: 380px; }
  .eloertekesites-section .eloertekesites-title {
    font-size: clamp(2rem, 9vw, 3rem);
  }
}
@media (max-width: 900px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
  #kapcsolat .contact-grid,
  #kapcsolat .wp-block-columns.contact-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 40px;
  }
  #kapcsolat .contact-grid > .wp-block-column,
  #kapcsolat .wp-block-columns.contact-grid > .wp-block-column {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  #kapcsolat .form-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .eloertekesites-section .eloertekesites-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  .hero-bottom {
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
  }
  .hero-aside {
    align-items: flex-start;
    min-width: 0;
    width: 100%;
  }
  .hero-ctas,
  #hero .wp-block-buttons.hero-ctas {
    justify-content: flex-start;
    flex-wrap: wrap !important;
    width: 100%;
  }
  .hero-ctas .wp-block-button,
  #hero .wp-block-buttons.hero-ctas .wp-block-button {
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
  }
  .hero-ctas .wp-block-button__link,
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline,
  .wp-block-button.btn-primary .wp-block-button__link,
  .wp-block-button.btn-outline .wp-block-button__link {
    white-space: normal;
    text-align: center;
    justify-content: center;
    max-width: 100%;
    line-height: 1.35;
    hyphens: auto;
  }
  .hero-stats,
  .wp-block-group.hero-stats {
    justify-content: flex-start;
  }
  .hero-stat,
  .wp-block-group.hero-stat {
    text-align: left;
  }
}
@media (max-width: 768px) {
  :root {
    --section-pad: 70px;
    --hero-edge-x: 24px;
    --hero-stats-bottom: 28px;
    --nav-height: 72px;
  }
  .wp-block-scroll-magic-background,
  .wp-block-background-video-scroll-sequence-background,
  .bvs-block.is-sticky-background {
    display: none !important;
    min-height: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  .nav-inner {
    padding: 0 24px;
    flex-wrap: nowrap;
  }
  .nav-links { display: none; }
  .nav-hamburger {
    display: flex;
    z-index: 1001;
    position: relative;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7,25,33,0.97);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.2rem; }
  .leisure-grid,
  .wp-block-group.leisure-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  }
  .form-row { grid-template-columns: 1fr; }
  .event-capacity { gap: 20px; flex-wrap: wrap; }
  .container,
  .wp-block-group.container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
  #hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
    min-height: max(600px, 100dvh);
    padding: calc(var(--hero-inset-top) + clamp(100px, 18vh, 160px) + 12px) 24px calc(var(--hero-stats-bottom) + 36px);
    box-sizing: border-box;
  }
  .hero-bottom {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: 100%;
    width: 100%;
    margin-top: auto;
  }
  .hero-title,
  .wp-block-heading.hero-title {
    font-size: clamp(1.05rem, 4.8vw, 1.25rem);
    letter-spacing: 0.08em;
  }
  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .hero-badge,
  .wp-block-group.hero-badge {
    margin-bottom: 1.25rem;
    padding: 6px 14px;
  }
  .hero-logo { left: 24px; top: var(--hero-inset-top); }
  .hero-logo-img { height: clamp(100px, 18vh, 160px); }
  .btn-primary,
  .btn-outline,
  .wp-block-button.btn-primary .wp-block-button__link,
  .wp-block-button.btn-outline .wp-block-button__link {
    padding: 12px 20px;
    font-size: 0.82rem;
  }
  .hero-ctas .wp-block-button__link,
  .hero-ctas .btn-primary,
  .hero-ctas .btn-outline {
    white-space: normal;
    text-align: center;
    justify-content: center;
    max-width: 100%;
    line-height: 1.35;
  }
  .hero-ctas .wp-block-button,
  #hero .wp-block-buttons.hero-ctas .wp-block-button {
    flex-shrink: 1;
    min-width: 0;
    max-width: 100%;
  }
  .hero-ctas,
  #hero .wp-block-buttons.hero-ctas {
    gap: 12px;
    flex-wrap: wrap !important;
    width: 100%;
  }
  .hero-scroll {
    bottom: 12px;
    font-size: 0.62rem;
  }
  .section-title,
  .wp-block-heading.section-title {
    font-size: clamp(1.65rem, 7vw, 2.2rem);
  }
  .section-body {
    font-size: 0.98rem;
  }
  #lokacio .image-stack { height: 300px; }
  p.img-badge,
  #lokacio .img-badge {
    white-space: normal;
    max-width: calc(100% - 2rem);
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
  }
  .rendezveny-img { height: 280px; }
  .wellness-inner,
  .wp-block-group.wellness-inner {
    padding: 0 24px;
  }
  .accom-tab {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
  .leisure-tabs .accom-tab {
    padding: 8px 14px;
  }
}
@media (max-width: 480px) {
  :root {
    --section-pad: 56px;
    --hero-stats-bottom: 20px;
  }
  .leisure-grid,
  .wp-block-group.leisure-grid { grid-template-columns: 1fr; }
  .accom-tabs, .leisure-tabs { flex-wrap: wrap; justify-content: center; }
  .hero-stat-num,
  p.hero-stat-num { font-size: 1.5rem; }
  .hero-stats,
  .wp-block-group.hero-stats {
    gap: 12px 20px;
    justify-content: space-between;
  }
  .hero-stat,
  .wp-block-group.hero-stat {
    flex: 1 1 calc(33% - 12px);
    min-width: 72px;
  }
  .hero-bottom {
    bottom: auto;
  }
  .hero-scroll { display: none; }
  .event-capacity { flex-direction: column; align-items: flex-start; }
  .contact-promo { padding: 24px 20px; }
}

/* ======================================================
   BLOCK EDITOR COMPATIBILITY
   Prevent wp-block-* defaults from conflicting with our layout
====================================================== */

/* Strip WordPress is-layout-flow max-width/margin from ALL direct children of
   our section groups. theme.json contentSize:860px would otherwise cap everything.
   Higher specificity wins over WordPress's !important (0-1-2 > 0-1-0 via :where). */
body section.wp-block-group > * {
  max-width: unset !important;
  margin-left: unset !important;
  margin-right: unset !important;
}

/* Restore our container centering (higher specificity overrides the reset above) */
body .wp-block-group.container {
  max-width: 1320px !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Section wrappers and inner groups — remove WordPress block padding */
section.wp-block-group,
.wp-block-group.container,
.wp-block-group.hero-content,
.wp-block-group.hero-bottom,
.wp-block-group.wellness-inner,
.wp-block-group.investment-inner,
.wp-block-group.wellness-content,
.wp-block-group.accommodation-intro {
  padding-left: 0;
  padding-right: 0;
}

/* Our grid layouts override wp-block-columns flex */
.wp-block-columns.lokacio-grid,
.wp-block-columns.etterem-grid,
.wp-block-columns.rendezveny-grid,
.wp-block-columns.investment-grid,
.wp-block-columns.contact-grid { display: grid; }

/* wp-block-column flex properties are irrelevant inside CSS grid */
.wp-block-columns.lokacio-grid > .wp-block-column,
.wp-block-columns.etterem-grid > .wp-block-column,
.wp-block-columns.rendezveny-grid > .wp-block-column,
.wp-block-columns.investment-grid > .wp-block-column,
.wp-block-columns.contact-grid > .wp-block-column {
  flex-basis: unset !important;
  max-width: unset;
  min-width: 0;
}

/* Kapcsolat intro centering (group block before the contact-grid) */
#kapcsolat .container > .wp-block-group:first-child {
  text-align: center;
  margin-bottom: 60px;
}

/* investment section h3 subtitle (native wp:heading replaces inline style) */
.investment-subtitle {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  font-family: 'Bellota Text', sans-serif;
  font-weight: 700;
}

/* ── hr.wp-block-separator replacements ─────────────────────────────────── */

/* Gold inline divider (replaces <div class="divider-gold">) */
hr.wp-block-separator.divider-gold {
  width: 60px;
  height: 2px;
  border: none;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.4rem 0;
}
/* Centered variant (kapcsolat section) */
.has-text-align-center ~ hr.wp-block-separator.divider-gold,
[style*="text-align:center"] hr.wp-block-separator.divider-gold,
[style*="text-align: center"] hr.wp-block-separator.divider-gold {
  margin-left: auto;
  margin-right: auto;
}

/* Between-section separator (replaces <div class="section-divider">) */
hr.wp-block-separator.section-divider-sep {
  height: 1px;
  border: none;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  width: 100%;
  max-width: 100% !important;
  margin: 0;
}

/* ── wp:button block styling ─────────────────────────────────────────────── */

/* Collapse the wrapper div so it can't cast its own shadow or add spacing */
.wp-block-button.btn-primary,
.wp-block-button.btn-outline {
  display: inline-flex !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  filter: none !important;
}

/* btn-primary: inner link */
.wp-block-button.btn-primary .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold) !important;
  color: #071921 !important;
  padding: 15px 32px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none !important;
  /* filter:drop-shadow always hugs the visual element shape — no offset possible */
  filter: drop-shadow(0 0 7px rgba(201,168,76,0.5));
  transition: background 0.25s, transform 0.25s, filter 0.25s;
}
.wp-block-button.btn-primary .wp-block-button__link:hover {
  background: var(--gold-light) !important;
  transform: translateY(-2px);
  filter: drop-shadow(0 0 13px rgba(201,168,76,0.7));
}

/* btn-outline: inner link */
.wp-block-button.btn-outline .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255,255,255,0.4) !important;
  color: #fff !important;
  background: transparent !important;
  padding: 15px 32px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.25s, background 0.25s, transform 0.25s;
}
.wp-block-button.btn-outline .wp-block-button__link:hover {
  border-color: var(--gold) !important;
  background: rgba(201,168,76,0.1) !important;
  transform: translateY(-2px);
}

/* ── wp:image block positioning ──────────────────────────────────────────── */

/* Lokáció térkép */
figure.wp-block-image.lokacio-map {
  position: relative;
  width: 100%;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}
figure.wp-block-image.lokacio-map img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Lokáció image stack */
figure.wp-block-image.img-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%; height: 82%;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
}
figure.wp-block-image.img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 4px;
}
figure.wp-block-image.img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 60%; height: 54%;
  margin: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 4px solid var(--dark-mid);
}
figure.wp-block-image.img-secondary img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Wellness background video (legacy image block still supported) */
figure.wp-block-image.wellness-bg,
#wellness video.wellness-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  z-index: 0;
}
figure.wp-block-image.wellness-bg img,
#wellness video.wellness-bg {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Befektetés background image */
figure.wp-block-image.investment-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  z-index: 0;
}
figure.wp-block-image.investment-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Étterem column image */
.wp-block-column.etterem-img figure.wp-block-image {
  height: 500px;
  width: 100%;
  margin: 0;
  overflow: hidden;
}
.wp-block-column.etterem-img figure.wp-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Rendezvény column image */
.wp-block-column.rendezveny-img figure.wp-block-image {
  height: 520px;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 6px;
}
.wp-block-column.rendezveny-img figure.wp-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── Block card layout (wp:columns + wp:group stack) ─────────────────────── */

/* Clip image to the card's border-radius at the top */
.wp-block-group.accom-card-block {
  overflow: hidden;
}
/* Remove figure default margin so image fills edge-to-edge */
.wp-block-group.accom-card-block > .wp-block-image {
  margin: 0;
  width: 100%;
}
.wp-block-group.accom-card-block > .wp-block-image img {
  display: block;
  width: 100%;
}

/* Category badge (gold pill, top of text area) */
p.accom-tag-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  border-radius: 20px;
  padding: 0.15rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  align-self: flex-start;
}

/* Feature pills (translucent gold, flex-wrap row) */
p.accom-feat-pill {
  display: inline;
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
  margin: 0;
}

/* ── Strip default <p> margins from block-rendered list text ─────────────── */

p.section-label { margin: 0; }
p.feature-name, p.feature-desc { margin: 0; }
p.ws-name, p.ws-desc { margin: 0; }
p.menu-name, p.menu-note { margin: 0; }
p.event-type-name, p.event-type-desc { margin: 0; }
p.benefit-name, p.benefit-desc { margin: 0; }
p.section-body { margin: 0; }

/* ── Aliases: new paragraph classes inherit old strong/span styles ────────── */

/* Lokáció feature items */
p.feature-name {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
  font-weight: 600;
}
p.feature-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Befektetés benefits */
p.benefit-name {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 2px;
  font-weight: 600;
}
p.benefit-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* wp:group blocks used as list-item wrappers need display:flex */
.wp-block-group.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.wp-block-group.feature-item.feature-item--plain {
  gap: 0;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}
.wp-block-group.feature-text { flex: 1; }
.wp-block-group.benefit { display: flex; gap: 16px; align-items: flex-start; }
.wp-block-group.benefit-text { flex: 1; }
.wp-block-group.menu-item { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.wp-block-group.menu-item:last-child { border: none; }
.wp-block-group.event-type { display: flex; gap: 18px; align-items: flex-start; }
.wp-block-group.event-type--plain { gap: 0; padding-left: 22px; border-left: 3px solid var(--gold); }
.wp-block-group.contact-details { display: flex; flex-direction: column; gap: 14px; }
.wp-block-group.contact-detail { display: flex; gap: 14px; align-items: flex-start; }
.wp-block-column.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  min-width: 0;
  width: 100%;
}

/* ── Hero background video block ─────────────────────────────────────────── */

figure.wp-block-video.hero-bg,
figure.wp-block-image.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  z-index: 0;
}
#hero > video.hero-bg,
#hero-video,
figure.wp-block-video.hero-bg video,
figure.wp-block-image.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
#hero > video.hero-bg,
#hero-video,
figure.wp-block-video.hero-bg video {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Hero badge as wp:group block */
.wp-block-group.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  align-self: flex-start;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 2rem;
}
p.hero-badge-text {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Hero stats as wp:group blocks */
.wp-block-group.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(20px, 3vw, 48px);
  justify-content: flex-end;
  position: relative;
  width: 100%;
  max-width: 100%;
}
.wp-block-group.hero-content {
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  margin: 0 !important;
  max-width: 100%;
  display: flex !important;
  flex-direction: column;
  box-sizing: border-box;
  padding: 0 !important;
  min-width: 0;
}
#hero .wp-block-buttons.hero-ctas {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: max-content;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin: 0 !important;
  padding-bottom: 0;
  z-index: 3;
}
#hero .wp-block-buttons.hero-ctas .wp-block-button {
  flex-shrink: 1;
  min-width: 0;
  max-width: 100%;
}
.wp-block-group.hero-stat { text-align: right; min-width: 0; }
p.hero-stat-num { margin: 0; }
p.hero-stat-label { margin: 0; }

/* ── Accommodation card block structure ──────────────────────────────────── */

/* Type subheading between card groups */
h3.accom-type-title {
  font-family: 'Bellota Text', sans-serif;
  font-size: 1.4rem;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 3rem 0 0.5rem;
}

/* Card grid — wp:group replaces old .accom-grid div */
.wp-block-group.accom-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
  margin-top: 16px;
}

/* Card image wrapper — wp:group replaces old .accom-card-img div */
.wp-block-group.accom-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.wp-block-group.accom-card-img figure.wp-block-image {
  height: 100%;
  width: 100%;
  margin: 0;
}
.wp-block-group.accom-card-img figure.wp-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.wp-block-group.accom-card:hover .wp-block-group.accom-card-img figure.wp-block-image img {
  transform: scale(1.05);
}

/* Card tag paragraph */
p.accom-card-tag {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--gold);
  color: #071921;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin: 0;
}

/* Card body */
.wp-block-group.accom-card-body { padding: 24px; }

p.accom-card-kind {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 6px;
}

/* Card title — wp:heading */
h3.accom-card-title {
  font-family: 'Bellota Text', sans-serif;
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 8px;
}

/* Card desc — strip margin */
p.accom-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Features container and items */
.wp-block-group.accom-card-features {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
p.accom-feat {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}
p.accom-feat::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
}

/* ── Leisure grid block structure ────────────────────────────────────────── */

h3.accom-type-title + .wp-block-group.leisure-grid { margin-top: 16px; }

.wp-block-group.leisure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 16px;
  margin-top: 16px;
}
.wp-block-group.leisure-item {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 4px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.wp-block-group.leisure-item.leisure-item--photo {
  min-height: 168px;
  padding: 0;
  overflow: hidden;
  text-align: left;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: none;
  outline: none;
  box-shadow: none;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.wp-block-group.leisure-item.leisure-item--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,25,33,0.94) 0%, rgba(7,25,33,0.45) 52%, rgba(7,25,33,0.12) 100%);
}
.wp-block-group.leisure-item.leisure-item--photo {
  position: relative;
}
.wp-block-group.leisure-item.leisure-item--photo .leisure-item-text {
  position: relative;
  z-index: 1;
  padding: 16px 14px 14px;
}
.wp-block-group.leisure-item.leisure-item--photo:hover {
  border: none;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.wp-block-group.leisure-item:not(.leisure-item--photo):hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}
p.leisure-icon { font-size: 2rem; margin-bottom: 12px; margin-top: 0; }
p.leisure-name { font-size: 0.9rem; font-weight: 600; color: #fff; margin: 0; }
p.leisure-name-hu { font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; margin-bottom: 0; }

/* ── Event capacity block structure ──────────────────────────────────────── */

.wp-block-group.event-capacity {
  margin-top: 2.5rem;
  display: flex;
  gap: 32px;
}
.wp-block-group.cap-item { text-align: center; }
p.cap-num {
  font-family: 'Bellota Text', sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin: 0;
}
p.cap-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  margin-bottom: 0;
}

/* ── Investment numbers block structure ──────────────────────────────────── */

.wp-block-group.investment-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 2.5rem;
}
.wp-block-group.inv-number { text-align: center; }
p.inv-num {
  font-family: 'Bellota Text', sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
  margin: 0;
}
p.inv-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  margin-bottom: 0;
}
