/* Eerkins brand palette and office directory. Original logo artwork is retained. */
:root, .ec-editorial {
 --ec-primary: #094e9b;
 --ec-red: var(--ec-primary);
 --ec-secondary: #1ca3dd;
 --ec-blue: #094e9b;
 --ec-light-blue: #1ca3dd;
 --ec-primary-dark: #073d79;
 --ec-text-dark: #263d48;
 --ec-border-search: #d5e6ed;
}
.ec-site .ec-topbar { background: #094e9b; color: #fff; }
.ec-site :is(.ec-btn,.ec-gform .gform_button) { background: #094e9b; border-color: #094e9b; color: #fff; }
.ec-site :is(.ec-btn,.ec-gform .gform_button):hover { background: #073d79; border-color: #073d79; color: #fff; }
.ec-site .ec-search__submit { background: #094e9b; color: #fff; }
.ec-site .ec-footer__bottom { background: #094e9b; color: #fff; }
.ec-site .ec-footer-menu a:hover { color: #094e9b; }
.ec-site .ec-social a { background: #094e9b; color: #fff; }
.ec-editorial .ec-welcome h1 em { color: #094e9b; }
.ec-editorial .ec-welcome__caption { background: #094e9b; }
.ec-editorial .ec-welcome__caption :is(span,strong) { color: #fff; }
.ec-editorial .ec-banner::before { background: rgb(18 48 64 / 88%); }
.ec-editorial .ec-banner .ec-btn { background: #094e9b; border-color: #094e9b; color: #fff; }
.ec-editorial .ec-how { background: #eaf7fd; color: #263d48; }
.ec-editorial .ec-how :is(.ec-how__title,.ec-steps__title) { color: #263d48; }
.ec-editorial .ec-how :is(.ec-how__text,.ec-steps__text) { color: #4f6875; }
.ec-editorial .ec-how__pretitle,.ec-editorial .ec-steps__item::before { color: #094e9b; }
.ec-editorial .ec-tabs__tab.is-active { background: #094e9b; border-color: #094e9b; color: #fff; }
.ec-editorial .ec-category-bar__tab.is-active { color: #094e9b; box-shadow: inset 0 -2px #094e9b; }
.ec-site .ec-newsletter { background: #e6f5fc; color: #263d48; border: 1px solid #cce7f3; }
.ec-site .ec-newsletter__text { color: #4f6875; }
.ec-editorial .ec-newsletter .gform_button { background: #094e9b; color: #fff; border-color: #094e9b; }
.ec-site .ec-newsletter__title { color: #263d48; }

/* White foregrounds on primary-blue controls and their nested labels/icons. */
.ec-site :is(.ec-topbar,.ec-footer__bottom,.ec-welcome__caption,.ec-btn,.ec-search__submit,.ec-tabs__tab.is-active,.ec-social a,.gform_button,.ec-header-link__badge),
.ec-site :is(.ec-topbar,.ec-footer__bottom,.ec-welcome__caption,.ec-btn,.ec-search__submit,.ec-tabs__tab.is-active,.ec-social a,.gform_button,.ec-header-link__badge) :is(a,span,strong,small,p,svg) { color: #fff; }
.ec-site .ec-social a:hover { background: #073d79; }
.ec-site .ec-newsletter__form .gform_button { background: #094e9b !important; color: #fff !important; }
.ec-site .ec-newsletter__form .gform_button:hover { background: #073d79 !important; }

/* A separate location section, followed by the enquiry section. */
.ec-office-map { padding: 72px 0 80px; background: #fff; }
.ec-office-map__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 30px; }
.ec-office-map__switch { display: flex; gap: 8px; flex-wrap: wrap; }
.ec-office-map__switch button { min-height: 44px; padding: 11px 18px; border: 1px solid #d5e2eb; background: #fff; color: #344f63; font: 500 12px/1.5 var(--ec-font-sans); cursor: pointer; }
.ec-office-map__switch button[aria-pressed="true"] { background: #094e9b; border-color: #094e9b; color: #fff; }
.ec-office-map__switch button:hover { border-color: #094e9b; }
.ec-office-map__frame { border: 1px solid #d5e2eb; background: #f3f9fc; }
.ec-office-map__frame iframe { display: block; width: 100%; height: 440px; border: 0; }
.ec-office-map__details { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; border: 1px solid #d5e2eb; border-top: 0; background: #f3f9fc; }
.ec-office-map__details p { margin: 0; color: #536b78; font: 400 14px/1.8 var(--ec-font-sans); }
.ec-office-map__details a { flex: none; color: #094e9b; font: 500 13px/1.6 var(--ec-font-sans); text-decoration: none; }
.ec-office-map__details a:hover { text-decoration: underline; }
.ec-office-map__details a span { margin-left: 8px; }
@media (max-width: 767px) {
 .ec-office-map { padding: 44px 0 48px; }
 .ec-office-map__heading { display: block; }
 .ec-office-map__switch { margin-top: 24px; }
 .ec-office-map__switch button { padding-inline: 14px; }
 .ec-office-map__frame iframe { height: 340px; }
 .ec-office-map__details { align-items: flex-start; flex-direction: column; gap: 14px; padding: 18px; }
}
.ec-locations { padding: 72px 0 80px; background: #fff; }
.ec-locations__heading { margin-bottom: 36px; }
.ec-locations__heading > p:last-child { margin: 16px 0 0; font: 400 15px/1.8 var(--ec-font-sans); color: #617783; }
.ec-site .ec-offices--contact { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin: 0; }
.ec-site .ec-offices--contact .ec-office { padding: 30px; border: 1px solid #dbe7ed; border-top: 3px solid #094e9b; background: #fff; display: flex; flex-direction: column; }
.ec-office__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.ec-office__pin { display: grid; place-items: center; width: 42px; height: 42px; flex: none; color: #094e9b; background: #eaf7fd; }
.ec-office__pin svg { width: 21px; height: 21px; }
.ec-site .ec-office__country { margin: 0; color: #263d48; font: 600 14px/1.5 var(--ec-font-sans); letter-spacing: .1em; }
.ec-site .ec-office__details { font: normal 400 14px/1.8 var(--ec-font-sans); color: #536b78; }
.ec-site .ec-office__address { min-height: 78px; margin: 0 0 22px; overflow-wrap: normal; }
.ec-site .ec-office__details > a { display: flex; align-items: center; gap: 11px; color: #314f60; width: fit-content; margin-top: 10px; text-decoration: none; }
.ec-site .ec-office__details > a:hover { color: #094e9b; text-decoration: underline; }
.ec-office__details > a > svg { width: 16px; height: 16px; flex: none; color: #178bbd; }
.ec-site .ec-office__details > .ec-office__website { justify-content: space-between; width: 100%; margin-top: 24px; padding-top: 18px; border-top: 1px solid #e1ebf0; color: #094e9b; font-size: 13px; font-weight: 500; }
.ec-office__website > span[aria-hidden] { font-size: 19px; line-height: 1; }
.ec-editorial .ec-contact { background: #f3f9fc; border-top: 1px solid #e0edf3; padding-block: 72px; }
.ec-editorial .ec-contact__inner { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: 72px; }
.ec-editorial .ec-contact__info { padding: 24px 0; }
.ec-editorial .ec-contact__info .ec-section-head__title { font-size: clamp(28px,3vw,38px); }
.ec-editorial .ec-contact__form { background: #fff; border: 1px solid #dbe7ed; padding: 36px; }
.ec-editorial .ec-contact__form .ec-form-section__title { font-size: 30px; margin-bottom: 24px; }

/* Compact footer directory with a clear heading and aligned contact rows. */
.ec-site .ec-footer { background-color: #f5f8fa; }
.ec-footer-offices { border-top: 1px solid #d9e5eb; padding: 38px 0 44px; }
.ec-footer-offices__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.ec-footer-offices__eyebrow { margin: 0 0 7px; color: #094e9b; font: 600 10px/1.5 var(--ec-font-sans); letter-spacing: .15em; text-transform: uppercase; }
.ec-footer-offices__heading h2 { margin: 0; color: #263d48; font: 500 28px/1.2 var(--ec-font-sans); letter-spacing: -.03em; }
.ec-footer-offices__heading > p { margin: 0; font: 400 13px/1.7 var(--ec-font-sans); color: #617783; }
.ec-site .ec-offices--footer { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.ec-offices--footer .ec-office { padding: 0 32px; }
.ec-offices--footer .ec-office:first-child { padding-left: 0; }
.ec-offices--footer .ec-office:last-child { padding-right: 0; }
.ec-offices--footer .ec-office + .ec-office { border-left: 1px solid #d9e5eb; }
.ec-offices--footer .ec-office__heading { margin-bottom: 18px; gap: 10px; }
.ec-offices--footer .ec-office__pin { width: 30px; height: 30px; background: transparent; }
.ec-offices--footer .ec-office__pin svg { width: 19px; height: 19px; }
.ec-site .ec-offices--footer .ec-office__details { font-size: 13px; line-height: 1.8; }
.ec-site .ec-offices--footer .ec-office__address { min-height: 68px; margin-bottom: 14px; }
.ec-site .ec-offices--footer .ec-office__details > .ec-office__website { border: 0; padding-top: 0; margin-top: 14px; justify-content: flex-start; gap: 12px; }
.ec-site .ec-footer__about { max-width: 270px; }
.ec-footer-meta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 26px 32px; border-top: 1px solid #d9e5eb; }
.ec-footer-meta .ec-footer__subtitle { margin: 0 0 12px; font: 500 13px/1.5 var(--ec-font-sans); color: #536b78; }
.ec-footer-meta .ec-social { margin: 0; gap: 8px; }
.ec-footer-meta .ec-social a { width: 32px; height: 32px; }
.ec-footer-meta .ec-social svg { width: 15px; height: 15px; }
.ec-footer-meta .ec-payments { margin: 0; }
.ec-footer-meta__payments { text-align: right; }
@media (max-width: 1000px) {
 .ec-site .ec-offices--contact { gap: 16px; }
 .ec-site .ec-offices--contact .ec-office { padding: 24px 20px; }
 .ec-editorial .ec-contact__inner { gap: 36px; }
 .ec-offices--footer .ec-office { padding-inline: 20px; }
}
@media (max-width: 767px) {
 .ec-locations { padding: 44px 0 48px; }
 .ec-site .ec-offices--contact { grid-template-columns: 1fr; gap: 18px; }
 .ec-site .ec-offices--contact .ec-office { padding: 24px; }
 .ec-office__heading { margin-bottom: 20px; }
 .ec-site .ec-office__address { min-height: 0; margin-bottom: 20px; }
 .ec-editorial .ec-contact { padding-block: 44px; }
 .ec-editorial .ec-contact__inner { grid-template-columns: 1fr; gap: 24px; }
 .ec-editorial .ec-contact__info { padding: 0; }
 .ec-editorial .ec-contact__form { padding: 24px; }
 .ec-footer-offices { padding-block: 30px 36px; }
 .ec-footer-offices__heading { display: block; margin-bottom: 28px; }
 .ec-footer-offices__heading > p { margin-top: 12px; }
 .ec-footer-offices__heading h2 { font-size: 26px; }
 .ec-site .ec-offices--footer { grid-template-columns: 1fr; }
 .ec-offices--footer .ec-office, .ec-offices--footer .ec-office:first-child, .ec-offices--footer .ec-office:last-child { padding: 0; }
 .ec-offices--footer .ec-office + .ec-office { border-left: 0; border-top: 1px solid #d9e5eb; padding-top: 24px; margin-top: 24px; }
 .ec-site .ec-offices--footer .ec-office__address { min-height: 0; }
 .ec-footer-meta { align-items: flex-start; flex-direction: column; gap: 24px; }
 .ec-footer-meta__payments { text-align: left; }
}
