/*
 * Toto's Pub — top bar, header, menu mobile, barra azioni e footer globali.
 * Child theme flatsome-child. Classi .tp- ; tutte le regole sono limitate a body.tp-global.
 * Versione 1.0.1
 */

/* ---------- Font (ospitati nel child theme, SIL Open Font License) ---------- */
@font-face{font-family:"TP Alegreya Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/alegreya-sans-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"TP Alegreya Sans";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/alegreya-sans-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"TP Alegreya Sans";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/alegreya-sans-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"TP Alegreya";font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/alegreya-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"TP Alegreya";font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/alegreya-latin-800-normal.woff2") format("woff2")}
@font-face{font-family:"TP Alegreya";font-style:italic;font-weight:500;font-display:swap;src:url("../fonts/alegreya-latin-500-italic.woff2") format("woff2")}

/* ---------- Token ---------- */
:root{
  --tp-navy:#000035;
  --tp-navy-deep:#00001e;
  --tp-navy-raise:#0b0b4f;
  --tp-red:#d10a11;
  --tp-red-hover:#ad070d;
  --tp-gold:#c9a45c;
  --tp-ink:#ffffff;
  --tp-ink-soft:rgba(255,255,255,.76);
  --tp-ink-mute:rgba(255,255,255,.56);
  --tp-line:rgba(255,255,255,.13);
  --tp-display:"TP Alegreya","Alegreya",Georgia,"Times New Roman",serif;
  --tp-ui:"TP Alegreya Sans","Segoe UI",system-ui,-apple-system,sans-serif;
  --tp-ease:cubic-bezier(.2,.8,.2,1);
  --tp-top:var(--wp-admin--admin-bar--height,0px);
}

/* ---------- Base e neutralizzazione degli stili Flatsome sui nostri elementi (specificità minima con :where) ---------- */
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer){font-family:var(--tp-ui);line-height:1.5;-webkit-font-smoothing:antialiased;text-align:left}
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) *,
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) *::before,
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) *::after{box-sizing:border-box}
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) :where(ul,li,p,address){margin:0;padding:0;list-style:none;font-style:normal}
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) a{color:inherit;text-decoration:none}
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) button{margin:0;min-height:0;max-width:none;line-height:inherit;letter-spacing:inherit;text-transform:none;box-shadow:none;font-family:inherit;font-size:inherit}
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) img{max-width:100%;height:auto}
body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) :focus-visible{outline:2px solid var(--tp-gold);outline-offset:3px;border-radius:6px}
body.tp-global .tp-wrap{max-width:1320px;margin-inline:auto;padding-inline:32px}
body.tp-global .tp-ico{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- Top bar ---------- */
body.tp-global .tp-topbar{position:relative;z-index:51;background:var(--tp-navy-deep);border-bottom:1px solid var(--tp-line);font-size:14px;color:var(--tp-ink-soft)}
body.tp-global .tp-topbar .tp-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:40px}
body.tp-global .tp-topbar__info,body.tp-global .tp-topbar__aside{display:flex;align-items:center;gap:22px}
body.tp-global .tp-topbar__item{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;color:var(--tp-ink-soft);transition:color .2s}
body.tp-global .tp-topbar__item .tp-ico{color:var(--tp-gold);font-size:15px}
body.tp-global a.tp-topbar__item:hover{color:var(--tp-ink)}
body.tp-global .tp-topbar__sep{width:1px;height:16px;background:var(--tp-line)}
body.tp-global .tp-social{display:flex;gap:4px}
body.tp-global .tp-social a{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;color:var(--tp-ink-soft);transition:background .2s,color .2s,border-color .2s}
body.tp-global .tp-social a:hover{background:rgba(255,255,255,.09);color:var(--tp-ink)}
body.tp-global .tp-social .tp-ico{font-size:16px}
body.tp-global .tp-lang{display:flex;align-items:center;gap:2px;font-weight:700;font-size:13px;letter-spacing:.08em}
body.tp-global .tp-lang a{padding:4px 7px;border-radius:6px;color:var(--tp-ink-mute)}
body.tp-global .tp-lang a[aria-current]{color:var(--tp-ink);background:rgba(255,255,255,.08)}
body.tp-global .tp-lang a:hover{color:var(--tp-ink)}

/* ---------- Header (sticky gestito qui; quello di Flatsome è disattivato via filtro) ---------- */
body.tp-global #header{position:sticky;top:var(--tp-top);z-index:50;height:auto;min-height:0;background:transparent}
body.tp-global #header .header-wrapper{position:relative!important;top:auto!important;height:auto!important;background:transparent!important;box-shadow:none!important}
body.tp-global .tp-header{position:relative;background:var(--tp-navy);color:var(--tp-ink);transition:background-color .3s,box-shadow .3s}
body.tp-global .tp-header__row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;height:86px;transition:height .3s var(--tp-ease)}
body.tp-global .tp-logo{position:relative;display:block;width:132px;height:100%;z-index:2;transition:width .3s var(--tp-ease)}
body.tp-global .tp-logo img{position:absolute;left:0;top:10px;width:132px;max-width:none;height:auto;filter:drop-shadow(0 10px 16px rgba(0,0,20,.55));transition:width .3s var(--tp-ease),top .3s var(--tp-ease)}
body.tp-global .tp-logo__text{font-family:var(--tp-display);font-size:24px;font-weight:800;line-height:86px}
body.tp-global .tp-nav{position:relative;z-index:3}
body.tp-global .tp-nav__list{display:flex;justify-content:center;align-items:center;gap:2px}
body.tp-global .tp-nav__item{position:relative}
body.tp-global .tp-nav__link{position:relative;display:flex;align-items:center;gap:6px;padding:10px 12px;font-weight:700;font-size:16px;letter-spacing:.015em;color:var(--tp-ink);white-space:nowrap;background:none;border:0;cursor:pointer;border-radius:8px}
body.tp-global .tp-nav__link::after{content:"";position:absolute;left:12px;right:12px;bottom:3px;height:2px;background:var(--tp-red);border-radius:2px;transform:scaleX(0);transform-origin:left;transition:transform .25s var(--tp-ease)}
body.tp-global .tp-nav__link:hover::after,body.tp-global .tp-nav__item:focus-within>.tp-nav__link::after,body.tp-global .tp-nav__link[aria-current]::after{transform:scaleX(1)}
body.tp-global .tp-nav__link .tp-ico{font-size:13px;color:var(--tp-gold);transition:transform .25s var(--tp-ease)}
body.tp-global .tp-nav__item.has-sub:hover>.tp-nav__link .tp-ico,body.tp-global .tp-nav__item.is-open>.tp-nav__link .tp-ico{transform:rotate(180deg)}
body.tp-global .tp-sub{position:absolute;top:calc(100% + 10px);left:50%;min-width:250px;padding:10px;background:var(--tp-navy-raise);border:1px solid var(--tp-line);border-top:2px solid var(--tp-gold);border-radius:14px;box-shadow:0 24px 50px rgba(0,0,20,.55);opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:opacity .18s ease,transform .22s var(--tp-ease),visibility 0s linear .22s}
body.tp-global .tp-sub::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
body.tp-global .tp-sub--cols{min-width:440px}
body.tp-global .tp-sub--cols .tp-sub__list{display:grid;grid-template-columns:1fr 1fr;column-gap:6px}
body.tp-global .tp-sub__nested{padding-left:12px;margin-left:12px;border-left:1px solid var(--tp-line)}
body.tp-global .tp-sub__nested a{font-size:14.5px;padding-block:7px}
body.tp-global .tp-sub__label{display:block;padding:9px 12px 4px;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--tp-gold)}
body.tp-global .tp-nav__item.has-sub:hover>.tp-sub,body.tp-global .tp-nav__item:focus-within>.tp-sub,body.tp-global .tp-nav__item.is-open>.tp-sub{opacity:1;visibility:visible;transform:translate(-50%,0);transition-delay:0s}
body.tp-global .tp-sub a{display:block;padding:9px 12px;border-radius:9px;color:var(--tp-ink-soft);font-size:15.5px;transition:background .15s,color .15s}
body.tp-global .tp-sub a:hover,body.tp-global .tp-sub a[aria-current]{background:rgba(255,255,255,.07);color:var(--tp-ink)}
body.tp-global .tp-sub a.tp-sub__all{font-size:11.5px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--tp-gold)}
body.tp-global .tp-actions{display:flex;align-items:center;gap:10px}
body.tp-global .tp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;margin:0;padding:0 22px;border-radius:999px;font-family:var(--tp-ui);font-weight:800;font-size:15px;line-height:1;letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;border:1.5px solid transparent;transition:background .2s,border-color .2s,transform .2s var(--tp-ease),height .3s var(--tp-ease)}
body.tp-global .tp-btn .tp-ico{font-size:17px}
body.tp-global .tp-btn--red{background:var(--tp-red);color:#fff;box-shadow:0 8px 22px rgba(209,10,17,.35)}
body.tp-global .tp-btn--red:hover{background:var(--tp-red-hover);color:#fff;transform:translateY(-1px)}
body.tp-global .tp-btn--ghost{border-color:rgba(255,255,255,.42);color:#fff}
body.tp-global .tp-btn--ghost:hover{border-color:#fff;background:rgba(255,255,255,.07);color:#fff}
body.tp-global .tp-burger{display:none;width:44px;height:44px;border:0;background:none;color:var(--tp-ink);padding:0;cursor:pointer;border-radius:10px;place-items:center}
body.tp-global .tp-burger .tp-ico{font-size:26px}

/* Header durante lo scorrimento */
body.tp-global.tp-stuck .tp-header{background:rgba(0,0,44,.88);-webkit-backdrop-filter:blur(14px) saturate(1.2);backdrop-filter:blur(14px) saturate(1.2);box-shadow:0 14px 34px rgba(0,0,20,.45)}
body.tp-global.tp-stuck .tp-header__row{height:66px}
body.tp-global.tp-stuck .tp-logo{width:78px}
body.tp-global.tp-stuck .tp-logo img{width:78px;top:5px}
body.tp-global.tp-stuck .tp-header .tp-btn{height:40px}

/* ---------- Footer ---------- */
body.tp-global #footer.footer-wrapper{background:var(--tp-navy-deep)}
body.tp-global .tp-footer{position:relative;background:var(--tp-navy-deep);border-top:1px solid var(--tp-line);color:var(--tp-ink-soft);font-size:15.5px}
body.tp-global .tp-footer__grid{display:grid;grid-template-columns:1.25fr .9fr 1.15fr 1.15fr;gap:56px;padding-block:80px 60px}
body.tp-global .tp-fcol{display:grid;align-content:start;gap:18px;min-width:0}
body.tp-global .tp-fhead{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;margin:0;padding:0;font:700 12.5px/1.2 var(--tp-ui);letter-spacing:.18em;text-transform:uppercase;color:var(--tp-gold);background:none;border:0;text-align:left}
body.tp-global .tp-fhead .tp-ico{display:none}
body.tp-global .tp-fhead--toggle{cursor:default}
body.tp-global .tp-brand{display:grid;gap:14px}
body.tp-global .tp-brand img{width:132px;filter:drop-shadow(0 8px 14px rgba(0,0,0,.4))}
body.tp-global .tp-brand__name{font-family:var(--tp-display);font-size:30px;font-weight:800;color:var(--tp-ink);line-height:1.05}
body.tp-global .tp-brand__claim{font-family:var(--tp-display);font-style:italic;font-weight:500;font-size:19px;color:var(--tp-ink-soft);line-height:1.3}
body.tp-global .tp-brand__since{font-size:13px;letter-spacing:.2em;text-transform:uppercase;color:var(--tp-ink-mute)}
body.tp-global .tp-social--lg{gap:10px;flex-wrap:wrap}
body.tp-global .tp-social--lg a{width:44px;height:44px;border:1px solid var(--tp-line)}
body.tp-global .tp-social--lg a:hover{border-color:var(--tp-gold);color:var(--tp-gold);background:transparent}
body.tp-global .tp-social--lg .tp-ico{font-size:19px}
body.tp-global .tp-flinks{display:grid;gap:9px}
body.tp-global .tp-flinks a{display:inline-flex;align-items:center;gap:8px;color:var(--tp-ink-soft);transition:color .2s}
body.tp-global .tp-flinks a::before{content:"";width:6px;height:1.5px;background:var(--tp-red);transition:width .2s var(--tp-ease)}
body.tp-global .tp-flinks a:hover{color:var(--tp-ink)}
body.tp-global .tp-flinks a:hover::before{width:14px}
body.tp-global .tp-flinks__nested{display:grid;gap:7px;padding:8px 0 2px 14px}
body.tp-global .tp-flinks__nested a{font-size:14.5px}
body.tp-global .tp-flinks__label{color:var(--tp-ink);font-weight:700}
body.tp-global .tp-contact{display:grid;gap:14px}
body.tp-global .tp-contact__row{display:grid;grid-template-columns:22px 1fr;gap:10px;align-items:start}
body.tp-global .tp-contact__row .tp-ico{font-size:18px;color:var(--tp-gold);margin-top:2px}
body.tp-global .tp-contact__row strong{display:block;color:var(--tp-ink);font-weight:700}
body.tp-global .tp-contact a{color:var(--tp-ink-soft)}
body.tp-global .tp-contact a:hover{color:var(--tp-ink)}
body.tp-global .tp-link-arrow{display:inline-flex;align-items:center;gap:6px;color:var(--tp-ink);font-weight:700;border-bottom:1px solid var(--tp-red);padding-bottom:2px;width:fit-content}
body.tp-global .tp-contact a.tp-link-arrow{color:var(--tp-ink)}
body.tp-global .tp-link-arrow .tp-ico{font-size:15px;transition:transform .2s var(--tp-ease)}
body.tp-global .tp-link-arrow:hover .tp-ico{transform:translateX(3px)}
body.tp-global .tp-book{display:grid;gap:14px;padding:26px;border-radius:18px;background:linear-gradient(160deg,var(--tp-navy-raise),var(--tp-navy));border:1px solid var(--tp-line)}
body.tp-global .tp-book__title{font-family:var(--tp-display);font-size:25px;font-weight:800;color:var(--tp-ink);line-height:1.15}
body.tp-global .tp-book .tp-btn{width:100%}
body.tp-global .tp-book__more{display:grid;gap:10px;padding-top:12px;border-top:1px solid var(--tp-line);margin-top:4px}
body.tp-global .tp-legal{border-top:1px solid var(--tp-line)}
body.tp-global .tp-legal .tp-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 28px;padding-block:22px;font-size:14px;color:var(--tp-ink-mute)}
body.tp-global .tp-legal__links{display:flex;flex-wrap:wrap;gap:6px 22px}
body.tp-global .tp-legal__links a{color:var(--tp-ink-soft)}
body.tp-global .tp-legal__links a:hover{color:var(--tp-ink);text-decoration:underline;text-underline-offset:3px}
body.tp-global .tp-credit a{color:var(--tp-ink-soft)}
body.tp-global .tp-credit a:hover{color:var(--tp-ink)}

/* ---------- Menu mobile ---------- */
body.tp-global .tp-drawer{position:fixed;inset:0;z-index:100000;visibility:hidden;transition:visibility 0s linear .35s}
body.tp-global .tp-drawer.is-open{visibility:visible;transition-delay:0s}
body.tp-global .tp-drawer__scrim{position:absolute;inset:0;background:rgba(0,0,20,.62);opacity:0;transition:opacity .3s}
body.tp-global .tp-drawer.is-open .tp-drawer__scrim{opacity:1}
body.tp-global .tp-drawer__panel{position:absolute;top:0;bottom:0;left:0;width:min(440px,100%);background:var(--tp-navy);color:var(--tp-ink);overflow-y:auto;overscroll-behavior:contain;transform:translateX(-100%);transition:transform .38s var(--tp-ease);display:flex;flex-direction:column;box-shadow:20px 0 60px rgba(0,0,0,.45);padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
body.tp-global .tp-drawer.is-open .tp-drawer__panel{transform:none}
body.tp-global .tp-drawer__top{display:flex;align-items:center;justify-content:space-between;padding:14px 20px 10px}
body.tp-global .tp-drawer__top img{width:70px}
body.tp-global .tp-close{width:44px;height:44px;border-radius:50%;border:1px solid var(--tp-line);background:none;color:var(--tp-ink);display:grid;place-items:center;cursor:pointer;padding:0}
body.tp-global .tp-close .tp-ico{font-size:22px}
body.tp-global .tp-drawer__cta{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:6px 20px 18px}
body.tp-global .tp-drawer__cta .tp-btn{height:48px;padding:0 12px;font-size:14px}
body.tp-global .tp-mnav{padding:0 20px;border-top:1px solid var(--tp-line)}
body.tp-global .tp-mnav>li{border-bottom:1px solid var(--tp-line)}
body.tp-global .tp-mnav__row{display:flex;align-items:center;justify-content:space-between}
body.tp-global .tp-mnav__link{flex:1;display:block;padding:15px 0;font-family:var(--tp-display);font-size:23px;font-weight:700;line-height:1.2;color:var(--tp-ink)}
body.tp-global .tp-mnav__toggle{width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.06);color:var(--tp-gold);display:grid;place-items:center;cursor:pointer;padding:0}
body.tp-global .tp-mnav__toggle .tp-ico{font-size:16px;transition:transform .25s var(--tp-ease)}
body.tp-global .tp-mnav__toggle[aria-expanded="true"] .tp-ico{transform:rotate(180deg)}
body.tp-global .tp-mnav__sub{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s var(--tp-ease)}
body.tp-global .tp-mnav__sub>ul{overflow:hidden;min-height:0;visibility:hidden;transition:visibility 0s linear .3s}
body.tp-global .tp-mnav__sub.is-open{grid-template-rows:1fr}
body.tp-global .tp-mnav__sub.is-open>ul{visibility:visible;transition-delay:0s}
body.tp-global .tp-mnav__sub .tp-mnav__link{color:var(--tp-ink-soft)}
body.tp-global .tp-mnav__sub>ul>li:last-child{padding-bottom:12px}
body.tp-global .tp-mnav__sub .tp-mnav__row{border-left:2px solid var(--tp-line)}
body.tp-global .tp-mnav__sub .tp-mnav__row .tp-mnav__link{font-family:var(--tp-ui);font-size:16.5px;font-weight:700;padding:9px 0 9px 14px}
body.tp-global .tp-mnav__sub .tp-mnav__sub{margin-left:14px}
body.tp-global .tp-mnav__sub .tp-mnav__toggle{width:38px;height:38px}
body.tp-global .tp-mnav__sub .tp-mnav__link:hover{color:var(--tp-ink)}
body.tp-global .tp-mnav__sub .tp-mnav__row:hover{border-left-color:var(--tp-red)}
body.tp-global .tp-drawer__info{display:grid;gap:12px;padding:22px 20px;font-size:15px;color:var(--tp-ink-soft)}
body.tp-global .tp-drawer__info .tp-ico{font-size:18px;color:var(--tp-gold);margin-top:2px}
body.tp-global .tp-drawer__info strong{display:block;color:var(--tp-ink);font-size:16px}
body.tp-global .tp-drawer__foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;padding:16px 20px 26px;border-top:1px solid var(--tp-line)}
body.tp-global .tp-drawer .tp-anim{opacity:0;transform:translateY(10px);transition:opacity .35s ease,transform .45s var(--tp-ease)}
body.tp-global .tp-drawer.is-open .tp-anim{opacity:1;transform:none;transition-delay:calc(var(--i,0) * 35ms + 120ms)}
html.tp-lock,html.tp-lock body{overflow:hidden}

/* ---------- Barra azioni mobile ---------- */
body.tp-global .tp-actionbar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:99990;background:rgba(0,0,30,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--tp-line);padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));grid-template-columns:repeat(4,1fr);gap:4px}
body.tp-global .tp-actionbar a{display:grid;justify-items:center;gap:3px;padding:7px 2px;border-radius:12px;font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.1;color:var(--tp-ink-soft)}
body.tp-global .tp-actionbar .tp-ico{font-size:21px;color:var(--tp-ink)}
body.tp-global .tp-actionbar a.is-primary{background:var(--tp-red);color:#fff}
body.tp-global .tp-actionbar a.is-primary .tp-ico{color:#fff}

/* ---------- Responsive ---------- */
@media (max-width:1240px){
  body.tp-global .tp-actions .tp-btn--ghost{display:none}
  body.tp-global .tp-nav__link{padding-inline:9px;font-size:15.5px}
  body.tp-global .tp-nav__link::after{left:9px;right:9px}
}
@media (max-width:1080px){
  body.tp-global .tp-wrap{padding-inline:20px}
  body.tp-global .tp-header__row{grid-template-columns:1fr auto 1fr;height:66px;gap:10px}
  body.tp-global .tp-burger{display:grid;justify-self:start}
  body.tp-global .tp-nav{display:none}
  body.tp-global .tp-logo{width:92px;grid-column:2}
  body.tp-global .tp-logo img{width:92px;top:4px}
  body.tp-global.tp-stuck .tp-header__row{height:58px}
  body.tp-global.tp-stuck .tp-logo,body.tp-global.tp-stuck .tp-logo img{width:66px}
  body.tp-global.tp-stuck .tp-logo img{top:4px}
  body.tp-global .tp-actions{justify-self:end}
  body.tp-global .tp-actions .tp-btn--red{height:40px;padding:0 16px;font-size:13.5px;box-shadow:none}
  body.tp-global .tp-actions .tp-btn--red .tp-ico{display:none}
  body.tp-global .tp-footer__grid{grid-template-columns:1fr 1fr;gap:44px}
}
@media (max-width:767px){
  body.tp-global .tp-topbar{display:none}
  body.tp-global .tp-actionbar{display:grid}
  body.tp-global .tp-footer__grid{grid-template-columns:1fr;gap:0;padding-block:44px 8px}
  body.tp-global .tp-fcol{padding-block:22px;border-bottom:1px solid var(--tp-line)}
  body.tp-global .tp-fcol--book{order:-2;border-bottom:0;padding-top:0}
  body.tp-global .tp-fcol--contact{order:-1}
  body.tp-global .tp-fcol--brand{border-bottom:0}
  body.tp-global .tp-fhead--toggle{cursor:pointer;min-height:44px}
  body.tp-global .tp-fhead--toggle .tp-ico{display:block;font-size:16px;transition:transform .25s var(--tp-ease)}
  body.tp-global .tp-fhead--toggle[aria-expanded="true"] .tp-ico{transform:rotate(180deg)}
  body.tp-global .tp-fcol--nav .tp-flinks{display:none}
  body.tp-global .tp-fcol--nav .tp-flinks.is-open{display:grid}
  body.tp-global .tp-brand{grid-template-columns:auto 1fr;align-items:center;column-gap:16px}
  body.tp-global .tp-brand img{width:84px;grid-row:span 3}
  body.tp-global .tp-brand__name{font-size:24px}
  body.tp-global .tp-brand__claim{font-size:16px}
  body.tp-global .tp-legal .tp-wrap{flex-direction:column;align-items:flex-start;padding-bottom:28px}
  body.tp-global .tp-footer{padding-bottom:76px}
  body.tp-global #top-link{display:none}
  /* badge di reCAPTCHA (Contact Form 7) sopra la barra azioni */
  body.tp-global .grecaptcha-badge{bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
}
/* La barra di amministrazione di WordPress non è fissa sotto i 600px */
@media (max-width:600px){ body.tp-global #header{top:0} }
@media (prefers-reduced-motion:reduce){
  body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer),
  body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) *,
  body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) *::before,
  body.tp-global :where(.tp-topbar,.tp-header,.tp-drawer,.tp-actionbar,.tp-footer) *::after{transition-duration:.01ms!important;transition-delay:0s!important}
}
