/*
Theme Name: La Scaiola - Hello Elementor Child
Description: Migrazione del sito La Scaiola da Bridge a Hello Elementor.
Author: Andrea Capretti
Template: hello-elementor
Version: 1.2.1
Text Domain: hello-elementor-lascaiola-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/
/* Hallmark · preserved composition · P5 H4 E4 S5 R5 V4 */
html, body { overflow-x: clip; }
body { margin: 0; color: var(--scaiola-text); font-family: var(--scaiola-base); font-size: 16px; font-weight: 300; line-height: 26px; background: var(--scaiola-paper); }
::selection { background: var(--scaiola-selection); color: var(--scaiola-paper); }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, .elementor-menu-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
h1,h2,h3,h4,h5,h6 { margin: 0; color: var(--scaiola-ink); font-family: var(--scaiola-display); font-style: normal; font-weight: 600; text-transform: uppercase; }
h1 { font-size: 55px; line-height: 65px; letter-spacing: 12.1px; }
h2 { font-size: 48px; line-height: 58px; letter-spacing: 10.56px; }
h3 { font-size: 40px; line-height: 50px; letter-spacing: 8.8px; }
h4 { font-size: 24px; line-height: 34px; letter-spacing: 5.28px; }
h5 { font-size: 18px; line-height: 28px; letter-spacing: 3.96px; }
h6 { font-family: var(--scaiola-label); font-size: 13px; line-height: 23px; font-weight: 500; letter-spacing: 4.55px; }
p { margin: 0 0 0; }
p, .elementor-widget-text-editor { font-family: var(--scaiola-body); font-size: 16px; font-weight: 400; line-height: 27px; }
.elementor-widget-text-editor h1,.elementor-widget-text-editor h2,.elementor-widget-text-editor h3,.elementor-widget-text-editor h4,.elementor-widget-text-editor h5 { font-family: var(--scaiola-display); }
.elementor-widget-text-editor h6 { font-family: var(--scaiola-label); }
.elementor-widget-text-editor ul { margin: 0; padding: 0; list-style-position: inside; }
.elementor-widget-text-editor img { vertical-align: middle; }
.elementor-location-header { position: relative; z-index: 10000; width: 100%; }
.scaiola-header-desktop .elementor-container { max-width: var(--scaiola-grid); min-height: 160px; align-items: center; }
.scaiola-header-desktop .elementor-widget-wrap, .scaiola-header-mobile .elementor-widget-wrap { padding: 0 !important; align-content: center; }
.scaiola-header-desktop .elementor-widget { margin: 0; }
.scaiola-header-desktop .elementor-item { font-family: var(--scaiola-utility); font-size: 12px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; white-space: nowrap; color: var(--scaiola-paper) !important; }
.scaiola-header-desktop .elementor-nav-menu--main .elementor-item { padding: 0 27px; line-height: 160px; }
.scaiola-header-desktop .elementor-item:hover, .scaiola-header-desktop .elementor-item:focus-visible { text-decoration: underline; text-underline-offset: 10px; }
.scaiola-logo-white img,.scaiola-logo-dark img { height: 70px; width: auto; max-width: 100%; }
.scaiola-logo-dark { display: none; }
.scaiola-header-mobile { display: none; background: var(--scaiola-paper); }
.scaiola-grid { --container-max-width: var(--scaiola-grid); }
.scaiola-grid.elementor-section > .elementor-container { max-width: var(--scaiola-grid); }
.scaiola-grid.e-con { max-width: var(--scaiola-grid); margin-inline: auto; }
.elementor-location-footer .elementor-widget-text-editor { color: var(--scaiola-paper); }
#storia,#ristorante,#albergo { scroll-margin-top: 90px; }
body:not(.home) .elementor-location-header { position: relative; background: var(--scaiola-paper); }
body:not(.home) .scaiola-header-desktop .elementor-item { color: var(--scaiola-ink) !important; }
body:not(.home) .scaiola-logo-white { display: none; }
body:not(.home) .scaiola-logo-dark { display: block; }
@media (min-width: 1001px) {
 body.home .elementor-location-header { position: absolute; top: 0; left: 0; }
 body.home.scaiola-scrolled .elementor-location-header { position: fixed; background: var(--scaiola-paper); }
 body.home.scaiola-scrolled .scaiola-header-desktop .elementor-container { min-height: 80px; }
 body.home.scaiola-scrolled .scaiola-header-desktop .elementor-item { color: var(--scaiola-ink) !important; line-height: 80px; font-size: 10px; }
 body.home.scaiola-scrolled .scaiola-logo-white { display: none; }
 body.home.scaiola-scrolled .scaiola-logo-dark { display: block; }
 body.home.scaiola-scrolled .scaiola-logo-dark img { height: 55px; }
 body.admin-bar.home .elementor-location-header { top: 32px; }
}
@media (max-width: 1200px) { :root { --scaiola-grid: 950px; } }
@media (max-width: 1024px) { h1{font-size:45px;line-height:55px} h2{font-size:41px;line-height:51px} h3{font-size:38px;line-height:48px} }
@media (max-width: 1000px) {
 :root { --scaiola-grid: 768px; }
 .scaiola-header-desktop { display: none; }
 .scaiola-header-mobile { display: block; }
 .scaiola-header-mobile .elementor-container { min-height: 100px; }
 .scaiola-header-mobile .elementor-column { width: 100%; }
 .scaiola-header-mobile .elementor-widget-image img { height: 80px; width: auto; }
 .scaiola-header-mobile .elementor-widget-image { margin: 10px auto; width: 100%; }
 .scaiola-mobile-nav { position: absolute; top: 28px; left: 20px; width: calc(100% - 40px) !important; z-index: 2; }
 .scaiola-mobile-nav .elementor-menu-toggle { margin: 0 auto 0 0 !important; min-height: 44px; min-width: 44px; padding: 10px; color: var(--scaiola-ink); background: transparent; font-size: 20px; }
 .scaiola-mobile-nav .elementor-nav-menu--dropdown { background: var(--scaiola-paper); left: -20px !important; width: 100vw !important; top: 72px !important; margin-top: 0 !important; }
 .scaiola-mobile-nav .elementor-nav-menu--dropdown .elementor-item { min-height: 44px; padding: 12px 30px; color: var(--scaiola-ink); font-family: var(--scaiola-base); font-size: 14px; }
}
@media (max-width: 800px) { :root { --scaiola-grid: 600px; } }
@media (max-width: 600px) { :root { --scaiola-grid: 420px; } h1{font-size:30px;line-height:40px} h2{font-size:24px;line-height:34px} h3{font-size:22px;line-height:32px} h4{font-size:20px;line-height:30px} }
@media (max-width: 480px) { :root { --scaiola-grid: min(300px, calc(100vw - 40px)); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Correzioni di equivalenza verificate sul render della migrazione. */
.elementor .scaiola-grid.elementor-section > .elementor-container { max-width: var(--scaiola-grid) !important; width: 100%; }
.scaiola-logo-white img, .scaiola-logo-dark img { width: 100px; height: 70px; max-width: none; }
.scaiola-header-mobile .elementor-widget-image img { width: 114.2857px; height: 80px; max-width: none; }
body.home.scaiola-scrolled .scaiola-logo-dark img { width: 78.5714px; height: 55px; }

@media (max-width: 480px) { .elementor .elementor-element-ca1d066 h2 { letter-spacing: 6px; } }

/* Hero nativo Elementor: stessa immagine e contenuti, senza Slider Revolution. */
.scaiola-native-hero { isolation: isolate; }
.scaiola-native-hero .elementor-widget { flex-shrink: 0; }
.scaiola-native-hero .scaiola-hero-label { width: 100%; max-width: 1100px; }
.scaiola-native-hero .scaiola-hero-title { width: 100%; max-width: 1100px; }
.scaiola-native-hero .elementor-heading-title { margin: 0; }
.scaiola-native-hero .scaiola-hero-cta .elementor-button { width: 269px; height: 50px; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; }
.scaiola-native-hero .scaiola-hero-cta .elementor-button:hover { color: var(--scaiola-ink); background: var(--scaiola-paper); }
.scaiola-native-hero .scaiola-hero-cta .elementor-button:focus-visible { outline: 2px solid var(--scaiola-paper); outline-offset: 6px; }
@supports (height: 100svh) { .scaiola-native-hero { min-height: 100svh; } }
@media (max-width: 767px) {
 .scaiola-native-hero .scaiola-hero-title { max-width: 324px; }
 .scaiola-native-hero .scaiola-hero-label { max-width: 310px; }
 .scaiola-native-hero .scaiola-hero-cta .elementor-button { width: 229px; height: 53px; }
}
@media (max-width: 360px) {
 .elementor .scaiola-native-hero .scaiola-hero-title .elementor-heading-title { letter-spacing: 10px; }
 .elementor .scaiola-native-hero .scaiola-hero-label .elementor-heading-title { letter-spacing: 5px; }
}
