/* Course colours follow BMC's supplied 2027 artwork, with the site's typography. */
.course-identity{background:var(--course-colour);color:#fffaf0;min-height:236px;padding:23px 28px 20px;display:flex;flex-direction:column;justify-content:space-between;gap:23px;position:relative;isolation:isolate;overflow:hidden}
.course-identity::after{content:"";position:absolute;width:220px;height:220px;border:1px solid #fffaf016;transform:rotate(45deg);right:-112px;top:38px;z-index:-1}
.course-identity-top{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #dfc99580;padding-top:12px;font-family:var(--sans);font-size:9px;line-height:1.5;letter-spacing:.08em;text-transform:uppercase}
.course-identity-label{font-weight:600;text-align:right}
.course-identity-title{display:block;font-family:var(--serif);font-size:clamp(31px,3.2vw,43px);font-weight:400;line-height:1.08;letter-spacing:-.02em;max-width:95%}
.course-identity-bottom{display:flex;align-items:center;justify-content:space-between;font-size:10px;letter-spacing:.04em;line-height:1.5;color:#fffaf0d9}
.course-identity-bottom::before{content:"";width:26px;height:2px;background:#dfc995;margin-right:10px}.course-identity-bottom>span:first-child{margin-right:auto}
.course>a:first-child{display:block}.course a:focus-visible{outline:3px solid #94712c;outline-offset:4px}.course{transition:box-shadow .2s ease}.course:hover{box-shadow:0 8px 28px #14243d12}.cards .course-identity{min-height:226px;padding:22px}.cards .course-identity-top{font-size:8px}.cards .course-identity-title{font-size:34px}.cards .course-identity-top>span:first-child{max-width:140px}
.diploma-summary>.course-identity{min-height:245px;border-radius:0}.diploma-summary>.course-identity .course-identity-top{padding:12px 0 0}.diploma-summary>.course-identity .course-identity-bottom{padding:0}.diploma-summary>.course-identity .course-identity-title{font-size:39px}
.student-stories .course-event>.course-identity{margin:0 0 28px;min-height:225px}.course-event{overflow:hidden}
@media(max-width:680px){.course-identity,.cards .course-identity{min-height:222px;padding:22px 24px;gap:22px}.course-identity-title,.cards .course-identity-title{font-size:35px}.course-identity-top{font-size:8px}.diploma-summary>.course-identity .course-identity-title{font-size:35px}}
@media(prefers-reduced-motion:reduce){.course{transition:none}}

/* Keep the flagship programme close to the other 2027 courses. */
#current-options{padding-bottom:36px}
#diplomas{padding-top:42px;border-top:3px solid var(--gold)}
#diplomas .sectiontop h2{max-width:690px}
@media(max-width:640px){#current-options{padding-bottom:28px}#diplomas{padding-top:30px}}
