/* Hallmark · researched funding routes · P5 H5 E5 S5 R5 V4 */
.em-home-scholarships{padding-bottom:var(--space-xl)}
.em-scholarship-pathways{padding-block:var(--space-xl);border-top:3px solid var(--color-accent);scroll-margin-top:calc(var(--header-height) + var(--space-md))}
.em-scholarship-heading{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:end;gap:var(--space-xl);margin-bottom:var(--space-lg)}
body.edumax-landing .em-scholarship-heading h2{font:750 clamp(2rem,3.5vw,3.2rem)/1.12 var(--font-display);letter-spacing:-.055em;max-width:21ch;margin:0;color:var(--color-ink)}
.em-scholarship-heading .em-eyebrow{font-size:.7rem;margin:0 0 var(--space-md);color:var(--color-accent)}
body.edumax-landing .em-scholarship-heading>p{font-size:var(--text-sm);line-height:1.7;max-width:45ch;margin:0;color:var(--color-muted)}
.em-scholarship-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-md)}
.em-scholarship-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:clamp(1.2rem,2.5vw,2rem);border:1px solid var(--color-rule);border-radius:var(--radius-card);background:var(--color-paper);transition:border-color .25s,box-shadow .25s}
.em-scholarship-card:hover{border-color:var(--color-accent);box-shadow:var(--shadow-photo)}
.em-scholarship-card-top{display:flex;align-items:center;gap:.6rem;font-size:.65rem;letter-spacing:.04em;text-transform:uppercase;font-weight:700;color:var(--color-muted);margin-bottom:var(--space-md);flex-wrap:wrap}
.em-scholarship-card-top>span:first-child{display:grid;place-items:center;width:34px;height:34px;flex:none}
.em-scholarship-card-top img,.em-funding-flag img{width:100%;height:100%;display:block;object-fit:contain;margin:0}
.em-scholarship-tag{display:flex;align-items:center;gap:.35rem;margin-left:auto;font-size:.6rem;letter-spacing:0;text-transform:none;font-weight:500}.em-scholarship-tag svg{width:1rem;height:1rem;flex:none;color:var(--color-accent)}
body.edumax-landing .em-scholarship-card h3{font:750 clamp(1.25rem,2vw,1.8rem)/1.22 var(--font-display);letter-spacing:-.04em;color:var(--color-ink);margin:0 0 .65rem;max-width:28ch;overflow-wrap:anywhere}
body.edumax-landing .em-scholarship-card>p{font-size:.8rem;line-height:1.6;color:var(--color-muted);margin:0 0 var(--space-md);max-width:55ch}
body.edumax-landing .em-scholarship-checks{display:grid;gap:.4rem;list-style:none;padding:0;margin:0 0 var(--space-lg);max-width:none;width:100%;font-size:.75rem;line-height:1.5}
.em-scholarship-checks li{display:flex;align-items:baseline;gap:.5rem;margin:0}.em-scholarship-checks svg{width:.85rem;height:.85rem;color:var(--color-accent);flex:none;align-self:center}
.em-scholarship-card-bottom{margin-top:auto;padding-top:var(--space-sm);border-top:1px solid var(--color-rule);display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
body.edumax-landing .em-scholarship-action{display:inline-flex;align-items:center;gap:.5rem;min-height:44px;font-size:.75rem;font-weight:700;color:var(--color-accent);text-decoration:none;white-space:nowrap}.em-scholarship-action svg{width:1rem;height:1rem;flex:none}
body.edumax-landing .em-scholarship-official{display:inline-flex;align-items:center;gap:.25rem;min-height:44px;font-size:.65rem;color:var(--color-muted);white-space:nowrap;text-underline-offset:4px}.em-scholarship-official svg{width:.75rem;height:.75rem}
body.edumax-landing .em-scholarship-note{font-size:.7rem;color:var(--color-muted);margin:var(--space-md) 0 0;max-width:90ch}
.em-funding-banner{display:flex;align-items:center;gap:var(--space-lg);padding:var(--space-lg);margin-bottom:var(--space-xl);border:1px solid var(--color-rule);border-left:4px solid var(--color-accent);border-radius:var(--radius-card);background:var(--color-surface)}
.em-funding-flag{display:grid;place-items:center;width:48px;height:48px;flex:none;background:var(--color-paper);border-radius:50%;font-size:1.7rem}
.em-funding-banner>div{flex:1;min-width:0}body.edumax-landing .em-funding-banner h2{font:750 clamp(1.25rem,2.3vw,1.8rem)/1.3 var(--font-display);letter-spacing:-.04em;color:var(--color-ink);margin:0 0 .5rem}
body.edumax-landing .em-funding-banner p{font-size:.75rem;line-height:1.6;margin:0}body.edumax-landing .em-funding-banner .em-eyebrow{font-size:.625rem;color:var(--color-accent);margin-bottom:.4rem}
.em-funding-banner>a{display:inline-flex;align-items:center;gap:.4rem;white-space:nowrap;font-size:.75rem;font-weight:700;flex:none}.em-funding-banner>a svg{width:1rem;height:1rem;flex:none}
.em-scholarship-pathways :is(a,summary):focus-visible,.em-funding-banner a:focus-visible{outline:3px solid var(--color-focus);outline-offset:4px}
@media(max-width:1023px){.em-scholarship-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.em-funding-banner{flex-wrap:wrap}.em-funding-banner>a{margin-left:calc(48px + var(--space-lg))}}
@media(max-width:767px){.em-scholarship-heading{grid-template-columns:minmax(0,1fr);gap:var(--space-sm)}.em-scholarship-grid{grid-template-columns:minmax(0,1fr)}.em-scholarship-card{padding:var(--space-md)}body.edumax-landing .em-scholarship-card h3{font-size:1.3rem}.em-funding-banner{padding:var(--space-md);gap:var(--space-sm)}.em-funding-banner>a{margin-left:0}}
.em-destination-flag-gallery{display:grid;place-items:center;background:var(--color-dark)}.em-destination-flag-gallery>span:first-child{font-size:5rem;line-height:1}

@media(max-width:767px){.em-scholarship-tag{margin-left:0;flex-basis:100%}.em-scholarship-card-top{row-gap:.5rem}}
@media(prefers-reduced-motion:reduce){.em-scholarship-card{transition:none}}

.em-destination-flag-gallery>span:first-child img{position:static;display:block;width:80px;height:80px;object-fit:contain;transform:none;opacity:1}

/* Keep scholarship copy readable beside its icon on narrow screens. */
@media(max-width:767px){.em-funding-banner{display:grid;grid-template-columns:48px minmax(0,1fr);align-items:start}.em-funding-banner>a{grid-column:2;white-space:normal;margin-left:0}}
