
/* ==========================================================
   TT MONZA SHELL 1.2 — intestazione autonoma identica alla Home
   Evita get_header(), perché il tema attuale concentra la grafica
   della home nel template principale e header.php è solo un fallback.
   ========================================================== */
body.ttmsa-shell-page{margin:0!important;background:#fff!important;color:#101826!important;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;line-height:1.6!important}
body.ttmsa-shell-page *{box-sizing:border-box}
.ttmsa-shell-wrap{width:min(1160px,calc(100% - 34px));margin:0 auto}
.ttmsa-shell-header{position:sticky;top:0;z-index:9990;background:rgba(7,21,47,.97);backdrop-filter:blur(14px);color:#fff;border-bottom:1px solid rgba(255,255,255,.10);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.admin-bar .ttmsa-shell-header{top:32px}@media(max-width:782px){.admin-bar .ttmsa-shell-header{top:46px}}
.ttmsa-shell-nav{min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.ttmsa-shell-brand{display:flex;align-items:center;gap:16px;text-decoration:none!important;color:#fff!important;font-weight:950;letter-spacing:.015em;min-width:0;flex:0 1 auto}
.ttmsa-shell-logo-box{width:78px;height:78px;display:grid;place-items:center;flex:0 0 78px}
.ttmsa-shell-logo{width:78px!important;height:78px!important;object-fit:contain!important;display:block;filter:drop-shadow(0 6px 14px rgba(0,0,0,.35));max-width:none!important;margin:0!important;padding:0!important;border:0!important}
.ttmsa-shell-logo-fallback{display:none;width:78px;height:78px;border:2px solid rgba(255,255,255,.45);border-radius:18px;background:linear-gradient(135deg,#0b2345,#07152f);place-items:center;color:#fff;font-size:15px;font-weight:950;text-align:center;line-height:1.05;box-shadow:inset 0 -5px 0 #d22027;letter-spacing:-.03em}
.ttmsa-shell-brand-text{font-size:18px;line-height:1.1;color:#fff!important;white-space:normal}.ttmsa-shell-brand-text small{display:block;margin-top:5px;font-size:9px;font-weight:800;color:#b9c8dc!important;letter-spacing:.18em}
.ttmsa-shell-links{display:flex;gap:18px;align-items:center;margin:0;padding:0;background:transparent!important}
.ttmsa-shell-links a{color:#fff!important;text-decoration:none!important;font-size:14px;font-weight:850;white-space:nowrap;border:0!important;background:transparent;box-shadow:none!important}
.ttmsa-shell-links a:hover{color:#fff!important;opacity:.9}
.ttmsa-shell-links .ttmsa-shell-phone{background:rgba(255,255,255,.10)!important;padding:10px 13px;border-radius:12px}
.ttmsa-shell-links .ttmsa-shell-contact{background:#d22027!important;padding:11px 16px;border-radius:12px}
.ttmsa-shell-menu{display:none;background:none!important;color:#fff!important;border:0!important;font-size:28px!important;cursor:pointer;line-height:1;padding:8px!important;box-shadow:none!important}
.ttmsa-shell-footer{background:#030913;color:#aebed0;padding:45px 0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.ttmsa-shell-footer-grid{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}.ttmsa-shell-footer-brand{display:flex;gap:15px;align-items:center}.ttmsa-shell-footer-brand img{width:76px!important;height:76px!important;object-fit:contain!important;margin:0!important}.ttmsa-shell-footer strong{color:#fff}.ttmsa-shell-footer a{color:#fff!important;text-decoration:none!important;font-weight:900}.ttmsa-shell-floating-phone{position:fixed;z-index:9991;right:20px;bottom:20px;text-decoration:none!important;background:#d22027;color:#fff!important;border-radius:999px;padding:13px 18px;font-weight:950;box-shadow:0 16px 36px rgba(0,0,0,.28);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
@media(max-width:1120px){.ttmsa-shell-links{gap:11px}.ttmsa-shell-links a{font-size:12px}.ttmsa-shell-links .ttmsa-shell-phone{display:none}}
@media(max-width:950px){.ttmsa-shell-menu{display:block}.ttmsa-shell-links{display:none;position:fixed;top:94px;left:16px;right:16px;padding:22px!important;background:#07152f!important;border-radius:18px;flex-direction:column;align-items:stretch;box-shadow:0 20px 50px rgba(0,0,0,.25)}.admin-bar .ttmsa-shell-links{top:126px}.ttmsa-shell-links.ttmsa-open{display:flex}.ttmsa-shell-links a{font-size:15px;padding:8px 4px}.ttmsa-shell-links .ttmsa-shell-phone{display:block}.ttmsa-shell-links .ttmsa-shell-contact{text-align:center}.ttmsa-shell-footer-grid{grid-template-columns:1fr}}
@media(max-width:600px){.ttmsa-shell-brand-text{font-size:13px}.ttmsa-shell-brand-text small{display:none}.ttmsa-shell-logo-box,.ttmsa-shell-logo,.ttmsa-shell-logo-fallback{width:62px!important;height:62px!important;flex-basis:62px}.ttmsa-shell-floating-phone{right:12px;bottom:12px;padding:12px 15px}.ttmsa-shell-nav{min-height:80px}.ttmsa-shell-links{top:80px}.admin-bar .ttmsa-shell-links{top:120px}}

/* Il tema WordPress può definire stili generici per h1/header/main: qui li neutralizziamo solo nelle pagine del plugin. */
body.ttmsa-shell-page .ttmsa-site-main{margin:0!important;padding:0!important;max-width:none!important;width:100%!important}
body.ttmsa-shell-page .ttmsa-page-hero{margin:0!important}

:root{--ttmsa-navy:#07152f;--ttmsa-navy2:#0d2d55;--ttmsa-red:#d22027;--ttmsa-ice:#eef5fb;--ttmsa-ink:#101826;--ttmsa-muted:#66778b;--ttmsa-line:#dbe5ee;--ttmsa-white:#fff}

/* HOME: blocco inserito nella pagina, mai nella barra di navigazione */
.ttmsa-home-season{background:#fff;padding:0 20px 38px;margin:0;position:relative;z-index:2}.ttmsa-home-season-inner{width:min(1180px,100%);margin:0 auto;background:linear-gradient(112deg,var(--ttmsa-navy) 0%,#0b2447 64%,#102f56 100%);color:#fff;border-radius:24px;min-height:220px;padding:34px 38px;display:flex;align-items:center;justify-content:space-between;gap:32px;box-shadow:0 22px 55px rgba(7,21,47,.18);position:relative;overflow:hidden}.ttmsa-home-season-inner:before{content:"";position:absolute;width:350px;height:350px;border:64px solid rgba(210,32,39,.17);border-radius:50%;right:-110px;top:-150px}.ttmsa-home-season-copy{position:relative;z-index:1;max-width:760px}.ttmsa-home-eyebrow{color:#8ed4ff;font-size:12px;font-weight:900;letter-spacing:.15em;margin-bottom:8px}.ttmsa-home-season h2{margin:0 0 10px!important;color:#fff!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.05!important;letter-spacing:-.035em}.ttmsa-home-season h2 em{font-style:normal;color:#ff4b50}.ttmsa-home-season p{margin:0 0 17px!important;color:#d5e2f0!important;font-size:17px!important;max-width:690px}.ttmsa-home-chips{display:flex;gap:7px;flex-wrap:wrap}.ttmsa-home-chips span{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);padding:5px 9px;border-radius:999px;font-size:11px;font-weight:900;color:#fff}.ttmsa-home-season-button{position:relative;z-index:1;flex:0 0 auto;display:flex;align-items:center;gap:18px;padding:15px 18px 15px 22px;border-radius:14px;background:var(--ttmsa-red);color:#fff!important;text-decoration:none!important;font-weight:900;box-shadow:0 12px 26px rgba(210,32,39,.26);transition:.2s transform,.2s filter}.ttmsa-home-season-button:hover{transform:translateY(-2px);filter:brightness(1.05)}.ttmsa-home-season-button b{font-size:23px;line-height:1}

/* PAGINE STAGIONE: usano get_header()/get_footer(), quindi logo e menu sono quelli ORIGINALI del tema */
.ttmsa-site-main{background:#fff;color:var(--ttmsa-ink);font-family:inherit}.ttmsa-container{width:min(1180px,calc(100% - 36px));margin:0 auto}.ttmsa-page-hero{background:radial-gradient(circle at 82% 12%,rgba(210,32,39,.28),transparent 23%),linear-gradient(132deg,var(--ttmsa-navy),#0b2a51);color:#fff;padding:52px 0 38px;overflow:hidden}.ttmsa-hero-grid{display:block;max-width:920px}.ttmsa-team-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:center}.ttmsa-kicker{display:flex;align-items:center;gap:12px;color:#9bdcff;font-size:12px;font-weight:900;letter-spacing:.15em}.ttmsa-kicker span{width:32px;height:3px;background:var(--ttmsa-red);display:block}.ttmsa-page-hero h1{margin:12px 0 12px!important;color:#fff!important;font-size:clamp(38px,5vw,62px)!important;line-height:1.02!important;letter-spacing:-.045em!important;max-width:900px}.ttmsa-page-hero h1 strong{font-weight:950;color:#fff;white-space:nowrap}.ttmsa-page-hero p{margin:0!important;color:#d3e1ef!important;font-size:18px!important;max-width:760px}.ttmsa-breadcrumb{display:flex;gap:8px;flex-wrap:wrap;margin-top:24px;color:#b9cbe0;font-size:13px}.ttmsa-breadcrumb a{color:#fff!important;text-decoration:none!important;font-weight:800}.ttmsa-team-badge{min-width:190px;padding:22px;border-radius:22px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);text-align:center}.ttmsa-team-badge small{display:block;color:#a8c1db;font-weight:900;letter-spacing:.15em}.ttmsa-team-badge b{display:block;font-size:48px;line-height:1.1;margin:4px 0}.ttmsa-team-badge span{color:#fff;font-weight:850;font-size:13px}.ttmsa-content-area{padding:48px 0 78px}.ttmsa-section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:24px}.ttmsa-section-heading span,.ttmsa-block-head span{color:var(--ttmsa-red);font-size:11px;font-weight:950;letter-spacing:.14em}.ttmsa-section-heading h2,.ttmsa-block-head h2{margin:3px 0 0!important;color:var(--ttmsa-navy)!important;letter-spacing:-.035em}.ttmsa-section-heading h2{font-size:36px!important}.ttmsa-section-heading p{margin:0!important;color:var(--ttmsa-muted)!important;font-size:14px!important}
.ttmsa-team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ttmsa-team-card{border:1px solid var(--ttmsa-line);border-radius:20px;background:#fff;text-decoration:none!important;color:var(--ttmsa-ink)!important;overflow:hidden;box-shadow:0 12px 30px rgba(7,21,47,.07);transition:.2s transform,.2s box-shadow}.ttmsa-team-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(7,21,47,.13)}.ttmsa-team-card-top{height:155px;background:linear-gradient(145deg,#061226,#113a68);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;overflow:hidden}.ttmsa-team-card-top:after{content:"";width:120px;height:120px;background:var(--ttmsa-red);border-radius:50%;position:absolute;right:-52px;bottom:-62px}.ttmsa-team-card-top .ttmsa-mini{font-size:10px;color:#a8c4df;font-weight:900;letter-spacing:.18em}.ttmsa-team-card-top strong{font-size:47px;line-height:1.05;letter-spacing:-.06em;position:relative;z-index:1}.ttmsa-team-card-copy{padding:18px}.ttmsa-team-card-copy h3{margin:0 0 7px!important;font-size:19px!important;line-height:1.2!important;color:var(--ttmsa-navy)!important}.ttmsa-team-card-copy p{margin:0!important;color:var(--ttmsa-muted)!important;font-size:14px!important}.ttmsa-card-link{display:flex;justify-content:space-between;align-items:center;margin-top:14px;padding-top:12px;border-top:1px solid #edf1f5;color:var(--ttmsa-red);font-size:13px;font-weight:900}.ttmsa-card-link b{font-size:20px}
.ttmsa-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--ttmsa-line);margin:0 0 34px}.ttmsa-tabs a{padding:12px 18px;color:#52667c!important;text-decoration:none!important;font-weight:850;border-bottom:3px solid transparent}.ttmsa-tabs a:hover{color:var(--ttmsa-red)!important;border-color:var(--ttmsa-red)}.ttmsa-content-block{scroll-margin-top:100px;margin-top:48px}.ttmsa-content-block:first-of-type{margin-top:0}.ttmsa-block-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:16px}.ttmsa-block-head h2{font-size:31px!important}.ttmsa-block-head small{color:#8292a4}.ttmsa-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ttmsa-news-card,.ttmsa-video-card{border:1px solid var(--ttmsa-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(7,21,47,.07)}.ttmsa-thumb{width:100%;height:190px;display:block;object-fit:cover}.ttmsa-placeholder{height:190px;background:linear-gradient(135deg,#eaf1f7,#f8fbfd);display:flex;align-items:center;justify-content:center;color:#8399ae;font-weight:900;gap:5px}.ttmsa-placeholder span{color:var(--ttmsa-red)}.ttmsa-card-body{padding:17px}.ttmsa-date{font-size:10px;color:#8a9bad;letter-spacing:.09em;text-transform:uppercase;font-weight:850}.ttmsa-card-body h3{margin:5px 0 8px!important;font-size:19px!important;line-height:1.25!important;color:var(--ttmsa-navy)!important}.ttmsa-card-body p{margin:0!important;color:var(--ttmsa-muted)!important;font-size:14px!important}.ttmsa-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ttmsa-photo{margin:0!important;border-radius:16px;overflow:hidden;min-height:190px;position:relative;background:#eaf1f7}.ttmsa-photo img{width:100%;height:100%;min-height:190px;object-fit:cover;display:block}.ttmsa-photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:28px 12px 10px;background:linear-gradient(transparent,rgba(3,9,19,.85));color:#fff;font-weight:800;font-size:13px}.ttmsa-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ttmsa-video-frame{aspect-ratio:16/9;background:var(--ttmsa-navy)}.ttmsa-video-frame iframe,.ttmsa-video-frame video{width:100%;height:100%;display:block;border:0}.ttmsa-empty{padding:26px;border:1px dashed #b9c8d6;border-radius:16px;background:#f8fbfd;color:var(--ttmsa-muted);font-size:15px}.ttmsa-empty strong{color:var(--ttmsa-navy)}
@media(max-width:1000px){.ttmsa-home-season-inner{align-items:flex-start}.ttmsa-home-season-button{margin-top:10px}.ttmsa-team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ttmsa-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ttmsa-photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ttmsa-team-hero-grid{grid-template-columns:1fr}.ttmsa-team-badge{display:none}}
@media(max-width:720px){.ttmsa-home-season{padding:0 14px 26px}.ttmsa-home-season-inner{padding:27px 24px;min-height:0;flex-direction:column}.ttmsa-home-season-button{width:100%;justify-content:space-between}.ttmsa-page-hero{padding:40px 0 32px}.ttmsa-page-hero h1 strong{white-space:normal}.ttmsa-team-grid,.ttmsa-news-grid,.ttmsa-video-grid{grid-template-columns:1fr}.ttmsa-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ttmsa-section-heading{align-items:flex-start;flex-direction:column}.ttmsa-tabs{overflow-x:auto;flex-wrap:nowrap}.ttmsa-tabs a{white-space:nowrap}.ttmsa-container{width:min(100% - 26px,1180px)}}
