/* Official SERMI mark — header only, beside the RAC badge. */
.als-header-trust {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}
.als-header-trust a {
  display: inline-flex;
  align-items: center;
}
.elementor-5329 .als-header-trust img {
  width: auto !important;
  height: 44px;
  max-width: none !important;
}
.elementor-5329 .als-header-trust img.als-sermi-mark {
  width: 68px !important;
  height: 68px !important;
}
@media (max-width: 767px) {
  .elementor-5329 .als-header-trust {
    justify-content: center;
  }
  .elementor-5329 .als-header-trust img {
    height: 36px;
  }
  .elementor-5329 .als-header-trust img.als-sermi-mark {
    width: 56px !important;
    height: 56px !important;
  }
}

/* Quote plate caret. Typing is driven by /assets/reg-type.js so iOS shows it. */
.reg-input-field .reg-type {
  display: inline-block;
  white-space: nowrap;
  line-height: 1;
  min-width: 0;
}
.reg-input-field::after {
  content: "";
  display: block;
  width: 1.5px;
  height: 14px;
  margin-left: 3px;
  flex: 0 0 auto;
  background: #64748b;
  animation: regCaretBlink 0.85s step-end infinite;
}
@keyframes regCaretBlink {
  50% { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
  .reg-input-field::after {
    animation: none;
  }
}

/* Hide leftover Hello Elementor / WordPress page title. Gold H1 stays. */
.page-header,
.page-header .entry-title {
  display: none !important;
}

/* AA contrast for muted copy (slate-500 on white fails). */
:root { --text-muted: #475569; }
.breadcrumb-nav,
.breadcrumb-nav a { color: #475569; }
.elementor-5493 [style*="#999999"] { color: #d1d5db !important; }

/* Dropdown theme on desktop. Phone/tablet: no submenus. */
.mega-sub-menu {
  background: #0f172a !important;
  border: 0 !important;
}
.mega-sub-menu .mega-menu-link,
.mega-sub-menu .mega-menu-link:visited {
  color: #fff !important;
  background: transparent !important;
}
.mega-sub-menu .mega-menu-link:hover,
.mega-sub-menu .mega-menu-link:focus,
.mega-sub-menu .mega-current-menu-item > .mega-menu-link,
.mega-sub-menu .mega-current_page_item > .mega-menu-link {
  color: #fff !important;
  border-bottom: 2px solid #cc1c2c;
}
@media (min-width: 1025px) {
  .mega-menu-item-has-children:hover > .mega-sub-menu,
  .mega-menu-item-has-children:focus-within > .mega-sub-menu {
    display: flex !important;
    flex-wrap: wrap;
  }
}
@media (max-width: 1024px) {
  .mega-indicator { display: none !important; }
  .mega-sub-menu,
  .mega-menu-item-has-children > .mega-sub-menu,
  .mega-menu-item-has-children:hover > .mega-sub-menu,
  .mega-menu-item-has-children:focus-within > .mega-sub-menu,
  .mega-menu-item-has-children.is-open > .mega-sub-menu {
    display: none !important;
  }
}
