/* Master e perfezionamenti: componenti condivisi, campi canonici, identità universitaria. */
.master-hero-facts .combo-hero-included-item{gap:7px}
.master-hero-facts .combo-hero-included-item strong{font-size:20px;line-height:1.2}
.master-hero-facts .master-fact-label{display:block;color:#d8e9f3;font-size:13px;font-weight:400;line-height:1.35;margin-top:3px}
.master-course-hero .hero-title{text-wrap:balance}
.master-course-hero .hero-category-label{max-width:100%;line-height:1.6}
.master-course-hero .combo-hero-price-row--single{margin-top:0}
.master-course-hero .hero-master-info{margin:12px 0}
.master-course-hero .hero-iscriviti-note{margin-top:12px}
.master-course-hero .master-hero-facts{margin-top:8px}
@media(max-width:991px){
 .master-course-hero .combo-hero-included{grid-template-columns:repeat(2,minmax(0,1fr))}
 .master-course-hero .combo-hero-included-item:nth-child(3){border-left:0}
 .master-course-hero .master-hero-facts{margin-top:0}
}

/* Corpo universitario: componenti condivisi e piano di studi a tutta larghezza. */
.master-course-layout h4{font-size:19px;font-weight:700;line-height:1.4;color:#1a3a52;margin:22px 0 12px}
.master-course-layout .master-study-plan table{display:table;width:100%;border-collapse:collapse;background:#fff}
.master-study-plan th,.master-study-plan td{padding:17px 24px;border-bottom:1px solid #d7e4ed;vertical-align:top;font-size:17px;line-height:1.5;text-align:left}
.master-study-plan thead th{color:#526b7e;font-size:13px;text-transform:uppercase;letter-spacing:.05em;background:#fff}
.master-study-plan tbody th{font-weight:500}
.master-study-plan th:first-child{width:72%}
.master-study-plan td:last-child,.master-study-plan thead th:last-child{width:10%;text-align:right;font-weight:700}
.master-study-plan tfoot th,.master-study-plan tfoot td{background:#f8f9fa;font-weight:700;font-size:19px}
.master-course-layout .master-plan-note{padding:20px 24px;color:#526b7e}
.master-course-layout .master-plan-note p{margin:0;font-size:15px}
.master-course-layout .master-award>strong{display:block;color:#fff;font-size:23px;line-height:1.4;margin-bottom:18px}
.master-course-layout .single-exam-main>h3{margin:0 0 18px}
.master-cost-panel{padding:26px;border:1px solid #d7e4ed;border-radius:10px;background:#fff}
.master-cost-breakdown{margin:0}
.master-cost-breakdown>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:20px;padding:16px 0;border-bottom:1px solid #d7e4ed;font-size:18px;line-height:1.5}
.master-cost-breakdown dt{font-weight:500}.master-cost-breakdown dd{margin:0;font-weight:700}.master-cost-breakdown del{color:#718293;font-weight:400}
.master-cost-breakdown .master-cost-total{border:0;font-size:24px;color:#1a3a52}.master-cost-total dt{font-weight:700}
.master-cost-note{display:flex;gap:12px;align-items:flex-start;margin-top:16px;color:#526b7e}.master-cost-note i{padding-top:6px}.master-cost-note p{margin:0!important}
.master-course-layout .irsaf-help{align-self:start}
@media(max-width:767px){.master-study-plan th,.master-study-plan td{padding:14px 12px;font-size:16px}.master-study-plan th:first-child{width:64%}.master-study-plan thead th{font-size:12px}.master-study-plan tfoot th,.master-study-plan tfoot td{font-size:17px}.master-course-layout .master-plan-note{padding:18px}.master-cost-panel{padding:20px}.master-cost-breakdown>div{font-size:17px;gap:14px}.master-cost-breakdown .master-cost-total{font-size:21px}.master-course-layout h4{font-size:18px}}
.master-course-layout .irsaf-audience{align-self:start}

/* Revisione richiesta: stessa gerarchia prezzo delle schede, vantaggio Polo esplicito. */
body.fd-course.agcm-hero-layout .master-course-hero .combo-hero-grid{row-gap:28px;align-items:start}
.master-course-hero .combo-hero-copy{align-self:start}
body.fd-course.agcm-hero-layout .master-course-hero .hero-title{max-width:none;font-size:clamp(38px,3.6vw,54px);line-height:1.1;margin-top:14px}
.master-hero-intro{margin-top:20px;max-width:740px}
.master-hero-intro p{font-size:19px;line-height:1.6;color:#e0edf5;margin:0}
.master-hero-intro strong{color:#fff;font-weight:600}
.master-course-hero .master-hero-facts{margin-top:0;align-self:start}
/* Ateneo citato in testo accanto alla tipologia, senza logo. */
.master-hero-brand{display:flex;align-items:center;gap:22px;margin-bottom:20px}
.master-hero-brand .hero-category-label{margin:0;line-height:1.5}
.master-course-hero .hero-purchase-card>.hero-iscrizioni-aperte{margin:0 0 20px;padding:0;font-size:12px;justify-content:center;text-align:center;width:100%}
.master-course-hero .combo-hero-price-row--single{text-align:center;padding:0 0 18px}
.master-course-hero .combo-hero-price{padding:0;min-width:0}
.master-course-hero .hero-offer-label{justify-content:center;gap:12px}
.master-course-hero .hero-offer-values{justify-content:center;align-items:baseline;gap:18px;margin-top:6px;flex-wrap:nowrap}
.master-course-hero .hero-offer-values .hero-price-new{font-size:54px;line-height:1.1;margin:0;white-space:nowrap}
.master-course-hero .hero-offer-values .hero-price-old{font-size:21px;white-space:nowrap;font-weight:400}
.master-price-stamp{margin-top:14px}
.master-course-hero .master-price-stamp .hero-stamp-note{margin:0;text-align:center;font-size:14px;line-height:1.5}
.master-course-hero .master-installments{margin-top:12px;justify-content:center;gap:12px;padding:12px 16px}
.master-installments>span{display:block;text-align:left}
.master-installments strong{font-size:16px;line-height:1.35}
.master-course-hero .combo-hero-help{margin-top:18px}
.master-course-hero .hero-iscriviti-note{margin-bottom:0}
@media(min-width:992px){body.fd-course.agcm-hero-layout .master-course-hero .combo-hero-grid{grid-template-areas:'copy offer';grid-template-rows:auto;align-content:center}.master-course-hero .combo-hero-sale{align-self:center}}
@media(max-width:1199px) and (min-width:992px){.master-course-hero .hero-offer-values .hero-price-new{font-size:45px}.master-course-hero .hero-offer-values{gap:12px}}
@media(max-width:991px){body.fd-course.agcm-hero-layout .master-course-hero .hero-title{font-size:36px;line-height:1.13}.master-hero-intro p{font-size:17px;line-height:1.6}.master-hero-intro{margin-top:16px}.master-course-hero .combo-hero-copy{width:100%}}
@media(max-width:359px){body.fd-course.agcm-hero-layout .master-course-hero .hero-title{font-size:31px}}

.master-course-hero .combo-hero-copy .master-hero-facts{margin-top:32px}
@media(min-width:992px){.master-course-hero .combo-hero-copy{align-self:center}}

@media(max-width:767px){.master-hero-brand{gap:16px;margin-bottom:16px}.master-hero-brand .hero-category-label{font-size:11px}}
.master-course-hero .hero-iscrizioni-aperte{justify-content:center;text-align:center;width:100%;margin-bottom:20px}
.master-course-hero .combo-hero-price-row{text-align:center}
.master-course-hero .combo-hero-copy .master-hero-facts{margin-top:32px}
.master-course-layout .master-plan-group th,.master-course-layout .master-plan-group td{background:#edf4f8;font-weight:700;color:#1a3a52;font-size:15px}
.master-course-layout .master-plan-group--scelta th,.master-course-layout .master-plan-group--scelta td{background:#e1eff8}
.master-plan-curriculum{padding:20px 24px;margin:0!important;background:#edf4f8}
.master-plan-credits{padding:18px 24px;margin:0;background:#f8f9fa;color:#1a3a52}
.master-cost-note{display:block}
.master-course-layout .master-award>p{margin:0 0 12px}
.master-course-layout .single-feature .single-prose>h2:first-child{margin-top:12px}
@media(min-width:992px){body.fd-course.agcm-hero-layout .master-course-hero .combo-hero-grid:has(>.hero-social-proof){grid-template-areas:'copy offer' 'proof offer';grid-template-rows:auto auto}}
@media(max-width:767px){.master-course-layout .master-study-plan table{table-layout:fixed}.master-course-layout .master-study-plan th,.master-course-layout .master-study-plan td{overflow-wrap:anywhere}.master-course-layout .master-study-plan th:first-child{width:62%}.master-course-layout .master-study-plan td:last-child,.master-course-layout .master-study-plan thead th:last-child{width:16%}}
/* Modalità e scadenze: pannello approvato, dati editoriali del singolo percorso. */
.master-payment-panel{background:#1a3a50;color:#fff;border-radius:12px;padding:42px;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr);gap:56px;align-items:center}
.master-payment-panel--simple{grid-template-columns:1fr;gap:0}
.master-payment-eyebrow{font-size:13px;letter-spacing:.09em;font-weight:700;color:#a4def5}
.master-course-layout .master-payment-intro h2{font-size:34px;line-height:1.16;margin:14px 0 18px;color:#fff}
.master-course-layout .master-payment-intro p{font-size:18px;line-height:1.6;margin:0;color:#dae9f1}
.master-payment-plan ol{display:grid;grid-template-columns:repeat(var(--payment-steps,3),minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:0}
.master-payment-plan li{position:relative;min-width:0}
.master-payment-number{display:flex;width:46px;height:46px;align-items:center;justify-content:center;background:#a4def5;color:#1a3a50;border-radius:50%;font-size:23px;font-weight:700;margin-bottom:20px}
.master-payment-plan li:not(:last-child):after{content:'';position:absolute;top:23px;left:62px;right:-8px;height:1px;background:#658091}
.master-course-layout .master-payment-plan strong{font-size:21px;color:#fff;line-height:1.3}
.master-course-layout .master-payment-plan li p{font-size:17px;line-height:1.5;margin:10px 0 0;color:#dae9f1;white-space:normal}
.master-course-layout .master-payment-note{display:flex;align-items:flex-start;gap:10px;margin:28px 0 0;padding-top:20px;border-top:1px solid #526e80;color:#dae9f1}
.master-payment-note i{color:#a4def5;margin-top:4px;flex-shrink:0}
.master-course-layout .master-payment-note .single-prose :is(p,li){font-size:15px;line-height:1.5;color:#dae9f1}
.master-payment-panel .single-prose>:last-child{margin-bottom:0}
.master-course-layout .master-payment-conditions :is(p,li){font-size:18px;line-height:1.6;color:#dae9f1}
@media(max-width:991px){.master-payment-panel{grid-template-columns:1fr;gap:30px;padding:30px}.master-course-layout .master-payment-intro h2{font-size:30px}.master-course-layout .master-payment-plan strong{font-size:19px}}
@media(max-width:575px){.master-payment-panel{padding:26px 22px}.master-payment-plan ol{grid-template-columns:1fr;gap:24px}.master-payment-plan li{display:flex;gap:16px;align-items:flex-start}.master-payment-number{flex-shrink:0;margin:0;width:40px;height:40px;font-size:20px}.master-payment-plan li:not(:last-child):after{top:48px;left:20px;bottom:-16px;height:auto;width:1px;right:auto}.master-course-layout .master-payment-plan li p{margin-top:6px;white-space:normal}.master-payment-plan li p br{display:none}.master-course-layout .master-payment-intro p{font-size:17px}.master-course-layout .master-payment-intro h2{font-size:29px}.master-course-layout .master-payment-note .single-prose :is(p,li){font-size:14px}}

/* Piani distinti per indirizzo: accordion condivisi, stessa tabella del piano unico. */
.master-study-plan--curricula>.single-program-heading{border-radius:10px;margin-bottom:18px}
.master-course-layout .master-curriculum{margin:0 0 14px;overflow:hidden}
.master-course-layout .master-curriculum .irsaf-accordion-content{padding:0}
.master-curriculum tbody tr:last-child>*{border-bottom:0}
.master-study-plan--curricula>.master-plan-credits{border-radius:10px}

/* Piano unico: tabella compatta affiancata dai dati reali del percorso. */
.master-program-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:24px;align-items:start}
.master-course-layout .master-study-plan--compact th,.master-course-layout .master-study-plan--compact td{padding:11px 16px;font-size:16px;line-height:1.45}
.master-course-layout .master-study-plan--compact thead th{font-size:12px}
.master-study-plan--compact th:first-child{width:66%}
.master-study-plan--compact td:last-child,.master-study-plan--compact thead th:last-child{width:12%}
.master-course-layout .master-plan-overview{align-self:start;padding:28px}
.master-plan-overview-facts{margin:24px 0 0}
.master-plan-overview-facts>div{padding:16px 0;border-bottom:1px solid rgba(255,255,255,.18)}
.master-plan-overview-facts>div:first-child{padding-top:0}.master-plan-overview-facts>div:last-child{padding-bottom:0;border-bottom:0}
.master-plan-overview-facts dt{font-size:15px;font-weight:400;color:#dceaf3;margin-bottom:5px}
.master-plan-overview-facts dd{font-size:30px;font-weight:700;line-height:1.25;margin:0;color:#fff}
.master-plan-overview-facts dd span{font-size:17px;font-weight:400}
.master-plan-overview-facts dd.master-plan-overview-text{font-size:20px}
.master-area-credits{flex-shrink:0;font-size:15px;white-space:nowrap}
@media(max-width:991px){.master-program-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:575px){.master-course-layout .master-study-plan--compact th,.master-course-layout .master-study-plan--compact td{padding:10px 12px}.master-course-layout .master-plan-overview{padding:22px}.master-plan-overview-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:24px}.master-plan-overview-facts>div{padding:0;border:0}.master-plan-overview-facts dd{font-size:26px}.master-area-credits{font-size:13px}}
.master-plan-overview-heading{display:flex;align-items:center;gap:14px}
.master-course-layout .master-plan-overview-heading .irsaf-panel-icon{display:flex;align-items:center;font-size:32px;line-height:1;color:#a9dff8;flex-shrink:0;margin:0}
.master-course-layout .master-plan-overview-heading h3{margin:0;font-size:25px;line-height:1.25}


/* Un solo rientro laterale per titoli, accordion, tabelle e riepilogo del programma. */
.master-program-grid{--master-program-inset:24px}
.master-course-layout .master-study-plan>.single-program-heading,
.master-course-layout .master-study-plan--compact th,
.master-course-layout .master-study-plan--compact td,
.master-course-layout .master-plan-credits,
.master-course-layout .master-plan-note,
.master-course-layout .master-plan-curriculum,
.master-course-layout .master-plan-overview{padding-inline:var(--master-program-inset)}
.master-course-layout .master-curriculum>summary{padding-left:var(--master-program-inset);padding-right:calc(var(--master-program-inset) + 42px)}
.master-course-layout .master-curriculum>summary::after{right:var(--master-program-inset)}
@media(max-width:767px){.master-program-grid{--master-program-inset:18px}}
.master-course-layout .master-study-plan--compact thead th:last-child,
.master-course-layout .master-study-plan--compact tbody td:last-child{white-space:nowrap}
/* Spazi del testo delle prove: stesso componente per tutti i master. */
.master-course-layout .course-domain-exam>h3{margin-bottom:8px}
.master-course-layout .course-domain-exam+.course-domain-exam{margin-top:14px;padding-top:14px}
.master-course-layout .course-domain-exam dl>div{grid-template-columns:110px minmax(0,1fr);padding-block:6px}
.master-course-layout .course-domain-exam .single-prose p{padding:0;margin:8px 0 0}
@media(max-width:767px){.master-course-layout .course-domain-exam dl>div{grid-template-columns:minmax(0,1fr);gap:2px}}
