/* GUERRINI CONTATTI — design isolato dal tema e dalla top bar */
.gwc-page-wrapper,.gwc-contact-page .gwc-page-wrapper{position:relative;display:block;width:100%;max-width:100%;min-width:0;margin:0;padding:0;clear:both;overflow:clip}
.gwc-root{--gwc-wine:#651e32;--gwc-text:#332e2b;--gwc-orange:#d83b24;--gwc-line:#d7cbc2;--gwc-paper:#f7f5f1;--gwc-font-serif:Georgia,'Times New Roman',serif;display:block;width:100%;max-width:100%;min-width:0;position:relative;left:auto;right:auto;margin:0;background:var(--gwc-paper);color:var(--gwc-text);font-family:inherit;box-sizing:border-box;overflow:clip}
.gwc-contact-page{overflow-x:clip}
.gwc-contact-page .gwc-hero,.gwc-contact-page .gwc-main{width:100%;max-width:100%;min-width:0}

.gwc-root *,.gwc-root *:before,.gwc-root *:after{box-sizing:border-box}
.gwc-root h1,.gwc-root h2,.gwc-root p,.gwc-root figure{margin:0}
.gwc-hero{position:relative;min-height:clamp(450px,49vw,660px);display:flex;align-items:flex-end;padding:165px max(32px,calc((100% - 1240px)/2)) 78px;isolation:isolate;background:#3d4e41}
.gwc-hero:before{content:"";position:absolute;inset:0;z-index:-2;background-image:var(--gwc-hero);background-position:center 48%;background-size:cover}
.gwc-hero:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(17,24,20,.62) 0%,rgba(17,24,20,.18) 80%),linear-gradient(0deg,rgba(15,19,17,.32),transparent 60%)}
.gwc-hero-inner{width:min(100%,900px)}
.gwc-kicker{font-size:11px;letter-spacing:.24em;font-weight:600;color:#f4eae0;margin-bottom:22px}
.gwc-hero h1{color:#fff!important;font-family:var(--gwc-font-serif)!important;font-weight:400!important;font-size:clamp(39px,5.4vw,76px)!important;line-height:1.09!important;letter-spacing:-.035em;text-transform:none!important;max-width:950px;margin:0!important;text-shadow:0 2px 15px rgba(0,0,0,.13)}
.gwc-hero-rule{width:65px;height:2px;background:#ece0d0;margin-top:34px}
.gwc-main{padding:clamp(55px,7vw,108px) 24px clamp(70px,8vw,120px);background:var(--gwc-paper)}
.gwc-layout{max-width:1180px;margin:0 auto;display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(48px,7vw,115px);align-items:start}
.gwc-overline{font-size:11px;letter-spacing:.22em;font-weight:700;color:var(--gwc-orange);margin:4px 0 20px!important}
.gwc-aside h2{font-family:var(--gwc-font-serif)!important;color:var(--gwc-wine)!important;font-size:clamp(38px,4.1vw,57px)!important;line-height:1.11!important;letter-spacing:-.025em;font-weight:400!important;text-transform:none!important;margin:0 0 24px!important}
.gwc-intro{max-width:410px;font-size:16px;line-height:1.85;color:#5b5652;margin-bottom:44px!important}
.gwc-contact-meta{border-top:1px solid var(--gwc-line);margin-bottom:45px}
.gwc-contact-meta>div{border-bottom:1px solid var(--gwc-line);padding:19px 0 23px}
.gwc-contact-meta span{display:block;color:var(--gwc-wine);font-size:10px;font-weight:700;letter-spacing:.18em;margin-bottom:9px}
.gwc-contact-meta a{display:inline-block;color:var(--gwc-text)!important;text-decoration:none!important;font-size:17px;overflow-wrap:anywhere}
.gwc-contact-meta a:hover{text-decoration:underline!important}
.gwc-contact-meta p{color:#5b5652;line-height:1.7;font-size:14px}
.gwc-aside-photo{overflow:hidden;aspect-ratio:1.25;background:#e4dfd5}
.gwc-aside-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 54%}
.gwc-form-panel{background:#fff;border:1px solid #e8e0d8;padding:clamp(25px,4.5vw,60px);box-shadow:0 20px 45px rgba(44,27,20,.035)}
.gwc-number{color:#a78a71;letter-spacing:.21em;font-size:10px;font-weight:700}
.gwc-panel-head h2{font-family:var(--gwc-font-serif)!important;font-size:clamp(39px,4vw,53px)!important;line-height:1.15!important;font-weight:400!important;letter-spacing:-.025em;color:var(--gwc-wine)!important;margin:17px 0 13px!important;text-transform:none!important}
.gwc-panel-head p{font-size:14px;color:#756e68;line-height:1.7;margin-bottom:32px!important}
.gwc-form{display:grid;gap:22px;margin:0!important}
.gwc-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.gwc-field{min-width:0}
.gwc-field label{display:block;font-size:12px;color:#4c4240;font-weight:600;letter-spacing:.02em;margin-bottom:8px}
.gwc-field label span,.gwc-privacy strong{color:#b62c24;font-weight:600}
.gwc-field input,.gwc-field select,.gwc-field textarea{display:block;width:100%;min-width:0;border:1px solid #ddd5cd!important;background:#fff!important;border-radius:0!important;box-shadow:none!important;outline:0;color:#342e2b!important;font-family:inherit!important;font-size:15px!important;line-height:1.45!important;margin:0!important;padding:13px 14px!important;transition:border-color .2s,box-shadow .2s;min-height:48px;appearance:none;-webkit-appearance:none}
.gwc-field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23651e32' stroke-width='1.5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 17px center!important;padding-right:40px!important;cursor:pointer}
.gwc-field textarea{resize:vertical;min-height:148px}
.gwc-field input:focus,.gwc-field select:focus,.gwc-field textarea:focus{border-color:var(--gwc-wine)!important;box-shadow:0 0 0 2px rgba(101,30,50,.08)!important}
.gwc-field input::placeholder,.gwc-field textarea::placeholder{color:#ada5a0;opacity:1}
.gwc-privacy{display:flex;align-items:start;gap:11px;color:#6b625d;font-size:12px;line-height:1.7;cursor:pointer;margin:0!important}
.gwc-privacy input{width:17px;height:17px;flex:0 0 17px;accent-color:var(--gwc-wine);margin:3px 0 0;cursor:pointer}
.gwc-privacy a{color:var(--gwc-wine)!important;text-decoration:underline;text-underline-offset:2px}
.gwc-submit{display:flex!important;align-items:center;justify-content:space-between;gap:18px;background:var(--gwc-wine)!important;color:#fff!important;border:1px solid var(--gwc-wine)!important;border-radius:0!important;width:100%;padding:17px 21px!important;margin:5px 0 0!important;font-size:13px!important;letter-spacing:.075em!important;font-weight:600!important;cursor:pointer;min-height:56px;transition:background .2s,border-color .2s}
.gwc-submit span{font-family:inherit;font-size:19px;font-weight:300;line-height:1}
.gwc-submit:hover{background:#81263f!important;border-color:#81263f!important}
.gwc-submit:focus-visible{outline:3px solid #cba988;outline-offset:3px}
.gwc-alert{padding:14px 16px;background:#fff1e7;border-left:3px solid #ae563b;color:#69301d;font-size:14px;line-height:1.5;margin-bottom:24px}
.gwc-alert-success{background:#f0f5ee;border-left-color:#4d7652;color:#28502b}
.gwc-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:900px){.gwc-layout{gap:42px;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr)}.gwc-main{padding-left:26px;padding-right:26px}.gwc-form-panel{padding:32px}.gwc-two{grid-template-columns:1fr;gap:22px}}
@media(max-width:680px){.gwc-hero{min-height:440px;padding:155px 24px 48px}.gwc-hero h1{font-size:clamp(37px,9vw,55px)!important}.gwc-kicker{font-size:10px;letter-spacing:.17em}.gwc-main{padding:56px 18px 75px}.gwc-layout{display:flex;flex-direction:column;gap:44px}.gwc-aside{width:100%}.gwc-aside h2{font-size:42px!important}.gwc-intro{margin-bottom:25px!important}.gwc-contact-meta{margin-bottom:28px}.gwc-aside-photo{aspect-ratio:1.65;max-height:240px}.gwc-form-panel{width:100%;padding:27px 23px 32px}.gwc-panel-head h2{font-size:43px!important}.gwc-two{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.gwc-root *{scroll-behavior:auto!important;transition:none!important}}

/* Isolamento da regole globali per titoli, immagini e form del tema */
.gwc-root .gwc-hero-inner,.gwc-root .gwc-layout,.gwc-root .gwc-aside,.gwc-root .gwc-form-panel{min-width:0;max-width:100%}
.gwc-root .gwc-hero h1{overflow-wrap:break-word}
@media(max-width:680px){
 .gwc-root .gwc-hero{min-height:430px;padding-left:22px;padding-right:22px}
 .gwc-root .gwc-hero h1{font-size:clamp(35px,9vw,49px)!important;line-height:1.13!important}
 .gwc-root .gwc-main{width:100%;padding-left:16px;padding-right:16px}
 .gwc-root .gwc-layout{width:100%;max-width:100%;display:flex;flex-direction:column}
 .gwc-root .gwc-aside,.gwc-root .gwc-form-panel{width:100%}
 .gwc-root .gwc-form-panel{padding:25px 20px 30px}
}

/* Il layout del tema puo' lasciare uno spazio vuoto sopra il template.
   Un piccolo script misura l'offset reale e lo compensa senza valori fissi. */
body.gwc-contact-page #gwc-contact-main{display:flow-root;min-width:0;margin-block-start:var(--gwc-contact-gap, 0px)!important;padding-block-start:0!important}
body.gwc-contact-page #gwc-contact-main > .gwc-root{margin-block-start:0!important}

/* Solo nella parte fotografica della pagina Contatti: il tema puo'
   stampare lo sfondo bianco nel suo header trasparente per la homepage. */
body.gwc-contact-page.gwc-on-hero header:not(.entry-header):not(.page-header),
body.gwc-contact-page.gwc-on-hero #masthead,
body.gwc-contact-page.gwc-on-hero .site-header,
body.gwc-contact-page.gwc-on-hero .header-wrapper,
body.gwc-contact-page.gwc-on-hero .elementor-location-header {
  background-color:transparent!important;
  box-shadow:none!important;
}
