/*

 Theme Name: Hello Elementor Child - Tuttohotel

 Template: hello-elementor

 Version: 1.42

*/

:root{--th-teal:#007381;--th-teal-dark:#075466;--th-gold:#c59a68;--th-ink:#0a5262;--th-light:#f1f5f6;--th-line:#d7e7e9;--th-white:#fff}

*{box-sizing:border-box}html,body{margin:0!important;padding:0!important;width:100%!important;max-width:100%!important;overflow-x:hidden!important}body{font-family:Arial,Helvetica,sans-serif;color:var(--th-ink)}a{text-decoration:none}.th-container{width:min(1180px,calc(100% - 40px));margin:0 auto}

/* HEADER */

.th-topbar{background:var(--th-teal);color:#fff;border-bottom:1px solid rgba(255,255,255,.18)}.th-topbar-inner{min-height:40px;max-width:1500px;margin:auto;padding:0 30px;display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:1px}.th-topbar-event{display:flex;gap:9px;align-items:center}.th-topbar-event span{opacity:.75}.th-social{display:flex;gap:6px}.th-social-icon{width:25px!important;height:25px!important;display:flex!important;align-items:center!important;justify-content:center!important;color:#fff!important;border:1px solid rgba(255,255,255,.3);border-radius:50%;padding:0!important}.th-social-icon svg{width:13px;height:13px;fill:currentColor}.th-site-header{position:relative!important;z-index:9999!important;background:#fff!important;border-bottom:1px solid var(--th-line)!important;box-shadow:0 2px 12px rgba(0,0,0,.05)!important}.th-site-header.is-sticky{position:fixed!important;top:0;left:0;right:0}.th-header-inner{max-width:1500px;min-height:92px;margin:auto;padding:0 30px;display:flex;align-items:center;gap:30px}.th-logo{width:230px;min-width:230px;display:flex!important;align-items:center}.th-logo-img{width:230px;max-height:70px;object-fit:contain;object-position:left center}.th-menu{display:flex;justify-content:flex-end;flex:1}.th-menu-list,.th-menu-fallback{display:flex!important;align-items:center;justify-content:flex-end;gap:0;list-style:none!important;margin:0!important;padding:0!important}.th-menu-list li,.th-menu-fallback li{list-style:none!important;margin:0!important;padding:0!important;position:relative}.th-menu-list a,.th-menu-fallback a{display:block!important;padding:36px 10px!important;color:var(--th-ink)!important;text-transform:uppercase;font-size:10px;font-weight:800;letter-spacing:1.2px;white-space:nowrap}.th-menu-list a:hover,.th-menu-fallback a:hover{color:var(--th-gold)!important}.th-menu-list .sub-menu,.th-menu-fallback .sub-menu{position:absolute;top:100%;right:0;min-width:230px;background:#fff;padding:8px 0;margin:0;list-style:none;box-shadow:0 12px 30px rgba(0,0,0,.12);border-top:3px solid var(--th-gold);opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s}.th-menu-list .menu-item-has-children:hover>.sub-menu,.th-menu-fallback .menu-item-has-children:hover>.sub-menu{opacity:1;visibility:visible;transform:none}.th-menu-list .sub-menu a,.th-menu-fallback .sub-menu a{padding:12px 18px!important;font-size:10px}.th-menu-toggle{display:none!important}

/* HOME HERO */

.th-home{background:#fff}.th-hero{min-height:525px;background-size:cover;background-position:center center;position:relative}.th-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,62,76,.93) 0%,rgba(0,71,84,.83) 39%,rgba(0,80,90,.20) 72%,rgba(0,0,0,.04) 100%)}.th-hero-inner{min-height:525px;position:relative;display:flex;align-items:center}.th-hero-copy{width:530px;color:#fff;padding:50px 0}.th-kicker{font-size:9px;font-weight:800;letter-spacing:1.5px;text-transform:uppercase;border-left:2px solid var(--th-gold);padding-left:12px}.th-hero h1{font-size:52px;line-height:.98;margin:18px 0 18px;font-weight:900;letter-spacing:-1.5px}.th-hero h1 em{font-style:normal;color:#12b4c5}.th-hero p{font-size:13px;line-height:1.65;max-width:500px;margin:0 0 26px;color:rgba(255,255,255,.9)}.th-hero-actions{display:flex;gap:10px}.th-btn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 20px;font-size:9px;font-weight:900;letter-spacing:1px;text-transform:uppercase}.th-btn-primary{background:var(--th-teal);color:#fff!important}.th-btn-gold{background:var(--th-gold);color:#fff!important}.th-btn:hover{filter:brightness(.95)}

/* STATS */

.th-stats{background:#fff;border-bottom:1px solid var(--th-line)}.th-stats-grid{display:grid;grid-template-columns:repeat(5,1fr)}.th-stat{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;border-right:1px solid var(--th-line);text-align:center}.th-stat:first-child{border-left:1px solid var(--th-line)}.th-stat strong{font-size:23px;color:var(--th-teal);font-weight:900}.th-stat span{font-size:14px;text-transform:uppercase;letter-spacing:1.4px;color:#789198;margin-top:5px}

/* ROLES */

.th-roles{padding:42px 0 34px}.th-roles-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.th-role-card{height:245px;transition:none!important;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end;overflow:hidden;color:#fff}.th-role-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,67,80,.88),rgba(0,90,100,.20))}.th-role-card>div{position:relative;padding:28px 30px;max-width:530px;color:#fff!important}.th-role-card small,.th-role-card h2,.th-role-card p{color:#fff!important}.th-role-card small{font-size:12px;letter-spacing:2px}.th-role-card h2{margin:4px 0 9px;font-size:38px;line-height:1;font-weight:900}.th-role-card p{margin:0 0 16px;font-size:13px;line-height:1.45;max-width:370px}.th-role-btn{display:inline-block;background:var(--th-teal);padding:11px 16px;font-size:10px;font-weight:900;letter-spacing:1px}

/* SECTION HEAD */

.th-section-head{text-align:center;margin-bottom:28px}.th-section-head>span{font-size:14px;color:#14a8bd;font-weight:900;letter-spacing:1.8px;text-transform:uppercase}.th-section-head h2{font-size:30px;line-height:1.05;margin:8px 0;color:var(--th-ink);font-weight:900}.th-section-head p{max-width:650px;margin:0 auto;color:#70858b;font-size:12px;line-height:1.6}

/* TOOLS */

.th-tools{padding:25px 0 58px}.th-tools-grid{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--th-line)}.th-tool{min-height:125px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border-right:1px solid var(--th-line);background:#f7fafb;color:var(--th-ink)!important;padding:14px 8px}.th-tool:last-child{border-right:0}.th-tool:hover{background:#fff}.th-tool-icon{font-size:38px;color:var(--th-teal);height:46px;display:flex;align-items:center;justify-content:center}.th-tool-icon svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.th-tool strong{font-size:12px;letter-spacing:.7px;margin-top:5px}.th-tool small{font-size:9px;color:#809398;margin-top:4px}

/* REASONS */

.th-reasons{padding:60px 0 70px;background:#fff}.th-reasons-grid{display:grid;grid-template-columns:repeat(3,1fr);max-width:900px;margin:auto}.th-reason{text-align:center;position:relative;padding:8px 40px 0}.th-reason:not(:last-child):after{content:"";position:absolute;right:0;top:10px;height:150px;width:1px;background:var(--th-line)}.th-reason-no{display:block;font-size:9px;color:#9db0b5;margin-bottom:10px}.th-reason-icon{width:54px;height:54px;border:1px solid #b9dce1;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;color:var(--th-teal);background:#fff}.th-reason h3{font-size:15px;letter-spacing:1px;margin:0 0 10px;color:var(--th-teal)}.th-reason p{font-size:12px;line-height:1.55;color:#75888d;margin:0}

/* CARD HOVER - intentionally restrained */

.th-role-card:hover{transform:none!important;filter:none!important;color:#fff!important}

.th-role-card:hover .th-role-overlay{opacity:1!important}

.th-role-card:hover h2,.th-role-card:hover p,.th-role-card:hover small{color:#fff!important}

.th-role-card:hover .th-role-btn{background:var(--th-teal)!important;color:#fff!important}

.th-tool:hover{transform:none!important;box-shadow:none!important;background:#f7fafb!important}

.th-tool:hover .th-tool-icon,.th-tool:hover strong{color:var(--th-ink)!important}



/* BEYOND */

.th-beyond{background:var(--th-teal-dark);color:#fff;padding:62px 0}.th-beyond-grid{display:grid;grid-template-columns:1fr 360px;align-items:center;gap:70px}.th-beyond-copy>span{font-size:14px;letter-spacing:2px;color:#6ed3dc;font-weight:900}.th-beyond h2{font-size:30px;margin:9px 0 18px;color:#fff}.th-beyond p{font-size:11px;line-height:1.65;color:rgba(255,255,255,.78);max-width:600px}.th-text-link{display:inline-block;margin-top:10px;color:#fff;font-size:9px;font-weight:900;letter-spacing:1px}.th-beyond-image{padding:8px;background:rgba(255,255,255,.04);border:4px solid rgba(0,180,195,.18)}.th-beyond-image img{display:block;width:100%;height:310px;object-fit:cover;object-position:center}

/* SOLUTIONS */

.th-solutions{background:var(--th-light);padding:62px 0}.th-solutions-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#cfe0e3;max-width:900px;margin:auto}.th-solution{min-height:82px;background:#fff;padding:17px 18px;display:grid;grid-template-columns:28px 1fr 18px;align-items:center;color:var(--th-ink)!important}.th-solution span{font-size:14px;color:#89a1a7}.th-solution strong{font-size:9px;line-height:1.25}.th-solution i{font-style:normal;color:var(--th-teal);font-size:13px;text-align:right}

/* AREAS */

.th-areas{background:var(--th-light);padding:20px 0 72px}.th-areas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:3px;max-width:900px;margin:auto}.th-area{position:relative;min-height:125px;background:#fff;border-top:2px solid #b8d9de;padding:22px 18px 18px;overflow:hidden}.th-area:after{content:"";position:absolute;width:65px;height:65px;border:1px solid rgba(0,115,129,.08);border-radius:50%;right:-22px;bottom:-28px}.th-area-no{position:absolute;right:12px;top:10px;color:#d6e3e5;font-size:18px;font-weight:900}.th-area h3{font-size:10px;margin:16px 0 8px;color:var(--th-ink)}.th-area p{font-size:9px;line-height:1.45;color:#7b8d92;margin:0;max-width:240px}

/* FINAL */

.th-final{text-align:center;padding:90px 0 105px;background:#fff;position:relative;overflow:hidden}.th-final:after{content:"";position:absolute;width:220px;height:220px;border:1px solid #c8e5e8;border-radius:50%;right:-105px;top:-80px}.th-final>div{position:relative;z-index:1}.th-final span{font-size:24px;letter-spacing:2px;color:#12aabd;font-weight:900}.th-final h2{font-size:30px;line-height:1.12;color:var(--th-ink);margin:12px 0 28px}.th-final .th-btn{font-size:14px}

/* FOOTER */

.th-footer{background:#edf4f5;color:var(--th-ink)}.th-footer-main{border-top:2px solid var(--th-gold);padding:45px 0 42px}.th-footer-inner{display:grid;grid-template-columns:1.5fr repeat(5,1fr);gap:30px}.th-footer-brand{padding-right:20px}.th-footer-logo{font-size:28px;font-weight:900;letter-spacing:-1.4px;color:var(--th-ink)!important}.th-footer-logo span{color:var(--th-gold);font-size:11px;vertical-align:top}.th-footer-brand p{font-size:10px;color:#71868b;line-height:1.5}.th-footer-event{font-size:9px;line-height:1.6;margin-top:20px}.th-footer-col h3{font-size:14px;letter-spacing:1.3px;margin:3px 0 15px;color:var(--th-ink)}.th-footer-col a{display:block;color:#71868b!important;font-size:9px;line-height:1.4;margin-bottom:8px}.th-footer-col a:hover{color:var(--th-teal)!important}.th-footer-contact p{font-size:9px;line-height:1.55;color:#71868b}.th-footer-bottom{background:var(--th-teal);color:rgba(255,255,255,.72)}.th-footer-bottom-inner{min-height:50px;display:flex;justify-content:space-between;align-items:center;font-size:14px}.th-footer-bottom a{color:#fff!important}.th-back-top{position:fixed;right:22px;bottom:22px;width:40px;height:40px;border-radius:50%;background:#19b6c9;color:#fff!important;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;z-index:99999}.th-back-top.is-visible{opacity:1;visibility:visible}

/* RESPONSIVE */

@media(max-width:1200px){.th-header-inner{padding:0 20px}.th-logo{width:200px;min-width:200px}.th-logo-img{width:200px}.th-menu-list a,.th-menu-fallback a{padding-left:7px!important;padding-right:7px!important;font-size:9px}.th-container{width:min(1080px,calc(100% - 32px))}}

@media(max-width:900px){.th-header-inner{min-height:76px}.th-logo{width:190px;min-width:190px}.th-logo-img{width:190px}.th-menu-toggle{display:block!important;margin-left:auto!important;width:40px!important;height:40px!important;border:1px solid var(--th-line)!important;background:#fff!important}.th-menu-toggle span{display:block;width:21px;height:2px;background:var(--th-ink);margin:4px auto}.th-menu{display:none!important;position:absolute!important;left:0;right:0;top:76px;background:#fff;border-top:1px solid var(--th-line);box-shadow:0 12px 25px rgba(0,0,0,.1)}.th-menu.is-open{display:block!important}.th-menu-list,.th-menu-fallback{display:block!important;width:100%!important}.th-menu-list a,.th-menu-fallback a{padding:14px 20px!important;border-bottom:1px solid #edf1f2!important;font-size:11px!important}.th-menu-list .sub-menu,.th-menu-fallback .sub-menu{position:static;display:block;opacity:1;visibility:visible;transform:none;box-shadow:none;border-top:0;min-width:0;padding:0}.th-menu-list .sub-menu a,.th-menu-fallback .sub-menu a{padding-left:35px!important}.th-hero,.th-hero-inner{min-height:500px}.th-hero h1{font-size:44px}.th-roles-grid,.th-beyond-grid{grid-template-columns:1fr}.th-beyond-image{max-width:420px;margin:auto}.th-solutions-grid,.th-areas-grid{grid-template-columns:repeat(2,1fr)}.th-footer-inner{grid-template-columns:repeat(3,1fr)}.th-footer-brand{grid-column:1/-1}}

@media(max-width:650px){.th-topbar-inner{padding:0 12px}.th-topbar-event{font-size:14px;gap:5px}.th-social-icon{width:22px!important;height:22px!important}.th-hero,.th-hero-inner{min-height:530px}.th-hero-copy{padding:35px 0;width:100%}.th-hero h1{font-size:39px}.th-hero p{font-size:11px}.th-hero-actions{flex-wrap:wrap}.th-stats-grid{grid-template-columns:repeat(2,1fr)}.th-stat{min-height:80px}.th-stat:nth-child(2){border-right:0}.th-stat:last-child{grid-column:1/-1;border-left:1px solid var(--th-line)}.th-roles-grid{gap:12px}.th-role-card{height:250px}.th-tools-grid{grid-template-columns:repeat(2,1fr)}.th-tool:nth-child(2),.th-tool:nth-child(4){border-right:0}.th-tool:last-child{grid-column:1/-1}.th-reasons-grid{grid-template-columns:1fr}.th-reason{padding:20px 25px}.th-reason:not(:last-child):after{right:10%;left:10%;top:auto;bottom:0;width:auto;height:1px}.th-beyond-grid{gap:30px}.th-solutions-grid,.th-areas-grid{grid-template-columns:1fr}.th-footer-inner{grid-template-columns:1fr 1fr}.th-footer-brand{grid-column:1/-1}.th-footer-bottom-inner{min-height:80px;flex-direction:column;justify-content:center;gap:6px;padding:12px 0;text-align:center}.th-section-head h2{font-size:23px}}

@media(max-width:430px){.th-topbar-event span{display:none}.th-logo,.th-logo-img{width:165px;min-width:165px}.th-hero h1{font-size:34px}.th-role-card h2{font-size:29px}.th-footer-inner{grid-template-columns:1fr}}



/* V1.17 - visual refinement: larger typography/icons + animated stats */

.th-section-head h2{font-size:36px!important;line-height:1.08}.th-section-head p{font-size:14px!important}.th-section-head>span{font-size:29px!important}

.th-stats-grid{max-width:1180px}.th-stat{min-height:112px;gap:2px}.th-stat-icon{height:28px;display:flex;align-items:center;justify-content:center;color:var(--th-teal);margin-bottom:2px}.th-stat-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.th-stat strong{font-size:31px!important;line-height:1}.th-stat>span:last-child{font-size:10px!important;letter-spacing:1.5px}

.th-tools{padding-top:30px}.th-tool{min-height:145px}.th-tool-icon{height:58px!important}.th-tool-icon svg{width:50px!important;height:50px!important;stroke-width:1.7}.th-tool strong{font-size:14px!important;margin-top:8px}.th-tool small{font-size:10px!important}

.th-reasons{padding:78px 0 88px}.th-reasons-grid{max-width:1040px}.th-reason{padding:12px 55px 0}.th-reason-no{font-size:10px!important}.th-reason-icon{width:68px;height:68px;margin-bottom:14px;font-size:24px}.th-reason h3{font-size:18px!important;margin-bottom:12px}.th-reason p{font-size:14px!important;line-height:1.6}

.th-solutions{padding:78px 0}.th-solutions-grid{max-width:1040px}.th-solution{min-height:98px;padding:20px 22px;grid-template-columns:38px 1fr 22px}.th-solution span{font-size:10px!important}.th-solution strong{font-size:13px!important}.th-solution i{font-size:18px!important}

.th-areas{padding:28px 0 82px}.th-areas-grid{max-width:1040px}.th-area{min-height:150px;padding:26px 22px 20px}.th-area h3{font-size:13px!important;margin-top:20px}.th-area p{font-size:11px!important;line-height:1.55}.th-area-no{font-size:22px!important}

.th-beyond-image img{object-fit:contain;background:rgba(0,0,0,.08)}

@media(max-width:900px){.th-section-head h2{font-size:30px!important}.th-stat strong{font-size:26px!important}.th-reason{padding:20px 35px}.th-solutions-grid,.th-areas-grid{max-width:100%}}

@media(max-width:650px){.th-section-head h2{font-size:27px!important}.th-stat{min-height:96px}.th-stat-icon svg{width:22px;height:22px}.th-stat strong{font-size:24px!important}.th-tool{min-height:135px}.th-tool-icon svg{width:44px!important;height:44px!important}.th-tool strong{font-size:12px!important}.th-reasons{padding:60px 0 65px}.th-reason h3{font-size:17px!important}.th-reason p{font-size:13px!important}.th-solution strong{font-size:12px!important}.th-area h3{font-size:12px!important}}





/* TH27 TYPE SCALE v1.18 - minimum readable body size 16px */

.th-hero p{font-size:16px!important;line-height:1.65!important}

.th-role-card p{font-size:16px!important;line-height:1.5!important}

.th-role-card h2{font-size:42px!important}

.th-role-card small{font-size:12px!important}

.th-tool{min-height:145px}

.th-tool-icon{height:58px!important}

.th-tool-icon svg{width:48px!important;height:48px!important;stroke-width:2!important}

.th-tool strong{font-size:16px!important;line-height:1.2!important}

.th-tool small{font-size:12px!important}

.th-section-head h2{font-size:38px!important}

.th-section-head p{font-size:16px!important;line-height:1.65!important}

.th-reasons{padding:78px 0 88px}

.th-reason-icon {

    width: 100px !important;

    height: 100px !important;

    font-size: 47px !important;

    margin-bottom: 16px !important;

}

.th-reason h3{font-size:20px!important;margin-bottom:14px!important}

.th-reason p{font-size:16px!important;line-height:1.6!important}

.th-reason-no{font-size:18px!important}

.th-stat{min-height:125px!important}

.th-stat-icon{height:38px!important}

.th-stat-icon svg{width:34px!important;height:34px!important;stroke-width:2!important}

.th-stat strong{font-size:34px!important}

.th-stat>span:last-child{font-size:11px!important}

.th-solutions{padding:82px 0!important}

.th-solution{min-height:112px!important;padding:24px!important;grid-template-columns:44px 1fr 24px!important}

.th-solution span{font-size:12px!important}

.th-solution strong{font-size:16px!important;line-height:1.35!important}

.th-solution i{font-size:20px!important}

.th-areas{padding:32px 0 86px!important}

.th-area{min-height:175px!important;padding:28px 24px 22px!important}

.th-area h3{font-size:16px!important;margin:24px 0 10px!important;line-height:1.2!important}

.th-area p{font-size:16px!important;line-height:1.55!important;max-width:100%!important}

.th-area-no{font-size:24px!important}

.th-beyond p{font-size:16px!important;line-height:1.65!important}

.th-beyond h2{font-size:36px!important}

.th-text-link{font-size:12px!important}

.th-final h2{font-size:36px!important}

@media(max-width:900px){

 .th-section-head h2{font-size:34px!important}

 .th-stat strong{font-size:30px!important}

 .th-role-card p{font-size:16px!important}

 .th-solution strong{font-size:16px!important}

 .th-area h3{font-size:16px!important}

 .th-area p{font-size:16px!important}

}

@media(max-width:650px){

 .th-hero p{font-size:16px!important}

 .th-role-card p{font-size:16px!important}

 .th-section-head h2{font-size:30px!important}

 .th-section-head p{font-size:16px!important}

 .th-stat{min-height:105px!important}

 .th-stat-icon svg{width:30px!important;height:30px!important}

 .th-stat strong{font-size:28px!important}

 .th-tool-icon svg{width:48px!important;height:48px!important}

 .th-tool strong{font-size:16px!important}

 .th-reason h3{font-size:19px!important}

 .th-reason p{font-size:16px!important}

 .th-solution strong{font-size:16px!important}

 .th-area h3{font-size:16px!important}

 .th-area p{font-size:16px!important}

 .th-beyond p{font-size:16px!important}

}





/* ==========================================================

   TH27 v1.19 - leggibilità, icone e CTA definitiva

   ========================================================== */

.th-section-head h2{font-size:40px!important;line-height:1.12!important}

.th-section-head p{font-size:16px!important}



/* Stats: icone + numeri più presenti */

.th-stat{min-height:132px!important;gap:5px!important}

.th-stat-icon{height:42px!important}

.th-stat-icon svg{width:38px!important;height:38px!important;stroke-width:2.1!important}

.th-stat strong{font-size:36px!important}

.th-stat>span:last-child{font-size:12px!important;font-weight:700!important;letter-spacing:1.6px!important}



/* Soluzioni: icona dedicata, testo leggibile */

.th-solutions{padding:88px 0!important}

.th-solutions-grid{max-width:1060px!important}

.th-solution{min-height:118px!important;padding:24px 26px!important;grid-template-columns:52px 1fr 24px!important}

.th-solution-icon{width:46px;height:46px;display:flex;align-items:center;justify-content:center;color:var(--th-teal)}

.th-solution-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.th-solution strong{font-size:17px!important;line-height:1.3!important}

.th-solution i{font-size:22px!important}



/* Aree speciali */

.th-areas{padding:42px 0 92px!important}

.th-areas-grid{max-width:1060px!important}

.th-area{min-height:205px!important;padding:28px 26px 24px!important}

.th-area-icon{display:flex;width:48px;height:48px;align-items:center;justify-content:center;color:var(--th-teal);margin-bottom:10px}

.th-area-icon svg{width:42px;height:42px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

.th-area h3{font-size:17px!important;margin:4px 0 12px!important;line-height:1.25!important}

.th-area p{font-size:16px!important;line-height:1.55!important}

.th-area-no{font-size:26px!important}



/* CTA finale: blocco teal con testo bianco */

.th-final{background:var(--th-teal)!important;color:#fff!important;border-top:1px solid var(--th-gold)!important}

.th-final span,.th-final h2{color:#fff!important}

.th-final h2{font-size:42px!important;line-height:1.15!important}

.th-final .th-btn{background:#fff!important;color:var(--th-teal)!important;border-color:#fff!important}

.th-final .th-btn:hover{background:var(--th-gold)!important;color:#fff!important;border-color:var(--th-gold)!important;transform:none!important}



/* Footer più leggibile */

.th-footer-main{padding:54px 0 50px!important}

.th-footer-logo{font-size:32px!important}

.th-footer-brand p,.th-footer-event,.th-footer-contact p{font-size:15px!important;line-height:1.55!important}

.th-footer-col h3{font-size:12px!important;letter-spacing:1.2px!important}

.th-footer-col a{font-size:15px!important;line-height:1.5!important;margin-bottom:9px!important}

.th-footer-bottom-inner{font-size:12px!important}



@media(max-width:900px){

 .th-section-head h2{font-size:34px!important}

 .th-solution strong{font-size:16px!important}

 .th-area h3{font-size:17px!important}

 .th-area p{font-size:16px!important}

 .th-final h2{font-size:36px!important}

}

@media(max-width:650px){

 .th-section-head h2{font-size:30px!important}

 .th-stat strong{font-size:30px!important}

 .th-stat-icon svg{width:32px!important;height:32px!important}

 .th-solution{min-height:105px!important}

 .th-solution-icon{width:42px;height:42px}

 .th-solution-icon svg{width:38px;height:38px}

 .th-solution strong{font-size:16px!important}

 .th-area{min-height:185px!important}

 .th-area h3{font-size:17px!important}

 .th-area p{font-size:16px!important}

 .th-final h2{font-size:30px!important}

 .th-footer-col a,.th-footer-brand p,.th-footer-contact p,.th-footer-event{font-size:15px!important}

}

/* =========================================================

   TUTTOHOTEL TH27

   HEADER + TOPBAR + MENU

   ========================================================= */



:root {

    --th-primary: #007381;

    --th-gold: #c59a68;

    --th-dark: #063f4d;

    --th-white: #ffffff;

}





/* =========================================================

   TOP BAR

   ========================================================= */



.th-topbar {

    width: 100%;

    background: var(--th-primary);

    color: #fff;

    min-height: 42px;

    display: flex;

    align-items: center;

    position: relative;

    z-index: 1000;

}



.th-topbar-inner {

    width: 100%;

    max-width: 1440px;

    margin: 0 auto;

    padding: 0 36px;



    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 42px;

}



.th-topbar-event {

    display: flex;

    align-items: center;

    gap: 12px;



    font-size: 14px;

    line-height: 1;

    font-weight: 500;

    letter-spacing: .04em;

    text-transform: uppercase;

}



.th-topbar-event strong {

    font-weight: 800;

}



.th-topbar-event span {

    opacity: .75;

}





/* =========================================================

   SOCIAL

   ========================================================= */



.th-social {

    display: flex;

    align-items: center;

    gap: 10px;

}



.th-social-icon {

    width: 30px;

    height: 30px;



    display: flex;

    align-items: center;

    justify-content: center;



    color: #fff !important;

    text-decoration: none !important;



    border: 1px solid rgba(255,255,255,.45);

    border-radius: 50%;



    transition:

        background-color .25s ease,

        color .25s ease,

        border-color .25s ease,

        transform .25s ease;

}



.th-social-icon svg {

    width: 15px;

    height: 15px;

    display: block;

    fill: currentColor;

}



.th-social-icon:hover {

    background: var(--th-gold);

    border-color: var(--th-gold);

    color: #fff !important;

    transform: translateY(-2px);

}





/* =========================================================

   HEADER

   ========================================================= */



.th-site-header {

    width: 100%;

    background: #fff;



    position: relative;

    z-index: 999;



    border-bottom: 1px solid rgba(0,115,129,.12);



    box-shadow: 0 3px 15px rgba(0,0,0,.05);

}



.th-header-inner {

    width: 100%;

    max-width: 1440px;

    min-height: 112px;



    margin: 0 auto;

    padding: 0 36px;



    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 45px;

}





/* =========================================================

   LOGO

   ========================================================= */



.th-logo {

    display: flex;

    align-items: center;

    flex: 0 0 auto;



    text-decoration: none !important;

}



.th-logo-img {

    display: block;



    width: 285px;

    max-width: 285px;

    height: auto;



    object-fit: contain;

}





/* =========================================================

   MENU

   ========================================================= */



.th-menu {

    flex: 1 1 auto;



    display: flex;

    align-items: center;

    justify-content: flex-end;



    min-width: 0;

}



.th-menu-list,

.th-menu-fallback {

    list-style: none !important;



    margin: 0 !important;

    padding: 0 !important;



    display: flex;

    align-items: center;

    justify-content: flex-end;



    gap: 4px;

}



.th-menu-list > li,

.th-menu-fallback > li {

    position: relative;

    list-style: none !important;

    margin: 0 !important;

    padding: 0 !important;

}



.th-menu-list > li > a,

.th-menu-fallback > li > a {



    position: relative;



    display: flex;

    align-items: center;

    gap: 7px;



    min-height: 58px;

    padding: 0 14px;



    color: var(--th-dark) !important;



    font-size: 16px !important;

    line-height: 1.2 !important;

    font-weight: 700 !important;



    letter-spacing: .025em;

    text-transform: uppercase;



    text-decoration: none !important;



    white-space: nowrap;



    transition:

        color .25s ease,

        background-color .25s ease;

}





/* =========================================================

   LINEA SOTTO IL MENU

   ========================================================= */



.th-menu-list > li > a::after,

.th-menu-fallback > li > a::after {



    content: "";



    position: absolute;



    left: 14px;

    right: 14px;

    bottom: 5px;



    height: 3px;



    background: var(--th-gold);



    transform: scaleX(0);

    transform-origin: center;



    opacity: 0;



    transition:

        transform .25s ease,

        opacity .25s ease;

}





/* HOVER */



.th-menu-list > li > a:hover,

.th-menu-fallback > li > a:hover {

    color: var(--th-gold) !important;

}



.th-menu-list > li > a:hover::after,

.th-menu-fallback > li > a:hover::after {

    transform: scaleX(1);

    opacity: 1;

}





/* =========================================================

   PAGINA / VOCE ATTIVA

   ========================================================= */



/*

   IMPORTANTE:

   WordPress genera:

   ul.th-menu-list > li.current-menu-item

*/



.th-menu-list > li.current-menu-item > a,

.th-menu-list > li.current_page_item > a,

.th-menu-list > li.current-menu-parent > a,

.th-menu-list > li.current_page_parent > a,

.th-menu-list > li.current-menu-ancestor > a,

.th-menu-list > li.current_page_ancestor > a,



.th-menu-fallback > li.current-menu-item > a,

.th-menu-fallback > li.current_page_item > a,

.th-menu-fallback > li.current-menu-parent > a,

.th-menu-fallback > li.current_page_parent > a,

.th-menu-fallback > li.current-menu-ancestor > a,

.th-menu-fallback > li.current_page_ancestor > a {



    color: var(--th-gold) !important;

}





/* linea attiva */



.th-menu-list > li.current-menu-item > a::after,

.th-menu-list > li.current_page_item > a::after,

.th-menu-list > li.current-menu-parent > a::after,

.th-menu-list > li.current_page_parent > a::after,

.th-menu-list > li.current-menu-ancestor > a::after,

.th-menu-list > li.current_page_ancestor > a::after,



.th-menu-fallback > li.current-menu-item > a::after,

.th-menu-fallback > li.current_page_item > a::after,

.th-menu-fallback > li.current-menu-parent > a::after,

.th-menu-fallback > li.current_page_parent > a::after,

.th-menu-fallback > li.current-menu-ancestor > a::after,

.th-menu-fallback > li.current_page_ancestor > a::after {



    transform: scaleX(1);

    opacity: 1;

}





/* =========================================================

   FRECCE MENU A TENDINA

   ========================================================= */



.th-menu-list > li.menu-item-has-children > a::before,

.th-menu-fallback > li.menu-item-has-children > a::before {



    content: "";



    width: 7px;

    height: 7px;



    border-right: 1.5px solid currentColor;

    border-bottom: 1.5px solid currentColor;



    transform: rotate(45deg) translateY(-2px);



    margin-left: 2px;



    order: 2;

}





/* =========================================================

   SUBMENU

   ========================================================= */



.th-menu-list .sub-menu,

.th-menu-fallback .sub-menu {



    position: absolute;



    top: calc(100% - 1px);

    left: 0;



    min-width: 270px;



    margin: 0;

    padding: 12px 0;



    background: #fff;



    border-top: 3px solid var(--th-gold);



    box-shadow: 0 15px 35px rgba(0,0,0,.14);



    list-style: none;



    opacity: 0;

    visibility: hidden;



    transform: translateY(8px);



    transition:

        opacity .22s ease,

        visibility .22s ease,

        transform .22s ease;



    z-index: 1000;

}





/* APERTURA */



.th-menu-list > li:hover > .sub-menu,

.th-menu-list > li:focus-within > .sub-menu,

.th-menu-fallback > li:hover > .sub-menu,

.th-menu-fallback > li:focus-within > .sub-menu {



    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}





/* VOCI SUBMENU */



.th-menu-list .sub-menu li,

.th-menu-fallback .sub-menu li {

    margin: 0;

    padding: 0;

}



.th-menu-list .sub-menu a,

.th-menu-fallback .sub-menu a {



    display: block;



    padding: 13px 20px;



    color: var(--th-dark) !important;



    font-size: 15px !important;

    line-height: 1.35 !important;

    font-weight: 600 !important;



    text-decoration: none !important;



    transition:

        background-color .2s ease,

        color .2s ease,

        padding-left .2s ease;

}



.th-menu-list .sub-menu a:hover,

.th-menu-fallback .sub-menu a:hover {



    color: var(--th-gold) !important;

    background: rgba(0,115,129,.06);



    padding-left: 25px;

}





/* SUBMENU ATTIVO */



.th-menu-list .sub-menu .current-menu-item > a,

.th-menu-list .sub-menu .current_page_item > a,

.th-menu-fallback .sub-menu .current-menu-item > a,

.th-menu-fallback .sub-menu .current_page_item > a {



    color: var(--th-gold) !important;

    background: rgba(0,115,129,.05);

}





/* =========================================================

   MOBILE BUTTON

   ========================================================= */



.th-menu-toggle {

    display: none;



    width: 48px;

    height: 48px;



    padding: 10px;



    border: 1px solid rgba(0,115,129,.25);

    background: #fff;



    cursor: pointer;

}



.th-menu-toggle span {

    display: block;



    width: 100%;

    height: 2px;



    margin: 6px 0;



    background: var(--th-primary);

}





/* =========================================================

   TABLET

   ========================================================= */



@media (max-width: 1200px) {



    .th-header-inner {

        gap: 25px;

        padding: 0 25px;

    }



    .th-logo-img {

        width: 245px;

        max-width: 245px;

    }



    .th-menu-list,

    .th-menu-fallback {

        gap: 0;

    }



    .th-menu-list > li > a,

    .th-menu-fallback > li > a {

        padding-left: 9px;

        padding-right: 9px;

        font-size: 14px !important;

    }



}





/* =========================================================

   MOBILE

   ========================================================= */



@media (max-width: 900px) {



    .th-topbar-inner {

        padding: 0 18px;

    }



    .th-topbar-event {

        font-size: 11px;

        gap: 7px;

    }



    .th-social {

        gap: 5px;

    }



    .th-social-icon {

        width: 26px;

        height: 26px;

    }



    .th-social-icon svg {

        width: 13px;

        height: 13px;

    }





    .th-header-inner {

        min-height: 82px;

        padding: 0 18px;

    }



    .th-logo-img {

        width: 220px;

        max-width: 220px;

    }



    .th-menu-toggle {

        display: block;

        flex: 0 0 auto;

    }



    .th-menu {

        display: none;



        position: absolute;



        top: 100%;

        left: 0;

        right: 0;



        background: #fff;



        border-top: 3px solid var(--th-gold);



        box-shadow: 0 15px 30px rgba(0,0,0,.12);



        padding: 10px 0;

    }



    .th-menu.is-open {

        display: block;

    }



    .th-menu-list,

    .th-menu-fallback {

        display: block;

        width: 100%;

    }



    .th-menu-list > li,

    .th-menu-fallback > li {

        width: 100%;

    }



    .th-menu-list > li > a,

    .th-menu-fallback > li > a {



        min-height: 52px;



        padding: 0 22px;



        justify-content: space-between;



        font-size: 16px !important;

    }



    .th-menu-list > li > a::after,

    .th-menu-fallback > li > a::after {

        display: none;

    }



    .th-menu-list .sub-menu,

    .th-menu-fallback .sub-menu {



        position: static;



        min-width: 0;



        padding: 0;



        border-top: 0;



        box-shadow: none;



        opacity: 1;

        visibility: visible;



        transform: none;



        display: none;

    }



    .th-menu-list li:hover > .sub-menu,

    .th-menu-fallback li:hover > .sub-menu {

        display: block;

    }



    .th-menu-list .sub-menu a,

    .th-menu-fallback .sub-menu a {

        padding: 12px 38px;

        font-size: 15px !important;

    }



}





/* =========================================================

   SMALL MOBILE

   ========================================================= */



@media (max-width: 600px) {



    .th-topbar-event span:not(:first-child) {

        display: none;

    }



    .th-topbar-event {

        font-size: 10px;

    }



    .th-logo-img {

        width: 190px;

        max-width: 190px;

    }



}

/* Menu - rifinitura */

.th-menu-list > li > a,

.th-menu-fallback > li > a {

    font-size: 15px !important;

}



/* niente bordo/linea sotto al menu */

.th-menu-list > li > a::after,

.th-menu-fallback > li > a::after {

    display: none !important;

}

a:active, a:hover {

  color: #c59a68;

}

.th-back-top {

  position: fixed;

  right: 22px;

  bottom: 22px;

  width: 40px;

  height: 40px;

  border-radius: 50%;

  background: #c59a68;

  color: #fff !important;

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  z-index: 99999;

}
/* =========================================================
   MENU WORDPRESS DINAMICO - TH27
   La struttura del menu viene gestita da WordPress.
   ========================================================= */

#th-main-menu.th-menu-list {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    width: auto;
}

#th-main-menu.th-menu-list > li > a {
    color: var(--th-dark) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: .045em;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 0 15px !important;
    min-height: 58px;
}

#th-main-menu.th-menu-list > li > a:hover,
#th-main-menu.th-menu-list > li.current-menu-item > a,
#th-main-menu.th-menu-list > li.current-menu-parent > a,
#th-main-menu.th-menu-list > li.current-menu-ancestor > a,
#th-main-menu.th-menu-list > li.current_page_item > a,
#th-main-menu.th-menu-list > li.current_page_parent > a,
#th-main-menu.th-menu-list > li.current_page_ancestor > a {
    color: var(--th-gold) !important;
}

/* Nessuna linea sotto le voci principali. */
#th-main-menu.th-menu-list > li > a::after {
    display: none !important;
}

/* Freccia discreta solo sulle voci che hanno un sottomenu. */
#th-main-menu.th-menu-list > li.menu-item-has-children > a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    margin-left: 7px;
    order: 2;
    opacity: .65;
}

#th-main-menu.th-menu-list .sub-menu {
    left: 0;
    right: auto;
    min-width: 250px;
    padding: 10px 0;
    background: #fff;
    border-top: 3px solid var(--th-gold);
    box-shadow: 0 14px 32px rgba(0,0,0,.12);
}

#th-main-menu.th-menu-list .sub-menu a {
    padding: 12px 20px !important;
    color: #5d7680 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

#th-main-menu.th-menu-list .sub-menu a:hover,
#th-main-menu.th-menu-list .sub-menu .current-menu-item > a,
#th-main-menu.th-menu-list .sub-menu .current_page_item > a {
    color: var(--th-gold) !important;
    background: rgba(0,115,129,.05);
    padding-left: 25px !important;
}

/* Pulsante freccia creato via JS: nascosto su desktop. */
.th-submenu-toggle {
    display: none;
}

@media (max-width: 1200px) {
    #th-main-menu.th-menu-list > li > a {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 900px) {
    #th-main-menu.th-menu-list {
        display: block !important;
        width: 100% !important;
    }

    #th-main-menu.th-menu-list > li {
        width: 100%;
    }

    #th-main-menu.th-menu-list > li > a {
        min-height: 52px;
        padding: 0 22px !important;
        justify-content: space-between;
        font-size: 16px !important;
        border-bottom: 1px solid #edf1f2;
    }

    #th-main-menu.th-menu-list > li.menu-item-has-children > a::before {
        display: none;
    }

    #th-main-menu.th-menu-list .sub-menu {
        position: static;
        display: none;
        min-width: 0;
        padding: 0;
        border-top: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    #th-main-menu.th-menu-list > li.th-submenu-open > .sub-menu {
        display: block;
    }

    #th-main-menu.th-menu-list .sub-menu a {
        padding: 12px 42px !important;
        font-size: 15px !important;
        border-bottom: 1px solid #f0f3f4;
    }

    #th-main-menu.th-menu-list > li.menu-item-has-children {
        padding-right: 56px !important;
    }

    .th-submenu-toggle {
        display: flex;
        position: absolute;
        top: 4px;
        right: 10px;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        border: 0;
        background: transparent;
        cursor: pointer;
    }

    .th-submenu-toggle span {
        width: 8px;
        height: 8px;
        border-right: 1.5px solid var(--th-primary);
        border-bottom: 1.5px solid var(--th-primary);
        transform: rotate(45deg) translateY(-2px);
        transition: transform .2s ease;
    }

    .th-submenu-open > .th-submenu-toggle span {
        transform: rotate(225deg) translateY(-2px);
    }
}

/* =========================================================
   TUTTOHOTEL 2027 - INTERNAL PAGES
   ========================================================= */
.th-page{background:#fff;color:#2f4a52}
.th-page-container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.th-page-hero{background:linear-gradient(135deg,#007381 0%,#005f6b 100%);color:#fff;padding:76px 0 70px;overflow:hidden}
.th-page-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,480px);gap:55px;align-items:center}
.th-page-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#C59A68;margin-bottom:14px}
.th-page-hero h1{margin:0 0 18px;font-size:clamp(38px,5vw,62px);line-height:1.04;color:#fff;font-weight:700}
.th-page-hero p{margin:0;max-width:720px;font-size:19px;line-height:1.65;color:rgba(255,255,255,.9)}
.th-page-hero-media{height:310px;border-radius:4px;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.18)}
.th-page-hero-media img{width:100%;height:100%;object-fit:cover;display:block}
.th-page-section{padding:76px 0}
.th-page-section:nth-of-type(odd){background:#f6f8f8}
.th-page-section h2{font-size:clamp(30px,4vw,44px);line-height:1.1;color:#007381;margin:0 0 20px}
.th-page-section> .th-page-container>p,.th-page-section> .th-page-container>div>p{font-size:18px;line-height:1.7;max-width:900px;color:#536b72}
.th-card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}
.th-info-card,.th-hotel-card{background:#fff;border:1px solid #e4eaec;padding:28px;box-shadow:0 8px 25px rgba(0,0,0,.05)}
.th-info-card h3,.th-hotel-card h3{margin:0 0 12px;color:#007381;font-size:22px}
.th-card-text{color:#5c7076;font-size:16px;line-height:1.65}
.th-page-btn{display:inline-flex;align-items:center;gap:18px;margin-top:24px;background:#C59A68;color:#fff!important;padding:14px 21px;text-decoration:none!important;font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;transition:.2s}
.th-page-btn:hover{background:#007381;color:#fff!important;transform:translateY(-1px)}
.th-page-btn span{font-size:20px;line-height:1}
.th-highlight{display:flex;gap:18px;align-items:center;background:#fff;border-left:4px solid #C59A68;padding:20px 24px;margin:28px 0 4px;box-shadow:0 7px 22px rgba(0,0,0,.05)}
.th-highlight strong{color:#007381;white-space:nowrap}.th-highlight span{color:#61757b}
.th-contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:28px}.th-contact-grid>div{background:#fff;padding:25px;border:1px solid #e5ebed}.th-contact-grid h3{margin:0 0 10px;color:#007381}.th-contact-grid p{margin:0;line-height:1.65;color:#5d7177}
.th-note,.th-partner-box,.th-document-box{margin-top:28px;background:#fff;border:1px solid #e2e9eb;padding:22px 25px;color:#5d7177}.th-partner-box{display:flex;justify-content:space-between;gap:20px;align-items:center}.th-partner-box strong{color:#007381}.th-partner-box span{font-size:15px}
.th-hotel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:32px}.th-hotel-card p{margin:6px 0;color:#5c7076;line-height:1.5}.th-hotel-conditions{margin-top:17px;padding-top:15px;border-top:1px solid #edf1f2;color:#6c7e83;font-size:14px;line-height:1.55}
.th-document-box{display:flex;align-items:center;justify-content:space-between;gap:25px}.th-document-box>div{display:flex;flex-direction:column;gap:6px}.th-document-box strong{font-size:19px;color:#007381}.th-document-box span{font-size:14px;color:#718187}
.th-news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:30px}.th-news-card{background:#fff;border:1px solid #e5eaec;overflow:hidden;box-shadow:0 7px 25px rgba(0,0,0,.05)}.th-news-card img{display:block;width:100%;height:210px;object-fit:cover}.th-news-body{padding:22px}.th-news-date{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#C59A68;font-weight:700}.th-news-body h3{font-size:22px;line-height:1.2;margin:8px 0 12px}.th-news-body h3 a{color:#007381;text-decoration:none}.th-news-body p{font-size:15px;line-height:1.6;color:#65777c}.th-text-link{font-size:14px;font-weight:700;color:#007381;text-decoration:none}.th-empty,.th-gallery-empty{padding:28px;background:#fff;border:1px dashed #d7e0e2;color:#667a80;display:flex;flex-direction:column;gap:7px}.th-empty strong{color:#007381}
.th-gallery-year{margin-top:42px}.th-gallery-year h3{font-size:24px;color:#007381;margin:0 0 18px}.th-gallery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.th-gallery-item{display:block;aspect-ratio:4/3;overflow:hidden;background:#edf1f2}.th-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.th-gallery-item:hover img{transform:scale(1.04)}
@media(max-width:900px){.th-page-hero{padding:52px 0}.th-page-hero-grid{grid-template-columns:1fr;gap:28px}.th-page-hero-media{height:240px}.th-card-grid,.th-hotel-grid,.th-news-grid{grid-template-columns:1fr 1fr}.th-contact-grid{grid-template-columns:1fr}.th-gallery-grid{grid-template-columns:repeat(3,1fr)}.th-partner-box,.th-document-box{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.th-page-container{width:min(100% - 28px,1180px)}.th-page-hero h1{font-size:40px}.th-page-hero p{font-size:17px}.th-page-section{padding:54px 0}.th-card-grid,.th-hotel-grid,.th-news-grid{grid-template-columns:1fr}.th-gallery-grid{grid-template-columns:repeat(2,1fr)}.th-highlight{flex-direction:column;align-items:flex-start}.th-page-btn{width:auto}.th-news-card img{height:190px}}


/* =========================================================
   MENU FINAL POLISH v1.25
   ========================================================= */
html{scroll-behavior:smooth}

/* niente sottolineatura/linea attiva: separatori verticali tra le voci */
.th-menu-list > li > a::after,
.th-menu-fallback > li > a::after{
    display:none!important;
    content:none!important;
}
.th-menu-list > li + li > a::before,
.th-menu-fallback > li + li > a::before{
    content:"|";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    color:#cfd8da;
    font-weight:400;
    font-size:15px;
    opacity:.9;
}

/* solo la pagina realmente attiva resta evidenziata; il parent del dropdown no */
.th-menu-list > li.current-menu-parent > a,
.th-menu-list > li.current-menu-ancestor > a,
.th-menu-list > li.current_page_parent > a,
.th-menu-list > li.current_page_ancestor > a,
.th-menu-fallback > li.current-menu-parent > a,
.th-menu-fallback > li.current-menu-ancestor > a,
.th-menu-fallback > li.current_page_parent > a,
.th-menu-fallback > li.current_page_ancestor > a{
    color:var(--th-dark)!important;
}
.th-menu-list > li.current-menu-item > a,
.th-menu-list > li.current_page_item > a,
.th-menu-fallback > li.current-menu-item > a,
.th-menu-fallback > li.current_page_item > a{
    color:var(--th-gold)!important;
}

/* dropdown più morbido */
.th-menu-list .sub-menu,
.th-menu-fallback .sub-menu{
    border-top:2px solid var(--th-gold);
    border-radius:0 0 4px 4px;
    box-shadow:0 18px 38px rgba(0,0,0,.12);
    transform:translateY(4px);
    transition:opacity .18s ease,visibility .18s ease,transform .18s ease;
}
.th-menu-list > li:hover > .sub-menu,
.th-menu-list > li:focus-within > .sub-menu,
.th-menu-fallback > li:hover > .sub-menu,
.th-menu-fallback > li:focus-within > .sub-menu{
    transform:translateY(0);
}

/* le ancore non finiscono sotto l'header sticky */
.th-page-section,
.th-solutions,
.th-areas,
.th-tools,
[id]{scroll-margin-top:120px}

@media(max-width:900px){
    .th-menu-list > li + li > a::before,
    .th-menu-fallback > li + li > a::before{display:none!important}
    [id]{scroll-margin-top:92px}
}


/* HOTEL CONVENZIONATI - pagina più editoriale e leggibile */
.th-hotel-intro{max-width:930px!important;font-size:19px!important}
.th-hotel-callout{margin:28px 0 36px;padding:22px 26px;background:linear-gradient(135deg,rgba(0,115,129,.08),rgba(197,154,104,.10));border-left:4px solid var(--th-gold);display:flex;flex-direction:column;gap:7px}
.th-hotel-callout strong{font-size:19px;color:var(--th-dark)}
.th-hotel-callout span{font-size:16px;color:#5c7076;line-height:1.55}
.th-hotel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:0}
.th-hotel-card{position:relative;padding:30px 30px 26px;border-radius:4px;box-shadow:0 10px 30px rgba(0,0,0,.055);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.th-hotel-card:hover{transform:translateY(-4px);box-shadow:0 16px 35px rgba(0,0,0,.09);border-color:rgba(0,115,129,.25)}
.th-hotel-card h3{font-size:25px;margin-bottom:16px}
.th-hotel-card p{font-size:15px}
.th-hotel-conditions{background:#f7f9f9;border-top:0!important;padding:14px 16px!important;margin-top:20px!important;color:#536b72!important;font-size:14px!important;border-left:3px solid var(--th-teal)}
@media(max-width:700px){.th-hotel-grid{grid-template-columns:1fr}.th-hotel-card{padding:24px}.th-hotel-callout{padding:18px 20px}}

/* =========================================================
   TH27 - MENU FINALE / NAVIGAZIONE
   ========================================================= */
@media (min-width: 901px) {
  #th-main-menu.th-menu-list {
    gap: 0 !important;
  }

  #th-main-menu.th-menu-list > li {
    display: flex;
    align-items: center;
  }

  #th-main-menu.th-menu-list > li:not(:last-child)::after {
    content: "|";
    display: block;
    color: rgba(0,115,129,.34);
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    margin: 0 1px;
    pointer-events: none;
  }

  #th-main-menu.th-menu-list > li > a {
    min-height: 58px !important;
    padding: 0 12px !important;
    color: var(--th-dark) !important;
    transition: color .2s ease, background-color .2s ease;
  }

  /* Solo la pagina realmente attiva è oro. Il genitore di una sottovoce no. */
  #th-main-menu.th-menu-list > li.current-menu-parent > a,
  #th-main-menu.th-menu-list > li.current-menu-ancestor > a,
  #th-main-menu.th-menu-list > li.current_page_parent > a,
  #th-main-menu.th-menu-list > li.current_page_ancestor > a {
    color: var(--th-dark) !important;
  }

  #th-main-menu.th-menu-list > li.current-menu-item > a,
  #th-main-menu.th-menu-list > li.current_page_item > a,
  #th-main-menu.th-menu-list > li > a:hover {
    color: var(--th-gold) !important;
  }

  #th-main-menu.th-menu-list > li > a::after {
    display: none !important;
    content: none !important;
  }

  #th-main-menu.th-menu-list > li.menu-item-has-children > a::before {
    margin-left: 7px;
  }

  #th-main-menu.th-menu-list .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(7px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    pointer-events: none;
  }

  #th-main-menu.th-menu-list > li:hover > .sub-menu,
  #th-main-menu.th-menu-list > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Una sottovoce attiva può essere oro, ma non colora il genitore. */
  #th-main-menu.th-menu-list .sub-menu .current-menu-item > a,
  #th-main-menu.th-menu-list .sub-menu .current_page_item > a {
    color: var(--th-gold) !important;
    background: rgba(0,115,129,.045);
  }
}

/* Le sezioni con ID non finiscono sotto l'header sticky. */
.th-page-section[id],
.th-solutions[id],
.th-areas[id],
.th-tools[id] {
  scroll-margin-top: 120px;
}

/* =========================================================
   HOTEL - stesso linguaggio grafico delle altre pagine interne
   ========================================================= */
.th-hotel-page .th-page-section { padding-top: 72px; padding-bottom: 72px; }
.th-hotel-intro { max-width: 900px !important; margin-bottom: 28px !important; }
.th-hotel-callout {
  margin: 0 0 34px !important;
  padding: 22px 26px !important;
  background: #f6f8f8 !important;
  border: 1px solid #e3eaec !important;
  border-left: 4px solid var(--th-gold) !important;
  border-radius: 2px !important;
}
.th-hotel-callout strong { display:block; margin-bottom:5px; color:var(--th-dark); font-size:18px; }
.th-hotel-callout span { display:block; color:#60757b; font-size:15px; line-height:1.6; }
.th-hotel-grid { margin-top: 0 !important; }
.th-hotel-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 2px !important;
}
.th-hotel-card h3 { font-size: 23px !important; }
.th-hotel-conditions { margin-top:auto !important; }

@media(max-width:900px){
  #th-main-menu.th-menu-list > li:not(:last-child)::after { display:none; }
}

/* =========================================================
   TH27 v1.27 - NAVIGAZIONE DEFINITIVA
   ========================================================= */
@media (min-width:901px){
  #th-main-menu.th-menu-list{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:0!important;
  }
  #th-main-menu.th-menu-list > li{
    display:flex!important;
    align-items:center!important;
    position:relative!important;
  }
  /* Separatore reale tra le voci principali. */
  #th-main-menu.th-menu-list > li + li::before{
    content:"|"!important;
    display:block!important;
    color:rgba(0,115,129,.28)!important;
    font-size:13px!important;
    font-weight:400!important;
    line-height:1!important;
    margin:0 2px!important;
    pointer-events:none!important;
  }
  #th-main-menu.th-menu-list > li > a{
    display:flex!important;
    align-items:center!important;
    min-height:58px!important;
    padding:0 11px!important;
    color:#0a5262!important;
    font-size:13px!important;
    font-weight:700!important;
    letter-spacing:.7px!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    background:transparent!important;
  }
  /* Solo la voce di pagina corrente è oro. Parent/ancestor sempre neutri. */
  #th-main-menu.th-menu-list > li.current-menu-parent > a,
  #th-main-menu.th-menu-list > li.current-menu-ancestor > a,
  #th-main-menu.th-menu-list > li.current_page_parent > a,
  #th-main-menu.th-menu-list > li.current_page_ancestor > a{
    color:#0a5262!important;
  }
  #th-main-menu.th-menu-list > li.current-menu-item > a,
  #th-main-menu.th-menu-list > li.current_page_item > a{
    color:#c59a68!important;
  }
  #th-main-menu.th-menu-list > li > a:hover{
    color:#c59a68!important;
  }
  /* Nessuna sottolineatura. */
  #th-main-menu.th-menu-list > li > a::after{display:none!important;content:none!important;}

  /* Freccia solo sulle voci con figli. */
  #th-main-menu.th-menu-list > li.menu-item-has-children > a::before{
    content:""!important;
    width:5px!important;
    height:5px!important;
    border-right:1px solid currentColor!important;
    border-bottom:1px solid currentColor!important;
    transform:rotate(45deg)!important;
    margin-left:7px!important;
    order:2!important;
    opacity:.45!important;
  }

  /* Dropdown: nessuna voce resta oro per il solo fatto di essere stata visitata. */
  #th-main-menu.th-menu-list .sub-menu{
    left:0!important;
    right:auto!important;
    top:100%!important;
    min-width:245px!important;
    padding:8px 0!important;
    margin:0!important;
    background:#fff!important;
    border-top:2px solid #c59a68!important;
    border-radius:0 0 3px 3px!important;
    box-shadow:0 16px 35px rgba(0,0,0,.12)!important;
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transform:translateY(5px)!important;
    transition:opacity .18s ease,transform .18s ease,visibility .18s ease!important;
  }
  #th-main-menu.th-menu-list > li:hover > .sub-menu,
  #th-main-menu.th-menu-list > li:focus-within > .sub-menu{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:translateY(0)!important;
  }
  #th-main-menu.th-menu-list .sub-menu a,
  #th-main-menu.th-menu-list .sub-menu .current-menu-item > a,
  #th-main-menu.th-menu-list .sub-menu .current-menu-parent > a,
  #th-main-menu.th-menu-list .sub-menu .current-menu-ancestor > a,
  #th-main-menu.th-menu-list .sub-menu .current_page_item > a,
  #th-main-menu.th-menu-list .sub-menu .current_page_parent > a,
  #th-main-menu.th-menu-list .sub-menu .current_page_ancestor > a{
    display:block!important;
    padding:12px 18px!important;
    color:#5d7680!important;
    background:#fff!important;
    font-size:14px!important;
    font-weight:500!important;
    letter-spacing:0!important;
    text-transform:none!important;
  }
  #th-main-menu.th-menu-list .sub-menu a:hover{
    color:#c59a68!important;
    background:#f7fafb!important;
  }
}

/* Nasconde il titolo automatico di WordPress/Hello Elementor: le pagine
   interne usano il proprio hero e devono avere un unico titolo visivo. */
body.page .entry-title,
body.page .page-header,
body.page .elementor-page-title{
  display:none!important;
}

/* Ancore: margine coerente con l'header sticky. */
html{scroll-behavior:smooth!important;}
[id]{scroll-margin-top:120px!important;}
@media(max-width:900px){
  #th-main-menu.th-menu-list > li + li::before{display:none!important;}
  [id]{scroll-margin-top:92px!important;}
}

/* =========================================================
   TH27 v1.28 - MENU CLEAN FIX
   ========================================================= */
@media (min-width:901px){
  #th-main-menu.th-menu-list > li::before,
  #th-main-menu.th-menu-list > li::after{
    content:none !important;
    display:none !important;
  }

  /* Un solo separatore, esclusivamente tra le voci principali. */
  #th-main-menu.th-menu-list > li + li::before{
    content:"|" !important;
    display:block !important;
    width:auto !important;
    height:auto !important;
    border:0 !important;
    transform:none !important;
    color:rgba(0,115,129,.30) !important;
    font-size:13px !important;
    font-weight:400 !important;
    line-height:1 !important;
    margin:0 2px !important;
    opacity:1 !important;
    pointer-events:none !important;
  }

  /* La freccia del dropdown è separata dal pipe. */
  #th-main-menu.th-menu-list > li.menu-item-has-children > a::before{
    content:"" !important;
    display:block !important;
    width:5px !important;
    height:5px !important;
    border-right:1px solid currentColor !important;
    border-bottom:1px solid currentColor !important;
    transform:rotate(45deg) !important;
    margin-left:7px !important;
    order:2 !important;
    opacity:.45 !important;
  }

  /* Nessun elemento di stato WordPress colora il genitore. */
  #th-main-menu.th-menu-list > li.current-menu-parent > a,
  #th-main-menu.th-menu-list > li.current-menu-ancestor > a,
  #th-main-menu.th-menu-list > li.current_page_parent > a,
  #th-main-menu.th-menu-list > li.current_page_ancestor > a{
    color:#0a5262 !important;
  }

  /* Le voci del dropdown sono sempre neutre, tranne il vero hover. */
  #th-main-menu.th-menu-list > li > .sub-menu > li > a,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current-menu-item > a,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current-menu-parent > a,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current-menu-ancestor > a,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current_page_item > a,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current_page_parent > a,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current_page_ancestor > a{
    color:#5d7680 !important;
    background:#fff !important;
    padding-left:18px !important;
  }

  #th-main-menu.th-menu-list > li > .sub-menu > li > a:hover,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current-menu-item > a:hover,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current_page_item > a:hover{
    color:#c59a68 !important;
    background:#f7fafb !important;
    padding-left:23px !important;
  }
}

@media (max-width:900px){
  #th-main-menu.th-menu-list > li::before,
  #th-main-menu.th-menu-list > li::after{display:none !important;content:none !important;}
}

/* TH27 v1.29 - pagine dinamiche e ancore Elementor */
.th-page[id], .th-page-section[id], .e-con[id], .elementor-section[id] { scroll-margin-top: 125px !important; }
@media (max-width: 900px){
  .th-page[id], .th-page-section[id], .e-con[id], .elementor-section[id] { scroll-margin-top: 95px !important; }
}


/* TH27 v1.30 - menu: un solo separatore e nessun colore persistente nei dropdown */
@media (min-width:901px){
  #th-main-menu.th-menu-list > li > a::after{content:none!important;display:none!important;border:0!important;background:none!important;}
  #th-main-menu.th-menu-list > li > a::before{content:none!important;}
  #th-main-menu.th-menu-list > li.menu-item-has-children > a::before{content:""!important;display:block!important;width:5px!important;height:5px!important;border-right:1px solid currentColor!important;border-bottom:1px solid currentColor!important;transform:rotate(45deg)!important;margin-left:7px!important;order:2!important;opacity:.45!important;}
  #th-main-menu.th-menu-list > li + li::before{content:"|"!important;display:block!important;width:auto!important;height:auto!important;border:0!important;transform:none!important;color:rgba(0,115,129,.30)!important;font-size:13px!important;line-height:1!important;margin:0 2px!important;}
  #th-main-menu.th-menu-list .sub-menu li > a,
  #th-main-menu.th-menu-list .sub-menu li.current-menu-item > a,
  #th-main-menu.th-menu-list .sub-menu li.current-menu-parent > a,
  #th-main-menu.th-menu-list .sub-menu li.current-menu-ancestor > a,
  #th-main-menu.th-menu-list .sub-menu li.current_page_item > a,
  #th-main-menu.th-menu-list .sub-menu li.current_page_parent > a,
  #th-main-menu.th-menu-list .sub-menu li.current_page_ancestor > a{color:#5d7680!important;background:#fff!important;}
  #th-main-menu.th-menu-list .sub-menu li > a:hover{color:#c59a68!important;background:#f7fafb!important;}
}


/* v1.33 - pagine interne: preserva contenuti e immagini già presenti */
.th-existing-page{background:#fff;color:#2f4a52}
.th-existing-page-content{width:100%;margin:0;padding:0}
.th-existing-page-content .elementor{width:100%}
.th-existing-page-content .elementor-section,.th-existing-page-content .e-con{scroll-margin-top:125px}
.th-native-section{padding:76px 0;background:#f6f8f8}
.th-native-section h2{font-size:clamp(30px,4vw,44px);line-height:1.1;color:#007381;margin:0 0 20px}
.th-native-arrival .th-contact-grid{margin-bottom:10px}
.th-hotel-page-live .th-hotel-callout{display:none!important}
@media(max-width:600px){.th-existing-page-content .elementor-section,.th-existing-page-content .e-con{scroll-margin-top:95px}.th-native-section{padding:54px 0}}

/* v1.36 - cleanup HTML exports: no artificial vertical spacing from standalone BR tags */
.th-expo-page br,
.th-visit-page br,
.th-award-page br,
.th-contact-page br,
.th-hotel-page br { line-height: 0; }

.th-expo-page,
.th-visit-page,
.th-award-page,
.th-contact-page,
.th-hotel-page { overflow: hidden; }

.th-expo-page p,
.th-visit-page p,
.th-award-page p,
.th-contact-page p,
.th-hotel-page p { margin-top: 0; }

@media (max-width: 767px){
  .th-expo-page .th-container,
  .th-visit-page .th-container,
  .th-award-page .th-container,
  .th-contact-page .th-container,
  .th-hotel-page .th-container { width: min(100% - 30px, 1180px); }
}


/* v1.37 - final layout cleanup */
.th-site-header + main,
.th-site-header + .th-existing-page,
.th-existing-page { margin-top:0 !important; padding-top:0 !important; }
.th-existing-page > .elementor-element:first-child,
.th-existing-page > .elementor-element:first-child > .elementor-widget-wrap,
.th-existing-page .elementor-widget-html:first-child { margin-top:0 !important; padding-top:0 !important; }
.th-expo-page { margin-top:0 !important; padding-top:0 !important; }
.th-expo-page p, .th-expo-page li, .th-expo-page .th-expo-audience-card p, .th-expo-page .th-expo-benefit p, .th-expo-page .th-expo-video-title { font-size:15px; }
.th-expo-page .th-expo-eyebrow { font-size:11px; }
.th-expo-page .th-expo-intro-text p { font-size:15px; }
.th-expo-page .th-expo-audience-card h3 { font-size:16px; }
.th-expo-page .th-expo-benefit h3 { font-size:17px; }
.th-expo-page .th-expo-video-title { font-size:13px; }
.th-expo-hero { margin-top:0 !important; background-position:center center !important; }
.th-hotel-hero { background-image: linear-gradient(90deg, rgba(4,67,86,.98) 0%, rgba(4,67,86,.92) 35%, rgba(4,67,86,.38) 67%, rgba(4,67,86,.05) 100%), url("https://www.tuttohotel.info/wp-content/uploads/2026/07/banner_sito_th277-2048x819.jpg.webp") !important; }
.th-hotel-hero .th-expo-hero-content { width:52%; max-width:590px; }
@media(max-width:600px){ .th-expo-page p, .th-expo-page li, .th-expo-page .th-expo-intro-text p, .th-expo-page .th-expo-audience-card p, .th-expo-page .th-expo-benefit p {font-size:14px;} .th-hotel-hero .th-expo-hero-content{width:100%;} }


/* v1.38 - final alignment: remove Elementor wrapper gap, unify internal heroes, improve readability */
.th-native-rendered-page > .elementor-element:first-child{
  margin:0 !important;
  padding:0 !important;
  min-height:0 !important;
  height:auto !important;
  gap:0 !important;
  --padding-top:0px !important;
  --padding-bottom:0px !important;
  --padding-block-start:0px !important;
  --padding-block-end:0px !important;
}
.th-native-rendered-page > .elementor-element:first-child > .elementor-widget-wrap{
  margin:0 !important;
  padding:0 !important;
}
/* Nessuno spazio tra header e hero delle pagine native */
.th-native-rendered-page{margin-top:0 !important;padding-top:0 !important;}
.th-native-rendered-page > .elementor-element:first-child > .elementor-element:first-child{margin-top:0 !important;padding-top:0 !important;}

/* Hero desktop: stessa altezza su tutte le pagine interne */
.th-expo-hero,
.th-contact-hero,
.th-award-hero,
.th-visitors-hero{
  height:430px !important;
  min-height:430px !important;
}
.th-expo-hero,
.th-contact-hero,
.th-award-hero,
.th-visitors-hero{
  background-position:center center !important;
}
.th-visitors-hero img{object-position:center center !important;}

/* Testi leggermente più leggibili */
.th-expo-page p,
.th-expo-page li,
.th-visit-page p,
.th-award-page p,
.th-contact-page p,
.th-hotel-page p{
  font-size:16px;
}
.th-expo-page .th-expo-video-title{font-size:14px;}
.th-expo-page .th-expo-eyebrow,
.th-contact-eyebrow,
.th-award-eyebrow,
.th-visitors-eyebrow{font-size:11px;}

/* Award: pallini piccoli puliti, senza lo stile globale dei button */
.th-award-dots button.th-award-dot{
  appearance:none !important;
  -webkit-appearance:none !important;
  width:8px !important;
  min-width:8px !important;
  max-width:8px !important;
  height:8px !important;
  min-height:8px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:#b8c9ce !important;
  box-shadow:none !important;
  line-height:0 !important;
  font-size:0 !important;
}
.th-award-dots button.th-award-dot.is-active{
  width:8px !important;
  min-width:8px !important;
  max-width:8px !important;
  background:#18b7d9 !important;
}
.th-award-dots{gap:8px;margin-top:22px;}

@media(max-width:600px){
  .th-expo-hero,
  .th-contact-hero,
  .th-award-hero,
  .th-visitors-hero{
    height:390px !important;
    min-height:390px !important;
  }
  .th-expo-page p,
  .th-expo-page li,
  .th-visit-page p,
  .th-award-page p,
  .th-contact-page p,
  .th-hotel-page p{font-size:15px;}
}

/* v1.39 - Media / News / Gallery / Privacy */
.th-legacy-page{background:#fff;color:#2f4a52}
.th-legacy-hero{margin:0!important;padding:0!important}
.th-legacy-section{padding:72px 0;background:#fff}
.th-legacy-head{text-align:center;max-width:820px;margin:0 auto 42px}
.th-legacy-head h2{margin:8px 0 12px;color:#007381;font-size:clamp(30px,3.2vw,44px);line-height:1.1}
.th-legacy-intro{font-size:17px;line-height:1.7;color:#60777e}
.th-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.th-news-card{background:#fff;border:1px solid #dfe9eb;box-shadow:0 12px 30px rgba(0,0,0,.06);display:flex;flex-direction:column;overflow:hidden}
.th-news-image{display:block;aspect-ratio:980/588;background:#0b5667;overflow:hidden}
.th-news-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.th-news-card:hover .th-news-image img{transform:scale(1.03)}
.th-news-card-body{padding:24px;display:flex;flex-direction:column;flex:1}
.th-news-date{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:#00a9c5;font-weight:700}
.th-news-card h3{font-size:22px;line-height:1.18;color:#00566a;margin:10px 0 12px}
.th-news-card p{font-size:16px;line-height:1.65;color:#647b81;margin:0 0 20px;flex:1}
.th-news-card .th-page-btn{align-self:flex-start}
.th-gallery-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.th-gallery-item{display:block;aspect-ratio:4/3;background:#0b5667;overflow:hidden}
.th-gallery-item img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.th-gallery-item:hover img{transform:scale(1.04)}
.th-legacy-empty{max-width:720px;margin:auto;padding:45px;text-align:center;background:#f2f7f8;border:1px solid #dfe9eb}
.th-privacy-content{max-width:980px;margin:auto;font-size:16px;line-height:1.75;color:#4f676d}
.th-privacy-content h1,.th-privacy-content h2,.th-privacy-content h3{color:#00566a;line-height:1.2;margin-top:34px}
.th-privacy-content h2{font-size:28px}.th-privacy-content h3{font-size:21px}
.th-privacy-content ul{padding-left:22px}.th-privacy-content a{color:#007381}
.th-cookie-bar{position:fixed;left:0;right:0;bottom:0;z-index:999999;background:#00566a;color:#fff;border-top:3px solid #c59a68;box-shadow:0 -10px 35px rgba(0,0,0,.18)}
.th-cookie-inner{max-width:1180px;margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.th-cookie-text{display:flex;align-items:center;gap:14px;flex-wrap:wrap;font-size:14px;line-height:1.45}.th-cookie-text strong{font-size:16px}.th-cookie-text a{color:#c59a68;text-decoration:underline}
.th-cookie-actions{display:flex;gap:10px;flex-shrink:0}.th-cookie-btn{border:1px solid #fff;padding:10px 20px;text-transform:uppercase;font-size:12px;font-weight:700;cursor:pointer}.th-cookie-reject{background:transparent;color:#fff}.th-cookie-accept{background:#13b4d1;color:#fff;border-color:#13b4d1}
@media(max-width:900px){.th-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.th-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.th-legacy-section{padding:54px 0}.th-news-grid,.th-gallery-grid{grid-template-columns:1fr}.th-cookie-inner{display:block;padding:15px 18px}.th-cookie-text{display:block;margin-bottom:12px}.th-cookie-text span{display:block;margin:4px 0}.th-cookie-actions{justify-content:flex-end}.th-news-card h3{font-size:20px}}


/* =========================================================
   v1.40 - NEWS/GALLERY RECOVERY + LIGHTBOX
   ========================================================= */
.th-news-back{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--th-teal)!important;
    font-size:15px;
    font-weight:800;
    margin-bottom:26px;
}
.th-news-single{
    max-width:920px;
    margin:0 auto;
    background:#fff;
}
.th-news-single-date{
    color:#00a9c5;
    font-size:13px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.12em;
    margin-bottom:10px;
}
.th-news-single h2{
    color:#00566a;
    font-size:clamp(32px,4vw,52px);
    line-height:1.08;
    margin:0 0 30px;
}
.th-news-single-content{
    font-size:17px;
    line-height:1.8;
    color:#536b72;
}
.th-news-single-content img{
    max-width:100%;
    height:auto;
    display:block;
    margin:28px auto;
}
.th-news-single-content h2,
.th-news-single-content h3,
.th-news-single-content h4{
    color:#00566a;
    line-height:1.2;
    margin-top:34px;
}
.th-news-single-content p{margin:0 0 18px}
.th-news-single-content ul,
.th-news-single-content ol{padding-left:24px;margin:0 0 22px}
.th-news-single-content a{color:var(--th-teal);font-weight:700}
.th-gallery-year + .th-gallery-year{margin-top:58px}

/* Lightbox */
body.th-lightbox-open{overflow:hidden!important}
.th-lightbox{
    position:fixed;
    inset:0;
    z-index:1000000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:55px 90px;
    background:rgba(2,35,43,.94);
    opacity:0;
    visibility:hidden;
    transition:opacity .2s ease,visibility .2s ease;
}
.th-lightbox.is-open{opacity:1;visibility:visible}
.th-lightbox-stage{
    width:min(1200px,90vw);
    height:min(82vh,900px);
    display:flex;
    align-items:center;
    justify-content:center;
}
.th-lightbox-stage img{
    max-width:100%;
    max-height:100%;
    width:auto;
    height:auto;
    object-fit:contain;
    box-shadow:0 15px 60px rgba(0,0,0,.35);
}
.th-lightbox-close,
.th-lightbox-prev,
.th-lightbox-next{
    position:absolute;
    border:0;
    background:rgba(255,255,255,.12);
    color:#fff;
    width:52px;
    height:52px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-size:36px;
    line-height:1;
}
.th-lightbox-close{right:25px;top:22px;font-size:34px}
.th-lightbox-prev{left:22px;top:50%;transform:translateY(-50%)}
.th-lightbox-next{right:22px;top:50%;transform:translateY(-50%)}
.th-lightbox-close:hover,
.th-lightbox-prev:hover,
.th-lightbox-next:hover{background:#12aabd}
.th-gallery-item{cursor:zoom-in}
@media(max-width:600px){
    .th-lightbox{padding:45px 12px}
    .th-lightbox-stage{width:94vw;height:78vh}
    .th-lightbox-prev,.th-lightbox-next{width:42px;height:42px;font-size:28px}
    .th-lightbox-prev{left:8px}
    .th-lightbox-next{right:8px}
    .th-lightbox-close{right:10px;top:8px;width:42px;height:42px}
}

/* NEWS INTERNA: nessuna immagine articolo; la sola immagine della pagina e la hero comune */
.th-news-single-content img,.th-news-single-content figure,.th-news-single-content picture{display:none!important}

/* =========================================================
   v1.43 - HERO UNICA + NEWS ARTICLE + 404
   ========================================================= */
.th-unified-hero{
    width:100%;
    margin:0;
    padding:0;
    line-height:0;
    overflow:hidden;
    background:#007381;
}
.th-unified-hero img{
    display:block;
    width:100%;
    height:auto;
    margin:0;
}
.th-news-article-section{padding:68px 0 82px;background:#fff}
.th-news-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:58px;align-items:start}
.th-news-article{min-width:0}
.th-news-article h1{color:#00566a;font-size:clamp(34px,4vw,54px);line-height:1.08;margin:0 0 24px}
.th-news-featured-image{margin:0 0 34px;background:#edf3f4;overflow:hidden}
.th-news-featured-image img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover}
.th-news-single-content img,.th-news-single-content figure,.th-news-single-content picture{display:none!important}
.th-news-single-content{font-size:17px;line-height:1.82;color:#536b72}
.th-news-single-content p{margin:0 0 20px}
.th-news-sidebar{position:sticky;top:110px}
.th-news-sidebar-box{background:#f3f8f9;border-top:4px solid #C59A68;padding:26px 22px}
.th-news-sidebar-box h2{margin:0 0 20px;color:#00566a;font-size:29px;line-height:1.1}
.th-news-sidebar-list{display:flex;flex-direction:column;gap:15px}
.th-news-sidebar-item{display:grid;grid-template-columns:88px minmax(0,1fr);gap:12px;text-decoration:none!important;padding-bottom:15px;border-bottom:1px solid #d9e5e7}
.th-news-sidebar-item img{width:88px;height:68px;object-fit:cover;display:block}
.th-news-sidebar-item span{min-width:0}
.th-news-sidebar-item small{display:block;color:#C59A68;font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:800;margin-bottom:5px}
.th-news-sidebar-item strong{display:block;color:#00566a;font-size:14px;line-height:1.25}
.th-news-sidebar-all{display:inline-block;margin-top:18px;color:#007381!important;font-size:14px;font-weight:800;text-decoration:none!important}
.th-under-construction{padding:72px 0 90px;text-align:center}
.th-under-construction .th-page-container{max-width:820px}
.th-under-construction h1{margin:5px 0 15px;color:#00566a;font-size:clamp(36px,5vw,58px)}
.th-under-construction> .th-page-container>p{margin:0 auto;max-width:700px;font-size:18px;line-height:1.7;color:#5c7076}
.th-under-construction-box{margin:36px auto 0;padding:32px;background:#f3f8f9;border:1px solid #dce8ea;display:flex;flex-direction:column;align-items:center;gap:8px}
.th-under-construction-box strong{color:#007381;font-size:24px}
.th-under-construction-box span{color:#687d83}
@media(max-width:900px){
    .th-news-layout{grid-template-columns:1fr;gap:42px}
    .th-news-sidebar{position:static}
}
/* Le pagine interne usano la hero standard; Award mantiene la propria hero dedicata. */
.th-native-rendered-page .th-expo-hero,
.th-native-rendered-page .th-visitors-hero,
.th-native-rendered-page .th-contact-hero,
.th-native-rendered-page .th-hotel-hero{display:none!important}


/* =========================================================
   v1.44 - HERO INTERNA STANDARD
   La Home mantiene la sua hero originale. Questa hero e' solo
   il fallback delle pagine interne che non hanno una hero propria.
   ========================================================= */
.th-internal-hero{width:100%;margin:0;padding:0;background:#007381;overflow:hidden;line-height:0}
.th-internal-hero-grid{display:block;min-height:0}
.th-internal-hero-copy{display:none}
.th-internal-hero-media{display:block;position:relative;width:100%;height:auto;min-height:0;overflow:hidden}
.th-internal-hero-media:before{display:none}
.th-internal-hero-media img{display:block;width:100%;height:auto;max-width:none;object-fit:contain}

/* v1.46 - hero interna definitiva da v1.38 + gallery ottimizzata */
.th-gallery-item img{display:block;width:100%;height:100%;object-fit:cover;loading-lazy:lazy}
.th-gallery-item{background:#edf3f4}
.th-gallery-item img{content-visibility:auto}
@media(max-width:700px){.th-gallery-grid{gap:10px}.th-gallery-item{aspect-ratio:4/3}}

/* =========================================================
   v1.46 - HERO INTERNA DEFINITIVA
   Home: hero propria.
   Award 2027: hero propria.
   Tutte le altre pagine: banner interno standard fornito per TH27.
   ========================================================= */
.th-internal-hero{
  width:100%;
  margin:0!important;
  padding:0!important;
  background:#fff;
  overflow:hidden;
  line-height:0;
}
.th-internal-hero-media{
  width:100%;
  margin:0!important;
  padding:0!important;
  height:auto!important;
  min-height:0!important;
  overflow:hidden;
}
.th-internal-hero-media img{
  display:block;
  width:100%;
  height:auto;
  max-width:none;
  margin:0!important;
  padding:0!important;
  object-fit:contain;
}
.th-internal-hero-copy{display:none!important;}

/* Le pagine che in precedenza avevano una hero nativa vengono ricondotte
   al banner interno standard; Award resta escluso perché ha la propria hero. */
.th-native-rendered-page .th-expo-hero,
.th-native-rendered-page .th-visitors-hero,
.th-native-rendered-page .th-contact-hero,
.th-native-rendered-page .th-hotel-hero{
  display:none!important;
}

/* Niente spazio artificiale tra header e banner. */
.th-site-header + main,
.th-site-header + .th-existing-page,
.th-existing-page{
  margin-top:0!important;
  padding-top:0!important;
}

/* Gallery: le miniature sono locali e leggere; il lightbox usa l'originale. */
.th-gallery-item img{
  display:block;
  width:100%;
  height:220px;
  object-fit:cover;
}

@media(max-width:900px){
  .th-gallery-item img{height:190px;}
}
@media(max-width:600px){
  .th-gallery-item img{height:180px;}
}


/* =========================================================
   V1.47 - Aree speciali / Media Partner / Footer / Hero
   ========================================================= */

/* Hero interne: altezza contenuta, immagine centrata, overlay e titolo centrato */
.th-internal-hero{
  width:100%;
  height:320px!important;
  min-height:320px!important;
  margin:0!important;
  padding:0!important;
  position:relative;
  overflow:hidden;
  line-height:normal;
  background:#007381;
}
.th-internal-hero-media{
  width:100%;
  height:320px!important;
  margin:0!important;
  padding:0!important;
  position:relative;
  overflow:hidden;
}
.th-internal-hero-media img{
  display:block;
  width:100%!important;
  height:100%!important;
  max-width:none;
  margin:0!important;
  padding:0!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.th-internal-hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  background:rgba(0,73,91,.56);
  pointer-events:none;
}
.th-internal-hero-copy{
  position:absolute;
  inset:0;
  z-index:2;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:30px 20px;
  color:#fff;
  line-height:1.2;
}
.th-internal-hero-copy span{
  display:block;
  margin:0 0 12px;
  color:#20b5d3;
  font-size:12px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
}
.th-internal-hero-copy h1{
  margin:0!important;
  color:#fff!important;
  font-size:clamp(38px,5vw,64px)!important;
  line-height:1.05!important;
  font-weight:700!important;
}
.th-internal-hero-copy p{
  max-width:760px;
  margin:16px 0 0!important;
  color:#fff!important;
  font-size:16px!important;
  line-height:1.55!important;
}

/* Aree speciali con i loghi ufficiali */
.th-areas-grid-logos{
  grid-template-columns:repeat(3,minmax(0,1fr));
  align-items:stretch;
}
.th-area-logo{
  display:flex;
  flex-direction:column;
  min-height:420px;
}
.th-area-logo-wrap{
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:12px 20px;
  margin:0 0 12px;
}
.th-area-logo-wrap img{
  display:block;
  width:100%;
  height:100%;
  max-width:250px;
  object-fit:contain;
}
.th-area-logo p{
  margin-top:auto;
  line-height:1.65;
  font-size:13px;
}

/* Media Partner */
.th-media-partners-section{
  padding:85px 0;
  background:#f3f7f8;
}
.th-media-partners-section h2{
  margin:0 0 38px;
  color:var(--th-ink);
  font-size:clamp(30px,4vw,48px);
  line-height:1.08;
}
.th-media-partner-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.th-media-partner-logo{
  min-height:190px;
  padding:28px;
  background:#fff;
  border:1px solid #e1eaec;
  display:flex;
  align-items:center;
  justify-content:center;
}
.th-media-partner-logo img{
  display:block;
  width:100%;
  height:130px;
  object-fit:contain;
  max-width:310px;
}

/* Footer logo: sostituisce la scritta mantenendo invariata la struttura */
.th-footer-logo{
  display:inline-flex;
  align-items:center;
  max-width:220px;
}
.th-footer-logo img{
  display:block;
  width:205px;
  max-width:100%;
  height:auto;
}

/* Mobile: base prudente, revisione dettagliata nella fase finale */
@media(max-width:900px){
  .th-internal-hero,
  .th-internal-hero-media{
    height:260px!important;
    min-height:260px!important;
  }
  .th-internal-hero-copy{padding:24px 18px}
  .th-internal-hero-copy span{font-size:10px;letter-spacing:2px;margin-bottom:9px}
  .th-internal-hero-copy h1{font-size:38px!important}
  .th-internal-hero-copy p{font-size:14px!important;margin-top:11px!important}
  .th-areas-grid-logos{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .th-media-partner-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:600px){
  .th-internal-hero,
  .th-internal-hero-media{
    height:220px!important;
    min-height:220px!important;
  }
  .th-internal-hero-copy{padding:20px 15px}
  .th-internal-hero-copy h1{font-size:31px!important}
  .th-internal-hero-copy p{font-size:13px!important;line-height:1.45!important}
  .th-areas-grid-logos,
  .th-media-partner-grid{
    grid-template-columns:1fr;
  }
  .th-area-logo{
    min-height:0;
  }
}

/* =========================================================
   V1.49 - MENU MOBILE / HOVER TUTTOHOTEL
   ========================================================= */
@media (max-width:900px){
  /* Pannello menu: pulito, compatto e coerente con la palette Tuttohotel. */
  .th-menu{
    background:#fff!important;
    border-top:2px solid var(--th-gold)!important;
    box-shadow:0 12px 28px rgba(0,73,91,.12)!important;
    padding:0!important;
  }

  #th-main-menu.th-menu-list > li{
    background:#fff!important;
    padding-right:56px!important;
  }

  #th-main-menu.th-menu-list > li > a,
  #th-main-menu.th-menu-list > li.current-menu-item > a,
  #th-main-menu.th-menu-list > li.current-menu-parent > a,
  #th-main-menu.th-menu-list > li.current-menu-ancestor > a,
  #th-main-menu.th-menu-list > li.current_page_item > a,
  #th-main-menu.th-menu-list > li.current_page_parent > a,
  #th-main-menu.th-menu-list > li.current_page_ancestor > a{
    min-height:52px!important;
    padding:0 22px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    color:var(--th-ink)!important;
    background:#fff!important;
    border-bottom:1px solid var(--th-line)!important;
    font-size:16px!important;
    font-weight:700!important;
    letter-spacing:.4px!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    transition:background .18s ease,color .18s ease!important;
  }

  /* Hover/focus: niente rosso, solo colori Tuttohotel. */
  #th-main-menu.th-menu-list > li > a:hover,
  #th-main-menu.th-menu-list > li > a:focus,
  #th-main-menu.th-menu-list > li.current-menu-item > a:hover,
  #th-main-menu.th-menu-list > li.current-menu-parent > a:hover,
  #th-main-menu.th-menu-list > li.current-menu-ancestor > a:hover{
    color:var(--th-teal)!important;
    background:#edf7f8!important;
    outline:none!important;
  }

  /* Voce attiva: evidenza discreta con il teal, senza blocchi rossi. */
  #th-main-menu.th-menu-list > li.current-menu-item > a,
  #th-main-menu.th-menu-list > li.current_page_item > a{
    color:var(--th-teal)!important;
    background:#f3f8f9!important;
  }

  /* Freccia sempre nel linguaggio grafico Tuttohotel. */
  .th-submenu-toggle{
    top:4px!important;
    right:8px!important;
    width:44px!important;
    height:44px!important;
    background:transparent!important;
    border:0!important;
  }
  .th-submenu-toggle:hover,
  .th-submenu-toggle:focus{
    background:#edf7f8!important;
    outline:none!important;
  }
  .th-submenu-toggle span{
    border-right:1.5px solid var(--th-teal)!important;
    border-bottom:1.5px solid var(--th-teal)!important;
  }

  /* Sottomenu: visibile solo quando aperto, con gerarchia chiara. */
  #th-main-menu.th-menu-list .sub-menu{
    background:#f5f9fa!important;
    border-left:3px solid var(--th-teal)!important;
    margin:0!important;
  }
  #th-main-menu.th-menu-list > li.th-submenu-open > .sub-menu{
    display:block!important;
  }
  #th-main-menu.th-menu-list .sub-menu li{
    background:#f5f9fa!important;
  }
  #th-main-menu.th-menu-list .sub-menu a,
  #th-main-menu.th-menu-list .sub-menu li.current-menu-item > a,
  #th-main-menu.th-menu-list .sub-menu li.current_page_item > a,
  #th-main-menu.th-menu-list .sub-menu li.current-menu-parent > a,
  #th-main-menu.th-menu-list .sub-menu li.current-menu-ancestor > a{
    min-height:44px!important;
    padding:0 22px 0 28px!important;
    display:flex!important;
    align-items:center!important;
    color:#5d7680!important;
    background:#f5f9fa!important;
    border-bottom:1px solid #e2ecee!important;
    font-size:14px!important;
    font-weight:500!important;
    text-transform:none!important;
    letter-spacing:0!important;
  }
  #th-main-menu.th-menu-list .sub-menu a:hover,
  #th-main-menu.th-menu-list .sub-menu a:focus{
    color:var(--th-teal)!important;
    background:#eaf5f6!important;
    outline:none!important;
  }
}

/* =========================================================
   TH27 v1.50 - MOBILE MENU / PALETTE DEFINITIVA
   ========================================================= */
@media (max-width:900px){
  /* Il menu mobile deve occupare tutta la larghezza disponibile. */
  #th-main-menu.th-menu-list,
  #th-main-menu.th-menu-fallback{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    display:block!important;
    background:#fff!important;
  }

  #th-main-menu.th-menu-list > li,
  #th-main-menu.th-menu-fallback > li{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    position:relative!important;
    background:#fff!important;
  }

  /* Voci principali: niente rosa/rosso del tema/plugin. */
  #th-main-menu.th-menu-list > li > a,
  #th-main-menu.th-menu-fallback > li > a{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-height:54px!important;
    box-sizing:border-box!important;
    padding:0 54px 0 22px!important;
    border:0!important;
    border-bottom:1px solid #e5eef0!important;
    color:#0a5262!important;
    background:#fff!important;
    font-size:16px!important;
    font-weight:700!important;
    letter-spacing:.5px!important;
    text-transform:uppercase!important;
    text-decoration:none!important;
    transition:background-color .18s ease,color .18s ease!important;
  }

  /* Hover/focus/active nella palette Tuttohotel. */
  #th-main-menu.th-menu-list > li > a:hover,
  #th-main-menu.th-menu-list > li > a:focus,
  #th-main-menu.th-menu-list > li > a:active,
  #th-main-menu.th-menu-fallback > li > a:hover,
  #th-main-menu.th-menu-fallback > li > a:focus,
  #th-main-menu.th-menu-fallback > li > a:active{
    color:#007381!important;
    background:#eef7f8!important;
  }

  /* La voce attiva non deve diventare rossa/rosa. */
  #th-main-menu.th-menu-list > li.current-menu-item > a,
  #th-main-menu.th-menu-list > li.current-menu-parent > a,
  #th-main-menu.th-menu-list > li.current-menu-ancestor > a,
  #th-main-menu.th-menu-list > li.current_page_item > a,
  #th-main-menu.th-menu-list > li.current_page_parent > a,
  #th-main-menu.th-menu-list > li.current_page_ancestor > a,
  #th-main-menu.th-menu-fallback > li.current-menu-item > a,
  #th-main-menu.th-menu-fallback > li.current-menu-parent > a,
  #th-main-menu.th-menu-fallback > li.current-menu-ancestor > a,
  #th-main-menu.th-menu-fallback > li.current_page_item > a,
  #th-main-menu.th-menu-fallback > li.current_page_parent > a,
  #th-main-menu.th-menu-fallback > li.current_page_ancestor > a{
    color:#007381!important;
    background:#eef7f8!important;
  }

  /* Se il genitore è aperto, evidenziamo leggermente la riga. */
  #th-main-menu.th-menu-list > li.th-submenu-open > a,
  #th-main-menu.th-menu-fallback > li.th-submenu-open > a{
    color:#007381!important;
    background:#eef7f8!important;
  }

  /* Elimina tutte le frecce/pseudo-elementi ereditati. */
  #th-main-menu.th-menu-list > li > a::before,
  #th-main-menu.th-menu-list > li > a::after,
  #th-main-menu.th-menu-fallback > li > a::before,
  #th-main-menu.th-menu-fallback > li > a::after{
    content:none!important;
    display:none!important;
  }

  /* Pulsante freccia: trasparente, piccolo e teal. */
  #th-main-menu.th-menu-list > li > .th-submenu-toggle,
  #th-main-menu.th-menu-fallback > li > .th-submenu-toggle{
    display:flex!important;
    position:absolute!important;
    top:5px!important;
    right:7px!important;
    width:44px!important;
    height:44px!important;
    margin:0!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    border:0!important;
    border-radius:2px!important;
    background:transparent!important;
    color:#007381!important;
    box-shadow:none!important;
    outline:none!important;
    cursor:pointer!important;
  }

  #th-main-menu.th-menu-list > li > .th-submenu-toggle:hover,
  #th-main-menu.th-menu-list > li > .th-submenu-toggle:focus,
  #th-main-menu.th-menu-list > li > .th-submenu-toggle:active,
  #th-main-menu.th-menu-fallback > li > .th-submenu-toggle:hover,
  #th-main-menu.th-menu-fallback > li > .th-submenu-toggle:focus,
  #th-main-menu.th-menu-fallback > li > .th-submenu-toggle:active{
    background:#dff1f3!important;
    color:#007381!important;
  }

  #th-main-menu.th-menu-list > li > .th-submenu-toggle span,
  #th-main-menu.th-menu-fallback > li > .th-submenu-toggle span{
    display:block!important;
    width:8px!important;
    height:8px!important;
    border:0!important;
    border-right:1.5px solid #007381!important;
    border-bottom:1.5px solid #007381!important;
    background:transparent!important;
    transform:rotate(45deg) translate(-2px,-2px)!important;
    transition:transform .2s ease!important;
  }

  #th-main-menu.th-menu-list > li.th-submenu-open > .th-submenu-toggle span,
  #th-main-menu.th-menu-fallback > li.th-submenu-open > .th-submenu-toggle span{
    transform:rotate(225deg) translate(-2px,-2px)!important;
  }

  /* Sottomenu: gerarchia pulita, niente colori ereditati dal tema. */
  #th-main-menu.th-menu-list > li > .sub-menu,
  #th-main-menu.th-menu-fallback > li > .sub-menu{
    position:static!important;
    display:none!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-left:3px solid #007381!important;
    border-radius:0!important;
    box-shadow:none!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
    background:#f3f8f9!important;
    pointer-events:auto!important;
  }

  #th-main-menu.th-menu-list > li.th-submenu-open > .sub-menu,
  #th-main-menu.th-menu-fallback > li.th-submenu-open > .sub-menu{
    display:block!important;
  }

  #th-main-menu.th-menu-list > li > .sub-menu > li,
  #th-main-menu.th-menu-fallback > li > .sub-menu > li{
    width:100%!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
  }

  #th-main-menu.th-menu-list > li > .sub-menu > li > a,
  #th-main-menu.th-menu-fallback > li > .sub-menu > li > a{
    display:block!important;
    width:100%!important;
    min-height:46px!important;
    box-sizing:border-box!important;
    padding:13px 24px 13px 25px!important;
    border:0!important;
    border-bottom:1px solid #e1ebed!important;
    color:#4f7079!important;
    background:#f3f8f9!important;
    font-size:15px!important;
    font-weight:500!important;
    line-height:1.35!important;
    letter-spacing:0!important;
    text-transform:none!important;
    text-decoration:none!important;
    transition:background-color .18s ease,color .18s ease,padding-left .18s ease!important;
  }

  #th-main-menu.th-menu-list > li > .sub-menu > li > a:hover,
  #th-main-menu.th-menu-list > li > .sub-menu > li > a:focus,
  #th-main-menu.th-menu-list > li > .sub-menu > li > a:active,
  #th-menu-fallback > li > .sub-menu > li > a:hover,
  #th-main-menu.th-menu-fallback > li > .sub-menu > li > a:hover{
    color:#007381!important;
    background:#e5f3f5!important;
    padding-left:30px!important;
  }

  #th-main-menu.th-menu-list > li > .sub-menu > li.current-menu-item > a,
  #th-main-menu.th-menu-list > li > .sub-menu > li.current_page_item > a,
  #th-main-menu.th-menu-fallback > li > .sub-menu > li.current-menu-item > a,
  #th-main-menu.th-menu-fallback > li > .sub-menu > li.current_page_item > a{
    color:#007381!important;
    background:#e5f3f5!important;
  }
}

/* =========================================================
   V1.52 - MEDIA PARTNER: loghi aggiuntivi
   Mantiene la griglia esistente e uniforma la resa dei loghi
   con proporzioni differenti.
   ========================================================= */
.th-media-partner-logo img{
  max-height:130px;
  object-fit:contain;
}
@media(max-width:600px){
  .th-media-partner-logo{
    min-height:150px;
    padding:20px;
  }
  .th-media-partner-logo img{
    height:105px;
    max-height:105px;
  }
}


.th-beyond-image img {
  display: block;
  width: 100%;
  height: 225px;
  object-fit: cover;
  object-position: center;
}
.th-text-link {
  font-size: 14px;
  font-weight: 700;
  color: #007381;
  text-decoration: none;
  display: none;
}
@media (max-width: 767px) {

    .hero-home,
    .hero-section,
    .home-hero {
        position: relative;
    }

    .hero-home::before,
    .hero-section::before,
    .home-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(0, 55, 70, 0.72) 0%,
            rgba(0, 55, 70, 0.58) 55%,
            rgba(0, 55, 70, 0.25) 100%
        );
        z-index: 1;
        pointer-events: none;
    }

    .hero-home > *,
    .hero-section > *,
    .home-hero > * {
        position: relative;
        z-index: 2;
    }

}
/* =========================================
   HOME HERO - OVERLAY MOBILE
   ========================================= */

@media (max-width: 767px) {

    .th-hero {
        position: relative;
    }

    .th-hero .th-hero-overlay {
        background: linear-gradient(
            90deg,
            rgba(0, 63, 78, 0.78) 0%,
            rgba(0, 63, 78, 0.65) 55%,
            rgba(0, 63, 78, 0.38) 100%
        ) !important;
    }

    .th-hero .th-hero-copy {
        position: relative;
        z-index: 2;
    }

}