/* Styles for pages built after the move from WordPress.
   Colours and fonts follow the site's own settings:
   orange #EC8D11, navy #182442, light grey #EAEAEA, DM Sans text, Manrope headings. */

.es-section { padding: 80px 30px; background: #ffffff; color: #000000; font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.6em; }
.es-section.es-grey { background: #EAEAEA; }
.es-section.es-navy { background: #182442; color: #ffffff; }
.es-wrap { max-width: 1140px; margin: 0 auto; }
.es-narrow { max-width: 860px; margin: 0 auto; }

.es-eyebrow { color: #EC8D11; font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin: 0 0 10px; }
.es-section h2 { font-family: "Manrope", sans-serif; font-size: 43.95px; font-weight: 700; line-height: 1.1em; letter-spacing: -2px; margin: 0 0 20px; color: inherit; }
.es-section h2 span { color: #EC8D11; }
.es-section h3 { font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 700; line-height: 1.25em; letter-spacing: -0.5px; margin: 0 0 8px; color: inherit; }
.es-section p { margin: 0 0 16px; }
.es-lead { font-size: 18px; line-height: 1.75em; }
.es-center { text-align: center; }
.es-section a:not(.es-btn) { color: #EC8D11; text-decoration: underline; }

.es-btn { display: inline-block; background: #EC8D11; color: #000000; font-family: "DM Sans", sans-serif; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; line-height: 1em; padding: 20px 40px; text-decoration: none; border: 0; transition: background 0.3s, color 0.3s; }
.es-btn:hover, .es-btn:focus { background: #182442; color: #ffffff; }
.es-navy .es-btn:hover, .es-navy .es-btn:focus { background: #ffffff; color: #000000; }
.es-btn.es-btn-outline { background: transparent; color: inherit; box-shadow: inset 0 0 0 2px #EC8D11; }
.es-btn.es-btn-outline:hover, .es-btn.es-btn-outline:focus { background: #EC8D11; color: #000000; }
.es-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.es-center .es-actions, .es-actions.es-center { justify-content: center; }

.es-split { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.es-split img { width: 100%; height: auto; display: block; border-bottom: 10px solid #EC8D11; }
.es-badge { display: inline-block; background: #182442; color: #ffffff; font-weight: 600; padding: 12px 20px; margin: 8px 0 0; }
.es-badge strong { color: #EC8D11; }

.es-grid { display: grid; gap: 24px; margin-top: 36px; }
.es-grid-2 { grid-template-columns: repeat(2, 1fr); }
.es-grid-3 { grid-template-columns: repeat(3, 1fr); }
.es-card { background: #ffffff; padding: 32px 28px; border-top: 4px solid #EC8D11; height: 100%; box-sizing: border-box; }
.es-grey .es-card { box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05); }
.es-section:not(.es-grey):not(.es-navy) .es-card { background: #EAEAEA; }
.es-card p:last-child { margin-bottom: 0; }

.es-steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: es-step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.es-steps.es-steps-4 { grid-template-columns: repeat(4, 1fr); }
.es-steps li { counter-increment: es-step; background: #ffffff; color: #000000; padding: 32px 28px; position: relative; }
.es-steps li::before { content: counter(es-step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #EC8D11; color: #000000; font-family: "Manrope", sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 18px; }
.es-steps li p { margin: 0; }

.es-dates { list-style: none; margin: 36px auto 0; padding: 0; max-width: 760px; border-left: 3px solid #EC8D11; }
.es-dates li { position: relative; padding: 0 0 26px 32px; }
.es-dates li:last-child { padding-bottom: 0; }
.es-dates li::before { content: ""; position: absolute; left: -9px; top: 4px; width: 15px; height: 15px; background: #EC8D11; border-radius: 50%; }
.es-dates strong { display: block; font-family: "Manrope", sans-serif; font-size: 20px; letter-spacing: -0.5px; }

.es-tiles { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.es-tiles li { background: #ffffff; border-left: 4px solid #EC8D11; padding: 20px 22px; }
.es-tiles strong { display: block; font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 700; line-height: 1.3em; letter-spacing: -0.3px; }
.es-tiles span { display: block; font-size: 14px; color: #555555; margin-top: 4px; }

.es-faq { margin-top: 36px; }
.es-faq details { background: #EAEAEA; margin-bottom: 12px; border-left: 4px solid #EC8D11; }
.es-faq summary { cursor: pointer; padding: 20px 56px 20px 24px; font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 700; list-style: none; position: relative; }
.es-faq summary::-webkit-details-marker { display: none; }
.es-faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: #EC8D11; font-size: 26px; font-weight: 400; }
.es-faq details[open] summary::after { content: "\2212"; }
.es-faq details p { margin: 0; padding: 0 24px 22px; }

.es-prose h2 { font-size: 30px; letter-spacing: -1px; margin: 44px 0 14px; }
.es-prose ul { margin: 0 0 16px 22px; padding: 0; }
.es-prose li { margin-bottom: 6px; }

@media (max-width: 1024px) {
  .es-section { padding: 60px 24px; }
  .es-section h2 { font-size: 36px; letter-spacing: -1.5px; }
  .es-split { grid-template-columns: 1fr; gap: 36px; }
  .es-split img { max-width: 520px; margin: 0 auto; }
  .es-grid-3, .es-steps, .es-steps.es-steps-4 { grid-template-columns: repeat(2, 1fr); }
  .es-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767px) {
  .es-section { padding: 48px 20px; }
  .es-section h2 { font-size: 30px; letter-spacing: -1px; }
  .es-prose h2 { font-size: 24px; }
  .es-grid-2, .es-grid-3, .es-steps, .es-steps.es-steps-4 { grid-template-columns: 1fr; }
  .es-tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .es-tiles li { padding: 16px; }
  .es-btn { padding: 18px 28px; }
}

.es-form { margin-top: 36px; background: #ffffff; padding: 36px 32px; border-top: 4px solid #EC8D11; }
.es-form label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 18px; }
.es-form input[type=text], .es-form input[type=email], .es-form input[type=tel], .es-form select, .es-form textarea { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 0; background: #ffffff; color: #000000; font-family: "DM Sans", sans-serif; font-size: 16px; font-weight: 400; }
.es-form input:focus, .es-form select:focus, .es-form textarea:focus { outline: 2px solid #EC8D11; outline-offset: 0; border-color: #EC8D11; }
.es-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.es-form-note { font-size: 14px; color: #555555; }
.es-form.es-form-grey { background: #EAEAEA; }
.es-form input[type=file] { display: block; margin-top: 8px; font-weight: 400; font-size: 14px; }
.es-form button.es-btn { cursor: pointer; }
.es-hp { position: absolute; left: -9999px; }
@media (max-width: 767px) { .es-form { padding: 24px 18px; } .es-form-row { grid-template-columns: 1fr; } }

/* Blog articles */
.es-post-meta { color: #555555; font-size: 15px; margin: 0 0 28px; }
.es-views:empty { display: none; }
.es-post-meta .es-views::before, time + .es-views::before { content: "\00b7"; margin: 0 8px; }

/* Floating WhatsApp chat button */
.es-wa { position: fixed; left: 20px; bottom: 20px; z-index: 9990; display: inline-flex; align-items: center; gap: 8px; background: #EC8D11; color: #000000; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; line-height: 1em; padding: 14px 20px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,0.25); transition: background 0.3s, color 0.3s; }
.es-wa:hover, .es-wa:focus { background: #182442; color: #ffffff; }
@media (max-width: 767px) { .es-wa { left: 14px; bottom: 14px; padding: 12px 16px; font-size: 13px; } }
@media print { .es-wa { display: none; } }

/* Newsletter sign-up band */
.es-news-form { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.es-news-form input[type=email] { flex: 1 1 280px; max-width: 420px; box-sizing: border-box; padding: 0 16px; height: 55px; border: 0; border-radius: 0; background: #ffffff; color: #000000; font-family: "DM Sans", sans-serif; font-size: 16px; }
.es-news-form input[type=email]:focus { outline: 2px solid #EC8D11; }
.es-news-form button.es-btn { cursor: pointer; height: 55px; padding: 0 36px; }
.es-news-note { font-size: 14px; margin-top: 16px !important; opacity: 0.85; }
.es-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.es-result-list { margin: 8px 0 0 20px; padding: 0; }
.es-result-list li { margin-bottom: 4px; }
.es-tiles.es-tiles-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .es-tiles.es-tiles-3 { grid-template-columns: repeat(2, 1fr); } }

/* Rolling belt of award photos */
.es-belt-section { padding-left: 0; padding-right: 0; overflow: hidden; }
.es-belt-section .es-wrap { padding: 0 30px; }
.es-belt { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.es-belt-row { overflow: hidden; }
.es-belt-track { display: flex; gap: 14px; width: max-content; animation: es-belt-roll 90s linear infinite; }
.es-belt-rev .es-belt-track { animation-direction: reverse; }
.es-belt-row:hover .es-belt-track { animation-play-state: paused; }
.es-belt-track img { height: 220px; width: auto; display: block; flex: none; }
@keyframes es-belt-roll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
@media (max-width: 767px) { .es-belt-track img { height: 150px; } }
@media (prefers-reduced-motion: reduce) { .es-belt-track { animation: none; } .es-belt-row { overflow-x: auto; } }

/* Research area quiz */
.es-quiz fieldset { border: 0; margin: 0 0 28px; padding: 0; }
.es-quiz legend { font-family: "Manrope", sans-serif; font-weight: 700; font-size: 19px; margin-bottom: 10px; padding: 0; }
.es-quiz fieldset label { display: flex; align-items: center; gap: 10px; font-weight: 400; font-size: 16px; margin-bottom: 8px; background: #ffffff; padding: 12px 14px; cursor: pointer; }
.es-quiz fieldset label:hover { outline: 2px solid #EC8D11; }
.es-quiz input[type=radio] { accent-color: #EC8D11; width: 18px; height: 18px; flex: none; margin: 0; }
.es-quiz #es-quiz-note:empty { display: none; }
.es-quiz #es-quiz-note { color: #B00020; font-weight: 600; }
#es-quiz-result { scroll-margin-top: 180px; }

/* Legal links in the footer bar */
.es-legal a { color: inherit; text-decoration: underline; }
.es-legal a:hover { color: #EC8D11; }

/* Captioned photo grid */
.es-photos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.es-photo { margin: 0; background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.es-section:not(.es-grey) .es-photo { background: #EAEAEA; box-shadow: none; }
.es-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.es-photo figcaption { padding: 12px 14px 14px; font-size: 14px; line-height: 1.4; font-weight: 600; }
@media (max-width: 1024px) { .es-photos { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .es-photos { grid-template-columns: 1fr; } }

.es-tiles li > a { display: block; color: inherit !important; text-decoration: none !important; }
.es-tiles li > a:hover strong { color: #EC8D11; }

/* University acceptances */
.es-unis { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.es-unis li { background: #EAEAEA; padding: 9px 16px; font-size: 15px; font-weight: 500; }
.es-unis-top { margin-top: 36px; gap: 14px; }
.es-unis-top li { background: #182442; color: #ffffff; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 18px; padding: 16px 24px; border-bottom: 4px solid #EC8D11; }
@media (max-width: 767px) { .es-unis-top li { font-size: 16px; padding: 12px 16px; } .es-unis li { font-size: 14px; } }

/* University logo belt */
.es-uni-belt { margin-top: 36px; margin-bottom: 8px; }
.es-uni-belt .es-belt-track { gap: 18px; animation-duration: 60s; align-items: stretch; }
.es-uni-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 230px; height: 120px; padding: 18px 24px; box-sizing: border-box; background: #ffffff; border: 1px solid #dddddd; }
.es-uni-belt .es-uni-logo img { height: auto; width: auto; max-width: 100%; max-height: 100%; }
.es-accept .es-unis { padding: 0 30px; }
@media (max-width: 767px) { .es-uni-logo { width: 170px; height: 90px; padding: 14px 18px; } .es-uni-belt .es-uni-logo img { height: auto; } }
.es-uni-logo.es-uni-dark { background: #182442; border-color: #182442; }

.es-tiles li > a { display: block; color: inherit !important; text-decoration: none !important; }
.es-tiles li > a:hover strong { color: #EC8D11; }

/* Captioned photo groups placed inside existing pages */
.es-inplace { width: 100%; font-family: "DM Sans", sans-serif; color: #000000; }
.es-inplace .es-group-title { font-family: "Manrope", sans-serif; font-size: 30px; font-weight: 700; letter-spacing: -1px; margin: 56px 0 6px; padding-left: 14px; border-left: 5px solid #EC8D11; color: #000000; }
.es-inplace .es-group-title:first-child { margin-top: 0; }
.es-inplace .es-group-lead { font-size: 17px; margin: 0 0 4px; }
.es-inplace .es-photos { margin-top: 22px; }
.es-inplace .es-photo { background: #EAEAEA; box-shadow: none; }
@media (max-width: 767px) { .es-inplace .es-group-title { font-size: 24px; } }

/* Moving announcement strip at the top of the site */
.es-topbar { display: block; overflow: hidden; background: #EC8D11; color: #000000 !important; text-decoration: none !important; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; line-height: 1; padding: 11px 0; position: relative; z-index: 1000; }
.es-topbar-track { display: flex; width: max-content; animation: es-topbar-roll 60s linear infinite; }
.es-topbar-track span { padding: 0 28px; white-space: nowrap; position: relative; }
.es-topbar-track span::after { content: "\2022"; position: absolute; right: -4px; }
.es-topbar:hover .es-topbar-track { animation-play-state: paused; }
@keyframes es-topbar-roll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .es-topbar-track { animation: none; } }
@media (max-width: 767px) { .es-topbar { font-size: 12px; padding: 9px 0; } }

/* Short lead form */
.es-form-row-3 { grid-template-columns: 1.3fr 1fr 1.3fr; }
.es-lead-form { padding: 28px 28px 24px; }
.es-more { margin: 0 0 18px; }
.es-more summary { cursor: pointer; font-weight: 600; font-size: 15px; color: #182442; margin-bottom: 14px; }
@media (max-width: 767px) { .es-form-row-3 { grid-template-columns: 1fr; } }

.es-noaff { font-size: 12px; opacity: .75; margin: 4px 0 0; }

.es-section.es-strip-sec { padding-top: 0; padding-bottom: 64px; }
.es-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.es-strip img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 767px) { .es-strip { grid-template-columns: 1fr; gap: 12px; } .es-strip img:nth-child(n+2) { display: none; } }
.es-photos.es-photos-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) { .es-photos.es-photos-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .es-photos.es-photos-3 { grid-template-columns: 1fr; } }

.es-spots { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.es-spot { display: flex; flex-direction: column; background: #ffffff; border: 1px solid #dddddd; border-top: 4px solid #EC8D11; }
.es-spot-pics { aspect-ratio: 4 / 3; overflow: hidden; background: #182442; }
.es-spot-pics img { display: block; width: 100%; height: 100%; object-fit: cover; }
.es-spot-two { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.es-spot-two img { min-width: 0; min-height: 0; }
.es-spot-rows { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
.es-spot-text { padding: 20px 22px 24px; }
.es-spot-text .es-eyebrow { font-size: 13px; letter-spacing: 0.6px; line-height: 1.4; margin: 0 0 6px; }
.es-spot-text p { font-size: 15px; line-height: 1.55; margin: 0; }
.es-spot-badge { background: #182442; color: #ffffff; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.es-spot-badge strong { font-size: 15px; letter-spacing: 2px; text-transform: uppercase; color: #EC8D11; }
.es-spot-badge span { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 30px; margin-top: 6px; }
.es-spot-name { font-family: "Manrope", sans-serif; font-size: 23px; font-weight: 800; letter-spacing: -0.4px; line-height: 1.2; margin: 0 0 8px; }
@media (max-width: 1024px) { .es-spots { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (max-width: 600px) { .es-spots { grid-template-columns: 1fr; } }
.es-journey-grid { align-items: start; max-width: 980px; margin-left: auto; margin-right: auto; }

/* Home page hero: real student photos, shown in colour */
.elementor-element-4e9cea0a img { filter: none !important; }
