/*
Theme Name: IAT Montesilvano Natale PHP (Bozza)
Author: FuriaGraphic
Description: Sito ufficiale IAT Montesilvano con contenuti turistici e servizi digitali integrati.
Version: 2.0.0-php
Text Domain: iat-montesilvano
*/

:root{
  --primary:#1E5A7A;
  --primary-foreground:#FAF8F5;
  --sea:#7AB0C4;
  --sand:#FAF8F5;
  --ink:#1A2236;
  --muted:#667085;
  --card:#ffffff;
  --border:rgba(30,90,122,.16);
  --soft:#eef6f8;
  --gradient-sea:linear-gradient(135deg,#1E5A7A 0%,#7AB0C4 100%);
  --shadow:0 18px 50px rgba(26,34,54,.10);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  background:var(--sand);
  line-height:1.65;
  padding-top:78px;
}
body.admin-bar .iat-header{top:32px}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.iat-skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.iat-skip:focus{z-index:99999;left:1rem;top:1rem;width:auto;height:auto;background:#fff;padding:.8rem 1rem;border-radius:999px}
.iat-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.iat-section{padding:76px 0}
.iat-section-sm{padding:48px 0}
.iat-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:9999;
  border-bottom:1px solid var(--border);
  background:rgba(250,248,245,.88);
  backdrop-filter:blur(18px);
}
.iat-header-inner{
  height:78px;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
}
.iat-brand{display:flex;align-items:center;gap:12px;min-width:max-content}
.iat-brand-mark{
  width:42px;height:42px;border-radius:999px;background:var(--primary);
  color:#fff;display:grid;place-items:center;box-shadow:0 10px 30px rgba(30,90,122,.24);
  font-size:22px;
}
.iat-brand-name{font-family:Fraunces,serif;font-size:1.15rem;color:var(--primary);display:block;line-height:1.1}
.iat-brand-tag{font-size:.67rem;text-transform:uppercase;letter-spacing:.18em;color:var(--muted);display:block;line-height:1.3;margin-top:2px}
.iat-events-seo-intro{max-width:1000px;margin:0 auto 26px;padding:0 6px;text-align:center}
.iat-events-seo-intro h2{margin:0 0 10px;font-family:Fraunces,serif;color:var(--primary);font-size:clamp(1.35rem,2.2vw,1.85rem);line-height:1.2}
.iat-events-seo-intro p{margin:0 auto;color:var(--muted);font-size:.98rem;line-height:1.65;max-width:930px}
@media(max-width:760px){.iat-events-seo-intro{margin-bottom:20px;text-align:left}.iat-events-seo-intro p{font-size:.92rem}}
.iat-nav{display:flex;align-items:center;gap:2px}
.iat-nav-item{position:relative}
.iat-nav>a,.iat-nav-item>a{
  display:inline-flex;align-items:center;gap:6px;
  padding:9px 14px;border-radius:999px;
  font-weight:600;font-size:.92rem;color:rgba(26,34,54,.76);
}
.iat-nav>a:hover,.iat-nav-item:hover>a,.iat-nav .current-menu-item>a{background:#eef6f8;color:var(--primary)}
.iat-submenu{
  position:absolute;top:calc(100% + 8px);left:0;
  min-width:235px;background:#fff;border:1px solid var(--border);
  border-radius:18px;box-shadow:var(--shadow);padding:8px;
  opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s ease;
}
.iat-nav-item:hover .iat-submenu{opacity:1;visibility:visible;transform:translateY(0)}
.iat-submenu a{display:block;padding:10px 12px;border-radius:12px;font-size:.9rem;color:rgba(26,34,54,.78)}
.iat-submenu a:hover{background:var(--soft);color:var(--primary)}
.iat-header-actions{display:flex;align-items:center;gap:8px}
.iat-lang{border:1px solid var(--border);border-radius:999px;padding:8px 10px;background:#fff;font-size:.82rem;font-weight:700;color:var(--primary)}
.iat-menu-toggle{display:none;border:0;background:transparent;font-size:30px;color:var(--primary);cursor:pointer}
.iat-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border-radius:999px;padding:12px 18px;border:1px solid transparent;
  font-weight:750;transition:.2s ease;cursor:pointer;
}
.iat-btn-primary{background:var(--primary);color:#fff;box-shadow:0 14px 32px rgba(30,90,122,.22)}
.iat-btn-primary:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(30,90,122,.28)}
.iat-btn-light{background:#fff;color:var(--primary)}
.iat-btn-outline{background:rgba(255,255,255,.10);color:#fff;border-color:rgba(255,255,255,.65)}
.iat-btn-ghost{background:#fff;color:var(--primary);border-color:var(--border)}
.iat-hero{
  position:relative;min-height:60vh;display:flex;align-items:flex-end;overflow:hidden;
  background:#0f3348;color:#fff;
}
.iat-hero.sm{min-height:42vh}
.iat-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.iat-hero:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(30,90,122,.90),rgba(30,90,122,.45) 42%,rgba(30,90,122,.12)),linear-gradient(0deg,rgba(0,0,0,.50),rgba(0,0,0,.05) 55%);
}
.iat-hero-content{position:relative;z-index:1;padding:94px 0 72px;max-width:780px}
.iat-eyebrow{
  display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:999px;
  background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);
  color:#fff;text-transform:uppercase;letter-spacing:.16em;font-size:.72rem;font-weight:800;margin-bottom:18px;
}
.iat-hero h1,.iat-title{
  font-family:Fraunces,serif;line-height:1.03;margin:0;
  font-size:clamp(2.45rem,6vw,5.6rem);letter-spacing:-.04em;
}
.iat-hero p{font-size:clamp(1rem,2vw,1.25rem);max-width:690px;color:rgba(255,255,255,.88);margin:18px 0 0}
.iat-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.iat-section-heading{text-align:center;margin:0 auto 36px;max-width:760px}
.iat-kicker{color:var(--sea);text-transform:uppercase;letter-spacing:.18em;font-weight:800;font-size:.73rem}
.iat-section-heading h2,.iat-page-title{
  font-family:Fraunces,serif;color:var(--primary);font-size:clamp(2rem,4vw,3.4rem);line-height:1.04;margin:8px 0 10px;letter-spacing:-.03em;
}
.iat-section-heading p,.iat-lead{font-size:1.06rem;color:var(--muted);max-width:850px;margin-inline:auto}
.iat-grid{display:grid;gap:24px}
.iat-grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.iat-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.iat-grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.iat-card{
  background:var(--card);border:1px solid var(--border);border-radius:var(--radius);
  box-shadow:0 1px 2px rgba(26,34,54,.04);
  overflow:hidden;transition:.25s ease;
}
.iat-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.iat-card-media{height:220px;position:relative;overflow:hidden;background:var(--soft)}
.iat-card-media img{width:100%;height:100%;object-fit:cover;transition:.4s ease}
.iat-card:hover .iat-card-media img{transform:scale(1.04)}
.iat-card-body{padding:24px}
.iat-icon{
  width:44px;height:44px;border-radius:999px;background:rgba(122,176,196,.16);color:var(--primary);
  display:grid;place-items:center;font-weight:900;margin-bottom:14px;
}
.iat-card h3{font-family:Fraunces,serif;color:var(--primary);font-size:1.5rem;line-height:1.1;margin:0 0 10px}
.iat-card p{margin:0;color:var(--muted)}
.iat-chip,.iat-badge{
  display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:7px 11px;
  background:#eef6f8;color:var(--primary);font-size:.78rem;font-weight:800;border:1px solid rgba(122,176,196,.30);
}
.iat-stats{background:#fff;border-block:1px solid var(--border)}
.iat-stat{text-align:center;padding:28px 16px}
.iat-stat strong{font-family:Fraunces,serif;color:var(--primary);font-size:2.2rem;display:block;line-height:1}
.iat-stat span{display:block;margin-top:8px;color:var(--muted);font-size:.92rem}
.iat-cta{
  position:relative;overflow:hidden;border-radius:34px;background:var(--gradient-sea);color:#fff;padding:44px;
  box-shadow:var(--shadow);
}
.iat-cta h2{font-family:Fraunces,serif;font-size:clamp(2rem,4vw,3rem);line-height:1.05;margin:0 0 12px}
.iat-cta p{color:rgba(255,255,255,.84);max-width:660px}
.iat-feature-list{display:grid;gap:16px}
.iat-row-card{display:grid;grid-template-columns:260px 1fr;gap:0;align-items:stretch}
.iat-row-card img{height:100%;min-height:250px;width:100%;object-fit:cover}
.iat-info-list{display:grid;gap:14px}
.iat-info-list li{list-style:none;background:#fff;border:1px solid var(--border);border-radius:18px;padding:16px}
.iat-timeline{position:relative;margin-top:30px}
.iat-timeline:before{content:"";position:absolute;left:17px;top:4px;bottom:4px;width:2px;background:rgba(30,90,122,.16)}
.iat-timeline-item{position:relative;padding-left:58px;margin-bottom:24px}
.iat-timeline-dot{position:absolute;left:0;top:0;width:36px;height:36px;border-radius:999px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:.75rem;font-weight:800}
.iat-food-world ul,.iat-detail-list{margin:14px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.iat-food-world li,.iat-detail-list li{padding-left:20px;position:relative;color:var(--muted)}
.iat-food-world li:before,.iat-detail-list li:before{content:"";width:7px;height:7px;background:var(--sea);border-radius:50%;position:absolute;left:0;top:.7em}
.iat-embed-shell{
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.72));
  border:1px solid var(--border);
  border-radius:30px;
  overflow:hidden;
  box-shadow:var(--shadow);
}
.iat-embed-shell iframe{
  width:100%;
  border:0;
  display:block;
  background:#fff;
}
.iat-embed-clean{
  border:0!important;
  width:100%!important;
  display:block!important;
  background:#fff!important;
}
.iat-embed-mappa{min-height:1180px}
.iat-embed-eventi{min-height:1180px}
.iat-contact-card{padding:24px}
.iat-form-note{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.iat-footer{position:relative;margin-top:90px;background:var(--primary);color:#fff;overflow:hidden}
.iat-footer:before{content:"";position:absolute;inset:auto -160px -180px auto;width:420px;height:420px;background:var(--sea);opacity:.16;border-radius:50%;filter:blur(20px)}
.iat-footer-inner{position:relative;padding:58px 0 32px;display:grid;grid-template-columns:5fr 3fr 4fr;gap:40px}
.iat-footer h3{font-size:.72rem;text-transform:uppercase;letter-spacing:.22em;color:var(--sea);margin:0 0 18px}
.iat-footer p,.iat-footer li{color:rgba(255,255,255,.78)}
.iat-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.iat-footer a:hover{color:#fff}
.iat-footer-bottom{position:relative;border-top:1px solid rgba(255,255,255,.13);padding:18px 0;color:rgba(255,255,255,.65);font-size:.88rem;text-align:center}
.iat-mobile-panel{display:none}
@media(max-width:980px){
  body{padding-top:70px}
  .iat-header-inner{height:70px}
  .iat-nav,.iat-header-actions .iat-btn{display:none}
  .iat-menu-toggle{display:block}
  .iat-mobile-panel{
    display:block;position:fixed;z-index:9998;top:70px;left:0;right:0;background:#fff;border-bottom:1px solid var(--border);
    transform:translateY(-120%);transition:.24s ease;box-shadow:var(--shadow);max-height:calc(100vh - 70px);overflow:auto;
  }
  body.admin-bar .iat-mobile-panel{top:102px}
  .iat-mobile-panel.open{transform:translateY(0)}
  .iat-mobile-panel a{display:block;padding:14px 24px;border-bottom:1px solid rgba(30,90,122,.08);font-weight:700;color:var(--primary)}
  .iat-mobile-panel .sub{padding-left:42px;color:var(--muted);font-weight:600}
  .iat-grid-4,.iat-grid-3,.iat-grid-2{grid-template-columns:1fr}
  .iat-row-card{grid-template-columns:1fr}
  .iat-footer-inner{grid-template-columns:1fr}
  .iat-hero{min-height:54vh}
}
@media(max-width:782px){
  body.admin-bar .iat-header{top:46px}
  body.admin-bar .iat-mobile-panel{top:116px}
}
@media(max-width:640px){
  .iat-container{width:min(100% - 24px,1180px)}
  .iat-section{padding:54px 0}
  .iat-hero-content{padding:72px 0 52px}
  .iat-cta{padding:30px 22px;border-radius:26px}
  .iat-card-body{padding:20px}
  .iat-embed-mappa,.iat-embed-eventi{min-height:1250px}
}


/* Itinerari embed: integrato nella pagina, senza titolo extra e senza cornice visibile */
.iat-section-embed{padding:56px 0 0;background:var(--sand)}
.iat-container-embed{max-width:980px}
.iat-itinerari-section .iat-embed-clean,
.iat-itinerari-section iframe{
  width:100%!important;
  border:0!important;
  display:block!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important;
  overflow:hidden!important;
}
.iat-itinerari-section{overflow:visible}
.iat-itinerari-section .iat-container{overflow:visible}
@media(max-width:980px){.iat-container-embed{width:min(100% - 28px,980px)}}
@media(max-width:640px){.iat-section-embed{padding-top:38px}}

/* Fix spazio bianco sotto embed itinerari */
.iat-itinerari-section{padding-bottom:0;margin-bottom:0}
.iat-itinerari-section + .iat-footer,.iat-site-main + .iat-footer{margin-top:0}
.iat-container-embed{margin-bottom:0}

/* Fix definitivo spazio iframe itinerari */
.iat-section-embed.iat-itinerari-section{padding-bottom:0!important;margin-bottom:0!important;}
.iat-itinerari-section .iat-container-embed{margin-bottom:0!important;padding-bottom:0!important;}
.iat-itinerari-section iframe{margin-bottom:0!important;}


.iat-filter-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 24px}
.iat-filter-label{font-size:14px;font-weight:700;color:rgba(26,34,54,.68);margin-right:4px}
.iat-filter-pill{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(30,90,122,.22);background:#fff;border-radius:999px;padding:8px 15px;font-size:13px;font-weight:800;color:var(--primary);box-shadow:0 8px 20px rgba(26,34,54,.04)}
.iat-filter-pill.active{background:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}
.iat-showing{margin:0 0 24px;font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:800;color:rgba(26,34,54,.55)}
.iat-event-card{display:flex;flex-direction:column;gap:18px}
.iat-event-head{display:flex;gap:18px;align-items:flex-start}
.iat-event-datebox{flex:0 0 auto;min-width:72px;border-radius:18px;background:var(--primary);color:var(--primary-foreground);padding:12px 10px;text-align:center;box-shadow:0 12px 24px rgba(30,90,122,.18)}
.iat-event-datebox span{display:block;font-family:var(--font-display);font-size:34px;line-height:.9;font-weight:700}
.iat-event-datebox small{display:block;margin-top:7px;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800}
.iat-event-card h3{margin:10px 0 6px;font-size:22px}
.iat-event-place{margin:0;color:rgba(26,34,54,.62);font-size:13px;font-weight:700}
.iat-event-full-date{margin-top:auto;font-size:13px;color:rgba(26,34,54,.58);font-weight:700}
@media (max-width:640px){.iat-event-head{gap:12px}.iat-event-datebox{min-width:62px}.iat-event-datebox span{font-size:28px}}


/* Eventi integrati nella pagina */
.iat-events-embed-section{padding-top:42px;padding-bottom:0;margin-bottom:0}
.iat-container-embed{max-width:1280px}
.iat-events-frame-wrap{
  width:100%;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 40px -10px rgba(14,165,183,.3);
  background:#fff;
}
.iat-events-frame-wrap iframe{display:block;width:100%;border:0;background:#fff;overflow:hidden}
.iat-events-embed-section + .iat-footer{margin-top:70px}
@media(max-width:980px){
  .iat-events-embed-section{padding-top:28px}
  .iat-events-frame-wrap{border-radius:20px}
  .iat-events-frame-wrap iframe{min-height:1300px}
}


/* Contact page refinement */
.iat-contact-section{padding-top:70px}
.iat-contact-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:28px;align-items:stretch}
.iat-contact-left{display:grid;gap:22px}
.iat-contact-info-grid{gap:20px}
.iat-contact-card{padding:24px;min-height:154px}
.iat-contact-card p{margin:10px 0 0;color:var(--muted);line-height:1.55}
.iat-google-map-shell{border-radius:28px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);background:#fff;min-height:360px}
.iat-google-map-shell iframe{display:block;width:100%;height:380px;border:0;filter:saturate(.95) contrast(.98)}
.iat-contact-panel{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:34px;box-shadow:var(--shadow);display:flex;flex-direction:column;justify-content:center;min-height:100%}
.iat-contact-panel .iat-page-title{font-size:clamp(2.1rem,3.2vw,3rem);margin:8px 0 12px}
.iat-lead-mini{margin:0;color:var(--muted);font-size:1.03rem;line-height:1.7}
.iat-contact-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.iat-contact-actions .iat-btn{padding:12px 16px}
.iat-contact-note{margin-top:26px;border-radius:22px;background:var(--soft);border:1px solid rgba(122,176,196,.26);padding:18px 20px;color:var(--primary);display:grid;gap:4px}
.iat-contact-note strong{font-family:Fraunces,serif;font-size:1.25rem;line-height:1.1}
.iat-contact-note span{color:var(--muted)}
.iat-contact-form-embed{margin-top:24px}
@media(max-width:980px){
  .iat-contact-layout{grid-template-columns:1fr}
  .iat-contact-panel{min-height:auto}
}
@media(max-width:640px){
  .iat-contact-section{padding-top:48px}
  .iat-contact-card{min-height:auto}
  .iat-google-map-shell iframe{height:340px}
  .iat-contact-panel{padding:26px}
  .iat-contact-actions{flex-direction:column;align-items:stretch}
  .iat-contact-actions .iat-btn{width:100%}
}

/* Contact page: opening hours — clean, aligned with the other contact cards */
.iat-hours-card{display:flex;flex-direction:column;gap:10px}
.iat-hours-list{display:grid;gap:0;margin-top:12px;border-top:1px solid rgba(30,90,122,.10)}
.iat-hours-row{display:grid;grid-template-columns:76px 1fr;gap:14px;align-items:start;padding:10px 0;border-bottom:1px solid rgba(30,90,122,.10)}
.iat-hours-day{font-weight:800;color:var(--primary);font-size:.92rem;letter-spacing:.01em;line-height:1.35}
.iat-hours-time{color:var(--muted);font-weight:600;font-size:.95rem;line-height:1.45}
.iat-hours-time em{font-style:normal;color:var(--sea);font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin-left:6px}
@media(max-width:520px){
  .iat-hours-row{grid-template-columns:1fr;gap:4px;padding:11px 0}
}


/* Fix pagina Storia e cultura: evita che il blocco "Racconto storico" si allunghi quanto la colonna delle card */
.iat-history-layout{align-items:flex-start}
.iat-history-layout > *{min-width:0}
.iat-history-timeline-card{
  align-self:flex-start;
  height:auto;
  min-height:0;
}
@media(min-width:981px){
  .iat-history-timeline-card{
    position:sticky;
    top:112px;
  }
  body.admin-bar .iat-history-timeline-card{top:144px}
}
@media(max-width:980px){
  .iat-history-timeline-card{position:static}
}

/* Contenuti recuperati dal vecchio sito IAT */
.iat-legacy-visit-section{background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(238,246,248,.52))}
.iat-visit-card h3,.iat-nature-card h3,.iat-street-card h3{margin-top:14px}
.iat-visit-card{position:relative;overflow:hidden}
.iat-visit-card:after{content:"";position:absolute;right:-40px;bottom:-40px;width:130px;height:130px;border-radius:50%;background:rgba(122,176,196,.12)}
.iat-chip-list{display:flex;flex-wrap:wrap;gap:8px}
.iat-wide-note{display:flex;flex-direction:column;align-items:flex-start;gap:12px;background:linear-gradient(135deg,#fff,rgba(238,246,248,.92))}
.iat-street-map iframe{width:100%;height:520px;border:0;display:block;background:#fff}
.iat-street-card{min-height:250px;position:relative}
.iat-street-card:before{content:"";display:block;width:46px;height:4px;border-radius:999px;background:var(--sea);margin-bottom:18px}
.iat-useful-list{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:12px}
.iat-useful-list li{display:grid;gap:2px;padding:12px 0;border-top:1px solid rgba(30,90,122,.12)}
.iat-useful-list strong{font-size:.88rem;color:var(--primary)}
.iat-useful-list span{color:var(--ink);font-weight:650}
.iat-useful-card{overflow:visible}
@media(max-width:640px){.iat-street-map iframe{height:430px}}

/* Pagina Storia e cultura — redesign card responsive, senza colonne sticky o layout stirati */
.iat-history-redesign{background:linear-gradient(180deg,var(--sand) 0%,#fff 52%,rgba(238,246,248,.55) 100%)}
.iat-history-main-heading{max-width:880px;margin-inline:auto}
.iat-history-story-panel{
  display:grid;
  grid-template-columns:minmax(320px,.84fr) minmax(0,1.36fr);
  gap:24px;
  align-items:stretch;
  margin-top:36px;
}
.iat-history-story-copy{
  position:relative;
  overflow:hidden;
  border-radius:32px;
  padding:42px 38px 44px;
  background:linear-gradient(135deg,var(--primary),#0f425c);
  color:#fff;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px;
}
.iat-history-story-copy:before{
  content:"";
  position:relative;
  width:58px;
  height:4px;
  border-radius:999px;
  background:rgba(255,255,255,.55);
  z-index:1;
  margin-bottom:4px;
}
.iat-history-story-copy:after{
  content:"";
  position:absolute;
  right:-72px;
  bottom:-86px;
  width:220px;
  height:220px;
  border-radius:999px;
  background:rgba(122,176,196,.26);
  filter:blur(2px);
}
.iat-history-story-copy .iat-kicker{color:#bfe2ec}
.iat-history-story-copy h3{position:relative;font-family:Fraunces,serif;font-size:clamp(2.05rem,2.45vw,2.85rem);line-height:1.12;letter-spacing:-.035em;margin:2px 0 4px;color:#fff;max-width:11ch}
.iat-history-story-title span{display:block}
.iat-history-story-title span + span{margin-top:.03em}
.iat-history-story-copy p{position:relative;margin:0;color:rgba(255,255,255,.86);font-weight:520;line-height:1.75;max-width:34ch}
.iat-history-story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.iat-history-step-card{
  position:relative;
  min-height:190px;
  border:1px solid rgba(30,90,122,.12);
  border-radius:26px;
  background:#fff;
  padding:26px;
  box-shadow:0 18px 45px rgba(26,34,54,.07);
  overflow:hidden;
}
.iat-history-step-card:before{
  content:"";
  position:absolute;
  inset:0 auto auto 0;
  width:100%;
  height:5px;
  background:linear-gradient(90deg,var(--primary),var(--sea));
}
.iat-history-step-number{
  display:inline-grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:16px;
  background:rgba(122,176,196,.16);
  color:var(--primary);
  font-weight:900;
  margin-bottom:18px;
}
.iat-history-step-card h3{font-family:Fraunces,serif;color:var(--primary);font-size:1.55rem;line-height:1.05;margin:0 0 10px}
.iat-history-step-card p{margin:0;color:var(--muted);line-height:1.7}
.iat-history-places-heading{margin-top:64px;max-width:840px;margin-inline:auto}
.iat-history-spot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:34px}
.iat-history-spot-card{
  position:relative;
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height:285px;
  border:1px solid rgba(30,90,122,.12);
  border-radius:30px;
  background:linear-gradient(180deg,#fff 0%,rgba(250,248,245,.88) 100%);
  padding:24px;
  box-shadow:0 16px 38px rgba(26,34,54,.06);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.iat-history-spot-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(122,176,196,.35)}
.iat-history-spot-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}
.iat-history-spot-index{font-size:.78rem;font-weight:900;color:var(--sea);letter-spacing:.12em}
.iat-history-spot-icon{width:46px;height:46px;border-radius:18px;background:#eef6f8;color:var(--primary);display:grid;place-items:center;font-weight:900}
.iat-history-spot-kicker{width:max-content;max-width:100%;display:inline-flex;align-items:center;border-radius:999px;padding:7px 11px;background:rgba(122,176,196,.13);border:1px solid rgba(122,176,196,.25);color:var(--primary);font-size:.74rem;font-weight:850}
.iat-history-spot-card h3{font-family:Fraunces,serif;color:var(--primary);font-size:1.55rem;line-height:1.04;margin:0}
.iat-history-spot-card p{margin:0;color:var(--muted);line-height:1.66}
.iat-history-traditions-section{background:#fff}
.iat-history-traditions-panel{
  display:grid;
  grid-template-columns:minmax(260px,.55fr) minmax(0,1.45fr);
  gap:26px;
  align-items:start;
  border:1px solid rgba(30,90,122,.12);
  border-radius:34px;
  background:linear-gradient(135deg,rgba(238,246,248,.82),#fff);
  padding:30px;
  box-shadow:0 20px 55px rgba(26,34,54,.07);
}
.iat-history-traditions-copy h2{font-family:Fraunces,serif;color:var(--primary);font-size:clamp(2rem,3vw,3rem);line-height:1.05;margin:10px 0 12px}
.iat-history-traditions-copy p{margin:0;color:var(--muted);line-height:1.75}
.iat-history-traditions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.iat-history-tradition-card{
  display:grid;
  grid-template-columns:48px 1fr;
  gap:14px;
  align-items:start;
  background:#fff;
  border:1px solid rgba(30,90,122,.12);
  border-radius:24px;
  padding:18px;
}
.iat-history-tradition-card > span{width:48px;height:48px;border-radius:18px;background:var(--primary);color:#fff;display:grid;place-items:center;font-weight:900}
.iat-history-tradition-card h3{font-family:Fraunces,serif;color:var(--primary);font-size:1.3rem;line-height:1.1;margin:0 0 6px}
.iat-history-tradition-card p{margin:0;color:var(--muted);line-height:1.58}
@media(max-width:1180px){
  .iat-history-spot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:980px){
  .iat-history-story-panel,.iat-history-traditions-panel{grid-template-columns:1fr}
  .iat-history-story-copy{padding:34px;min-height:0}
  .iat-history-story-copy h3{max-width:100%;font-size:clamp(2.15rem,5vw,3rem)}
  .iat-history-traditions-grid{grid-template-columns:1fr}
}
@media(max-width:640px){
  .iat-history-story-grid,.iat-history-spot-grid{grid-template-columns:1fr}
  .iat-history-story-copy,.iat-history-step-card,.iat-history-spot-card,.iat-history-traditions-panel{border-radius:24px}
  .iat-history-story-copy,.iat-history-step-card,.iat-history-spot-card{padding:22px}
  .iat-history-story-copy h3{font-size:2rem;line-height:1.14}
  .iat-history-spot-card{min-height:0}
  .iat-history-traditions-panel{padding:20px}
  .iat-history-tradition-card{grid-template-columns:42px 1fr;padding:16px}
  .iat-history-tradition-card > span{width:42px;height:42px;border-radius:15px}
}

/* Pagina Street Art — layout mappa e percorso diffuso responsive */
.iat-street-landing{background:linear-gradient(180deg,var(--sand) 0%,#fff 62%,rgba(238,246,248,.58) 100%)}
.iat-street-intro{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);
  gap:26px;
  align-items:stretch;
  margin-bottom:34px;
}
.iat-street-copy,
.iat-street-guide-card{
  border:1px solid rgba(30,90,122,.12);
  border-radius:34px;
  background:#fff;
  box-shadow:0 18px 48px rgba(26,34,54,.07);
}
.iat-street-copy{padding:38px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.iat-street-copy .iat-page-title{margin-bottom:14px;max-width:760px}
.iat-street-copy p{margin:0;color:var(--muted);font-size:1.08rem;line-height:1.78;max-width:820px}
.iat-street-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.iat-street-guide-card{
  padding:30px;
  background:linear-gradient(135deg,var(--primary),#0f425c);
  color:#fff;
  overflow:hidden;
  position:relative;
}
.iat-street-guide-card:after{content:"";position:absolute;right:-72px;bottom:-84px;width:220px;height:220px;border-radius:999px;background:rgba(122,176,196,.22)}
.iat-street-guide-card .iat-kicker{color:#bfe2ec}
.iat-street-guide-card p{position:relative;margin:22px 0 0;color:rgba(255,255,255,.84);line-height:1.72}
.iat-street-stat-grid{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.iat-street-stat-grid div{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.10);border-radius:22px;padding:16px 14px;min-height:104px}
.iat-street-stat-grid strong{font-family:Fraunces,serif;font-size:2.15rem;line-height:1;display:block;color:#fff}
.iat-street-stat-grid span{display:block;margin-top:8px;color:rgba(255,255,255,.80);font-size:.88rem;font-weight:700;line-height:1.35}
.iat-street-map-panel{
  border:1px solid rgba(30,90,122,.13);
  border-radius:34px;
  background:linear-gradient(180deg,#fff,rgba(255,255,255,.86));
  padding:24px;
  box-shadow:var(--shadow);
  scroll-margin-top:110px;
}
.iat-street-map-head{display:flex;justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:18px}
.iat-street-map-head h2{font-family:Fraunces,serif;color:var(--primary);font-size:clamp(2rem,3vw,3rem);line-height:1.04;margin:8px 0 8px;letter-spacing:-.03em}
.iat-street-map-head p{margin:0;color:var(--muted);max-width:680px}
.iat-street-map-frame{position:relative;border-radius:26px;overflow:hidden;background:#eef6f8;border:1px solid rgba(30,90,122,.14);box-shadow:0 18px 50px rgba(26,34,54,.08)}
.iat-street-map-frame:before{content:"";display:block;padding-top:56%}
.iat-street-map-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block;background:#fff}
.iat-street-works-section{background:#fff}
.iat-street-works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;scroll-margin-top:110px}
.iat-street-work-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:275px;
  border:1px solid rgba(30,90,122,.12);
  border-radius:30px;
  background:linear-gradient(180deg,#fff 0%,rgba(250,248,245,.94) 100%);
  padding:24px;
  box-shadow:0 16px 38px rgba(26,34,54,.06);
  overflow:hidden;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.iat-street-work-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:rgba(122,176,196,.34)}
.iat-street-work-card:before{content:"";position:absolute;inset:0 auto auto 0;width:100%;height:5px;background:linear-gradient(90deg,var(--primary),var(--sea))}
.iat-street-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}
.iat-street-number{display:grid;place-items:center;width:42px;height:42px;border-radius:16px;background:rgba(122,176,196,.16);color:var(--primary);font-weight:900}
.iat-street-work-card h3{font-family:Fraunces,serif;color:var(--primary);font-size:1.55rem;line-height:1.06;margin:0 0 10px}
.iat-street-work-card p{margin:0;color:var(--muted);line-height:1.67}
.iat-street-card-link{margin-top:auto;padding-top:20px;color:var(--primary);font-weight:850;font-size:.92rem;display:inline-flex;align-items:center;gap:8px}
.iat-street-card-link:after{content:"→";transition:transform .18s ease}
.iat-street-card-link:hover:after{transform:translateX(4px)}
.iat-street-more-section{background:linear-gradient(180deg,#fff,var(--sand))}
.iat-street-more-panel{
  display:grid;
  grid-template-columns:minmax(260px,.52fr) minmax(0,1.48fr);
  gap:28px;
  align-items:start;
  border:1px solid rgba(30,90,122,.12);
  border-radius:34px;
  background:#fff;
  padding:32px;
  box-shadow:0 20px 55px rgba(26,34,54,.07);
}
.iat-street-more-copy h2{font-family:Fraunces,serif;color:var(--primary);font-size:clamp(2rem,3vw,3rem);line-height:1.04;margin:10px 0 12px}
.iat-street-more-copy p{margin:0;color:var(--muted);line-height:1.75}
.iat-street-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.iat-street-route-chip{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  min-height:48px;
  border:1px solid rgba(122,176,196,.28);
  border-radius:16px;
  background:#eef6f8;
  color:var(--primary);
  padding:10px 12px 10px 14px;
  font-size:.88rem;
  font-weight:800;
  line-height:1.25;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.iat-street-route-chip strong{display:grid;place-items:center;flex:0 0 auto;width:28px;height:28px;border-radius:999px;background:#fff;color:var(--primary)}
.iat-street-route-chip:hover{transform:translateY(-2px);background:#fff;border-color:rgba(30,90,122,.24);box-shadow:0 12px 30px rgba(26,34,54,.06)}
@media(max-width:1100px){
  .iat-street-intro,.iat-street-more-panel{grid-template-columns:1fr}
  .iat-street-works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .iat-street-copy,.iat-street-guide-card,.iat-street-map-panel,.iat-street-more-panel{border-radius:26px;padding:22px}
  .iat-street-stat-grid{grid-template-columns:1fr}
  .iat-street-stat-grid div{min-height:auto}
  .iat-street-map-head{display:grid;gap:16px;align-items:start}
  .iat-street-map-frame:before{padding-top:82%}
  .iat-street-works-grid,.iat-street-more-grid{grid-template-columns:1fr}
  .iat-street-work-card{min-height:0;border-radius:24px;padding:22px}
  .iat-street-actions .iat-btn,.iat-street-map-head .iat-btn{width:100%}
}

/* Language switcher — attivo su tutto il sito normale */
.iat-lang-switcher{
  display:inline-flex;
  align-items:center;
  gap:4px;
  border:1px solid var(--border);
  border-radius:999px;
  background:#fff;
  padding:4px;
  box-shadow:0 10px 24px rgba(26,34,54,.06);
}
.iat-lang-option{
  width:34px;
  height:32px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  font-size:.76rem;
  font-weight:900;
  color:var(--primary);
  letter-spacing:.04em;
  text-decoration:none;
}
.iat-lang-option:hover,
.iat-lang-option.active{background:var(--primary);color:#fff}
.iat-mobile-lang-wrap{display:none}

/* Separazione Totem/Sito: il totem appare SOLO negli URL /totem/ */
body:not(.iat-totem-mode) .totem-app,
body:not(.iat-totem-mode) .totem-topbar,
body:not(.iat-totem-mode) .totem-bottom-nav{display:none!important}

/* Desktop/tablet grande: menu normale invariato */
@media(min-width:981px){
  body:not(.iat-totem-mode) .iat-nav{display:flex!important}
  body:not(.iat-totem-mode) .iat-header-actions .iat-btn{display:inline-flex!important}
  body:not(.iat-totem-mode) .iat-lang-switcher-desktop{display:inline-flex!important}
  body:not(.iat-totem-mode) .iat-menu-toggle{display:none!important}
  body:not(.iat-totem-mode) .iat-mobile-panel{display:none!important}
}

/* Mobile: SOLO qui il menu diventa a tendina/hamburger */
@media(max-width:980px){
  body:not(.iat-totem-mode) .iat-nav,
  body:not(.iat-totem-mode) .iat-header-actions .iat-btn,
  body:not(.iat-totem-mode) .iat-lang-switcher-desktop{display:none!important}

  body:not(.iat-totem-mode) .iat-header-actions{
    margin-left:auto;
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:8px;
  }

  body:not(.iat-totem-mode) .iat-menu-toggle{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:46px;
    height:46px;
    border-radius:16px;
    border:1px solid var(--border);
    background:#fff;
    color:var(--primary);
    font-size:28px;
    line-height:1;
    cursor:pointer;
    box-shadow:0 12px 26px rgba(26,34,54,.10);
  }

  body:not(.iat-totem-mode) .iat-mobile-panel{
    display:block!important;
    position:fixed;
    z-index:9998;
    top:70px;
    left:12px;
    right:12px;
    background:#fff;
    border:1px solid rgba(30,90,122,.12);
    box-shadow:0 22px 60px rgba(16,32,51,.18);
    border-radius:0 0 26px 26px;
    transform:translateY(-125%);
    opacity:0;
    visibility:hidden;
    transition:transform .24s ease,opacity .24s ease,visibility .24s ease;
    max-height:calc(100vh - 86px);
    overflow:auto;
    padding:14px;
  }

  body.admin-bar:not(.iat-totem-mode) .iat-mobile-panel{top:102px;max-height:calc(100vh - 118px)}

  body:not(.iat-totem-mode) .iat-mobile-panel.open{
    transform:translateY(0);
    opacity:1;
    visibility:visible;
  }

  body:not(.iat-totem-mode) .iat-mobile-lang-wrap{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:4px 0 14px;
    margin-bottom:8px;
    border-bottom:1px solid rgba(30,90,122,.08);
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile{display:inline-flex}
  body:not(.iat-totem-mode) .iat-mobile-panel .iat-lang-option{
    width:34px;
    height:32px;
    display:inline-grid;
    place-items:center;
    padding:0;
    margin:0;
    border:0;
    border-radius:999px;
    font-size:.76rem;
    font-weight:900;
    color:var(--primary);
    background:transparent;
    line-height:1;
  }
  body:not(.iat-totem-mode) .iat-mobile-panel .iat-lang-option.active,
  body:not(.iat-totem-mode) .iat-mobile-panel .iat-lang-option:hover{background:var(--primary);color:#fff}

  body:not(.iat-totem-mode) .iat-mobile-link,
  body:not(.iat-totem-mode) .iat-mobile-group-toggle{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 18px;
    margin:0 0 8px;
    border:1px solid rgba(30,90,122,.10);
    border-radius:18px;
    background:rgba(250,248,245,.82);
    font-weight:900;
    color:var(--primary);
    font-size:1.02rem;
    text-align:left;
    text-decoration:none;
    font-family:inherit;
  }

  body:not(.iat-totem-mode) .iat-mobile-group-toggle span{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:30px;
    height:30px;
    border-radius:999px;
    background:#fff;
    transition:transform .2s ease;
    color:var(--primary);
  }
  body:not(.iat-totem-mode) .iat-mobile-group-toggle[aria-expanded="true"] span{transform:rotate(180deg)}

  body:not(.iat-totem-mode) .iat-mobile-submenu{
    max-height:0;
    overflow:hidden;
    opacity:0;
    transition:max-height .24s ease,opacity .18s ease;
    margin:-2px 0 0;
  }
  body:not(.iat-totem-mode) .iat-mobile-submenu.open{
    max-height:760px;
    opacity:1;
    margin:-2px 0 10px;
  }

  body:not(.iat-totem-mode) .iat-mobile-submenu a{
    display:block;
    padding:12px 18px 12px 28px;
    margin:0 0 6px;
    border:0;
    border-radius:16px;
    color:var(--muted);
    font-weight:800;
    font-size:.96rem;
    background:rgba(122,176,196,.08);
    text-decoration:none;
  }
  body:not(.iat-totem-mode) .iat-mobile-submenu a:hover{background:rgba(122,176,196,.16);color:var(--primary)}
}

@media(max-width:782px){
  body.admin-bar:not(.iat-totem-mode) .iat-mobile-panel{top:116px;max-height:calc(100vh - 132px)}
}


/* === Fix header desktop Aruba + multilingua/mobile separation === */
.iat-header .iat-container{
  width:min(1480px,calc(100% - 44px));
}
.iat-header-inner{
  gap:14px;
}
.iat-brand{
  flex:0 0 auto;
  max-width:360px;
}
.iat-nav{
  flex:1 1 auto;
  min-width:0;
  justify-content:center;
  gap:0;
}
.iat-nav>a,
.iat-nav-item>a,
.iat-header-actions .iat-btn,
.iat-lang-option{
  white-space:nowrap;
}
.iat-header-actions{
  flex:0 0 auto;
  min-width:max-content;
}
.iat-header-actions .iat-btn{
  min-width:154px;
  line-height:1.08;
  padding-inline:17px;
}
.iat-submenu{z-index:10020}
@media(min-width:981px) and (max-width:1260px){
  .iat-header .iat-container{width:min(100% - 28px,1480px)}
  .iat-brand{max-width:300px}
  .iat-brand-name{font-size:1.04rem}
  .iat-brand-tag{font-size:.58rem;letter-spacing:.14em}
  .iat-brand-mark{width:38px;height:38px;font-size:20px}
  .iat-nav>a,.iat-nav-item>a{padding:8px 9px;font-size:.84rem}
  .iat-header-actions{gap:6px}
  .iat-header-actions .iat-btn{padding:10px 13px;min-width:142px;font-size:.86rem}
  .iat-lang-option{width:30px;height:30px;font-size:.7rem}
}
@media(min-width:981px) and (max-width:1120px){
  .iat-header-actions .iat-btn{display:none!important}
  .iat-nav>a,.iat-nav-item>a{padding-inline:8px}
}
@media(max-width:980px){
  .iat-header .iat-container{width:min(100% - 24px,1180px)}
  .iat-header-actions{min-width:0}
}

/* Official POI cards — rebuilt from Comune/IAT texts */
.iat-official-section .iat-section-heading{max-width:880px;margin-left:auto;margin-right:auto;text-align:center}
.iat-official-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:38px;align-items:start}
.iat-official-grid-featured{grid-template-columns:repeat(3,minmax(0,1fr))}
.iat-official-card{position:relative;overflow:hidden;border:1px solid rgba(30,90,122,.14);border-radius:28px;background:linear-gradient(180deg,#fff,rgba(250,248,245,.96));box-shadow:0 18px 45px rgba(30,42,58,.08);padding:28px;min-height:100%;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.iat-official-card:before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:linear-gradient(90deg,var(--accent),var(--primary));opacity:.85}
.iat-official-card:hover{transform:translateY(-3px);box-shadow:0 26px 58px rgba(30,42,58,.12);border-color:rgba(30,90,122,.24)}
.iat-official-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}
.iat-official-icon,.iat-official-number{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:16px;background:rgba(122,176,196,.18);color:var(--primary);font-weight:800;font-size:20px;line-height:1}
.iat-official-number{font-size:15px;letter-spacing:.08em}
.iat-official-card h3{font-family:var(--font-serif);font-size:clamp(27px,2.4vw,40px);line-height:1.04;margin:0 0 18px;color:var(--foreground)}
.iat-official-text{display:grid;gap:13px;color:rgba(26,34,54,.78);font-size:16.5px;line-height:1.72}
.iat-official-text p{margin:0}
.iat-official-card-single{margin-top:24px}
.iat-official-card-street{background:linear-gradient(135deg,#fff 0%,#f7fbfc 100%)}
.iat-official-card-sport .iat-official-icon{background:rgba(30,90,122,.1)}
.iat-history-official-section .iat-official-grid,.iat-sport-official-section .iat-official-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.iat-history-official-section .iat-official-card h3{font-size:clamp(26px,2.1vw,36px)}
@media (max-width:980px){.iat-official-grid,.iat-official-grid-featured,.iat-history-official-section .iat-official-grid,.iat-sport-official-section .iat-official-grid{grid-template-columns:1fr}.iat-official-card{padding:24px;border-radius:24px}.iat-official-text{font-size:16px;line-height:1.66}}
@media (max-width:560px){.iat-official-card{padding:21px}.iat-official-card-top{align-items:flex-start}.iat-official-card h3{font-size:28px}.iat-official-icon,.iat-official-number{width:42px;height:42px;border-radius:14px}.iat-official-text{font-size:15.5px}}


/* Official POI image cards */
.iat-official-image{margin:-28px -28px 24px;aspect-ratio:16/10;overflow:hidden;border-radius:28px 28px 18px 18px;background:rgba(122,176,196,.12);box-shadow:0 16px 34px rgba(30,42,58,.09)}
.iat-official-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .38s ease}
.iat-official-card:hover .iat-official-image img{transform:scale(1.035)}
.iat-official-card .iat-official-image + .iat-official-card-top{margin-top:0}
@media (max-width:980px){.iat-official-image{margin:-24px -24px 22px;border-radius:24px 24px 18px 18px;aspect-ratio:16/9}}
@media (max-width:560px){.iat-official-image{margin:-21px -21px 20px;border-radius:22px 22px 16px 16px;aspect-ratio:4/3}.iat-official-grid{gap:20px}}

/* 20260617-2015 — Card POI compatte con foto ufficiali ottimizzate */
.iat-official-grid{align-items:start}
.iat-official-card{
  padding:0;
  min-height:auto;
  display:flex;
  flex-direction:column;
}
.iat-official-image{
  margin:0;
  aspect-ratio:16/9;
  border-radius:28px 28px 0 0;
  box-shadow:none;
}
.iat-official-card-body{
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
  padding:24px 26px 26px;
}
.iat-official-card .iat-official-image + .iat-official-card-top{margin-top:0}
.iat-official-card-top{margin:0}
.iat-official-card h3{
  margin:0;
  font-size:clamp(25px,2vw,34px);
}
.iat-official-details{margin-top:2px}
.iat-official-details summary{
  display:block;
  list-style:none;
  cursor:pointer;
  outline:none;
}
.iat-official-details summary::-webkit-details-marker{display:none}
.iat-official-details summary:focus-visible .iat-details-toggle{
  outline:3px solid rgba(30,90,122,.25);
  outline-offset:3px;
}
.iat-official-lead{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
  margin:0;
  color:rgba(26,34,54,.78);
  font-size:16px;
  line-height:1.68;
}
.iat-official-details[open] .iat-official-lead{
  display:block;
  overflow:visible;
}
.iat-official-text{
  display:grid;
  gap:12px;
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(30,90,122,.12);
  font-size:16px;
  line-height:1.68;
}
.iat-official-text-short{
  margin-top:0;
  padding-top:0;
  border-top:0;
}
.iat-details-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:max-content;
  margin-top:16px;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(122,176,196,.15);
  color:var(--primary);
  font-weight:850;
  font-size:.9rem;
  line-height:1;
  transition:background .18s ease, transform .18s ease;
}
.iat-details-toggle:after{
  content:"+";
  display:inline-grid;
  place-items:center;
  width:18px;
  height:18px;
  border-radius:50%;
  background:rgba(30,90,122,.12);
}
.iat-official-details summary:hover .iat-details-toggle{
  background:rgba(122,176,196,.22);
  transform:translateY(-1px);
}
.iat-official-details[open] .iat-details-toggle:after{content:"−"}
.iat-official-details .iat-less-label{display:none}
.iat-official-details[open] .iat-more-label{display:none}
.iat-official-details[open] .iat-less-label{display:inline}

@media (max-width:980px){
  .iat-official-card{padding:0;border-radius:24px}
  .iat-official-image{
    margin:0;
    border-radius:24px 24px 0 0;
    aspect-ratio:16/9;
  }
  .iat-official-card-body{padding:22px}
  .iat-official-card h3{font-size:clamp(26px,7vw,32px)}
  .iat-official-lead,.iat-official-text{font-size:15.8px;line-height:1.65}
}
@media (max-width:560px){
  .iat-official-card{padding:0}
  .iat-official-image{
    margin:0;
    border-radius:22px 22px 0 0;
    aspect-ratio:4/3;
  }
  .iat-official-card-body{padding:20px}
  .iat-official-card-top{align-items:flex-start}
  .iat-details-toggle{width:100%;padding:12px 14px}
}


/* Modular iframe embeds */
.iat-embed-shell iframe[data-iat-embed]{overflow:hidden;}
.iat-section-embed{
  overflow:visible;
}


/* Torna in alto */
.iat-back-to-top{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9998;
  display:inline-flex;
  align-items:center;
  gap:8px;
  border:1px solid rgba(255,255,255,.42);
  border-radius:999px;
  padding:12px 16px;
  background:var(--primary);
  color:#fff;
  font-weight:900;
  font-size:.92rem;
  line-height:1;
  box-shadow:0 18px 38px rgba(26,34,54,.22);
  opacity:0;
  transform:translateY(14px);
  pointer-events:none;
  transition:opacity .2s ease, transform .2s ease, background .2s ease;
}
.iat-back-to-top span:first-child{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  font-size:1.05rem;
}
.iat-back-to-top.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.iat-back-to-top:hover,
.iat-back-to-top:focus-visible{
  background:#174860;
  outline:0;
}
@media(max-width:760px){
  .iat-back-to-top{
    right:14px;
    bottom:14px;
    padding:11px 13px;
    font-size:.82rem;
  }
  .iat-back-to-top span:last-child{
    display:none;
  }
  .iat-back-to-top span:first-child{
    width:32px;
    height:32px;
  }
}
body.totem-mode .iat-back-to-top,
body.iat-totem-page .iat-back-to-top{
  right:34px;
  bottom:34px;
  padding:16px 22px;
  font-size:1.08rem;
}
body.totem-mode .iat-back-to-top span:first-child,
body.iat-totem-page .iat-back-to-top span:first-child{
  width:34px;
  height:34px;
}


/* Footer: desktop originale, mobile centrato e compatto */
@media(max-width:760px){
  .iat-footer{
    text-align:center;
    padding-top:46px;
  }
  .iat-footer .iat-footer-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:30px;
  }
  .iat-footer .iat-footer-inner > div,
  .iat-footer .iat-footer-inner > nav{
    width:100%;
    display:grid;
    justify-items:center;
    text-align:center;
  }
  .iat-footer .iat-brand{
    justify-content:center;
    text-align:left;
  }
  .iat-footer p{
    max-width:340px!important;
    margin:18px auto 0!important;
    line-height:1.65;
  }
  .iat-footer h3{
    margin-bottom:14px;
    text-align:center;
    letter-spacing:.14em;
  }
  .iat-footer ul{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:0 auto;
    padding:0;
    list-style:none;
  }
  .iat-footer nav ul a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 12px;
    border:1px solid rgba(255,255,255,.16);
    border-radius:999px;
    background:rgba(255,255,255,.075);
    color:rgba(255,255,255,.92);
    font-size:.88rem;
    font-weight:850;
    line-height:1;
  }
  .iat-footer nav ul a:hover,
  .iat-footer nav ul a:focus-visible{
    background:rgba(255,255,255,.14);
    border-color:rgba(255,255,255,.32);
    outline:0;
  }
  .iat-footer .iat-footer-inner > div:last-child ul{
    display:grid;
    justify-items:center;
    gap:10px;
  }
  .iat-footer .iat-footer-inner > div:last-child li{
    max-width:330px;
    line-height:1.45;
  }
  .iat-footer-bottom{
    text-align:center;
    margin-top:34px;
    font-size:.8rem;
  }
}

/* Footer totem: versione touch e verticale */
body.totem-mode .iat-footer,
body.iat-totem-page .iat-footer{
  text-align:center;
  padding-top:78px;
}
body.totem-mode .iat-footer .iat-footer-inner,
body.iat-totem-page .iat-footer .iat-footer-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:38px;
  max-width:720px;
}
body.totem-mode .iat-footer .iat-footer-inner > div,
body.totem-mode .iat-footer .iat-footer-inner > nav,
body.iat-totem-page .iat-footer .iat-footer-inner > div,
body.iat-totem-page .iat-footer .iat-footer-inner > nav{
  width:100%;
  display:grid;
  justify-items:center;
  text-align:center;
}
body.totem-mode .iat-footer .iat-brand,
body.iat-totem-page .iat-footer .iat-brand{
  justify-content:center;
}
body.totem-mode .iat-footer p,
body.iat-totem-page .iat-footer p{
  max-width:820px!important;
  margin:22px auto 0!important;
  font-size:1.22rem;
  line-height:1.75;
}
body.totem-mode .iat-footer nav ul,
body.iat-totem-page .iat-footer nav ul{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
  max-width:980px;
  margin:0 auto;
  padding:0;
  list-style:none;
}
body.totem-mode .iat-footer nav ul a,
body.iat-totem-page .iat-footer nav ul a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:16px 24px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(255,255,255,.075);
  color:rgba(255,255,255,.92);
  font-size:1.1rem;
  font-weight:850;
  line-height:1;
}
body.totem-mode .iat-footer .iat-footer-inner > div:last-child ul,
body.iat-totem-page .iat-footer .iat-footer-inner > div:last-child ul{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:20px 30px;
  max-width:980px;
  margin:0 auto;
  padding:0;
  list-style:none;
  font-size:1.12rem;
}
body.totem-mode .iat-footer-bottom,
body.iat-totem-page .iat-footer-bottom{
  font-size:1rem;
  margin-top:54px;
  padding:24px 10px;
}


/* Scopri solo menu + pagina Mare e natura curata */
body:not(.iat-totem-mode) .iat-nav a[href="#"]{
  cursor:default;
}
body:not(.iat-totem-mode) .iat-nav a[href="#"]:hover{
  background:transparent;
}

.iat-sea-nature-intro{
  padding:44px 0 22px;
  background:linear-gradient(180deg,#fff,rgba(234,242,245,.55));
}
.iat-sea-nature-panel{
  display:grid;
  grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);
  gap:38px;
  align-items:end;
  padding:42px;
  border-radius:38px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(30,90,122,.12);
  box-shadow:0 28px 80px rgba(16,32,51,.08);
}
.iat-sea-nature-panel h2{
  font-family:Fraunces,serif;
  font-size:clamp(2.3rem,4vw,4.6rem);
  line-height:.98;
  color:var(--primary);
  margin:8px 0 0;
  letter-spacing:-.045em;
}
.iat-sea-nature-panel p{
  margin:0;
  font-size:1.18rem;
  color:var(--muted);
}

.iat-sea-nature-experience{
  padding:42px 0 78px;
  background:linear-gradient(180deg,rgba(234,242,245,.55),#fff);
}
.iat-sea-nature-mosaic{
  display:grid;
  grid-template-columns:1.45fr .78fr .78fr;
  grid-auto-rows:260px;
  gap:22px;
}
.iat-mosaic-card{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  background:#fff;
  border:1px solid rgba(30,90,122,.12);
  box-shadow:0 22px 70px rgba(16,32,51,.10);
}
.iat-mosaic-card-large{
  grid-row:span 2;
}
.iat-mosaic-card-blue{
  grid-column:span 2;
  background:linear-gradient(135deg,#1E5A7A,#7AB0C4);
  color:#fff;
}
.iat-mosaic-bg{
  position:absolute;
  inset:0;
}
.iat-mosaic-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.iat-mosaic-bg:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,28,40,.05),rgba(10,28,40,.70));
}
.iat-mosaic-content{
  position:relative;
  z-index:1;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:34px;
  color:#fff;
}
.iat-mosaic-content-dark{
  justify-content:center;
  color:var(--primary);
  background:radial-gradient(circle at top right,rgba(122,176,196,.18),transparent 45%);
}
.iat-mosaic-content span{
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:.78rem;
  margin-bottom:10px;
}
.iat-mosaic-content h3{
  font-family:Fraunces,serif;
  font-size:clamp(1.75rem,3vw,3.25rem);
  line-height:1;
  margin:0 0 12px;
}
.iat-mosaic-content p{
  margin:0;
  max-width:620px;
  color:inherit;
  opacity:.88;
  font-size:1.02rem;
}

.iat-sea-nature-strip{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:28px;
}
.iat-sea-nature-strip .iat-card{
  border-radius:30px;
}
.iat-sea-nature-strip .iat-card:nth-child(1){
  grid-row:span 2;
}

.iat-nature-story-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px;
}
.iat-nature-story-card{
  position:relative;
  min-height:330px;
  padding:30px;
  border-radius:32px;
  background:#fff;
  border:1px solid rgba(30,90,122,.12);
  box-shadow:0 18px 54px rgba(16,32,51,.08);
  overflow:hidden;
}
.iat-nature-story-card:after{
  content:"";
  position:absolute;
  right:-48px;
  bottom:-48px;
  width:150px;
  height:150px;
  border-radius:999px;
  background:rgba(122,176,196,.12);
}
.iat-nature-story-number{
  position:absolute;
  right:24px;
  top:18px;
  font-family:Fraunces,serif;
  font-size:3rem;
  color:rgba(30,90,122,.12);
  font-weight:900;
}
.iat-nature-story-card h3{
  font-family:Fraunces,serif;
  color:var(--primary);
  font-size:1.8rem;
  line-height:1.05;
  margin:16px 0 12px;
}
.iat-nature-story-card p{
  color:var(--muted);
  margin:0 0 16px;
}
.iat-nature-story-card .iat-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  position:relative;
  z-index:1;
}

.iat-route-panel{
  border-radius:38px;
  padding:44px;
  color:#fff;
  background:linear-gradient(135deg,#1E5A7A,#7AB0C4);
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:32px;
  align-items:center;
  box-shadow:0 30px 90px rgba(30,90,122,.22);
}
.iat-route-panel h2{
  font-family:Fraunces,serif;
  font-size:clamp(2rem,4vw,3.6rem);
  line-height:1;
  margin:8px 0 12px;
}
.iat-route-panel p{
  margin:0;
  color:rgba(255,255,255,.84);
}
.iat-route-steps{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.iat-route-steps div{
  display:flex;
  align-items:center;
  gap:14px;
  padding:18px;
  border-radius:24px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
}
.iat-route-steps strong{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#fff;
  color:var(--primary);
  flex:0 0 auto;
}
.iat-route-steps span{
  font-weight:800;
}

@media(max-width:1100px){
  .iat-sea-nature-panel,
  .iat-route-panel{
    grid-template-columns:1fr;
  }
  .iat-sea-nature-mosaic{
    grid-template-columns:1fr 1fr;
  }
  .iat-mosaic-card-large{
    grid-column:span 2;
  }
  .iat-nature-story-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .iat-sea-nature-panel{
    padding:28px;
    border-radius:28px;
  }
  .iat-sea-nature-mosaic,
  .iat-sea-nature-strip,
  .iat-nature-story-grid,
  .iat-route-steps{
    grid-template-columns:1fr;
  }
  .iat-mosaic-card-large,
  .iat-mosaic-card-blue{
    grid-column:auto;
    grid-row:auto;
  }
  .iat-sea-nature-mosaic{
    grid-auto-rows:auto;
  }
  .iat-mosaic-card{
    min-height:260px;
  }
  .iat-route-panel{
    padding:30px;
    border-radius:30px;
  }
}


/* HOME IMPORTANTE E FUNZIONALE */
body:not(.iat-totem-mode) .iat-home-hero{
  min-height:72vh;
}
body:not(.iat-totem-mode) .iat-home-main-sections{
  padding:86px 0 46px;
  background:linear-gradient(180deg,#fff,rgba(234,242,245,.55));
}
body:not(.iat-totem-mode) .iat-home-split-heading{
  display:grid;
  grid-template-columns:minmax(260px,.9fr) minmax(320px,1fr);
  gap:34px;
  align-items:end;
  margin-bottom:42px;
}
body:not(.iat-totem-mode) .iat-home-split-heading h2{
  font-family:Fraunces,serif;
  color:var(--primary);
  font-size:clamp(2.2rem,4vw,4rem);
  line-height:1;
  margin:8px 0 0;
  letter-spacing:-.04em;
}
body:not(.iat-totem-mode) .iat-home-split-heading p{
  margin:0;
  color:var(--muted);
  font-size:1.12rem;
  max-width:740px;
}
body:not(.iat-totem-mode) .iat-home-card-grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1fr;
  grid-auto-rows:330px;
  gap:24px;
}
body:not(.iat-totem-mode) .iat-home-big-card{
  position:relative;
  min-height:330px;
  border-radius:34px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 24px 80px rgba(16,32,51,.12);
  border:1px solid rgba(30,90,122,.12);
}
body:not(.iat-totem-mode) .iat-home-big-card.is-featured{
  grid-row:span 2;
}
body:not(.iat-totem-mode) .iat-home-big-card-img{
  position:absolute;
  inset:0;
}
body:not(.iat-totem-mode) .iat-home-big-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:.45s ease;
}
body:not(.iat-totem-mode) .iat-home-big-card:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,28,40,.04),rgba(10,28,40,.78));
}
body:not(.iat-totem-mode) .iat-home-big-card:hover .iat-home-big-card-img img{
  transform:scale(1.05);
}
body:not(.iat-totem-mode) .iat-home-big-card-content{
  position:relative;
  z-index:1;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:30px;
  color:#fff;
}
body:not(.iat-totem-mode) .iat-home-big-tag{
  position:absolute;
  top:22px;
  left:22px;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.28);
  font-size:.75rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.14em;
}
body:not(.iat-totem-mode) .iat-home-big-icon{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:20px;
  background:rgba(255,255,255,.18);
  margin-bottom:16px;
  font-size:1.45rem;
}
body:not(.iat-totem-mode) .iat-home-big-card h3{
  font-family:Fraunces,serif;
  font-size:clamp(1.8rem,3vw,3.2rem);
  line-height:1;
  margin:0 0 12px;
}
body:not(.iat-totem-mode) .iat-home-big-card p{
  color:rgba(255,255,255,.88);
  margin:0 0 18px;
  max-width:560px;
}
body:not(.iat-totem-mode) .iat-home-big-card strong{
  color:#fff;
}

body:not(.iat-totem-mode) .iat-home-quick-actions{
  padding:22px 0 66px;
  background:rgba(234,242,245,.55);
}
body:not(.iat-totem-mode) .iat-home-actions-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
body:not(.iat-totem-mode) .iat-home-action{
  display:flex;
  gap:16px;
  align-items:center;
  padding:22px;
  border-radius:28px;
  background:#fff;
  border:1px solid rgba(30,90,122,.12);
  box-shadow:0 16px 44px rgba(16,32,51,.07);
  transition:.22s ease;
}
body:not(.iat-totem-mode) .iat-home-action:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 60px rgba(16,32,51,.11);
}
body:not(.iat-totem-mode) .iat-home-action span{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  border-radius:20px;
  background:rgba(122,176,196,.15);
  color:var(--primary);
  font-size:1.35rem;
}
body:not(.iat-totem-mode) .iat-home-action h3{
  margin:0 0 4px;
  font-family:Fraunces,serif;
  color:var(--primary);
  font-size:1.28rem;
  line-height:1;
}
body:not(.iat-totem-mode) .iat-home-action p{
  margin:0;
  color:var(--muted);
  font-size:.93rem;
  line-height:1.35;
}

body:not(.iat-totem-mode) .iat-home-experiences{
  padding:92px 0;
  background:#fff;
}
body:not(.iat-totem-mode) .iat-experience-layout{
  display:grid;
  grid-template-columns:1.35fr 1fr 1fr;
  grid-auto-rows:285px;
  gap:22px;
}
body:not(.iat-totem-mode) .iat-experience-card{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  color:#fff;
  box-shadow:0 22px 70px rgba(16,32,51,.14);
  min-height:285px;
}
body:not(.iat-totem-mode) .iat-experience-card.is-large{
  grid-row:span 2;
}
body:not(.iat-totem-mode) .iat-experience-image,
body:not(.iat-totem-mode) .iat-experience-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}
body:not(.iat-totem-mode) .iat-experience-image img{
  object-fit:cover;
  transition:.45s ease;
}
body:not(.iat-totem-mode) .iat-experience-card:hover .iat-experience-image img{
  transform:scale(1.05);
}
body:not(.iat-totem-mode) .iat-experience-overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(10,28,40,.02),rgba(10,28,40,.78));
}
body:not(.iat-totem-mode) .iat-experience-content{
  position:relative;
  z-index:1;
  height:100%;
  padding:30px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
body:not(.iat-totem-mode) .iat-experience-number{
  position:absolute;
  top:22px;
  right:24px;
  font-family:Fraunces,serif;
  font-size:3.4rem;
  line-height:1;
  color:rgba(255,255,255,.26);
}
body:not(.iat-totem-mode) .iat-experience-label{
  display:inline-flex;
  width:max-content;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.18);
  border:1px solid rgba(255,255,255,.25);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.72rem;
  margin-bottom:14px;
}
body:not(.iat-totem-mode) .iat-experience-card h3{
  font-family:Fraunces,serif;
  font-size:clamp(1.55rem,2.8vw,3.1rem);
  line-height:1;
  margin:0 0 12px;
}
body:not(.iat-totem-mode) .iat-experience-card p{
  color:rgba(255,255,255,.86);
  margin:0 0 16px;
}
body:not(.iat-totem-mode) .iat-experience-card strong{
  color:#fff;
}

body:not(.iat-totem-mode) .iat-home-planning-panel{
  display:grid;
  grid-template-columns:1fr auto;
  gap:24px;
  align-items:center;
  padding:44px;
  border-radius:38px;
  background:linear-gradient(135deg,#1E5A7A,#7AB0C4);
  color:#fff;
  box-shadow:0 30px 90px rgba(30,90,122,.22);
}
body:not(.iat-totem-mode) .iat-home-planning-panel h2{
  font-family:Fraunces,serif;
  font-size:clamp(2rem,4vw,3.4rem);
  margin:8px 0 12px;
  line-height:1;
}
body:not(.iat-totem-mode) .iat-home-planning-panel p{
  color:rgba(255,255,255,.84);
  margin:0;
}
body:not(.iat-totem-mode) .iat-home-planning-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  justify-content:flex-end;
}

@media(max-width:1100px){
  body:not(.iat-totem-mode) .iat-home-split-heading,
  body:not(.iat-totem-mode) .iat-home-planning-panel{
    grid-template-columns:1fr;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid,
  body:not(.iat-totem-mode) .iat-experience-layout{
    grid-template-columns:1fr 1fr;
  }
  body:not(.iat-totem-mode) .iat-home-actions-grid{
    grid-template-columns:1fr 1fr;
  }
  body:not(.iat-totem-mode) .iat-home-big-card.is-featured,
  body:not(.iat-totem-mode) .iat-experience-card.is-large{
    grid-row:auto;
    grid-column:span 2;
  }
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-home-card-grid,
  body:not(.iat-totem-mode) .iat-experience-layout,
  body:not(.iat-totem-mode) .iat-home-actions-grid{
    grid-template-columns:1fr;
    grid-auto-rows:auto;
  }
  body:not(.iat-totem-mode) .iat-home-big-card,
  body:not(.iat-totem-mode) .iat-experience-card{
    min-height:320px;
  }
  body:not(.iat-totem-mode) .iat-home-big-card.is-featured,
  body:not(.iat-totem-mode) .iat-experience-card.is-large{
    grid-column:auto;
  }
  body:not(.iat-totem-mode) .iat-home-planning-panel{
    padding:30px;
    border-radius:30px;
  }
  body:not(.iat-totem-mode) .iat-home-planning-actions{
    justify-content:flex-start;
  }
}


/* HOME CARD FIX - layout pulito e leggibile */
body:not(.iat-totem-mode) .iat-home-card-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:24px !important;
  align-items:stretch !important;
  grid-auto-rows:auto !important;
}
body:not(.iat-totem-mode) .iat-home-clean-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:#fff;
  border:1px solid rgba(30,90,122,.14);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 56px rgba(16,32,51,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body:not(.iat-totem-mode) .iat-home-clean-card:hover{
  transform:translateY(-5px);
  box-shadow:0 26px 72px rgba(16,32,51,.13);
  border-color:rgba(30,90,122,.28);
}
body:not(.iat-totem-mode) .iat-home-clean-card.is-featured{
  grid-column:auto !important;
  grid-row:auto !important;
}
body:not(.iat-totem-mode) .iat-home-clean-media{
  height:210px;
  position:relative;
  overflow:hidden;
  background:#eef6f8;
}
body:not(.iat-totem-mode) .iat-home-clean-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
body:not(.iat-totem-mode) .iat-home-clean-card:hover .iat-home-clean-media img{
  transform:scale(1.04);
}
body:not(.iat-totem-mode) .iat-home-clean-media span{
  position:absolute;
  left:18px;
  top:18px;
  z-index:2;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  color:var(--primary);
  border:1px solid rgba(30,90,122,.10);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:900;
}
body:not(.iat-totem-mode) .iat-home-clean-body{
  padding:24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
body:not(.iat-totem-mode) .iat-home-clean-icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:rgba(122,176,196,.16);
  color:var(--primary);
  margin-bottom:16px;
  font-size:1.12rem;
}
body:not(.iat-totem-mode) .iat-home-clean-body h3{
  font-family:Fraunces,serif;
  color:var(--primary);
  font-size:1.72rem;
  line-height:1.03;
  margin:0 0 10px;
}
body:not(.iat-totem-mode) .iat-home-clean-body p{
  color:var(--muted);
  margin:0 0 18px;
  line-height:1.45;
  font-size:.98rem;
}
body:not(.iat-totem-mode) .iat-home-clean-body strong{
  margin-top:auto;
  color:var(--primary);
  font-weight:900;
  font-size:.94rem;
}

/* Disattiva vecchio layout overlay home se rimasto in cache */
body:not(.iat-totem-mode) .iat-home-big-card,
body:not(.iat-totem-mode) .iat-experience-card{
  background:#fff;
}

/* Esperienze imperdibili: più eleganti e leggibili */
body:not(.iat-totem-mode) .iat-experience-layout{
  display:grid !important;
  grid-template-columns:1.15fr 1fr !important;
  gap:24px !important;
  grid-auto-rows:auto !important;
}
body:not(.iat-totem-mode) .iat-experience-clean{
  display:grid;
  grid-template-columns:230px 1fr;
  min-height:230px;
  background:#fff;
  border:1px solid rgba(30,90,122,.14);
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 18px 56px rgba(16,32,51,.08);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body:not(.iat-totem-mode) .iat-experience-clean:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 72px rgba(16,32,51,.13);
  border-color:rgba(30,90,122,.28);
}
body:not(.iat-totem-mode) .iat-experience-clean.is-large{
  grid-row:span 3;
  display:flex;
  flex-direction:column;
}
body:not(.iat-totem-mode) .iat-experience-clean-media{
  min-height:230px;
  overflow:hidden;
  background:#eef6f8;
}
body:not(.iat-totem-mode) .iat-experience-clean.is-large .iat-experience-clean-media{
  min-height:360px;
}
body:not(.iat-totem-mode) .iat-experience-clean-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
body:not(.iat-totem-mode) .iat-experience-clean:hover .iat-experience-clean-media img{
  transform:scale(1.04);
}
body:not(.iat-totem-mode) .iat-experience-clean-body{
  padding:26px;
  display:flex;
  flex-direction:column;
}
body:not(.iat-totem-mode) .iat-experience-clean-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}
body:not(.iat-totem-mode) .iat-experience-clean-top span{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#eef6f8;
  color:var(--primary);
  border:1px solid rgba(122,176,196,.28);
  font-size:.72rem;
  text-transform:uppercase;
  letter-spacing:.13em;
  font-weight:900;
}
body:not(.iat-totem-mode) .iat-experience-clean-top em{
  font-family:Fraunces,serif;
  color:rgba(30,90,122,.20);
  font-style:normal;
  font-size:2.5rem;
  line-height:1;
  font-weight:900;
}
body:not(.iat-totem-mode) .iat-experience-clean h3{
  font-family:Fraunces,serif;
  color:var(--primary);
  font-size:clamp(1.65rem,2.2vw,2.35rem);
  line-height:1.02;
  margin:0 0 12px;
}
body:not(.iat-totem-mode) .iat-experience-clean p{
  color:var(--muted);
  margin:0 0 18px;
  line-height:1.5;
}
body:not(.iat-totem-mode) .iat-experience-clean strong{
  margin-top:auto;
  color:var(--primary);
  font-weight:900;
}
@media(max-width:1180px){
  body:not(.iat-totem-mode) .iat-home-card-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body:not(.iat-totem-mode) .iat-experience-layout{grid-template-columns:1fr !important;}
  body:not(.iat-totem-mode) .iat-experience-clean.is-large{grid-row:auto;}
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-home-card-grid{grid-template-columns:1fr !important;}
  body:not(.iat-totem-mode) .iat-experience-clean{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-experience-clean-media,
  body:not(.iat-totem-mode) .iat-experience-clean.is-large .iat-experience-clean-media{min-height:220px;}
}


/* Anchor link offset per header fisso */
html{
  scroll-behavior:smooth;
}
body:not(.iat-totem-mode) #mare-paesaggio,
body:not(.iat-totem-mode) #borgo-cultura,
body:not(.iat-totem-mode) #percorso-street-art,
body:not(.iat-totem-mode) #sport-eventi{
  scroll-margin-top:110px;
}


/* Hero home ridotta del 10% + anchor precisi */
body:not(.iat-totem-mode) .iat-home-hero{
  min-height:65vh !important;
}
body:not(.iat-totem-mode) .iat-home-hero .iat-hero-content{
  padding-top:84px;
  padding-bottom:64px;
}
html{
  scroll-behavior:smooth;
}
body:not(.iat-totem-mode) #spiagge-lungomare,
body:not(.iat-totem-mode) #montesilvano-colle,
body:not(.iat-totem-mode) #street-art-route,
body:not(.iat-totem-mode) #pala-dean-martin,
body:not(.iat-totem-mode) #mare-paesaggio,
body:not(.iat-totem-mode) #borgo-cultura,
body:not(.iat-totem-mode) #percorso-street-art,
body:not(.iat-totem-mode) #sport-eventi{
  scroll-margin-top:120px;
}


/* Anchor esatta scheda Montesilvano Colle */
body:not(.iat-totem-mode) #borgo-montesilvano-colle{
  scroll-margin-top:120px;
}


/* Ancore precise Esperienze imperdibili + hero home ridotta */
body:not(.iat-totem-mode) .iat-home-hero{
  min-height:65vh !important;
}
body:not(.iat-totem-mode) .iat-home-hero .iat-hero-content{
  padding-top:84px;
  padding-bottom:64px;
}
body:not(.iat-totem-mode) #lungomare-montesilvano,
body:not(.iat-totem-mode) #borgo-montesilvano-colle,
body:not(.iat-totem-mode) #pulpa-festival,
body:not(.iat-totem-mode) #pala-dean-martin,
body:not(.iat-totem-mode) #spiagge-lungomare,
body:not(.iat-totem-mode) #street-art-route{
  scroll-margin-top:120px;
}


/* RESPONSIVE CLASSICO - NON TOTEM */
@media (min-width: 981px) and (max-width: 1280px){
  body:not(.iat-totem-mode) .iat-container{
    width:min(1160px, calc(100% - 44px));
  }
  body:not(.iat-totem-mode) .iat-nav>a,
  body:not(.iat-totem-mode) .iat-nav-item>a{
    padding:9px 10px;
    font-size:.86rem;
  }
  body:not(.iat-totem-mode) .iat-header-actions{
    gap:8px;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body:not(.iat-totem-mode) .iat-official-grid,
  body:not(.iat-totem-mode) .iat-official-grid-featured{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 980px){
  body:not(.iat-totem-mode){
    padding-top:70px;
    overflow-x:hidden;
  }
  body:not(.iat-totem-mode) .iat-container{
    width:min(100% - 30px, 760px);
  }
  body:not(.iat-totem-mode) .iat-hero{
    min-height:58vh;
    padding:0;
  }
  body:not(.iat-totem-mode) .iat-home-hero{
    min-height:58vh !important;
  }
  body:not(.iat-totem-mode) .iat-hero-content{
    padding-top:64px;
    padding-bottom:52px;
  }
  body:not(.iat-totem-mode) .iat-hero h1{
    font-size:clamp(2.8rem,9vw,5.2rem);
    max-width:100%;
  }
  body:not(.iat-totem-mode) .iat-hero p{
    max-width:680px;
    font-size:1.06rem;
  }
  body:not(.iat-totem-mode) .iat-hero-actions{
    flex-wrap:wrap;
    gap:10px;
  }
  body:not(.iat-totem-mode) .iat-section{
    padding:58px 0;
  }
  body:not(.iat-totem-mode) .iat-section-sm{
    padding:40px 0;
  }
  body:not(.iat-totem-mode) .iat-home-split-heading,
  body:not(.iat-totem-mode) .iat-sea-nature-panel,
  body:not(.iat-totem-mode) .iat-route-panel,
  body:not(.iat-totem-mode) .iat-home-planning-panel{
    grid-template-columns:1fr !important;
    gap:18px;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid,
  body:not(.iat-totem-mode) .iat-home-actions-grid,
  body:not(.iat-totem-mode) .iat-official-grid,
  body:not(.iat-totem-mode) .iat-official-grid-featured,
  body:not(.iat-totem-mode) .iat-sea-nature-strip,
  body:not(.iat-totem-mode) .iat-nature-story-grid{
    grid-template-columns:1fr 1fr !important;
  }
  body:not(.iat-totem-mode) .iat-experience-layout{
    grid-template-columns:1fr !important;
  }
  body:not(.iat-totem-mode) .iat-experience-clean{
    grid-template-columns:230px 1fr;
  }
  body:not(.iat-totem-mode) .iat-footer-inner{
    grid-template-columns:1fr;
    text-align:center;
    justify-items:center;
  }
}

@media (max-width: 760px){
  body:not(.iat-totem-mode) .iat-container{
    width:calc(100% - 24px);
  }
  body:not(.iat-totem-mode) .iat-header-inner{
    gap:10px;
  }
  body:not(.iat-totem-mode) .iat-brand-name{
    font-size:1rem;
  }
  body:not(.iat-totem-mode) .iat-brand-tag{
    font-size:.58rem;
    letter-spacing:.12em;
  }
  body:not(.iat-totem-mode) .iat-hero,
  body:not(.iat-totem-mode) .iat-home-hero{
    min-height:52vh !important;
  }
  body:not(.iat-totem-mode) .iat-hero-content{
    padding-top:48px;
    padding-bottom:42px;
  }
  body:not(.iat-totem-mode) .iat-hero h1{
    font-size:clamp(2.35rem,12vw,4rem);
    line-height:.98;
  }
  body:not(.iat-totem-mode) .iat-hero p{
    font-size:1rem;
  }
  body:not(.iat-totem-mode) .iat-btn{
    width:100%;
    justify-content:center;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid,
  body:not(.iat-totem-mode) .iat-home-actions-grid,
  body:not(.iat-totem-mode) .iat-official-grid,
  body:not(.iat-totem-mode) .iat-official-grid-featured,
  body:not(.iat-totem-mode) .iat-sea-nature-strip,
  body:not(.iat-totem-mode) .iat-nature-story-grid,
  body:not(.iat-totem-mode) .iat-route-steps{
    grid-template-columns:1fr !important;
  }
  body:not(.iat-totem-mode) .iat-home-clean-media{
    height:190px;
  }
  body:not(.iat-totem-mode) .iat-home-clean-body,
  body:not(.iat-totem-mode) .iat-experience-clean-body,
  body:not(.iat-totem-mode) .iat-official-card,
  body:not(.iat-totem-mode) .iat-nature-story-card{
    padding:22px;
  }
  body:not(.iat-totem-mode) .iat-experience-clean{
    grid-template-columns:1fr;
  }
  body:not(.iat-totem-mode) .iat-experience-clean-media,
  body:not(.iat-totem-mode) .iat-experience-clean.is-large .iat-experience-clean-media{
    min-height:205px;
  }
  body:not(.iat-totem-mode) .iat-home-split-heading h2,
  body:not(.iat-totem-mode) .iat-section-heading h2,
  body:not(.iat-totem-mode) .iat-sea-nature-panel h2{
    font-size:clamp(2rem,10vw,3rem);
  }
  body:not(.iat-totem-mode) .iat-cta,
  body:not(.iat-totem-mode) .iat-home-planning-panel,
  body:not(.iat-totem-mode) .iat-route-panel,
  body:not(.iat-totem-mode) .iat-sea-nature-panel{
    padding:26px;
    border-radius:26px;
  }
  body:not(.iat-totem-mode) .iat-stat{
    padding:20px;
  }
}

@media (max-width: 420px){
  body:not(.iat-totem-mode) .iat-container{
    width:calc(100% - 20px);
  }
  body:not(.iat-totem-mode) .iat-brand-tag{
    display:none;
  }
  body:not(.iat-totem-mode) .iat-home-clean-media{
    height:170px;
  }
  body:not(.iat-totem-mode) .iat-home-clean-body h3,
  body:not(.iat-totem-mode) .iat-experience-clean h3{
    font-size:1.48rem;
  }
  body:not(.iat-totem-mode) .iat-mobile-panel a{
    padding:13px 18px;
  }
}


/* HOME INFO BAND - sostituisce statistiche/Totem */
body:not(.iat-totem-mode) .iat-home-info-band{
  padding:48px 0 74px;
  background:linear-gradient(180deg,rgba(234,242,245,.42),#fff);
  border-top:1px solid rgba(30,90,122,.08);
  border-bottom:1px solid rgba(30,90,122,.08);
}
body:not(.iat-totem-mode) .iat-home-info-panel{
  display:grid;
  grid-template-columns:minmax(260px,.95fr) minmax(420px,1.25fr);
  gap:34px;
  align-items:center;
  padding:34px;
  border-radius:32px;
  background:#fff;
  border:1px solid rgba(30,90,122,.13);
  box-shadow:0 18px 56px rgba(16,32,51,.07);
}
body:not(.iat-totem-mode) .iat-home-info-intro h2{
  font-family:Fraunces,serif;
  color:var(--primary);
  font-size:clamp(2rem,3vw,3rem);
  line-height:1;
  margin:8px 0 12px;
  letter-spacing:-.035em;
}
body:not(.iat-totem-mode) .iat-home-info-intro p{
  margin:0;
  color:var(--muted);
  line-height:1.5;
}
body:not(.iat-totem-mode) .iat-home-info-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
body:not(.iat-totem-mode) .iat-home-info-list a{
  display:block;
  padding:20px;
  border-radius:22px;
  background:#f7fbfc;
  border:1px solid rgba(30,90,122,.10);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body:not(.iat-totem-mode) .iat-home-info-list a:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 38px rgba(16,32,51,.08);
  border-color:rgba(30,90,122,.24);
}
body:not(.iat-totem-mode) .iat-home-info-list strong{
  display:block;
  font-family:Fraunces,serif;
  color:var(--primary);
  font-size:1.35rem;
  line-height:1;
  margin-bottom:6px;
}
body:not(.iat-totem-mode) .iat-home-info-list span{
  display:block;
  color:var(--muted);
  font-size:.94rem;
  line-height:1.4;
}
@media(max-width:980px){
  body:not(.iat-totem-mode) .iat-home-info-panel{
    grid-template-columns:1fr;
    padding:28px;
  }
}
@media(max-width:620px){
  body:not(.iat-totem-mode) .iat-home-info-band{
    padding:36px 0 56px;
  }
  body:not(.iat-totem-mode) .iat-home-info-list{
    grid-template-columns:1fr;
  }
  body:not(.iat-totem-mode) .iat-home-info-panel{
    padding:22px;
    border-radius:26px;
  }
}


/* Footer menu separato */
.iat-footer .iat-footer-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:9px;
}
.iat-footer .iat-footer-menu .menu-item{
  margin:0;
}


/* Menu dinamici: header e mobile */
body:not(.iat-totem-mode) .iat-primary-menu,
body:not(.iat-totem-mode) .iat-primary-menu ul,
body:not(.iat-totem-mode) .iat-mobile-menu,
body:not(.iat-totem-mode) .iat-mobile-menu ul{
  list-style:none;
  margin:0;
  padding:0;
}

body:not(.iat-totem-mode) .iat-primary-menu{
  display:flex;
  align-items:center;
  gap:2px;
}

body:not(.iat-totem-mode) .iat-primary-menu > li{
  position:relative;
}

body:not(.iat-totem-mode) .iat-primary-menu > li > a{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 14px;
  border-radius:999px;
  font-weight:600;
  font-size:.92rem;
  color:rgba(26,34,54,.76);
}

body:not(.iat-totem-mode) .iat-primary-menu > li:hover > a,
body:not(.iat-totem-mode) .iat-primary-menu > li.current-menu-item > a,
body:not(.iat-totem-mode) .iat-primary-menu > li.current-menu-ancestor > a{
  background:rgba(122,176,196,.14);
  color:var(--primary);
}

body:not(.iat-totem-mode) .iat-primary-menu .menu-item-has-children > a::after{
  content:"▾";
  font-size:.72em;
  margin-left:2px;
}

body:not(.iat-totem-mode) .iat-primary-menu .sub-menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  min-width:220px;
  padding:12px;
  border-radius:18px;
  background:#fff;
  border:1px solid rgba(30,90,122,.14);
  box-shadow:0 22px 60px rgba(16,32,51,.14);
  display:grid;
  gap:4px;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:.18s ease;
}

body:not(.iat-totem-mode) .iat-primary-menu .menu-item-has-children:hover > .sub-menu,
body:not(.iat-totem-mode) .iat-primary-menu .menu-item-has-children:focus-within > .sub-menu,
body:not(.iat-totem-mode) .iat-primary-menu .menu-item-has-children.is-open > .sub-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

body:not(.iat-totem-mode) .iat-primary-menu .sub-menu a{
  display:block;
  padding:10px 12px;
  border-radius:12px;
  color:var(--ink);
  font-weight:600;
  font-size:.9rem;
}

body:not(.iat-totem-mode) .iat-primary-menu .sub-menu a:hover{
  background:#eef6f8;
  color:var(--primary);
}

body:not(.iat-totem-mode) .iat-primary-menu a[href="#"]{
  cursor:pointer;
}

/* Navigazione mobile */
body:not(.iat-totem-mode) .iat-mobile-menu{
  display:grid;
  gap:0;
}

body:not(.iat-totem-mode) .iat-mobile-menu a{
  display:block;
  padding:14px 24px;
  border-bottom:1px solid rgba(30,90,122,.08);
  font-weight:700;
  color:var(--primary);
}

body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu{
  display:block;
  background:rgba(238,246,248,.62);
}

body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu a{
  padding-left:42px;
  color:var(--muted);
  font-weight:650;
}

body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children > a[href="#"]{
  background:rgba(122,176,196,.12);
}

@media(max-width:980px){
  body:not(.iat-totem-mode) .iat-nav{
    display:none;
  }
}


/* Fix dropdown desktop: niente buco tra voce e sottomenu */
body:not(.iat-totem-mode) .iat-primary-menu > li.menu-item-has-children{
  padding-bottom:12px;
  margin-bottom:-12px;
}

body:not(.iat-totem-mode) .iat-primary-menu .sub-menu{
  top:100% !important;
  margin-top:0;
  z-index:10020;
}

body:not(.iat-totem-mode) .iat-primary-menu > li.menu-item-has-children::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:100%;
  height:14px;
}

body:not(.iat-totem-mode) .iat-primary-menu > li.menu-item-has-children:hover > .sub-menu,
body:not(.iat-totem-mode) .iat-primary-menu > li.menu-item-has-children:focus-within > .sub-menu,
body:not(.iat-totem-mode) .iat-primary-menu > li.menu-item-has-children.is-open > .sub-menu{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}


/* Pagina Numeri utili - card leggibili stile touch, solo sito classico */
body:not(.iat-totem-mode) .iat-useful-modern-section{
  background:
    radial-gradient(circle at 12% 8%, rgba(122,176,196,.18), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(241,191,111,.16), transparent 30%),
    linear-gradient(180deg, #fbfaf7 0%, #f4f8f9 100%);
}

body:not(.iat-totem-mode) .iat-useful-modern-intro{
  max-width:760px;
  margin:0 auto 34px;
  text-align:center;
}

body:not(.iat-totem-mode) .iat-useful-modern-intro h2{
  margin:8px 0 12px;
  font-size:clamp(2.15rem, 4vw, 4rem);
  line-height:.96;
}

body:not(.iat-totem-mode) .iat-useful-modern-intro p{
  margin:0 auto;
  max-width:680px;
  color:var(--muted);
  font-size:1.04rem;
  line-height:1.7;
}

body:not(.iat-totem-mode) .iat-useful-modern-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:18px;
  align-items:stretch;
}

body:not(.iat-totem-mode) .iat-useful-modern-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:auto 1fr;
  gap:16px;
  min-height:210px;
  padding:22px;
  border-radius:28px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(30,90,122,.13);
  box-shadow:0 24px 70px rgba(22,55,78,.10);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body:not(.iat-totem-mode) .iat-useful-modern-card::before{
  content:"";
  position:absolute;
  inset:auto -40px -70px auto;
  width:150px;
  height:150px;
  border-radius:999px;
  background:rgba(122,176,196,.16);
}

body:not(.iat-totem-mode) .iat-useful-modern-card:hover{
  transform:translateY(-3px);
  border-color:rgba(30,90,122,.24);
  box-shadow:0 30px 90px rgba(22,55,78,.14);
}

body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured{
  background:linear-gradient(145deg, rgba(30,90,122,.98), rgba(38,112,145,.92));
  color:#fff;
  border-color:rgba(255,255,255,.26);
}

body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured::before{
  background:rgba(255,255,255,.14);
}

body:not(.iat-totem-mode) .iat-useful-modern-icon{
  position:relative;
  z-index:1;
  width:62px;
  height:62px;
  display:grid;
  place-items:center;
  border-radius:22px;
  background:#eef7f9;
  font-size:2rem;
  box-shadow:inset 0 0 0 1px rgba(30,90,122,.08);
}

body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured .iat-useful-modern-icon{
  background:rgba(255,255,255,.17);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);
}

body:not(.iat-totem-mode) .iat-useful-modern-content{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

body:not(.iat-totem-mode) .iat-useful-modern-card h3{
  margin:2px 0 10px;
  color:var(--primary);
  font-size:1.13rem;
  line-height:1.12;
}

body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured h3{
  color:#fff;
}

body:not(.iat-totem-mode) .iat-useful-modern-number{
  display:inline-flex;
  align-items:center;
  margin-bottom:12px;
  color:var(--ink);
  font-family:var(--serif);
  font-size:clamp(1.55rem, 2.3vw, 2.35rem);
  line-height:1;
  font-weight:800;
  letter-spacing:-.03em;
  text-decoration:none;
}

body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured .iat-useful-modern-number{
  color:#fff;
}

body:not(.iat-totem-mode) .iat-useful-modern-card p{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.55;
  font-size:.95rem;
}

body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured p{
  color:rgba(255,255,255,.82);
}

body:not(.iat-totem-mode) .iat-useful-modern-call{
  margin-top:auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 15px;
  border-radius:999px;
  background:#eef7f9;
  color:var(--primary);
  font-weight:800;
  text-decoration:none;
  box-shadow:inset 0 0 0 1px rgba(30,90,122,.10);
}

body:not(.iat-totem-mode) .iat-useful-modern-call::before{
  content:"☎";
  margin-right:7px;
}

body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured .iat-useful-modern-call{
  background:#fff;
  color:var(--primary);
  box-shadow:none;
}

body:not(.iat-totem-mode) .iat-useful-modern-note{
  margin:28px auto 0;
  max-width:820px;
  padding:18px 22px;
  border-radius:20px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(30,90,122,.12);
  color:var(--muted);
  text-align:center;
  line-height:1.55;
}

body:not(.iat-totem-mode) .iat-useful-modern-note strong{
  color:var(--primary);
}

@media(max-width:1100px){
  body:not(.iat-totem-mode) .iat-useful-modern-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}

@media(max-width:680px){
  body:not(.iat-totem-mode) .iat-useful-modern-grid{
    grid-template-columns:1fr;
  }

  body:not(.iat-totem-mode) .iat-useful-modern-card{
    grid-template-columns:1fr;
    min-height:0;
    padding:20px;
    border-radius:24px;
  }

  body:not(.iat-totem-mode) .iat-useful-modern-icon{
    width:58px;
    height:58px;
    border-radius:20px;
  }

  body:not(.iat-totem-mode) .iat-useful-modern-call{
    width:100%;
  }
}

/* =========================================================
   Layout classico pulito
   - NON riguarda la modalità totem
   - Body fluido: niente min-width desktop sul body
   - Container standard sito classico: 1440px
   - Container stretto: testi lunghi
   - Embed/classi speciali: stessi limiti, niente patch 1920/80vw
   ========================================================= */
body:not(.iat-totem-mode){
  min-width:320px;
  overflow-x:hidden;
}

body:not(.iat-totem-mode) .iat-container,
body:not(.iat-totem-mode) .iat-container-embed{
  width:min(calc(100% - 72px), 1440px);
  max-width:none;
  margin-inline:auto;
}

body:not(.iat-totem-mode) .iat-container-narrow{
  width:min(calc(100% - 72px), 980px);
  max-width:none;
  margin-inline:auto;
}

body:not(.iat-totem-mode) .iat-section{
  overflow:visible;
}

/* Header e menu: struttura dinamica con grafica e dropdown */
body:not(.iat-totem-mode) .iat-header .iat-container,
body:not(.iat-totem-mode) .iat-hero .iat-container{
  width:min(calc(100% - 72px), 1440px);
}

body:not(.iat-totem-mode) .iat-header-inner{
  gap:24px;
}

body:not(.iat-totem-mode) .iat-nav{
  flex:1 1 auto;
  justify-content:center;
}

/* Hero e titoli */
body:not(.iat-totem-mode) .iat-hero-content{
  max-width:1080px;
}

body:not(.iat-totem-mode) .iat-hero h1{
  max-width:1080px;
  font-size:clamp(3.4rem, 4.8vw, 5.8rem);
  line-height:1;
  letter-spacing:.004em;
  text-wrap:balance;
}

body:not(.iat-totem-mode) .iat-hero p{
  max-width:760px;
  font-size:clamp(1rem, 1.15vw, 1.18rem);
}

@media(min-width:1180px){
  body:not(.iat-totem-mode).home .iat-hero-content,
  body:not(.iat-totem-mode) .home .iat-hero-content{
    max-width:1320px;
  }

  body:not(.iat-totem-mode).home .iat-hero h1,
  body:not(.iat-totem-mode) .home .iat-hero h1{
    max-width:1320px;
    white-space:nowrap;
    font-size:clamp(3.3rem, 4.2vw, 5.25rem);
    line-height:1;
    letter-spacing:.006em;
  }
}

body:not(.iat-totem-mode) .iat-section-heading,
body:not(.iat-totem-mode) .iat-home-intro{
  max-width:1440px;
}

body:not(.iat-totem-mode) .iat-section-heading h2,
body:not(.iat-totem-mode) .iat-home-intro h2,
body:not(.iat-totem-mode) .iat-useful-modern-intro h2{
  max-width:980px;
  font-size:clamp(2.4rem, 3.45vw, 4.2rem);
  line-height:1.04;
  letter-spacing:.003em;
  text-wrap:balance;
}

body:not(.iat-totem-mode) .iat-section-heading p,
body:not(.iat-totem-mode) .iat-home-intro p{
  max-width:760px;
  text-wrap:pretty;
}

body:not(.iat-totem-mode) .iat-card h3,
body:not(.iat-totem-mode) .iat-feature-card h3,
body:not(.iat-totem-mode) .iat-useful-modern-card h3{
  line-height:1.1;
  letter-spacing:.002em;
  text-wrap:balance;
}

/* Griglie */
body:not(.iat-totem-mode) .iat-grid-4{
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

body:not(.iat-totem-mode) .iat-grid-3,
body:not(.iat-totem-mode) .iat-useful-modern-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

body:not(.iat-totem-mode) .iat-card,
body:not(.iat-totem-mode) .iat-feature-card{
  min-width:0;
}

/* Embed classici: eventi, mappa, itinerari dentro il container 1440 */
body:not(.iat-totem-mode) .iat-section-embed .iat-container,
body:not(.iat-totem-mode) .iat-section-embed .iat-container-embed,
body:not(.iat-totem-mode) .iat-itinerari-section .iat-container,
body:not(.iat-totem-mode) .iat-itinerari-section .iat-container-embed{
  width:min(calc(100% - 72px), 1440px)!important;
  max-width:none!important;
  min-width:0!important;
  margin-inline:auto;
}

body:not(.iat-totem-mode) .iat-embed-shell{
  width:100%;
  max-width:none;
  margin-inline:auto;
}

body:not(.iat-totem-mode) .iat-section-embed iframe{
  width:100%!important;
  display:block;
}

/* Responsive pulito */
@media(max-width:1200px){
  body:not(.iat-totem-mode) .iat-container,
  body:not(.iat-totem-mode) .iat-container-embed,
  body:not(.iat-totem-mode) .iat-container-narrow,
  body:not(.iat-totem-mode) .iat-header .iat-container,
  body:not(.iat-totem-mode) .iat-hero .iat-container,
  body:not(.iat-totem-mode) .iat-section-embed .iat-container,
  body:not(.iat-totem-mode) .iat-section-embed .iat-container-embed,
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container,
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container-embed{
    width:calc(100% - 48px)!important;
  }

  body:not(.iat-totem-mode) .iat-grid-4{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }

  body:not(.iat-totem-mode) .iat-hero h1{
    font-size:clamp(3rem, 6vw, 4.8rem);
  }
}

@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-container,
  body:not(.iat-totem-mode) .iat-container-embed,
  body:not(.iat-totem-mode) .iat-container-narrow,
  body:not(.iat-totem-mode) .iat-header .iat-container,
  body:not(.iat-totem-mode) .iat-hero .iat-container,
  body:not(.iat-totem-mode) .iat-section-embed .iat-container,
  body:not(.iat-totem-mode) .iat-section-embed .iat-container-embed,
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container,
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container-embed{
    width:calc(100% - 32px)!important;
  }

  body:not(.iat-totem-mode) .iat-hero-content{
    max-width:100%;
  }

  body:not(.iat-totem-mode).home .iat-hero h1,
  body:not(.iat-totem-mode) .home .iat-hero h1,
  body:not(.iat-totem-mode) .iat-hero h1{
    white-space:normal;
    font-size:clamp(2.65rem, 11vw, 3.8rem);
    line-height:1;
  }

  body:not(.iat-totem-mode) .iat-grid-4,
  body:not(.iat-totem-mode) .iat-grid-3,
  body:not(.iat-totem-mode) .iat-useful-modern-grid{
    grid-template-columns:1fr;
  }
}

/* === Pulizia layout classico 1440 + pagine migliorate === */
body:not(.iat-totem-mode){
  min-width:320px;
  overflow-x:hidden;
}
body:not(.iat-totem-mode) .iat-container,
body:not(.iat-totem-mode) .iat-container-embed{
  width:min(100% - 72px, 1440px);
  max-width:none;
  margin-inline:auto;
}
body:not(.iat-totem-mode) main .iat-section-heading{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
body:not(.iat-totem-mode) main .iat-section-heading h2,
body:not(.iat-totem-mode) main .iat-section-heading p{
  margin-left:auto;
  margin-right:auto;
}
body:not(.iat-totem-mode) main .iat-section-heading h2{
  max-width:980px;
  letter-spacing:.002em;
}
body:not(.iat-totem-mode) main .iat-section-heading p{
  max-width:760px;
}
body:not(.iat-totem-mode) .iat-hero h1{
  letter-spacing:.004em;
}
body:not(.iat-totem-mode) .iat-home-split-heading,
body:not(.iat-totem-mode) .iat-home-experiences .iat-home-split-heading{
  align-items:end;
}
body:not(.iat-totem-mode) .iat-home-split-heading h2{
  letter-spacing:.002em;
}

/* Itinerari embed: coerente con container 1440 */
body:not(.iat-totem-mode) .iat-itinerari-section .iat-embed-shell,
body:not(.iat-totem-mode) .iat-itinerari-section iframe{
  width:100%;
  max-width:none;
}

/* Cosa mangiare */
body:not(.iat-totem-mode) .iat-food-showcase{
  display:grid;
  grid-template-columns:minmax(0,.88fr) minmax(460px,1.12fr);
  gap:34px;
  align-items:center;
  padding:30px;
  border-radius:34px;
  background:linear-gradient(135deg,#ffffff 0%,#fbfdfd 100%);
  border:1px solid rgba(30,90,122,.13);
  box-shadow:0 26px 90px rgba(22,55,78,.10);
}
body:not(.iat-totem-mode) .iat-food-showcase-copy{text-align:left;padding:20px;display:grid;gap:14px;}
body:not(.iat-totem-mode) .iat-food-showcase-copy h2{font-size:clamp(2.5rem,3.6vw,4.6rem);line-height:.96;margin:0;color:var(--primary);}
body:not(.iat-totem-mode) .iat-food-showcase-copy p{font-size:1.08rem;line-height:1.78;color:var(--muted);margin:0;max-width:58ch;}
body:not(.iat-totem-mode) .iat-food-copy-pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:2px;}
body:not(.iat-totem-mode) .iat-food-copy-pills span,
body:not(.iat-totem-mode) .iat-food-media-badges span,
body:not(.iat-totem-mode) .iat-food-dish-badge{display:inline-flex;align-items:center;justify-content:center;padding:10px 14px;border-radius:999px;font-size:.82rem;font-weight:800;letter-spacing:.02em;}
body:not(.iat-totem-mode) .iat-food-copy-pills span{background:#eef7f9;color:var(--primary);border:1px solid rgba(30,90,122,.10);}
body:not(.iat-totem-mode) .iat-food-showcase-media{position:relative;min-height:420px;border-radius:28px;overflow:hidden;background:#e9f2f6;}
body:not(.iat-totem-mode) .iat-food-showcase-media img{width:100%;height:100%;min-height:420px;object-fit:cover;display:block;transform:scale(1.01);}
body:not(.iat-totem-mode) .iat-food-showcase-media:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(9,35,52,.04) 0%,rgba(9,35,52,.18) 100%);pointer-events:none;}
body:not(.iat-totem-mode) .iat-food-media-badges{position:absolute;top:20px;left:20px;right:20px;display:flex;gap:10px;flex-wrap:wrap;z-index:2;}
body:not(.iat-totem-mode) .iat-food-media-badges span{background:rgba(255,255,255,.88);backdrop-filter:blur(10px);color:var(--primary);box-shadow:0 10px 24px rgba(20,45,64,.10);}
body:not(.iat-totem-mode) .iat-food-floating-card{position:absolute;left:22px;right:22px;bottom:22px;padding:18px 20px;border-radius:22px;background:rgba(255,255,255,.90);backdrop-filter:blur(12px);box-shadow:0 16px 40px rgba(26,34,54,.14);display:grid;gap:6px;z-index:2;}
body:not(.iat-totem-mode) .iat-food-floating-card strong{color:var(--primary);font-family:var(--serif);font-size:1.35rem;}
body:not(.iat-totem-mode) .iat-food-floating-card span{color:var(--muted);font-weight:650;line-height:1.6;}
body:not(.iat-totem-mode) .iat-food-highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px;}
body:not(.iat-totem-mode) .iat-food-highlight,
body:not(.iat-totem-mode) .iat-food-dish-card,
body:not(.iat-totem-mode) .iat-food-world-card{border-radius:26px;border:1px solid rgba(30,90,122,.13);box-shadow:0 18px 55px rgba(22,55,78,.08);}
body:not(.iat-totem-mode) .iat-food-highlight{padding:24px;background:#fff;text-align:left;display:grid;gap:10px;}
body:not(.iat-totem-mode) .iat-food-highlight > span{font-size:2rem;display:inline-grid;width:58px;height:58px;place-items:center;border-radius:20px;background:#eef7f9;}
body:not(.iat-totem-mode) .iat-food-highlight h3,
body:not(.iat-totem-mode) .iat-food-dish-card h3,
body:not(.iat-totem-mode) .iat-food-world-card h3{color:var(--primary);margin:0;}
body:not(.iat-totem-mode) .iat-food-highlight p,
body:not(.iat-totem-mode) .iat-food-dish-card p,
body:not(.iat-totem-mode) .iat-food-world-card p{margin:0;color:var(--muted);line-height:1.7;}
body:not(.iat-totem-mode) .iat-food-dish-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;}
body:not(.iat-totem-mode) .iat-food-dish-card{position:relative;overflow:hidden;padding:24px;display:grid;gap:16px;min-height:240px;background:#fff;}
body:not(.iat-totem-mode) .iat-food-dish-card:before{content:"";position:absolute;inset:auto 0 0 0;height:6px;background:linear-gradient(90deg,var(--sea),rgba(30,90,122,.18));}
body:not(.iat-totem-mode) .iat-food-dish-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;}
body:not(.iat-totem-mode) .iat-food-dish-badge{background:#eef7f9;color:var(--primary);border:1px solid rgba(30,90,122,.10);}
body:not(.iat-totem-mode) .iat-food-dish-number{font-weight:950;color:rgba(30,90,122,.16);font-size:3rem;line-height:.9;}
body:not(.iat-totem-mode) .iat-food-dish-note{margin-top:auto;padding-top:12px;border-top:1px dashed rgba(30,90,122,.16);font-size:.92rem;font-weight:750;color:var(--primary);}
body:not(.iat-totem-mode) .iat-food-dish-card.is-featured{grid-column:span 2;min-height:275px;padding:28px;}
body:not(.iat-totem-mode) .iat-food-dish-card.is-featured h3{font-size:clamp(2rem,2.2vw,3rem);line-height:.98;max-width:8ch;}
body:not(.iat-totem-mode) .iat-food-dish-card.is-featured p{max-width:48ch;}
body:not(.iat-totem-mode) .iat-food-dish-card.is-warm{background:linear-gradient(135deg,#fff8f2 0%,#ffffff 60%);}
body:not(.iat-totem-mode) .iat-food-dish-card.is-cool{background:linear-gradient(135deg,#f5fbfd 0%,#ffffff 70%);}
body:not(.iat-totem-mode) .iat-food-dish-card.is-soft{background:linear-gradient(135deg,#fff9fb 0%,#ffffff 70%);}
body:not(.iat-totem-mode) .iat-food-dish-card.is-light{background:linear-gradient(135deg,#f7fbff 0%,#ffffff 70%);}
body:not(.iat-totem-mode) .iat-food-dish-card.is-earth{background:linear-gradient(135deg,#fbfaf5 0%,#ffffff 70%);}
body:not(.iat-totem-mode) .iat-food-dish-card.is-wine{background:linear-gradient(135deg,#fcf6fa 0%,#ffffff 70%);}
body:not(.iat-totem-mode) .iat-food-world-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
body:not(.iat-totem-mode) .iat-food-world-card{padding:24px;background:#fff;display:grid;gap:14px;position:relative;overflow:hidden;}
body:not(.iat-totem-mode) .iat-food-world-card:before{content:"";position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(90deg,rgba(30,90,122,.92),rgba(30,90,122,.28));}
body:not(.iat-totem-mode) .iat-food-world-head{display:flex;align-items:center;gap:10px;font-weight:900;color:var(--primary);}
body:not(.iat-totem-mode) .iat-food-world-head span{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:14px;background:#eef7f9;font-size:1.2rem;}
body:not(.iat-totem-mode) .iat-food-world-head small{letter-spacing:.08em;text-transform:uppercase;color:var(--sea);font-size:.75rem;}
body:not(.iat-totem-mode) .iat-food-world-card ul{margin:2px 0 0;padding:0;list-style:none;display:grid;gap:10px;}
body:not(.iat-totem-mode) .iat-food-world-card li{position:relative;padding:10px 14px 10px 34px;border-radius:16px;background:#f7fbfc;color:var(--muted);}
body:not(.iat-totem-mode) .iat-food-world-card li:before{content:"•";position:absolute;left:15px;top:50%;transform:translateY(-52%);color:var(--sea);font-size:1.1rem;font-weight:900;}


/* Come muoversi */
body:not(.iat-totem-mode) .iat-move-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(420px,.95fr);gap:34px;align-items:center;padding:28px;border-radius:34px;background:linear-gradient(135deg,#fff,#f3f9fb);border:1px solid rgba(30,90,122,.13);box-shadow:0 26px 90px rgba(22,55,78,.10);}
body:not(.iat-totem-mode) .iat-move-copy{padding:20px;text-align:left;}
body:not(.iat-totem-mode) .iat-move-copy h2{font-size:clamp(2.6rem,4vw,4.6rem);line-height:1;margin:8px 0 16px;color:var(--primary);}
body:not(.iat-totem-mode) .iat-move-copy p{font-size:1.08rem;line-height:1.7;color:var(--muted);}
body:not(.iat-totem-mode) .iat-move-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px;}
body:not(.iat-totem-mode) .iat-move-photo{border-radius:28px;overflow:hidden;min-height:360px;}
body:not(.iat-totem-mode) .iat-move-photo img{width:100%;height:100%;min-height:360px;object-fit:cover;display:block;}
body:not(.iat-totem-mode) .iat-move-step-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px;}
body:not(.iat-totem-mode) .iat-move-step,.iat-move-stat,.iat-move-card{background:#fff;border:1px solid rgba(30,90,122,.13);border-radius:26px;box-shadow:0 18px 55px rgba(22,55,78,.08);}
body:not(.iat-totem-mode) .iat-move-step{padding:24px;text-align:center;}
body:not(.iat-totem-mode) .iat-move-step > span{font-size:2rem;display:inline-grid;width:58px;height:58px;place-items:center;border-radius:20px;background:#eef7f9;margin-bottom:12px;}
body:not(.iat-totem-mode) .iat-move-step h3,.iat-move-card h3{color:var(--primary);}
body:not(.iat-totem-mode) .iat-move-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
body:not(.iat-totem-mode) .iat-move-stat{padding:22px;text-align:center;}
body:not(.iat-totem-mode) .iat-move-stat strong{display:block;font-family:var(--serif);font-size:2.35rem;color:var(--primary);line-height:1;}
body:not(.iat-totem-mode) .iat-move-stat span{display:block;margin-top:8px;color:var(--muted);font-weight:750;}
body:not(.iat-totem-mode) .iat-move-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
body:not(.iat-totem-mode) .iat-move-card{padding:24px;}
body:not(.iat-totem-mode) .iat-move-card ul{margin:16px 0 0;padding-left:20px;color:var(--muted);}
body:not(.iat-totem-mode) .iat-move-card li + li{margin-top:7px;}

/* Mare e natura */
body:not(.iat-totem-mode) .iat-sea-focus-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;}
body:not(.iat-totem-mode) .iat-sea-focus-card{overflow:hidden;border-radius:28px;background:#fff;border:1px solid rgba(30,90,122,.13);box-shadow:0 22px 70px rgba(22,55,78,.10);}
body:not(.iat-totem-mode) .iat-sea-focus-card img{width:100%;height:230px;object-fit:cover;display:block;}
body:not(.iat-totem-mode) .iat-sea-focus-card div{padding:22px;}
body:not(.iat-totem-mode) .iat-sea-focus-card span{display:inline-flex;margin-bottom:8px;color:var(--sea);font-weight:950;letter-spacing:.12em;}
body:not(.iat-totem-mode) .iat-sea-focus-card h3{color:var(--primary);}

/* Contattaci */
body:not(.iat-totem-mode) .iat-contact-layout-modern{align-items:start;}
body:not(.iat-totem-mode) .iat-contact-form-panel{position:sticky;top:110px;}
body:not(.iat-totem-mode) .iat-contact-form{display:grid;gap:14px;margin-top:18px;}
body:not(.iat-totem-mode) .iat-contact-form label{display:grid;gap:7px;color:var(--primary);font-weight:800;}
body:not(.iat-totem-mode) .iat-contact-form input,
body:not(.iat-totem-mode) .iat-contact-form textarea{width:100%;border:1px solid rgba(30,90,122,.18);border-radius:16px;padding:13px 14px;background:#fff;color:var(--ink);outline:0;}
body:not(.iat-totem-mode) .iat-contact-form input:focus,
body:not(.iat-totem-mode) .iat-contact-form textarea:focus{border-color:var(--primary);box-shadow:0 0 0 4px rgba(30,90,122,.10);}
body:not(.iat-totem-mode) .iat-field-hidden{position:absolute;left:-9999px;opacity:0;}
body:not(.iat-totem-mode) .iat-form-message{padding:13px 15px;border-radius:16px;font-weight:750;margin:14px 0;}
body:not(.iat-totem-mode) .iat-form-message.is-success{background:#eaf8ef;color:#176b3a;}
body:not(.iat-totem-mode) .iat-form-message.is-error{background:#fff1f0;color:#9a261f;}
body:not(.iat-totem-mode) .iat-contact-actions-compact{margin-top:16px;}

/* Itinerari: un po' di respiro sopra i giorni */
body:not(.iat-totem-mode) .iat-itinerari-section .iat-embed-shell{padding-top:18px;}

@media(max-width:1100px){
  body:not(.iat-totem-mode) .iat-food-showcase,
  body:not(.iat-totem-mode) .iat-move-overview{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-food-highlight-grid,
  body:not(.iat-totem-mode) .iat-food-dish-grid,
  body:not(.iat-totem-mode) .iat-food-world-grid,
  body:not(.iat-totem-mode) .iat-move-step-grid,
  body:not(.iat-totem-mode) .iat-move-card-grid,
  body:not(.iat-totem-mode) .iat-sea-focus-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body:not(.iat-totem-mode) .iat-move-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body:not(.iat-totem-mode) .iat-food-dish-card.is-featured{grid-column:span 2;}
  body:not(.iat-totem-mode) .iat-contact-form-panel{position:static;}
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-container,
  body:not(.iat-totem-mode) .iat-container-embed{width:calc(100% - 32px);}
  body:not(.iat-totem-mode) .iat-food-showcase,
  body:not(.iat-totem-mode) .iat-move-overview{padding:18px;border-radius:26px;}
  body:not(.iat-totem-mode) .iat-food-highlight-grid,
  body:not(.iat-totem-mode) .iat-food-dish-grid,
  body:not(.iat-totem-mode) .iat-food-world-grid,
  body:not(.iat-totem-mode) .iat-move-step-grid,
  body:not(.iat-totem-mode) .iat-move-card-grid,
  body:not(.iat-totem-mode) .iat-sea-focus-grid,
  body:not(.iat-totem-mode) .iat-move-stats-grid{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-food-showcase-copy,
  body:not(.iat-totem-mode) .iat-move-copy{padding:6px;}
  body:not(.iat-totem-mode) .iat-food-showcase-media,
  body:not(.iat-totem-mode) .iat-food-showcase-media img,
  body:not(.iat-totem-mode) .iat-move-photo,
  body:not(.iat-totem-mode) .iat-move-photo img{min-height:260px;}
  body:not(.iat-totem-mode) .iat-food-dish-card.is-featured{grid-column:span 1;min-height:240px;}
  body:not(.iat-totem-mode) .iat-food-showcase-copy h2{font-size:clamp(2.2rem,9vw,3rem);}
  body:not(.iat-totem-mode) .iat-food-media-badges{top:14px;left:14px;right:14px;gap:8px;}
  body:not(.iat-totem-mode) .iat-food-copy-pills span,
  body:not(.iat-totem-mode) .iat-food-media-badges span,
  body:not(.iat-totem-mode) .iat-food-dish-badge{font-size:.76rem;padding:9px 12px;}
  body:not(.iat-totem-mode) .iat-move-actions .iat-btn{width:100%;}
}


/* Storia e cultura - card dinamiche con testi espandibili, solo sito classico */
body:not(.iat-totem-mode) .iat-history-dynamic-section{
  background:
    radial-gradient(circle at 10% 10%, rgba(122,176,196,.14), transparent 28%),
    linear-gradient(180deg, #fbfaf7 0%, #fff 48%, #f4f8f9 100%);
}

body:not(.iat-totem-mode) .iat-history-dynamic-section .iat-section-heading{
  text-align:center;
  margin-inline:auto;
}

body:not(.iat-totem-mode) .iat-history-main-heading{
  max-width:920px;
}

body:not(.iat-totem-mode) .iat-history-dynamic-intro{
  display:grid;
  grid-template-columns:minmax(320px,.88fr) minmax(0,1.12fr);
  gap:22px;
  margin-top:34px;
  align-items:stretch;
}

body:not(.iat-totem-mode) .iat-history-dynamic-panel{
  position:relative;
  overflow:hidden;
  border-radius:34px;
  padding:38px;
  color:#fff;
  background:
    linear-gradient(135deg, rgba(30,90,122,.98), rgba(30,90,122,.82)),
    radial-gradient(circle at 90% 0%, rgba(122,176,196,.45), transparent 34%);
  box-shadow:0 28px 90px rgba(22,55,78,.14);
}

body:not(.iat-totem-mode) .iat-history-dynamic-panel:after{
  content:"";
  position:absolute;
  width:230px;
  height:230px;
  right:-80px;
  bottom:-92px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
}

body:not(.iat-totem-mode) .iat-history-dynamic-panel .iat-kicker{
  color:#c4e8ef;
}

body:not(.iat-totem-mode) .iat-history-dynamic-panel h3{
  position:relative;
  z-index:1;
  color:#fff;
  font-family:var(--font-serif);
  font-size:clamp(2.45rem,3.2vw,4.4rem);
  line-height:.95;
  margin:8px 0 16px;
  letter-spacing:.002em;
}

body:not(.iat-totem-mode) .iat-history-dynamic-panel p{
  position:relative;
  z-index:1;
  max-width:56ch;
  margin:0;
  color:rgba(255,255,255,.86);
  line-height:1.76;
}

body:not(.iat-totem-mode) .iat-history-route{
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  margin-top:28px;
}

body:not(.iat-totem-mode) .iat-history-route span{
  display:flex;
  align-items:center;
  gap:12px;
  min-height:48px;
  padding:10px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  backdrop-filter:blur(10px);
  color:#fff;
  font-weight:750;
}

body:not(.iat-totem-mode) .iat-history-route b{
  display:grid;
  place-items:center;
  flex:0 0 34px;
  height:34px;
  border-radius:12px;
  background:#fff;
  color:var(--primary);
  font-size:.82rem;
}

body:not(.iat-totem-mode) .iat-history-intro-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}

body:not(.iat-totem-mode) .iat-history-intro-card{
  min-height:100%;
  padding:24px;
  border-radius:28px;
  border:1px solid rgba(30,90,122,.13);
  background:#fff;
  box-shadow:0 18px 55px rgba(22,55,78,.08);
}

body:not(.iat-totem-mode) .iat-history-intro-card span{
  display:inline-grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:16px;
  background:#eef7f9;
  color:var(--primary);
  font-weight:950;
  margin-bottom:18px;
}

body:not(.iat-totem-mode) .iat-history-intro-card h3{
  margin:0 0 10px;
  color:var(--primary);
  font-family:var(--font-serif);
  font-size:1.55rem;
  line-height:1.06;
}

body:not(.iat-totem-mode) .iat-history-intro-card p{
  margin:0;
  color:var(--muted);
  line-height:1.68;
}

body:not(.iat-totem-mode) .iat-history-places-heading{
  max-width:900px;
  margin-top:70px;
}

body:not(.iat-totem-mode) .iat-history-card-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  margin-top:34px;
  align-items:start;
}

body:not(.iat-totem-mode) .iat-history-place-card{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  background:#fff;
  border:1px solid rgba(30,90,122,.13);
  box-shadow:0 20px 60px rgba(22,55,78,.09);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  scroll-margin-top:120px;
}

body:not(.iat-totem-mode) .iat-history-place-card:hover{
  transform:translateY(-3px);
  box-shadow:0 28px 80px rgba(22,55,78,.13);
  border-color:rgba(30,90,122,.24);
}

body:not(.iat-totem-mode) .iat-history-place-card.is-large{
  grid-column:span 1;
}

body:not(.iat-totem-mode) .iat-history-place-image{
  margin:0;
  aspect-ratio:16/10;
  overflow:hidden;
  background:#eef7f9;
}

body:not(.iat-totem-mode) .iat-history-place-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .35s ease;
}

body:not(.iat-totem-mode) .iat-history-place-card:hover .iat-history-place-image img{
  transform:scale(1.04);
}

body:not(.iat-totem-mode) .iat-history-place-body{
  padding:24px;
}

body:not(.iat-totem-mode) .iat-history-place-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}

body:not(.iat-totem-mode) .iat-history-place-number{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:16px;
  background:#eef7f9;
  color:var(--primary);
  font-weight:950;
  letter-spacing:.08em;
  font-size:.82rem;
}

body:not(.iat-totem-mode) .iat-history-place-badge{
  display:inline-flex;
  max-width:calc(100% - 56px);
  padding:8px 11px;
  border-radius:999px;
  background:rgba(122,176,196,.13);
  border:1px solid rgba(122,176,196,.24);
  color:var(--primary);
  font-size:.76rem;
  font-weight:850;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

body:not(.iat-totem-mode) .iat-history-place-card h3{
  margin:0 0 14px;
  color:var(--primary);
  font-family:var(--font-serif);
  font-size:clamp(1.65rem,2vw,2.45rem);
  line-height:1.02;
  letter-spacing:.002em;
}

body:not(.iat-totem-mode) .iat-history-place-card p,
body:not(.iat-totem-mode) .iat-history-expand summary > span,
body:not(.iat-totem-mode) .iat-history-expanded-text{
  color:var(--muted);
  line-height:1.72;
}

body:not(.iat-totem-mode) .iat-history-expand{
  display:block;
}

body:not(.iat-totem-mode) .iat-history-expand summary{
  list-style:none;
  cursor:pointer;
  display:grid;
  gap:16px;
}

body:not(.iat-totem-mode) .iat-history-expand summary::-webkit-details-marker{
  display:none;
}

body:not(.iat-totem-mode) .iat-history-expand summary > span{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

body:not(.iat-totem-mode) .iat-history-expand[open] summary > span{
  display:block;
  overflow:visible;
}

body:not(.iat-totem-mode) .iat-history-expand-action{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#eef7f9;
  color:var(--primary);
  font-size:.86rem;
  font-weight:900;
}

body:not(.iat-totem-mode) .iat-history-expand-action:after{
  content:"+";
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  border-radius:999px;
  background:#fff;
}

body:not(.iat-totem-mode) .iat-history-expand[open] .iat-history-expand-action:after{
  content:"–";
}

body:not(.iat-totem-mode) .iat-history-expand .iat-less-label,
body:not(.iat-totem-mode) .iat-history-expand[open] .iat-more-label{
  display:none;
}

body:not(.iat-totem-mode) .iat-history-expand[open] .iat-less-label{
  display:inline;
}

body:not(.iat-totem-mode) .iat-history-expanded-text{
  margin-top:18px;
  display:grid;
  gap:14px;
}

body:not(.iat-totem-mode) .iat-history-expanded-text p{
  margin:0;
}

@media(max-width:1180px){
  body:not(.iat-totem-mode) .iat-history-dynamic-intro{
    grid-template-columns:1fr;
  }

  body:not(.iat-totem-mode) .iat-history-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-history-intro-grid,
  body:not(.iat-totem-mode) .iat-history-card-grid{
    grid-template-columns:1fr;
  }

  body:not(.iat-totem-mode) .iat-history-dynamic-panel,
  body:not(.iat-totem-mode) .iat-history-intro-card,
  body:not(.iat-totem-mode) .iat-history-place-card{
    border-radius:24px;
  }

  body:not(.iat-totem-mode) .iat-history-dynamic-panel,
  body:not(.iat-totem-mode) .iat-history-place-body{
    padding:22px;
  }

  body:not(.iat-totem-mode) .iat-history-route span{
    align-items:flex-start;
  }

  body:not(.iat-totem-mode) .iat-history-place-card h3{
    font-size:1.85rem;
  }
}

/* Storia e cultura - versione editoriale dinamica, solo sito classico */
body:not(.iat-totem-mode) .iat-history-editorial{
  background:
    radial-gradient(circle at 12% 14%, rgba(122,176,196,.13), transparent 30%),
    linear-gradient(180deg,#fbfaf7 0%,#fff 34%,#f3f8f9 100%);
  overflow:hidden;
}
body:not(.iat-totem-mode) .iat-history-word-strip{
  border-top:1px solid rgba(30,90,122,.10);
  border-bottom:1px solid rgba(30,90,122,.10);
  background:rgba(238,246,248,.76);
  overflow:hidden;
  white-space:nowrap;
}
body:not(.iat-totem-mode) .iat-history-word-track{
  display:inline-flex;
  align-items:center;
  gap:30px;
  min-width:100%;
  padding:18px 0;
  animation:iatHistoryTicker 42s linear infinite;
}
body:not(.iat-totem-mode) .iat-history-word-track span{
  font-family:var(--font-serif);
  color:var(--primary);
  font-size:clamp(1.35rem,2.2vw,2.25rem);
  font-weight:750;
}
body:not(.iat-totem-mode) .iat-history-word-track b{color:var(--sea);font-size:1rem;opacity:.75}
@keyframes iatHistoryTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
body:not(.iat-totem-mode) .iat-history-manifesto{
  display:grid;
  grid-template-columns:minmax(160px,.36fr) minmax(0,1fr);
  gap:70px;
  padding:92px 0 72px;
  align-items:start;
}
body:not(.iat-totem-mode) .iat-history-manifesto-index strong{
  display:block;
  color:var(--sea);
  font-family:var(--font-serif);
  font-size:clamp(3rem,5.8vw,6rem);
  line-height:.86;
}
body:not(.iat-totem-mode) .iat-history-manifesto-index span{
  display:block;
  margin-top:18px;
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:.22em;
  font-weight:900;
  font-size:.75rem;
}
body:not(.iat-totem-mode) .iat-history-manifesto-copy{max-width:880px;text-align:left}
body:not(.iat-totem-mode) .iat-history-manifesto-copy h2{
  margin:8px 0 18px;
  color:var(--primary);
  font-family:var(--font-serif);
  font-size:clamp(2.4rem,4.3vw,5rem);
  line-height:1.02;
  letter-spacing:.003em;
}
body:not(.iat-totem-mode) .iat-history-manifesto-copy h2 em{color:var(--sea);font-style:italic;font-weight:650}
body:not(.iat-totem-mode) .iat-history-manifesto-copy p{
  max-width:760px;
  margin:0;
  color:var(--muted);
  line-height:1.8;
  font-size:1.04rem;
}
body:not(.iat-totem-mode) .iat-history-pills{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
body:not(.iat-totem-mode) .iat-history-pills span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:8px 13px;
  border-radius:999px;
  border:1px solid rgba(122,176,196,.35);
  background:#fff;
  color:var(--primary);
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
body:not(.iat-totem-mode) .iat-history-family-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-bottom:92px;
}
body:not(.iat-totem-mode) .iat-history-family-card{
  position:relative;
  min-height:220px;
  padding:28px;
  border-radius:30px;
  background:#fff;
  border:1px solid rgba(30,90,122,.13);
  box-shadow:0 18px 55px rgba(22,55,78,.08);
  overflow:hidden;
}
body:not(.iat-totem-mode) .iat-history-family-card:after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  right:-62px;
  bottom:-68px;
  border-radius:999px;
  background:rgba(122,176,196,.11);
}
body:not(.iat-totem-mode) .iat-history-family-card > span{
  display:grid;
  place-items:center;
  width:60px;
  height:60px;
  border-radius:22px;
  background:#eef7f9;
  color:var(--primary);
  font-size:1.7rem;
  margin-bottom:20px;
}
body:not(.iat-totem-mode) .iat-history-family-card h3{
  margin:0 0 10px;
  color:var(--primary);
  font-family:var(--font-serif);
  font-size:1.5rem;
  line-height:1.07;
}
body:not(.iat-totem-mode) .iat-history-family-card p{margin:0;color:var(--muted);line-height:1.7}
body:not(.iat-totem-mode) .iat-history-route-section{
  background:var(--primary);
  color:#fff;
  padding:92px 0;
}
body:not(.iat-totem-mode) .iat-history-route-layout{
  display:grid;
  grid-template-columns:minmax(280px,.58fr) minmax(0,1fr);
  gap:54px;
  align-items:center;
}
body:not(.iat-totem-mode) .iat-history-route-copy .iat-kicker{color:#bfe2ec}
body:not(.iat-totem-mode) .iat-history-route-copy h2{
  margin:8px 0 16px;
  color:#fff;
  font-family:var(--font-serif);
  font-size:clamp(2.35rem,4vw,4.6rem);
  line-height:1;
}
body:not(.iat-totem-mode) .iat-history-route-copy h2 em{font-style:italic;color:#9fd1df;font-weight:650}
body:not(.iat-totem-mode) .iat-history-route-copy p{margin:0;color:rgba(255,255,255,.82);line-height:1.75;max-width:48ch}
body:not(.iat-totem-mode) .iat-history-route-steps{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
body:not(.iat-totem-mode) .iat-history-route-steps article{
  position:relative;
  min-height:230px;
  padding:24px;
  border-radius:28px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
}
body:not(.iat-totem-mode) .iat-history-route-steps article:before{
  content:"";
  position:absolute;
  left:24px;
  right:24px;
  top:52px;
  height:1px;
  background:rgba(255,255,255,.18);
}
body:not(.iat-totem-mode) .iat-history-route-steps span{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:54px;
  height:54px;
  border-radius:999px;
  background:#fff;
  color:var(--primary);
  font-weight:950;
  margin-bottom:30px;
}
body:not(.iat-totem-mode) .iat-history-route-steps h3{margin:0 0 10px;color:#fff;font-family:var(--font-serif);font-size:1.5rem;line-height:1.08}
body:not(.iat-totem-mode) .iat-history-route-steps p{margin:0;color:rgba(255,255,255,.78);line-height:1.62}
body:not(.iat-totem-mode) .iat-history-places-heading{padding-top:92px;text-align:left;max-width:920px;margin-inline:0}
body:not(.iat-totem-mode) .iat-history-places-heading h2{
  color:var(--primary);
  font-size:clamp(2.5rem,4vw,4.6rem);
  line-height:1;
}
body:not(.iat-totem-mode) .iat-history-place-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  padding:34px 0 96px;
  align-items:start;
}
body:not(.iat-totem-mode) .iat-history-place-card{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  background:#fff;
  border:1px solid rgba(30,90,122,.13);
  box-shadow:0 20px 60px rgba(22,55,78,.08);
  scroll-margin-top:120px;
  transition:transform .22s ease,box-shadow .22s ease;
}
body:not(.iat-totem-mode) .iat-history-place-card:hover{transform:translateY(-3px);box-shadow:0 30px 90px rgba(22,55,78,.13)}
body:not(.iat-totem-mode) .iat-history-place-image{margin:0;aspect-ratio:16/10;background:#eef7f9;overflow:hidden}
body:not(.iat-totem-mode) .iat-history-place-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
body:not(.iat-totem-mode) .iat-history-place-card:hover .iat-history-place-image img{transform:scale(1.04)}
body:not(.iat-totem-mode) .iat-history-place-body{padding:24px}
body:not(.iat-totem-mode) .iat-history-place-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
body:not(.iat-totem-mode) .iat-history-place-number{display:grid;place-items:center;width:44px;height:44px;border-radius:16px;background:#eef7f9;color:var(--primary);font-weight:950;font-size:.82rem;letter-spacing:.08em}
body:not(.iat-totem-mode) .iat-history-place-badge{display:inline-flex;max-width:calc(100% - 58px);padding:8px 11px;border-radius:999px;background:rgba(122,176,196,.13);border:1px solid rgba(122,176,196,.24);color:var(--primary);font-size:.75rem;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body:not(.iat-totem-mode) .iat-history-place-card h3{margin:0 0 14px;color:var(--primary);font-family:var(--font-serif);font-size:clamp(1.65rem,2vw,2.35rem);line-height:1.04}
body:not(.iat-totem-mode) .iat-history-place-card p,
body:not(.iat-totem-mode) .iat-history-readmore summary > span,
body:not(.iat-totem-mode) .iat-history-fulltext{color:var(--muted);line-height:1.72}
body:not(.iat-totem-mode) .iat-history-readmore summary{list-style:none;cursor:pointer;display:grid;gap:16px}
body:not(.iat-totem-mode) .iat-history-readmore summary::-webkit-details-marker{display:none}
body:not(.iat-totem-mode) .iat-history-readmore summary > span{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
body:not(.iat-totem-mode) .iat-history-readmore[open] summary > span{display:block;overflow:visible}
body:not(.iat-totem-mode) .iat-history-readmore b{justify-self:start;display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:999px;background:#eef7f9;color:var(--primary);font-size:.86rem;font-weight:900}
body:not(.iat-totem-mode) .iat-history-readmore b:after{content:"+";display:grid;place-items:center;width:20px;height:20px;border-radius:999px;background:#fff}
body:not(.iat-totem-mode) .iat-history-readmore[open] b:after{content:"–"}
body:not(.iat-totem-mode) .iat-history-readmore .iat-less-label,
body:not(.iat-totem-mode) .iat-history-readmore[open] .iat-more-label{display:none}
body:not(.iat-totem-mode) .iat-history-readmore[open] .iat-less-label{display:inline}
body:not(.iat-totem-mode) .iat-history-fulltext{display:grid;gap:14px;margin-top:18px}
body:not(.iat-totem-mode) .iat-history-fulltext p{margin:0}
@media(max-width:1180px){
  body:not(.iat-totem-mode) .iat-history-manifesto,
  body:not(.iat-totem-mode) .iat-history-route-layout{grid-template-columns:1fr;gap:28px}
  body:not(.iat-totem-mode) .iat-history-route-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  body:not(.iat-totem-mode) .iat-history-place-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-history-word-track{gap:20px;padding:14px 0}
  body:not(.iat-totem-mode) .iat-history-manifesto{padding:58px 0 48px}
  body:not(.iat-totem-mode) .iat-history-family-grid,
  body:not(.iat-totem-mode) .iat-history-route-steps,
  body:not(.iat-totem-mode) .iat-history-place-grid{grid-template-columns:1fr}
  body:not(.iat-totem-mode) .iat-history-route-section{padding:62px 0}
  body:not(.iat-totem-mode) .iat-history-places-heading{padding-top:62px;text-align:center;margin-inline:auto}
  body:not(.iat-totem-mode) .iat-history-family-card,
  body:not(.iat-totem-mode) .iat-history-place-card,
  body:not(.iat-totem-mode) .iat-history-route-steps article{border-radius:24px}
  body:not(.iat-totem-mode) .iat-history-place-body{padding:22px}
}

/* Cosa mangiare - layout editoriale dinamico, solo sito classico */
body:not(.iat-totem-mode) .iat-food-mag{background:linear-gradient(180deg,#fbfaf5 0%,#fff 48%,#f4f8f9 100%)}
body:not(.iat-totem-mode) .iat-food-marquee{overflow:hidden;border-block:1px solid rgba(30,90,122,.10);background:#eef7f9;margin-top:-1px}
body:not(.iat-totem-mode) .iat-food-marquee-track{display:flex;align-items:center;gap:34px;width:max-content;padding:18px 0;animation:iat-food-marquee 44s linear infinite}
body:not(.iat-totem-mode) .iat-food-marquee span{font-family:var(--font-serif);font-size:clamp(1.55rem,2.2vw,2.7rem);color:var(--primary);font-weight:700;white-space:nowrap}
body:not(.iat-totem-mode) .iat-food-marquee b{color:var(--sea);font-size:1.3rem}
@keyframes iat-food-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}
body:not(.iat-totem-mode) .iat-food-manifesto{display:grid;grid-template-columns:minmax(120px,.34fr) minmax(0,1fr);gap:54px;align-items:start;padding:76px 0 52px;max-width:1160px;margin-inline:auto}
body:not(.iat-totem-mode) .iat-food-manifesto-index strong{display:block;font-family:var(--font-serif);font-size:clamp(2.8rem,4vw,5rem);line-height:1;color:var(--sea)}
body:not(.iat-totem-mode) .iat-food-manifesto-index span{display:block;margin-top:10px;color:var(--muted);font-size:.74rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
body:not(.iat-totem-mode) .iat-food-manifesto-copy h2{margin:0;color:var(--primary);font-family:var(--font-serif);font-size:clamp(2.35rem,3.7vw,4.7rem);line-height:1.05;max-width:850px}
body:not(.iat-totem-mode) .iat-food-manifesto-copy h2 em{color:var(--sea);font-style:italic}
body:not(.iat-totem-mode) .iat-food-manifesto-copy p{max-width:740px;margin:24px 0 0;color:var(--muted);font-size:1.06rem;line-height:1.8}
body:not(.iat-totem-mode) .iat-food-mini-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
body:not(.iat-totem-mode) .iat-food-mini-tags span{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid rgba(30,90,122,.14);color:var(--primary);font-size:.72rem;text-transform:uppercase;font-weight:900;letter-spacing:.07em}
body:not(.iat-totem-mode) .iat-food-family-section{padding:54px 0 78px}
body:not(.iat-totem-mode) .iat-food-split-heading{max-width:640px;margin-bottom:30px}
body:not(.iat-totem-mode) .iat-food-split-heading h2{margin:8px 0 0;color:var(--primary);font-family:var(--font-serif);font-size:clamp(2rem,3.2vw,4rem);line-height:1.05}
body:not(.iat-totem-mode) .iat-food-split-heading h2 em{color:var(--sea);font-style:italic}
body:not(.iat-totem-mode) .iat-food-family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
body:not(.iat-totem-mode) .iat-food-family-card{position:relative;overflow:hidden;min-height:310px;padding:30px;border-radius:26px;background:linear-gradient(145deg,#fff,#f7fcfd);border:1px solid rgba(30,90,122,.12);box-shadow:0 18px 55px rgba(22,55,78,.08)}
body:not(.iat-totem-mode) .iat-food-family-card:nth-child(2n){background:linear-gradient(145deg,#fff,#fff7f2)}
body:not(.iat-totem-mode) .iat-food-family-card:nth-child(3n){background:linear-gradient(145deg,#fff,#fffdf2)}
body:not(.iat-totem-mode) .iat-food-family-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
body:not(.iat-totem-mode) .iat-food-family-top span{font-family:var(--font-serif);font-size:2.7rem;color:rgba(122,176,196,.42);font-weight:800}
body:not(.iat-totem-mode) .iat-food-family-top b{display:grid;place-items:center;width:46px;height:46px;border-radius:16px;background:var(--primary);color:#fff}
body:not(.iat-totem-mode) .iat-food-family-card h3{margin:0 0 10px;color:var(--primary);font-family:var(--font-serif);font-size:1.55rem;line-height:1.06}
body:not(.iat-totem-mode) .iat-food-family-card p{margin:0;color:var(--muted);line-height:1.65}
body:not(.iat-totem-mode) .iat-food-family-card ul{display:grid;gap:8px;margin:20px 0 0;padding:18px 0 0;list-style:none;border-top:1px solid rgba(30,90,122,.10)}
body:not(.iat-totem-mode) .iat-food-family-card li{position:relative;padding-left:18px;color:var(--muted);font-weight:650}
body:not(.iat-totem-mode) .iat-food-family-card li:before{content:'›';position:absolute;left:0;color:var(--sea);font-weight:900}
body:not(.iat-totem-mode) .iat-food-dark-section{background:var(--primary);color:#fff;padding:86px 0;margin-top:28px}
body:not(.iat-totem-mode) .iat-food-dark-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(320px,1.15fr);gap:34px;align-items:center;max-width:1160px;margin:auto}
body:not(.iat-totem-mode) .iat-food-dark-copy .iat-kicker{color:#a6d7e5}
body:not(.iat-totem-mode) .iat-food-dark-copy h2{margin:10px 0 12px;color:#fff;font-family:var(--font-serif);font-size:clamp(2.2rem,3.4vw,4.4rem);line-height:1.04}
body:not(.iat-totem-mode) .iat-food-dark-copy h2 em{color:#93d5e5;font-style:italic}
body:not(.iat-totem-mode) .iat-food-dark-copy p{color:rgba(255,255,255,.84);line-height:1.75;max-width:620px}
body:not(.iat-totem-mode) .iat-food-must-list{display:grid;gap:10px;margin-top:28px}
body:not(.iat-totem-mode) .iat-food-must-item{display:grid;grid-template-columns:48px 1fr 42px;align-items:center;gap:14px;text-align:left;padding:16px 18px;border-radius:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);color:#fff;font:inherit;cursor:default}
body:not(.iat-totem-mode) .iat-food-must-item span{font-family:var(--font-serif);font-size:1.45rem;color:#9dd5e3;font-weight:800}
body:not(.iat-totem-mode) .iat-food-dark-card{padding:44px;border-radius:30px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.18);box-shadow:0 22px 70px rgba(0,0,0,.16)}
body:not(.iat-totem-mode) .iat-food-dark-emoji{font-size:2.6rem;display:block;margin-bottom:22px}
body:not(.iat-totem-mode) .iat-food-dark-card h3{margin:0 0 14px;color:#fff;font-family:var(--font-serif);font-size:clamp(2rem,2.8vw,3.4rem)}
body:not(.iat-totem-mode) .iat-food-dark-card p{color:rgba(255,255,255,.84);line-height:1.75}
body:not(.iat-totem-mode) .iat-food-dark-notes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:26px}
body:not(.iat-totem-mode) .iat-food-dark-notes span{display:grid;gap:6px;padding:16px;border-radius:16px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);color:#fff;font-weight:750}
body:not(.iat-totem-mode) .iat-food-dark-notes small{color:#9dd5e3;text-transform:uppercase;letter-spacing:.09em;font-size:.68rem}
body:not(.iat-totem-mode) .iat-food-other-section{padding:76px 0 54px}
body:not(.iat-totem-mode) .iat-food-simple-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body:not(.iat-totem-mode) .iat-food-simple-card{position:relative;padding:26px;border-radius:24px;background:#fff;border:1px solid rgba(30,90,122,.12);box-shadow:0 14px 42px rgba(22,55,78,.06)}
body:not(.iat-totem-mode) .iat-food-simple-card span{position:absolute;top:18px;right:18px;opacity:.28}
body:not(.iat-totem-mode) .iat-food-simple-card h3{margin:0 0 12px;color:var(--primary);font-family:var(--font-serif);font-size:1.45rem}
body:not(.iat-totem-mode) .iat-food-simple-card p{margin:0;color:var(--muted);line-height:1.68}
body:not(.iat-totem-mode) .iat-food-simple-card:after{content:'';display:block;width:46px;height:2px;background:var(--sea);margin-top:20px}
body:not(.iat-totem-mode) .iat-food-season-section{padding:28px 0 80px}
body:not(.iat-totem-mode) .iat-food-season-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
body:not(.iat-totem-mode) .iat-food-season-grid article{padding:26px;border-radius:24px;background:#fff;border:1px solid rgba(30,90,122,.12);box-shadow:0 16px 44px rgba(22,55,78,.07)}
body:not(.iat-totem-mode) .iat-food-season-grid article>span{font-size:2.2rem}
body:not(.iat-totem-mode) .iat-food-season-grid h3{margin:16px 0 8px;color:var(--primary);font-family:var(--font-serif);font-size:1.45rem}
body:not(.iat-totem-mode) .iat-food-season-grid small{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef7f9;color:var(--primary);font-weight:900}
body:not(.iat-totem-mode) .iat-food-season-grid p{color:var(--muted);line-height:1.65}
body:not(.iat-totem-mode) .iat-food-cta-section{background:var(--primary);padding:78px 0;color:#fff}
body:not(.iat-totem-mode) .iat-food-cta-box{text-align:center;max-width:760px;margin:auto}
body:not(.iat-totem-mode) .iat-food-cta-box h2{font-family:var(--font-serif);font-size:clamp(2.2rem,3.6vw,4rem);margin:0 0 12px;color:#fff}
body:not(.iat-totem-mode) .iat-food-cta-box p{color:rgba(255,255,255,.84);line-height:1.75}.iat-food-cta-box div{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:26px}
body:not(.iat-totem-mode) .iat-btn-ghost-light{border:1px solid rgba(255,255,255,.3);color:#fff;background:transparent}
@media(max-width:1100px){body:not(.iat-totem-mode) .iat-food-family-grid,body:not(.iat-totem-mode) .iat-food-simple-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body:not(.iat-totem-mode) .iat-food-manifesto,body:not(.iat-totem-mode) .iat-food-dark-layout{grid-template-columns:1fr}body:not(.iat-totem-mode) .iat-food-season-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body:not(.iat-totem-mode) .iat-food-manifesto{gap:22px;padding:48px 0 34px}body:not(.iat-totem-mode) .iat-food-family-grid,body:not(.iat-totem-mode) .iat-food-simple-grid,body:not(.iat-totem-mode) .iat-food-season-grid{grid-template-columns:1fr}body:not(.iat-totem-mode) .iat-food-dark-section{padding:54px 0}body:not(.iat-totem-mode) .iat-food-dark-card{padding:26px}body:not(.iat-totem-mode) .iat-food-dark-notes{grid-template-columns:1fr}}

/* Storia e cultura - racconto, timeline e schede espandibili, solo sito classico */
body:not(.iat-totem-mode) .iat-history-heritage{background:linear-gradient(180deg,#fbfaf7 0%,#f3f8f9 42%,#fff 74%)}
body:not(.iat-totem-mode) .iat-history-heritage-intro{display:grid;grid-template-columns:minmax(0,.95fr) minmax(420px,1.05fr);gap:56px;align-items:center;padding:78px 0 92px;max-width:1180px;margin:auto}
body:not(.iat-totem-mode) .iat-history-heritage-copy h2{font-family:var(--font-serif);color:var(--primary);font-size:clamp(2.35rem,3.5vw,4.5rem);line-height:1.03;margin:10px 0 22px}.iat-history-heritage-copy p{color:var(--muted);line-height:1.82;max-width:64ch}.iat-history-heritage-photo{margin:0;border-radius:30px;overflow:hidden;box-shadow:0 24px 75px rgba(22,55,78,.14);background:#eef7f9}.iat-history-heritage-photo img{display:block;width:100%;height:520px;object-fit:cover}
body:not(.iat-totem-mode) .iat-history-timeline-section{background:#eef7f8;padding:80px 0}.iat-history-timeline-container{max-width:860px!important}.iat-history-timeline-heading h2{font-family:var(--font-serif);color:var(--primary);font-size:clamp(2rem,3vw,3.7rem);margin:8px 0 34px}.iat-history-timeline{position:relative;display:grid;gap:28px}.iat-history-timeline:before{content:'';position:absolute;top:8px;bottom:8px;left:7px;width:1px;background:rgba(30,90,122,.22)}.iat-history-timeline article{position:relative;padding-left:38px}.iat-history-timeline article:before{content:'';position:absolute;left:0;top:6px;width:15px;height:15px;border-radius:50%;background:var(--sea);box-shadow:0 0 0 5px rgba(122,176,196,.22)}.iat-history-timeline span{display:block;color:var(--sea);font-family:var(--font-serif);font-size:1.2rem;font-weight:800}.iat-history-timeline h3{margin:6px 0 6px;color:var(--primary);font-family:var(--font-serif);font-size:1.55rem}.iat-history-timeline p{margin:0;color:var(--muted);line-height:1.7}
body:not(.iat-totem-mode) .iat-history-places-section{padding:82px 0}.iat-history-places-section .iat-section-heading{text-align:center;max-width:880px;margin:auto}.iat-history-places-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:38px}.iat-history-heritage-card{overflow:hidden;border-radius:28px;background:#fff;border:1px solid rgba(30,90,122,.13);box-shadow:0 20px 62px rgba(22,55,78,.09);scroll-margin-top:120px}.iat-history-heritage-card.is-wide{grid-column:span 1}.iat-history-heritage-card figure{margin:0;aspect-ratio:16/10;overflow:hidden;background:#eef7f9}.iat-history-heritage-card img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.iat-history-heritage-card:hover img{transform:scale(1.04)}.iat-history-heritage-card-body{padding:24px}.iat-history-heritage-meta{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.iat-history-heritage-meta span{display:grid;place-items:center;width:42px;height:42px;border-radius:15px;background:#eef7f9;color:var(--primary);font-weight:950}.iat-history-heritage-meta b{padding:7px 10px;border-radius:999px;background:rgba(122,176,196,.13);color:var(--primary);font-size:.74rem}.iat-history-heritage-card h3{font-family:var(--font-serif);color:var(--primary);font-size:clamp(1.55rem,2vw,2.25rem);line-height:1.04;margin:0 0 12px}.iat-history-heritage-details summary{list-style:none;display:grid;gap:14px;cursor:pointer}.iat-history-heritage-details summary::-webkit-details-marker{display:none}.iat-history-heritage-details summary>span{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted);line-height:1.72}.iat-history-heritage-details[open] summary>span{display:block}.iat-history-heritage-details strong{justify-self:start;display:inline-flex;padding:9px 13px;border-radius:999px;background:#eef7f9;color:var(--primary);font-size:.84rem}.iat-history-heritage-details .iat-less-label,.iat-history-heritage-details[open] .iat-more-label{display:none}.iat-history-heritage-details[open] .iat-less-label{display:inline}.iat-history-heritage-details div{display:grid;gap:12px;margin-top:16px;color:var(--muted);line-height:1.72}.iat-history-heritage-details p{margin:0;color:var(--muted);line-height:1.72}
body:not(.iat-totem-mode) .iat-history-traditions-clean{background:#fbfaf7;padding:76px 0}.iat-history-traditions-head{max-width:760px;margin-bottom:28px}.iat-history-traditions-head h2{font-family:var(--font-serif);color:var(--primary);font-size:clamp(2rem,3vw,3.6rem);margin:8px 0 0}.iat-history-traditions-clean-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.iat-history-traditions-clean-grid article{position:relative;padding:24px 56px 24px 24px;border-radius:24px;background:#fff;border:1px solid rgba(30,90,122,.12);box-shadow:0 14px 44px rgba(22,55,78,.06)}.iat-history-traditions-clean-grid article:after{content:'✧';position:absolute;right:24px;top:24px;color:var(--sea);font-size:1.2rem}.iat-history-traditions-clean-grid h3{margin:0 0 10px;color:var(--primary);font-family:var(--font-serif);font-size:1.45rem}.iat-history-traditions-clean-grid p{margin:0;color:var(--muted);line-height:1.65}
@media(max-width:1100px){body:not(.iat-totem-mode) .iat-history-heritage-intro{grid-template-columns:1fr}.iat-history-places-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body:not(.iat-totem-mode) .iat-history-heritage-intro{padding:52px 0}.iat-history-heritage-photo img{height:340px}.iat-history-places-grid,.iat-history-traditions-clean-grid{grid-template-columns:1fr}.iat-history-timeline-section{padding:56px 0}}

/* Premium editoriale controllato - sito classico soltanto
   ------------------------------------------------------
   Intervento visibile ma stabile: migliora gerarchia, ritmo,
   card, hero e CTA senza cambiare contenuti o modalità totem.
*/
body:not(.iat-totem-mode){
  --iat-premium-blue:#0b4761;
  --iat-premium-blue-2:#0f6680;
  --iat-premium-sea:#89bfd0;
  --iat-premium-cream:#fbf8f1;
  --iat-premium-cream-2:#f4efe5;
  --iat-premium-ink:#172534;
  --iat-premium-muted:#647486;
  --iat-premium-line:rgba(11,71,97,.14);
  --iat-premium-line-strong:rgba(11,71,97,.22);
  --iat-premium-shadow:0 24px 70px rgba(16,64,88,.13);
  --iat-premium-shadow-soft:0 14px 42px rgba(16,64,88,.08);
  --iat-premium-radius:30px;
  --iat-premium-radius-lg:42px;
  background:
    radial-gradient(circle at 8% 0%,rgba(137,191,208,.18),transparent 28%),
    linear-gradient(180deg,#fbf8f1 0%,#fff 38%,#f5f9fa 100%);
  color:var(--iat-premium-ink);
  overflow-x:hidden;
}

/* Larghezza e ritmo generale */
body:not(.iat-totem-mode) .iat-container,
body:not(.iat-totem-mode) .iat-container-embed{
  width:min(calc(100% - 72px),1440px) !important;
  max-width:1440px !important;
  margin-inline:auto !important;
}
body:not(.iat-totem-mode) .iat-section{padding-block:104px !important;}
body:not(.iat-totem-mode) .iat-section-sm{padding-block:78px !important;}
body:not(.iat-totem-mode) .iat-section:nth-of-type(even){
  background:linear-gradient(180deg,rgba(244,239,229,.46),rgba(255,255,255,.78));
}

/* Header: più pulito, senza appesantire */
body:not(.iat-totem-mode) .iat-header{
  background:rgba(255,255,255,.9) !important;
  backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(11,71,97,.10) !important;
  box-shadow:0 12px 36px rgba(16,64,88,.06) !important;
}
body:not(.iat-totem-mode) .iat-header-inner{height:82px !important;}
body:not(.iat-totem-mode) .iat-logo-mark,
body:not(.iat-totem-mode) .iat-brand-mark{
  box-shadow:0 12px 28px rgba(11,71,97,.18) !important;
}
body:not(.iat-totem-mode) .iat-nav a,
body:not(.iat-totem-mode) .iat-primary-menu > li > a{
  border-radius:999px !important;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
body:not(.iat-totem-mode) .iat-nav a:hover,
body:not(.iat-totem-mode) .iat-primary-menu > li:hover > a{
  background:rgba(137,191,208,.18) !important;
  color:var(--iat-premium-blue) !important;
}

/* Hero editoriale: visibile ma proporzionata */
body:not(.iat-totem-mode) .iat-hero{
  min-height:clamp(460px,58vh,640px) !important;
  margin:0 !important;
  border-radius:0 0 38px 38px !important;
  overflow:hidden !important;
  box-shadow:0 22px 70px rgba(16,64,88,.16) !important;
}
body:not(.iat-totem-mode) .iat-hero:after{
  background:
    linear-gradient(90deg,rgba(5,34,49,.72) 0%,rgba(5,34,49,.50) 45%,rgba(5,34,49,.18) 100%),
    radial-gradient(circle at 18% 30%,rgba(137,191,208,.23),transparent 36%) !important;
}
body:not(.iat-totem-mode) .iat-hero .iat-container,
body:not(.iat-totem-mode) .iat-hero-content{
  max-width:1440px !important;
}
body:not(.iat-totem-mode) .iat-hero-content{
  padding:104px 0 88px !important;
  width:min(calc(100% - 72px),1440px) !important;
}
body:not(.iat-totem-mode) .iat-hero h1{
  max-width:840px !important;
  font-size:clamp(3.4rem,5.25vw,6.15rem) !important;
  line-height:.92 !important;
  letter-spacing:-.045em !important;
  text-wrap:balance;
  color:#fff !important;
  text-shadow:0 14px 40px rgba(0,0,0,.22);
}
body:not(.iat-totem-mode) .iat-hero p{
  max-width:650px !important;
  font-size:clamp(1.05rem,1.35vw,1.24rem) !important;
  line-height:1.68 !important;
  color:rgba(255,255,255,.90) !important;
}
body:not(.iat-totem-mode) .iat-eyebrow,
body:not(.iat-totem-mode) .iat-kicker{
  display:inline-flex !important;
  align-items:center;
  gap:9px;
  padding:0 !important;
  background:transparent !important;
  color:var(--iat-premium-sea) !important;
  font-size:.76rem !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  font-weight:950 !important;
}
body:not(.iat-totem-mode) .iat-hero .iat-eyebrow,
body:not(.iat-totem-mode) .iat-pillole-hero .iat-eyebrow,
body:not(.iat-totem-mode) .iat-pillola-single-hero .iat-eyebrow{
  padding:8px 15px !important;
  line-height:1.2 !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.14) !important;
  border:1px solid rgba(255,255,255,.25) !important;
  color:#cce9ef !important;
}
body:not(.iat-totem-mode) .iat-hero-actions{gap:12px !important;margin-top:30px !important;}

/* Titoli sezione: più magazine, meno scheda */
body:not(.iat-totem-mode) .iat-section-heading,
body:not(.iat-totem-mode) .iat-home-split-heading,
body:not(.iat-totem-mode) .iat-home-intro,
body:not(.iat-totem-mode) .iat-useful-modern-intro,
body:not(.iat-totem-mode) .iat-food-section-heading,
body:not(.iat-totem-mode) .iat-history-traditions-head{
  margin-bottom:42px !important;
}
body:not(.iat-totem-mode) .iat-section-heading h2,
body:not(.iat-totem-mode) .iat-home-split-heading h2,
body:not(.iat-totem-mode) .iat-home-intro h2,
body:not(.iat-totem-mode) .iat-useful-modern-intro h2,
body:not(.iat-totem-mode) .iat-page-title{
  color:var(--iat-premium-blue) !important;
  font-family:var(--font-serif) !important;
  font-size:clamp(2.65rem,4.35vw,5.35rem) !important;
  line-height:.96 !important;
  letter-spacing:-.04em !important;
  text-wrap:balance;
}
body:not(.iat-totem-mode) .iat-section-heading p,
body:not(.iat-totem-mode) .iat-home-split-heading p,
body:not(.iat-totem-mode) .iat-home-intro p,
body:not(.iat-totem-mode) .iat-useful-modern-intro p{
  color:var(--iat-premium-muted) !important;
  font-size:1.06rem !important;
  line-height:1.78 !important;
  max-width:720px;
}
body:not(.iat-totem-mode) .iat-home-split-heading{
  display:grid !important;
  grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr) !important;
  gap:48px !important;
  align-items:end !important;
}

/* Griglie e card: più premium, molto visibile ma ordinato */
body:not(.iat-totem-mode) .iat-grid,
body:not(.iat-totem-mode) .iat-home-card-grid,
body:not(.iat-totem-mode) .iat-home-actions-grid,
body:not(.iat-totem-mode) .iat-experience-grid,
body:not(.iat-totem-mode) .iat-sleep-grid,
body:not(.iat-totem-mode) .iat-useful-modern-grid,
body:not(.iat-totem-mode) .iat-food-highlight-grid,
body:not(.iat-totem-mode) .iat-food-dish-grid,
body:not(.iat-totem-mode) .iat-food-world-grid{
  gap:28px !important;
}
body:not(.iat-totem-mode) .iat-card,
body:not(.iat-totem-mode) .iat-feature-card,
body:not(.iat-totem-mode) .iat-mini-card,
body:not(.iat-totem-mode) .iat-official-card,
body:not(.iat-totem-mode) .iat-visit-card,
body:not(.iat-totem-mode) .iat-map-card,
body:not(.iat-totem-mode) .iat-move-card,
body:not(.iat-totem-mode) .iat-move-step,
body:not(.iat-totem-mode) .iat-move-stat,
body:not(.iat-totem-mode) .iat-contact-card,
body:not(.iat-totem-mode) .iat-useful-modern-card,
body:not(.iat-totem-mode) .iat-home-clean-card,
body:not(.iat-totem-mode) .iat-home-action,
body:not(.iat-totem-mode) .iat-experience-clean,
body:not(.iat-totem-mode) .iat-food-highlight,
body:not(.iat-totem-mode) .iat-food-dish-card,
body:not(.iat-totem-mode) .iat-food-world-card,
body:not(.iat-totem-mode) .iat-history-heritage-card,
body:not(.iat-totem-mode) .iat-history-traditions-clean-grid article,
body:not(.iat-totem-mode) .iat-sea-focus-card,
body:not(.iat-totem-mode) .iat-nature-story-card,
body:not(.iat-totem-mode) .iat-street-card{
  border:1px solid var(--iat-premium-line) !important;
  border-radius:var(--iat-premium-radius) !important;
  background:rgba(255,255,255,.94) !important;
  box-shadow:var(--iat-premium-shadow-soft) !important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease !important;
}
body:not(.iat-totem-mode) .iat-card:hover,
body:not(.iat-totem-mode) .iat-feature-card:hover,
body:not(.iat-totem-mode) .iat-mini-card:hover,
body:not(.iat-totem-mode) .iat-official-card:hover,
body:not(.iat-totem-mode) .iat-visit-card:hover,
body:not(.iat-totem-mode) .iat-map-card:hover,
body:not(.iat-totem-mode) .iat-move-card:hover,
body:not(.iat-totem-mode) .iat-home-clean-card:hover,
body:not(.iat-totem-mode) .iat-home-action:hover,
body:not(.iat-totem-mode) .iat-experience-clean:hover,
body:not(.iat-totem-mode) .iat-food-highlight:hover,
body:not(.iat-totem-mode) .iat-food-dish-card:hover,
body:not(.iat-totem-mode) .iat-food-world-card:hover,
body:not(.iat-totem-mode) .iat-history-heritage-card:hover,
body:not(.iat-totem-mode) .iat-sea-focus-card:hover,
body:not(.iat-totem-mode) .iat-street-card:hover{
  transform:translateY(-5px) !important;
  border-color:var(--iat-premium-line-strong) !important;
  box-shadow:var(--iat-premium-shadow) !important;
}
body:not(.iat-totem-mode) .iat-card-media,
body:not(.iat-totem-mode) .iat-home-clean-media,
body:not(.iat-totem-mode) .iat-experience-clean-media,
body:not(.iat-totem-mode) .iat-official-image{
  min-height:260px !important;
  border-radius:calc(var(--iat-premium-radius) - 8px) calc(var(--iat-premium-radius) - 8px) 0 0 !important;
  overflow:hidden !important;
}
body:not(.iat-totem-mode) .iat-card-media img,
body:not(.iat-totem-mode) .iat-home-clean-media img,
body:not(.iat-totem-mode) .iat-experience-clean-media img,
body:not(.iat-totem-mode) .iat-official-image img,
body:not(.iat-totem-mode) .iat-food-showcase-media img,
body:not(.iat-totem-mode) .iat-move-photo img{
  transition:transform .35s ease,filter .35s ease !important;
}
body:not(.iat-totem-mode) .iat-card:hover .iat-card-media img,
body:not(.iat-totem-mode) .iat-home-clean-card:hover .iat-home-clean-media img,
body:not(.iat-totem-mode) .iat-experience-clean:hover .iat-experience-clean-media img,
body:not(.iat-totem-mode) .iat-official-card:hover .iat-official-image img,
body:not(.iat-totem-mode) .iat-food-showcase:hover .iat-food-showcase-media img,
body:not(.iat-totem-mode) .iat-move-overview:hover .iat-move-photo img{
  transform:scale(1.04) !important;
}
body:not(.iat-totem-mode) .iat-card-body,
body:not(.iat-totem-mode) .iat-home-clean-body,
body:not(.iat-totem-mode) .iat-experience-clean-body,
body:not(.iat-totem-mode) .iat-official-body,
body:not(.iat-totem-mode) .iat-contact-card,
body:not(.iat-totem-mode) .iat-food-highlight,
body:not(.iat-totem-mode) .iat-food-dish-card,
body:not(.iat-totem-mode) .iat-food-world-card{
  padding:28px !important;
}
body:not(.iat-totem-mode) .iat-card h3,
body:not(.iat-totem-mode) .iat-feature-card h3,
body:not(.iat-totem-mode) .iat-mini-card h3,
body:not(.iat-totem-mode) .iat-official-card h3,
body:not(.iat-totem-mode) .iat-home-clean-card h3,
body:not(.iat-totem-mode) .iat-experience-clean h3,
body:not(.iat-totem-mode) .iat-food-highlight h3,
body:not(.iat-totem-mode) .iat-food-dish-card h3,
body:not(.iat-totem-mode) .iat-food-world-card h3,
body:not(.iat-totem-mode) .iat-contact-card h3{
  color:var(--iat-premium-blue) !important;
  font-family:var(--font-serif) !important;
  font-size:clamp(1.45rem,1.8vw,2.15rem) !important;
  line-height:1.05 !important;
  letter-spacing:-.025em !important;
}
body:not(.iat-totem-mode) .iat-card p,
body:not(.iat-totem-mode) .iat-feature-card p,
body:not(.iat-totem-mode) .iat-mini-card p,
body:not(.iat-totem-mode) .iat-official-card p,
body:not(.iat-totem-mode) .iat-home-clean-card p,
body:not(.iat-totem-mode) .iat-experience-clean p,
body:not(.iat-totem-mode) .iat-food-highlight p,
body:not(.iat-totem-mode) .iat-food-dish-card p,
body:not(.iat-totem-mode) .iat-food-world-card p{
  color:var(--iat-premium-muted) !important;
  line-height:1.75 !important;
}

/* Pannelli editoriali: upgrade visibile per sezioni già esistenti */
body:not(.iat-totem-mode) .iat-food-showcase,
body:not(.iat-totem-mode) .iat-move-overview,
body:not(.iat-totem-mode) .iat-contact-layout,
body:not(.iat-totem-mode) .iat-contact-layout-modern,
body:not(.iat-totem-mode) .iat-sea-nature-panel,
body:not(.iat-totem-mode) .iat-street-intro,
body:not(.iat-totem-mode) .iat-street-map-panel,
body:not(.iat-totem-mode) .iat-useful-modern-note,
body:not(.iat-totem-mode) .iat-embed-shell{
  border:1px solid var(--iat-premium-line) !important;
  border-radius:var(--iat-premium-radius-lg) !important;
  background:
    radial-gradient(circle at 0% 0%,rgba(137,191,208,.18),transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(251,248,241,.92)) !important;
  box-shadow:var(--iat-premium-shadow) !important;
  overflow:hidden !important;
}
body:not(.iat-totem-mode) .iat-food-showcase,
body:not(.iat-totem-mode) .iat-move-overview,
body:not(.iat-totem-mode) .iat-contact-layout,
body:not(.iat-totem-mode) .iat-contact-layout-modern{
  padding:38px !important;
}

/* CTA scure, poche ma importanti */
body:not(.iat-totem-mode) .iat-cta,
body:not(.iat-totem-mode) .iat-dark-cta,
body:not(.iat-totem-mode) .iat-food-dark-section,
body:not(.iat-totem-mode) .iat-food-cta-section{
  border-radius:var(--iat-premium-radius-lg) !important;
  background:
    radial-gradient(circle at 16% 18%,rgba(137,191,208,.32),transparent 28%),
    linear-gradient(135deg,#073347 0%,#0b4761 56%,#0f6680 100%) !important;
  box-shadow:0 30px 90px rgba(11,71,97,.22) !important;
}
body:not(.iat-totem-mode) .iat-cta h2,
body:not(.iat-totem-mode) .iat-dark-cta h2,
body:not(.iat-totem-mode) .iat-food-cta-box h2{
  color:#fff !important;
  letter-spacing:-.035em !important;
}

/* Pulsanti */
body:not(.iat-totem-mode) .iat-btn{
  border-radius:999px !important;
  padding:13px 21px !important;
  font-weight:900 !important;
}
body:not(.iat-totem-mode) .iat-btn-primary,
body:not(.iat-totem-mode) .iat-btn-light:hover{
  background:linear-gradient(135deg,var(--iat-premium-blue),var(--iat-premium-blue-2)) !important;
  color:#fff !important;
  box-shadow:0 14px 34px rgba(11,71,97,.22) !important;
}
body:not(.iat-totem-mode) .iat-btn-light{
  background:#fff !important;
  color:var(--iat-premium-blue) !important;
}
body:not(.iat-totem-mode) .iat-btn-outline,
body:not(.iat-totem-mode) .iat-btn-ghost,
body:not(.iat-totem-mode) .iat-chip,
body:not(.iat-totem-mode) .iat-badge{
  border:1px solid rgba(255,255,255,.42);
}
body:not(.iat-totem-mode) .iat-chip,
body:not(.iat-totem-mode) .iat-badge{
  background:#fffaf2 !important;
  border-color:rgba(11,71,97,.14) !important;
  color:var(--iat-premium-blue) !important;
}

/* Embed e form */
body:not(.iat-totem-mode) .iat-embed-shell{padding:20px !important;}
body:not(.iat-totem-mode) .iat-embed-shell iframe{border-radius:26px !important;}
body:not(.iat-totem-mode) input,
body:not(.iat-totem-mode) textarea,
body:not(.iat-totem-mode) select{
  border-radius:18px !important;
  border:1px solid var(--iat-premium-line) !important;
  background:#fff !important;
  box-shadow:0 8px 24px rgba(16,64,88,.045) !important;
}

/* Footer */
body:not(.iat-totem-mode) .iat-footer{
  border-radius:42px 42px 0 0 !important;
  background:
    radial-gradient(circle at 82% 10%,rgba(137,191,208,.22),transparent 30%),
    linear-gradient(135deg,#073347,#0b4761) !important;
  box-shadow:0 -20px 70px rgba(16,64,88,.10);
}

@media(max-width:1100px){
  body:not(.iat-totem-mode) .iat-container,
  body:not(.iat-totem-mode) .iat-container-embed,
  body:not(.iat-totem-mode) .iat-hero-content{width:min(calc(100% - 48px),1440px) !important;}
  body:not(.iat-totem-mode) .iat-home-split-heading{grid-template-columns:1fr !important;gap:18px !important;}
  body:not(.iat-totem-mode) .iat-hero h1{font-size:clamp(3.2rem,8vw,5rem) !important;}
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-header-inner{height:70px !important;}
  body:not(.iat-totem-mode) .iat-container,
  body:not(.iat-totem-mode) .iat-container-embed,
  body:not(.iat-totem-mode) .iat-hero-content{width:min(calc(100% - 28px),1440px) !important;}
  body:not(.iat-totem-mode) .iat-hero{min-height:500px !important;border-radius:0 0 28px 28px !important;}
  body:not(.iat-totem-mode) .iat-hero-content{padding:72px 0 58px !important;}
  body:not(.iat-totem-mode) .iat-hero h1{font-size:clamp(2.8rem,12vw,4.2rem) !important;}
  body:not(.iat-totem-mode) .iat-section{padding-block:68px !important;}
  body:not(.iat-totem-mode) .iat-section-sm{padding-block:52px !important;}
  body:not(.iat-totem-mode) .iat-section-heading h2,
  body:not(.iat-totem-mode) .iat-home-split-heading h2,
  body:not(.iat-totem-mode) .iat-page-title{font-size:clamp(2.25rem,10vw,3.45rem) !important;}
  body:not(.iat-totem-mode) .iat-card-media,
  body:not(.iat-totem-mode) .iat-home-clean-media,
  body:not(.iat-totem-mode) .iat-experience-clean-media,
  body:not(.iat-totem-mode) .iat-official-image{min-height:220px !important;}
  body:not(.iat-totem-mode) .iat-food-showcase,
  body:not(.iat-totem-mode) .iat-move-overview,
  body:not(.iat-totem-mode) .iat-contact-layout,
  body:not(.iat-totem-mode) .iat-contact-layout-modern{padding:24px !important;border-radius:28px !important;}
}

/* Dove dormire - card hotel premium senza foto non autorizzate, solo sito classico */
body:not(.iat-totem-mode) .iat-hotels-section{
  background:
    radial-gradient(circle at 12% 8%, rgba(31,126,161,.12), transparent 32%),
    linear-gradient(180deg, rgba(247,242,231,.72), rgba(255,255,255,.98) 42%);
}
body:not(.iat-totem-mode) .iat-hotels-heading{
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}
body:not(.iat-totem-mode) .iat-hotels-editorial{
  display:grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap:30px;
  align-items:end;
  margin: 0 auto 26px;
  padding:28px;
  border-radius:32px;
  border:1px solid rgba(13,84,107,.12);
  background:rgba(255,255,255,.78);
  box-shadow:0 24px 70px rgba(15,54,74,.10);
}
body:not(.iat-totem-mode) .iat-hotels-editorial h3{
  margin:8px 0 0;
  font-size:clamp(1.55rem, 2.4vw, 2.6rem);
  line-height:1.03;
  letter-spacing:-.055em;
  color:var(--ink);
}
body:not(.iat-totem-mode) .iat-hotels-editorial p{
  margin:0;
  color:var(--muted);
  font-size:1.02rem;
  line-height:1.75;
}
body:not(.iat-totem-mode) .iat-hotels-summary{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin: 0 auto 34px;
}
body:not(.iat-totem-mode) .iat-hotels-summary span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:10px 14px;
  border:1px solid rgba(13,84,107,.14);
  background:rgba(255,255,255,.86);
  border-radius:999px;
  color:var(--muted);
  font-size:.92rem;
  box-shadow:0 12px 28px rgba(15,54,74,.06);
}
body:not(.iat-totem-mode) .iat-hotels-summary strong{
  color:var(--primary);
  font-size:1.08rem;
}
body:not(.iat-totem-mode) .iat-hotels-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
  align-items:stretch;
}
body:not(.iat-totem-mode) .iat-hotel-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  border:1px solid rgba(13,84,107,.14);
  border-radius:30px;
  background:rgba(255,255,255,.92);
  box-shadow:0 24px 62px rgba(15,54,74,.10);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
body:not(.iat-totem-mode) .iat-hotel-card:hover{
  transform:translateY(-6px);
  box-shadow:0 34px 88px rgba(15,54,74,.16);
  border-color:rgba(13,84,107,.24);
}
body:not(.iat-totem-mode) .iat-hotel-visual{
  position:relative;
  min-height:170px;
  overflow:hidden;
  isolation:isolate;
  background:#0e3445;
}
body:not(.iat-totem-mode) .iat-hotel-visual-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg, rgba(8,49,67,.92), rgba(27,121,150,.76)),
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.36), transparent 28%),
    radial-gradient(circle at 22% 78%, rgba(242,170,74,.30), transparent 34%);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
body:not(.iat-totem-mode) .iat-hotel-visual.has-photo .iat-hotel-visual-bg{
  filter:saturate(1.04) contrast(1.02);
}
body:not(.iat-totem-mode) .iat-hotel-card--accent-2 .iat-hotel-visual-bg{background:linear-gradient(135deg, rgba(16,61,84,.94), rgba(82,137,156,.74)), radial-gradient(circle at 74% 18%, rgba(255,255,255,.34), transparent 28%), radial-gradient(circle at 18% 82%, rgba(211,160,89,.32), transparent 34%);}
body:not(.iat-totem-mode) .iat-hotel-card--accent-3 .iat-hotel-visual-bg{background:linear-gradient(135deg, rgba(32,76,86,.94), rgba(54,143,131,.70)), radial-gradient(circle at 76% 20%, rgba(255,255,255,.34), transparent 28%), radial-gradient(circle at 18% 82%, rgba(245,198,119,.30), transparent 34%);}
body:not(.iat-totem-mode) .iat-hotel-card--accent-4 .iat-hotel-visual-bg{background:linear-gradient(135deg, rgba(26,48,72,.94), rgba(52,104,151,.72)), radial-gradient(circle at 76% 20%, rgba(255,255,255,.34), transparent 28%), radial-gradient(circle at 18% 82%, rgba(228,159,98,.32), transparent 34%);}
body:not(.iat-totem-mode) .iat-hotel-card--accent-5 .iat-hotel-visual-bg{background:linear-gradient(135deg, rgba(71,55,44,.94), rgba(181,113,67,.72)), radial-gradient(circle at 76% 20%, rgba(255,255,255,.34), transparent 28%), radial-gradient(circle at 18% 82%, rgba(61,158,174,.26), transparent 34%);}
body:not(.iat-totem-mode) .iat-hotel-visual::after{
  content:"";
  position:absolute;
  inset:auto -8% -52px -8%;
  height:105px;
  background:rgba(255,255,255,.14);
  border-radius:50% 50% 0 0;
  transform:rotate(-3deg);
  z-index:1;
}
body:not(.iat-totem-mode) .iat-hotel-initials{
  position:absolute;
  left:24px;
  bottom:20px;
  z-index:2;
  display:grid;
  place-items:center;
  width:74px;
  height:74px;
  border-radius:24px;
  color:#fff;
  font-size:1.7rem;
  font-weight:900;
  letter-spacing:-.06em;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 18px 40px rgba(0,0,0,.18);
  backdrop-filter:blur(10px);
}
body:not(.iat-totem-mode) .iat-hotel-visual-label{
  position:absolute;
  right:18px;
  top:18px;
  z-index:2;
  padding:8px 11px;
  border-radius:999px;
  color:#fff;
  font-size:.74rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.24);
  backdrop-filter:blur(10px);
}
body:not(.iat-totem-mode) .iat-hotel-card-body{
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1;
  padding:24px;
}
body:not(.iat-totem-mode) .iat-hotel-card-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
body:not(.iat-totem-mode) .iat-hotel-stars{
  color:#d88a22;
  font-weight:900;
  letter-spacing:.04em;
  font-size:.86rem;
  white-space:nowrap;
}
body:not(.iat-totem-mode) .iat-hotel-card h3{
  margin:0;
  font-size:clamp(1.25rem, 1.55vw, 1.65rem);
  line-height:1.08;
  letter-spacing:-.035em;
  color:var(--ink);
}
body:not(.iat-totem-mode) .iat-hotel-meta{
  margin:0;
  color:var(--muted);
  font-weight:800;
  line-height:1.45;
}
body:not(.iat-totem-mode) .iat-hotel-tags{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
body:not(.iat-totem-mode) .iat-hotel-tags span{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:900;
  color:var(--primary);
  background:rgba(31,126,161,.09);
  border:1px solid rgba(31,126,161,.13);
}
body:not(.iat-totem-mode) .iat-hotel-description{
  margin:0;
  color:var(--muted);
  line-height:1.68;
}
body:not(.iat-totem-mode) .iat-hotel-details{
  margin-top:0;
  border-radius:18px;
  background:rgba(247,242,231,.72);
  border:1px solid rgba(13,84,107,.10);
  overflow:hidden;
}
body:not(.iat-totem-mode) .iat-hotel-details summary{
  cursor:pointer;
  padding:11px 14px;
  color:var(--primary);
  font-size:.9rem;
  font-weight:900;
  list-style:none;
}
body:not(.iat-totem-mode) .iat-hotel-details summary::-webkit-details-marker{display:none;}
body:not(.iat-totem-mode) .iat-hotel-details summary::after{content:" +";}
body:not(.iat-totem-mode) .iat-hotel-details[open] summary::after{content:" −";}
body:not(.iat-totem-mode) .iat-hotel-details p{
  margin:0;
  padding:0 14px 14px;
  color:var(--muted);
  line-height:1.65;
}
body:not(.iat-totem-mode) .iat-hotel-links{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin-top:auto;
  padding-top:16px;
  border-top:1px solid rgba(13,84,107,.10);
  word-break:break-word;
}
body:not(.iat-totem-mode) .iat-hotel-action{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:9px 12px;
  border-radius:999px;
  color:var(--primary);
  background:rgba(13,84,107,.06);
  border:1px solid rgba(13,84,107,.10);
  font-weight:900;
  text-decoration:none;
  font-size:.9rem;
  transition:transform .18s ease, background .18s ease, color .18s ease;
}
body:not(.iat-totem-mode) .iat-hotel-action:hover{
  transform:translateY(-1px);
  background:rgba(13,84,107,.10);
  text-decoration:none;
}
body:not(.iat-totem-mode) .iat-hotel-action-primary{
  color:#fff;
  background:linear-gradient(135deg, var(--primary), #0a384d);
  border-color:transparent;
  box-shadow:0 14px 30px rgba(13,84,107,.18);
}
body:not(.iat-totem-mode) .iat-hotel-action-primary:hover{
  background:linear-gradient(135deg, #0a384d, var(--primary));
}
@media (max-width: 1100px){
  body:not(.iat-totem-mode) .iat-hotels-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body:not(.iat-totem-mode) .iat-hotels-editorial{grid-template-columns:1fr; align-items:start;}
}
@media (max-width: 700px){
  body:not(.iat-totem-mode) .iat-hotels-grid{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-hotels-editorial{padding:22px; border-radius:24px;}
  body:not(.iat-totem-mode) .iat-hotel-visual{min-height:150px;}
  body:not(.iat-totem-mode) .iat-hotel-card-body{padding:20px;}
}


/* Correzione mappa eventi desktop: altezza iframe e spazio sotto, solo sito classico */
body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi){
  padding-bottom: 34px;
}
body:not(.iat-totem-mode) #iat-mappa-eventi.iat-map-embed-frame{
  display:block;
  width:100%;
  border:0;
  overflow:hidden;
  margin:0;
}
body:not(.iat-totem-mode) .iat-map-embed-note{
  text-align:center;
  color:var(--muted);
  font-size:.9rem;
  font-weight:700;
  margin:12px 0 0;
}
@media (min-width: 981px){
  body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi){
    padding-top:46px;
    padding-bottom:28px;
  }
}

/* Hotel - foto ufficiali e card ridimensionate, solo sito classico */
body:not(.iat-totem-mode) .iat-hotel-visual{
  min-height:220px;
  height:220px;
  background:#0b3445;
}
body:not(.iat-totem-mode) .iat-hotel-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  z-index:0;
  display:block;
  filter:saturate(1.05) contrast(1.03);
}
body:not(.iat-totem-mode) .iat-hotel-visual.has-photo .iat-hotel-visual-bg{
  background:linear-gradient(180deg, rgba(5,32,45,.10), rgba(5,32,45,.58));
  z-index:1;
}
body:not(.iat-totem-mode) .iat-hotel-visual.has-photo .iat-hotel-initials{
  display:none;
}
body:not(.iat-totem-mode) .iat-hotel-visual.has-photo::after{
  background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.16));
  z-index:2;
}
body:not(.iat-totem-mode) .iat-hotel-visual.has-photo .iat-hotel-visual-label{
  z-index:3;
  background:rgba(10,43,58,.52);
  border-color:rgba(255,255,255,.32);
}
@media (max-width: 760px){
  body:not(.iat-totem-mode) .iat-hotel-visual{
    min-height:190px;
    height:190px;
  }
}

/* === Desktop ufficiale: fix responsive eventi, footer e numeri utili === */
body:not(.iat-totem-mode) .iat-events-embed-section{
  padding-top:44px!important;
  overflow:visible!important;
}
body:not(.iat-totem-mode) .iat-events-container{
  width:min(100% - 56px,1440px)!important;
  max-width:none!important;
}
body:not(.iat-totem-mode) .iat-events-embed-section .iat-embed-shell{
  overflow:visible!important;
  border-radius:34px!important;
}
body:not(.iat-totem-mode) #iat-eventi{
  width:100%!important;
  min-height:980px!important;
  overflow:auto!important;
}

body:not(.iat-totem-mode) .iat-footer{
  position:relative!important;
  z-index:2!important;
}
body:not(.iat-totem-mode) .iat-footer-inner,
body:not(.iat-totem-mode) .iat-footer nav,
body:not(.iat-totem-mode) .iat-footer .iat-footer-menu{
  position:relative!important;
  z-index:3!important;
}
body:not(.iat-totem-mode) .iat-footer .iat-footer-menu{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:10px!important;
}
body:not(.iat-totem-mode) .iat-footer .iat-footer-menu a{
  position:relative!important;
  z-index:4!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
  width:100%!important;
  min-height:42px!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.08)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  color:rgba(255,255,255,.86)!important;
  pointer-events:auto!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
}
body:not(.iat-totem-mode) .iat-footer .iat-footer-menu a::after{
  content:'›';
  font-size:1.1em;
  line-height:1;
  opacity:.75;
}
body:not(.iat-totem-mode) .iat-footer .iat-footer-menu a:hover,
body:not(.iat-totem-mode) .iat-footer .iat-footer-menu a:focus-visible{
  color:#fff!important;
  background:rgba(255,255,255,.15)!important;
  outline:none!important;
}

body:not(.iat-totem-mode) .iat-useful-modern-section{
  overflow:hidden!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:22px!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  gap:18px!important;
  align-items:flex-start!important;
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-content,
body:not(.iat-totem-mode) .iat-useful-modern-content *{
  min-width:0!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-number{
  font-size:clamp(1.55rem,2.5vw,2.55rem)!important;
  line-height:1!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card p{
  overflow-wrap:anywhere!important;
}

@media(max-width:1100px){
  body:not(.iat-totem-mode) .iat-events-container{
    width:calc(100% - 40px)!important;
  }
  body:not(.iat-totem-mode) #iat-eventi{
    min-height:1150px!important;
  }
  body:not(.iat-totem-mode) .iat-useful-modern-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-events-embed-section{
    padding-top:28px!important;
  }
  body:not(.iat-totem-mode) .iat-events-container{
    width:calc(100% - 24px)!important;
  }
  body:not(.iat-totem-mode) .iat-events-embed-section .iat-embed-shell{
    border-radius:24px!important;
  }
  body:not(.iat-totem-mode) #iat-eventi{
    min-height:1500px!important;
  }
  body:not(.iat-totem-mode) .iat-useful-modern-grid{
    grid-template-columns:1fr!important;
    gap:16px!important;
  }
  body:not(.iat-totem-mode) .iat-useful-modern-card{
    grid-template-columns:52px minmax(0,1fr)!important;
    gap:14px!important;
    padding:20px!important;
    border-radius:24px!important;
  }
  body:not(.iat-totem-mode) .iat-useful-modern-icon{
    width:52px!important;
    height:52px!important;
    font-size:1.35rem!important;
  }
  body:not(.iat-totem-mode) .iat-useful-modern-number{
    font-size:clamp(1.55rem,8vw,2.15rem)!important;
  }
  body:not(.iat-totem-mode) .iat-footer .iat-footer-menu{
    width:100%!important;
    max-width:420px!important;
  }
}
@media(max-width:430px){
  body:not(.iat-totem-mode) #iat-eventi{
    min-height:1700px!important;
  }
  body:not(.iat-totem-mode) .iat-useful-modern-card{
    grid-template-columns:1fr!important;
  }
  body:not(.iat-totem-mode) .iat-useful-modern-icon{
    margin-bottom:0!important;
  }
}


/* =========================================================
   FIX DEFINITIVO PAGINA NUMERI UTILI
   - ripristina testo visibile nelle card evidenziate
   - evita che regole premium generiche rendano bianco su bianco
   - mantiene layout responsive desktop/mobile
   ========================================================= */
body:not(.iat-totem-mode) .iat-useful-modern-grid{
  align-items:stretch!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card{
  overflow:hidden!important;
  min-height:220px!important;
  isolation:isolate!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured{
  background:linear-gradient(145deg, rgba(30,90,122,.98), rgba(38,112,145,.92))!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.28)!important;
  box-shadow:0 28px 85px rgba(22,55,78,.18)!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured::before{
  background:rgba(255,255,255,.14)!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured .iat-useful-modern-icon{
  background:rgba(255,255,255,.18)!important;
  color:#fff!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured h3,
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured .iat-useful-modern-number,
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured p{
  color:#fff!important;
  opacity:1!important;
  visibility:visible!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured p{
  color:rgba(255,255,255,.86)!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card.is-featured .iat-useful-modern-call{
  background:#fff!important;
  color:var(--primary)!important;
  box-shadow:none!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card h3,
body:not(.iat-totem-mode) .iat-useful-modern-number,
body:not(.iat-totem-mode) .iat-useful-modern-card p,
body:not(.iat-totem-mode) .iat-useful-modern-call{
  position:relative!important;
  z-index:2!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card:not(.is-featured) h3{
  color:var(--primary)!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card:not(.is-featured) .iat-useful-modern-number{
  color:var(--ink)!important;
}
body:not(.iat-totem-mode) .iat-useful-modern-card:not(.is-featured) p{
  color:var(--muted)!important;
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-useful-modern-card{
    min-height:0!important;
  }
}

/* Street Art opere: stile isolato solo per le nuove pagine dettaglio */
body:not(.iat-totem-mode) .iat-street-work-page{background:linear-gradient(180deg,#fff 0%,var(--sand) 100%)}
body:not(.iat-totem-mode) .iat-street-work-back{display:inline-flex;margin-bottom:22px;color:var(--primary);font-weight:800}
body:not(.iat-totem-mode) .iat-street-work-hero{display:grid;grid-template-columns:minmax(0,.92fr) minmax(320px,.68fr);gap:28px;align-items:stretch;margin-bottom:28px}
body:not(.iat-totem-mode) .iat-street-work-titlebox{display:flex;flex-direction:column;justify-content:center;border:1px solid rgba(30,90,122,.14);border-radius:34px;background:radial-gradient(circle at 0 0,rgba(122,176,196,.22),transparent 35%),#fff;padding:42px;box-shadow:var(--shadow)}
body:not(.iat-totem-mode) .iat-street-work-titlebox h1{font-family:Fraunces,serif;color:var(--primary);font-size:clamp(2.55rem,5.2vw,5.7rem);line-height:.95;letter-spacing:-.055em;margin:10px 0 0;max-width:980px}
body:not(.iat-totem-mode) .iat-street-work-cover{margin:0;border-radius:34px;overflow:hidden;min-height:390px;background:#eef6f8;box-shadow:var(--shadow);border:1px solid rgba(30,90,122,.12)}
body:not(.iat-totem-mode) .iat-street-work-cover img{width:100%;height:100%;object-fit:cover}
body:not(.iat-totem-mode) .iat-street-work-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 28px}
body:not(.iat-totem-mode) .iat-street-work-gallery figure{margin:0;border-radius:26px;overflow:hidden;background:#eef6f8;min-height:250px;border:1px solid rgba(30,90,122,.12);box-shadow:0 16px 38px rgba(26,34,54,.06)}
body:not(.iat-totem-mode) .iat-street-work-gallery img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
body:not(.iat-totem-mode) .iat-street-work-gallery figure:hover img{transform:scale(1.04)}
body:not(.iat-totem-mode) .iat-street-work-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
body:not(.iat-totem-mode) .iat-street-work-content{border:1px solid rgba(30,90,122,.12);border-radius:34px;background:#fff;padding:38px;box-shadow:0 20px 55px rgba(26,34,54,.07)}
body:not(.iat-totem-mode) .iat-street-work-content p{font-size:1.02rem;line-height:1.9;color:#34465a;margin:0 0 1.15rem}
body:not(.iat-totem-mode) .iat-street-work-content p:last-child{margin-bottom:0}
body:not(.iat-totem-mode) .iat-street-work-content em{color:var(--primary)}
body:not(.iat-totem-mode) .iat-street-work-side{position:sticky;top:105px;display:grid;gap:16px}
body:not(.iat-totem-mode) .iat-street-work-side-card{border:1px solid rgba(30,90,122,.12);border-radius:28px;background:linear-gradient(180deg,#fff,rgba(250,248,245,.96));padding:22px;box-shadow:0 16px 38px rgba(26,34,54,.06);overflow:hidden}
body:not(.iat-totem-mode) .iat-street-work-socials{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
body:not(.iat-totem-mode) .iat-street-work-socials a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 14px;border-radius:999px;background:#eef6f8;color:var(--primary);font-weight:900;border:1px solid rgba(122,176,196,.28)}
body:not(.iat-totem-mode) .iat-street-work-map{margin-top:14px;border-radius:22px;overflow:hidden;background:#eef6f8;border:1px solid rgba(30,90,122,.10)}
body:not(.iat-totem-mode) .iat-street-work-map iframe{display:block;border:0;width:100%}
body:not(.iat-totem-mode) .iat-street-work-return{width:100%;justify-content:center;text-align:center}
@media(max-width:980px){
  body:not(.iat-totem-mode) .iat-street-work-hero,
  body:not(.iat-totem-mode) .iat-street-work-layout{grid-template-columns:1fr}
  body:not(.iat-totem-mode) .iat-street-work-side{position:static}
  body:not(.iat-totem-mode) .iat-street-work-cover{min-height:320px}
}
@media(max-width:700px){
  body:not(.iat-totem-mode) .iat-street-work-titlebox,
  body:not(.iat-totem-mode) .iat-street-work-content{border-radius:26px;padding:24px}
  body:not(.iat-totem-mode) .iat-street-work-gallery{grid-template-columns:1fr}
  body:not(.iat-totem-mode) .iat-street-work-gallery figure{min-height:260px}
}


/* Street Art micro-fix: solo pagina Street Art e singole opere, escluso totem */
body:not(.iat-totem-mode) .iat-street-work-card p{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body:not(.iat-totem-mode) .iat-street-work-mobile-summary{display:none}
body:not(.iat-totem-mode) .iat-street-work-readmore summary{
  list-style:none;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:14px;
  padding:11px 15px;
  border-radius:999px;
  background:rgba(122,176,196,.15);
  color:var(--primary);
  font-weight:900;
}
body:not(.iat-totem-mode) .iat-street-work-readmore summary::-webkit-details-marker{display:none}
body:not(.iat-totem-mode) .iat-street-work-readmore .iat-less-label{display:none}
body:not(.iat-totem-mode) .iat-street-work-readmore[open] .iat-more-label{display:none}
body:not(.iat-totem-mode) .iat-street-work-readmore[open] .iat-less-label{display:inline}
body:not(.iat-totem-mode) .iat-street-work-readmore-body{margin-top:18px;padding-top:18px;border-top:1px solid rgba(30,90,122,.12)}
@media(max-width:700px){
  body:not(.iat-totem-mode) .iat-street-work-full-desktop{display:none}
  body:not(.iat-totem-mode) .iat-street-work-mobile-summary{display:block}
  body:not(.iat-totem-mode) .iat-street-work-readmore-body p:first-child{display:none}
  body:not(.iat-totem-mode) .iat-street-work-content{padding:22px}
}


/* Logo istituzionale e credito footer */
.iat-brand-logo{
  display:block;
  width:auto;
  height:54px;
  max-width:76px;
  object-fit:contain;
  flex:0 0 auto;
}
.iat-header-logo{
  height:52px;
  max-width:72px;
}
.iat-footer-logo{
  height:58px;
  max-width:82px;
  filter:drop-shadow(0 8px 18px rgba(0,0,0,.18));
}
.iat-brand-text{
  min-width:0;
}
.iat-footer-bottom{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px 18px;
  flex-wrap:wrap;
}
.iat-footer-powered{
  color:rgba(255,255,255,.72);
}
.iat-footer-powered a{
  color:rgba(255,255,255,.86);
  text-decoration:none;
  font-weight:700;
}
.iat-footer-powered a:hover,
.iat-footer-powered a:focus-visible{
  color:#fff;
  text-decoration:underline;
}
@media(max-width:760px){
  .iat-header-logo{height:46px;max-width:64px;}
  .iat-footer-logo{height:54px;max-width:76px;}
  .iat-header .iat-brand > .iat-brand-text{max-width:calc(100vw - 150px)!important;}
}
body.iat-totem-mode .iat-footer-powered a,
body.totem-mode .iat-footer-powered a,
body.iat-totem-page .iat-footer-powered a{
  pointer-events:none;
  text-decoration:none;
}

/* === FINAL HOME VISUAL FIX - immagini ufficiali e card esperienze bilanciate === */
body:not(.iat-totem-mode) .iat-home-experiences{
  padding-top: clamp(70px, 7vw, 115px) !important;
  padding-bottom: clamp(70px, 7vw, 115px) !important;
}
body:not(.iat-totem-mode) .iat-home-experiences .iat-home-split-heading{
  align-items:flex-end !important;
  margin-bottom:32px !important;
}
body:not(.iat-totem-mode) .iat-home-experiences .iat-home-split-heading h2{
  font-size:clamp(3.2rem, 5.8vw, 6rem) !important;
  line-height:.88 !important;
  letter-spacing:-.06em !important;
  max-width:760px !important;
}
body:not(.iat-totem-mode) .iat-home-experiences .iat-home-split-heading p{
  max-width:520px !important;
  font-size:1.02rem !important;
  line-height:1.7 !important;
  margin-bottom:10px !important;
}
body:not(.iat-totem-mode) .iat-experience-layout{
  display:grid !important;
  grid-template-columns:minmax(0, 1.08fr) minmax(420px, .92fr) !important;
  gap:24px !important;
  align-items:stretch !important;
}
body:not(.iat-totem-mode) .iat-experience-clean{
  overflow:hidden !important;
  border-radius:30px !important;
  min-height:0 !important;
}
body:not(.iat-totem-mode) .iat-experience-clean.is-large{
  grid-row:span 3 !important;
  display:grid !important;
  grid-template-rows:minmax(430px, 1fr) auto !important;
}
body:not(.iat-totem-mode) .iat-experience-clean:not(.is-large){
  display:grid !important;
  grid-template-columns:178px minmax(0,1fr) !important;
  min-height:178px !important;
}
body:not(.iat-totem-mode) .iat-experience-clean-media,
body:not(.iat-totem-mode) .iat-experience-clean.is-large .iat-experience-clean-media{
  min-height:0 !important;
  height:100% !important;
  background:#edf6f8 !important;
  border-radius:0 !important;
}
body:not(.iat-totem-mode) .iat-experience-clean-media img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  object-fit:cover !important;
  object-position:center !important;
}
body:not(.iat-totem-mode) .iat-experience-clean.is-large .iat-experience-clean-media img{
  object-position:center 48% !important;
}
body:not(.iat-totem-mode) .iat-experience-clean-body{
  padding:24px 28px 26px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  gap:10px !important;
}
body:not(.iat-totem-mode) .iat-experience-clean.is-large .iat-experience-clean-body{
  min-height:210px !important;
  justify-content:flex-start !important;
  padding:26px 30px 30px !important;
}
body:not(.iat-totem-mode) .iat-experience-clean-top{
  margin-bottom:2px !important;
}
body:not(.iat-totem-mode) .iat-experience-clean-top span{
  font-size:.72rem !important;
  letter-spacing:.14em !important;
  white-space:normal !important;
}
body:not(.iat-totem-mode) .iat-experience-clean-top em{
  font-size:2.25rem !important;
  opacity:.55 !important;
}
body:not(.iat-totem-mode) .iat-experience-clean h3{
  font-size:clamp(1.55rem,2.1vw,2.35rem) !important;
  line-height:1.03 !important;
  margin:0 !important;
}
body:not(.iat-totem-mode) .iat-experience-clean:not(.is-large) h3{
  font-size:clamp(1.35rem,1.55vw,1.78rem) !important;
}
body:not(.iat-totem-mode) .iat-experience-clean p{
  margin:0 !important;
  line-height:1.58 !important;
  font-size:.98rem !important;
}
body:not(.iat-totem-mode) .iat-experience-clean strong{
  margin-top:6px !important;
}
@media (max-width: 1100px){
  body:not(.iat-totem-mode) .iat-experience-layout{
    grid-template-columns:1fr !important;
  }
  body:not(.iat-totem-mode) .iat-experience-clean.is-large{
    grid-row:auto !important;
    grid-template-rows:minmax(360px, .9fr) auto !important;
  }
}
@media (max-width: 720px){
  body:not(.iat-totem-mode) .iat-home-experiences .iat-home-split-heading h2{
    font-size:clamp(2.7rem, 12vw, 4rem) !important;
  }
  body:not(.iat-totem-mode) .iat-experience-clean:not(.is-large){
    grid-template-columns:1fr !important;
  }
  body:not(.iat-totem-mode) .iat-experience-clean:not(.is-large) .iat-experience-clean-media{
    min-height:220px !important;
  }
}

/* Home WOW section - replacement for repetitive experiences block */
body:not(.iat-totem-mode) .iat-home-wow{
  padding:96px 0 88px;
  background:
    radial-gradient(circle at 12% 12%, rgba(91,197,219,.18), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(255,180,92,.18), transparent 36%),
    linear-gradient(180deg,#ffffff 0%,#f4fbfd 100%);
  overflow:hidden;
}
body:not(.iat-totem-mode) .iat-wow-panel{
  display:grid;
  grid-template-columns:minmax(360px,.95fr) minmax(380px,1.05fr);
  gap:34px;
  align-items:stretch;
  background:#073b52;
  color:#fff;
  border-radius:34px;
  padding:18px;
  box-shadow:0 32px 90px rgba(5,45,67,.18);
  position:relative;
  isolation:isolate;
}
body:not(.iat-totem-mode) .iat-wow-panel:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:34px;
  background:linear-gradient(135deg,rgba(255,255,255,.14),transparent 36%,rgba(91,197,219,.16));
  pointer-events:none;
  z-index:-1;
}
body:not(.iat-totem-mode) .iat-wow-visual{
  min-height:520px;
  border-radius:26px;
  overflow:hidden;
  position:relative;
  background:#0b526c;
}
body:not(.iat-totem-mode) .iat-wow-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.08) contrast(1.03);
}
body:not(.iat-totem-mode) .iat-wow-visual:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.05) 0%,rgba(0,32,49,.58) 100%);
}
body:not(.iat-totem-mode) .iat-wow-glow{
  position:absolute;
  width:300px;
  height:300px;
  right:-90px;
  top:-80px;
  border-radius:999px;
  background:rgba(255,184,80,.42);
  filter:blur(34px);
  z-index:1;
}
body:not(.iat-totem-mode) .iat-wow-badge{
  position:absolute;
  left:22px;
  top:22px;
  z-index:2;
  display:flex;
  gap:10px;
  align-items:center;
  background:rgba(255,255,255,.92);
  color:#06445b;
  border-radius:999px;
  padding:10px 14px;
  box-shadow:0 16px 40px rgba(0,0,0,.18);
}
body:not(.iat-totem-mode) .iat-wow-badge span{
  font-size:11px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#1683a0;
}
body:not(.iat-totem-mode) .iat-wow-badge strong{
  font-size:13px;
  font-weight:950;
}
body:not(.iat-totem-mode) .iat-wow-stats{
  position:absolute;
  left:22px;
  right:22px;
  bottom:22px;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
body:not(.iat-totem-mode) .iat-wow-stats div{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.22);
  border-radius:18px;
  padding:14px 12px;
  backdrop-filter:blur(14px);
}
body:not(.iat-totem-mode) .iat-wow-stats strong{
  display:block;
  font-size:24px;
  line-height:1;
  font-weight:950;
  color:#fff;
}
body:not(.iat-totem-mode) .iat-wow-stats span{
  display:block;
  margin-top:6px;
  font-size:11px;
  line-height:1.25;
  color:rgba(255,255,255,.82);
  font-weight:800;
}
body:not(.iat-totem-mode) .iat-wow-content{
  padding:38px 28px 28px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
body:not(.iat-totem-mode) .iat-wow-content .iat-kicker{
  color:#8be6ff;
}
body:not(.iat-totem-mode) .iat-wow-content h2{
  margin:10px 0 14px;
  font-size:clamp(42px,4.4vw,76px);
  line-height:.91;
  letter-spacing:-.07em;
  max-width:760px;
  color:#fff;
}
body:not(.iat-totem-mode) .iat-wow-content p{
  margin:0;
  max-width:620px;
  color:rgba(255,255,255,.78);
  font-weight:650;
  line-height:1.75;
  font-size:16px;
}
body:not(.iat-totem-mode) .iat-wow-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:28px 0;
}
body:not(.iat-totem-mode) .iat-wow-actions .iat-btn-outline{
  color:#fff;
  border-color:rgba(255,255,255,.34);
  background:rgba(255,255,255,.08);
}
body:not(.iat-totem-mode) .iat-wow-live-box{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius:24px;
  padding:14px;
  max-width:700px;
}
body:not(.iat-totem-mode) .iat-wow-live-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:4px 4px 12px;
  gap:14px;
}
body:not(.iat-totem-mode) .iat-wow-live-head span{
  font-size:12px;
  letter-spacing:.13em;
  text-transform:uppercase;
  font-weight:950;
  color:#8be6ff;
}
body:not(.iat-totem-mode) .iat-wow-live-head a{
  color:#fff;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
}
body:not(.iat-totem-mode) .iat-wow-event-row{
  display:grid;
  grid-template-columns:68px minmax(0,1fr);
  gap:10px 14px;
  align-items:center;
  color:#fff;
  text-decoration:none;
  background:rgba(255,255,255,.92);
  color:#073b52;
  border-radius:18px;
  padding:12px 14px;
  margin-top:8px;
  transition:transform .2s ease, box-shadow .2s ease;
}
body:not(.iat-totem-mode) .iat-wow-event-row:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 32px rgba(0,0,0,.16);
}
body:not(.iat-totem-mode) .iat-wow-event-row strong{
  grid-row:span 2;
  display:flex;
  width:56px;
  height:56px;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:#eaf8fb;
  color:#08728e;
  font-weight:950;
  text-align:center;
  line-height:1.05;
}
body:not(.iat-totem-mode) .iat-wow-event-row span{
  font-weight:950;
  line-height:1.15;
  overflow:hidden;
  text-overflow:ellipsis;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
}
body:not(.iat-totem-mode) .iat-wow-event-row em{
  font-style:normal;
  color:#668091;
  font-weight:700;
  font-size:12px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body:not(.iat-totem-mode) .iat-wow-strip{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:20px;
}
body:not(.iat-totem-mode) .iat-wow-strip a{
  min-height:190px;
  position:relative;
  overflow:hidden;
  border-radius:26px;
  text-decoration:none;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:22px;
  background-image:linear-gradient(180deg,rgba(0,31,45,.06),rgba(0,31,45,.78)),var(--wow-img);
  background-size:cover;
  background-position:center;
  box-shadow:0 22px 60px rgba(5,45,67,.14);
  transition:transform .2s ease, box-shadow .2s ease;
}
body:not(.iat-totem-mode) .iat-wow-strip a:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 72px rgba(5,45,67,.2);
}
body:not(.iat-totem-mode) .iat-wow-strip span{
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:950;
  color:#b7f2ff;
}
body:not(.iat-totem-mode) .iat-wow-strip strong{
  margin-top:8px;
  font-size:24px;
  line-height:1.02;
  letter-spacing:-.04em;
  max-width:260px;
}

@media (max-width: 1020px){
  body:not(.iat-totem-mode) .iat-wow-panel{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-wow-content{padding:10px 12px 20px;}
  body:not(.iat-totem-mode) .iat-wow-visual{min-height:420px;}
  body:not(.iat-totem-mode) .iat-wow-strip{grid-template-columns:1fr;}
}
@media (max-width: 640px){
  body:not(.iat-totem-mode) .iat-home-wow{padding:62px 0;}
  body:not(.iat-totem-mode) .iat-wow-panel{border-radius:24px;padding:12px;}
  body:not(.iat-totem-mode) .iat-wow-visual{min-height:340px;border-radius:18px;}
  body:not(.iat-totem-mode) .iat-wow-stats{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-wow-badge{left:14px;top:14px;right:14px;justify-content:space-between;}
  body:not(.iat-totem-mode) .iat-wow-content h2{font-size:40px;}
  body:not(.iat-totem-mode) .iat-wow-event-row{grid-template-columns:56px minmax(0,1fr);}
  body:not(.iat-totem-mode) .iat-wow-event-row strong{width:48px;height:48px;font-size:12px;}
}

/* Final home polish: replace bulky itinerary CTA with lighter visit flow */
body:not(.iat-totem-mode) .iat-home-visit-flow{
  padding:34px 0 92px;
  background:linear-gradient(180deg,#f4fbfd 0%,#ffffff 100%);
}
body:not(.iat-totem-mode) .iat-visit-flow-head{
  display:grid;
  grid-template-columns:minmax(280px,.8fr) minmax(320px,1fr);
  gap:28px;
  align-items:end;
  margin-bottom:20px;
}
body:not(.iat-totem-mode) .iat-visit-flow-head h2{
  margin:0;
  font-size:clamp(30px,3.4vw,54px);
  line-height:.96;
  letter-spacing:-.055em;
  color:#073b52;
  max-width:780px;
}
body:not(.iat-totem-mode) .iat-visit-flow-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
body:not(.iat-totem-mode) .iat-visit-flow-card{
  min-height:170px;
  border-radius:28px;
  padding:24px;
  text-decoration:none;
  color:#073b52;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(7,59,82,.10);
  box-shadow:0 20px 60px rgba(5,45,67,.08);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body:not(.iat-totem-mode) .iat-visit-flow-card:after{
  content:"→";
  position:absolute;
  right:22px;
  top:18px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:#eaf8fb;
  color:#08728e;
  font-weight:950;
}
body:not(.iat-totem-mode) .iat-visit-flow-card:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 76px rgba(5,45,67,.14);
  border-color:rgba(7,128,158,.22);
}
body:not(.iat-totem-mode) .iat-visit-flow-card span{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:#f1fbfd;
  color:#08728e;
  font-weight:950;
  letter-spacing:-.04em;
}
body:not(.iat-totem-mode) .iat-visit-flow-card strong{
  display:block;
  margin-top:26px;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.045em;
}
body:not(.iat-totem-mode) .iat-visit-flow-card em{
  display:block;
  margin-top:10px;
  font-style:normal;
  color:#668091;
  font-weight:650;
  line-height:1.45;
}
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong{
  color:#fff;
  background:linear-gradient(135deg,#073b52,#1683a0);
  border-color:rgba(255,255,255,.14);
}
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong span,
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong:after{
  background:rgba(255,255,255,.16);
  color:#fff;
}
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong em{
  color:rgba(255,255,255,.82);
}
@media (max-width: 980px){
  body:not(.iat-totem-mode) .iat-visit-flow-head,
  body:not(.iat-totem-mode) .iat-visit-flow-grid{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-home-visit-flow{padding:22px 0 70px;}
}

/* Final adjustment: centered visit CTA with all-blue cards */
body:not(.iat-totem-mode) .iat-home-visit-flow{
  padding:42px 0 92px;
  background:linear-gradient(180deg,#f4fbfd 0%,#ffffff 100%);
}
body:not(.iat-totem-mode) .iat-visit-flow-head{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:12px;
  margin:0 auto 26px;
  max-width:820px;
}
body:not(.iat-totem-mode) .iat-visit-flow-head .iat-kicker{
  margin:0 auto;
}
body:not(.iat-totem-mode) .iat-visit-flow-head h2{
  margin:0 auto;
  max-width:760px;
  text-align:center;
  font-size:clamp(32px,3.15vw,50px);
  line-height:1;
  letter-spacing:-.055em;
  color:#073b52;
}
body:not(.iat-totem-mode) .iat-visit-flow-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
}
body:not(.iat-totem-mode) .iat-visit-flow-card,
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong{
  min-height:164px;
  border-radius:28px;
  padding:24px;
  text-decoration:none;
  color:#fff;
  background:linear-gradient(135deg,#073b52 0%,#08728e 58%,#1683a0 100%);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 24px 68px rgba(5,45,67,.16);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden;
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body:not(.iat-totem-mode) .iat-visit-flow-card:nth-child(2){
  background:linear-gradient(135deg,#06435c 0%,#0a7892 62%,#1a94ad 100%);
}
body:not(.iat-totem-mode) .iat-visit-flow-card:nth-child(3){
  background:linear-gradient(135deg,#052f44 0%,#0b6f89 58%,#158da7 100%);
}
body:not(.iat-totem-mode) .iat-visit-flow-card:before{
  content:"";
  position:absolute;
  inset:auto -54px -70px auto;
  width:170px;
  height:170px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  pointer-events:none;
}
body:not(.iat-totem-mode) .iat-visit-flow-card:after,
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong:after{
  content:"→";
  position:absolute;
  right:22px;
  top:20px;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-weight:950;
}
body:not(.iat-totem-mode) .iat-visit-flow-card:hover{
  transform:translateY(-4px);
  box-shadow:0 34px 82px rgba(5,45,67,.22);
  border-color:rgba(255,255,255,.28);
}
body:not(.iat-totem-mode) .iat-visit-flow-card span,
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong span{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-weight:950;
  letter-spacing:-.04em;
}
body:not(.iat-totem-mode) .iat-visit-flow-card strong{
  display:block;
  margin-top:26px;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.045em;
  color:#fff;
}
body:not(.iat-totem-mode) .iat-visit-flow-card em,
body:not(.iat-totem-mode) .iat-visit-flow-card.is-strong em{
  display:block;
  margin-top:10px;
  font-style:normal;
  color:rgba(255,255,255,.82);
  font-weight:650;
  line-height:1.45;
}
@media (max-width: 980px){
  body:not(.iat-totem-mode) .iat-visit-flow-head,
  body:not(.iat-totem-mode) .iat-visit-flow-grid{grid-template-columns:1fr;}
  body:not(.iat-totem-mode) .iat-home-visit-flow{padding:26px 0 70px;}
}

/* Final pre-publication fix: mappa senza doppio frame + CTA responsive */
body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi) .iat-map-page-shell,
body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi) .iat-embed-shell{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  padding:0 !important;
  overflow:visible !important;
}
body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi) iframe,
body:not(.iat-totem-mode) #iat-mappa-eventi.iat-map-embed-frame{
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi){
  padding-top:34px !important;
}
body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi) .iat-container-embed{
  max-width:1180px !important;
}
body:not(.iat-totem-mode) .iat-visit-flow-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}
body:not(.iat-totem-mode) .iat-visit-flow-card:nth-child(4){
  background:linear-gradient(135deg,#052f44 0%,#0b6580 55%,#2b9bb2 100%) !important;
}
@media (max-width: 1180px){
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body:not(.iat-totem-mode) .iat-wow-panel{
    grid-template-columns:1fr !important;
  }
}
@media (max-width: 760px){
  body:not(.iat-totem-mode) .iat-visit-flow-grid,
  body:not(.iat-totem-mode) .iat-wow-strip{
    grid-template-columns:1fr !important;
  }
  body:not(.iat-totem-mode) .iat-wow-content h2,
  body:not(.iat-totem-mode) .iat-visit-flow-head h2{
    font-size:clamp(34px,10vw,44px) !important;
    letter-spacing:-.055em !important;
  }
  body:not(.iat-totem-mode) .iat-wow-actions{
    flex-direction:column !important;
  }
  body:not(.iat-totem-mode) .iat-wow-actions .iat-btn{
    width:100% !important;
    justify-content:center !important;
  }
  body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi) .iat-container-embed{
    width:calc(100% - 22px) !important;
  }
  body:not(.iat-totem-mode) #iat-mappa-eventi.iat-map-embed-frame{
    min-height:760px !important;
  }
}


/* === Desktop/mobile brochure page (separate from totem) === */
body:not(.iat-totem-mode) .iat-desktop-brochure-hero{
  position:relative;
  padding:clamp(120px,16vw,190px) 0 clamp(70px,9vw,120px);
  margin-top:-1px;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(5,55,76,.92),rgba(16,131,154,.7)),var(--brochureHero) center/cover no-repeat;
  border-radius:0 0 42px 42px;
}
body:not(.iat-totem-mode) .iat-desktop-brochure-hero:after{
  content:"";
  position:absolute;
  inset:auto -10% -45% -10%;
  height:55%;
  background:radial-gradient(circle at 50% 0,rgba(255,255,255,.28),transparent 60%);
  pointer-events:none;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card{
  position:relative;
  z-index:1;
  width:min(720px,100%);
  padding:clamp(28px,4vw,52px);
  border-radius:34px;
  background:rgba(255,255,255,.9);
  box-shadow:0 28px 90px rgba(0,45,65,.24);
  backdrop-filter:blur(18px);
}
body:not(.iat-totem-mode) .iat-brochure-hero-card h1{
  margin:8px 0 14px;
  color:var(--primary);
  font-size:clamp(46px,7vw,84px);
  line-height:.92;
  letter-spacing:-.06em;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card p{
  max-width:580px;
  margin:0 0 24px;
  color:rgba(16,32,51,.72);
  font-size:clamp(17px,1.6vw,21px);
  line-height:1.55;
}
body:not(.iat-totem-mode) .iat-brochure-hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
body:not(.iat-totem-mode) .iat-desktop-brochure-page{
  padding-top:clamp(60px,7vw,100px);
}
body:not(.iat-totem-mode) .iat-brochure-reader-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:28px;
  margin-bottom:24px;
}
body:not(.iat-totem-mode) .iat-brochure-reader-head h2{
  margin:8px 0 10px;
  color:var(--primary);
  font-size:clamp(34px,4.8vw,62px);
  line-height:.98;
  letter-spacing:-.055em;
}
body:not(.iat-totem-mode) .iat-brochure-reader-head p{
  max-width:720px;
  margin:0;
  color:rgba(16,32,51,.68);
  font-size:17px;
  line-height:1.6;
}
body:not(.iat-totem-mode) .iat-brochure-download{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:900;
  text-decoration:none;
  box-shadow:0 16px 36px rgba(5,77,105,.18);
}
body:not(.iat-totem-mode) .iat-brochure-reader-shell{
  border-radius:34px;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(122,176,196,.28);
  box-shadow:0 28px 90px rgba(0,45,65,.12);
  min-height:70vh;
}
body:not(.iat-totem-mode) .iat-brochure-reader-frame{
  display:block;
  width:100%;
  height:min(980px,78vh);
  min-height:620px;
  border:0;
  background:#f2f8fb;
}
body:not(.iat-totem-mode) .iat-brochure-empty-desktop{
  text-align:center;
  padding:clamp(50px,7vw,90px) 24px;
  border-radius:34px;
  background:#fff;
  border:1px solid rgba(122,176,196,.25);
  box-shadow:0 22px 70px rgba(0,45,65,.08);
}
body:not(.iat-totem-mode) .iat-brochure-empty-desktop span{
  width:82px;
  height:82px;
  display:grid;
  place-items:center;
  margin:0 auto 18px;
  border-radius:28px;
  background:rgba(122,176,196,.14);
  color:var(--primary);
  font-size:40px;
}
body:not(.iat-totem-mode) .iat-brochure-empty-desktop h2{
  margin:0 0 10px;
  color:var(--primary);
  font-size:clamp(30px,4vw,48px);
}
body:not(.iat-totem-mode) .iat-brochure-empty-desktop p{
  margin:0 auto;
  max-width:680px;
  color:rgba(16,32,51,.68);
  line-height:1.6;
}
@media (max-width: 860px){
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero{padding:110px 0 60px;border-radius:0 0 28px 28px}
  body:not(.iat-totem-mode) .iat-brochure-hero-card{border-radius:28px}
  body:not(.iat-totem-mode) .iat-brochure-reader-head{display:block;text-align:left}
  body:not(.iat-totem-mode) .iat-brochure-download{margin-top:18px}
  body:not(.iat-totem-mode) .iat-brochure-reader-shell{border-radius:24px}
  body:not(.iat-totem-mode) .iat-brochure-reader-frame{height:74vh;min-height:520px}
}
@media (max-width: 540px){
  body:not(.iat-totem-mode) .iat-brochure-hero-actions .iat-btn{width:100%;justify-content:center}
  body:not(.iat-totem-mode) .iat-brochure-reader-frame{height:70vh;min-height:430px}
}


/* =========================================================
   HEADER + MENU RESPONSIVE PULITO
   ---------------------------------------------------------
   - Desktop e mobile usano lo stesso menu principale.
   - Le bandiere mobile sono fuori dall'hamburger.
   - Il pannello mobile si apre con checkbox CSS, quindi non si rompe
     dopo il cambio lingua.
   - I sotto-menu mobile derivano dalla struttura .sub-menu.
   ========================================================= */

.iat-menu-checkbox{
  position:fixed;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.iat-lang-switcher-mobile-header{display:none;}

.iat-primary-menu,
.iat-primary-menu .sub-menu,
.iat-mobile-menu,
.iat-mobile-menu .sub-menu{
  list-style:none;
  margin:0;
  padding:0;
}

.iat-primary-menu{display:flex;align-items:center;gap:4px;}
.iat-primary-menu > li{position:relative;}
.iat-primary-menu > li > a{
  display:flex;
  align-items:center;
  min-height:44px;
  padding:10px 13px;
  border-radius:999px;
  color:var(--primary);
  font-weight:800;
  font-size:.93rem;
  line-height:1.1;
}
.iat-primary-menu > li:hover > a,
.iat-primary-menu > li:focus-within > a{background:rgba(122,176,196,.16);}
.iat-primary-menu .sub-menu{
  position:absolute;
  left:0;
  top:calc(100% + 8px);
  z-index:10020;
  min-width:230px;
  display:none;
  padding:10px;
  border:1px solid rgba(30,90,122,.12);
  border-radius:20px;
  background:#fff;
  box-shadow:0 18px 42px rgba(26,34,54,.14);
}
.iat-primary-menu li:hover > .sub-menu,
.iat-primary-menu li:focus-within > .sub-menu{display:grid;gap:5px;}
.iat-primary-menu .sub-menu a{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  color:var(--primary);
  font-weight:800;
  line-height:1.25;
}
.iat-primary-menu .sub-menu a:hover{background:rgba(122,176,196,.14);}

.iat-menu-toggle{display:none;}
.iat-mobile-panel{display:none;}

.iat-lang-switcher{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border:1px solid rgba(30,90,122,.15);
  border-radius:999px;
  background:rgba(255,255,255,.82);
  box-shadow:0 10px 28px rgba(26,34,54,.08);
}
.iat-lang-option{
  width:34px;
  height:34px;
  min-width:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  color:var(--primary);
  font-weight:900;
}
.iat-lang-option.active{background:var(--primary);color:#fff;}
.iat-lang-flag{font-size:18px;line-height:1;}

/* Footer logo leggibile su desktop */
.iat-footer .iat-brand-logo,
.iat-footer-logo,
.iat-footer img[class*="logo"]{
  width:auto !important;
  height:auto !important;
  max-width:190px !important;
  max-height:120px !important;
  object-fit:contain !important;
}
.iat-footer .iat-brand{
  align-items:center;
}

@media (max-width:980px){
  html{margin-top:0!important;}
  body{
    padding-top:74px!important;
    margin-top:0!important;
  }
  body.admin-bar{padding-top:74px!important;}
  body.admin-bar .iat-header{top:0!important;}
  #wpadminbar{display:none!important;}

  .iat-header{
    top:0!important;
    min-height:74px!important;
  }
  .iat-header .iat-container{width:100%;padding:0 16px;}
  .iat-header-inner{
    height:74px!important;
    min-height:74px!important;
    display:grid!important;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:12px!important;
  }
  .iat-nav,
  .iat-lang-switcher-desktop,
  .iat-header-actions .iat-btn{display:none!important;}

  .iat-brand{min-width:0!important;gap:0!important;}
  .iat-header .iat-brand-text{display:none!important;}
  .iat-header-logo{
    width:auto!important;
    height:52px!important;
    max-width:70px!important;
    object-fit:contain!important;
  }

  .iat-header-actions{
    grid-column:2 / 4;
    justify-self:end;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
  }
  .iat-lang-switcher-mobile-header{
    display:inline-flex!important;
    gap:6px!important;
    padding:6px!important;
    border-radius:999px!important;
    background:#fff!important;
  }
  .iat-lang-switcher-mobile-header .iat-lang-option{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
  }
  .iat-lang-switcher-mobile-header .iat-lang-flag{font-size:19px!important;}

  .iat-menu-toggle{
    width:48px;
    height:48px;
    min-width:48px;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    border:1px solid rgba(30,90,122,.15);
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 28px rgba(26,34,54,.10);
    cursor:pointer;
    position:relative;
    z-index:10050;
  }
  .iat-menu-icon,
  .iat-menu-icon::before,
  .iat-menu-icon::after{
    content:"";
    display:block;
    width:24px;
    height:3px;
    border-radius:99px;
    background:var(--primary);
    transition:transform .18s ease, opacity .18s ease;
  }
  .iat-menu-icon{position:relative;}
  .iat-menu-icon::before{position:absolute;top:-8px;left:0;}
  .iat-menu-icon::after{position:absolute;top:8px;left:0;}
  #iat-menu-control:checked ~ .iat-header .iat-menu-icon{background:transparent;}
  #iat-menu-control:checked ~ .iat-header .iat-menu-icon::before{transform:translateY(8px) rotate(45deg);}
  #iat-menu-control:checked ~ .iat-header .iat-menu-icon::after{transform:translateY(-8px) rotate(-45deg);}

  #iat-mobile-panel.iat-mobile-panel{
    display:block!important;
    position:fixed!important;
    left:14px!important;
    right:14px!important;
    top:82px!important;
    z-index:10040!important;
    max-height:calc(100vh - 96px)!important;
    overflow:auto!important;
    padding:18px!important;
    border:1px solid rgba(30,90,122,.12)!important;
    border-radius:28px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 26px 70px rgba(26,34,54,.20)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(-10px)!important;
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease!important;
  }
  #iat-menu-control:checked ~ #iat-mobile-panel.iat-mobile-panel{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
  }

  .iat-mobile-menu{display:grid!important;gap:10px!important;}
  .iat-mobile-menu li{margin:0!important;padding:0!important;}
  .iat-mobile-menu a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:58px!important;
    padding:14px 18px!important;
    border:1px solid rgba(30,90,122,.10)!important;
    border-radius:20px!important;
    background:#FAF8F5!important;
    color:var(--primary)!important;
    font-size:1.18rem!important;
    font-weight:900!important;
    line-height:1.15!important;
  }
  .iat-mobile-menu .menu-item-has-children > a::after{
    content:"⌄";
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    margin-left:12px;
    border-radius:999px;
    background:#fff;
    font-size:1rem;
    transition:transform .18s ease;
  }
  .iat-mobile-menu .menu-item-has-children.is-open > a::after{transform:rotate(180deg);}
  .iat-mobile-menu .sub-menu{
    display:none!important;
    gap:7px!important;
    padding:8px 0 2px 14px!important;
  }
  .iat-mobile-menu .menu-item-has-children.is-open > .sub-menu{display:grid!important;}
  .iat-mobile-menu .sub-menu a{
    min-height:48px!important;
    padding:12px 15px!important;
    border-radius:16px!important;
    font-size:.98rem!important;
    font-weight:850!important;
    background:#fff!important;
  }

  .iat-footer{
    margin-top:42px!important;
    padding-top:32px!important;
    padding-bottom:28px!important;
  }
  .iat-footer .iat-container,
  .iat-footer-grid{
    display:grid!important;
    gap:20px!important;
  }
  .iat-footer .iat-brand{
    display:grid!important;
    justify-items:center!important;
    text-align:center!important;
    gap:10px!important;
  }
  .iat-footer .iat-brand-logo,
  .iat-footer-logo,
  .iat-footer img[class*="logo"]{
    max-width:170px!important;
    max-height:115px!important;
    object-fit:contain!important;
    margin-inline:auto!important;
  }
  .iat-footer .iat-brand-text{display:block!important;text-align:center!important;}
  .iat-footer p{margin:8px auto 0!important;max-width:320px!important;text-align:center!important;}
}

@media (max-width:520px){
  body{padding-top:70px!important;}
  .iat-header{min-height:70px!important;}
  .iat-header-inner{
    height:70px!important;
    min-height:70px!important;
    gap:8px!important;
  }
  .iat-header-logo{height:46px!important;max-width:58px!important;}
  .iat-lang-switcher-mobile-header{gap:4px!important;padding:5px!important;}
  .iat-lang-switcher-mobile-header .iat-lang-option{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
  }
  .iat-lang-switcher-mobile-header .iat-lang-flag{font-size:17px!important;}
  .iat-menu-toggle{width:44px;height:44px;min-width:44px;border-radius:16px;}
  #iat-mobile-panel.iat-mobile-panel{
    top:76px!important;
    left:10px!important;
    right:10px!important;
    padding:14px!important;
    border-radius:24px!important;
  }
  .iat-mobile-menu{gap:8px!important;}
  .iat-mobile-menu a{
    min-height:54px!important;
    padding:13px 16px!important;
    border-radius:18px!important;
    font-size:1.08rem!important;
  }
  .iat-mobile-menu .sub-menu a{
    min-height:44px!important;
    font-size:.94rem!important;
  }
  .iat-footer{padding-top:26px!important;padding-bottom:24px!important;}
  .iat-footer .iat-brand-logo,
  .iat-footer-logo,
  .iat-footer img[class*="logo"]{
    max-width:155px!important;
    max-height:108px!important;
  }
}


/* ==========================================================
   MOBILE HEADER / MENU / FOOTER
   ----------------------------------------------------------
   Desktop and mobile use the same primary menu.
   Languages stay outside the hamburger on mobile.
   This block intentionally overrides older mobile experiments.
   ========================================================== */
@media (max-width: 980px){
  html{margin-top:0!important;}
  body:not(.iat-totem-mode){
    padding-top:0!important;
    margin-top:0!important;
  }
  body.admin-bar{padding-top:0!important;}
  body.admin-bar #wpadminbar{display:none!important;}

  body:not(.iat-totem-mode) .iat-header{
    position:sticky!important;
    top:0!important;
    left:auto!important;
    right:auto!important;
    z-index:10000!important;
    min-height:70px!important;
    background:rgba(255,255,255,.96)!important;
    border-bottom:1px solid rgba(30,90,122,.10)!important;
    box-shadow:0 10px 30px rgba(16,32,51,.07)!important;
  }
  body.admin-bar:not(.iat-totem-mode) .iat-header{top:0!important;}

  body:not(.iat-totem-mode) .iat-header .iat-container{
    width:100%!important;
    padding-inline:14px!important;
  }
  body:not(.iat-totem-mode) .iat-header-inner{
    height:70px!important;
    min-height:70px!important;
    display:grid!important;
    grid-template-columns:auto 1fr auto!important;
    align-items:center!important;
    gap:10px!important;
  }
  body:not(.iat-totem-mode) .iat-nav,
  body:not(.iat-totem-mode) .iat-lang-switcher-desktop,
  body:not(.iat-totem-mode) .iat-header-actions .iat-btn{
    display:none!important;
  }

  body:not(.iat-totem-mode) .iat-brand{
    min-width:0!important;
    gap:0!important;
  }
  body:not(.iat-totem-mode) .iat-header .iat-brand-text{
    display:none!important;
  }
  body:not(.iat-totem-mode) .iat-header-logo{
    width:auto!important;
    height:48px!important;
    max-width:62px!important;
    object-fit:contain!important;
  }

  body:not(.iat-totem-mode) .iat-header-actions{
    grid-column:2 / 4!important;
    justify-self:end!important;
    display:flex!important;
    align-items:center!important;
    gap:8px!important;
    min-width:0!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header{
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    padding:5px 7px!important;
    border:1px solid rgba(30,90,122,.13)!important;
    border-radius:999px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(16,32,51,.08)!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-option{
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    padding:0!important;
    border-radius:999px!important;
    display:grid!important;
    place-items:center!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-flag{
    font-size:18px!important;
    line-height:1!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-label{
    display:none!important;
  }

  body:not(.iat-totem-mode) .iat-menu-toggle{
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    border:1px solid rgba(30,90,122,.14)!important;
    border-radius:17px!important;
    background:#fff!important;
    box-shadow:0 8px 24px rgba(16,32,51,.10)!important;
    cursor:pointer!important;
    position:relative!important;
    z-index:10020!important;
  }
  body:not(.iat-totem-mode) .iat-menu-icon,
  body:not(.iat-totem-mode) .iat-menu-icon::before,
  body:not(.iat-totem-mode) .iat-menu-icon::after{
    content:""!important;
    display:block!important;
    width:23px!important;
    height:3px!important;
    border-radius:99px!important;
    background:var(--primary)!important;
    transition:transform .18s ease, opacity .18s ease!important;
  }
  body:not(.iat-totem-mode) .iat-menu-icon{position:relative!important;}
  body:not(.iat-totem-mode) .iat-menu-icon::before{position:absolute!important;top:-8px!important;left:0!important;}
  body:not(.iat-totem-mode) .iat-menu-icon::after{position:absolute!important;top:8px!important;left:0!important;}
  #iat-menu-control:checked ~ .iat-header .iat-menu-icon{background:transparent!important;}
  #iat-menu-control:checked ~ .iat-header .iat-menu-icon::before{transform:translateY(8px) rotate(45deg)!important;}
  #iat-menu-control:checked ~ .iat-header .iat-menu-icon::after{transform:translateY(-8px) rotate(-45deg)!important;}

  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    display:block!important;
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    top:78px!important;
    z-index:10010!important;
    max-height:calc(100vh - 90px)!important;
    overflow:auto!important;
    padding:14px!important;
    border:1px solid rgba(30,90,122,.12)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 24px 64px rgba(26,34,54,.20)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(-8px)!important;
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease!important;
  }
  #iat-menu-control:checked ~ #iat-mobile-panel.iat-mobile-panel{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
  }

  body:not(.iat-totem-mode) .iat-mobile-menu,
  body:not(.iat-totem-mode) .iat-mobile-menu ul{
    list-style:none!important;
    margin:0!important;
    padding:0!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu{
    display:grid!important;
    gap:8px!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu li{
    margin:0!important;
    padding:0!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:54px!important;
    padding:13px 16px!important;
    border:1px solid rgba(30,90,122,.10)!important;
    border-radius:18px!important;
    background:#FAF8F5!important;
    color:var(--primary)!important;
    font-size:1.08rem!important;
    font-weight:900!important;
    line-height:1.15!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children > a::after{
    content:"⌄"!important;
    width:32px!important;
    height:32px!important;
    min-width:32px!important;
    margin-left:12px!important;
    display:inline-grid!important;
    place-items:center!important;
    border-radius:999px!important;
    background:#fff!important;
    color:var(--primary)!important;
    font-size:1rem!important;
    line-height:1!important;
    transition:transform .18s ease!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children.is-open > a::after{
    transform:rotate(180deg)!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu{
    display:none!important;
    gap:7px!important;
    padding:7px 0 2px 12px!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children.is-open > .sub-menu{
    display:grid!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu a{
    min-height:44px!important;
    padding:11px 14px!important;
    border-radius:15px!important;
    background:#fff!important;
    font-size:.94rem!important;
    font-weight:800!important;
  }

  body:not(.iat-totem-mode) .iat-home-quick-actions{
    display:none!important;
  }

  body:not(.iat-totem-mode) .iat-footer{
    margin-top:36px!important;
  }
  body:not(.iat-totem-mode) .iat-footer-inner{
    padding:28px 0 22px!important;
    grid-template-columns:1fr!important;
    gap:18px!important;
    text-align:center!important;
    justify-items:center!important;
  }
  body:not(.iat-totem-mode) .iat-footer .iat-brand{
    display:grid!important;
    justify-items:center!important;
    text-align:center!important;
    gap:8px!important;
  }
  body:not(.iat-totem-mode) .iat-footer .iat-brand-logo,
  body:not(.iat-totem-mode) .iat-footer-logo,
  body:not(.iat-totem-mode) .iat-footer img[class*="logo"]{
    width:auto!important;
    height:auto!important;
    max-width:190px!important;
    max-height:126px!important;
    object-fit:contain!important;
    margin-inline:auto!important;
  }
  body:not(.iat-totem-mode) .iat-footer .iat-brand-text{
    display:block!important;
    text-align:center!important;
  }
  body:not(.iat-totem-mode) .iat-footer p{
    margin:6px auto 0!important;
    max-width:330px!important;
    text-align:center!important;
  }
  body:not(.iat-totem-mode) .iat-footer h3{
    margin-bottom:10px!important;
  }
  body:not(.iat-totem-mode) .iat-footer-bottom{
    padding:12px 0!important;
  }
}

@media (max-width: 520px){
  body:not(.iat-totem-mode) .iat-header-inner{
    height:68px!important;
    min-height:68px!important;
    gap:7px!important;
  }
  body:not(.iat-totem-mode) .iat-header-logo{
    height:44px!important;
    max-width:56px!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header{
    gap:3px!important;
    padding:4px 5px!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-option{
    width:29px!important;
    height:29px!important;
    min-width:29px!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-flag{
    font-size:17px!important;
  }
  body:not(.iat-totem-mode) .iat-menu-toggle{
    width:43px!important;
    height:43px!important;
    min-width:43px!important;
    border-radius:16px!important;
  }
  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    left:10px!important;
    right:10px!important;
    top:76px!important;
    padding:12px!important;
    border-radius:22px!important;
  }
}


/* =========================================================
   FINAL RESPONSIVE CLEANUP - 2026-06-30
   ---------------------------------------------------------
   Goals:
   - Desktop and mobile both use the primary menu.
   - Mobile languages stay outside the hamburger.
   - No duplicated language switcher on desktop/tablet.
   - No empty space above the mobile header.
   - Home quick action cards are hidden only on mobile.
   - Tablet layouts use stable 2-column grids instead of cramped desktop rows.
   ========================================================= */

/* Base visibility: desktop language visible, mobile language hidden unless mobile breakpoint. */
body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header{
  display:none !important;
}
body:not(.iat-totem-mode) .iat-mobile-panel{
  display:none;
}

/* Desktop e tablet grandi: mantiene visibile il menu principale ed evita duplicati. */
@media (min-width:981px){
  body:not(.iat-totem-mode){
    padding-top:82px !important;
    margin-top:0 !important;
  }
  body.admin-bar:not(.iat-totem-mode){
    padding-top:82px !important;
  }
  body:not(.iat-totem-mode) .iat-header{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    z-index:9999 !important;
  }
  body.admin-bar:not(.iat-totem-mode) .iat-header{
    top:32px !important;
  }
  body:not(.iat-totem-mode) .iat-header-inner{
    height:82px !important;
    min-height:82px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:16px !important;
  }
  body:not(.iat-totem-mode) .iat-nav{
    display:flex !important;
    align-items:center !important;
    min-width:0 !important;
  }
  body:not(.iat-totem-mode) .iat-primary-menu{
    display:flex !important;
    align-items:center !important;
    flex-wrap:nowrap !important;
    gap:3px !important;
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }
  body:not(.iat-totem-mode) .iat-primary-menu > li > a{
    white-space:nowrap !important;
  }
  body:not(.iat-totem-mode) .iat-header-actions{
    display:flex !important;
    align-items:center !important;
    gap:8px !important;
    flex:0 0 auto !important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-desktop{
    display:inline-flex !important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header,
  body:not(.iat-totem-mode) .iat-menu-toggle,
  body:not(.iat-totem-mode) #iat-mobile-panel{
    display:none !important;
  }
}

/* Desktop compatto e tablet orizzontale: riduce la pressione sull’header. */
@media (min-width:981px) and (max-width:1280px){
  body:not(.iat-totem-mode) .iat-header .iat-container{
    width:min(calc(100% - 28px),1180px) !important;
  }
  body:not(.iat-totem-mode) .iat-brand-text{
    max-width:190px !important;
  }
  body:not(.iat-totem-mode) .iat-brand-name{
    font-size:1rem !important;
  }
  body:not(.iat-totem-mode) .iat-brand-tag{
    font-size:.56rem !important;
    letter-spacing:.12em !important;
  }
  body:not(.iat-totem-mode) .iat-primary-menu > li > a{
    padding:9px 10px !important;
    font-size:.84rem !important;
  }
  body:not(.iat-totem-mode) .iat-header-actions .iat-btn{
    padding:10px 13px !important;
    font-size:.82rem !important;
    min-width:auto !important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher{
    gap:3px !important;
    padding:4px !important;
  }
  body:not(.iat-totem-mode) .iat-lang-option{
    width:28px !important;
    height:28px !important;
    min-width:28px !important;
  }
  body:not(.iat-totem-mode) .iat-lang-flag{
    font-size:16px !important;
  }
}

/* Tablet content: avoid cramped 4-column sections. */
@media (min-width:761px) and (max-width:1180px){
  body:not(.iat-totem-mode) .iat-home-split-heading{
    grid-template-columns:1fr !important;
    gap:18px !important;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:22px !important;
  }
  body:not(.iat-totem-mode) .iat-wow-layout,
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:1fr !important;
  }
  body:not(.iat-totem-mode) .iat-wow-strip{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* Mobile: header pulito, lingue esterne e menu nell’hamburger. */
@media (max-width:980px){
  html{margin-top:0 !important;}
  body:not(.iat-totem-mode){
    padding-top:0 !important;
    margin-top:0 !important;
    overflow-x:hidden !important;
  }
  body.admin-bar:not(.iat-totem-mode){
    padding-top:0 !important;
  }
  body.admin-bar:not(.iat-totem-mode) #wpadminbar{
    display:none !important;
  }

  body:not(.iat-totem-mode) .iat-header{
    position:sticky !important;
    top:0 !important;
    left:auto !important;
    right:auto !important;
    z-index:10000 !important;
    min-height:68px !important;
    margin:0 !important;
    background:rgba(255,255,255,.96) !important;
    border-bottom:1px solid rgba(30,90,122,.10) !important;
    box-shadow:0 10px 28px rgba(16,32,51,.07) !important;
  }
  body:not(.iat-totem-mode) .iat-header .iat-container{
    width:100% !important;
    padding-inline:12px !important;
  }
  body:not(.iat-totem-mode) .iat-header-inner{
    height:68px !important;
    min-height:68px !important;
    display:grid !important;
    grid-template-columns:auto 1fr auto !important;
    align-items:center !important;
    gap:8px !important;
  }
  body:not(.iat-totem-mode) .iat-brand{
    min-width:0 !important;
    gap:0 !important;
  }
  body:not(.iat-totem-mode) .iat-header .iat-brand-text{
    display:none !important;
  }
  body:not(.iat-totem-mode) .iat-header-logo{
    width:auto !important;
    height:44px !important;
    max-width:56px !important;
    object-fit:contain !important;
  }
  body:not(.iat-totem-mode) .iat-nav,
  body:not(.iat-totem-mode) .iat-lang-switcher-desktop,
  body:not(.iat-totem-mode) .iat-header-actions .iat-btn{
    display:none !important;
  }
  body:not(.iat-totem-mode) .iat-header-actions{
    grid-column:2 / 4 !important;
    justify-self:end !important;
    display:flex !important;
    align-items:center !important;
    gap:7px !important;
    min-width:0 !important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header{
    display:inline-flex !important;
    align-items:center !important;
    gap:4px !important;
    padding:4px 6px !important;
    border:1px solid rgba(30,90,122,.13) !important;
    border-radius:999px !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(16,32,51,.08) !important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-option{
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    padding:0 !important;
    display:grid !important;
    place-items:center !important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-flag{
    font-size:17px !important;
    line-height:1 !important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-label,
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .screen-reader-text{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
  }

  body:not(.iat-totem-mode) .iat-menu-toggle{
    width:43px !important;
    height:43px !important;
    min-width:43px !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    border:1px solid rgba(30,90,122,.14) !important;
    border-radius:16px !important;
    background:#fff !important;
    box-shadow:0 8px 22px rgba(16,32,51,.10) !important;
    cursor:pointer !important;
    position:relative !important;
    z-index:10020 !important;
  }

  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    display:block !important;
    position:fixed !important;
    left:10px !important;
    right:10px !important;
    top:76px !important;
    z-index:10010 !important;
    max-height:calc(100vh - 86px) !important;
    overflow:auto !important;
    padding:12px !important;
    border:1px solid rgba(30,90,122,.12) !important;
    border-radius:24px !important;
    background:rgba(255,255,255,.98) !important;
    box-shadow:0 24px 64px rgba(26,34,54,.20) !important;
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
    transform:translateY(-8px) !important;
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease !important;
  }
  #iat-menu-control:checked ~ #iat-mobile-panel.iat-mobile-panel{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;
    transform:translateY(0) !important;
  }

  body:not(.iat-totem-mode) .iat-mobile-menu,
  body:not(.iat-totem-mode) .iat-mobile-menu ul{
    list-style:none !important;
    margin:0 !important;
    padding:0 !important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu{
    display:grid !important;
    gap:8px !important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu a{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    min-height:52px !important;
    padding:12px 15px !important;
    border:1px solid rgba(30,90,122,.10) !important;
    border-radius:17px !important;
    background:#FAF8F5 !important;
    color:var(--primary) !important;
    font-size:1.04rem !important;
    font-weight:900 !important;
    line-height:1.15 !important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children > a::after{
    content:"⌄" !important;
    width:30px !important;
    height:30px !important;
    min-width:30px !important;
    margin-left:10px !important;
    display:inline-grid !important;
    place-items:center !important;
    border-radius:999px !important;
    background:#fff !important;
    color:var(--primary) !important;
    line-height:1 !important;
    transition:transform .18s ease !important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children.is-open > a::after{
    transform:rotate(180deg) !important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu{
    display:none !important;
    gap:7px !important;
    padding:7px 0 2px 12px !important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children.is-open > .sub-menu{
    display:grid !important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu a{
    min-height:43px !important;
    padding:10px 13px !important;
    border-radius:14px !important;
    background:#fff !important;
    font-size:.92rem !important;
    font-weight:800 !important;
  }

  body:not(.iat-totem-mode) .iat-home-quick-actions{
    display:none !important;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid,
  body:not(.iat-totem-mode) .iat-wow-strip,
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:1fr !important;
  }
  body:not(.iat-totem-mode) .iat-home-split-heading{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
}

@media (max-width:420px){
  body:not(.iat-totem-mode) .iat-header .iat-container{padding-inline:9px !important;}
  body:not(.iat-totem-mode) .iat-header-logo{height:40px !important;max-width:50px !important;}
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-option{width:28px !important;height:28px !important;min-width:28px !important;}
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-flag{font-size:16px !important;}
  body:not(.iat-totem-mode) .iat-menu-toggle{width:40px !important;height:40px !important;min-width:40px !important;}
}

/* Footer final sizing: bigger logo, less empty space on mobile. */
body:not(.iat-totem-mode) .iat-footer .iat-brand-logo,
body:not(.iat-totem-mode) .iat-footer-logo,
body:not(.iat-totem-mode) .iat-footer img[class*="logo"]{
  width:auto !important;
  height:auto !important;
  max-width:220px !important;
  max-height:140px !important;
  object-fit:contain !important;
}
@media (max-width:980px){
  body:not(.iat-totem-mode) .iat-footer{
    margin-top:34px !important;
  }
  body:not(.iat-totem-mode) .iat-footer-inner{
    padding:26px 0 20px !important;
    grid-template-columns:1fr !important;
    gap:16px !important;
    text-align:center !important;
    justify-items:center !important;
  }
  body:not(.iat-totem-mode) .iat-footer .iat-brand{
    display:grid !important;
    justify-items:center !important;
    text-align:center !important;
    gap:8px !important;
  }
  body:not(.iat-totem-mode) .iat-footer .iat-brand-logo,
  body:not(.iat-totem-mode) .iat-footer-logo,
  body:not(.iat-totem-mode) .iat-footer img[class*="logo"]{
    max-width:190px !important;
    max-height:120px !important;
    margin-inline:auto !important;
  }
  body:not(.iat-totem-mode) .iat-footer p{
    margin:6px auto 0 !important;
    max-width:330px !important;
    text-align:center !important;
  }
  body:not(.iat-totem-mode) .iat-footer h3{margin-bottom:10px !important;}
  body:not(.iat-totem-mode) .iat-footer-bottom{padding:12px 0 !important;}
}

/* =========================================================
   Final responsive header behavior
   - Desktop and mobile headers stay fixed while scrolling.
   - Il menu mobile resta collegato al menu principale.
   - Languages remain outside the hamburger on mobile.
   ========================================================= */
body:not(.iat-totem-mode) .iat-header{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  z-index:10000 !important;
}
body.admin-bar:not(.iat-totem-mode) .iat-header{top:32px !important;}

@media (min-width:981px){
  body:not(.iat-totem-mode){padding-top:82px !important;}
}

@media (max-width:980px){
  html{margin-top:0 !important;}
  body:not(.iat-totem-mode){
    padding-top:68px !important;
    margin-top:0 !important;
  }
  body.admin-bar:not(.iat-totem-mode){padding-top:68px !important;}
  body.admin-bar:not(.iat-totem-mode) #wpadminbar{display:none !important;}
  body.admin-bar:not(.iat-totem-mode) .iat-header{top:0 !important;}

  body:not(.iat-totem-mode) .iat-header{
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    right:0 !important;
    margin:0 !important;
    min-height:68px !important;
    background:rgba(255,255,255,.97) !important;
    border-bottom:1px solid rgba(30,90,122,.10) !important;
    box-shadow:0 10px 28px rgba(16,32,51,.07) !important;
  }
  body:not(.iat-totem-mode) .iat-header-inner{
    height:68px !important;
    min-height:68px !important;
  }
  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    position:fixed !important;
    top:76px !important;
    max-height:calc(100vh - 86px) !important;
  }
}

@media (max-width:420px){
  body:not(.iat-totem-mode){padding-top:64px !important;}
  body:not(.iat-totem-mode) .iat-header{min-height:64px !important;}
  body:not(.iat-totem-mode) .iat-header-inner{
    height:64px !important;
    min-height:64px !important;
  }
  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    top:72px !important;
    max-height:calc(100vh - 82px) !important;
  }
}

/* === Responsive itinerari finale: mobile/tablet più leggibile === */
@media (max-width: 900px){
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container,
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container-embed{
    width: calc(100% - 28px)!important;
  }
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-embed-shell{
    padding-top: 10px!important;
  }
}

@media (max-width: 560px){
  body:not(.iat-totem-mode) .iat-section-embed.iat-itinerari-section{
    padding-top: 16px!important;
  }
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container,
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container-embed{
    width: calc(100% - 12px)!important;
  }
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-embed-shell{
    padding-top: 6px!important;
  }
}


/* === Public brochure reader: no direct PDF download button, tracked online viewer === */
body:not(.iat-totem-mode) .iat-brochure-hero-actions .iat-btn-ghost,
body:not(.iat-totem-mode) .iat-brochure-download,
body:not(.iat-totem-mode) .iat-brochure-reader-frame,
body:not(.iat-totem-mode) .iat-brochure-reader-shell{display:none!important}
body:not(.iat-totem-mode) .iat-public-brochure-viewer-wrap{max-width:1100px;margin:26px auto 0}
body:not(.iat-totem-mode) .iat-public-pdf-viewer{width:100%;border-radius:32px;background:#fff;box-shadow:0 24px 80px rgba(13,55,75,.14);overflow:hidden;border:1px solid rgba(30,90,122,.12)}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar{position:sticky;top:calc(var(--iat-header-height, 86px) + 10px);z-index:10;display:flex;align-items:center;justify-content:center;gap:12px;padding:14px;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(30,90,122,.12);backdrop-filter:blur(12px)}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar button{width:54px;height:54px;border:0;border-radius:18px;background:#1E5A7A;color:#fff;font-size:28px;font-weight:900;cursor:pointer;box-shadow:0 10px 24px rgba(30,90,122,.16)}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar strong{min-width:120px;min-height:54px;display:grid;place-items:center;border-radius:18px;background:rgba(122,176,196,.13);color:#1E5A7A;font-size:18px;font-weight:900}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-stage{position:relative;min-height:620px;padding:24px;display:flex;justify-content:center;align-items:flex-start;background:#eef5f7;overflow:auto}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-stage canvas{max-width:100%;height:auto;background:#fff;box-shadow:0 16px 44px rgba(16,32,51,.16)}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-loading{position:absolute;inset:24px;display:grid;place-items:center;border-radius:24px;background:rgba(255,255,255,.94);color:#1E5A7A;font-size:22px;font-weight:900;text-align:center;padding:20px}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-loading[style*="none"]{display:none!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important}
@media (max-width: 767px){
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero{padding:86px 0 42px!important;border-radius:0 0 28px 28px!important}
  body:not(.iat-totem-mode) .iat-brochure-hero-card{border-radius:28px!important;padding:28px!important}
  body:not(.iat-totem-mode) .iat-brochure-hero-card h1{font-size:clamp(42px,14vw,68px)!important;line-height:.94!important}
  body:not(.iat-totem-mode) .iat-brochure-reader-head{display:block!important;text-align:left!important;margin-bottom:18px!important}
  body:not(.iat-totem-mode) .iat-public-brochure-viewer-wrap{margin-top:16px!important}
  body:not(.iat-totem-mode) .iat-public-pdf-viewer{border-radius:24px!important}
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar{top:calc(var(--iat-header-height-mobile, 74px) + 8px)!important;gap:8px!important;padding:10px!important;justify-content:space-between!important}
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar button{width:44px!important;height:44px!important;border-radius:15px!important;font-size:24px!important}
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar strong{min-width:88px!important;min-height:44px!important;border-radius:15px!important;font-size:15px!important}
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-stage{min-height:520px!important;padding:12px!important;overflow:auto!important}
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-loading{inset:12px!important;font-size:18px!important;border-radius:18px!important}
}

/* === Brochure page polish: coherent hero + embedded reader not cut === */
body:not(.iat-totem-mode) .iat-desktop-brochure-hero{
  padding:clamp(118px,12vw,160px) 0 clamp(58px,7vw,90px)!important;
  background:
    linear-gradient(90deg,rgba(4,43,61,.88) 0%,rgba(4,76,100,.72) 48%,rgba(16,131,154,.54) 100%),
    var(--brochureHero) center/cover no-repeat!important;
  border-radius:0 0 38px 38px!important;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card{
  width:min(760px,100%)!important;
  background:rgba(255,255,255,.94)!important;
  border:1px solid rgba(255,255,255,.72)!important;
  box-shadow:0 30px 90px rgba(0,45,65,.22)!important;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card h1{
  max-width:660px!important;
  font-size:clamp(42px,5.6vw,76px)!important;
  line-height:.98!important;
  letter-spacing:-.055em!important;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card p{
  max-width:640px!important;
  color:rgba(16,32,51,.76)!important;
}
body:not(.iat-totem-mode) .iat-brochure-reader-head{
  max-width:1100px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body:not(.iat-totem-mode) .iat-brochure-reader-head h2{
  font-size:clamp(32px,4vw,54px)!important;
  line-height:1.03!important;
}
body:not(.iat-totem-mode) .iat-public-brochure-viewer-wrap{
  max-width:min(1180px,calc(100vw - 48px))!important;
  margin:28px auto 0!important;
}
body:not(.iat-totem-mode) .iat-public-pdf-viewer{
  border-radius:34px!important;
  overflow:hidden!important;
}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar{
  position:relative!important;
  top:auto!important;
  gap:10px!important;
  padding:12px 14px!important;
}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-stage{
  height:calc(100vh - var(--iat-header-height, 86px) - 190px)!important;
  min-height:720px!important;
  max-height:980px!important;
  padding:18px!important;
  overflow:auto!important;
  align-items:flex-start!important;
}
body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-stage canvas{
  display:block!important;
  max-width:100%!important;
  height:auto!important;
  margin:0 auto!important;
}
@media (max-width: 980px){
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero{
    padding:104px 0 54px!important;
    border-radius:0 0 30px 30px!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card{
    width:100%!important;
  }
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-stage{
    height:76vh!important;
    min-height:640px!important;
    padding:14px!important;
  }
}
@media (max-width: 560px){
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero{
    padding:96px 0 34px!important;
    border-radius:0 0 26px 26px!important;
    background:
      linear-gradient(180deg,rgba(4,43,61,.84) 0%,rgba(16,131,154,.62) 100%),
      var(--brochureHero) center/cover no-repeat!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card{
    padding:24px!important;
    border-radius:26px!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card h1{
    font-size:clamp(34px,11vw,50px)!important;
    line-height:1!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card p{
    font-size:16px!important;
    line-height:1.55!important;
  }
  body:not(.iat-totem-mode) .iat-desktop-brochure-page{
    padding-top:36px!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-reader-head h2{
    font-size:clamp(30px,9vw,42px)!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-reader-head p{
    font-size:15px!important;
  }
  body:not(.iat-totem-mode) .iat-public-brochure-viewer-wrap{
    max-width:calc(100vw - 20px)!important;
    margin-top:18px!important;
  }
  body:not(.iat-totem-mode) .iat-public-pdf-viewer{
    border-radius:22px!important;
  }
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar{
    gap:6px!important;
    padding:8px!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
  }
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar button{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    border-radius:13px!important;
    font-size:21px!important;
  }
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-toolbar strong{
    min-width:66px!important;
    min-height:38px!important;
    border-radius:13px!important;
    font-size:14px!important;
  }
  body:not(.iat-totem-mode) .iat-public-pdf-viewer .totem-pdf-stage{
    height:72vh!important;
    min-height:560px!important;
    padding:8px!important;
  }
}

/* === Brochure hero refinement: align with site hero language === */
body:not(.iat-totem-mode) .iat-desktop-brochure-hero{
  position:relative!important;
  padding:clamp(96px,10vw,128px) 0 clamp(42px,5vw,62px)!important;
  background:
    linear-gradient(90deg, rgba(5,43,61,.82) 0%, rgba(8,62,84,.72) 36%, rgba(15,113,136,.46) 68%, rgba(17,128,151,.28) 100%),
    var(--brochureHero) center center/cover no-repeat!important;
  border-radius:0 0 34px 34px!important;
}
body:not(.iat-totem-mode) .iat-desktop-brochure-hero:after{
  display:none!important;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card{
  width:min(640px,100%)!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body:not(.iat-totem-mode) .iat-desktop-brochure-hero .iat-kicker{
  display:inline-flex!important;
  align-items:center!important;
  gap:8px!important;
  padding:10px 14px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.14)!important;
  border:1px solid rgba(255,255,255,.2)!important;
  color:rgba(255,255,255,.92)!important;
  letter-spacing:.12em!important;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card h1{
  margin:14px 0 14px!important;
  max-width:640px!important;
  color:#fff!important;
  font-size:clamp(42px,5.6vw,74px)!important;
  line-height:.96!important;
  letter-spacing:-.05em!important;
  text-shadow:0 8px 24px rgba(0,0,0,.18)!important;
}
body:not(.iat-totem-mode) .iat-brochure-hero-card p{
  max-width:580px!important;
  margin:0 0 22px!important;
  color:rgba(255,255,255,.88)!important;
  font-size:clamp(17px,1.45vw,20px)!important;
  line-height:1.6!important;
  text-shadow:0 2px 12px rgba(0,0,0,.12)!important;
}
body:not(.iat-totem-mode) .iat-brochure-hero-actions{
  margin-top:0!important;
}
body:not(.iat-totem-mode) .iat-desktop-brochure-hero .iat-btn-primary{
  background:#ffffff!important;
  color:var(--primary)!important;
  border-color:#ffffff!important;
  box-shadow:0 14px 28px rgba(0,0,0,.12)!important;
}
body:not(.iat-totem-mode) .iat-desktop-brochure-hero .iat-btn-primary:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 18px 32px rgba(0,0,0,.16)!important;
}
@media (min-width: 981px){
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero .iat-container{
    min-height:300px!important;
    display:flex!important;
    align-items:flex-end!important;
  }
}
@media (max-width: 980px){
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero{
    padding:92px 0 44px!important;
    border-radius:0 0 28px 28px!important;
    background:
      linear-gradient(180deg, rgba(5,43,61,.78) 0%, rgba(9,74,97,.68) 44%, rgba(14,113,136,.52) 100%),
      var(--brochureHero) center center/cover no-repeat!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card{
    width:min(560px,100%)!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card h1{
    font-size:clamp(38px,7vw,58px)!important;
  }
}
@media (max-width: 560px){
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero{
    padding:88px 0 32px!important;
    border-radius:0 0 24px 24px!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card{
    padding:20px!important;
    border-radius:24px!important;
    background:rgba(7,43,58,.18)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.12)!important;
    backdrop-filter:blur(6px)!important;
  }
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero .iat-kicker{
    padding:8px 12px!important;
    font-size:11px!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card h1{
    font-size:clamp(34px,10.6vw,46px)!important;
    line-height:1!important;
  }
  body:not(.iat-totem-mode) .iat-brochure-hero-card p{
    font-size:15px!important;
    line-height:1.55!important;
    margin-bottom:18px!important;
  }
  body:not(.iat-totem-mode) .iat-desktop-brochure-hero .iat-btn-primary{
    width:auto!important;
  }
}

/* === Final responsive menu guard for long translated labels === */
@media (max-width: 1280px){
  body:not(.iat-totem-mode) .iat-header{
    position:sticky!important;
    top:0!important;
    z-index:9999!important;
  }
  body.admin-bar:not(.iat-totem-mode) .iat-header{
    top:32px!important;
  }
  body:not(.iat-totem-mode) .iat-header-inner{
    min-height:72px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
  }
  body:not(.iat-totem-mode) .iat-brand{
    min-width:0!important;
    flex:0 1 auto!important;
  }
  body:not(.iat-totem-mode) .iat-brand-text{
    max-width:230px!important;
    overflow:hidden!important;
  }
  body:not(.iat-totem-mode) .iat-nav,
  body:not(.iat-totem-mode) .iat-lang-switcher-desktop,
  body:not(.iat-totem-mode) .iat-header-actions > .iat-btn{
    display:none!important;
  }
  body:not(.iat-totem-mode) .iat-header-actions{
    margin-left:auto!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    flex:0 0 auto!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header{
    display:flex!important;
    align-items:center!important;
    gap:6px!important;
    padding:7px 9px!important;
    border-radius:999px!important;
    background:#fff!important;
    border:1px solid rgba(30,90,122,.14)!important;
    box-shadow:0 8px 24px rgba(30,90,122,.10)!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-option{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    border-radius:50%!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-flag{
    font-size:17px!important;
    line-height:1!important;
  }
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-label,
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .screen-reader-text{
    display:none!important;
  }
  body:not(.iat-totem-mode) .iat-menu-toggle{
    display:grid!important;
    place-items:center!important;
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
    border-radius:18px!important;
    background:#fff!important;
    border:1px solid rgba(30,90,122,.14)!important;
    box-shadow:0 8px 24px rgba(30,90,122,.10)!important;
    cursor:pointer!important;
  }
  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    display:block!important;
    position:fixed!important;
    left:50%!important;
    top:calc(var(--iat-header-height, 72px) + 12px)!important;
    transform:translate(-50%,-18px)!important;
    width:min(760px,calc(100vw - 28px))!important;
    max-height:calc(100vh - var(--iat-header-height, 72px) - 28px)!important;
    overflow:auto!important;
    padding:18px!important;
    border-radius:26px!important;
    background:rgba(255,255,255,.98)!important;
    border:1px solid rgba(30,90,122,.13)!important;
    box-shadow:0 26px 80px rgba(16,32,51,.18)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:9998!important;
    transition:opacity .18s ease, transform .18s ease, visibility .18s ease!important;
  }
  body.admin-bar:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    top:calc(var(--iat-header-height, 72px) + 44px)!important;
  }
  body:not(.iat-totem-mode) #iat-menu-control:checked ~ #iat-mobile-panel.iat-mobile-panel{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translate(-50%,0)!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu,
  body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu{
    list-style:none!important;
    margin:0!important;
    padding:0!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu{
    display:grid!important;
    gap:10px!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu > li > a,
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children > a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:58px!important;
    padding:16px 20px!important;
    border-radius:18px!important;
    background:#fbfaf7!important;
    border:1px solid rgba(30,90,122,.12)!important;
    color:var(--primary)!important;
    font-weight:900!important;
    font-size:1.05rem!important;
    text-decoration:none!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children > a::after{
    content:'⌄'!important;
    display:grid!important;
    place-items:center!important;
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    border-radius:50%!important;
    background:#fff!important;
    color:var(--primary)!important;
    font-weight:900!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu{
    display:none!important;
    gap:8px!important;
    padding:8px 0 0 14px!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .menu-item-has-children.is-open > .sub-menu{
    display:grid!important;
  }
  body:not(.iat-totem-mode) .iat-mobile-menu .sub-menu a{
    display:block!important;
    padding:13px 16px!important;
    border-radius:15px!important;
    background:rgba(122,176,196,.10)!important;
    color:var(--primary)!important;
    font-weight:800!important;
    text-decoration:none!important;
  }
}
@media (max-width: 560px){
  body:not(.iat-totem-mode) .iat-header-inner{min-height:70px!important;gap:8px!important}
  body:not(.iat-totem-mode) .iat-brand-text{display:none!important}
  body:not(.iat-totem-mode) .iat-header-logo{max-width:58px!important;max-height:46px!important;width:auto!important;height:auto!important}
  body:not(.iat-totem-mode) .iat-header-actions{gap:7px!important}
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header{gap:4px!important;padding:6px!important}
  body:not(.iat-totem-mode) .iat-lang-switcher-mobile-header .iat-lang-option{width:28px!important;height:28px!important;min-width:28px!important}
  body:not(.iat-totem-mode) .iat-menu-toggle{width:44px!important;height:44px!important;min-width:44px!important;border-radius:16px!important}
  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{width:calc(100vw - 22px)!important;padding:14px!important;border-radius:24px!important}
}

/* === 1.0.42 - micro fix spazio alto in preview/mobile admin ===
   Non modifica menu, sottomenu, responsive generale o totem.
   Evita che la barra amministrativa sposti l’header verso il basso
   quando la barra admin non e visibile nel viewport mobile. */
@media (max-width: 782px){
  body.admin-bar:not(.iat-totem-mode) .iat-header{
    top:0!important;
  }
  body.admin-bar:not(.iat-totem-mode) .iat-mobile-panel{
    top:var(--iat-header-h,70px)!important;
    max-height:calc(100vh - var(--iat-header-h,70px))!important;
  }
}


/* === 1.0.43 - micro fix spazio vuoto sopra header mobile/tablet ===
   Causa: una regola finale precedente rendeva l'header sticky sotto 1280px.
   Con il padding-top del body questo creava uno spazio visibile sopra l'header.
   Qui si forza solo l'header del sito normale a fixed top:0, senza toccare
   menu, sottomenu, traduzioni, totem o layout delle pagine. */
@media (max-width:1280px){
  html{margin-top:0!important;}
  body:not(.iat-totem-mode){
    margin-top:0!important;
    padding-top:var(--iat-header-h,70px)!important;
  }
  body:not(.iat-totem-mode) .iat-header{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    margin-top:0!important;
  }
  body.admin-bar:not(.iat-totem-mode) #wpadminbar{display:none!important;}
  body.admin-bar:not(.iat-totem-mode) .iat-header{top:0!important;}
  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    top:calc(var(--iat-header-h,70px) + 8px)!important;
    max-height:calc(100vh - var(--iat-header-h,70px) - 18px)!important;
  }
  body.admin-bar:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel{
    top:calc(var(--iat-header-h,70px) + 8px)!important;
    max-height:calc(100vh - var(--iat-header-h,70px) - 18px)!important;
  }
}


/* === Public brochure image viewer 2026. Totem/PDF untouched. === */
body:not(.iat-totem-mode) .iat-public-image-brochure{
  max-width:1120px;
  margin:26px auto 0;
  border:1px solid rgba(30,90,122,.14);
  border-radius:30px;
  overflow:hidden;
  background:#eef5f7;
  box-shadow:0 22px 60px rgba(16,32,51,.12);
}
body:not(.iat-totem-mode) .iat-public-image-brochure-toolbar{
  position:sticky;
  top:calc(var(--iat-header-height, 86px) + 10px);
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:14px;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid rgba(30,90,122,.12);
  backdrop-filter:blur(12px);
}
body:not(.iat-totem-mode) .iat-public-image-brochure-toolbar button,
body:not(.iat-totem-mode) .iat-public-image-brochure-mobile-nav button{
  width:54px;
  height:54px;
  border:0;
  border-radius:18px;
  background:#1E5A7A;
  color:#fff;
  font-size:28px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  box-shadow:0 10px 24px rgba(30,90,122,.16);
}
body:not(.iat-totem-mode) .iat-public-image-brochure-toolbar button:disabled,
body:not(.iat-totem-mode) .iat-public-image-brochure-mobile-nav button:disabled{
  opacity:.38;
  cursor:not-allowed;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-counter{
  min-width:120px;
  min-height:54px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(122,176,196,.13);
  color:#1E5A7A;
  font-size:18px;
  font-weight:900;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-stage{
  position:relative;
  min-height:520px;
  padding:22px 18px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  overflow:auto;
  background:#eef5f7;
  -webkit-overflow-scrolling:touch;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-stage img{
  display:block;
  width:100%;
  max-width:980px;
  height:auto;
  background:#fff;
  box-shadow:0 16px 44px rgba(16,32,51,.16);
  user-select:none;
  -webkit-user-drag:none;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-loading{
  position:absolute;
  inset:24px;
  display:grid;
  place-items:center;
  border-radius:24px;
  background:rgba(255,255,255,.94);
  color:#1E5A7A;
  font-size:22px;
  font-weight:900;
  text-align:center;
  padding:20px;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-loading[hidden]{display:none!important}
body:not(.iat-totem-mode) .iat-public-image-brochure-note{
  margin:0;
  padding:14px 20px 18px;
  background:#fff;
  color:#617482;
  font-size:.94rem;
  text-align:center;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-mobile-nav{display:none}
@media(max-width:780px){
  body:not(.iat-totem-mode) .iat-public-image-brochure{margin-top:16px;border-radius:22px}
  body:not(.iat-totem-mode) .iat-public-image-brochure-toolbar{
    top:calc(var(--iat-header-height-mobile, 74px) + 8px);
    gap:8px;
    padding:10px;
    justify-content:space-between;
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-toolbar button{
    width:44px;
    height:44px;
    border-radius:15px;
    font-size:24px;
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-counter{
    min-width:88px;
    min-height:44px;
    border-radius:15px;
    font-size:15px;
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-stage{
    min-height:520px;
    padding:12px;
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-loading{
    inset:12px;
    font-size:18px;
    border-radius:18px;
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-mobile-nav{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    padding:12px;
    background:#fff;
    border-top:1px solid rgba(30,90,122,.12);
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-mobile-nav button{
    width:100%;
    height:48px;
    border-radius:16px;
    font-size:1rem;
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-note{font-size:.86rem;padding:12px 14px 16px}
}


/* === 1.0.46 - brochure public page default scale slightly reduced === */
body:not(.iat-totem-mode) .iat-public-image-brochure{
  max-width:920px!important;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-stage{
  padding:22px 18px!important;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-stage img{
  max-width:720px!important;
}
@media (max-width: 780px){
  body:not(.iat-totem-mode) .iat-public-image-brochure-stage img{
    max-width:100%!important;
  }
}


/* === 1.0.47 - brochure pages fit inside viewer without top clipping === */
body:not(.iat-totem-mode) .iat-public-image-brochure{
  max-width:840px!important;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-toolbar{
  position:relative!important;
  top:auto!important;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-stage{
  min-height:0!important;
  padding:24px 18px!important;
  align-items:flex-start!important;
}
body:not(.iat-totem-mode) .iat-public-image-brochure-stage img{
  max-width:640px!important;
}
@media (max-width: 780px){
  body:not(.iat-totem-mode) .iat-public-image-brochure-stage{
    padding:14px 10px!important;
  }
  body:not(.iat-totem-mode) .iat-public-image-brochure-stage img{
    max-width:100%!important;
  }
}


/* === 1.0.50 - contact page info-only refinement === */
body:not(.iat-totem-mode) .iat-contact-layout-info-only .iat-contact-info-panel .iat-contact-actions{align-items:stretch}
body:not(.iat-totem-mode) .iat-contact-layout-info-only .iat-contact-info-panel .iat-btn{justify-content:center}

/* === 1.0.51 - Montesilvano in Pillole (public desktop/mobile only) === */
body:not(.iat-totem-mode) .iat-pillole-hero,
body:not(.iat-totem-mode) .iat-pillola-single-hero{
  position:relative;
  min-height:420px;
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#123d55;
  color:#fff;
}
body:not(.iat-totem-mode) .iat-pillole-hero>img,
body:not(.iat-totem-mode) .iat-pillola-single-hero>img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
body:not(.iat-totem-mode) .iat-pillole-hero::after,
body:not(.iat-totem-mode) .iat-pillola-single-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(12,51,73,.94) 0%,rgba(30,90,122,.78) 48%,rgba(30,90,122,.26) 100%),linear-gradient(0deg,rgba(8,28,40,.68),transparent 70%);
}
body:not(.iat-totem-mode) .iat-pillole-hero-content,
body:not(.iat-totem-mode) .iat-pillola-single-hero-content{
  position:relative;
  z-index:1;
  padding:100px 0 72px;
  max-width:850px;
}
body:not(.iat-totem-mode) .iat-pillole-hero h1,
body:not(.iat-totem-mode) .iat-pillola-single-hero h1{
  margin:0;
  max-width:900px;
  font-family:Fraunces,serif;
  font-size:clamp(2.7rem,6vw,5.7rem);
  line-height:1.02;
  letter-spacing:-.045em;
}
body:not(.iat-totem-mode) .iat-pillole-hero p,
body:not(.iat-totem-mode) .iat-pillola-single-hero p{
  max-width:720px;
  margin:18px 0 0;
  color:rgba(255,255,255,.88);
  font-size:clamp(1.04rem,2vw,1.28rem);
}
body:not(.iat-totem-mode) .iat-pillole-latest-section{background:#f7fbfc}
body:not(.iat-totem-mode) .iat-pillole-section-heading{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);
  gap:36px;
  align-items:end;
  margin-bottom:30px;
}
body:not(.iat-totem-mode) .iat-pillole-section-heading h2{
  margin:8px 0 0;
  color:var(--primary);
  font-family:Fraunces,serif;
  font-size:clamp(2.1rem,4.6vw,4rem);
  line-height:1.05;
  letter-spacing:-.035em;
}
body:not(.iat-totem-mode) .iat-pillole-section-heading>p{
  margin:0;
  color:var(--muted);
  font-size:1.05rem;
}
body:not(.iat-totem-mode) .iat-pillole-featured{
  display:grid;
  grid-template-columns:minmax(0,1.65fr) minmax(290px,.72fr);
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:32px;
  background:#fff;
  box-shadow:0 24px 70px rgba(26,34,54,.11);
}
body:not(.iat-totem-mode) .iat-pillole-featured-video{min-width:0;background:#0f2633}
body:not(.iat-totem-mode) .iat-pillole-featured-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:20px;
  padding:38px;
}
body:not(.iat-totem-mode) .iat-pillole-featured-content>p{margin:0;color:var(--muted);font-size:1.02rem}
body:not(.iat-totem-mode) .iat-pillole-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#71808a;font-size:.82rem;font-weight:700}
body:not(.iat-totem-mode) .iat-pillole-category{
  padding:5px 9px;
  border-radius:999px;
  background:rgba(122,176,196,.16);
  color:var(--primary);
}
body:not(.iat-totem-mode) .iat-pillola-video-frame{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  overflow:hidden;
  background:#102b3a;
}
body:not(.iat-totem-mode) .iat-pillola-video-frame iframe,
body:not(.iat-totem-mode) .iat-pillola-video-frame video,
body:not(.iat-totem-mode) .iat-pillola-video-frame .wp-video,
body:not(.iat-totem-mode) .iat-pillola-video-frame .mejs-container{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
}
body:not(.iat-totem-mode) .iat-pillola-video-frame iframe,
body:not(.iat-totem-mode) .iat-pillola-video-frame video{position:absolute;inset:0;display:block;object-fit:cover}
body:not(.iat-totem-mode) .iat-pillola-video-frame.is-empty{
  display:grid;
  place-items:center;
  align-content:center;
  gap:12px;
  color:#fff;
  text-align:center;
  padding:24px;
}
body:not(.iat-totem-mode) .iat-pillola-video-frame.is-empty span{
  width:72px;
  height:72px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.25);
  font-size:26px;
  padding-left:5px;
}
body:not(.iat-totem-mode) .iat-pillola-video-frame.is-empty p{margin:0;color:rgba(255,255,255,.82)}
body:not(.iat-totem-mode) .iat-pillole-archive-section{background:#fff}
body:not(.iat-totem-mode) .iat-pillole-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
body:not(.iat-totem-mode) .iat-pillola-card{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:25px;
  background:#fff;
  box-shadow:0 16px 44px rgba(26,34,54,.08);
  transition:transform .22s ease,box-shadow .22s ease;
}
body:not(.iat-totem-mode) .iat-pillola-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(26,34,54,.13)}
body:not(.iat-totem-mode) .iat-pillola-card-media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:#123d55}
body:not(.iat-totem-mode) .iat-pillola-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
body:not(.iat-totem-mode) .iat-pillola-card:hover .iat-pillola-card-media img{transform:scale(1.045)}
body:not(.iat-totem-mode) .iat-pillola-card-media::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(8,28,40,.42),transparent 65%)}
body:not(.iat-totem-mode) .iat-pillola-play{
  position:absolute;
  z-index:1;
  left:20px;
  bottom:18px;
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#fff;
  color:var(--primary);
  box-shadow:0 12px 28px rgba(10,35,49,.22);
  font-size:18px;
  padding-left:3px;
}
body:not(.iat-totem-mode) .iat-pillola-card-body{padding:24px}
body:not(.iat-totem-mode) .iat-pillola-card h3{margin:9px 0 10px;font-family:Fraunces,serif;font-size:1.45rem;line-height:1.15;color:var(--primary)}
body:not(.iat-totem-mode) .iat-pillola-card p{margin:0 0 18px;color:var(--muted);font-size:.94rem}
body:not(.iat-totem-mode) .iat-pillola-card-link{display:inline-flex;color:var(--primary);font-weight:800;font-size:.92rem}
body:not(.iat-totem-mode) .iat-pillole-empty{
  max-width:760px;
  margin:auto;
  padding:60px 34px;
  border:1px solid var(--border);
  border-radius:30px;
  background:#fff;
  box-shadow:var(--shadow);
  text-align:center;
}
body:not(.iat-totem-mode) .iat-pillole-empty>span{width:74px;height:74px;margin:0 auto 20px;display:grid;place-items:center;border-radius:50%;background:var(--soft);color:var(--primary);font-size:25px;padding-left:4px}
body:not(.iat-totem-mode) .iat-pillole-empty h2{margin:0;color:var(--primary);font-family:Fraunces,serif;font-size:clamp(2rem,4vw,3rem)}
body:not(.iat-totem-mode) .iat-pillole-empty p{max-width:620px;margin:14px auto 0;color:var(--muted)}
body:not(.iat-totem-mode) .iat-pillola-single-hero{min-height:500px}
body:not(.iat-totem-mode) .iat-pillola-single-hero::after{background:linear-gradient(90deg,rgba(8,35,50,.95),rgba(30,90,122,.72) 55%,rgba(30,90,122,.30)),linear-gradient(0deg,rgba(8,28,40,.72),transparent 70%)}
body:not(.iat-totem-mode) .iat-pillola-single-hero h1{font-size:clamp(2.45rem,5.5vw,5rem)}
body:not(.iat-totem-mode) .iat-pillola-back{display:inline-flex;margin-bottom:24px;color:#fff;font-weight:800;font-size:.9rem}
body:not(.iat-totem-mode) .iat-pillola-single-container{max-width:1000px}
body:not(.iat-totem-mode) .iat-pillola-video-frame.is-single{overflow:hidden;border-radius:30px;box-shadow:0 24px 68px rgba(26,34,54,.16)}
body:not(.iat-totem-mode) .iat-pillola-single-content{max-width:820px;margin:42px auto 0;font-size:1.08rem;color:#344054}
body:not(.iat-totem-mode) .iat-pillola-single-content>*:first-child{margin-top:0}
body:not(.iat-totem-mode) .iat-pillola-single-content h2,
body:not(.iat-totem-mode) .iat-pillola-single-content h3{font-family:Fraunces,serif;color:var(--primary);line-height:1.15}
body:not(.iat-totem-mode) .iat-pillola-related{margin-top:72px;padding-top:62px;border-top:1px solid var(--border)}
@media(max-width:980px){
  body:not(.iat-totem-mode) .iat-pillole-featured{grid-template-columns:1fr}
  body:not(.iat-totem-mode) .iat-pillole-featured-content{padding:30px}
  body:not(.iat-totem-mode) .iat-pillole-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  body:not(.iat-totem-mode) .iat-pillole-hero,
  body:not(.iat-totem-mode) .iat-pillola-single-hero{min-height:390px}
  body:not(.iat-totem-mode) .iat-pillole-hero-content,
  body:not(.iat-totem-mode) .iat-pillola-single-hero-content{padding:76px 0 48px}
  body:not(.iat-totem-mode) .iat-pillole-section-heading{grid-template-columns:1fr;gap:12px}
  body:not(.iat-totem-mode) .iat-pillole-featured{border-radius:22px}
  body:not(.iat-totem-mode) .iat-pillole-featured-content{padding:24px}
  body:not(.iat-totem-mode) .iat-pillole-grid{grid-template-columns:1fr;gap:18px}
  body:not(.iat-totem-mode) .iat-pillola-card{border-radius:21px}
  body:not(.iat-totem-mode) .iat-pillola-video-frame.is-single{border-radius:20px}
  body:not(.iat-totem-mode) .iat-pillola-single-content{font-size:1rem;margin-top:30px}
  body:not(.iat-totem-mode) .iat-pillola-related{margin-top:52px;padding-top:44px}
}

/* =========================================================
   FIX FINALE HEADER MULTILINGUA — stringhe lunghe desktop
   Evita che tagline e voci tradotte (soprattutto DE/FR/EN)
   invadano il menu mantenendo il layout originale.
   ========================================================= */
@media (min-width:981px){
  body:not(.iat-totem-mode) .iat-header-inner{
    gap:clamp(10px,1vw,18px)!important;
  }

  body:not(.iat-totem-mode) .iat-brand{
    flex:0 1 370px!important;
    min-width:0!important;
    max-width:370px!important;
  }

  body:not(.iat-totem-mode) .iat-brand-text{
    flex:1 1 auto!important;
    min-width:0!important;
    max-width:286px!important;
  }

  body:not(.iat-totem-mode) .iat-brand-name{
    white-space:nowrap!important;
  }

  body:not(.iat-totem-mode) .iat-brand-tag{
    display:block!important;
    max-width:286px!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    line-height:1.15!important;
  }

  body:not(.iat-totem-mode) .iat-nav{
    flex:1 1 auto!important;
    min-width:0!important;
  }

  body:not(.iat-totem-mode) .iat-primary-menu{
    flex-wrap:nowrap!important;
    gap:clamp(0px,.18vw,4px)!important;
  }

  body:not(.iat-totem-mode) .iat-primary-menu > li{
    flex:0 0 auto!important;
  }

  body:not(.iat-totem-mode) .iat-primary-menu > li > a{
    white-space:nowrap!important;
    padding-inline:clamp(9px,.65vw,13px)!important;
    font-size:clamp(.84rem,.72vw,.93rem)!important;
  }

  body:not(.iat-totem-mode) .iat-header-actions{
    flex:0 0 auto!important;
  }

  /* Tedesco: tagline molto più lunga delle altre lingue. */
  body[data-iat-lang="de"]:not(.iat-totem-mode) .iat-brand-tag{
    font-size:.56rem!important;
    letter-spacing:.09em!important;
    max-width:270px!important;
  }

  /* Francese e inglese: un po' più compatti senza diventare illeggibili. */
  body[data-iat-lang="fr"]:not(.iat-totem-mode) .iat-brand-tag,
  body[data-iat-lang="en"]:not(.iat-totem-mode) .iat-brand-tag{
    font-size:.59rem!important;
    letter-spacing:.11em!important;
  }
}

/* Su desktop medi diamo priorità alla leggibilità del menu. */
@media (min-width:981px) and (max-width:1280px){
  body:not(.iat-totem-mode) .iat-brand{
    flex-basis:310px!important;
    max-width:310px!important;
  }
  body:not(.iat-totem-mode) .iat-brand-text{
    max-width:226px!important;
  }
  body:not(.iat-totem-mode) .iat-brand-tag{
    max-width:226px!important;
    font-size:.55rem!important;
    letter-spacing:.08em!important;
  }
  body:not(.iat-totem-mode) .iat-primary-menu > li > a{
    padding-inline:8px!important;
    font-size:.82rem!important;
  }
}


/* Language selector: stable ISO language abbreviations (IT / EN / DE / FR). */
body:not(.iat-totem-mode) .iat-lang-code{
  display:inline-block;
  font-size:.70rem !important;
  line-height:1 !important;
  font-weight:900 !important;
  letter-spacing:.02em !important;
}
@media(max-width:980px){
  body:not(.iat-totem-mode) .iat-lang-code{
    font-size:.66rem !important;
  }
}

/* Mobile navigation toggle: keep the hamburger visible on the light header. */
@media (max-width: 980px){
  body:not(.iat-totem-mode) .iat-menu-toggle .iat-menu-icon,
  body:not(.iat-totem-mode) .iat-menu-toggle .iat-menu-icon::before,
  body:not(.iat-totem-mode) .iat-menu-toggle .iat-menu-icon::after{
    background-color:#1E5A7A !important;
    opacity:1 !important;
    visibility:visible !important;
  }

  body:not(.iat-totem-mode) #iat-menu-control:checked ~ .iat-header .iat-menu-toggle .iat-menu-icon{
    background-color:transparent !important;
  }

  body:not(.iat-totem-mode) #iat-menu-control:checked ~ .iat-header .iat-menu-toggle .iat-menu-icon::before,
  body:not(.iat-totem-mode) #iat-menu-control:checked ~ .iat-header .iat-menu-toggle .iat-menu-icon::after{
    background-color:#1E5A7A !important;
  }
}


/* Compact desktop navigation: replace blank header square with a functional menu. */
@media (min-width:981px) and (max-width:1280px) {
  body:not(.iat-totem-mode) .iat-nav {display:none!important}
  body:not(.iat-totem-mode) .iat-header-actions > .iat-btn {display:none!important}
  body:not(.iat-totem-mode) .iat-menu-toggle {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    position:relative!important;flex:0 0 46px!important;width:46px!important;height:46px!important;
    border:1px solid rgba(224,185,107,.55)!important;border-radius:14px!important;
    background:#17243c!important;color:#fff!important;cursor:pointer!important;
    box-shadow:0 5px 16px rgba(0,0,0,.14)!important;
  }
  body:not(.iat-totem-mode) .iat-menu-toggle .iat-menu-icon {
    display:block!important;width:23px!important;height:18px!important;position:relative!important;
    background:linear-gradient(to bottom,#e9c678 0 3px,transparent 3px 8px,#e9c678 8px 11px,transparent 11px 15px,#e9c678 15px 18px)!important;
    border:0!important;border-radius:0!important;opacity:1!important;
  }
  body:not(.iat-totem-mode) .iat-menu-toggle .iat-menu-icon::before,
  body:not(.iat-totem-mode) .iat-menu-toggle .iat-menu-icon::after {content:none!important}
  body:not(.iat-totem-mode) #iat-mobile-panel.iat-mobile-panel {
    display:block!important;position:fixed!important;top:90px!important;
    left:auto!important;right:16px!important;width:min(420px,calc(100vw - 32px))!important;
    z-index:10010!important;max-height:calc(100dvh - 106px)!important;overflow:auto!important;
    padding:14px!important;border:1px solid rgba(30,90,122,.14)!important;border-radius:20px!important;
    background:#fff!important;box-shadow:0 22px 60px rgba(10,26,49,.24)!important;
    opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    transform:translateY(-9px)!important;transition:opacity .18s,transform .18s,visibility .18s!important;
  }
  body:not(.iat-totem-mode) #iat-menu-control:checked ~ #iat-mobile-panel.iat-mobile-panel {
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)!important;
  }
  body:not(.iat-totem-mode) #iat-mobile-panel .iat-mobile-menu,
  body:not(.iat-totem-mode) #iat-mobile-panel .iat-mobile-menu ul {list-style:none!important;margin:0!important;padding:0!important}
  body:not(.iat-totem-mode) #iat-mobile-panel .iat-mobile-menu {display:grid!important;gap:7px!important}
  body:not(.iat-totem-mode) #iat-mobile-panel .iat-mobile-menu a {
    display:flex!important;justify-content:space-between!important;align-items:center!important;
    min-height:44px!important;padding:9px 13px!important;border-radius:12px!important;
    background:#f6f5f0!important;color:#173b58!important;font-weight:750!important;
  }
  body:not(.iat-totem-mode) .iat-header-inner {justify-content:space-between!important}
  body:not(.iat-totem-mode) .iat-header-actions {margin-left:auto!important}
}

/* v1.2.5 - wider public map embed */
body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi) .iat-container-embed{
  width:min(calc(100% - 40px),1280px)!important;
  max-width:1280px!important;
}
body:not(.iat-totem-mode) #iat-mappa-eventi.iat-map-embed-frame{
  width:100%!important;
  min-height:980px!important;
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-section-embed:has(#iat-mappa-eventi) .iat-container-embed{
    width:calc(100% - 20px)!important;
  }
  body:not(.iat-totem-mode) #iat-mappa-eventi.iat-map-embed-frame{
    min-height:900px!important;
  }
}

/* 2026 responsive alignment refinement, public website only. */
body:not(.iat-totem-mode) .iat-home-wow .iat-container,
body:not(.iat-totem-mode) .iat-home-visit-flow .iat-container{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}
body:not(.iat-totem-mode) .iat-wow-panel,
body:not(.iat-totem-mode) .iat-wow-content,
body:not(.iat-totem-mode) .iat-wow-copy,
body:not(.iat-totem-mode) .iat-wow-live-box,
body:not(.iat-totem-mode) .iat-wow-strip > *,
body:not(.iat-totem-mode) .iat-home-card-grid > *,
body:not(.iat-totem-mode) .iat-visit-flow-grid > *{
  min-width:0;
}
body:not(.iat-totem-mode) .iat-wow-copy{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-width:0;
}
body:not(.iat-totem-mode) .iat-wow-content{
  min-width:0;
}
body:not(.iat-totem-mode) .iat-wow-content h2,
body:not(.iat-totem-mode) .iat-wow-content p{
  overflow-wrap:break-word;
}
body:not(.iat-totem-mode) .iat-wow-live-box{
  width:100%;
}
@media(min-width:761px) and (max-width:1180px){
  body:not(.iat-totem-mode) .iat-wow-panel{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:20px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-visual{min-height:340px!important}
  body:not(.iat-totem-mode) .iat-wow-content{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    align-items:start!important;
    gap:clamp(18px,3vw,32px)!important;
    padding:28px 24px 30px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-copy{
    grid-column:1;
    grid-row:1;
    justify-content:center;
  }
  body:not(.iat-totem-mode) .iat-wow-content h2{
    font-size:clamp(34px,4.1vw,52px)!important;
    line-height:1.04!important;
  }
  body:not(.iat-totem-mode) .iat-wow-actions{
    margin:22px 0 0!important;
  }
  body:not(.iat-totem-mode) .iat-wow-live-box{
    grid-column:2;
    grid-row:1;
    margin:0!important;
    max-width:none!important;
  }
  body:not(.iat-totem-mode) .iat-wow-strip{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:18px!important;
  }
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(min-width:1181px){
  body:not(.iat-totem-mode) .iat-wow-panel{
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr)!important;
  }
  body:not(.iat-totem-mode) .iat-wow-content{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-home-wow .iat-container,
  body:not(.iat-totem-mode) .iat-home-visit-flow .iat-container{
    width:calc(100% - 28px)!important;
  }
  body:not(.iat-totem-mode) .iat-wow-panel{
    grid-template-columns:minmax(0,1fr)!important;
    gap:15px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-content{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    padding:20px 14px 24px!important;
    gap:6px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-content h2{
    font-size:clamp(31px,8vw,44px)!important;
    line-height:1.04!important;
  }
  body:not(.iat-totem-mode) .iat-wow-copy{width:100%!important}
  body:not(.iat-totem-mode) .iat-wow-live-box{
    margin-top:16px!important;
    padding:12px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-strip{
    grid-template-columns:minmax(0,1fr)!important;
    gap:15px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-strip a{min-height:175px!important}
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:15px!important;
  }
}
@media(min-width:761px) and (max-width:980px){
  body:not(.iat-totem-mode) .iat-home-card-grid,
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* IAT public website | unified responsive alignment, Nov 2026.
   Does not apply to the separately rendered PHP Christmas Totem. */
body:not(.iat-totem-mode){
  --iat-page-gutter:clamp(16px,3vw,40px);
}
body:not(.iat-totem-mode) #content{
  min-width:0;
  max-width:100%;
}
body:not(.iat-totem-mode) #content .iat-container,
body:not(.iat-totem-mode) .iat-footer .iat-container{
  box-sizing:border-box;
  min-width:0;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
}
body:not(.iat-totem-mode) .iat-container > *,
body:not(.iat-totem-mode) .iat-container-embed > *,
body:not(.iat-totem-mode) .iat-grid > *,
body:not(.iat-totem-mode) .iat-home-card-grid > *,
body:not(.iat-totem-mode) .iat-official-grid > *,
body:not(.iat-totem-mode) .iat-sea-nature-mosaic > *,
body:not(.iat-totem-mode) .iat-sea-nature-strip > *,
body:not(.iat-totem-mode) .iat-wow-panel > *,
body:not(.iat-totem-mode) .iat-wow-content > *,
body:not(.iat-totem-mode) .iat-wow-strip > *,
body:not(.iat-totem-mode) .iat-visit-flow-grid > *{
  min-width:0;
}
body:not(.iat-totem-mode) #content img,
body:not(.iat-totem-mode) #content video,
body:not(.iat-totem-mode) #content iframe{
  max-width:100%;
}
body:not(.iat-totem-mode) .iat-section-heading,
body:not(.iat-totem-mode) .iat-visit-flow-head{
  margin-inline:auto!important;
}
body:not(.iat-totem-mode) .iat-section-heading{text-align:center}
body:not(.iat-totem-mode) .iat-section-heading h2,
body:not(.iat-totem-mode) .iat-visit-flow-head h2{
  max-width:100%!important;
  margin-inline:auto!important;
  overflow-wrap:normal;
  text-wrap:balance;
  line-height:1.08!important;
}
body:not(.iat-totem-mode) .iat-section-heading p{
  margin-left:auto!important;
  margin-right:auto!important;
}
body:not(.iat-totem-mode) .iat-page-title,
body:not(.iat-totem-mode) .iat-hero h1,
body:not(.iat-totem-mode) .iat-home-split-heading h2{
  max-width:100%;
  white-space:normal!important;
  overflow-wrap:normal;
}
body:not(.iat-totem-mode) .iat-home-split-heading,
body:not(.iat-totem-mode) .iat-visit-flow-grid,
body:not(.iat-totem-mode) .iat-home-card-grid,
body:not(.iat-totem-mode) .iat-official-grid,
body:not(.iat-totem-mode) .iat-sea-nature-mosaic{
  min-width:0;
}
body:not(.iat-totem-mode) .iat-visit-flow-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body:not(.iat-totem-mode) .iat-home-wow .iat-container,
body:not(.iat-totem-mode) .iat-home-visit-flow .iat-container{
  margin-inline:auto!important;
}
body:not(.iat-totem-mode) .iat-wow-content{
  min-width:0;
}
body:not(.iat-totem-mode) .iat-wow-copy{
  width:100%;
}
body:not(.iat-totem-mode) .iat-wow-live-box{
  max-width:100%;
  min-width:0;
}
body:not(.iat-totem-mode) .iat-wow-event-row{
  min-width:0;
}
body:not(.iat-totem-mode) .iat-wow-event-row span,
body:not(.iat-totem-mode) .iat-wow-event-row em{
  min-width:0;
  text-overflow:ellipsis;
}
body:not(.iat-totem-mode) .iat-back-to-top{
  max-width:calc(100vw - 24px);
}
/* Medium desktops should not squeeze four content cards into ~250px tiles. */
@media(min-width:1181px) and (max-width:1439px){
  body:not(.iat-totem-mode) .iat-home-card-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  body:not(.iat-totem-mode) .iat-home-wow .iat-container,
  body:not(.iat-totem-mode) .iat-home-visit-flow .iat-container{
    width:min(1180px,calc(100% - 64px))!important;
  }
}
@media(min-width:761px) and (max-width:1180px){
  body:not(.iat-totem-mode) .iat-home-card-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(16px,2vw,24px)!important;
  }
  body:not(.iat-totem-mode) .iat-home-split-heading{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  body:not(.iat-totem-mode) .iat-home-split-heading p{
    max-width:70ch;
  }
  body:not(.iat-totem-mode) .iat-grid-4,
  body:not(.iat-totem-mode) .iat-nature-story-grid,
  body:not(.iat-totem-mode) .iat-history-spot-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body:not(.iat-totem-mode) .iat-visit-flow-grid > :last-child:nth-child(odd){
    grid-column:1/-1;
  }
  body:not(.iat-totem-mode) .iat-wow-strip{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media(max-width:760px){
  body:not(.iat-totem-mode) .iat-home-card-grid,
  body:not(.iat-totem-mode) .iat-grid-3,
  body:not(.iat-totem-mode) .iat-grid-4,
  body:not(.iat-totem-mode) .iat-useful-modern-grid,
  body:not(.iat-totem-mode) .iat-history-spot-grid,
  body:not(.iat-totem-mode) .iat-nature-story-grid,
  body:not(.iat-totem-mode) .iat-official-grid,
  body:not(.iat-totem-mode) .iat-sea-nature-mosaic,
  body:not(.iat-totem-mode) .iat-sea-nature-strip,
  body:not(.iat-totem-mode) .iat-visit-flow-grid{
    grid-template-columns:minmax(0,1fr)!important;
    gap:clamp(14px,4vw,20px)!important;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid{
    grid-auto-rows:auto!important;
  }
  body:not(.iat-totem-mode) .iat-mosaic-card-large,
  body:not(.iat-totem-mode) .iat-mosaic-card-blue,
  body:not(.iat-totem-mode) .iat-home-big-card.is-featured{
    grid-column:auto!important;
    grid-row:auto!important;
  }
  body:not(.iat-totem-mode) .iat-home-card-grid > *,
  body:not(.iat-totem-mode) .iat-sea-nature-mosaic > *{
    width:100%;
  }
  body:not(.iat-totem-mode) .iat-home-split-heading,
  body:not(.iat-totem-mode) .iat-visit-flow-head{
    grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;
  }
  body:not(.iat-totem-mode) .iat-home-split-heading h2,
  body:not(.iat-totem-mode) .iat-section-heading h2,
  body:not(.iat-totem-mode) .iat-page-title{
    font-size:clamp(30px,8vw,44px)!important;
    line-height:1.1!important;
  }
  body:not(.iat-totem-mode) .iat-mosaic-content{
    padding:clamp(20px,5vw,30px);
  }
  body:not(.iat-totem-mode) .iat-mosaic-card{
    min-height:220px;
  }
  body:not(.iat-totem-mode) .iat-wow-visual{
    min-height:270px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-stats{
    gap:6px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-stats div{
    min-width:0;
  }
  body:not(.iat-totem-mode) .iat-wow-stats strong{
    font-size:clamp(17px,4vw,24px);
  }
  body:not(.iat-totem-mode) .iat-wow-strip{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body:not(.iat-totem-mode) .iat-visit-flow-grid > :last-child:nth-child(odd){
    grid-column:auto!important;
  }
  body:not(.iat-totem-mode) .iat-section,
  body:not(.iat-totem-mode) .iat-home-wow{
    padding-block:clamp(44px,10vw,68px);
  }
}
/* Mare e natura: three official place cards in one even row on desktop. */
@media (min-width:1050px){
  body:not(.iat-totem-mode) .iat-sea-nature-strip{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:clamp(16px,1.7vw,24px)!important;
    align-items:stretch!important;
  }
  body:not(.iat-totem-mode) .iat-sea-nature-strip > *{
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
    width:100%!important;
    height:100%;
  }
  body:not(.iat-totem-mode) .iat-sea-nature-strip .iat-official-image{
    min-height:220px!important;
    height:clamp(205px,18vw,245px)!important;
  }
  body:not(.iat-totem-mode) .iat-sea-nature-strip .iat-official-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
}
@media (min-width:761px) and (max-width:1049px){
  body:not(.iat-totem-mode) .iat-sea-nature-strip{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    align-items:stretch!important;
  }
  body:not(.iat-totem-mode) .iat-sea-nature-strip > *{
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
  }
}
@media (max-width:760px){
  body:not(.iat-totem-mode) .iat-sea-nature-strip > *{
    grid-row:auto!important;
    grid-column:auto!important;
  }
}

@media(max-width:480px){
  body:not(.iat-totem-mode) .iat-section-embed .iat-container,
  body:not(.iat-totem-mode) .iat-itinerari-section .iat-container{
    width:calc(100% - 24px)!important;
  }
  body:not(.iat-totem-mode) .iat-home-wow .iat-container,
  body:not(.iat-totem-mode) .iat-home-visit-flow .iat-container{
    width:calc(100% - 24px)!important;
  }
  body:not(.iat-totem-mode) .iat-wow-content{
    padding:16px 8px 22px!important;
  }
  body:not(.iat-totem-mode) .iat-wow-event-row{
    gap:8px!important;
  }
}


