*{box-sizing:border-box}html{scroll-behavior:smooth}body.ma-home-page{margin:0}#ma-newhome{font-family:Arial,Helvetica,sans-serif;color:#102f60;background:#fff;line-height:1.45}#ma-newhome a{color:inherit;text-decoration:none}#ma-newhome button,#ma-newhome input{font:inherit}#ma-newhome button{cursor:pointer}#ma-newhome img{max-width:100%;display:block}#ma-newhome .wrap{width:min(1270px,calc(100% - 72px));margin:0 auto}.skip-link,.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.skip-link:focus{position:fixed;top:0;left:0;z-index:99999;width:auto;height:auto;clip:auto;background:#fff;padding:12px}.site-header{background:#fff;position:relative;z-index:10;box-shadow:0 2px 8px #19365a0f}.header-inner{display:flex;justify-content:space-between;gap:18px;align-items:center;height:94px}.brand{flex:0 1 355px;min-width:230px}.brand .ma-brand-image{width:100%;height:auto;max-height:76px;object-fit:contain;object-position:left center}.desktop-menu{display:flex;align-items:center;gap:25px;white-space:nowrap}.desktop-menu a{font-size:12px;font-weight:600;color:#233c5c!important;transition:color .2s}.desktop-menu a:hover,.desktop-menu a:focus{color:#168da2!important}.header-actions{display:flex;align-items:center;gap:17px}.icon-action{font-size:32px;line-height:1}.whatsapp-action{width:27px;height:27px;display:grid;place-items:center;border-radius:50%;font-size:22px;background:#22ca65;color:#fff!important}.menu-toggle{width:30px;height:30px;display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;border:0;background:transparent;padding:4px}.menu-toggle span{width:23px;height:2px;background:#092b60}.mobile-menu[hidden]{display:none!important}.mobile-menu{position:absolute;top:100%;left:0;right:0;background:#fff;box-shadow:0 14px 24px #17345b25;padding:15px 25px;display:flex;flex-direction:column}.mobile-menu a{padding:13px 8px;border-bottom:1px solid #e3ecf5;font-size:15px;font-weight:600}.hero{position:relative;isolation:isolate;background:#234d75;min-height:440px;color:#fff;overflow:visible}.hero-photo{position:absolute;inset:0;z-index:-2;background-image:url('hero.webp');background-size:cover;background-position:center 41%}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,43,82,.87) 0%,rgba(13,55,95,.75) 36%,rgba(12,39,78,.14) 78%,rgba(8,45,88,.12) 100%);z-index:-1}.hero-content{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;padding:66px 0 60px}.hero-copy{max-width:650px}.eyebrow{font-weight:700;font-size:11px;letter-spacing:2.3px}.hero h1{margin:15px 0 18px;font-weight:400;line-height:1.09;letter-spacing:-1.5px;font-size:clamp(36px,4vw,56px)}.hero h1 strong{font-weight:800}.hero p{max-width:590px;margin:0 0 24px;font-size:17px;line-height:1.55;color:#f0f6ff}.search-box{max-width:640px;width:100%;border-radius:40px;background:#fff;padding:5px;display:flex;align-items:center;box-shadow:0 8px 22px #001d3840}.search-box>span{font-size:28px;color:#244c75;padding:0 10px}.search-box input{min-width:0;flex:1;border:0;background:transparent;color:#153960;font-size:14px;outline:0;padding:8px}.search-box button{border:0;border-radius:30px;background:#063e7a;color:#fff;padding:12px 36px;font-weight:700;font-size:13px}.search-hits{position:absolute;background:white;color:#143c70;border-radius:14px;box-shadow:0 15px 30px #061b3350;max-width:620px;width:min(620px,86vw);padding:6px;z-index:8}.search-hits a{display:block!important;padding:10px;border-bottom:1px solid #edf1f8}.year-stamp{text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;transform:translateY(-10px)}.year-stamp-desktop{display:block;width:min(320px,24vw);height:auto;filter:drop-shadow(0 10px 24px rgba(4,28,59,.24))}.year-stamp-mobile{display:none;align-items:center;flex-direction:column;color:#f7cd66;text-shadow:0 3px 4px #143b55}.year-stamp-mobile strong{font-size:84px;line-height:.95;font-style:italic;letter-spacing:-8px;font-family:Georgia,serif}.year-stamp-mobile span{font-size:11px;letter-spacing:1.3px;text-align:center;color:#fff;font-weight:700}.paths-section{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;padding-top:28px;padding-bottom:42px}.path-card{min-height:250px;position:relative;overflow:hidden;border-radius:10px;color:#fff!important;background:#0a3d72}.path-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .3s}.path-card:hover img{transform:scale(1.04)}.path-overlay{position:absolute;inset:0;background:linear-gradient(110deg,#003e79e8 0%,#063563b5 58%,#042b4d55 100%)}.path-card.doc .path-overlay{background:linear-gradient(110deg,#007a82db 0%,#00686dba 65%,#064f505c 100%)}.path-card.pro .path-overlay{background:linear-gradient(110deg,#50269bdf 0%,#4b289bc2 65%,#211a545e 100%)}.path-info{position:absolute;inset:auto 20px 22px;max-width:300px}.path-info h2{margin:0 0 8px;color:#fff;font-size:23px}.path-info p{margin:0 0 13px;font-size:13px;line-height:1.55;color:white}.path-arrow{border-radius:50%;width:33px;height:33px;background:#fff;display:grid;place-items:center;color:#1d4b80;font-size:19px}.featured-section{padding:10px 0 54px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:26px}.eyebrow.dark{color:#315986}.section-head h2,.steps-title h2{margin:8px 0 4px;font-size:30px;letter-spacing:-.7px;line-height:1.2}.section-head p{margin:0;color:#587291;font-size:14px}.all-courses{border:1px solid #245a92;border-radius:40px;padding:11px 22px;font-size:13px;font-weight:700;white-space:nowrap}.all-courses span{margin-left:8px}.courses{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:15px}.course-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #e2e8ef;box-shadow:0 4px 14px #0d326211;border-radius:10px;overflow:hidden}.course-image{width:100%;height:123px;overflow:hidden;background:#e3e9f0}.course-image img{width:100%;height:100%;object-fit:cover;transition:transform .2s}.course-card:hover .course-image img{transform:scale(1.04)}.course-content{padding:15px;display:flex;flex:1;flex-direction:column}.course-type{font-size:10px;letter-spacing:.8px;text-transform:uppercase;color:#47749d;font-weight:700}.course-content h3{margin:6px 0 7px;font-size:16px;line-height:1.25}.course-content p{font-size:12px;color:#58718d;margin:0 0 14px;line-height:1.5}.course-mark{font-size:10px;color:#30608d;margin-top:auto;font-weight:700;padding-bottom:10px}.course-brand-wrap{display:flex;align-items:center;gap:10px;margin-top:auto;margin-bottom:10px}.british-small{object-fit:contain;object-position:left center;width:82px;height:88px;display:block}.course-button{font-size:12px;border:1px solid #2d6ea6;padding:10px 12px;border-radius:26px;color:#123e73!important;font-weight:700;text-align:center;margin-top:auto}.course-button span{margin-left:5px}.steps-section{background:#f1f7fc;padding:48px 0}.steps-grid{display:grid;grid-template-columns:1.12fr repeat(3,1fr);gap:25px;align-items:start}.steps-title h2{max-width:230px}.step{border-left:1px solid #cbdced;padding-left:25px;position:relative;min-height:140px}.step-no{display:inline-grid;place-items:center;border-radius:50%;background:#0c3f7d;color:#fff;width:27px;height:27px;font-size:12px;font-weight:700}.step-icon{display:inline-block;font-size:36px;vertical-align:middle;margin-left:10px}.step h3{font-size:15px;margin:10px 0 5px}.step p{font-size:12px;margin:0;line-height:1.5;color:#587293;max-width:200px}.benefits-section{display:grid;grid-template-columns:1fr 1.55fr;min-height:225px}.benefits-feature{background:linear-gradient(95deg,#07294fbb,#0d417cde),url('eipass.webp') center/cover;color:#fff;display:flex;align-items:center;justify-content:flex-end}.benefits-feature-in{padding:36px 25px;width:min(430px,100%)}.benefits-feature h2{font-size:25px;line-height:1.2;margin:10px 0}.benefits-items{display:grid;grid-template-columns:repeat(4,1fr);align-items:center;padding:20px 7%;gap:20px}.benefits-items>div{text-align:center;display:flex;align-items:center;flex-direction:column}.benefits-items span{font-size:39px;color:#124582;height:56px}.benefits-items strong{font-size:13px;line-height:1.3}.benefits-items small{margin-top:9px;color:#69819a;font-size:11px;line-height:1.5}.site-footer{background:linear-gradient(110deg,#003266,#084b92);color:#fff;padding:27px 0 20px}.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.footer-lead{display:flex;gap:15px;align-items:center}.wa-figure{font-size:42px}.footer-lead strong{font-size:17px;display:block}.footer-lead small{font-size:12px;color:#cbddec}.footer-whatsapp{background:#16c971;border-radius:30px;color:#00395e!important;padding:14px 24px;font-size:12px;font-weight:800}.footer-motto{font-family:Georgia,serif;font-style:italic;font-size:24px;line-height:1.15;text-align:center;transform:rotate(-8deg)}.footer-links{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin-top:23px!important;border-top:1px solid #ffffff2b;padding-top:16px;font-size:12px;color:#dcebf9}.footer-links a:hover{text-decoration:underline!important}@media(max-width:1180px){.desktop-menu{gap:12px}.desktop-menu a{font-size:11px}.brand{flex-basis:290px}.courses{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:820px){#ma-newhome .wrap{width:min(100% - 32px,650px)}.desktop-menu{display:none}.menu-toggle{display:flex}.header-inner{height:75px}.brand{flex-basis:275px;min-width:180px}.hero{min-height:0}.hero-content{padding:65px 0 50px}.hero-photo{background-position:67% center}.hero:before{background:linear-gradient(90deg,#063b6ee8,#06437cb8 65%,#093d6e88)}.hero h1{font-size:39px}.hero p{font-size:15px}.year-stamp{display:none}.paths-section{gap:12px;padding-bottom:35px}.path-card{min-height:220px}.path-info{inset:auto 13px 15px}.path-info h2{font-size:18px}.path-info p{font-size:11px}.courses{grid-template-columns:repeat(2,minmax(0,1fr))}.steps-grid{grid-template-columns:1fr 1fr;gap:24px}.steps-title{grid-column:1/-1}.benefits-section{grid-template-columns:1fr}.benefits-feature{justify-content:center}.benefits-items{padding:30px 25px}.footer-motto{display:none}}@media(max-width:560px){.brand{flex:1;min-width:0;max-width:250px}.header-actions{gap:11px}.icon-action{display:none}.site-header{position:sticky;top:0}.hero-content{padding:55px 0 40px}.hero h1{font-size:34px;letter-spacing:-1px}.hero p{font-size:14px}.search-box{min-height:52px}.search-box input{font-size:12px}.search-box button{padding:11px 16px}.paths-section{grid-template-columns:1fr;gap:14px;padding-top:20px}.path-card{min-height:180px}.path-info{inset:auto 19px 18px}.path-info h2{font-size:23px}.path-info p{max-width:310px;font-size:12px}.section-head{align-items:start}.section-head h2{font-size:25px}.section-head p{font-size:12px}.all-courses{font-size:11px;padding:9px 11px;margin-top:10px}.courses{gap:12px}.course-image{height:110px}.course-content{padding:11px}.course-content h3{font-size:14px}.course-content p{font-size:11px}.course-button{font-size:11px;padding:9px 4px}.steps-section{padding:32px 0}.steps-grid{gap:20px}.step{padding-left:15px}.benefits-items{grid-template-columns:repeat(2,1fr)}.footer-inner{flex-direction:column;text-align:center}.footer-lead{justify-content:center}.footer-links{gap:12px}.hero:before{background:linear-gradient(90deg,#073b6af0,#073b6ad3 75%,#073b6aad)} }@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.course-brand-wrap .course-mark{margin-top:0;padding-bottom:0;line-height:1.3}

/* Marchi dei percorsi */
.course-brand-wrap{display:flex;align-items:center;min-height:58px;margin-top:auto;margin-bottom:10px}.course-brand-wrap .british-small{width:62px;height:75px;object-fit:contain;background:none}.eipass-small{width:105px;height:61px;object-fit:contain;object-position:left center;display:block}

/* Master Academy 1.4 — 8 evidenze e catalogo aree */
#ma-newhome .courses{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
#ma-newhome .course-card{border-radius:14px}
#ma-newhome .course-image{height:165px}
#ma-newhome .course-content{padding:17px}
#ma-newhome .course-content h3{min-height:42px;font-size:16px}
#ma-newhome .course-content p{font-size:12px;min-height:53px}
#ma-newhome .course-brand-wrap{height:54px;min-height:54px;justify-content:flex-start;align-items:center;margin:2px 0 15px}
#ma-newhome .course-brand-wrap .brand-course-img{height:52px;max-width:106px;width:auto;object-fit:contain;object-position:left center}
#ma-newhome .course-brand-space{height:54px;min-height:54px;margin:2px 0 15px}
#ma-newhome .course-button{margin-top:auto}
#ma-newhome .ma-areas{background:#f1f6fc;padding:54px 0 56px;margin:0 0 12px}
#ma-newhome .ma-area-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#ma-newhome .ma-area-grid a{position:relative;display:flex;flex-direction:column;gap:8px;padding:25px 24px;min-height:174px;border:1px solid #dfebf7;background:#fff;border-radius:14px;box-shadow:0 8px 20px #0c376009;transition:transform .15s}
#ma-newhome .ma-area-grid a:hover{transform:translateY(-3px)}
#ma-newhome .ma-area-icon{display:grid;place-items:center;font-size:23px;width:42px;height:42px;background:#e7f0fa;color:#0d5487;border-radius:12px}
#ma-newhome .ma-area-grid strong{font-size:17px}
#ma-newhome .ma-area-grid small{color:#5d7693;font-size:12px}
#ma-newhome .ma-go{position:absolute;right:24px;bottom:20px;font-size:21px;color:#24649b}
#ma-newhome .ma-orient{padding:48px 0;color:#fff;background:linear-gradient(110deg,#07315c,#12638a)}
#ma-newhome .ma-orient-inner{display:flex;align-items:center;justify-content:space-between;gap:30px}
#ma-newhome .ma-orient h2{font-size:29px;margin:10px 0}
#ma-newhome .ma-orient p{max-width:660px;color:#e5f0fa;margin:0}
#ma-newhome .ma-orient-actions{display:flex;flex-direction:column;gap:12px;min-width:235px}
#ma-newhome .ma-orient-actions a{background:#fff;color:#0b4672;border-radius:25px;padding:12px 18px;font-weight:700;text-align:center;font-size:13px}
#ma-newhome .ma-orient-actions a+ a{background:#1fc779;color:#003c45}
#ma-newhome .ma-university{padding:56px 0;background:#fff}
#ma-newhome .ma-univ-row{display:grid;grid-template-columns:1fr 1.2fr;gap:45px;align-items:center}
#ma-newhome .ma-univ-row img{width:100%;height:265px;object-fit:cover;border-radius:15px}
#ma-newhome .ma-univ-row h2{font-size:30px;line-height:1.15;margin:10px 0}
#ma-newhome .ma-univ-row p{color:#57718d;line-height:1.7}
#ma-newhome .ma-univ-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}
#ma-newhome .ma-univ-actions a{border:1px solid #245d8e;border-radius:30px;padding:12px 17px;font-size:13px;font-weight:700}
@media(max-width:1050px){#ma-newhome .courses{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){#ma-newhome .ma-area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ma-newhome .ma-orient-inner{flex-direction:column;align-items:flex-start}#ma-newhome .ma-orient-actions{flex-direction:row;min-width:0;flex-wrap:wrap}#ma-newhome .ma-univ-row{gap:24px}}
@media(max-width:560px){#ma-newhome .courses{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#ma-newhome .course-image{height:120px}#ma-newhome .course-content{padding:12px}#ma-newhome .course-content h3{font-size:13px;min-height:48px}#ma-newhome .course-content p{min-height:76px;font-size:11px}#ma-newhome .course-brand-wrap,#ma-newhome .course-brand-space{height:49px;min-height:49px}#ma-newhome .course-brand-wrap .brand-course-img{height:48px;max-width:85px}#ma-newhome .ma-areas{padding:35px 0}#ma-newhome .ma-area-grid{grid-template-columns:1fr;gap:11px}#ma-newhome .ma-area-grid a{min-height:132px;padding:16px 18px}#ma-newhome .ma-orient{padding:36px 0}#ma-newhome .ma-orient h2{font-size:25px}#ma-newhome .ma-orient-actions{width:100%;flex-direction:column}#ma-newhome .ma-university{padding:35px 0}#ma-newhome .ma-univ-row{grid-template-columns:1fr}#ma-newhome .ma-univ-row img{height:205px}#ma-newhome .ma-univ-row h2{font-size:25px}}

/* Master Academy 1.5 — banner orizzontale dei loghi */
#ma-newhome .ma-logos-section{padding:44px 0 40px;background:#fff;overflow:hidden;border-top:1px solid #edf2f8;border-bottom:1px solid #edf2f8}
#ma-newhome .ma-logos-heading{text-align:center;margin-bottom:22px}
#ma-newhome .ma-logos-heading h2{font-size:27px;line-height:1.2;margin:7px 0 7px;color:#0c3262}
#ma-newhome .ma-logos-heading p{color:#657b98;font-size:13px;margin:0;line-height:1.6}
#ma-newhome .ma-logos-viewport{width:100%;overflow:hidden;mask-image:linear-gradient(90deg,transparent,black 4%,black 96%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,black 4%,black 96%,transparent)}
#ma-newhome .ma-logos-track{display:flex;width:max-content;align-items:center;animation:maLogosScroll 48s linear infinite;will-change:transform}
#ma-newhome .ma-logos-section:hover .ma-logos-track,#ma-newhome .ma-logos-section:focus-within .ma-logos-track{animation-play-state:paused}
#ma-newhome .ma-logo-group{display:flex;align-items:center;flex-shrink:0;gap:14px;padding-right:14px}
#ma-newhome .ma-logo-item{flex:0 0 174px;width:174px;height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e5ebf3;border-radius:12px;background:white;box-shadow:0 3px 10px #0b356008;padding:10px 10px 7px}
#ma-newhome .ma-logo-image{height:62px;width:100%;display:flex;align-items:center;justify-content:center}
#ma-newhome .ma-logo-image img{width:100%;max-width:148px;max-height:59px;height:auto;object-fit:contain;object-position:center}
#ma-newhome .ma-logo-british .ma-logo-image img{max-height:60px;max-width:70px}
#ma-newhome .ma-logo-columbus .ma-logo-image img,#ma-newhome .ma-logo-link .ma-logo-image img{max-height:64px;max-width:138px}
#ma-newhome .ma-logo-label{display:block;color:#6b7e91;font-size:10px;font-weight:600;text-align:center;line-height:1.2;margin-top:7px}
@keyframes maLogosScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:560px){#ma-newhome .ma-logos-section{padding:30px 0 29px}#ma-newhome .ma-logos-heading{padding:0 10px;margin-bottom:17px}#ma-newhome .ma-logos-heading h2{font-size:23px}#ma-newhome .ma-logo-item{flex-basis:152px;width:152px;height:101px}#ma-newhome .ma-logo-group{gap:10px;padding-right:10px}#ma-newhome .ma-logos-track{animation-duration:42s}}
@media(prefers-reduced-motion:reduce){#ma-newhome .ma-logos-viewport{overflow-x:auto;mask-image:none;-webkit-mask-image:none}#ma-newhome .ma-logos-track{animation:none;will-change:auto}#ma-newhome .ma-logo-group[aria-hidden="true"]{display:none}}


/* v1.5.2 – Aree formative: fotografie tematiche al posto delle icone simboliche. */
#ma-newhome .ma-area-grid a.ma-area-card {
  display:grid; grid-template-columns:86px minmax(0,1fr) 30px;
  grid-template-rows:min-content min-content;
  column-gap:15px; row-gap:7px;
  align-items:center; min-height:135px; padding:16px;
  border-radius:16px;
}
#ma-newhome .ma-area-grid .ma-area-photo {
  grid-column:1; grid-row:1 / span 2; display:block; width:86px; height:94px;
  border-radius:12px; overflow:hidden; background:#f6f9fc;
  box-shadow:0 2px 6px rgba(10,49,87,.08); padding:6px; box-sizing:border-box;
}
#ma-newhome .ma-area-grid .ma-area-photo img {width:100%; height:100%; display:block; object-fit:contain; object-position:center center; }
#ma-newhome .ma-area-grid a.ma-area-card > strong {grid-column:2;grid-row:1;align-self:end;line-height:1.25;font-size:17px;letter-spacing:-.25px;}
#ma-newhome .ma-area-grid a.ma-area-card > small {grid-column:2;grid-row:2;align-self:start;line-height:1.45;font-size:12px;}
#ma-newhome .ma-area-grid a.ma-area-card > .ma-go {
  grid-column:3;grid-row:1 / span 2;align-self:center;position:static;
  display:grid;place-items:center;margin:0;width:31px;height:31px;
  border-radius:50%;background:#edf4fb;color:#16538a;font-size:21px;line-height:1;
  font-family:Arial,Helvetica,sans-serif;
}
#ma-newhome .ma-area-grid a.ma-area-card:hover {border-color:#b4cde1;box-shadow:0 12px 24px rgba(15,54,91,.12)}
#ma-newhome .ma-area-grid a.ma-area-card:focus-visible {outline:3px solid #2696c7;outline-offset:3px}
@media (max-width: 1180px) and (min-width: 821px) {
  #ma-newhome .ma-area-grid a.ma-area-card {grid-template-columns:70px minmax(0,1fr) 25px;gap:10px;padding:13px}
  #ma-newhome .ma-area-grid .ma-area-photo {width:70px;height:83px;padding:5px}
  #ma-newhome .ma-area-grid a.ma-area-card > strong {font-size:15px}
}
@media (max-width: 560px) {
  #ma-newhome .ma-area-grid a.ma-area-card {grid-template-columns:88px minmax(0,1fr) 30px;gap:5px 13px;min-height:122px;padding:13px 14px}
  #ma-newhome .ma-area-grid .ma-area-photo {width:88px;height:91px;padding:6px}
  #ma-newhome .ma-area-grid a.ma-area-card > strong {font-size:16px}
  #ma-newhome .ma-area-grid a.ma-area-card > small {font-size:12px}
}
@media (max-width: 375px) {
  #ma-newhome .ma-area-grid a.ma-area-card {grid-template-columns:70px minmax(0,1fr) 27px;column-gap:10px;padding:12px}
  #ma-newhome .ma-area-grid .ma-area-photo {width:70px;height:79px}
  #ma-newhome .ma-area-grid a.ma-area-card > strong {font-size:15px}
  #ma-newhome .ma-area-grid a.ma-area-card > small {font-size:11px}
}

/* Anchor offset for the sticky header, and small-phone text fitting. */
#ma-newhome .ma-areas{scroll-margin-top:100px}
@media(max-width:375px){
 #ma-newhome .hero-copy{min-width:0;width:100%;max-width:100%}
 #ma-newhome .hero h1{font-size:27px;letter-spacing:-.8px}
 #ma-newhome .hero .eyebrow{font-size:10px;letter-spacing:1.25px}
 #ma-newhome .search-box button{padding:9px 11px}
}

/* Master Academy 1.5.3 – footer essenziale e migliore spaziatura su mobile */
#ma-newhome .ma-legal-footer { background: #073968; color: #fff; padding: 22px 0; }
#ma-newhome .ma-legal-line { display: flex; justify-content: center; align-items: center; column-gap: 24px; row-gap: 6px; flex-wrap: wrap; font-size: 13px; font-weight: 600; letter-spacing: .15px; text-align: center; }
@media (max-width: 540px) { #ma-newhome .ma-legal-line { flex-direction: column; gap: 5px; } }

/* Master Academy 1.5.4: immagini simboliche istituzionali, prive di figure cartoon */
#ma-newhome .ma-areas{background:linear-gradient(180deg,#f8fbfe,#f4f8fc)}
#ma-newhome .ma-area-grid .ma-area-photo{background:#e9f3fa;box-shadow:none;border:1px solid #e4edf5}
#ma-newhome .ma-area-grid .ma-area-photo img{object-fit:cover;object-position:center center}
#ma-newhome .ma-area-grid a.ma-area-card{border-color:#e5edf5;box-shadow:0 5px 18px rgba(13,50,92,.045)}
#ma-newhome .ma-area-grid a.ma-area-card:hover{box-shadow:0 12px 24px rgba(13,50,92,.09)}

/* Master Academy 1.5.5 – visualizzazione integrale delle sei illustrazioni e footer richiesto */
#ma-newhome .ma-area-grid .ma-area-photo {
  display:flex; align-items:center; justify-content:center;
  overflow:hidden; box-sizing:border-box;
  background:#f4f8fd;
}
#ma-newhome .ma-area-grid .ma-area-photo img {
  display:block;
  box-sizing:border-box;
  width:100%; height:100%;
  padding:4px;
  object-fit:contain;
  object-position:center center;
  max-width:100%; max-height:100%;
}
#ma-newhome .ma-legal-footer {padding:21px 14px 22px;}
#ma-newhome .ma-legal-line {
  display:flex; flex-direction:column; flex-wrap:nowrap;
  align-items:center; justify-content:center;
  gap:5px; text-align:center; line-height:1.5;
  font-size:12px; letter-spacing:0; font-weight:500;
}
#ma-newhome .ma-legal-line span {display:block; max-width:100%;}
@media(max-width:560px){
  #ma-newhome .ma-area-grid .ma-area-photo img {padding:3px;}
  #ma-newhome .ma-legal-line {font-size:11px; line-height:1.5; gap:6px;}
}


/* Master Academy 1.5.6: SOLO adattamento immagini, carosello corsi e quarto step. */
#ma-newhome .ma-area-grid .ma-area-photo {
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  background:#fff; box-sizing:border-box;
}
#ma-newhome .ma-area-grid .ma-area-photo img {
  display:block; width:100%; height:100%; max-width:100%; max-height:100%;
  padding:0 !important; margin:0; object-fit:contain !important;
  object-position:center center !important;
}
#ma-newhome .ma-popular-section {padding:31px 0 38px;background:#fff;overflow:hidden;border-top:1px solid #e9eff6}
#ma-newhome .ma-popular-heading {display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:19px}
#ma-newhome .ma-popular-heading h2 {font-size:25px;line-height:1.2;margin:4px 0 6px;color:#102f60}
#ma-newhome .ma-popular-heading p {font-size:13px;line-height:1.55;color:#667c96;margin:0;max-width:710px}
#ma-newhome .ma-popular-hint {font-size:12px;color:#376d9c;font-weight:700;white-space:nowrap}
#ma-newhome .ma-popular-viewport {max-width:100%;overflow:hidden;mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 3%,#000 97%,transparent)}
#ma-newhome .ma-popular-track {display:flex;width:max-content;animation:maPopularScroll 70s linear infinite;will-change:transform}
#ma-newhome .ma-popular-viewport:hover .ma-popular-track,
#ma-newhome .ma-popular-viewport:focus-within .ma-popular-track {animation-play-state:paused}
#ma-newhome .ma-popular-group {display:flex;flex-shrink:0;gap:12px;padding:2px 12px 8px 0}
#ma-newhome .ma-popular-course {box-sizing:border-box;flex:0 0 196px;width:196px;min-height:93px;
 display:flex;flex-direction:column;justify-content:space-between;gap:8px;
 background:#f7faff;border:1px solid #dce7f4;border-radius:12px;
 padding:15px 15px 12px;transition:box-shadow .2s,transform .2s;}
#ma-newhome .ma-popular-course:hover {box-shadow:0 7px 20px rgba(10,55,108,.11);transform:translateY(-2px)}
#ma-newhome .ma-popular-course:focus-visible {outline:3px solid #2666a2;outline-offset:2px}
#ma-newhome .ma-popular-course-title {font-size:14px;font-weight:800;line-height:1.3;color:#0c3262}
#ma-newhome .ma-popular-course-foot {font-size:10px;color:#4c718f;display:flex;align-items:center;justify-content:space-between}
#ma-newhome .ma-popular-course-foot span {font-size:16px;color:#0d5a98}
@keyframes maPopularScroll {from{transform:translateX(0)}to{transform:translateX(-50%)}}
#ma-newhome .steps-grid {grid-template-columns:1fr repeat(4,minmax(0,1fr));gap:17px}
#ma-newhome .steps-grid .step {padding-left:16px;min-width:0}
#ma-newhome .steps-grid .step h3 {font-size:14px}
#ma-newhome .steps-grid .step p {font-size:12px}
@media(max-width:970px){#ma-newhome .steps-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}#ma-newhome .steps-title{grid-column:1/-1}}
@media(max-width:600px){
 #ma-newhome .ma-popular-section{padding:26px 0 28px}
 #ma-newhome .ma-popular-heading{align-items:start;flex-direction:column;gap:7px}
 #ma-newhome .ma-popular-heading h2{font-size:22px}
 #ma-newhome .ma-popular-heading p{font-size:12px}
 #ma-newhome .ma-popular-viewport{overflow-x:auto;overflow-y:hidden;mask-image:none;-webkit-mask-image:none;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 #ma-newhome .ma-popular-viewport::-webkit-scrollbar{display:none}
 #ma-newhome .ma-popular-track{animation:none;width:max-content}
 #ma-newhome .ma-popular-group[aria-hidden="true"]{display:none}
 #ma-newhome .ma-popular-course{flex-basis:180px;width:180px;scroll-snap-align:start}
 #ma-newhome .steps-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 #ma-newhome .steps-grid .step {padding-left:12px}
 #ma-newhome .steps-grid .step h3{font-size:13px}
 #ma-newhome .steps-grid .step p{font-size:11px}
}
@media(max-width:380px){#ma-newhome .ma-popular-course{width:170px;flex-basis:170px}}
@media(prefers-reduced-motion:reduce){#ma-newhome .ma-popular-track{animation:none}#ma-newhome .ma-popular-viewport{overflow-x:auto;mask-image:none;-webkit-mask-image:none}#ma-newhome .ma-popular-group[aria-hidden="true"]{display:none}}


/* 1.5.7 - solo catalogo scorrevole completo; stile originale preservato */
#ma-newhome .ma-popular-track { animation-duration: 165s; }
#ma-newhome .ma-popular-catalogue { margin-top:16px; text-align:right; }
#ma-newhome .ma-popular-catalogue a { display:inline-flex; align-items:center; gap:12px; padding:10px 17px; border:1px solid #bdd2e9; border-radius:30px; color:#154878!important; font-size:12px; font-weight:750; background:#fff; text-decoration:none; }
#ma-newhome .ma-popular-catalogue a:hover { background:#f2f7ff; }
@media(max-width:600px) { #ma-newhome .ma-popular-catalogue { margin-top:13px; text-align:left; } }

.step-icon{display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:10px;min-width:38px;min-height:38px}.step-icon svg{width:38px;height:38px;display:block}.step-icon.step-icon-glyph{font-size:36px}

/* Versione 1.6.0: solo carosello per categorie, in luogo delle singole schede corsi. */
#ma-newhome .ma-popular-course.ma-category-card {min-height:112px; flex-basis:210px; width:210px; gap:7px; background:linear-gradient(150deg,#fff,#f2f7fd);}
#ma-newhome .ma-category-card .ma-popular-course-title {font-size:14px;line-height:1.26;}
#ma-newhome .ma-category-card .ma-category-description {font-size:11px;line-height:1.3;color:#59738e;}
#ma-newhome .ma-category-card .ma-popular-course-foot {font-size:10px;font-weight:700;margin-top:auto;}
@media(max-width:600px){
 #ma-newhome .ma-popular-course.ma-category-card{flex-basis:190px;width:190px;min-height:117px;}
}
@media(max-width:380px){#ma-newhome .ma-popular-course.ma-category-card{flex-basis:180px;width:180px;}}


/* v1.6.1 refinements */
#ma-newhome .ma-area-grid a.ma-area-card {grid-template-columns:98px minmax(0,1fr) 30px; min-height:146px; column-gap:16px;}
#ma-newhome .ma-area-grid .ma-area-photo {width:98px; height:106px; padding:8px; overflow:visible; background:#ffffff;}
#ma-newhome .ma-area-grid .ma-area-photo img {width:100%; height:100%; object-fit:contain; object-position:center center; transform:none !important;}
@media (max-width:1180px) and (min-width:821px){#ma-newhome .ma-area-grid a.ma-area-card{grid-template-columns:86px minmax(0,1fr) 26px; min-height:136px;}#ma-newhome .ma-area-grid .ma-area-photo{width:86px;height:94px;padding:7px}}
@media (max-width:560px){#ma-newhome .ma-area-grid a.ma-area-card{grid-template-columns:96px minmax(0,1fr) 28px; min-height:132px; align-items:center;}#ma-newhome .ma-area-grid .ma-area-photo{width:96px;height:96px;padding:7px}}
@media (max-width:375px){#ma-newhome .ma-area-grid a.ma-area-card{grid-template-columns:82px minmax(0,1fr) 26px;}#ma-newhome .ma-area-grid .ma-area-photo{width:82px;height:88px;padding:6px}}

.courses{gap:14px}
.course-card{border-radius:14px; box-shadow:0 6px 18px rgba(13,50,98,.08)}
.course-image{height:100px; background:#f5f8fc; display:flex; align-items:center; justify-content:center; padding:10px;}
.course-image img{width:100%; height:100%; object-fit:contain; transition:none;}
.course-card:hover .course-image img{transform:none}
.course-content{padding:13px 13px 14px}
.course-type{font-size:10px; letter-spacing:.65px}
.course-content h3{margin:5px 0 6px; font-size:14px; line-height:1.28; min-height:36px}
.course-content p{font-size:11px; line-height:1.45; margin:0 0 12px; min-height:48px}
.course-button{font-size:11px; padding:9px 11px}
@media (max-width:1180px){.course-image{height:96px}.course-content h3{font-size:13px}.course-content p{font-size:11px; min-height:44px}}
@media (max-width:820px){.courses{grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px}.course-image{height:92px}.course-content{padding:12px}.course-content h3{min-height:auto}.course-content p{min-height:auto}}
@media (max-width:560px){.course-image{height:88px; padding:8px}.course-content h3{font-size:13px}.course-content p{font-size:11px}}


/* v1.6.2 final refinement */
#ma-newhome .ma-area-grid{gap:18px}
#ma-newhome .ma-area-grid a.ma-area-card{grid-template-columns:104px minmax(0,1fr) 26px;column-gap:14px;align-items:center;min-height:138px;padding:18px 18px 18px 16px}
#ma-newhome .ma-area-grid .ma-area-photo{width:104px;height:92px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;box-shadow:none;border-radius:0}
#ma-newhome .ma-area-grid .ma-area-photo img{width:100%;height:100%;object-fit:contain;object-position:center center;display:block}
#ma-newhome .ma-area-grid strong{font-size:16px;line-height:1.12}
#ma-newhome .ma-area-grid small{font-size:12px;line-height:1.32;display:block;max-width:190px}
#ma-newhome .ma-go{right:18px;bottom:auto;top:50%;transform:translateY(-50%);font-size:19px}
@media(max-width:820px){#ma-newhome .ma-area-grid a.ma-area-card{grid-template-columns:92px minmax(0,1fr) 24px;min-height:132px}#ma-newhome .ma-area-grid .ma-area-photo{width:92px;height:82px}}
@media(max-width:560px){#ma-newhome .ma-area-grid a.ma-area-card{grid-template-columns:88px minmax(0,1fr) 22px;min-height:124px;padding:16px 16px 16px 14px}#ma-newhome .ma-area-grid .ma-area-photo{width:88px;height:76px}#ma-newhome .ma-area-grid strong{font-size:15px}#ma-newhome .ma-area-grid small{font-size:11px;max-width:none}}
@media(max-width:375px){#ma-newhome .ma-area-grid a.ma-area-card{grid-template-columns:78px minmax(0,1fr) 20px;min-height:118px}#ma-newhome .ma-area-grid .ma-area-photo{width:78px;height:70px}}

.courses{gap:12px}
.course-card{border-radius:12px;box-shadow:0 5px 16px rgba(13,50,98,.08)}
.course-image{height:84px;padding:8px;background:#f8fafc}
.course-content{padding:11px 11px 12px}
.course-type{font-size:9px;letter-spacing:.55px}
.course-content h3{margin:4px 0 5px;font-size:13px;line-height:1.2;min-height:31px}
.course-content p{font-size:10px;line-height:1.35;margin:0 0 10px;min-height:28px}
.course-brand-space{display:none}
.course-button{font-size:11px;padding:8px 10px}
@media(max-width:1180px){.courses{grid-template-columns:repeat(4,minmax(0,1fr))}.course-image{height:80px}.course-content p{min-height:26px}}
@media(max-width:820px){#ma-newhome .courses{grid-template-columns:repeat(2,minmax(0,1fr))}.course-card{min-height:unset}.course-image{height:86px}.course-content h3,.course-content p{min-height:auto}}
@media(max-width:390px){.course-image{height:78px}.course-content{padding:10px}.course-content h3{font-size:12px}.course-content p{font-size:10px}}

@media (max-width:900px){.year-stamp{transform:none}.year-stamp-desktop{display:none}.year-stamp-mobile{display:flex}}

/* Master Academy 1.6.4: small anniversary pennant suspended from white navigation bar */
#ma-newhome .ma-anniversary-ribbon {
  position:absolute;
  right:max(26px, calc((100vw - 1480px)/2 + 48px));
  top:calc(100% - 2px);
  z-index:20;
  width:164px;
  height:158px;
  display:flex;
  justify-content:center;
  align-items:flex-start;
  box-sizing:border-box;
  padding:22px 16px 26px;
  background:linear-gradient(160deg, #fff 0%,#f9fbff 100%);
  border-top:5px solid #c6a45c;
  border-left:1px solid #d8c38e;
  border-right:1px solid #d8c38e;
  box-shadow:0 8px 24px rgba(3,27,55,.19);
  clip-path:polygon(0 0,100% 0,100% 100%,50% 89%,0 100%);
  pointer-events:none;
}
#ma-newhome .ma-anniversary-ribbon img {
  width:100%;max-width:130px;height:auto;max-height:100px;object-fit:contain;display:block;
}
#ma-newhome .ma-anniversary-ribbon .ma-ribbon-attachment {
  position:absolute;width:29px;height:9px;top:0;left:calc(50% - 14.5px);
  border-radius:0 0 4px 4px;
  background:#b99a50;
}
@media(min-width:1001px) {
  #ma-newhome .hero .year-stamp{display:none!important}
}
@media(max-width:1000px) {
  #ma-newhome .ma-anniversary-ribbon{display:none!important}
  #ma-newhome .hero .year-stamp-desktop{display:none!important}
  #ma-newhome .hero .year-stamp-mobile{display:flex!important}
}


/* Master Academy 1.6.6 – hotfix colori testi e banner loghi */
#ma-newhome .hero .eyebrow,
#ma-newhome .hero h1,
#ma-newhome .hero h1 strong,
#ma-newhome .hero p {
  color:#ffffff !important;
}
#ma-newhome .hero p {
  color:#f0f6ff !important;
}
#ma-newhome .benefits-feature .eyebrow,
#ma-newhome .benefits-feature h2 {
  color:#ffffff !important;
}
#ma-newhome .ma-orient .eyebrow,
#ma-newhome .ma-orient h2,
#ma-newhome .ma-orient p {
  color:#ffffff !important;
}
#ma-newhome .ma-orient p {
  color:#e5f0fa !important;
}
#ma-newhome .ma-logos-section {
  overflow:hidden;
}
#ma-newhome .ma-logos-viewport {
  padding: 4px 0 10px;
}
#ma-newhome .ma-logo-group {
  align-items:stretch;
}
#ma-newhome .ma-logo-item {
  height:124px;
  padding:12px 10px 10px;
  justify-content:flex-start;
}
#ma-newhome .ma-logo-image {
  height:70px;
  flex:0 0 70px;
}
#ma-newhome .ma-logo-image img {
  max-height:64px;
}
#ma-newhome .ma-logo-label {
  margin-top:9px;
}
#ma-newhome .ma-logo-british .ma-logo-image img {
  max-height:64px;
  max-width:78px;
}
#ma-newhome .ma-logo-columbus .ma-logo-image img,
#ma-newhome .ma-logo-link .ma-logo-image img {
  max-height:68px;
  max-width:138px;
}
@media(max-width:560px){
  #ma-newhome .ma-logo-item{height:116px;padding:10px 8px 8px}
  #ma-newhome .ma-logo-image{height:64px;flex-basis:64px}
  #ma-newhome .ma-logo-image img{max-height:58px}
}


/* v1.6.7 — Allineamento uniforme dei quattro passaggi, incluso Certificato! */
#ma-newhome .steps-grid .step-visual {
  display:flex;
  height:44px;
  min-height:44px;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}
#ma-newhome .steps-grid .step-visual .step-no {
  flex:0 0 27px;
  display:grid;
  align-items:center;
  justify-content:center;
  margin:0;
}
#ma-newhome .steps-grid .step-visual .step-icon {
  box-sizing:border-box;
  display:flex;
  flex:0 0 40px;
  width:40px;
  height:40px;
  min-height:0;
  min-width:0;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  line-height:1;
  vertical-align:initial;
}
#ma-newhome .steps-grid .step-visual .step-icon img,
#ma-newhome .steps-grid .step-visual .step-icon svg {
  display:block;
  width:38px;
  height:38px;
  max-width:100%;
  object-fit:contain;
  margin:0;
}
#ma-newhome .steps-grid .step h3 {margin-top:10px;}


/* 1.6.8 – Carosello indipendente di clienti dalla pagina Azienda. */
#ma-newhome .ma-clients-section{
  background:#f8fbff;
  border-top:1px solid #e8f0f8;
  border-bottom:1px solid #e8f0f8;
  padding:47px 0 43px;
  overflow:hidden;
}
#ma-newhome .ma-clients-heading{text-align:center;margin-bottom:24px}
#ma-newhome .ma-clients-heading h2{
  color:#103b6c!important;font-size:clamp(23px,2.6vw,31px);
  margin:8px 0 6px;line-height:1.18;font-weight:800;
}
#ma-newhome .ma-clients-heading p{
  margin:0;color:#657b98!important;font-size:13px;line-height:1.55;
}
#ma-newhome .ma-clients-viewport{
  width:100%;overflow:hidden;padding:7px 0 10px;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}
#ma-newhome .ma-clients-track{
  display:flex;align-items:stretch;width:max-content;
  animation:maClientiScroll 48s linear infinite;
  will-change:transform;
}
#ma-newhome .ma-clients-group{
  display:flex;flex-shrink:0;align-items:stretch;gap:18px;padding-right:18px;
}
#ma-newhome .ma-client-item{
  width:205px;flex:0 0 205px;height:112px;
  display:flex;align-items:center;justify-content:center;
  padding:18px 17px;background:#fff;
  border:1px solid #e1eaf5;border-radius:15px;
  box-shadow:0 3px 12px rgba(12,47,91,.07);
}
#ma-newhome .ma-client-item img{
  display:block;width:100%;height:100%;max-width:173px;max-height:86px;
  object-fit:contain;object-position:center center;
}
#ma-newhome .ma-clients-section:hover .ma-clients-track,
#ma-newhome .ma-clients-section:focus-within .ma-clients-track{animation-play-state:paused}
#ma-newhome .ma-clients-footer{text-align:center;margin-top:22px}
#ma-newhome .ma-clients-footer a{
  display:inline-flex;gap:9px;align-items:center;
  color:#15558b!important;font-size:13px;font-weight:700;
  border-bottom:1px solid #afc9e2;padding-bottom:4px;
}
#ma-newhome .ma-clients-footer a:hover{color:#087ca6!important}
@keyframes maClientiScroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:560px){
  #ma-newhome .ma-clients-section{padding:31px 0 32px}
  #ma-newhome .ma-clients-heading{margin-bottom:18px;padding:0 12px}
  #ma-newhome .ma-clients-heading p{font-size:12px}
  #ma-newhome .ma-clients-group{gap:12px;padding-right:12px}
  #ma-newhome .ma-client-item{width:155px;flex-basis:155px;height:92px;padding:13px}
  #ma-newhome .ma-client-item img{max-width:130px;max-height:69px}
  #ma-newhome .ma-clients-track{animation-duration:39s}
  #ma-newhome .ma-clients-footer{margin-top:17px}
}
@media(prefers-reduced-motion:reduce){
  #ma-newhome .ma-clients-track{animation:none!important;will-change:auto}
  #ma-newhome .ma-clients-viewport{overflow-x:auto;-webkit-mask-image:none;mask-image:none}
  #ma-newhome .ma-clients-group[aria-hidden="true"]{display:none}
}


/* 1.6.9 – cliente ActionAid e area pagamenti nel footer. */
#ma-newhome .ma-client-item img[src*="client-actionaid"]{max-width:168px;max-height:56px}
#ma-newhome .ma-payments-block{padding:0 0 18px;text-align:center}
#ma-newhome .ma-payments-title{font-size:13px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;opacity:.96;margin-bottom:12px}
#ma-newhome .ma-payments-row,
#ma-newhome .ma-payment-cards{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px 12px}
#ma-newhome .ma-payment-cards{margin-top:10px}
#ma-newhome .ma-pay-pill,
#ma-newhome .ma-card-badge{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);color:#fff!important;font-size:12px;font-weight:700;line-height:1;letter-spacing:.15px;box-shadow:0 4px 12px rgba(0,0,0,.08)}
#ma-newhome .ma-pay-pill::before,
#ma-newhome .ma-card-badge::before{display:inline-flex;align-items:center;justify-content:center;content:"";width:16px;height:16px;margin-right:8px;border-radius:50%;flex:0 0 16px;background:rgba(255,255,255,.85)}
#ma-newhome .ma-pay-paypal::before{background:linear-gradient(135deg,#003087,#009cde)}
#ma-newhome .ma-pay-klarna::before{background:#ffb3c7}
#ma-newhome .ma-pay-scalapay::before{background:#7ce1da}
#ma-newhome .ma-pay-heylight::before{background:#f8d66d}
#ma-newhome .ma-pay-compass::before{background:linear-gradient(135deg,#0e6ab8,#39b77a)}
#ma-newhome .ma-card-mastercard::before{background:radial-gradient(circle at 35% 50%,#eb001b 0 45%,transparent 46%),radial-gradient(circle at 65% 50%,#f79e1b 0 45%,transparent 46%),rgba(255,255,255,.08)}
#ma-newhome .ma-card-visa::before{background:linear-gradient(180deg,#1a1f71,#1a1f71 60%,#f7b600 60%,#f7b600)}
#ma-newhome .ma-card-amex::before{background:#2e77bb}
#ma-newhome .ma-legal-line{padding-top:6px;border-top:1px solid rgba(255,255,255,.14)}
@media(max-width:560px){
  #ma-newhome .ma-payments-block{padding:0 0 16px}
  #ma-newhome .ma-payments-title{font-size:12px;margin-bottom:10px}
  #ma-newhome .ma-payments-row,#ma-newhome .ma-payment-cards{gap:8px 9px}
  #ma-newhome .ma-pay-pill,#ma-newhome .ma-card-badge{min-height:31px;padding:7px 12px;font-size:11px}
}


/* 1.6.10 – loghi pagamenti in un'unica riga. */
#ma-newhome .ma-payments-block{padding:0 0 18px;text-align:center}
#ma-newhome .ma-payments-title{font-size:13px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;opacity:.96;margin-bottom:12px}
#ma-newhome .ma-payments-logos{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding:2px 0 4px;scrollbar-width:thin}
#ma-newhome .ma-payments-logos::-webkit-scrollbar{height:6px}
#ma-newhome .ma-payments-logos::-webkit-scrollbar-thumb{background:rgba(255,255,255,.18);border-radius:99px}
#ma-newhome .ma-pay-logo{position:relative;display:inline-flex;align-items:center;justify-content:center;height:42px;min-width:104px;padding:0 14px;border-radius:12px;border:1px solid rgba(255,255,255,.18);background:#fff;box-shadow:0 6px 16px rgba(0,0,0,.12);flex:0 0 auto}
#ma-newhome .ma-pay-logo .ma-logo-word{display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;line-height:1;letter-spacing:.1px;white-space:nowrap}
#ma-newhome .ma-logo-paypal .ma-logo-word{color:#003087}
#ma-newhome .ma-logo-klarna{background:#ffb3c7}
#ma-newhome .ma-logo-klarna .ma-logo-word{color:#111}
#ma-newhome .ma-logo-scalapay{background:#ecfffc}
#ma-newhome .ma-logo-scalapay .ma-logo-word{color:#0d9488}
#ma-newhome .ma-logo-heylight{background:#fff9e6}
#ma-newhome .ma-logo-heylight .ma-logo-word{color:#9a6b00}
#ma-newhome .ma-logo-compass .ma-logo-word{color:#1275bc}
#ma-newhome .ma-logo-mastercard{padding-left:42px}
#ma-newhome .ma-logo-mastercard::before,#ma-newhome .ma-logo-mastercard::after{content:"";position:absolute;top:50%;width:16px;height:16px;border-radius:50%;transform:translateY(-50%)}
#ma-newhome .ma-logo-mastercard::before{left:16px;background:#eb001b}
#ma-newhome .ma-logo-mastercard::after{left:24px;background:#f79e1b;mix-blend-mode:multiply}
#ma-newhome .ma-logo-mastercard .ma-logo-word{color:#1d1d1f}
#ma-newhome .ma-logo-visa .ma-logo-word{color:#1a1f71;font-style:italic;letter-spacing:.3px}
#ma-newhome .ma-logo-amex{background:#2e77bb}
#ma-newhome .ma-logo-amex .ma-logo-word{color:#fff;letter-spacing:.4px}
@media(max-width:560px){
  #ma-newhome .ma-payments-title{font-size:12px;margin-bottom:10px}
  #ma-newhome .ma-payments-logos{justify-content:flex-start;gap:8px;padding-bottom:6px}
  #ma-newhome .ma-pay-logo{height:36px;min-width:88px;padding:0 12px}
  #ma-newhome .ma-pay-logo .ma-logo-word{font-size:11px}
  #ma-newhome .ma-logo-mastercard{padding-left:36px}
  #ma-newhome .ma-logo-mastercard::before,#ma-newhome .ma-logo-mastercard::after{width:14px;height:14px}
  #ma-newhome .ma-logo-mastercard::before{left:12px}
  #ma-newhome .ma-logo-mastercard::after{left:19px}
}


/* 1.6.11: veri elementi-logo in formato SVG, una riga desktop come nella foto. */
#ma-newhome .ma-payments-block{padding:0 0 17px;text-align:center}
#ma-newhome .ma-payments-title{font-size:12px;letter-spacing:1px;margin-bottom:13px}
#ma-newhome .ma-payments-logos{
  display:flex;align-items:center;justify-content:center;
  gap:9px;flex-wrap:nowrap;max-width:100%;min-width:0;
  overflow-x:auto;overflow-y:hidden;padding:2px 0 9px;
  scrollbar-width:thin;-webkit-overflow-scrolling:touch;
}
#ma-newhome .ma-pay-logo{
  width:124px;height:58px;min-width:0;padding:7px 9px;flex:0 0 124px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid #e5e9ef;border-radius:10px;
  box-shadow:0 3px 9px rgba(0,15,38,.09);box-sizing:border-box;
}
#ma-newhome .ma-pay-logo::before,#ma-newhome .ma-pay-logo::after{content:none!important;display:none!important}
#ma-newhome .ma-pay-logo img{
  display:block;width:100%;height:100%;max-width:110px;max-height:43px;
  object-fit:contain!important;object-position:center center;vertical-align:middle;
  border:0;background:transparent;filter:none;
}
#ma-newhome .ma-pay-amex img{max-height:45px}
@media(min-width:1160px){#ma-newhome .ma-payments-logos{overflow-x:visible}}
@media(max-width:800px){
 #ma-newhome .ma-payments-logos{justify-content:flex-start;gap:8px}
 #ma-newhome .ma-pay-logo{flex-basis:109px;width:109px;height:52px;padding:7px}
 #ma-newhome .ma-pay-logo img{max-width:97px;max-height:38px}
}


/* 1.6.12: area pagamenti ispirata al riferimento, senza carosello né scrollbar. */
#ma-newhome .ma-payments-shell {
  width:100%;
  background:#37383a;
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.16);
}
#ma-newhome .ma-payments-shell .ma-payments-block {
  display:grid;
  grid-template-columns:minmax(320px,1fr) minmax(560px,1.2fr);
  align-items:center;
  gap:22px 42px;
  width:min(1340px,calc(100% - 48px));
  padding:26px 0 23px;
  text-align:left;
}
#ma-newhome .ma-payments-copy {
  min-width:0;
  text-align:left;
}
#ma-newhome .ma-payments-copy .ma-payments-title {
  color:#fff!important;
  font-size:18px;
  font-weight:800;
  text-transform:none;
  letter-spacing:0;
  margin:0 0 10px;
  line-height:1.3;
  text-align:left;
}
#ma-newhome .ma-payments-copy p {
  color:#fff!important;
  font-size:13px;
  font-weight:400;
  line-height:1.55;
  margin:0 0 6px;
}
#ma-newhome .ma-payments-copy p:last-child {margin-bottom:0}
#ma-newhome .ma-payments-shell .ma-payments-logos {
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  padding:0;
  margin:0;
  overflow:visible!important;
  scrollbar-width:none;
  flex-wrap:nowrap;
}
#ma-newhome .ma-payments-shell .ma-payment-row {
  display:flex;
  flex-wrap:nowrap;
  justify-content:flex-start;
  align-items:center;
  gap:10px;
  width:100%;
  min-width:0;
  margin:0;
  padding:0;
}
#ma-newhome .ma-payments-shell .ma-pay-logo {
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
  flex:0 0 105px;
  width:105px;
  min-width:0;
  height:53px;
  padding:7px 8px;
  background:#fff;
  border:1px solid #e5e8eb;
  border-radius:11px;
  box-shadow:0 2px 6px rgba(0,0,0,.12);
}
#ma-newhome .ma-payments-shell .ma-pay-logo::before,
#ma-newhome .ma-payments-shell .ma-pay-logo::after {content:none!important;display:none!important}
#ma-newhome .ma-payments-shell .ma-pay-logo img {
  display:block;
  width:100%;
  height:100%;
  max-width:94px;
  max-height:39px;
  object-fit:contain!important;
  object-position:center center;
  background:transparent;
  border:0;
  filter:none;
}
#ma-newhome .ma-payments-shell .ma-pay-bonifico img{max-width:92px;max-height:39px}
#ma-newhome .ma-legal-footer {padding:0 0 22px}
#ma-newhome .ma-legal-footer .ma-legal-line {
  padding-top:17px;
  border-top:0;
}
@media (max-width:1030px){
  #ma-newhome .ma-payments-shell .ma-payments-block {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:19px;
    width:min(680px,calc(100% - 36px));
    padding:25px 0 23px;
  }
  #ma-newhome .ma-payments-shell .ma-payments-logos{align-items:center}
  #ma-newhome .ma-payments-shell .ma-payment-row{justify-content:center}
}
@media (max-width:620px){
  #ma-newhome .ma-payments-shell .ma-payments-block{
    padding:24px 0 22px;
    width:calc(100% - 30px);
    gap:16px;
  }
  #ma-newhome .ma-payments-copy .ma-payments-title {font-size:16px}
  #ma-newhome .ma-payments-copy p {font-size:12px}
  #ma-newhome .ma-payments-shell .ma-payments-logos{gap:10px}
  #ma-newhome .ma-payments-shell .ma-payment-row{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    justify-items:stretch;
    gap:8px;
  }
  #ma-newhome .ma-payments-shell .ma-pay-logo{
    width:100%;
    min-width:0;
    max-width:none;
    height:49px;
    padding:5px 6px;
    flex:auto;
  }
  #ma-newhome .ma-payments-shell .ma-pay-logo img{max-width:100%;max-height:35px}
}



/* 1.6.14 — barra discreta con otto loghi dei metodi di pagamento.
   Nessun carosello, box grandi o annunci promozionali. */
#ma-newhome .ma-legal-footer{
    padding:0 0 20px!important;
    background:#073968;
}
#ma-newhome .ma-payments-minimal{
    background:#f8fafc;
    border-top:1px solid #e9eef5;
    border-bottom:1px solid #dce5ef;
    padding:18px 0 16px;
}
#ma-newhome .ma-payments-minimal-inner{
    display:flex;flex-direction:column;align-items:center;gap:12px;
}
#ma-newhome .ma-payments-minimal-title{
    font-size:12px;font-weight:700;letter-spacing:.25px;
    color:#55718e;text-align:center;line-height:1.25;
}
#ma-newhome .ma-payments-minimal-logos{
    display:flex;flex-wrap:wrap;gap:8px 11px;align-items:center;
    justify-content:center;width:100%;overflow:visible;
}
#ma-newhome .ma-pay-icon{
    display:flex;align-items:center;justify-content:center;
    flex:0 0 98px;width:98px;height:37px;min-width:0;
    padding:5px 7px;border:1px solid #edf1f5;border-radius:7px;
    background:#fff;box-shadow:none;
}
#ma-newhome .ma-pay-icon img{
    display:block;max-width:100%;max-height:29px;width:100%;height:100%;
    object-fit:contain!important;object-position:center center;
    padding:0;margin:0;transform:none!important;filter:none!important;
}
#ma-newhome .ma-legal-footer .ma-legal-line{
    padding-top:15px!important;border-top:0!important;
}
@media(max-width:560px){
    #ma-newhome .ma-payments-minimal{padding:15px 0 13px}
    #ma-newhome .ma-payments-minimal-inner{gap:9px}
    #ma-newhome .ma-payments-minimal-title{font-size:11px}
    #ma-newhome .ma-payments-minimal-logos{gap:6px 7px}
    #ma-newhome .ma-pay-icon{flex:0 0 calc((100% - 21px)/4);width:calc((100% - 21px)/4);height:34px;padding:4px 5px}
    #ma-newhome .ma-pay-icon img{max-height:25px}
}


/* v1.6.19 – Ricerca diretta del catalogo tramite shortcode plugin separato */
#ma-newhome .ma-direct-course-search {position:relative;width:100%;max-width:640px;min-width:0;z-index:10;}
#ma-newhome .ma-direct-course-search input,
#ma-newhome .ma-direct-course-search select {max-width:100%;box-sizing:border-box;}
#ma-newhome .ma-direct-course-search .ma-course-search-unavailable {display:inline-block;padding:13px 20px;background:#fff;color:#093d74!important;border-radius:30px;font-size:14px;font-weight:750;box-shadow:0 8px 22px rgba(0,29,56,.2);}
#ma-newhome .ma-direct-course-search .ma-search-plugin-notice {margin:8px 0 0;font-size:12px;line-height:1.45;color:#fff!important;background:rgba(4,21,43,.85);padding:10px;border-radius:8px;}
#ma-newhome .ma-direct-course-search .ma-search-plugin-notice code {color:#092f59;background:#edf5fc;padding:2px 4px;border-radius:3px;}
@media(max-width:560px){#ma-newhome .ma-direct-course-search{max-width:100%;}}


/* 1.6.20: menu di ricerca diretta – collegamento al catalogo aggiornato iscrizioni. */
#ma-newhome .ma-direct-course-search{position:relative;z-index:30;max-width:650px;width:100%;}
#ma-newhome .ma-course-search-shell{position:relative;width:100%;}
#ma-newhome .ma-home-search-form{width:100%;display:flex;align-items:center;gap:0;padding:5px;border-radius:36px;background:#fff;box-shadow:0 8px 22px rgba(0,29,56,.25);box-sizing:border-box;margin:0;}
#ma-newhome .ma-home-search-icon{color:#225987;font-size:27px;padding:0 11px;line-height:1;display:inline-flex;align-items:center;flex:0 0 auto;}
#ma-newhome .ma-home-search-form input{display:block;min-width:0;flex:1 1 auto;width:100%;margin:0;padding:9px 4px;background:#fff;color:#13395c;border:0;border-radius:20px;outline:0;box-shadow:none!important;font-size:14px;line-height:1.45;appearance:auto;-webkit-appearance:none;}
#ma-newhome .ma-home-search-form input:focus{outline:none;box-shadow:none!important;}
#ma-newhome .ma-home-search-form:focus-within{outline:3px solid rgba(70,155,222,.57);outline-offset:2px;}
#ma-newhome .ma-home-search-form button{background:#063e7a;color:#fff!important;border:0;border-radius:28px;cursor:pointer;font-weight:700;font-size:13px;white-space:nowrap;padding:12px 27px;flex:0 0 auto;min-height:41px;box-shadow:none;}
#ma-newhome .ma-home-search-form button:hover{background:#07569d;}
#ma-newhome .ma-home-search-results{position:absolute;top:calc(100% + 9px);left:0;right:0;max-height:400px;overflow:auto;overscroll-behavior:contain;background:#fff;color:#133a62;border:1px solid #d5e1ec;border-radius:16px;box-shadow:0 18px 38px rgba(0,25,57,.25);padding:7px;z-index:120;box-sizing:border-box;}
#ma-newhome .ma-home-search-results[hidden]{display:none!important;}
#ma-newhome .ma-home-course-results-heading{padding:9px 13px 7px;font-size:11px;letter-spacing:.15px;font-weight:750;color:#53708d;}
#ma-newhome .ma-home-course-option{display:block;padding:10px 13px!important;border-radius:9px;color:#1b4168!important;text-align:left!important;text-decoration:none!important;border:0!important;background:transparent;box-shadow:none!important;}
#ma-newhome .ma-home-course-option strong{display:block;font-size:13px;line-height:1.3;font-weight:700;color:#133a62;}
#ma-newhome .ma-home-course-option small{display:block;margin-top:4px;font-size:11px;line-height:1.25;color:#57718b;}
#ma-newhome .ma-home-course-option:hover,#ma-newhome .ma-home-course-option.is-active{background:#edf5ff;color:#063e7a!important;}
#ma-newhome .ma-home-search-more{display:block;margin:6px 2px 2px;text-align:center;font-size:12px;font-weight:750;line-height:1.4;padding:10px 12px;border-top:1px solid #e7eef6;color:#155e9a!important;text-decoration:none!important;}
#ma-newhome .ma-home-search-more:hover{text-decoration:underline!important;}
#ma-newhome .ma-home-search-empty{padding:10px 13px;color:#4f6984;font-size:12px;}
#ma-newhome .ma-search-fallback{display:inline-flex;align-items:center;gap:8px;padding:15px 22px;border-radius:36px;background:#fff;color:#123c70!important;font-weight:700;font-size:13px;}
@media(max-width:560px){#ma-newhome .ma-home-search-form{padding:4px;}#ma-newhome .ma-home-search-icon{padding:0 7px;font-size:23px;}#ma-newhome .ma-home-search-form input{font-size:13px;padding:7px 2px;}#ma-newhome .ma-home-search-form button{padding:10px 14px;font-size:12px;min-height:37px;}#ma-newhome .ma-home-search-results{max-height:min(60vh,360px)}#ma-newhome .ma-home-course-option{padding:11px 9px!important;}}
@media(max-width:360px){#ma-newhome .ma-home-search-form button{padding:9px 10px;}#ma-newhome .ma-home-search-form input{font-size:12px;}}
/* Keep the open direct-search menu above the cards immediately below the hero. */
#ma-newhome .hero { z-index: 2; }
