/* Website palette: Master blue and white, without lime accents. */
:root {
  --malmberg-blue: #194d6b;
  --malmberg-ink: #102b3b;
}

/* All editable text uses Master blue or white; logo artwork is preserved. */
body { color: var(--malmberg-blue); }
body [data-elementor-type="wp-page"] .elementor-widget-text-editor,
body [data-elementor-type="wp-page"] .elementor-image-box-description,
body [data-elementor-type="wp-page"] .elementor-icon-list-text {
  color: var(--malmberg-blue) !important;
}
body [data-elementor-type="wp-page"] .elementor-widget-text-editor :is(p, span, strong, b, em, li, a, h1, h2, h3, h4) {
  color: inherit !important;
}

body [data-elementor-type="wp-page"] .elementor-heading-title,
body [data-elementor-type="wp-page"] .elementor-image-box-title {
  color: var(--malmberg-blue) !important;
}

body .master-colour-band {
  background-color: var(--malmberg-blue) !important;
}

body .master-blue-surface {
  background-color: var(--malmberg-blue) !important;
}

body [data-elementor-type="wp-page"] .master-on-blue .elementor-heading-title {
  color: #fff !important;
}

body .master-colour-band .elementor-heading-title,
body .master-colour-band .elementor-widget-text-editor {
  color: #fff !important;
}

body .master-ticker-band {
  background-color: #fff !important;
}

body .master-ticker-band .horizontal_ticker,
body .master-ticker-band .horizontal_ticker span {
  color: var(--malmberg-blue) !important;
}

body .elementor-widget-button .elementor-button {
  background-color: var(--malmberg-blue) !important;
  color: #fff !important;
  border-color: var(--malmberg-blue) !important;
}

body .elementor-widget-button .elementor-button:hover,
body .elementor-widget-button .elementor-button:focus-visible {
  background-color: var(--malmberg-ink) !important;
  color: #fff !important;
  border-color: var(--malmberg-ink) !important;
}

body .elementor-widget-navigation-menu a.hfe-menu-item,
body .elementor-widget-navigation-menu a.hfe-sub-menu-item {
  color: var(--malmberg-blue) !important;
}

body .elementor-widget-navigation-menu a.hfe-menu-item:hover,
body .elementor-widget-navigation-menu a.hfe-menu-item:focus-visible,
body .elementor-widget-navigation-menu .current-menu-item > a,
body .elementor-widget-navigation-menu a.hfe-sub-menu-item:hover,
body .elementor-widget-navigation-menu a.hfe-sub-menu-item:focus-visible {
  background-color: #edf2f5 !important;
}

body #colophon,
body #colophon .elementor > .e-con {
  background-color: var(--malmberg-blue) !important;
}

body #colophon .main-footer {
  border-top: none !important;
}

body #colophon .elementor > .e-con:not(.main-footer) {
  border-top-color: rgba(255, 255, 255, .2) !important;
}

body #colophon a:hover,
body #colophon a:focus-visible {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

body a:focus-visible,
body [role="button"]:focus-visible,
body button:focus-visible {
  outline: 2px solid var(--malmberg-blue);
  outline-offset: 4px;
}

body #colophon a:focus-visible,
body .master-colour-band a:focus-visible {
  outline-color: #fff;
}

body .hfe-skip-link { color: var(--malmberg-blue) !important; }

/* The final copyright/privacy strip is white with blue lettering. */
body #colophon .elementor > .e-con:not(.main-footer) {
  background-color: #fff !important;
  color: var(--malmberg-blue) !important;
  border-top-color: #e5eaed !important;
}
body #colophon .elementor > .e-con:not(.main-footer) .elementor-heading-title,
body #colophon .elementor > .e-con:not(.main-footer) .elementor-icon-list-text,
body #colophon .elementor > .e-con:not(.main-footer) a {
  color: var(--malmberg-blue) !important;
}
body #colophon .elementor > .e-con:not(.main-footer) a:hover,
body #colophon .elementor > .e-con:not(.main-footer) a:focus-visible {
  text-decoration-color: var(--malmberg-blue);
  outline-color: var(--malmberg-blue);
}

/* Copyright left, Privacy Policy right, on one white footer row. */
body #colophon .copyright-strip > .e-con-inner {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: none;
  padding-inline: 24px;
  box-sizing: border-box;
}
body #colophon .copyright-strip .elementor-widget-heading,
body #colophon .copyright-strip .privacy_policy {
  width: auto;
  max-width: none;
  margin: 0;
  white-space: nowrap;
}
body #colophon .copyright-strip .elementor-widget-heading { text-align: left; }
body #colophon .copyright-strip .privacy_policy { text-align: right; }
body #colophon .copyright-strip .privacy_policy .elementor-icon-list-item,
body #colophon .copyright-strip .privacy_policy a { justify-content: flex-end; }
@media (max-width: 480px) {
  body #colophon .copyright-strip > .e-con-inner { padding-inline: 16px; gap: 12px; }
  body #colophon .copyright-strip .elementor-heading-title,
  body #colophon .copyright-strip .elementor-icon-list-text { font-size: 14px; }
}

/* Compact desktop enquiry button; retain larger touch targets on phones. */
body .elementor-7 .elementor-element.elementor-element-f821059 .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 36px;
  padding: 7px 18px;
  font-size: 14px;
  line-height: 20px;
}
@media (pointer: coarse), (max-width: 767px) {
  body .elementor-7 .elementor-element.elementor-element-f821059 .elementor-button { min-height: 44px; }
}

/* Requested lime background and Master blue enquiry lettering. */
body .elementor-7 .elementor-element.elementor-element-f821059 .elementor-button,
body .elementor-7 .elementor-element.elementor-element-f821059 .elementor-button:focus-visible {
  background-color: #88ab00 !important;
  border-color: #88ab00 !important;
  color: #194d6b !important;
}
body .elementor-7 .elementor-element.elementor-element-f821059 .elementor-button:hover {
  background-color: #98bb00 !important;
  border-color: #98bb00 !important;
  color: #194d6b !important;
}
