/* ==========================================================================
   Létra Klub — Combined Stylesheet
   Reconstructs the Elementor-based front-end from the page markup.
   Aesthetic: playful, warm, child-friendly creative-club identity.
   Palette anchored to the existing brand purple (#8f49f9).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --c-purple:        #8f49f9;
  --c-purple-deep:   #6a2bd1;
  --c-purple-soft:   #b08bff;
  --c-coral:         #ff7a59;
  --c-coral-deep:    #e85a3a;
  --c-sun:           #ffc94a;
  --c-mint:          #4dd0a8;

  /* Surfaces */
  --c-bg:            #fdf9f3;   /* warm cream */
  --c-bg-2:          #f5edff;   /* lavender mist */
  --c-bg-3:          #ffffff;
  --c-ink:           #221635;   /* deep aubergine */
  --c-ink-soft:      #4a3c5f;
  --c-muted:         #7a6f87;
  --c-line:          rgba(34, 22, 53, 0.10);
  --c-line-strong:   rgba(34, 22, 53, 0.20);

  /* Footer */
  --c-footer-bg:     #2a1849;
  --c-footer-bg-2:   #1f1138;
  --c-footer-text:   rgba(253, 249, 243, 0.82);
  --c-footer-head:   #ffffff;

  /* Type */
  --f-body: 'Niramit', 'Helvetica Neue', Arial, sans-serif;
  --f-head: 'Noticia Text', Georgia, 'Times New Roman', serif;

  /* Layout */
  --container-max:   1200px;
  --container-pad:   24px;
  --header-h:        74px;
  --header-h-sticky: 64px;

  /* Effects */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --r-xl: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-card:  0 14px 30px -10px rgba(34, 22, 53, 0.18),
                  0 4px 10px -4px rgba(143, 73, 249, 0.12);
  --shadow-lift:  0 22px 50px -12px rgba(34, 22, 53, 0.25),
                  0 10px 22px -8px rgba(143, 73, 249, 0.20);
}

/* --------------------------------------------------------------------------
   2. RESET / BASE
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--c-purple);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--c-purple-deep); }

ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 0.85em; }

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

table { border-collapse: collapse; width: 100%; }

/* Accessibility helpers */
.screen-reader-text,
.elementor-screen-only,
.wt-cli-sr-only {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  top: -120px; left: 12px;
  z-index: 9999;
  padding: 12px 18px;
  background: var(--c-ink);
  color: #fff;
  border-radius: var(--r-md);
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--c-ink);
  margin: 0 0 0.5em;
  line-height: 1.2;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.92rem; }

/* --------------------------------------------------------------------------
   4. LAYOUT — site frame
   -------------------------------------------------------------------------- */
#outer-wrap { width: 100%; overflow-x: hidden; }
#wrap { width: 100%; }

#main {
  display: block;
  width: 100%;
  /* push content below the fixed header */
  padding-top: var(--header-h);
}

#content-wrap.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 48px var(--container-pad);
}
.content-area { width: 100%; }
.site-content { width: 100%; }

.clr::after { content: ""; display: table; clear: both; }

/* --------------------------------------------------------------------------
   5. ELEMENTOR PRIMITIVES — sections, columns, widgets
   -------------------------------------------------------------------------- */
.elementor-section {
  position: relative;
}
.elementor-section.elementor-section-full_width > .elementor-container { max-width: none; }
.elementor-section.elementor-section-boxed > .elementor-container { max-width: var(--container-max); }

.elementor-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

/* Column gaps */
.elementor-column-gap-no       > .elementor-container { gap: 0; padding: 0; }
.elementor-column-gap-default  > .elementor-container { gap: 20px; }
.elementor-column-gap-narrow   > .elementor-container { gap: 10px; }
.elementor-column-gap-extended > .elementor-container { gap: 30px; }
.elementor-column-gap-wide     > .elementor-container { gap: 40px; }
.elementor-column-gap-wider    > .elementor-container { gap: 60px; }

.elementor-column {
  display: flex;
  flex-direction: column;
  min-height: 1px;
  position: relative;
}
.elementor-widget-wrap {
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.elementor-widget-wrap.elementor-element-populated { padding: 10px; }
.elementor-column-gap-no .elementor-widget-wrap.elementor-element-populated { padding: 0; }

/* Column widths (fall back to flex-basis based on percentages) */
.elementor-col-100 { width: 100%; flex-basis: 100%; }
.elementor-col-50  { width: 50%;  flex-basis: calc(50% - 10px); }
.elementor-col-33  { width: 33.3333%; flex-basis: calc(33.3333% - 14px); }
.elementor-col-25  { width: 25%;  flex-basis: calc(25% - 15px); }
.elementor-col-20  { width: 20%;  flex-basis: calc(20% - 16px); }
.elementor-column-gap-no .elementor-col-100 { flex-basis: 100%; }
.elementor-column-gap-no .elementor-col-50  { flex-basis: 50%; }
.elementor-column-gap-no .elementor-col-25  { flex-basis: 25%; }
.elementor-column-gap-no .elementor-col-20  { flex-basis: 20%; }

.elementor-widget { margin-bottom: 18px; position: relative; }
.elementor-widget:last-child { margin-bottom: 0; }
.elementor-widget-container { width: 100%; }

/* Vertical alignment helpers used in markup */
.elementor-section-items-top     > .elementor-container { align-items: flex-start; }
.elementor-section-items-middle  > .elementor-container { align-items: center; }
.elementor-section-items-bottom  > .elementor-container { align-items: flex-end; }
.elementor-section-items-stretch > .elementor-container { align-items: stretch; }

.elementor-section-content-top    .elementor-widget-wrap { justify-content: flex-start; }
.elementor-section-content-middle .elementor-widget-wrap { justify-content: center; }
.elementor-section-content-bottom .elementor-widget-wrap { justify-content: flex-end; }

/* Reverse on tablet */
@media (max-width: 1024px) {
  .elementor-reverse-tablet > .elementor-container { flex-direction: row-reverse; }
}

/* Absolute positioned widgets */
.elementor-absolute { position: absolute; }

/* --------------------------------------------------------------------------
   6. SITE HEADER — sticky logo + main nav + social icons row
   -------------------------------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(253, 249, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--c-line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
#site-header.is-stuck {
  box-shadow: 0 6px 24px -10px rgba(34, 22, 53, 0.18);
  background: rgba(253, 249, 243, 0.98);
}

#site-header .elementor-section.elementor-element-23b8e02e {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
}
#site-header .elementor-section.elementor-element-23b8e02e > .elementor-container {
  min-height: var(--header-h);
  align-items: center;
}

/* Logo column (left half) */
#site-header .elementor-element-4f060f34 { position: relative; min-height: var(--header-h); }
#site-header .elementor-widget-image .attachment-large {
  height: auto;
  max-height: 60px;
  width: auto;
  transition: max-height 0.25s var(--ease);
}
#site-header .elementor-element-d8d24b8 {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
}
#site-header .elementor-element-d8d24b8 a { display: block; }

/* Right half: nav + social icons stacked */
#site-header .elementor-element-26a8b554 > .elementor-widget-wrap {
  padding: 0;
  align-items: stretch;
  justify-content: flex-end;
}
#site-header .elementor-element-26a8b554 > .elementor-widget-wrap > .elementor-section {
  width: 100%;
}

/* Inner section that holds nav (left) + social icons row (right) */
#site-header .elementor-element-a260ed3 > .elementor-container {
  align-items: center;
  padding-right: 0;
  gap: 0;
}

/* --- Main nav --- */
.elementor-nav-menu--main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}
.elementor-nav-menu--main > .elementor-nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.elementor-nav-menu--main .menu-item { position: relative; }
.elementor-nav-menu--main .elementor-item {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--c-ink);
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  position: relative;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.elementor-nav-menu--main .elementor-item::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--c-purple);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease);
}
.elementor-nav-menu--main .menu-item:hover > .elementor-item,
.elementor-nav-menu--main .elementor-item-active,
.elementor-nav-menu--main .current-menu-item > .elementor-item {
  color: var(--c-purple);
}
.elementor-nav-menu--main .menu-item:hover > .elementor-item::after,
.elementor-nav-menu--main .elementor-item-active::after,
.elementor-nav-menu--main .current-menu-item > .elementor-item::after {
  transform: scaleX(1);
}

/* Submenus (Foglalkozások dropdown) */
.elementor-nav-menu--main .sub-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lift);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
  z-index: 50;
  border-top: 3px solid var(--c-purple);
}
.elementor-nav-menu--main .menu-item-has-children:hover > .sub-menu,
.elementor-nav-menu--main .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear;
}
.elementor-nav-menu--main .elementor-sub-item {
  display: block;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-ink-soft);
  transition: background 0.15s var(--ease), color 0.15s var(--ease);
}
.elementor-nav-menu--main .elementor-sub-item:hover {
  background: var(--c-bg-2);
  color: var(--c-purple-deep);
}
.elementor-item-anchor::after { display: none !important; }
.elementor-item-anchor { padding-right: 26px !important; position: relative; }
.elementor-item-anchor::before {
  content: "";
  position: absolute;
  right: 12px; top: 50%;
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}
.menu-item-has-children:hover .elementor-item-anchor::before {
  transform: translateY(-30%) rotate(-135deg);
}

/* Burger toggle (hidden on desktop) */
.elementor-menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-md);
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  background: transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.elementor-menu-toggle:hover { background: var(--c-bg-2); color: var(--c-purple); }
.elementor-menu-toggle__icon--open,
.elementor-menu-toggle__icon--close { font-size: 22px; }
.elementor-menu-toggle__icon--close { display: none; }
.elementor-menu-toggle[aria-expanded="true"] .elementor-menu-toggle__icon--open { display: none; }
.elementor-menu-toggle[aria-expanded="true"] .elementor-menu-toggle__icon--close { display: inline-block; }

/* Mobile dropdown nav (hidden by default; toggled on burger click) */
.elementor-nav-menu--dropdown.elementor-nav-menu__container {
  display: none;
  position: absolute;
  top: 100%;
  right: 0; left: 0;
  background: #fff;
  border-top: 1px solid var(--c-line);
  box-shadow: 0 18px 36px -16px rgba(34, 22, 53, 0.25);
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 12px 0;
}
.elementor-menu-toggle[aria-expanded="true"] + .elementor-nav-menu--dropdown.elementor-nav-menu__container {
  display: block;
}
.elementor-nav-menu--dropdown .elementor-nav-menu {
  display: block;
}
.elementor-nav-menu--dropdown .elementor-item,
.elementor-nav-menu--dropdown .elementor-sub-item {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
}
.elementor-nav-menu--dropdown .elementor-sub-item {
  padding-left: 44px;
  font-weight: 500;
  font-size: 14px;
  color: var(--c-ink-soft);
  background: var(--c-bg-2);
}
.elementor-nav-menu--dropdown .menu-item-has-children > .elementor-item::after { display: none; }

/* --- Social icons row in header (right side) --- */
#site-header .elementor-element-791c1e6b {
  margin-top: 8px;
  margin-bottom: 6px;
}
#site-header .elementor-element-791c1e6b > .elementor-container {
  justify-content: flex-end;
  gap: 8px;
  padding-right: 24px;
}
#site-header .elementor-element-791c1e6b .elementor-column { width: auto; flex-basis: auto; }
#site-header .elementor-element-791c1e6b .elementor-widget-wrap { padding: 0; }
#site-header .elementor-widget-icon { margin-bottom: 0; }
#site-header .elementor-widget-icon .elementor-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c-bg-2);
  color: var(--c-purple-deep);
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  font-size: 13px;
}
#site-header .elementor-widget-icon:hover .elementor-icon-wrapper {
  background: var(--c-purple);
  color: #fff;
  transform: translateY(-2px);
}

/* The fallback inline social icon list shown only on mobile */
#site-header .elementor-element-7808bff {
  display: none;
  margin-top: 8px;
}
.elementor-hidden-desktop { display: none; }
.elementor-icon-list-items.elementor-inline-items {
  display: flex;
  gap: 10px;
  align-items: center;
}
.elementor-icon-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--c-bg-2);
  color: var(--c-purple);
  font-size: 13px;
}

/* Font Awesome glyph fallbacks (works without FA loaded) */
.fa, .fas, .fab, .far, .fal { font-style: normal; font-weight: 900; }
.fa-envelope-open-text::before { content: "✉"; font-family: var(--f-body); font-weight: 700; }
.fa-facebook-f::before         { content: "f"; font-family: Georgia, serif; font-weight: 700; }
.fa-instagram::before          { content: "◎"; font-family: var(--f-body); }
.fa-caret-down::before         { content: "▾"; font-family: var(--f-body); }
.fa-angle-up::before           { content: "▲"; font-family: var(--f-body); font-size: 0.85em; }
.eicon-menu-bar::before        { content: "≡"; font-family: var(--f-body); font-weight: 400; line-height: 1; }
.eicon-close::before           { content: "✕"; font-family: var(--f-body); font-weight: 400; line-height: 1; }

/* --------------------------------------------------------------------------
   7. CONTENT — page heading + Elementor heading widget
   -------------------------------------------------------------------------- */
.single-page-article { width: 100%; }
.entry { width: 100%; }

.elementor-widget-heading .elementor-heading-title {
  margin: 0;
  font-family: var(--f-head);
  color: var(--c-ink);
  line-height: 1.2;
}
.elementor-widget-heading.elementor-element-4b9bd8e7 {
  text-align: center;
  margin: 12px 0 36px;
}
.elementor-widget-heading.elementor-element-4b9bd8e7 .elementor-heading-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  position: relative;
  display: inline-block;
  padding-bottom: 18px;
}
.elementor-widget-heading.elementor-element-4b9bd8e7 .elementor-heading-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 80px; height: 4px;
  background: linear-gradient(90deg, var(--c-purple) 0%, var(--c-coral) 100%);
  border-radius: 4px;
  transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   8. ACTIVITY CARDS — custom shortcode markup
   -------------------------------------------------------------------------- */
.elementor-shortcode { width: 100%; height: 100%; display: flex; }

.activity-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
  isolation: isolate;
}

/* Decorative wisp behind each card (using card itself for the offset) */
.activity-card::before {
  content: "";
  position: absolute;
  inset: auto -10px -10px auto;
  width: 80px; height: 80px;
  background: radial-gradient(circle at center, rgba(255, 201, 74, 0.55), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lift);
  color: inherit;
}
.activity-card:hover::before { opacity: 1; }

.activity-background {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.activity-background::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(34, 22, 53, 0) 30%,
      rgba(34, 22, 53, 0.55) 70%,
      rgba(34, 22, 53, 0.82) 100%);
  transition: background 0.4s var(--ease);
  z-index: 1;
}
.activity-card:hover .activity-background::after {
  background:
    linear-gradient(180deg,
      rgba(106, 43, 209, 0.10) 0%,
      rgba(34, 22, 53, 0.55) 60%,
      rgba(34, 22, 53, 0.88) 100%);
}

/* The overlay sits over the image, anchored to the bottom */
.activity-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 18px 16px;
  z-index: 2;
  color: #fff;
}
.activity-title {
  margin: 0 0 4px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.32rem;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.activity-title::after { display: none; }
.activity-ageGroup {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.activity-detailsContainer {
  padding: 14px 18px 18px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.activity-detailsContainer p { margin: 0; }
.activity-detailsContainer p:empty { display: none; }

.activity-weekday {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-purple-deep);
  letter-spacing: 0.02em;
  margin-bottom: 2px !important;
}
.activity-weekday::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-coral);
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.activity-time {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--c-ink-soft);
  padding-left: 14px;
}

/* Stagger the inner sections with a touch of vertical breathing room */
.elementor-element-34372977,
.elementor-element-4b7ed309,
.elementor-element-12f90043 {
  margin-bottom: 18px;
}

/* Ensure the activity rows themselves stretch evenly */
.elementor-element-34372977 > .elementor-container,
.elementor-element-4b7ed309 > .elementor-container,
.elementor-element-12f90043 > .elementor-container {
  align-items: stretch;
}
.elementor-element-34372977 .elementor-widget-shortcode,
.elementor-element-4b7ed309 .elementor-widget-shortcode,
.elementor-element-12f90043 .elementor-widget-shortcode {
  height: 100%;
  margin-bottom: 0;
}
.elementor-element-34372977 .elementor-widget-container,
.elementor-element-4b7ed309 .elementor-widget-container,
.elementor-element-12f90043 .elementor-widget-container {
  height: 100%;
}

/* --------------------------------------------------------------------------
   9. ELEMENTOR BUTTONS
   -------------------------------------------------------------------------- */
.elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px -8px rgba(143, 73, 249, 0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.3s var(--ease);
}
.elementor-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px -10px rgba(143, 73, 249, 0.55);
  background: linear-gradient(135deg, var(--c-purple-deep) 0%, var(--c-purple) 100%);
}
.elementor-button:active { transform: translateY(0); }
.elementor-button.elementor-size-lg { padding: 16px 36px; font-size: 1rem; }
.elementor-button.elementor-size-sm { padding: 11px 22px; font-size: 0.88rem; }

.elementor-align-right { text-align: right; }
.elementor-button-content-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   10. FOOTER — "Itt vagyunk" address band + main multi-column footer
   -------------------------------------------------------------------------- */
.elementor-location-footer { width: 100%; }

/* Address band above the dark footer */
.elementor-location-footer .elementor-element-edd8e0c {
  background: var(--c-bg-2);
  padding: 36px 0;
  border-top: 1px solid var(--c-line);
}
.elementor-location-footer .elementor-element-edd8e0c h2 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: var(--c-purple-deep);
}
.elementor-location-footer .elementor-element-edd8e0c .elementor-widget-text-editor {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--c-ink-soft);
}

/* Main dark footer band */
.footer_area {
  position: relative;
  background: linear-gradient(180deg, var(--c-footer-bg) 0%, var(--c-footer-bg-2) 100%);
  color: var(--c-footer-text);
  padding: 70px 0 24px;
  overflow: hidden;
}
.footer_area .elementor-background-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(143, 73, 249, 0.22), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(255, 122, 89, 0.18), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.footer_area > .elementor-container { position: relative; z-index: 1; }
.footer_area * { color: var(--c-footer-text); }
.footer_area h1, .footer_area h2, .footer_area h3, .footer_area h4 { color: var(--c-footer-head); }

/* The "shape" decorative graphic */
.footer_area .elementor-element-0bdec25 {
  position: absolute;
  top: -68px; left: 50%;
  transform: translateX(-50%);
  margin: 0;
  z-index: 2;
}
.footer_area .elementor-element-0bdec25 img {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}
.round_shap {
  position: absolute;
  right: -120px;
  top: 40%;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 201, 74, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.footer_area .elementor-widget-spacer .elementor-spacer-inner { height: 20px; }

/* The 5-column inner footer */
.footer_area .elementor-element-55a2ab4d > .elementor-container {
  align-items: flex-start;
  gap: 24px;
}
.footer_area .elementor-col-20 { width: 20%; flex-basis: calc(20% - 20px); }
.footer_area .elementor-widget-wrap { padding: 0; }

/* Footer headings */
.footer_area h4 {
  font-size: 1.05rem;
  margin: 0 0 16px;
  font-family: var(--f-head);
  position: relative;
  padding-bottom: 10px;
}
.footer_area h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 32px; height: 3px;
  background: var(--c-coral);
  border-radius: 3px;
}

/* Logo + social column */
.footer_area .elementor-element-83cae63 img {
  width: 130px;
  height: auto;
  margin-bottom: 16px;
}
.elementor-social-icons-wrapper {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.elementor-grid-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--c-footer-head);
  font-size: 14px;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
  cursor: pointer;
}
.elementor-grid-item:hover {
  background: var(--c-coral);
  color: #fff;
  transform: translateY(-2px);
}

/* Footer nav menu */
.footer_area .elementor-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer_area .elementor-nav-menu .elementor-item {
  display: inline-block;
  padding: 4px 0;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--c-footer-text);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}
.footer_area .elementor-nav-menu .elementor-item:hover,
.footer_area .elementor-nav-menu .elementor-item-active {
  color: var(--c-coral);
  padding-left: 6px;
}

/* Footer text-editor blocks */
.footer_area .elementor-widget-text-editor {
  font-size: 0.92rem;
  line-height: 1.7;
}
.footer_area .elementor-widget-text-editor a { color: var(--c-purple-soft); }
.footer_area .elementor-widget-text-editor a:hover { color: var(--c-coral); }

/* Copyright */
.copy_right {
  text-align: center;
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  color: rgba(253, 249, 243, 0.55);
}

/* Hide the unused mobile menu toggle inside the footer nav widget */
.footer_area .elementor-menu-toggle { display: none !important; }

/* --------------------------------------------------------------------------
   11. ELEMENTOR FORM — newsletter signup in footer
   -------------------------------------------------------------------------- */
.elementor-form {
  display: block;
}
.elementor-form-fields-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.elementor-field-group { width: 100%; }
.elementor-field-label.elementor-screen-only { /* uses helper above */ }
.elementor-field-textual {
  display: block;
  width: 100%;
  padding: 11px 14px;
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: var(--c-footer-head);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.elementor-field-textual::placeholder { color: rgba(253, 249, 243, 0.55); }
.elementor-field-textual:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--c-purple-soft);
  box-shadow: 0 0 0 3px rgba(176, 139, 255, 0.18);
}
.elementor-field-group-submit,
.e-form__buttons {
  display: flex;
  margin-top: 6px;
}
.elementor-form .elementor-button {
  width: 100%;
  background: linear-gradient(135deg, var(--c-coral) 0%, var(--c-coral-deep) 100%);
  box-shadow: 0 8px 20px -8px rgba(255, 122, 89, 0.5);
}
.elementor-form .elementor-button:hover {
  background: linear-gradient(135deg, var(--c-coral-deep) 0%, var(--c-coral) 100%);
  box-shadow: 0 14px 26px -10px rgba(255, 122, 89, 0.6);
}
.elementor-field-required label::after { content: " *"; color: var(--c-coral); }

/* --------------------------------------------------------------------------
   12. SCROLL TOP BUTTON
   -------------------------------------------------------------------------- */
#scroll-top {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 46px; height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-purple);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 10px 24px -6px rgba(143, 73, 249, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease);
  z-index: 400;
}
#scroll-top.is-visible,
.scrolled #scroll-top { opacity: 1; visibility: visible; transform: translateY(0); }
#scroll-top:hover { background: var(--c-purple-deep); color: #fff; transform: translateY(-3px); }
/* Always show as it's not behind a JS toggle in the stylesheet alone */
body.has-scrolled #scroll-top { opacity: 1; visibility: visible; transform: translateY(0); }
@media (min-width: 1px) {
  /* Fallback: appear after first viewport via CSS only (always visible) */
  #scroll-top { opacity: 1; visibility: visible; transform: none; }
}

/* --------------------------------------------------------------------------
   13. EDISON FLOATING WIDGET (Európai Parlament logo)
   -------------------------------------------------------------------------- */
#edison {
  position: fixed !important;
  right: clamp(12px, 3vw, 50px) !important;
  top: clamp(110px, 18vh, 170px) !important;
  z-index: 350 !important;
  max-width: 110px;
}
#edison img {
  width: 100%;
  height: auto;
  margin-top: 30px;
  filter: drop-shadow(0 6px 14px rgba(34, 22, 53, 0.18));
  transition: transform 0.3s var(--ease);
}
#edison:hover img { transform: scale(1.05); }

/* --------------------------------------------------------------------------
   14. ELEMENTOR ANIMATION CLASSES — make them visible without JS
   -------------------------------------------------------------------------- */
.elementor-invisible {
  /* Without Elementor's JS to add `animated` class, keep content visible */
  opacity: 1 !important;
  visibility: visible !important;
}

/* If the JS does run, animate fade-in */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animated.fadeIn { animation: fadeIn 0.8s var(--ease) both; }

/* --------------------------------------------------------------------------
   15. COOKIE LAW INFO — bottom bar + settings modal
   -------------------------------------------------------------------------- */
#cookie-law-info-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9998;
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.92);
  padding: 14px 20px;
  box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.3);
  font-size: 0.92rem;
}
.cli-bar-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cli-bar-message { flex: 1 1 280px; line-height: 1.5; }
.cli-bar-btn_container { display: flex; gap: 10px; flex-wrap: wrap; }
.cli_settings_button,
.wt-cli-accept-all-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: 99px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
  border: 1px solid transparent;
  text-decoration: none;
}
.cli_settings_button {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.2);
}
.cli_settings_button:hover {
  color: #fff;
  border-color: var(--c-purple-soft);
  background: rgba(255, 255, 255, 0.05);
}
.wt-cli-accept-all-btn {
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 14px -6px rgba(143, 73, 249, 0.6);
}
.wt-cli-accept-all-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 20px -8px rgba(143, 73, 249, 0.7);
}

#cookie-law-info-again {
  display: none;
  position: fixed;
  bottom: 20px; left: 20px;
  z-index: 9990;
  padding: 8px 14px;
  background: var(--c-ink);
  color: #fff;
  border-radius: 99px;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, 0.4);
}

/* Cookie settings modal (hidden by default) */
.cli-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow-y: auto;
  padding: 40px 20px;
}
.cli-modal.show { display: block; }
.cli-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(34, 22, 53, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9997;
}
.cli-modal-backdrop.show { display: block; }
.cli-modal-dialog {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.cli-modal-content { display: flex; flex-direction: column; }
.cli-modal-close {
  position: absolute;
  right: 14px; top: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-bg-2);
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.cli-modal-close svg { width: 18px; height: 18px; fill: var(--c-ink); }
.cli-modal-body { padding: 28px; }
.cli-privacy-overview h4 { margin: 0 0 10px; color: var(--c-purple-deep); }
.cli-privacy-content-text { color: var(--c-ink-soft); line-height: 1.65; font-size: 0.95rem; }
.cli-privacy-readmore { color: var(--c-purple); font-weight: 600; cursor: pointer; }

.cli-tab-section { border-top: 1px solid var(--c-line); padding: 16px 0; }
.cli-tab-section:first-of-type { border-top: 0; padding-top: 8px; }
.cli-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.cli-nav-link {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-ink);
  cursor: pointer;
}
.cli-necessary-caption {
  font-size: 0.8rem;
  color: var(--c-mint);
  font-weight: 600;
  padding: 4px 10px;
  background: rgba(77, 208, 168, 0.12);
  border-radius: 99px;
}
.wt-cli-necessary-checkbox {
  display: flex; align-items: center; gap: 8px;
}
.cli-switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.cli-switch input[type="checkbox"] {
  position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2;
}
.cli-slider {
  position: absolute; inset: 0;
  background: var(--c-line-strong);
  border-radius: 99px;
  transition: background 0.2s var(--ease);
}
.cli-slider::before {
  content: "";
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s var(--ease);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.cli-switch input[type="checkbox"]:checked + .cli-slider { background: var(--c-purple); }
.cli-switch input[type="checkbox"]:checked + .cli-slider::before { transform: translateX(20px); }
.wt-cli-cookie-description {
  color: var(--c-ink-soft);
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 8px 0 4px;
}
.cookielawinfo-row-cat-table {
  width: 100%;
  margin: 12px 0;
  font-size: 0.82rem;
  border: 1px solid var(--c-line);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.cookielawinfo-row-cat-table th,
.cookielawinfo-row-cat-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
.cookielawinfo-row-cat-table th {
  background: var(--c-bg-2);
  color: var(--c-ink);
  font-weight: 700;
}
.cookielawinfo-row-cat-table tr:last-child td { border-bottom: 0; }

.cli-modal-footer {
  padding: 16px 28px;
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
  display: flex;
  justify-content: flex-end;
}
.cli-tab-footer { display: flex; justify-content: flex-end; width: 100%; }
.wt-cli-privacy-btn,
.cli-btn {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  background: linear-gradient(135deg, var(--c-purple) 0%, var(--c-purple-deep) 100%);
  color: #fff;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease);
}
.wt-cli-privacy-btn:hover { color: #fff; transform: translateY(-2px); }

/* --------------------------------------------------------------------------
   16. SCHEMA / SVG (the duotone filters svg blocks)
   -------------------------------------------------------------------------- */
/* Already inline-styled in markup; no changes needed */

/* --------------------------------------------------------------------------
   17. RESPONSIVE
   -------------------------------------------------------------------------- */

/* >= 1025px — desktop default (above) */

/* TABLET LANDSCAPE (1024px and below): cards 4 → 3 wouldn't work cleanly with HTML grouped into rows-of-4, so go 4 → 2 directly at the tablet breakpoint */
@media (max-width: 1024px) {
  :root { --container-pad: 20px; }
  .elementor-nav-menu--main .elementor-item { padding: 10px 10px; font-size: 13px; }

  /* Activity cards: 2 per row */
  .elementor-element-34372977 .elementor-col-25,
  .elementor-element-4b7ed309 .elementor-col-25,
  .elementor-element-12f90043 .elementor-col-25 {
    width: 50%;
    flex-basis: calc(50% - 10px);
  }

  /* Footer: 5 cols → 2 cols */
  .footer_area .elementor-col-20 {
    width: 50%;
    flex-basis: calc(50% - 12px);
  }
}

/* TABLET PORTRAIT (881px): activate burger menu (Elementor's --dropdown-tablet breakpoint) */
@media (max-width: 881px) {
  .elementor-nav-menu--main { display: none; }
  .elementor-menu-toggle { display: inline-flex; }

  /* Header restructure: stack social icons under nav */
  #site-header .elementor-element-533575e6 { display: block; }
  #site-header .elementor-element-791c1e6b > .elementor-container {
    justify-content: flex-end;
    padding-right: 60px;  /* clear the burger button */
  }
}

/* HIDE HELPERS */
@media (min-width: 1025px) {
  .elementor-hidden-desktop { display: none !important; }
}
@media (max-width: 1024px) and (min-width: 768px) {
  .elementor-hidden-tablet { display: none !important; }
}
@media (max-width: 767px) {
  .elementor-hidden-mobile { display: none !important; }
  #site-header .elementor-element-7808bff { display: block !important; }
}

/* MOBILE */
@media (max-width: 767px) {
  :root {
    --container-pad: 16px;
    --header-h: 64px;
  }

  #site-header .elementor-element-d8d24b8 { left: 16px; }
  #site-header .elementor-widget-image .attachment-large { max-height: 46px; }

  /* Activity cards: 1 per row */
  .elementor-element-34372977 .elementor-col-25,
  .elementor-element-4b7ed309 .elementor-col-25,
  .elementor-element-12f90043 .elementor-col-25 {
    width: 100%;
    flex-basis: 100%;
  }
  .activity-card { min-height: 0; }
  .activity-background { aspect-ratio: 16 / 10; }

  /* Address band stacks */
  .elementor-location-footer .elementor-element-edd8e0c .elementor-col-50 {
    width: 100%;
    flex-basis: 100%;
    text-align: center;
  }
  .elementor-location-footer .elementor-element-edd8e0c .elementor-align-right { text-align: center; }

  /* Footer columns: 2 → 1 */
  .footer_area .elementor-col-20 {
    width: 100%;
    flex-basis: 100%;
  }
  .footer_area h4::after { left: 0; right: auto; }
  .footer_area .elementor-element-83cae63 img { margin-left: auto; margin-right: auto; }
  .elementor-social-icons-wrapper { justify-content: center; }
  .footer_area { padding-top: 80px; }
  .footer_area .elementor-element-0bdec25 img { width: 80px; }

  /* Edison: smaller, lower */
  #edison {
    max-width: 64px;
    top: auto !important;
    bottom: 86px !important;
    right: 12px !important;
  }
  #edison img { margin-top: 0; }

  /* Cookie bar: stack */
  #cookie-law-info-bar { padding: 12px 14px; font-size: 0.86rem; }
  .cli-bar-container { gap: 10px; }
  .cli-bar-btn_container { width: 100%; }
  .wt-cli-accept-all-btn, .cli_settings_button { flex: 1; justify-content: center; }

  /* Scroll-top: smaller offset */
  #scroll-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }

  /* Heading underline narrower */
  .elementor-widget-heading.elementor-element-4b9bd8e7 { margin-top: 4px; margin-bottom: 24px; }

  #content-wrap.container { padding: 28px var(--container-pad); }
}

/* VERY SMALL */
@media (max-width: 380px) {
  .activity-title { font-size: 1.18rem; }
  .activity-overlay { padding: 14px 14px 12px; }
  .activity-detailsContainer { padding: 12px 14px 14px; }
  #edison { max-width: 52px; }
}

/* PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .activity-card:hover { transform: none; }
  .elementor-button:hover { transform: none; }
}

/* End of stylesheet */

/* --------------------------------------------------------------------------
   18. HEADER FINE-TUNING — give the nav more breathing room than the
       50/50 column split would normally allow (8 menu items vs 3 icons)
   -------------------------------------------------------------------------- */
@media (min-width: 882px) {
  /* Right column of the header: let the nav grow, keep socials compact */
  #site-header .elementor-element-a260ed3 .elementor-element-788ff4b {
    width: auto;
    flex: 1 1 auto;
    flex-basis: 0;
  }
  #site-header .elementor-element-a260ed3 .elementor-element-533575e6 {
    width: auto;
    flex: 0 0 auto;
    min-width: 140px;
  }
  /* Bring left/right halves of the whole header into 1:2 instead of 1:1
     so the logo doesn't crowd the menu */
  #site-header .elementor-element-23b8e02e > .elementor-container > .elementor-element-4f060f34 {
    flex: 0 0 280px;
    width: 280px;
  }
  #site-header .elementor-element-23b8e02e > .elementor-container > .elementor-element-26a8b554 {
    flex: 1 1 auto;
    width: auto;
  }
}