/* ==========================================================================
   Quinto Quarto - stili del tema (misure prese dal sito originale)
   Punti di rottura come l'originale: tablet <= 1024px, telefono <= 767px
   ========================================================================== */

/* Font self-hosted */
@font-face { font-family: "Brand"; src: url("../fonts/Brand.woff2") format("woff2"), url("../fonts/Brand.woff") format("woff"); font-weight: normal; font-style: normal; font-display: swap; }
@font-face { font-family: "Caviar Dreams"; src: url("../fonts/CaviarDreams-Bold.woff2") format("woff2"), url("../fonts/CaviarDreams-Bold.woff") format("woff"); font-weight: normal; font-style: normal; font-display: swap; }
/* Menu: "Open Sans Hebrew Condensed" non e' piu' distribuito da Google; si usa Open Sans condensato (stessi caratteri latini), file variabile */
@font-face { font-family: "Open Sans Hebrew Condensed"; src: url("../fonts/open-sans-condensed-latin.woff2") format("woff2"); font-weight: 300 800; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/josefin-sans-latin.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Josefin Sans"; src: url("../fonts/josefin-sans-latin-ext.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--qq-red: #7d283e;
	--qq-beige: #f1e8d5;
	--qq-grey: #54595f;
	--qq-font: "Josefin Sans", sans-serif;
	/* Font del marchio attivati per scelta dell'utente (nel vecchio sito non si caricavano per gli URL http).
	   Per tornare all'aspetto del vecchio sito: sostituire i tre valori con sans-serif. */
	--qq-font-nav: "Open Sans Hebrew Condensed", sans-serif;
	--qq-font-title: "Brand", sans-serif;
	--qq-font-kicker: "Caviar Dreams", sans-serif;
	--qq-container: 1140px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--qq-font); font-size: 19px; font-weight: 300; line-height: 29px; color: #fff; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
a { color: inherit; text-decoration: none; transition: color .2s ease-out; }
button { font: inherit; }
svg { fill: currentColor; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.qq-skip { position: absolute; left: -9999px; top: 0; z-index: 1000001; background: var(--qq-beige); color: var(--qq-red); padding: 10px 20px; }
.qq-skip:focus { left: 10px; top: 10px; }
.qq-main { display: block; }
.qq-center { text-align: center; }

/* Linee verticali fisse a 10% e 90% */
.qq-gridline { position: fixed; display: block; width: 0; border-left: 1px solid var(--qq-beige); pointer-events: none; }
/* sopra la testata (anche quando e' fissa con lo sfondo), come nell'originale dove la testata e' trasparente */
.qq-gridline--head { top: 0; height: 110px; z-index: 1000000; }
.qq-gridline--body { top: 110px; height: 100vh; z-index: 109; }
.qq-gridline--left { left: 10%; }
.qq-gridline--right { right: 10%; }

/* ---------- Testata ---------- */
.qq-header { position: relative; z-index: 999999; display: flex; align-items: center; margin-bottom: -110px; border-bottom: 1px solid var(--qq-beige); }
.qq-header__logo { width: 10%; padding: 20px 0; text-align: center; }
.qq-header__logo a { display: block; width: 60%; margin: 0 auto; }
.qq-header__logo-img { display: block; width: 100%; }
.qq-header__nav { width: 80%; padding: 10px; }
.qq-header__side { width: 9.666%; }
.qq-nav { display: flex; flex-wrap: wrap; justify-content: center; margin: 0; padding: 0; list-style: none; }
.qq-nav li { position: relative; }
.qq-nav__link { position: relative; display: block; padding: 13px 20px; font-family: var(--qq-font-nav); font-stretch: 75%; font-size: 18px; font-weight: 300; line-height: 20px; text-transform: uppercase; color: var(--qq-beige); transition: .4s; }
.qq-nav__link::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--qq-red); opacity: 0; transition: opacity .3s; z-index: 2; }
.qq-nav__link:hover::after, .qq-nav__link:focus-visible::after, .qq-nav__link.is-active::after { opacity: 1; }
.qq-nav li:last-child { background: var(--qq-beige); }
.qq-nav li:last-child .qq-nav__link { color: var(--qq-red); }
.qq-burger { display: none; }
/* Testata che ricompare risalendo (classi messe dal JS solo sotto 1025px) */
.qq-header-holder { display: none; }
.qq-header.is-pinned { position: fixed; top: 0; left: 0; right: 0; margin: 0; background: var(--qq-red); transform: translateY(0); transition: transform .3s ease; }
.qq-header.is-pinned.is-hidden { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .qq-header.is-pinned { transition: none; } }

/* ---------- Elementi comuni ---------- */
/* overflow-x clip: le entrate laterali (fadeInLeft/Right) non allargano la pagina sul telefono */
.qq-section { position: relative; z-index: 1; overflow-x: clip; }
.qq-section--red { background: var(--qq-red); color: var(--qq-beige); }
.qq-section--beige { background: var(--qq-beige); color: var(--qq-red); }
.qq-container { max-width: var(--qq-container); margin: 0 auto; }
.qq-container--narrow { max-width: 480px; }
.qq-kicker { margin: 0 0 20px; font-family: var(--qq-font-kicker); font-size: 18px; font-weight: 400; line-height: 18px; letter-spacing: .23em; text-transform: uppercase; text-align: center; color: inherit; }
.qq-title { margin: 0; font-family: var(--qq-font-title); font-size: 41px; font-weight: 700; line-height: 1; letter-spacing: .23em; text-transform: uppercase; text-align: center; color: inherit; }
.qq-title--left { text-align: left; }
.qq-btn { display: inline-block; font-family: var(--qq-font); font-size: 18px; font-weight: 400; line-height: 18px; text-align: center; border: 1px solid; border-radius: 0; cursor: pointer; transition: all .3s; }
.qq-btn--hero { padding: 12px 24px; background: var(--qq-red); color: var(--qq-beige); border-color: var(--qq-beige); }
.qq-btn--hero:hover, .qq-btn--hero:focus-visible { background: var(--qq-beige); color: var(--qq-red); border-color: var(--qq-red); }
.qq-btn--outline { padding: 10px 20px 6px; text-transform: uppercase; background: var(--qq-beige); color: var(--qq-red); border-color: var(--qq-red); }
.qq-btn--outline:hover, .qq-btn--outline:focus-visible { background: var(--qq-red); color: var(--qq-beige); border-color: var(--qq-red); }

/* ---------- Hero ---------- */
.qq-hero { position: relative; z-index: 1; height: 100vh; overflow: hidden; background: #1f1f1f; }
.qq-hero__track { display: flex; height: 100%; transition: transform .5s ease; will-change: transform; }
.qq-hero__slide { position: relative; flex: 0 0 100%; height: 100vh; overflow: hidden; }
.qq-hero__bg { position: absolute; inset: 0; background-color: #1f1f1f; background-size: cover; background-position: 50%; transform: scale(1); transition: transform 10s linear; }
.qq-hero__slide.is-active .qq-hero__bg { transform: scale(1.3); transition-duration: 20s; }
.qq-hero__inner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 50px; text-align: center; }
.qq-hero__contents { max-width: 85%; }
.qq-hero__heading { margin-bottom: 20px; font-family: var(--qq-font-kicker); font-size: 26px; line-height: 1; color: var(--qq-beige); }
.qq-hero__title { margin: 0 0 20px; font: inherit; }
.qq-hero__logo { display: block; margin: 0 auto; width: min(706px, calc((100vw - 100px) * .51)); }
.qq-hero__arrow { position: absolute; top: 50%; z-index: 2; display: flex; width: 40px; height: 40px; padding: 0; margin-top: -20px; border: 0; background: none; color: var(--qq-beige); cursor: pointer; }
.qq-hero__arrow svg { width: 40px; height: 40px; }
.qq-hero__arrow--prev { left: 10px; }
.qq-hero__arrow--next { right: 10px; }

/* ---------- Su di noi ---------- */
.qq-about { padding: 160px 0 0; }
.qq-about__row { display: flex; align-items: center; margin-top: 20px; padding-bottom: 60px; }
.qq-about__side { width: 18%; padding: 10px; display: flex; justify-content: center; }
.qq-about__side--right { width: 17.664%; }
.qq-about__side .qq-pattern { display: block; width: 100%; height: auto; }
.qq-about__text { width: 64%; padding: 15px; font-size: 16px; color: #fff; text-align: center; }
/* nell'originale i paragrafi scorrono come un unico blocco */
.qq-about__text p { display: inline; margin: 0; }
.qq-about__text p + p::before { content: " "; }
.qq-about__tour { padding: 15px 15px 75px; }
.qq-tour { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; }
.qq-tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Galleria ---------- */
.qq-gallery__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.qq-gallery__item { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.qq-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.qq-gallery__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0); transition: background-color .8s; }
.qq-gallery__item:hover .qq-gallery__overlay, .qq-gallery__item:focus-visible .qq-gallery__overlay { background: rgba(0, 0, 0, .5); }

/* Lightbox della galleria */
.qq-lightbox { position: fixed; inset: 0; z-index: 1000002; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .87); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.qq-lightbox.is-open { opacity: 1; visibility: visible; }
.qq-lightbox__img { max-width: 90vw; max-height: 85vh; width: auto; height: auto; box-shadow: 0 0 30px rgba(0, 0, 0, .3); }
.qq-lightbox button { position: absolute; display: flex; padding: 15px; border: 0; background: none; color: rgba(238, 238, 238, .9); cursor: pointer; }
.qq-lightbox button svg { width: 25px; height: 25px; }
.qq-lightbox button:hover { color: #fff; }
.qq-lightbox__close { top: 10px; right: 10px; }
.qq-lightbox__prev { left: 10px; top: 50%; transform: translateY(-50%); }
.qq-lightbox__next { right: 10px; top: 50%; transform: translateY(-50%); }

/* ---------- Menù ---------- */
.qq-menu { padding: 150px 0; }
.qq-menu__row { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 50px; }
.qq-menu__item { width: 20%; padding: 10px; text-align: center; }
.qq-menu__icon { display: block; width: 60%; margin: 0 auto 20px; }

/* ---------- Eventi ---------- */
.qq-events-head { padding: 160px 0 0; }
.qq-events { padding: 60px 0 160px; }
.qq-timeline { position: relative; padding: 10px 10px 30px; --qq-gap: 30px; }
.qq-timeline__nav { position: absolute; top: 39px; left: -10px; right: -10px; height: 40px; pointer-events: none; }
.qq-timeline__line { position: absolute; left: 20px; right: 20px; top: 19px; height: 2px; background: var(--qq-beige); }
.qq-timeline__arrow { position: absolute; top: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--qq-beige); color: var(--qq-red); cursor: pointer; pointer-events: auto; z-index: 3; }
.qq-timeline__arrow svg { width: 11px; height: 22px; }
.qq-timeline__arrow--prev { left: 0; }
.qq-timeline__arrow--next { right: 0; }
.qq-timeline__viewport { position: relative; overflow: hidden; }
.qq-timeline__track { display: flex; gap: var(--qq-gap); transition: transform .5s ease; }
.qq-timeline__item { position: relative; flex: 0 0 calc((100% - (var(--qq-cols) - 1) * var(--qq-gap)) / var(--qq-cols)); display: flex; flex-direction: column; }
.qq-timeline__marker-wrap { position: relative; height: 69px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.qq-timeline__date { position: absolute; top: 0; left: 0; right: 0; font-size: 16px; line-height: 29px; text-align: center; color: var(--qq-beige); }
.qq-timeline__marker { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--qq-beige); color: var(--qq-red); }
.qq-timeline__marker svg { width: 14px; height: 16px; }
.qq-timeline__card { position: relative; flex: 1; margin-top: 30px; padding: 10px 0; background: var(--qq-beige); color: var(--qq-grey); font-size: 14px; text-align: center; transition: .25s linear; }
.qq-timeline__card-arrow { position: absolute; top: -12px; left: 50%; margin-left: -12px; border: 12px solid transparent; border-top: 0; border-bottom-color: var(--qq-beige); }
.qq-timeline__image img { display: block; width: 80%; margin: 0 auto; }
.qq-timeline__title { margin: 0; padding: 10px 20px; font-family: var(--qq-font-title); font-size: 21px; font-weight: 700; line-height: 1.2; color: var(--qq-red); }
.qq-timeline__link { position: absolute; inset: 0; z-index: 2; }

/* ---------- Prenotazioni ---------- */
.qq-book { padding: 150px 0; }
.qq-title--book { padding-bottom: 40px; margin-bottom: 20px; }
.qq-book .qq-center { margin-bottom: 20px; }
.qq-book__form { max-width: 960px; margin: 40px auto 0; padding: 0 10px; }

/* Form (markup generato dalla funzione di sigma): stile come l'originale */
.qq-form-wrap { color: var(--qq-red); font-size: 15px; line-height: 1.4; }
.qq-form-wrap label { color: var(--qq-red); }
.qq-form-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
.qq-form-wrap select, .qq-form-wrap textarea { width: 100%; min-height: 40px; padding: 5px 14px; font-family: var(--qq-font); font-size: 15px; font-weight: 300; color: var(--qq-red); background: transparent; border: 1px solid var(--qq-red); border-radius: 0; }
.qq-form-wrap textarea { min-height: 100px; }
.qq-form-wrap input::placeholder, .qq-form-wrap textarea::placeholder { color: var(--qq-red); opacity: .6; }
.qq-form-wrap button[type="submit"], .qq-form-wrap input[type="submit"] { display: inline-block; padding: 10px 20px 6px; font-family: var(--qq-font-nav); font-size: 16px; font-weight: 400; text-transform: uppercase; color: var(--qq-red); background: var(--qq-beige); border: 1px solid var(--qq-red); border-radius: 0; cursor: pointer; transition: all .3s; }
.qq-form-wrap button[type="submit"]:hover, .qq-form-wrap input[type="submit"]:hover { color: var(--qq-beige); background: var(--qq-red); }
.qq-form-wrap a { color: var(--qq-red); text-decoration: underline; }
/* Campi affiancati come l'originale: 25% / 50% / 100% (tablet 25% -> 50%, telefono tutti 100%), solo segnaposto visibili */
.qq-form__campi { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.qq-form__campo { width: 100%; padding: 0 5px; margin-bottom: 10px; }
.qq-form__campo--w25 { width: 25%; }
.qq-form__campo--w50 { width: 50%; }
.qq-form__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.qq-form__campo--privacy label { display: flex; align-items: center; gap: 6px; font-size: 14px; }
.qq-form__azioni { text-align: center; margin-top: 10px; }
.qq-form-wrap input::placeholder { color: #7a7a7a; opacity: .7; }
@media (max-width: 1024px) { .qq-form__campo--w25 { width: 50%; } }
@media (max-width: 767px) { .qq-form__campo--w25, .qq-form__campo--w50 { width: 100%; } }

/* ---------- Contatti ---------- */
.qq-contacts { padding: 160px 0; }
.qq-contacts__row { display: flex; }
.qq-contacts__col { width: 50%; padding: 30px; }
.qq-contacts__col .qq-title { margin-bottom: 20px; }
.qq-iconlist { margin: 0; padding: 0; list-style: none; }
.qq-iconlist li:not(:last-child) { padding-bottom: 10px; }
.qq-iconlist li:not(:first-child) { margin-top: 10px; }
.qq-iconlist a { display: flex; align-items: flex-start; font-size: 24px; line-height: 29px; color: var(--qq-beige); }
.qq-iconlist__icon { display: flex; flex: 0 0 33px; height: 29px; align-items: center; justify-content: center; padding-right: 5px; }
.qq-iconlist__icon svg { width: 22px; height: 24px; }
.qq-iconlist__text { transition: color .3s; }
.qq-social { display: flex; gap: 15px; margin-top: 20px; }
.qq-social__icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--qq-beige); border-radius: 50%; color: var(--qq-beige); transition: .3s; }
.qq-social__icon svg { width: 24px; height: 24px; }
.qq-social__icon:hover, .qq-social__icon:focus-visible { background: var(--qq-beige); color: var(--qq-red); }
.qq-hours { margin-top: 0; }
.qq-hours__row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; font-size: 19px; line-height: 29px; color: var(--qq-beige); background: var(--qq-red); }
.qq-hours__row:not(:last-child) { border-bottom: 1px solid var(--qq-beige); }
.qq-hours__time { text-align: right; }
.qq-map iframe { display: block; width: 100%; height: 300px; border: 0; filter: brightness(84%) contrast(100%) saturate(0%); }
.qq-map:hover iframe { filter: none; }

/* ---------- Riconoscimenti ---------- */
.qq-awards__row { display: flex; }
.qq-awards__side { width: 41%; }
.qq-awards__side:last-child { width: 40.638%; }
.qq-awards__center { width: 18%; padding: 10px; text-align: center; }
.qq-awards__badge { display: flex; justify-content: center; margin-bottom: 20px; }
.qq-awards__reserve, .qq-awards__quandoo { display: none; }
.qq-awards__reserve { margin: 0; font-family: var(--qq-font-title); font-size: 12px; font-weight: 700; line-height: 1; letter-spacing: .23em; text-transform: uppercase; color: var(--qq-beige); }.qq-awards__quandoo img { width: 40%; }

/* ---------- Piede ---------- */
.qq-footer { position: relative; z-index: 1; padding: 20px 0; background: var(--qq-beige); color: var(--qq-red); text-align: center; }
.qq-footer__copy { margin: 0; font-size: 14px; line-height: 29px; }
.qq-footer a { color: var(--qq-red); }
.qq-footer a:hover { text-decoration: underline; }
/* Area cliccabile alta ~33px senza cambiare l'altezza della riga (padding su elemento in linea) */
.qq-footer__copy a { padding: 9px 0; }
body:not(.home) .qq-footer { background: var(--qq-red); color: var(--qq-beige); }
body:not(.home) .qq-footer a { color: var(--qq-beige); }

/* ---------- Evento singolo e pagine ---------- */
body:not(.home) { background: var(--qq-beige); }
.qq-single__band { position: relative; z-index: 1; padding: 220px 20px 207px; background: var(--qq-red); text-align: center; }
.qq-single__title { margin: 0; font-family: var(--qq-font-nav); font-size: 36px; font-weight: 700; line-height: 1.2; letter-spacing: .23em; text-transform: uppercase; color: var(--qq-beige); }
.qq-single__body { position: relative; z-index: 2; max-width: 1140px; margin: -135px auto 0; padding: 0 0 60px; }
.qq-box { background: #fff; border: 2px solid var(--qq-red); box-shadow: 0 10px 15px rgba(0, 0, 0, .5); }
.qq-single__banner { border: 0; }
.qq-single__banner img { display: block; width: 100%; }
.qq-single__banner + .qq-single__content { margin-top: 60px; }
.qq-box--padded { padding: 60px; color: var(--qq-grey); font-size: 16px; line-height: 1.6; }
.qq-single__date { margin: 0 0 20px; font-family: var(--qq-font-kicker); font-size: 18px; letter-spacing: .23em; text-transform: uppercase; text-align: center; color: var(--qq-red); }
.qq-entry img { height: auto; }
.qq-entry h2, .qq-entry h3 { color: var(--qq-red); }
.qq-entry a { color: var(--qq-red); text-decoration: underline; }
.qq-single__form-title { margin: 40px 0 30px; font-family: var(--qq-font-nav); font-size: 36px; font-weight: 700; letter-spacing: .23em; text-transform: uppercase; text-align: center; color: var(--qq-red); }
/* ---------- Evento singolo (come il modello Elementor 5095) ---------- */
.qq-event__band { position: relative; z-index: 1; padding: 226px 20px 210px; background: var(--qq-red); text-align: center; }
.qq-event__title { margin: 0; font-family: var(--qq-font-title); font-size: 38px; font-weight: 700; line-height: 1; letter-spacing: .23em; text-transform: uppercase; color: var(--qq-beige); }
.qq-event__wrap { position: relative; z-index: 2; max-width: 1140px; margin: -140px auto 0; }
.qq-event__banner { background: #fff; border: 3px solid var(--qq-red); box-shadow: 0 10px 10px 0 rgba(0, 0, 0, .5); text-align: center; }
.qq-event__banner img { display: block; width: 100%; }
.qq-event__box { margin: 60px 0; padding: 60px; background: #fff; border: 3px solid var(--qq-red); box-shadow: 0 18px 10px 5px rgba(0, 0, 0, .5); color: var(--qq-grey); text-align: justify; }
.qq-event__wrap > .qq-event__box:first-child { margin-top: 0; }
.qq-event__date { margin: 0 0 20px; font-size: 16px; line-height: 29px; letter-spacing: .23em; text-transform: uppercase; text-align: center; color: var(--qq-red); }
/* Contenuto convertito dal builder: classi qq-ev-* */
.qq-ev > * { margin-top: 0; margin-bottom: 20px; }
.qq-ev > *:last-child { margin-bottom: 0; }
.qq-ev-title { font-family: var(--qq-font-title); font-size: 41px; font-weight: 700; line-height: 1; letter-spacing: .23em; text-transform: uppercase; color: var(--qq-red); }
.qq-ev-text { font-size: 19px; line-height: 29px; font-weight: 300; color: var(--qq-grey); }
.qq-ev-text p { margin: 10px 0; }
.qq-ev-text ul, .qq-ev-text ol { margin: 15px 0; padding: 0; list-style-position: inside; }
.qq-ev-text strong, .qq-ev-text b { font-weight: 600; }
.qq-ev-text a { color: var(--qq-red); text-decoration: underline; }
.qq-ev-text--evidenza { font-weight: 600; color: var(--qq-red); }
.qq-ev-spacer { height: 50px; }
.qq-ev-spacer--s { height: 20px; }
.qq-ev-spacer--l { height: 80px; }
.qq-ev-image { margin-left: 0; margin-right: 0; text-align: center; }
.qq-ev-image img { display: inline-block; max-width: 100%; height: auto; }
.qq-ev-divider { border: 0; border-top: 1px solid var(--qq-red); }
.qq-ev--center { text-align: center; }
.qq-ev--left { text-align: left; }
.qq-ev--right { text-align: right; }
.qq-ev--justify { text-align: justify; }
.qq-event__form-title { margin: 20px 0 20px; padding: 40px 0; text-align: center; }
.qq-event .qq-form-wrap { font-size: 19px; }
/* Campi e spunta privacy con le misure del form originale */
.qq-form-wrap input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), .qq-form-wrap select { min-height: 50px; padding: 6px 16px; font-size: 16px; }
.qq-form-wrap .qq-form__campo--privacy label { font-size: 19px; line-height: 1; align-items: flex-start; }
.qq-form-wrap .qq-form__campo--privacy input { margin-top: 3px; flex: 0 0 auto; }
body.single-qq_evento .qq-footer { padding: 20px 0; }
@media (max-width: 1024px) {
	body.single-qq_evento .qq-footer { padding: 160px 0 0; } /* come l'originale (impostazione del vecchio modello) */
}
@media (max-width: 767px) {
	.qq-ev-title { font-size: 26px; }
	.qq-event__band { padding-left: 10px; padding-right: 10px; }
	/* spaziature del form originale su telefono */
	.qq-event .qq-form__campo { margin-bottom: 28px; }
	.qq-event .qq-form__azioni { margin-top: 30px; }
}

/* Pagine legali: come l'originale, fondo scuro del tema, nessuna fascia col titolo, testo chiaro */
body.page:not(.home) { background: #0b1315; }
body.page:not(.home) .qq-footer { background: #0b1315; }
.qq-page .qq-single__band { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); }
.qq-page .qq-single__body { margin-top: 0; padding: 150px 0 80px; }
.qq-page .qq-single__content { background: none; border: 0; box-shadow: none; padding: 0; color: #e6e6e6; font-size: 14px; line-height: 1.6; }
.qq-page .qq-entry h1, .qq-page .qq-entry h2 { margin: 60px 0 20px; font-family: var(--qq-font-kicker); font-size: 30px; font-weight: 400; line-height: 1.2; letter-spacing: .15em; text-transform: uppercase; color: var(--qq-beige); }
.qq-page .qq-entry h3, .qq-page .qq-entry h4 { margin: 40px 0 15px; font-family: var(--qq-font-kicker); font-size: 22px; font-weight: 400; letter-spacing: .15em; text-transform: uppercase; color: var(--qq-beige); }
.qq-page .qq-entry a { color: var(--qq-beige); }
/* Leggibilita': titoli piccoli dell'informativa almeno 14px */
.qq-page .qq-entry h5, .qq-page .qq-entry h6 { font-size: 14px; line-height: 1.4; }
.qq-page .qq-entry details { margin: 0 0 10px; padding: 10px 15px; border: 1px solid rgba(241, 232, 213, .4); }
.qq-page .qq-entry summary { cursor: pointer; font-weight: 700; color: #fff; }
@media (max-width: 1180px) { .qq-page .qq-single__body { padding-left: 20px; padding-right: 20px; } }

/* ---------- Animazioni di entrata (come Elementor: 1,25 s; slider 2 s) ---------- */
.js .qq-anim:not(.is-in) { visibility: hidden; }
.qq-anim.is-in { animation-duration: 1.25s; animation-fill-mode: both; }
.qq-anim.is-in[data-anim-slow] { animation-duration: 2s; }
.qq-anim.is-in[data-anim="fadeIn"] { animation-name: qqFadeIn; }
.qq-anim.is-in[data-anim="fadeInUp"] { animation-name: qqFadeInUp; }
.qq-anim.is-in[data-anim="fadeInLeft"] { animation-name: qqFadeInLeft; }
.qq-anim.is-in[data-anim="fadeInRight"] { animation-name: qqFadeInRight; }
.qq-anim.is-in[data-anim="zoomIn"] { animation-name: qqZoomIn; }
@keyframes qqFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes qqFadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes qqFadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes qqFadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes qqZoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .qq-anim:not(.is-in) { visibility: visible; }
	.qq-anim.is-in { animation: none !important; }
	.qq-hero__bg, .qq-hero__track, .qq-timeline__track { transition: none !important; }
}

/* ==========================================================================
   Tablet (<= 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
	.qq-header__nav { padding: 10px 0; }
	.qq-nav__link { font-size: 14px; padding-left: 12px; padding-right: 12px; }
	.qq-about { padding-top: 150px; }
	.qq-about__row { flex-wrap: wrap; }
	.qq-about__side { display: none; }
	.qq-about__text { width: 100%; }
	.qq-menu { padding: 90px 0; }
	.qq-menu__item { width: 33%; }
	.qq-events-head { padding-top: 150px; }
	.qq-events { padding-bottom: 150px; }
	.qq-timeline { --qq-cols-max: 2; }
	.qq-timeline__item { flex-basis: calc((100% - (min(var(--qq-cols), 2) - 1) * var(--qq-gap)) / min(var(--qq-cols), 2)); }
	.qq-book { padding: 115px 0 110px; }
	.qq-contacts { padding: 90px 0 150px; }
	.qq-contacts__row { flex-wrap: wrap; }
	.qq-contacts__col { width: 100%; padding: 0 0 60px; }
	.qq-awards__side { width: 36.5%; }
	.qq-awards__side:last-child { width: 36.5%; }
	.qq-awards__center { width: 27%; }
	.qq-awards__reserve, .qq-awards__quandoo { display: block; }
	.qq-awards__quandoo { margin: 0 0 20px; }
	.qq-awards__quandoo img { width: 50%; }
	.qq-footer { padding: 10px 0; }
}

/* La galleria passa a 2 colonne sotto 1024px esclusi (come lo script della galleria originale) */
@media (max-width: 1023px) {
	.qq-gallery__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Telefono (<= 767px)
   ========================================================================== */
@media (max-width: 767px) {
	.qq-title { font-size: 26px; }
	.qq-header { flex-wrap: wrap; margin-bottom: -152px; }
	.qq-header__logo { width: 60%; }
	.qq-header__logo a { max-width: 120px; }
	.qq-header__nav { width: 40%; padding: 0; position: static; }
	.qq-header__side { width: 100%; height: 1px; }
	.qq-burger { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; margin: 0 auto; padding: 7px; border: 0; border-radius: 3px; background: rgba(0, 0, 0, .05); color: var(--qq-beige); cursor: pointer; }
	.qq-burger svg { width: 30px; height: 30px; }
	.qq-burger__close, .qq-burger[aria-expanded="true"] .qq-burger__open { display: none; }
	.qq-burger[aria-expanded="true"] .qq-burger__close { display: flex; }
	.qq-burger__open { display: flex; }
	.qq-nav { position: absolute; left: 0; right: 0; top: 87px; display: block; background: #fff; max-height: 0; overflow: hidden; transform: scaleY(0); transform-origin: top; transition: max-height .3s, transform .3s; }
	.qq-nav.is-open { max-height: 100vh; transform: scaleY(1); }
	.qq-nav li:last-child { background: none; }
	.qq-nav .qq-nav__link, .qq-nav li:last-child .qq-nav__link { padding: 10px 20px; font-size: 14px; color: #33373d; }
	.qq-nav .qq-nav__link::after { display: none; }
	.qq-nav .qq-nav__link:hover, .qq-nav .qq-nav__link.is-active { background: #3f444b; color: #fff; }
	.qq-hero__logo { width: calc((100vw - 100px) * .58); }
	.qq-about { padding: 160px 0 90px; }
	.qq-tour { aspect-ratio: 4 / 5; }
	.qq-gallery__grid { grid-template-columns: 1fr; }
	.qq-menu__item { width: 100%; }
	.qq-events-head { padding: 160px 0 90px; }
	.qq-events { padding-bottom: 160px; }
	.qq-timeline__item { flex-basis: 100%; }
	.qq-book { padding: 150px 0; }
	.qq-contacts { padding: 60px 0 160px; }
	.qq-contacts__col:last-child { padding-bottom: 60px; }
	.qq-awards__side, .qq-awards__side:last-child { width: 20%; }
	.qq-awards__center { width: 60%; }
	.qq-container { padding-left: 0; padding-right: 0; }
	.qq-single__band { padding: 170px 15px 120px; }
	.qq-single__title, .qq-single__form-title { font-size: 24px; }
	.qq-single__body { margin-top: -100px; padding: 0 15px 40px; }
	.qq-box--padded { padding: 25px; }
}
