/* Un formato compatto, identico nei tre contesti. */
#top .af-request{margin:0;width:100%;box-sizing:border-box;color:#10495c}
#top .af-request > summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;background:#b58f29;color:#fff;font-size:19px;font-weight:700;line-height:1.3;padding:15px 20px;min-height:56px;box-sizing:border-box}
#top .af-request > summary::-webkit-details-marker{display:none}
#top .af-request > summary span{font-size:24px;font-weight:400;line-height:1}
#top .af-request[open] > summary span{transform:rotate(45deg)}
#top .af-request > summary:hover{background:#a68120}
#top .af-request-panel{padding:18px 20px;background:#f8f8f5;border:1px solid #d5dfdc;border-top:0;overflow:visible}
#top .af-request-context{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 8px}
#top .af-request-intro,#top .af-request-note{font-size:12px;line-height:1.5;margin:6px 0 14px}
#top .af-request-note{margin-bottom:0}
#top .af-request-note a{color:#10495c;text-decoration:underline;text-underline-offset:3px}
#top .af-request form{margin:0}
#top .af-request fieldset{margin:0;padding:0;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#top .af-request fieldset > p{width:auto;float:none;margin:0;clear:none;grid-column:1/-1;min-width:0;padding:0}
#top .af-request fieldset > :is(.af-request-name,.af-request-email,.af-request-phone,.af-request-area,.af-request-course){grid-column:auto}
#top .af-request fieldset > .af-request-fixed{display:none}
#top .af-request label{display:block;font-size:12px;font-weight:500;line-height:1.4;margin:0 0 5px;color:#10495c;position:static}
#top .af-request :is(input[type=text],input[type=email],select,textarea){width:100%;min-width:0;min-height:44px;padding:10px 11px;margin:0;box-sizing:border-box;border:1px solid #adbbb9;background:#fff;color:#10495c;font-size:16px;line-height:1.4;border-radius:0}
#top .af-request select:disabled{color:#6d7c7f;background:#eef1ed}
#top .af-request textarea{min-height:78px;resize:vertical}
#top .af-request .af-request-privacy{display:flex;align-items:flex-start;gap:10px;flex-direction:row;justify-content:flex-end}
#top .af-request .af-request-privacy label{font-size:12px;font-weight:400;line-height:1.5;margin:0;cursor:pointer;flex:1}
#top .af-request input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:#10495c}
#top .af-request input[type=submit]{padding:14px 20px;min-height:52px;margin:0;width:auto;max-width:100%;display:inline-block;justify-self:start;font-size:17px;font-weight:700;line-height:1.3;background:#10495c;color:#fff;border:0;border-radius:0;cursor:pointer}
#top .af-request .ajaxresponse{margin:12px 0 0}
#top .af-request .avia-form-success{font-size:17px;line-height:1.5;padding:14px;background:#edf3ed;color:#10495c}
#top .af-request .av-form-error-container{grid-column:1/-1;padding:12px;background:#fff2ee;color:#7b251a;line-height:1.5}
#top .af-request fieldset .hidden{display:none}
#top .af-request-slot .content{padding-top:24px;padding-bottom:24px}
#top .af-request-slot .av-special-heading{margin-top:0;margin-bottom:12px}
#top .af-next-step .af-request{clear:both}
#top .af-next-step .af-request .af-request-panel :is(p,a,label){color:#10495c}
#top .af-next-step .af-request .af-request-panel .avia_textblock{color:#10495c}
@media(max-width:599px){
#top .af-request-panel{padding:14px}
#top .af-request fieldset{grid-template-columns:minmax(0,1fr);gap:10px}
#top .af-request > summary{padding:14px 16px}
#top .af-request-slot .content{padding-top:20px;padding-bottom:20px}
}

#top .af-contact-enrollment{margin-bottom:24px}
#top .af-sheet-body .af-sheet-action .avia_textblock{max-width:none}
#top .af-sheet-body .af-sheet-action .avia_textblock > p:empty{display:none}
#top .af-request fieldset label.textare_label.hidden{display:block;position:static;visibility:visible;width:auto;height:auto}
#top .af-request-source-links{font-size:12px;line-height:1.5;margin:6px 0 14px}
#top .af-request-source-links a{color:#10495c;text-decoration:underline;text-underline-offset:3px}

/* Accessi contestuali: un modulo soltanto, più punti di ingresso. */
#top .af-enrollment-cta .avia-button{background:#b58f29;color:#fff;font-size:19px;font-weight:700;line-height:1.3;border:0}
#top .af-enrollment-cta .avia-button:hover{background:#a68120}
#top.af-sector-page .af-page-intro .af-button{display:inline-block;float:none;vertical-align:top;margin:8px 10px 4px 0}
#top.af-sector-page .af-page-intro .af-button .avia-button{width:254px;max-width:100%;min-height:58px;font-size:19px;font-weight:700;line-height:1.3;padding:16px 20px}
#top .af-sector-request .af-request > summary{width:fit-content;max-width:100%;min-width:min(254px,100%)}
#top .af-sector-request .af-request-panel{max-width:760px;margin-top:12px;border-top:1px solid #d5dfdc}
#top .af-course-card .af-card-actions{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
#top .af-course-card .af-card-actions a{font-size:15px;line-height:1.45;min-height:32px;display:inline-flex;align-items:center;gap:4px}
#top .af-course-card .af-card-actions a:last-child{margin-left:auto}
#top .af-enrollment-mid .af-button{margin:0}
#top .af-enrollment-mid .content{padding-top:14px;padding-bottom:14px}
@media(max-width:767px){
#top.af-sector-page .af-page-intro .af-button{max-width:100%;margin-right:0}
#top .af-enrollment-cta .avia-button{max-width:100%;white-space:normal}
}

/* Identità del percorso in evidenza nel modulo, senza duplicare informazioni. */
#top .af-request[data-model="course"] .af-request-context{display:flex;align-items:center;flex-wrap:nowrap;gap:10px 16px;margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #d4dcd8}
#top .af-request-course-title{font-size:28px;font-weight:700;line-height:1.18;letter-spacing:-.5px;color:#10495c}
#top .af-request-duration{display:inline-block;flex-shrink:0;padding:7px 12px;background:#f3e8c8;border:1px solid #b58f29;color:#10495c;font-size:20px;font-weight:700;line-height:1.2;white-space:nowrap}
@media(max-width:599px){#top .af-request-course-title{font-size:24px}#top .af-request-duration{font-size:18px;padding:6px 10px}}

#top .af-request-identity{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;min-width:0;flex:1}
#top .af-request-course-photo{display:block;flex:0 0 auto;width:180px;max-width:30%;height:auto;max-height:120px;object-fit:contain;border-radius:4px}
@media(max-width:599px){#top .af-request-course-photo{width:88px;max-width:28%;max-height:88px}#top .af-request[data-model="course"] .af-request-context{gap:12px}#top .af-request-identity{gap:9px}}
