/* Education Malta V115 — editorial information architecture.
 * Loaded after legacy page CSS. Homepage and site-wide navigation intentionally untouched.
 */
:root{--em115-red:#B51221;--em115-navy:#10263b;--em115-muted:#5c6d7b;--em115-line:#dce3e8;--em115-paper:#f8f5f0}
body.ep-edition{background:#fff!important;color:var(--em115-navy);font-synthesis:none}
body.ep-edition #main{overflow:clip}
body.ep-edition .ep-width{width:min(1320px,calc(100% - 80px))!important;max-width:1320px!important}
body.ep-edition .ep-lead-section{padding:102px 0 0!important;background:#fff!important}
body.ep-edition .ep-breadcrumb{font:500 12px/1.4 Lato,Arial,sans-serif!important;margin:0 0 18px!important;padding:0 0 18px!important;border-bottom:1px solid var(--em115-line);color:#607081!important}
body.ep-edition .ep-breadcrumb a{font-weight:600;color:#395469!important}
body.ep-edition .ep-feature-grid{display:block!important;border:0!important;overflow:visible!important;background:transparent!important}
body.ep-edition .ep-feature{border:0!important;border-radius:0!important;box-shadow:none!important;min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr)!important;gap:clamp(32px,5vw,86px)!important;align-items:center!important;text-decoration:none!important;background:transparent!important;color:var(--em115-navy)!important;padding:22px 0 50px!important}
body.ep-edition .ep-feature>img{position:relative!important;inset:auto!important;order:2!important;width:100%!important;height:clamp(310px,29vw,430px)!important;margin:0!important;object-fit:cover!important;object-position:center!important;border-radius:3px!important;box-shadow:none!important;filter:saturate(.9)!important}
body.ep-edition .ep-feature-copy{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;order:1!important;padding:10px 0!important;align-items:flex-start!important;gap:18px!important;text-align:left!important;display:flex!important;flex-direction:column!important}
body.ep-edition .ep-feature-topic{font:700 12px/1.4 Lato,Arial,sans-serif!important;letter-spacing:.13em!important;color:var(--em115-red)!important}
body.ep-edition .ep-feature h1{font:500 clamp(42px,4.5vw,76px)/1.04 Georgia,'Times New Roman',serif!important;letter-spacing:-.04em!important;overflow-wrap:normal!important;hyphens:none!important;margin:0!important;max-width:820px!important;color:var(--em115-navy)!important;text-wrap:balance}
body.ep-edition .ep-feature p{font:400 clamp(16px,1.35vw,19px)/1.68 Lato,Arial,sans-serif!important;color:#506578!important;margin:0!important;max-width:620px!important}
body.ep-edition .ep-feature-cta{display:none!important}
body.ep-edition .ep-feature-shade{display:none!important}
body.ep-edition .ep-photo-note{display:none!important}
body.ep-edition .ep-body{background:#fff!important;padding:10px 0 110px!important}
body.ep-edition .ep-body-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 285px!important;gap:clamp(48px,5vw,88px)!important;align-items:start!important}
body.ep-edition .ep-body-main{min-width:0!important}
body.ep-edition .ep-body-main>.student-facts>.fact-hero,body.ep-edition .ep-body-main .fact-photo-credit{display:none!important}
body.ep-edition .ep-body-main .student-facts{margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.ep-edition .ep-body-main .student-facts>p:first-of-type{font:400 18px/1.7 Lato,Arial,sans-serif!important;max-width:72ch;color:#4d5d6e;margin:3px 0 28px!important}
body.ep-edition .ep-body-main .student-facts>p:first-of-type strong{font:700 20px/1.5 Lato,Arial,sans-serif;color:var(--em115-navy)}
body.ep-edition .ep-body-main .student-facts>p:last-child.em115-generic-copy{display:none!important}
body.ep-edition .ep-body-main h2{font:600 clamp(27px,2.4vw,38px)/1.18 Georgia,'Times New Roman',serif!important;letter-spacing:-.038em!important;color:var(--em115-navy)!important;margin:35px 0 18px!important}
body.ep-edition .ep-body-main h3{font:700 clamp(18px,1.65vw,23px)/1.32 Lato,Arial,sans-serif!important;letter-spacing:-.018em!important;color:var(--em115-navy)!important;margin:30px 0 15px!important}
body.ep-edition .ep-body-main p,body.ep-edition .ep-body-main li{font-family:Lato,Arial,sans-serif;line-height:1.72}
body.ep-edition .ep-body-main a:focus-visible{outline:3px solid var(--em115-red);outline-offset:3px}
/* Existing step lists were being double-counted by older competing styles. */
body.ep-edition .student-facts ol.guide-steps{display:grid!important;list-style:none!important;counter-reset:none!important;gap:0!important;margin:24px 0 38px!important;padding:0!important;border-top:1px solid var(--em115-line)!important}
body.ep-edition .student-facts ol.guide-steps>li{display:block!important;position:relative!important;counter-increment:none!important;margin:0!important;padding:22px 18px 23px 58px!important;border:0!important;border-bottom:1px solid var(--em115-line)!important;background:transparent!important;font:400 16px/1.65 Lato,Arial,sans-serif!important;color:#2f4357!important}
body.ep-edition .student-facts ol.guide-steps>li::before{content:attr(data-em115-step)!important;counter-increment:none!important;position:absolute!important;left:0!important;top:21px!important;width:35px!important;height:35px!important;border-radius:5px!important;display:grid!important;place-items:center!important;background:#f3e6e6!important;color:var(--em115-red)!important;font:700 12px Lato,Arial,sans-serif!important;box-shadow:none!important}
body.ep-edition .student-facts .source-list{padding:5px 0!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;margin:6px 0 27px!important;border:0!important}
body.ep-edition .student-facts .source-list li{list-style:none!important;padding:0!important;border:0!important}
body.ep-edition .student-facts .source-list a{display:inline-flex;padding:11px 14px;border:1px solid #d9e2e9;border-radius:4px;background:#fafcfd;font:700 13px Lato,Arial,sans-serif!important;color:#17364b!important;text-decoration:none!important}
body.ep-edition .student-facts .source-list a:hover{border-color:var(--em115-red);color:var(--em115-red)!important}
body.ep-edition .ep-body-main .em-editorial-explainer{padding:22px 0 0!important;margin:55px 0 36px!important;border-top:1px solid #dce3e8!important}
body.ep-edition .ep-body-main .em-bulletin-notes{gap:17px!important}
body.ep-edition .ep-body-main .em-bulletin-notes article{background:#f5f7f8!important;border:0!important;border-top:3px solid var(--em115-red)!important;border-radius:0!important;padding:22px!important}
body.ep-edition .ep-body-main .em-bulletin-notes h3{font:700 19px/1.3 Lato,Arial,sans-serif!important;margin:0 0 8px!important}
body.ep-edition .ep-body-main .em-bulletin-notes p{font:400 15px/1.68 Lato,Arial,sans-serif!important}
body.ep-edition .ep-body-main .em-checklist{background:#faf4f1!important;border:0!important;border-left:3px solid var(--em115-red)!important;border-radius:0!important;padding:24px 28px!important}
body.ep-edition .ep-body-main .em-checklist h3{margin:0 0 10px!important}
body.ep-edition .ep-body-main .em-related-news,body.ep-edition .ep-body-main .related{margin-top:55px!important;padding-top:26px!important;border-top:1px solid var(--em115-line)!important}
body.ep-edition .ep-rail{position:sticky!important;top:112px!important}
body.ep-edition .ep-rail-panel{background:#fff!important;border:1px solid var(--em115-line)!important;border-top:4px solid var(--em115-red)!important;border-radius:0!important;padding:24px!important;box-shadow:none!important}
body.ep-edition .ep-rail-title{font:700 17px/1.35 Lato,Arial,sans-serif!important;color:var(--em115-navy)!important;margin:0 0 16px!important}
body.ep-edition .ep-rail-topic{display:block!important;padding:12px 0!important;border-bottom:1px solid #e6eaf0!important;color:#314b60!important;font:600 14px/1.5 Lato,Arial,sans-serif!important}
body.ep-edition .ep-rail-topic:last-child{border-bottom:0!important}
body.ep-edition .ep-rail-note{padding:20px!important;font:400 13px/1.7 Lato,Arial,sans-serif!important;color:#5d6a77!important;background:#f8f9fa!important;border-left:0!important}
body.ep-edition .ep-rail-note strong{display:block;margin-bottom:8px;color:#253a4f;font-weight:700}
/* Contextual jump links provide actual useful navigation, not decorative micro-labels */
body.ep-edition .em115-topic-nav{display:flex;flex-wrap:wrap;gap:0;margin:6px 0 26px!important;border-top:1px solid var(--em115-line);border-bottom:1px solid var(--em115-line);padding:0!important}
body.ep-edition .em115-topic-nav a{padding:15px 23px 15px 0;margin-right:23px;text-decoration:none!important;font:700 13px/1.5 Lato,Arial,sans-serif!important;color:#2c4456!important}
body.ep-edition .em115-topic-nav a:hover{color:var(--em115-red)!important}
/* A-Z is a practical searchable glossary, not a generic step-by-step checklist. */
body.em115-az .ep-feature{grid-template-columns:minmax(0,1fr) minmax(300px,.65fr)!important;padding-bottom:54px!important}
body.em115-az .ep-feature>img{display:none!important}
body.em115-az .em115-az-cover{order:2;display:flex;flex-direction:column;justify-content:space-between;min-height:330px;padding:35px;background:var(--em115-red);color:white;overflow:hidden;position:relative}
body.em115-az .em115-az-cover strong{font:400 clamp(90px,13vw,196px)/.9 Georgia,'Times New Roman',serif;letter-spacing:-.13em;z-index:1}
body.em115-az .em115-az-cover span{font:600 13px/1.5 Lato,Arial,sans-serif;letter-spacing:.06em;max-width:280px;z-index:1}
body.em115-az .em115-az-cover:after{content:'';position:absolute;right:-100px;top:-100px;border:1px solid #ffffff38;border-radius:50%;width:410px;height:410px;box-shadow:0 0 0 95px #ffffff0b}
body.em115-az .ep-body-grid{grid-template-columns:1fr!important}
body.em115-az .ep-rail{display:none!important}
body.em115-az .em115-glossary-head{display:grid;grid-template-columns:1fr 300px;gap:24px;align-items:end;margin-bottom:20px}
body.em115-az .em115-glossary-head h2{margin:0!important}
body.em115-az .em115-glossary-head p{margin:7px 0 0;color:#66788b}
body.em115-az .em115-glossary-input{width:100%;height:50px;border:1px solid #cbd6df;border-radius:5px;padding:0 16px;font:500 14px Lato,Arial,sans-serif;color:var(--em115-navy);background:#fff}
body.em115-az .em115-glossary-input:focus{outline:2px solid var(--em115-red);outline-offset:1px}
body.em115-az .em115-glossary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--em115-line);border:1px solid var(--em115-line);margin:26px 0 38px}
body.em115-az .em115-term{min-height:165px;background:white;padding:25px 25px 27px}
body.em115-az .em115-term dt{font:600 27px/1.15 Georgia,'Times New Roman',serif;letter-spacing:-.04em;margin:0 0 14px;color:var(--em115-red)}
body.em115-az .em115-term dd{font:400 15px/1.62 Lato,Arial,sans-serif;color:#394f60;margin:0}
body.em115-az .em115-term[hidden]{display:none!important}
body.em115-az .em115-glossary-count{font:500 12px Lato,Arial,sans-serif;color:#718091;margin-top:9px}
body.em115-az .student-facts>p:first-of-type,body.em115-az .student-facts>ol.guide-steps{display:none!important}
/* Directories give actual listings priority and reduce oversized generic hero slabs. */
body.em107-type-directory:not(.em115-az) .ep-feature{grid-template-columns:minmax(0,1fr) minmax(0,.7fr)!important}
body.em107-type-directory:not(.em115-az) .ep-feature>img{height:clamp(270px,27vw,375px)!important}
body.em107-type-directory .ep-body{padding-top:16px!important}
body.em107-type-directory .directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body.em107-type-directory .directory-card{background:#fff;border:1px solid var(--em115-line)!important;border-radius:2px!important;padding:26px!important;box-shadow:none!important}
body.em107-type-directory .directory-card h3{margin:0 0 10px!important}
/* Profiles use a wide, editorial campus feature with a separate written introduction. */
body.em107-type-profile .ep-feature{display:block!important;padding:0 0 45px!important}
body.em107-type-profile .ep-feature>img{display:block!important;position:relative!important;width:100%!important;height:clamp(350px,36vw,540px)!important;object-fit:cover!important;inset:auto!important;order:initial!important}
body.em107-type-profile .ep-feature-copy{padding:28px 0 0!important;width:min(900px,100%)!important;order:initial!important}
body.em107-type-profile .ep-feature h1{font-size:clamp(40px,4.1vw,68px)!important}
/* Reading guides have narrower type; news articles are especially quiet. */
body.em107-type-guide .ep-body-grid{grid-template-columns:minmax(0,810px) minmax(220px,280px)!important;justify-content:space-between!important}
body.em107-type-guide .ep-feature{grid-template-columns:minmax(0,1.05fr) minmax(0,.82fr)!important}
body.em107-layout-life .ep-feature>img{height:470px!important;object-position:50% 55%!important}
body.em107-layout-reference .ep-feature{background:#faf7f3!important;padding:45px!important;gap:42px!important}
body.em107-layout-reference .ep-feature>img{height:290px!important}
body.em107-layout-explainer .ep-feature{grid-template-columns:minmax(0,1fr) minmax(0,.73fr)!important}
body.em107-type-utility .ep-feature{grid-template-columns:1fr!important;max-width:900px;padding-bottom:18px!important}
body.em107-type-utility .ep-feature>img{display:none!important}
body.em107-type-utility .ep-body-grid{grid-template-columns:minmax(0,900px)!important;justify-content:center!important}
body.em107-type-utility .ep-rail{display:none!important}
body.em107-type-newsroom .ep-feature{display:block!important;padding:0!important;border-radius:0!important}
body.em107-type-newsroom .ep-feature>img{height:460px!important;position:relative!important;width:100%!important}
body.em107-type-newsroom .ep-feature-copy{width:min(850px,100%)!important;padding:35px 0!important}
body.em107-type-newsroom .ep-lead-sidebar{display:none!important}
body.em107-type-newsroom .ep-body-grid{grid-template-columns:1fr!important}
body.em107-type-newsroom .ep-rail{display:none!important}
body.em107-type-article .ep-feature{display:block!important;padding:0!important}
body.em107-type-article .ep-feature>img{width:100%!important;height:min(58vw,600px)!important;position:relative!important;object-fit:cover!important}
body.em107-type-article .ep-feature-copy{width:min(820px,100%)!important;margin:0 auto!important;padding:20px 0 34px!important}
body.em107-type-article .ep-feature h1{text-align:center;font-size:clamp(42px,4.8vw,72px)!important}
body.em107-type-article .ep-body-grid{grid-template-columns:minmax(0,820px)!important;justify-content:center!important}
body.em107-type-article .ep-rail{display:none!important}
/* Hide repeated generic, off-purpose actions while preserving sources and substantive information. */
body.ep-edition .em115-generic-copy{display:none!important}
body.ep-edition .ep-body-main .related-grid a span[aria-hidden=true]{display:none!important}
body.ep-edition .ep-body-main .em-section-heading a{font:600 13px Lato,Arial,sans-serif!important}
@media(max-width:1050px){
 body.ep-edition .ep-width{width:calc(100% - 46px)!important}
 body.ep-edition .ep-body-grid,body.em107-type-guide .ep-body-grid{grid-template-columns:minmax(0,1fr) 235px!important;gap:26px!important}
 body.em115-az .em115-glossary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ep-edition .ep-feature{gap:28px!important}
}
@media(max-width:760px){
 body.ep-edition .ep-width{width:calc(100% - 30px)!important}
 body.ep-edition .ep-lead-section{padding:94px 0 0!important}
 body.ep-edition .ep-feature,body.em107-type-directory .ep-feature,body.em107-type-guide .ep-feature,body.em107-type-profile .ep-feature,body.em107-layout-reference .ep-feature{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:14px!important;padding:15px 0 30px!important;min-height:0!important}
 body.ep-edition .ep-feature-copy,body.em107-type-profile .ep-feature-copy{order:1!important;gap:12px!important;padding:8px 0 10px!important}
 body.ep-edition .ep-feature>img,body.em107-type-profile .ep-feature>img,body.em107-layout-life .ep-feature>img,body.em107-layout-reference .ep-feature>img{order:2!important;width:100%!important;height:clamp(215px,54vw,360px)!important;border-radius:3px!important;margin:0!important}
 body.ep-edition .ep-feature h1{font-size:clamp(39px,8vw,56px)!important;line-height:1.06!important}
 body.ep-edition .ep-feature p{font-size:15px!important;line-height:1.57!important}
 body.ep-edition .ep-body-grid,body.em107-type-guide .ep-body-grid,body.em107-type-directory .ep-body-grid,body.em107-type-profile .ep-body-grid,body.em107-type-newsroom .ep-body-grid{display:block!important}
 body.ep-edition .ep-rail{position:static!important;margin:36px 0 0!important}
 body.ep-edition .ep-body{padding:15px 0 70px!important}
 body.ep-edition .em115-topic-nav{overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none;white-space:nowrap}
 body.ep-edition .em115-topic-nav a{font-size:12px!important;flex:none;margin-right:15px;padding-right:8px}
 body.ep-edition .student-facts ol.guide-steps>li{padding:17px 0 17px 49px!important;font-size:15px!important}
 body.ep-edition .student-facts ol.guide-steps>li::before{top:17px!important;width:32px!important;height:32px!important}
 body.em115-az .em115-az-cover{order:2!important;min-height:230px!important;padding:25px!important}
 body.em115-az .em115-az-cover strong{font-size:110px}
 body.em115-az .em115-glossary-head{display:block!important}
 body.em115-az .em115-glossary-input{margin-top:15px}
 body.em115-az .em115-glossary-grid{grid-template-columns:1fr 1fr}
 body.em115-az .em115-term{padding:18px;min-height:145px}
 body.em115-az .em115-term dt{font-size:23px}
 body.em115-az .em115-term dd{font-size:14px}
 body.em107-type-directory .directory-grid{grid-template-columns:1fr!important}
 body.em107-type-article .ep-feature>img{order:2!important;height:260px!important}
 body.em107-type-article .ep-feature h1{text-align:left!important}
}
@media(max-width:480px){
 body.ep-edition .ep-width{width:calc(100% - 26px)!important}
 body.ep-edition .ep-feature h1{font-size:clamp(34px,9.5vw,46px)!important;word-break:normal}
 body.ep-edition .ep-feature-topic{font-size:10px!important}
 body.em115-az .em115-glossary-grid{grid-template-columns:1fr}
 body.em115-az .em115-term{min-height:0}
 body.ep-edition .ep-body-main .em-bulletin-notes{grid-template-columns:1fr!important}
 body.ep-edition .ep-rail-panel{padding:18px!important}
 body.em107-type-newsroom .ep-feature>img{height:245px!important}
 body.ep-edition .ep-body-main .em-news-archive-list{grid-template-columns:1fr!important}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}

/* Meaningful headings are enough: remove legacy decorative eyebrows. */
body.ep-edition .ep-feature-topic{display:none!important}
