.ed-credentials{border-left:4px solid var(--blue);padding:4px 0 4px 20px;margin:22px 0 30px}.ed-credentials p{margin:0 0 6px}.ed-credentials p:last-child{font-size:17px;margin:0}.exam-hero{padding-block:55px 75px}.exams-page h1{max-width:100%;font-size:clamp(50px,7vw,98px)}.exam-hero p{max-width:780px}.exam-hero p:first-of-type{max-width:none}.exam-section{padding-block:75px}.exam-section h2{max-width:900px}.exam-copy{max-width:850px}.exam-tint{background:#eee9df}.exam-copy table{border-collapse:collapse;width:100%;margin:32px 0;font-size:18px}.exam-copy th,.exam-copy td{text-align:left;vertical-align:top;padding:18px 15px;border-bottom:1px solid var(--line)}.exam-copy th{background:var(--blue);color:white}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.header nav{gap:18px}@media(min-width:761px) and (max-width:1150px){.header{flex-wrap:wrap;gap:18px}.header nav{order:3;width:100%;justify-content:center}}@media(max-width:760px){.exam-section{padding-block:48px}.exam-hero{padding-block:25px 45px}.exam-copy th,.exam-copy td{padding:12px 9px;font-size:16px}.exams-page .booking-actions{display:grid}.ed-credentials{padding-left:15px}.header nav{gap:12px}}
/* Preserve the full portrait on desktop; retain the existing mobile crop. */
@media(min-width:761px){#ed .portrait{min-height:0;aspect-ratio:864 / 1066;display:block}#ed .portrait img{position:relative!important;inset:auto!important;display:block;height:auto!important;object-fit:contain!important;object-position:center!important}.about-photo img{height:auto;aspect-ratio:864 / 1066;object-fit:contain;object-position:center}}

/* A narrow desktop side panel still uses a mouse; preserve full portrait there too. */
@media(max-width:760px) and (hover:hover) and (pointer:fine){#ed .portrait{min-height:0;aspect-ratio:864 / 1066;display:block;max-width:440px}#ed .portrait img{position:relative!important;inset:auto!important;display:block;height:auto!important;object-fit:contain!important;object-position:center!important}.about-photo{max-width:440px}.about-photo img{height:auto;aspect-ratio:864 / 1066;object-fit:contain;object-position:center}}
