/* FSL and ESL only — matched to the established live FSL presentation. */
.emf-page { overflow: hidden; background: #fff; --em-blue: #112a72; }
.emf-shell { width: min(var(--em-width), calc(100% - 44px)); margin-inline: auto; }
.emf-hero { height: var(--em-hero-height); min-height: var(--em-hero-height); display: grid; place-items: center; padding: 50px 0; background: linear-gradient(rgba(4,30,63,.12), rgba(4,30,63,.18)), var(--emf-hero) center/cover no-repeat; color: #fff; text-align: center; }
.emf-kicker { display: inline-block; margin-bottom: 10px; color: #fff; font-size: 13px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.emf-hero h1 { margin: 0; color: #fff; font-size: clamp(50px, 7vw, 82px); line-height: 1.03; text-shadow: 0 4px 16px rgba(0,0,0,.35); }
.emf-hero p { max-width: 680px; margin: 14px auto 0; color: #fff; font-size: 18px; }
.emf-content { margin-top: -24px; padding: 24px 0 70px; background: #fff; }
.emf-heading { margin-bottom: 22px; text-align: left; }
.emf-heading h2 { margin: 0 0 12px; color: var(--em-blue); font-size: 34px; line-height: 1.15; }
.emf-heading h2::after { display: none; }
.emf-heading p { max-width: 820px; margin: 0; color: #172d68; line-height: 1.55; }
.emf-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.emf-course { position: relative; appearance: none; width: 100%; min-width: 0; min-height: 210px; display: block; padding: 20px 21px; border: 1px solid #dfe5ed; border-radius: 13px; background: #fff; color: var(--em-blue); box-shadow: 0 8px 23px rgba(12,39,79,.06); font: inherit; text-align: left; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.emf-course:hover,.emf-course:focus-visible { transform: translateY(-4px); border-color: #aebbd2; box-shadow: 0 14px 30px rgba(12,39,79,.12); outline: none; }
.emf-course-copy { display: block; }
.emf-course-copy > strong { display: block; max-width: calc(100% - 36px); margin: 2px 0 9px; color: var(--em-blue); font-size: 18px; line-height: 1.25; }
.emf-course-copy > span { display: block; color: var(--em-blue); font-size: 12px; font-weight: 750; }
.emf-course-copy > span i { display: inline-block; width: 2px; height: 14px; margin: 0 9px; background: var(--em-red); vertical-align: middle; }
.emf-method { display: flex !important; align-items: center; gap: 6px; margin-top: 9px; color: var(--em-blue) !important; font-size: 12px; }
.emf-method svg { flex: 0 0 17px; width: 17px; height: 17px; fill: none; stroke: var(--em-red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.emf-course-copy p { margin: 12px 0 0; color: #243a70; font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.emf-view-details { margin-top: 9px; color: var(--em-red) !important; font-weight: 850 !important; }
.emf-card-plus { position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid rgba(226,37,45,.35); border-radius: 50%; background: #fff; color: var(--em-red); font-size: 18px; line-height: 1; transition: transform .24s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.emf-course:hover .emf-card-plus,.emf-course:focus-visible .emf-card-plus { transform: rotate(90deg) scale(1.08); background: var(--em-red); color: #fff; box-shadow: 0 7px 16px rgba(226,37,45,.24); }
.emf-dialog { width: min(920px, calc(100% - 34px)); padding: 0; border: 0; border-radius: 17px; box-shadow: 0 25px 70px rgba(4,25,54,.32); color: var(--em-ink); }
.emf-dialog::backdrop { background: rgba(4,25,54,.68); backdrop-filter: blur(3px); }
.emf-close { position: absolute; right: 16px; top: 12px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eef2f6; color: var(--em-navy); font-size: 25px; cursor: pointer; }
.emf-dialog-head { display: flex; align-items: center; gap: 17px; padding: 28px 62px 22px 28px; border-bottom: 1px solid #e5e9ef; }
.emf-dialog-head > span { width: 60px; height: 60px; display: grid; place-items: center; flex: none; border-radius: 10px; background: var(--em-blue); color: #fff; font-weight: 850; }
.emf-dialog-head small { color: var(--em-red); font-weight: 800; text-transform: uppercase; }
.emf-dialog-head h2 { margin: 3px 0 0; color: var(--em-blue); font-size: 30px; }
.emf-dialog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 28px; }
.emf-dialog-grid section { padding: 0 24px; border-right: 1px solid #e2e7ed; }
.emf-dialog-grid section:first-child { padding-left: 0; }
.emf-dialog-grid section:last-child { padding-right: 0; border-right: 0; }
.emf-dialog-grid h3 { margin: 0 0 12px; color: var(--em-blue); font-size: 17px; }
.emf-dialog-grid p { margin: 0; color: #435264; font-size: 14px; line-height: 1.65; white-space: pre-line; }
@media (max-width: 980px) { .emf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .emf-course { min-height: 210px; } .emf-dialog-grid { grid-template-columns: 1fr; } .emf-dialog-grid section { padding: 18px 0; border-right: 0; border-bottom: 1px solid #e2e7ed; } .emf-dialog-grid section:last-child { border-bottom: 0; } }
@media (max-width: 680px) { .emf-shell { width: min(var(--em-width), calc(100% - 28px)); } .emf-hero { height: var(--em-hero-height); min-height: var(--em-hero-height); padding: 44px 0; } .emf-hero p { font-size: 16px; } .emf-content { padding-bottom: 52px; } .emf-grid { grid-template-columns: 1fr; } .emf-course { min-height: 0; } .emf-dialog-head h2 { font-size: 24px; } }
