/* Edizione luoghi. La fotografia resta separata dal testo. */
@layer toni {
  html:root body[data-touring-layout] main :where(.gt-section,.gt-exp-section,.sc-editorial,.v28-article-block,.gt-guida-locale,.v64-head,.tour-section-head,.gt-ap-head,.gt-exp2-head) > p {
    max-inline-size: 68ch;
    line-height: 1.6;
    text-wrap: pretty;
  }
  html:root body[data-touring-layout] main :where(.gt-section,.gt-exp-section,.sc-editorial,.v28-article-block,.gt-guida-locale,.v64-head,.tour-section-head,.gt-ap-head,.gt-exp2-head) > :is(h2,h3) + p {margin-block-start:.65rem}
}
.ed-affinita, .ed-incontro, .ed-cultura, .ed-zone {--ed-ink:#193f36;--ed-muted:#435950;--ed-rule:#d4ddd5;--ed-font:"DM Sans",Arial,sans-serif}
html:root body nav.ed-affinita{box-sizing:border-box;display:block;width:min(1140px,calc(100% - 2*clamp(20px,4vw,48px)));margin:clamp(28px,5vw,68px) auto;padding:0;border:0;border-top:1px solid var(--ed-rule);background:transparent}
.ed-affinita-inner{display:grid;grid-template-columns:clamp(120px,18vw,220px) minmax(0,1fr);align-items:center;gap:clamp(18px,3vw,42px);padding-top:clamp(18px,3vw,30px)}
.ed-affinita figure,.ed-incontro figure,.ed-cultura,.ed-zone figure{margin:0;min-width:0}
.ed-affinita figure img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:4px}
.ed-affinita h2,.ed-incontro h2,.ed-zone h1,.ed-zone h2,.ed-zone h3 {color:var(--ed-ink);font-family:var(--ed-font);font-weight:600;letter-spacing:-.04em;text-wrap:balance}
.ed-affinita h2,.ed-incontro h2{margin:0;font-size:clamp(1.42rem,2.4vw,2.1rem);line-height:1.15}
.ed-affinita p,.ed-incontro-testo>p,.ed-zone p{color:var(--ed-muted);max-width:65ch;line-height:1.58;text-wrap:pretty;margin:.6em 0}
.ed-affinita ul,.ed-link{display:flex;flex-flow:row wrap;gap:0 1.35rem;align-items:baseline;margin:.4rem 0 0;padding:0;list-style:none}
.ed-affinita li{display:block;margin:0;padding:0}
.ed-affinita :is(li::before,a::after){content:none}
.ed-affinita li>a,.ed-link>a,.ed-zone summary,.ed-path a {display:inline-flex;align-items:center;min-height:44px;font:600 1rem/1.35 var(--ed-font);color:#205544;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.25em;background:transparent;border:0;box-shadow:none;padding:0}
.ed-incontro,.ed-zone,.ed-affinita{font-family:var(--ed-font)}
html:root body .gt-wrap .ed-incontro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.92fr);align-items:center;gap:clamp(18px,3vw,40px);margin:0;padding:0;grid-column:1/-1;background:transparent}
.ed-incontro figure img,.ed-cultura img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;border-radius:5px}
.ed-cultura{max-width:560px;margin:1.25rem 0}
.ed-affinita figcaption,.ed-incontro figcaption,.ed-cultura figcaption,.ed-zone figcaption,.ed-zone .ed-credits {display:block;margin:.5rem 0 0;padding:0;font:400 .83rem/1.4 var(--ed-font);color:#445b51;background:transparent;text-align:start}
.ed-affinita figcaption a,.ed-incontro figcaption a,.ed-cultura figcaption a,.ed-zone .ed-credits a {color:inherit;text-underline-offset:.18em}
.ed-zone-wrap{width:min(1200px,calc(100% - 2*clamp(18px,4vw,52px)));margin-inline:auto}
.ed-zone .ed-path{display:flex;align-items:center;gap:.65rem;margin:0;padding:.75rem 0 0;background:transparent}
.ed-path a{font-size:.87rem;font-weight:500;min-height:36px}
.ed-zone .ed-zhero{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);align-items:center;gap:clamp(24px,4.2vw,70px);margin:0;padding:clamp(18px,3.8vw,52px) 0}
.ed-zone .ed-label{color:#53675d;font:600 .78rem/1.45 var(--ed-font);letter-spacing:.085em;text-transform:uppercase;margin:0 0 .6rem}
.ed-zone .ed-zhero h1{font-size:clamp(2.35rem,4.5vw,4.45rem);line-height:1.025;margin:0;max-width:15ch}
.ed-zone .ed-zhero p:not(.ed-label){font-size:clamp(1.03rem,1.6vw,1.24rem);max-width:39ch;margin:1rem 0 .75rem}
.ed-zone .ed-zhero figure img{display:block;width:100%;height:auto;aspect-ratio:1.62;object-fit:cover;object-position:55% 50%;border-radius:5px}
.ed-zone .ed-zone-list,.ed-zone .ed-cartina,.ed-zone .ed-utile,.ed-zone .ed-zfaq{margin:0;padding:clamp(24px,4vw,54px) 0;border-top:1px solid var(--ed-rule);background:transparent}
.ed-zone .ed-zone-heading{margin:0 0 clamp(16px,2.4vw,30px)}
.ed-zone h2{margin:0;font-size:clamp(1.65rem,3vw,2.6rem);line-height:1.15}
.ed-zone .ed-zone-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(24px,3.6vw,48px) clamp(18px,2.6vw,32px)}
.ed-zone .ed-zone-card{display:flex;flex-direction:column;min-width:0;margin:0;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none}
.ed-card-img{display:block;padding:0;border:0;background:transparent}
.ed-card-img img{display:block;width:100%;height:auto;aspect-ratio:1.78;object-fit:cover;border-radius:4px}
.ed-card-testo{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding-top:1rem}
.ed-zone .ed-card-testo h3{margin:0;font-size:clamp(1.35rem,2.15vw,1.8rem);line-height:1.12}
.ed-zone .ed-card-testo h3 a{color:inherit;text-decoration:none}
.ed-card-testo .ed-link{margin-top:auto}
.ed-zone .ed-cartina,.ed-zone .ed-utile{display:grid;grid-template-columns:.94fr 1.06fr;gap:clamp(20px,4vw,60px);align-items:start}
.ed-zone .ed-utile .ed-link{display:grid;align-content:start;margin:0}
.ed-zone .ed-zfaq{max-width:100%}
.ed-zone .ed-zfaq details{margin:0;padding:.75rem 0;border:0;border-bottom:1px solid var(--ed-rule);background:transparent}
.ed-zone .ed-zfaq h2{margin-bottom:1rem}
.ed-zone summary{cursor:pointer;display:list-item;padding:.55rem 0;min-height:44px}
.ed-zone iframe{display:block;width:100%;height:clamp(240px,38vh,390px);border:0;margin-top:.7rem}
.ed-zone .ed-credits{padding-bottom:1rem}
.ed-zone [id]{scroll-margin-top:6rem}
.ed-zone a:focus-visible,.ed-zone summary:focus-visible,.ed-incontro a:focus-visible,.ed-affinita a:focus-visible{outline:2px solid #286353;outline-offset:3px}
@media(max-width:900px){.ed-zone .ed-zone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:750px){
.ed-zone .ed-zhero,.ed-zone .ed-cartina,.ed-zone .ed-utile{grid-template-columns:minmax(0,1fr);gap:1.15rem}
.ed-zone .ed-zhero{padding-block:1.2rem 1.6rem}
.ed-zone .ed-zhero h1{max-width:18ch}
.ed-zone .ed-zhero figure img{aspect-ratio:1.92}
html:root body .gt-wrap .ed-incontro{grid-template-columns:1fr}
.ed-affinita-inner{grid-template-columns:minmax(90px,26%) minmax(0,1fr);align-items:start;gap:14px}
.ed-affinita figure img{aspect-ratio:1;object-fit:cover}
.ed-affinita ul{display:grid;gap:0}
.ed-zone .ed-zone-grid{grid-template-columns:minmax(0,1fr);gap:1rem}
.ed-zone .ed-zone-card{display:grid;grid-template-columns:minmax(86px,26%) minmax(0,1fr);gap:clamp(12px,3.6vw,22px);align-items:start;border-top:1px solid var(--ed-rule);padding-top:1rem}
.ed-card-img img{aspect-ratio:3/4}
.ed-card-testo{padding:0}
.ed-zone .ed-card-testo .ed-label{margin-bottom:.3rem}
.ed-zone .ed-card-testo p:not(.ed-label){font-size:.98rem}
.ed-zone .ed-card-testo .ed-link{gap:0 1rem;margin-top:0}
.ed-zone .ed-credits{padding-bottom:.5rem}
}
@media(max-width:365px){.ed-zone .ed-zone-card{grid-template-columns:80px minmax(0,1fr)}}
@layer toni {
  html:root body :is(.tour-site-foot,.ed-access-foot) p.ed-recapito {
    display:block!important;width:max-content!important;max-width:none!important;margin-inline:0!important;
    white-space:nowrap!important;overflow-wrap:normal!important;word-break:normal!important;
    font-size:clamp(.79rem,2.4vw,.97rem)!important;letter-spacing:-.012em!important;line-height:1.55!important;
  }
  html:root body .ed-diritti{display:flex;flex-flow:row wrap;align-items:baseline;gap:.22rem 1rem;font:inherit;font-size:.86rem;line-height:1.5}
  html:root body .ed-diritti span{background:none!important;color:inherit}
  html:root body .ed-diritti span:last-child{white-space:nowrap}
}
.ed-access-foot{box-sizing:border-box;width:min(1140px,calc(100% - 36px));margin:1rem auto 0;padding:1.2rem 0 2rem;border-top:1px solid #d4ddd5;color:#364f45}
.ed-access-foot p{margin:0 0 .4rem}
@layer toni {
  html:root body main#contenuto.ed-zone{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
  html:root body main#contenuto.ed-zone :is(.ed-zhero,.ed-card-testo,.ed-zone-card,.ed-label),html:root body .gt-wrap article.ed-incontro,.ed-guida-grid figure.ed-guida-foto{
    background:transparent!important;box-shadow:none!important;border-radius:0!important
  }
  html:root body main#contenuto.ed-zone .ed-zhero,html:root body .gt-wrap article.ed-incontro{border:0!important}
  html:root body main#contenuto.ed-zone .ed-zhero h1{font:600 clamp(2.4rem,4.35vw,4.15rem)/1.045 var(--ed-font)!important;color:var(--ed-ink)!important;letter-spacing:-.045em!important;-webkit-text-fill-color:currentColor!important;max-width:16ch!important}
  html:root body .gt-wrap article.ed-incontro h2 {font:600 clamp(1.48rem,2.4vw,2.05rem)/1.14 var(--ed-font)!important;color:var(--ed-ink)!important;-webkit-text-fill-color:currentColor!important}
  html:root body .gt-wrap article.ed-incontro.ed-incontro-breve{display:block!important;max-width:75ch!important;margin:0!important}
  html:root body .tour-lead .ed-guida-grid{display:grid!important;grid-template-columns: minmax(0, .9fr) minmax(0, 1fr)!important;gap:clamp(20px,4vw,60px)!important;align-items:center!important}
  html:root body .tour-lead .ed-guida-grid .tour-lead-copy{width:auto!important;min-width:0!important;padding:0!important}
  html:root body .tour-lead .ed-guida-grid .ed-guida-foto{display:block!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
  html:root body .ed-guida-grid figure.ed-guida-foto img{display:block!important;position:static!important;width:100%!important;height:auto!important;aspect-ratio:1.75!important;object-fit:cover!important;filter:none!important;opacity:1!important;max-height:none!important;border-radius:5px!important}
  html:root body .ed-guida-grid figcaption{font:400 .84rem/1.45 "DM Sans",sans-serif!important;margin:.5rem 0 0!important;padding:0!important;background:transparent!important;color:#42594e!important}
  html:root body .ed-guida-grid figcaption a{color:inherit;text-underline-offset:.2em}
  @media(max-width:750px){
    html:root body .tour-lead .ed-guida-grid{grid-template-columns:minmax(0,1fr)!important;gap:1.05rem!important}
    html:root body .tour-lead:has(.ed-guida-grid){padding-block:1.3rem!important}
    html:root body .gt-wrap:has(.ed-incontro){padding-top:1.3rem!important}
    html:root body main#contenuto.ed-zone .ed-card-testo p{line-height:1.48!important}
  }
  @media(min-width:365px) and (max-width:650px){html:root body :is(.tour-site-foot,.ed-access-foot) p.ed-recapito{font-size:.875rem!important}}
}
@layer toni {
  @media(min-width:761px) and (max-width:1030px) {
    html:root body footer.tour-site-foot .gt-foot-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:1.35rem!important}
    html:root body footer.tour-site-foot .gt-foot-main>nav{min-width:0!important;width:100%!important}
  }
}
