/* Shared layout rules, verified against Elementor's generated frontend CSS. */
:root { --touri-gutter: clamp(20px, 6vw, 122px); }
html { scroll-padding-top: 110px; }
[hidden] { display: none !important; }
body.touri-site { min-height: 100vh; display: flex; flex-direction: column; }
body > .elementor, body > main { flex: 1; }
button, input, select, textarea { border-radius: 0; }
.touri-btn, .elementor-button { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
 outline: 2px solid #755566; outline-offset: 4px;
}
.touri-header__logo { flex: none; }
.touri-header__bar { gap: 12px; }
.touri-menu-toggle { display: grid; place-items: center; flex: none; }
.touri-menu-toggle[aria-expanded="true"] .touri-menu-toggle__bars { background: transparent; }
.touri-menu-toggle[aria-expanded="true"] .touri-menu-toggle__bars::before { top: 0; transform: rotate(45deg); }
.touri-menu-toggle[aria-expanded="true"] .touri-menu-toggle__bars::after { top: 0; transform: rotate(-45deg); }
.touri-dropdown { max-height: calc(100dvh - 85px); overscroll-behavior: contain; }
.touri-dropdown__nav > ul { max-width: 1100px; margin: auto; }
.touri-dropdown__nav a { font-size: 18px; }
.touri-dropdown__nav a[aria-current="page"] { color: #755566; }
.touri-site .elementor-section-boxed > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; }
.touri-site .elementor-section-full_width:has(.touri-hero) > .elementor-container > .elementor-column > .elementor-widget-wrap { padding: 0; }
.touri-site .elementor-widget-heading h1.elementor-heading-title,
.touri-site .elementor-widget-heading h2.elementor-heading-title {
 font-size: clamp(30px, 3.8vw, 56px); line-height: 1.15; margin: 0;
 text-wrap: balance; overflow-wrap: break-word;
}
.touri-site .elementor-widget-heading:has(h1) + .elementor-widget-heading h2 { font-size: clamp(24px, 2.6vw, 36px); }
.touri-site .elementor-widget-text-editor p { max-width: 72ch; margin: 0 auto 16px; }
.touri-site .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.touri-site .elementor-widget-button { text-align: center; }
.touri-site .elementor-widget-button .elementor-button { margin: 0; line-height: 1.3; min-height: 44px; }
.touri-site .elementor-widget-wrap > .elementor-widget { margin-bottom: 24px; }
.touri-site .elementor-widget-wrap > .elementor-widget:last-child { margin-bottom: 0; }
.touri-site .elementor-widget-wrap > .elementor-widget:not(:first-child).elementor-widget-heading { margin-top: 24px; }
.touri-site .elementor-section-boxed:has(> .elementor-container > .elementor-col-50) > .elementor-container {
 gap: clamp(24px, 4vw, 64px); align-items: center;
}
.touri-site .elementor-section-boxed > .elementor-container > .elementor-col-50 { width: calc(50% - clamp(24px, 4vw, 64px) / 2); }
.touri-site .elementor-col-50 .elementor-widget-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.touri-site .elementor-col-100 > .elementor-widget-wrap > .elementor-widget-image img { max-height: 540px; width: auto; object-fit: contain; }
.touri-site .elementor-widget-image img { vertical-align: middle; }
.touri-logoblock { margin-bottom: 0; text-align: center !important; }
.touri-logoblock .touri-logoblock__img { width: 130px; }
.touri-hero { height: min(76vh, 800px); min-height: 520px; gap: 30px; padding: 56px 24px 80px; }
.touri-hero__slide::after { background: rgba(0,0,0,.42); }
.touri-hero__logo { width: 155px; }
.touri-hero__caption { padding: 0; }
.touri-hero__caption h2 { font-family: var(--touri-sans); font-size: clamp(34px,4.5vw,64px); line-height: 1.12; max-width: 23ch; text-wrap: balance; text-shadow: 0 2px 16px #0004; }
.touri-hero__dots { bottom: 20px; gap: 4px; }
.touri-hero__dots button { width: 32px; height: 32px; background: transparent; border-radius: 0; display: grid; place-items: center; }
.touri-hero__dots button::after { content: ''; width: 7px; height: 7px; background: #ffffff70; border-radius: 50%; }
.touri-hero__dots button.is-active, .touri-hero__dots button:hover { background: transparent; }
.touri-hero__dots button.is-active::after, .touri-hero__dots button:hover::after { background: white; }
.touri-pillars a { padding: 20px 12px; text-align: center; border: 1px solid var(--touri-line); text-decoration: none; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.touri-pillars a:hover { background: var(--touri-paper); }
.touri-cards, .touri-events { grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 24px; }
.touri-card, .touri-event { display: flex; flex-direction: column; min-width: 0; padding: 24px; }
.touri-card[hidden], .touri-event[hidden] { display: none; }
.touri-card h3, .touri-event h3 { font-size: 28px; line-height: 1.2; margin: 12px 0; overflow-wrap: anywhere; }
.touri-card p, .touri-event p { font-size: 18px; line-height: 1.5; margin: 0 0 24px; }
.touri-card .touri-btn, .touri-event .touri-btn { align-self: flex-start; margin: auto 0 0; min-height: 44px; line-height: 1.2; }
.touri-card:has(> img) { text-align: center; }
.touri-card:has(> img) .touri-btn { align-self: center; }
.touri-card:has(> img) h3 { margin-bottom: 24px; }
.elementor .touri-card img { max-width: none; width: calc(100% + 48px); height: auto; aspect-ratio: 3 / 2; margin: -24px -24px 12px; object-fit: cover; }
.touri-site .elementor-col-50 .elementor-widget-image img[src*="hero-alt"],
.touri-site .elementor-col-50 .elementor-widget-image img[src*="hero-nyar"],
.touri-site .elementor-col-50 .elementor-widget-image img[src*="hero-4evszak"] { aspect-ratio: 1; object-fit: contain; }
a.touri-card { text-decoration: none; justify-content: center; text-align: center; }
a.touri-card:hover { background: var(--touri-paper); }
.touri-event time { color: #755566; font-size: 13px; }
.touri-event .touri-tag { color: #666; font-size: 12px; margin-top: 4px; }
.touri-functions { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.touri-function { padding: 18px 10px; min-height: 104px; justify-content: center; }
.touri-function--all { grid-column: 1 / -1; min-height: 44px; padding: 12px; }
.touri-function:hover:not(.is-active), .touri-chip:hover { background: #e7dce2; }
.touri-map-chips { grid-template-columns: repeat(auto-fit,minmax(170px,1fr)); gap: 12px; }
.touri-chip { min-height: 64px; overflow-wrap: anywhere; }
.touri-amenities { grid-template-columns: repeat(3,minmax(0,1fr)); }
.touri-amenities--highlight { grid-template-columns: repeat(3,minmax(0,1fr)); }
.touri-amenity { min-width: 0; overflow-wrap: anywhere; }
.touri-params { grid-template-columns: repeat(auto-fit,minmax(130px,1fr)); }
.touri-param { justify-content: center; min-height: 110px; }
.touri-menu { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.touri-menu__block { padding: 24px; }
.touri-menu__block h3 { font-size: 28px; line-height: 1.2; margin: 0 0 24px; }
.touri-menu__block ul { list-style: none; margin: 0; padding: 0; }
.touri-menu__block li { font-size: 18px; padding: 12px 0; border-top: 1px solid var(--touri-line); }
.touri-table { font-size: 18px; }
.touri-table th { font-weight: 400; }
.touri-table thead th { background: var(--touri-paper); font-weight: 600; }
.touri-table td { white-space: nowrap; text-align: right; }
.touri-table th, .touri-table td { padding: 16px 12px; }
.touri-table + p { font-size: 15px; color: #666; margin-top: 16px; }
.touri-pay__item { text-align: center; font-size: 18px; }
.touri-cta-band { margin: 24px 0; text-align: center; }
.touri-cta-band .touri-btn { margin: 0; min-height: 44px; }
.touri-filters { gap: 16px; }
.touri-filters select { min-height: 44px; max-width: 100%; }
.touri-filters__count { margin-left: auto; }
.touri-site.touri-contact-page .elementor-section-boxed:has(.touri-form) > .elementor-container { align-items: flex-start; }
.touri-contact-page .elementor-widget-text-editor p { margin-left: 0; }
.touri-form input, .touri-form textarea { margin-top: 6px; background: #fafafa; border-color: #d4d4d4; min-height: 44px; }
.touri-form textarea { resize: vertical; }
.touri-form label.touri-form__check input { width: 18px; height: 18px; min-height: 18px; accent-color: #755566; }
.touri-form label.touri-form__check { align-items: flex-start; }
.touri-form .touri-btn { margin: 8px 0 0; min-height: 44px; }
.touri-footer__inner, .touri-footer__meta { align-items: center; }
.touri-footer__inner { flex-direction: column; gap: 24px; }
.touri-footer__logo img { width: 140px; }
.touri-footer__meta { gap: 16px; }
.touri-docs summary { font-size: 15px; padding: 10px; text-align: center; }
.touri-docs ul { text-align: center; }
.touri-docs a { display: inline-block; padding: 8px; font-size: 15px; }
.touri-social { gap: 12px; }
.touri-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid #ffffff40; border-radius: 50%; }
.touri-social a:hover { background: #ffffff20; }
.touri-top { text-align: center; padding: 12px 20px; margin-top: 20px; font-size: 14px; }
.touri-booking__help { text-align: center; padding: 24px; background: var(--touri-paper); margin-bottom: 24px; }
.touri-booking__help p { margin: 0; font-size: 16px; }
.touri-booking__help .touri-btn { margin: 16px 0 0; }
.touri-booking__help[hidden] { display: none; }
.touri-location-map { position: relative; min-height: 400px; background: var(--touri-paper); }
.touri-location-map iframe { width: 100%; min-height: 400px; display: block; border: 0; }
.touri-location-map__address { position: absolute; left: var(--touri-gutter); bottom: 24px; max-width: calc(100% - 40px); background: white; padding: 20px 24px; box-shadow: 0 2px 20px #0001; font-size: 16px; }
.touri-location-map__address strong { display: block; margin-bottom: 6px; }
.touri-location-map__address a { display: inline-block; margin-top: 8px; text-underline-offset: 4px; }
.touri-gallery figure button { display: block; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; background: var(--touri-paper); cursor: zoom-in; }
.touri-gallery figure button img { transition: transform .25s ease; }
.touri-gallery figure button:hover img { transform: scale(1.025); }
.touri-gallery figure:focus-within { outline: 2px solid #755566; outline-offset: 3px; }
.touri-viewer { padding: 56px 24px 16px; border: 0; width: min(1100px,94vw); max-height: 94dvh; background: var(--touri-ink); color: white; }
.touri-viewer::backdrop { background: #000d; }
.touri-viewer > img { margin: auto; max-height: calc(94dvh - 144px); width: auto; max-width: 100%; object-fit: contain; }
.touri-viewer button { width: 44px; height: 44px; color: white; background: transparent; border: 1px solid #ffffff60; font: 24px var(--touri-sans); cursor: pointer; }
.touri-viewer__close { position: absolute; top: 6px; right: 12px; }
.touri-viewer__controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 16px; font-size: 16px; }
body:has(.touri-viewer[open]) { overflow: hidden; }
@media (min-width: 992px) {
 .touri-dropdown__nav > ul { display: grid; grid-template-columns: repeat(3,1fr); align-items: start; gap: 8px; }
}
@media (min-width: 768px) {
 .touri-params:has(> :nth-child(5):last-child) { grid-template-columns: repeat(5,minmax(0,1fr)); }
 .touri-cards:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 767px) {
 .touri-header__bar { padding: 0 16px; }
 .touri-header__actions { gap: 8px; }
 .touri-header__logo img { height: 24px; }
 .touri-langs { font-size: 11px; gap: 4px; letter-spacing: 0; }
 .touri-header .touri-btn--ghost { min-height: 40px; display: flex; align-items: center; }
 .touri-dropdown { max-height: calc(100dvh - 65px); }
 .touri-site .elementor-section-boxed { padding-top: 28px; padding-bottom: 28px; }
 .touri-site .elementor-section-boxed > .elementor-container > .elementor-col-50 { width: 100%; }
 .touri-site .elementor-col-50:has(.elementor-widget-image:only-child),
 .touri-site .elementor-col-50:has(.touri-square) { order: -1; }
 .touri-site .elementor-widget-wrap > .elementor-widget { margin-bottom: 20px; }
 .touri-hero { min-height: 480px; height: calc(85svh - 65px); max-height: 640px; padding-inline: 24px; }
 .touri-hero__logo { width: 120px; }
 .touri-hero__caption h2 { font-size: 36px; }
 .touri-pillars { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
 .touri-pillars a { font-size: 12px; letter-spacing: .04em; padding: 16px 4px; }
 .touri-cards, .touri-events { gap: 16px; }
 .touri-card h3, .touri-event h3 { font-size: 26px; }
 .touri-functions, .touri-map-chips { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .touri-map { padding: 16px; }
 .touri-chip { padding: 12px 6px; }
 .touri-gallery { gap: 10px; }
 .touri-gallery figure:nth-child(5n + 1) { grid-row: span 1; }
 .touri-amenities { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
 .touri-params { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .touri-params > :last-child:nth-child(odd),
 .touri-amenities:not(.touri-amenities--highlight) > :last-child:nth-child(odd) { grid-column: 1 / -1; }
 .touri-amenity { padding: 16px 10px; flex-direction: column; text-align: center; font-size: 15px; }
 .touri-amenities--highlight { grid-template-columns: 1fr; }
 .touri-amenities--highlight .touri-amenity { flex-direction: row; text-align: left; font-size: 20px; padding: 20px; }
 .touri-menu { grid-template-columns: 1fr; }
 .touri-table { font-size: 15px; }
 .touri-table th, .touri-table td { padding: 14px 6px; }
 .touri-filters { align-items: stretch; }
 .touri-filters label { width: 100%; display: grid; grid-template-columns: 80px minmax(0,1fr); }
 .touri-filters__count { margin-left: 0; }
 .touri-pay { gap: 10px; }
 .touri-footer { padding-top: 40px; }
}
@media (max-width: 360px) {
 .touri-header__bar { padding-inline: 10px; gap: 8px; }
 .touri-header__actions { gap: 4px; }
 .touri-header .touri-btn--ghost { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .touri-hero__slide { transition: none; }
}

/* Esemény aloldal — a kártya tipográfiáját viszi tovább nagyban. */
.touri-event-page__inner { max-width: calc(820px + 2 * var(--touri-gutter)); margin: 0 auto; padding: 48px var(--touri-gutter) 24px; }
/* Onallo sorban allo vissza gomb (villa- es uticel-aloldalak): a tartalom
   racsahoz igazodik, igy a lap bal szelevel egy vonalban all. */
.touri-backbar { display: flex; justify-content: flex-start; width: 100%; align-self: stretch; max-width: var(--touri-max); margin: 0 auto; padding: 24px var(--touri-gutter) 0; box-sizing: border-box; }
.touri-backbar .touri-back { position: static; transform: none; }
/* Ha a JS meg tudta mérni a címsort, a gomb rááll annak vonalára, és nem
   foglal sajat sort. Meres nelkul marad a fenti, cimsor folotti sav. */
.touri-main { position: relative; }
.touri-backbar.is-aligned { position: absolute; top: 0; left: 0; right: 0; padding-top: 0; z-index: 2; pointer-events: none; }
.touri-backbar.is-aligned .touri-back { pointer-events: auto; }
/* Keskeny kijelzon a cimsor hosszabb cimeknel tobb sorba tor es kifut a lap
   szelere, ezert ott a gomb visszakerul a cimsor fole, sajat sorba. */
@media (max-width: 767px) {
	.touri-backbar.is-aligned { position: static; padding-top: 16px; }
}

/* A vissza gomb a datumsorral egy vonalban ul; a datumsor kozepen marad, ezert
   a gomb kilep a folyamatbol, a sor oldalso belso terese pedig helyet hagy neki. */
.touri-event-page__top { position: relative; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 56px; margin: 0 0 12px; }
.touri-back { position: absolute; left: 0; top: 50%; transform: translateY(-50%); display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid #0000001f; border-radius: 50%; color: var(--touri-ink); transition: background-color .2s, border-color .2s; }
.touri-back:hover, .touri-back:focus-visible { background: var(--touri-paper); border-color: #00000033; }
.touri-back svg { width: 20px; height: 20px; display: block; }
/* A datum 14px, a cimkek 12px-esek, ezert a dobozok kozepre igazitasa helyett
   az alapvonalukra rendezzuk oket — igy egy vonalban ul a harom felirat. */
.touri-event-page__meta { display: flex; flex-wrap: wrap; gap: 16px; align-items: baseline; justify-content: center; margin: 0; }
.touri-event-page__meta time { color: #755566; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.touri-event-page__meta .touri-tag { color: #666; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
/* A cim az oldalak Elementor-cimsoraival azonos tipografiat kap. */
.touri-event-page__inner h1 {
	font-family: var(--touri-sans);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.1;
	color: var(--touri-ink);
	text-transform: lowercase;
	text-align: center;
	margin: 0 0 24px;
}
@media (min-width: 992px) { .touri-event-page__inner h1 { font-size: 56px; } }
@media (min-width: 1601px) { .touri-event-page__inner h1 { font-size: 64px; } }
.touri-event-page__actions { justify-content: center; }
.touri-event-page__image { margin: 0 0 24px; }
.touri-event-page__image img { width: 100%; height: auto; display: block; }
.touri-event-page__lead { font-size: 21px; line-height: 1.5; margin: 0 0 24px; text-align: center; }
.touri-event-page__body { font-size: 18px; line-height: 1.6; }
.touri-event-page__body p { margin: 0 0 18px; }
.touri-event-page__actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 32px 0 0; }
