/* Officina delle Storie — layout coordinato autore, ottobre 2026.
   Conserva struttura del catalogo e logiche JS di lingua/filtri. */
#mb-common-header{background:#07162b!important;color:#f3f6fb!important;border-bottom:2px solid #c49b5a!important;z-index:2000}
#mb-common-header .mbc-brand{font-weight:700;color:#fff!important}
#mb-common-header .mbc-links a[aria-current=page],#mb-common-header .mbc-links a:hover{background:#243b59!important;color:#f6d28b!important}
#mb-common-header button{border-color:#c49b5a!important;color:white!important}
#mb-common-header .mbc-links{min-width:0}
body.mb-editorial-scope{--mb-line:#d9e2ed;--mb-bronze:#c49b5a;accent-color:#c49b5a}
body.mb-editorial-scope main{max-width:1200px}
body.mb-editorial-scope main p,body.mb-editorial-scope main li{hyphens:none!important;-webkit-hyphens:none!important;word-break:normal!important;overflow-wrap:break-word!important}
body.mb-editorial-scope a:focus-visible,body.mb-editorial-scope button:focus-visible{outline:3px solid #e7c17e!important;outline-offset:3px}
body.mb-editorial-scope>footer.school-site-footer{display:block!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important;text-align:left!important;border:0!important;border-top:2px solid #c49b5a!important;background:#061429!important;color:#dce4ef!important;font:15px/1.55 system-ui,-apple-system,Segoe UI,sans-serif!important}
.school-site-footer *{box-sizing:border-box}
.school-footer-grid{display:grid;grid-template-columns:minmax(0,1.45fr) repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,38px);max-width:1280px;margin:auto;padding:38px clamp(17px,3vw,40px) 28px}
.school-footer-brand{display:flex;align-items:center;gap:15px;color:#fff!important;text-decoration:none!important;font:1.28rem/1.2 Georgia,serif!important;margin-bottom:15px}
.school-footer-mark{flex:none;border-right:1px solid #c49b5a;padding-right:13px;color:#c49b5a;font:2rem/1 Georgia,serif}
.school-footer-brand small{display:block;color:#bccbdc;font:600 .63rem/1.65 system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;margin-top:4px}
.school-footer-about p{color:#bccbdc;font-size:.9rem;max-width:34ch;margin:0}
body.mb-editorial-scope>footer.school-site-footer nav.school-footer-links{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-start!important;flex-wrap:nowrap!important;width:auto!important;min-width:0!important;gap:0!important;margin:0!important;padding:0!important;border:0!important;background:none!important}
.school-footer-links h2{color:#e7c17e!important;font:650 1rem/1.3 system-ui,sans-serif!important;margin:0 0 9px!important}
.school-footer-links a{display:inline-flex!important;align-items:center!important;min-height:39px!important;padding:5px 0!important;margin:0!important;color:#e1e9f4!important;font:.9rem/1.4 system-ui,sans-serif!important;text-decoration:none!important}
.school-footer-links a:hover,.school-footer-bottom a:hover{color:#e7c17e!important;text-decoration:underline!important}
.school-footer-bottom{max-width:1280px;margin:auto;border-top:1px solid #ffffff33;padding:17px clamp(17px,3vw,40px) 23px;color:#b6c4d2;font-size:.79rem}
.school-footer-bottom a{color:#e7c17e!important;text-decoration:none!important}
body.school-hub-unified{background:#f8f9fa!important;color:#172b46!important;--bg:#f8f9fa;--panel:#fff;--text:#172b46;--muted:#596a7c;--accent:#c49b5a;--line:#dce3ea;color-scheme:light}
body.school-hub-unified main{padding-top:12px!important}
body.school-hub-unified .hero{margin:8px 0 24px!important;border:1px solid #c49b5a77!important;background:linear-gradient(115deg,#07162b,#153454)!important;color:#e5edf6!important;box-shadow:0 10px 30px #0a1a3a15}
body.school-hub-unified .hero h1{color:#fff!important}
body.school-hub-unified .hero p{color:#e2eaf4!important}
body.school-hub-unified .hero .eyebrow{color:#dcb777!important}
body.school-hub-unified .hero .button{color:#061429!important;background:#c49b5a!important}
body.school-hub-unified .school-counts span{color:#eaf1fa;border-color:#c49b5a88}
body.school-hub-unified .hero-visual img{background:#102544!important;border-color:#c49b5a55!important}
body.school-hub-unified .school-section{margin:18px 0 28px!important;padding:clamp(18px,3vw,30px);border-radius:12px;background:white;border:1px solid #e1e6ed}
body.school-hub-unified .school-section h2,body.school-hub-unified .school-section h3{color:#0a1a3a!important}
body.school-hub-unified .school-section>p,body.school-hub-unified .school-course p{color:#46566b!important}
body.school-hub-unified .school-course{background:#f9fafc!important;border:1px solid #dae2ed!important;border-radius:11px!important;box-shadow:0 5px 14px #0a1a3a08}
body.school-hub-unified .school-course .school-label{color:#84622f!important}
body.school-hub-unified .school-tags span{background:#e8edf4!important;color:#263c56!important}
body.school-hub-unified .school-course .button,body.school-hub-unified .school-section>.button{background:#0a1a3a!important;color:#fff!important;border:1px solid #0a1a3a!important;min-height:44px}
body.school-hub-unified .school-planned span{color:#765b35!important}
body.school-hub-unified .school-note{background:#f4f6fa!important;border-color:#c49b5a!important;color:#1e344f!important}
body.school-catalog-unified{background:#f8f9fa!important;color:#172b46!important}
body.school-catalog-unified main{padding-top:14px!important}
body.school-catalog-unified main>.hero{padding:clamp(25px,4vw,48px)!important;margin:7px 0 21px!important;background:linear-gradient(115deg,#07162b,#153454)!important;border:1px solid #c49b5a77!important;border-radius:14px!important;color:#e3ecf6!important}
body.school-catalog-unified main>.hero h1{color:#fff!important}
body.school-catalog-unified main>.hero .eyebrow{color:#dcb777!important}
body.school-catalog-unified main>.hero .lead{color:#e3ecf6!important;line-height:1.65}
body.school-catalog-unified #school-quick-access{background:#fff!important;border:1px solid #dce3ec!important;margin-bottom:20px!important}
body.school-catalog-unified .quick-courses a{border-color:#dce3ed!important;background:#f7f9fb!important}
body.school-catalog-unified .quick-courses a span{color:#86652f!important}
body.school-catalog-unified .course{border-color:#dce3ed!important}
body.school-catalog-unified .course-head{background:linear-gradient(125deg,#07162b,#173c61)!important}
body.school-catalog-unified .cta,body.school-catalog-unified .filters button[aria-pressed=true]{background:#0a1a3a!important;color:white!important}
body.school-catalog-unified .filters button{min-height:43px}
body.school-catalog-unified .course-body h3{overflow-wrap:break-word!important}
@media(max-width:980px){.school-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.school-footer-about{grid-column:1/-1}}
@media(max-width:700px){#mb-common-header .mbc-links[data-open=true]{display:flex!important;width:100%!important;max-height:70dvh;overflow-y:auto}#mb-common-header .mbc-links a{margin:0!important;min-height:46px!important;white-space:normal!important;overflow-wrap:break-word!important}.school-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px;padding:30px 17px 22px}.school-footer-about{grid-column:1/-1}.school-footer-links:last-child{grid-column:1/-1}.school-footer-links a{font-size:.85rem!important;overflow-wrap:anywhere}body.school-hub-unified main{padding:12px 15px 25px!important}body.school-hub-unified .hero{padding:21px 17px!important;margin:4px 0 16px!important}body.school-hub-unified .school-section{margin:13px 0!important;padding:18px 15px!important}body.school-hub-unified .school-grid{grid-template-columns:1fr!important;gap:12px!important}body.school-hub-unified .school-course{padding:17px!important}body.school-catalog-unified main{padding:10px 15px 35px!important}body.school-catalog-unified main>.hero{padding:23px 18px!important;margin:4px 0 14px!important}body.school-catalog-unified .quick-courses{grid-template-columns:1fr!important}}


/* OFFICINA v2 — identità autonoma scuola: grafite, petrolio e giada.
   Specificità circoscritta alle due pagine della formazione. */
body.school-hub-unified,body.school-catalog-unified{--school-ink:#132a35;--school-deep:#071b27;--school-dark:#0b2833;--school-accent:#b8e3b5;--school-line:#cddbdc;--school-surface:#fff;--school-page:#f2f6f5;background:#f2f6f5!important;color:#132a35!important;font-family:system-ui,-apple-system,"Segoe UI",sans-serif}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header{background:#071b27!important;background-image:none!important;border:0!important;border-bottom:1px solid #b8e3b555!important;box-shadow:0 5px 25px #071b2717!important}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-bar{padding-top:15px!important;padding-bottom:12px!important}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-brand{font:700 clamp(1.16rem,2.4vw,1.6rem)/1.2 Georgia,serif!important;letter-spacing:-.02em}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-brand:before{content:"◈";display:inline-flex;align-items:center;justify-content:center;margin-right:11px;width:37px;height:37px;border:1px solid #b8e3b590;border-radius:11px;background:#b8e3b514;color:#b8e3b5;font:600 1.3rem/1 system-ui,sans-serif}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-links{gap:5px 12px;padding-bottom:11px!important}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-links a{color:#c4d7dc!important;border-radius:100px!important;min-height:42px;padding:9px 14px!important;font-weight:550}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-links a:is(:hover,[aria-current=page]){background:#b8e3b520!important;color:#d5f3d2!important}
body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header button{background:#b8e3b514!important;border:1px solid #b8e3b580!important;color:#eef8f3!important}
body:is(.school-hub-unified,.school-catalog-unified) main{width:100%;max-width:1220px;padding:23px clamp(16px,3.2vw,36px) 55px!important}
body.school-hub-unified .hero,body.school-catalog-unified main>.hero{background:radial-gradient(ellipse at 93% 12%,#2b60645c,transparent 55%),linear-gradient(125deg,#081c29,#123943)!important;color:#f0f9f7!important;border:1px solid #6d98917d!important;border-radius:22px!important;box-shadow:0 24px 50px #0a293023!important}
body.school-hub-unified .hero{padding:clamp(25px,4vw,50px)!important;margin:8px 0 28px!important}
body.school-catalog-unified main>.hero{padding:clamp(30px,5vw,60px)!important;margin:8px 0 26px!important;position:relative;overflow:hidden}
body.school-hub-unified .hero h1,body.school-catalog-unified main>.hero h1{font:700 clamp(2.45rem,6.3vw,5rem)/1.06 Georgia,serif!important;letter-spacing:-.048em!important;color:#f8fbf8!important;margin:12px 0 16px!important;text-wrap:balance}
body.school-hub-unified .hero .eyebrow,body.school-catalog-unified main>.hero .eyebrow{color:#b8e3b5!important;letter-spacing:.14em!important}
body.school-hub-unified .hero p,body.school-catalog-unified main>.hero .lead{color:#dcebea!important;line-height:1.72!important}
body.school-hub-unified .hero p[style]{color:#b8e3b5!important}
body.school-hub-unified .hero-visual img{border-color:#b8e3b555!important;background:#102e39!important;border-radius:17px!important;box-shadow:0 20px 35px #0004}
body.school-hub-unified .school-counts span{color:#dbf4df!important;background:#c0e6bb17!important;border:1px solid #c0e6bb60!important;border-radius:7px!important;font-size:.8rem!important}
body.school-hub-unified .hero .button,body.school-catalog-unified .cta,body.school-catalog-unified .filters button[aria-pressed=true]{background:#b8e3b5!important;border-color:#b8e3b5!important;color:#0a2831!important;border-radius:9px!important;font-weight:750!important;box-shadow:none!important}
body.school-hub-unified .hero .button:hover,body.school-catalog-unified .cta:hover{background:#d9f3d5!important}
body.school-hub-unified .school-section{background:#fff!important;border:1px solid #d7e4e3!important;border-radius:18px!important;box-shadow:0 12px 28px #0b28330a;padding:clamp(23px,3.5vw,39px)!important;margin:17px 0 24px!important}
body.school-hub-unified .school-section>.eyebrow{color:#39766b!important}
body.school-hub-unified .school-section h2{font-size:clamp(1.65rem,3vw,2.45rem)!important;color:#102b37!important;letter-spacing:-.025em!important}
body.school-hub-unified .school-grid{gap:15px!important;margin:18px 0!important}
body.school-hub-unified .school-course{background:#f6faf9!important;border:1px solid #d3e4e0!important;border-radius:14px!important;padding:23px!important;box-shadow:none!important;transition:border-color .2s,transform .2s}
body.school-hub-unified .school-course:hover{border-color:#8fb7a9!important;transform:translateY(-2px)}
body.school-hub-unified .school-course h3{font-size:clamp(1.28rem,2.5vw,1.65rem)!important;color:#143541!important}
body.school-hub-unified .school-course p{color:#485e67!important}
body.school-hub-unified .school-course .school-label{color:#387a68!important}
body.school-hub-unified .school-tags span{color:#31564c!important;background:#e2f2e8!important;border:1px solid #c9e2d5;border-radius:6px!important}
body.school-hub-unified .school-course .button,body.school-hub-unified .school-section>.button{background:#0d3640!important;color:#f4fcf9!important;border:1px solid #0d3640!important;border-radius:8px!important}
body.school-hub-unified .school-note{background:#eef6f2!important;border-color:#8dbca2!important}
body.school-catalog-unified #school-quick-access{background:#fff!important;border:1px solid #d7e4e3!important;border-radius:16px!important;box-shadow:0 10px 25px #0b28330a!important}
body.school-catalog-unified .quick-courses a{background:#f5faf8!important;border:1px solid #cfe1d9!important;border-radius:12px!important;padding:18px!important}
body.school-catalog-unified .quick-courses a:hover{border-color:#79a998!important;background:#f0f8f2!important}
body.school-catalog-unified .quick-courses a span{color:#387a68!important}
body.school-catalog-unified .quick-courses a strong{color:#173541!important}
body.school-catalog-unified .lang-picker select{border-color:#a6c5bc!important;border-radius:9px!important;min-height:45px}
body.school-catalog-unified .filters button{border:1px solid #bcd3cf!important;background:#fff!important;color:#224a4e!important;border-radius:8px!important;min-height:44px}
body.school-catalog-unified .filters button[aria-pressed=true]{background:#133d43!important;border-color:#133d43!important;color:white!important}
body.school-catalog-unified .course{border-color:#d3e3df!important;border-radius:16px!important;box-shadow:0 12px 25px #0b283310!important;overflow:hidden}
body.school-catalog-unified .course-head{background:radial-gradient(circle at 72% 26%,#246572,#092432 74%)!important}
body.school-catalog-unified .course-body h3{color:#123541!important}
body.school-catalog-unified .tags span{background:#e9f4ed!important;color:#315d4d!important;border-radius:6px!important}
body.school-catalog-unified .note,body.school-catalog-unified .interest{border:1px solid #d3e3df!important;border-left:4px solid #5b9a81!important;background:#fff!important;border-radius:12px!important}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer{background:radial-gradient(ellipse at 10% 0%,#1c485145,transparent 42%),#071b27!important;border:0!important;border-top:1px solid #b8e3b54a!important;color:#dceceb!important;position:relative}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-top{max-width:1250px;margin:auto;padding:46px clamp(18px,4vw,50px) 0}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-eyebrow{margin:0 0 7px;color:#b8e3b5;font:750 .7rem/1.4 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-heading{margin:0;color:#f5fbf9;font:700 clamp(1.9rem,3.7vw,2.8rem)/1.16 Georgia,serif!important;letter-spacing:-.03em}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-desc{max-width:600px;margin:12px 0 18px;color:#b6cdd0;font-size:.96rem;line-height:1.65}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-cta{display:inline-flex;align-items:center;min-height:46px;gap:12px;padding:11px 19px;background:#b8e3b5;color:#0b2831!important;border-radius:8px;text-decoration:none;font-weight:750;font-size:.91rem}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-grid{grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr));gap:clamp(17px,3vw,40px);padding-top:34px;padding-bottom:36px}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-brand{color:#f3faf6!important;font-size:1.2rem!important}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-mark{border-color:#b8e3b5;color:#b8e3b5}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-brand small{color:#b8d3ce!important}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-about p{color:#afc5c7}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-links h2{color:#b8e3b5!important;font-size:.92rem!important}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-links a{color:#d4e6e7!important;font-size:.87rem!important}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-links a:hover{color:#b8e3b5!important}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-bottom{border-color:#ffffff24;color:#adc6c9}
body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-bottom a{color:#b8e3b5!important}
@media(max-width:980px){body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.school-footer-about{grid-column:1/-1}}
@media(max-width:700px){
 body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-bar{flex-wrap:nowrap!important;gap:8px!important;padding:12px 16px!important}
 body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-brand{font-size:1.08rem!important;min-width:0!important}
 body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-brand:before{width:31px;height:31px;margin-right:7px}
 body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-links{padding:0 15px 12px!important}
 body:is(.school-hub-unified,.school-catalog-unified) #mb-common-header .mbc-links a{width:100%;border-radius:8px!important}
 body:is(.school-hub-unified,.school-catalog-unified) main{padding:12px 15px 35px!important}
 body.school-hub-unified .hero,body.school-catalog-unified main>.hero{padding:24px 20px!important;margin:4px 0 18px!important;border-radius:16px!important}
 body.school-hub-unified .school-section{padding:18px 16px!important;border-radius:13px!important;margin:13px 0 19px!important}
 body.school-hub-unified .school-course{padding:18px!important}
 body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-top{padding:34px 18px 0}
 body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 15px;padding:30px 18px 26px}
 body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-about{grid-column:1/-1}
 body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-links:last-child{grid-column:1/-1}
 body:is(.school-hub-unified,.school-catalog-unified)>footer.school-site-footer .school-footer-bottom{line-height:1.8;padding:16px 18px 25px}
 body.school-hub-unified .school-grid{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){body.school-hub-unified .school-course{transition:none!important}body.school-hub-unified .school-course:hover{transform:none!important}}
