/* Complex theme: site chrome (utility bar, header, menus, mobile nav, footer, CTA band,
   sticky mobile bar, buttons, Rank Math breadcrumbs). Values follow the design handoff. */

/* ---------- Buttons (shared by the chrome and by core/button) ---------- */
.cx-btn,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--wp--custom--radius--control);
  font: 600 0.9375rem/1 var(--wp--preset--font-family--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease),
    border-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease),
    color var(--wp--custom--motion--base) var(--wp--custom--motion--ease),
    transform var(--wp--custom--motion--fast) var(--wp--custom--motion--ease);
}
.cx-btn--primary,
.wp-block-button.is-style-fill .wp-block-button__link,
.wp-block-button:not(.is-style-outline):not(.is-style-ghost) .wp-block-button__link {
  background: var(--wp--preset--gradient--grad-orange);
  color: #fff;
  border: 0;
  box-shadow: var(--wp--preset--shadow--glow);
}
.cx-btn--primary:hover,
.wp-block-button:not(.is-style-outline):not(.is-style-ghost) .wp-block-button__link:hover {
  background: var(--wp--preset--color--orange-deep);
  color: #fff;
}
.cx-btn--primary:active,
.wp-block-button:not(.is-style-outline):not(.is-style-ghost) .wp-block-button__link:active {
  background: var(--wp--preset--color--orange-700);
  transform: translateY(1px);
}
.cx-btn--outline,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border: 1px solid var(--wp--custom--border--control);
  box-shadow: none;
}
.cx-btn--outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--wp--preset--color--orange-300);
  color: #fff;
}
.cx-btn--lg .wp-block-button__link,
.cx-btn.cx-btn--lg {
  min-height: 54px;
  padding: 0 26px;
  font-size: 1rem;
}
.cx-btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 0.875rem;
}
.cx-btn--block {
  width: 100%;
}
.cx-btn.is-loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.cx-btn.is-loading::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cx-spin 0.8s linear infinite;
}
@keyframes cx-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Square icon buttons: 44px targets on mobile. */
.cx-iconbtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: none;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: border-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
.cx-iconbtn:hover {
  border-color: var(--wp--preset--color--orange-300);
  color: #fff;
}

.cx-label--accent {
  color: var(--wp--preset--color--orange);
}
.cx-label--orange300 {
  color: var(--wp--preset--color--orange-300);
}

/* ---------- Header ---------- */
.cx-header {
  position: relative;
  z-index: 100;
  color: var(--wp--preset--color--ink-200);
  container-type: inline-size;
  container-name: cx-header;
}

.cx-utility {
  display: none;
  background: var(--wp--preset--color--ink-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.cx-utility__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 58px);
  height: var(--wp--custom--layout--utility-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.8125rem;
  font-weight: 500;
  min-width: 0;
}
.cx-utility__inner a {
  color: var(--wp--preset--color--ink-200);
  text-decoration: none;
}
.cx-utility__inner a:hover {
  color: #fff;
}
/* Left: both offices. Right: Support, email, phone. */
.cx-utility__offices,
.cx-utility__links {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.cx-utility__links,
.cx-utility__link,
.cx-utility__link > span {
  flex: none;
  white-space: nowrap;
}
.cx-utility__office {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  white-space: nowrap;
}
.cx-utility__office svg {
  flex: none;
  width: 13px;
  height: 13px;
  color: var(--wp--preset--color--orange);
}
.cx-utility__city {
  color: #fff;
  font-weight: 600;
}
.cx-utility__addr {
  display: none; /* street addresses from 1280px header width up */
  color: var(--wp--preset--color--ink-200);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cx-utility__office:hover .cx-utility__addr {
  color: #fff;
}
.cx-utility__tel {
  color: #fff !important;
  font-size: 0.8125rem;
}
.cx-utility__tel:hover {
  color: var(--wp--preset--color--orange-300) !important;
}
.cx-utility__sep {
  flex: none;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.14);
}
@container cx-header (min-width: 740px) {
  .cx-utility {
    display: block;
  }
}
@container cx-header (min-width: 1280px) {
  .cx-utility__addr {
    display: inline;
  }
}

.cx-bar {
  position: relative;
  background: var(--wp--preset--color--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cx-bar__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 58px);
  height: var(--cx-header-h);
  display: flex;
  align-items: center;
  gap: 28px;
}
.cx-logo {
  display: flex;
  flex: none;
}
.cx-logo img {
  height: 40px;
  width: auto;
  display: block;
}
@media (max-width: 739.98px) {
  .cx-logo img {
    height: 32px;
  }
}

/* Desktop nav (>= 1180) */
.cx-nav {
  display: none;
  flex: 1;
  min-width: 0;
}
.cx-bar__quote {
  display: none;
}
.cx-bar__mobile {
  margin-left: auto;
  display: flex;
  gap: 8px;
}
/* The desktop nav needs about 1180px of header width. Measured on the header itself, not the
   viewport, so a boxed or narrowed header falls back to the mobile menu instead of overlapping. */
@container cx-header (min-width: 1180px) {
  .cx-nav {
    display: block;
  }
  .cx-bar__quote {
    display: inline-flex;
  }
  .cx-bar__mobile,
  .cx-mobile {
    display: none !important;
  }
}
/* Fallback for browsers without container queries (none current, kept for safety). */
@supports not (container-type: inline-size) {
  @media (min-width: 1180px) {
    .cx-nav { display: block; }
    .cx-bar__quote { display: inline-flex; }
    .cx-bar__mobile, .cx-mobile { display: none !important; }
  }
  @media (min-width: 740px) {
    .cx-utility { display: block; }
  }
  @media (min-width: 1280px) {
    .cx-utility__addr { display: inline; }
  }
}

.cx-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  min-width: 0;
}
.cx-nav__link {
  white-space: nowrap;
}
.cx-bar__quote {
  flex: none;
  white-space: nowrap;
}
.cx-nav__item {
  position: relative;
}
.cx-nav__item--mega {
  position: static;
}
.cx-nav__link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--cx-header-h);
  padding: 0 13px;
  background: none;
  border: 0;
  font: 600 0.9375rem/1 var(--wp--preset--font-family--sans);
  color: var(--wp--preset--color--ink-200);
  text-decoration: none;
  cursor: pointer;
  box-shadow: inset 0 -2px 0 transparent;
  transition: color var(--wp--custom--motion--base) var(--wp--custom--motion--ease),
    box-shadow var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
.cx-nav__link:hover,
.cx-nav__item.is-open > .cx-nav__link,
.cx-nav__item.is-current > .cx-nav__link {
  color: #fff;
}
.cx-nav__item.is-open > .cx-nav__link,
.cx-nav__item.is-current > .cx-nav__link {
  box-shadow: inset 0 -2px 0 var(--wp--preset--color--orange);
}
.cx-nav__chev {
  display: inline-flex;
  transition: transform var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
.cx-nav__item.is-open .cx-nav__chev {
  transform: rotate(180deg);
}
.cx-nav__link:focus-visible {
  outline-offset: -4px;
  border-radius: 6px;
}

/* Dropdown */
.cx-drop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  width: 340px;
  padding: 10px;
  background: var(--wp--preset--color--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: var(--wp--preset--shadow--menu);
}
.cx-drop__list,
.cx-mega__grid,
.cx-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cx-drop__list {
  display: flex;
  flex-direction: column;
}
.cx-menu__link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 8px;
  text-decoration: none;
}
.cx-menu__link:hover,
.cx-menu__link:focus-visible {
  background: rgba(255, 255, 255, 0.05);
  text-decoration: none;
}
.cx-menu__t {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #fff;
}
.cx-menu__d {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--wp--preset--color--ink-300);
}

/* Mega menu */
.cx-mega {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--wp--preset--color--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--wp--preset--shadow--menu);
}
.cx-mega__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 30px clamp(20px, 4vw, 58px) 34px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
}
.cx-mega__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cx-mega__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px 16px;
}
.cx-mega__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cx-mega__feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border-radius: var(--wp--custom--radius--card);
  border: 1px solid rgba(232, 102, 31, 0.45);
  background: rgba(232, 102, 31, 0.07);
  text-decoration: none;
  transition: border-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
.cx-mega__feature:hover {
  border-color: var(--wp--preset--color--orange-300);
  text-decoration: none;
}
.cx-mega__feature-t {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.cx-mega__feature-list {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.875rem;
  color: var(--wp--preset--color--ink-200);
}
.cx-mega__feature-cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--wp--preset--color--orange);
}

/* Mobile header controls and panel (< 1180) */
.cx-bar__menuicon {
  display: inline-flex;
}
.cx-bar__menuicon--close,
.has-mobile-open .cx-bar__menuicon--open {
  display: none;
}
.has-mobile-open .cx-bar__menuicon--close {
  display: inline-flex;
}

.cx-mobile {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  height: calc(100dvh - var(--cx-header-h));
  overflow-y: auto;
  background: var(--wp--preset--color--navy-950);
  display: flex;
  flex-direction: column;
}
.cx-mobile[hidden] {
  display: none;
}
.cx-scroll-lock,
.cx-scroll-lock body {
  overflow: hidden;
}
.cx-mobile__nav {
  flex: 1;
  padding: 8px 20px 20px;
}
.cx-mobile__group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cx-mobile__top {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  padding: 0;
  font: 600 1.125rem/1.2 var(--wp--preset--font-family--sans);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  text-align: left;
}
.cx-mobile__chev {
  display: inline-flex;
  color: var(--wp--preset--color--orange);
  transition: transform var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
.cx-mobile__acc[aria-expanded="true"] .cx-mobile__chev {
  transform: rotate(180deg);
}
.cx-mobile__list {
  list-style: none;
  margin: 0;
  padding: 0 0 12px;
  display: flex;
  flex-direction: column;
}
.cx-mobile__list[hidden] {
  display: none;
}
.cx-mobile__list a,
.cx-mobile__extra a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.9375rem;
  color: var(--wp--preset--color--ink-200);
  text-decoration: none;
}
.cx-mobile__list a:hover,
.cx-mobile__extra a:hover {
  color: #fff;
}
.cx-mobile__extra {
  display: flex;
  flex-direction: column;
  padding-top: 14px;
}
.cx-mobile__actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 10px;
  padding: 12px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: var(--wp--preset--color--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cx-mobile__actions .cx-btn {
  box-sizing: border-box; /* width: 100% plus padding overflowed the grid cell: Quote overlapped Call by 16px. */
  min-width: 0;
  padding-inline: 12px;
  font-size: 0.875rem;
  white-space: nowrap;
}
/* The sticky action bar steps aside while the menu is open. */
.cx-scroll-lock .cx-mobilebar {
  display: none;
}

/* ---------- Footer ---------- */
.cx-footer {
  background: var(--wp--preset--color--ink-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--wp--preset--color--ink-200);
}
.cx-footer__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) clamp(20px, 4vw, 58px) 32px;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 56px);
}
.cx-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
  gap: 32px 40px;
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cx-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cx-footer__logo {
  display: inline-flex;
}
.cx-footer__logo img {
  height: 44px;
  width: auto;
}
.cx-footer__tagline {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}
.cx-footer__social {
  display: flex;
  gap: 10px;
}
.cx-footer__office,
.cx-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cx-footer .cx-label {
  margin-bottom: 4px;
  line-height: 1.2;
}
.cx-footer address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #fff;
}
.cx-footer__muted {
  font-size: 0.875rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-footer__tel {
  font: 500 1.0625rem/1.4 var(--wp--preset--font-family--mono);
  color: #fff;
  text-decoration: none;
}
.cx-footer__email {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cx-footer__tel:hover,
.cx-footer__email:hover {
  color: var(--wp--preset--color--orange-300);
}
.cx-footer__nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
  gap: 32px 28px;
}
.cx-footer__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cx-footer__col a {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--wp--preset--color--ink-200);
  text-decoration: none;
}
.cx-footer__col a:hover {
  color: #fff;
}
.cx-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-footer__legalgroup {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}
.cx-footer__legalgroup a {
  color: var(--wp--preset--color--ink-300);
  text-decoration: none;
}
.cx-footer__legalgroup a:hover {
  color: #fff;
}

/* ---------- CTA band ---------- */
.cx-cta {
  background: var(--wp--preset--color--navy-950);
}
.cx-cta__card {
  position: relative;
  overflow: hidden;
  background: var(--wp--preset--color--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--wp--custom--radius--panel);
}
.cx-cta__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--wp--preset--gradient--grad-orange);
}
.cx-cta__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}
.cx-cta__trace {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 60%;
  pointer-events: none;
  opacity: 0.5;
}
.cx-cta__inner {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: 40px 64px;
  padding: clamp(28px, 4vw, 64px);
}
.cx-cta__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.cx-cta__copy > * {
  margin: 0;
}
.cx-cta .cx-cta__h,
.cx-cta h2.cx-cta__h {
  font-family: var(--wp--preset--font-family--sans);
  font-weight: 700;
  font-size: clamp(1.625rem, 1.1rem + 1.9vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
  margin: 0;
}
.cx-cta__p {
  max-width: 52ch;
  font-size: var(--wp--preset--font-size--lead);
  line-height: 1.6;
  color: var(--wp--preset--color--ink-200);
}
.cx-cta__buttons {
  gap: 12px;
  margin-top: 8px;
}
.cx-cta__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  font-size: 0.9375rem;
}
.cx-cta__meta .cx-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cx-cta__existing {
  color: var(--wp--preset--color--ink-300);
}
.cx-cta__existing a {
  color: var(--wp--preset--color--orange-300);
  font-weight: 600;
}
.cx-cta__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1px;
  align-self: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--wp--custom--radius--tile);
  overflow: hidden;
}
.cx-cta__fact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--wp--preset--color--navy-900);
}
.cx-cta__fact address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #fff;
}
.cx-cta__small {
  font-size: 0.8125rem;
  color: var(--wp--preset--color--ink-300);
}
.cx-cta__fact .cx-tel {
  font-size: 0.9375rem;
  line-height: 1.55;
}
.cx-cta__email {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.cx-cta__email:hover {
  color: var(--wp--preset--color--orange-300);
}

/* ---------- Sticky mobile action bar (< 740) ---------- */
.cx-mobilebar {
  display: none;
}
@media (max-width: 739.98px) {
  .cx-mobilebar {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    background: var(--wp--preset--color--navy-950);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translateY(0);
    transition: transform var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
  }
  .cx-mobilebar.is-hidden {
    transform: translateY(calc(100% + 1px));
  }
  .cx-mobilebar__inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    height: 64px;
  }
  .cx-mobilebar__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--wp--preset--color--ink-100);
    text-decoration: none;
  }
  .cx-mobilebar__item--primary {
    color: #fff;
    background: var(--wp--preset--gradient--grad-orange);
  }
  .cx-mobilebar__item:focus-visible {
    outline-offset: -3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cx-mobilebar {
    transition: none;
  }
}

/* ---------- Rank Math breadcrumbs ---------- */
.rank-math-breadcrumb {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--wp--preset--color--ink-300);
  margin-bottom: 18px;
}
.rank-math-breadcrumb p {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}
.rank-math-breadcrumb a {
  color: var(--wp--preset--color--ink-300);
  text-decoration: none;
}
.rank-math-breadcrumb a:hover {
  color: var(--wp--preset--color--orange-300);
}
.rank-math-breadcrumb .separator {
  color: var(--wp--preset--color--ink-400);
}
.rank-math-breadcrumb .last {
  color: var(--wp--preset--color--ink-100);
}

/* ---------- Cookie consent banner (CookieYes "GDPR Cookie Consent", legacy banner) ----------
   The plugin renders the banner and writes its colors as inline styles from its settings. These rules
   restyle it to the site (dark panel, orange primary button, light text, compact) without changing its
   markup, choices, links, or consent behavior. !important is used only where the plugin sets an inline
   style. Stacking: above page content, below the header and its mobile menu (z-index 100). On phones it
   sits directly on top of the sticky action bar, never over it, and drops to the bottom edge while the
   bar is hidden on scroll. */
#cookie-law-info-bar[data-cli-style] {
  z-index: 80;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
  padding: 14px var(--wp--preset--spacing--gutter);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.4);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  background-color: var(--wp--preset--color--navy-900) !important;
  color: var(--wp--preset--color--ink-200) !important;
  font-family: var(--wp--preset--font-family--sans) !important;
  bottom: 0 !important;
  transition: bottom var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
#cookie-law-info-bar[data-cli-style] .cli-bar-container {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  font-size: inherit;
  line-height: inherit;
}
#cookie-law-info-bar[data-cli-style] .cli-bar-message {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 88ch;
  margin: 0;
  text-align: left;
  text-wrap: pretty;
}
/* The "Do not sell" link runs on at the end of the message instead of taking its own line. */
#cookie-law-info-bar[data-cli-style] .cli-bar-message br {
  display: none;
}
#cookie-law-info-bar[data-cli-style] .cli-bar-message .wt-cli-ccpa-element {
  display: inline;
  margin: 0;
}
#cookie-law-info-bar[data-cli-style] .wt-cli-ccpa-opt-out {
  color: var(--wp--preset--color--orange-300) !important;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
#cookie-law-info-bar[data-cli-style] .wt-cli-ccpa-opt-out:hover {
  color: #fff !important;
}
#cookie-law-info-bar[data-cli-style] .cli-bar-btn_container {
  flex: none;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
#cookie-law-info-bar[data-cli-style] .cli-plugin-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0 !important;
  padding: 0 16px;
  border-radius: var(--wp--custom--radius--control);
  font: 600 0.8125rem/1 var(--wp--preset--font-family--sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease),
    border-color var(--wp--custom--motion--base) var(--wp--custom--motion--ease);
}
#cookie-law-info-bar[data-cli-style] .cli_settings_button {
  border: 1px solid var(--wp--custom--border--control);
  background: transparent !important;
  color: #fff !important;
}
#cookie-law-info-bar[data-cli-style] .cli_settings_button:hover {
  border-color: var(--wp--preset--color--orange-300);
  background: rgba(255, 255, 255, 0.06) !important;
}
#cookie-law-info-bar[data-cli-style] .wt-cli-accept-btn {
  border: 0;
  background: var(--wp--preset--gradient--grad-orange) !important;
  color: #fff !important;
}
#cookie-law-info-bar[data-cli-style] .wt-cli-accept-btn:hover {
  background: var(--wp--preset--color--orange-deep) !important;
}
#cookie-law-info-bar[data-cli-style] :is(.cli-plugin-button, .wt-cli-ccpa-opt-out):focus-visible {
  outline: 2px solid var(--wp--preset--color--orange-300);
  outline-offset: 2px;
}
/* The "Manage consent" tab (off in the plugin settings today) gets the same treatment if it is turned on. */
#cookie-law-info-again {
  z-index: 80 !important;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 0;
  border-radius: var(--wp--custom--radius--control) var(--wp--custom--radius--control) 0 0;
  box-shadow: none;
  font: 600 0.75rem/1.2 var(--wp--preset--font-family--sans) !important;
  background-color: var(--wp--preset--color--navy-900) !important;
  color: var(--wp--preset--color--ink-100) !important;
  width: auto !important;
}
/* The plugin's Cookie Settings dialog, in the same dark treatment. */
#cliSettingsPopup .cli-modal-dialog {
  color: var(--wp--preset--color--ink-200);
  font-family: var(--wp--preset--font-family--sans);
}
#cliSettingsPopup .cli-modal-content {
  background-color: var(--wp--preset--color--navy-900);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--wp--custom--radius--card);
  box-shadow: var(--wp--preset--shadow--menu);
}
#cliSettingsPopup .cli-modal-close {
  color: #fff;
}
#cliSettingsPopup .cli-modal-close svg {
  fill: currentColor;
}
#cliSettingsPopup h4 {
  color: #fff;
  font-weight: 700;
}
#cliSettingsPopup :is(.cli-privacy-content-text, .cli-tab-container p, .wt-cli-cookie-description) {
  color: var(--wp--preset--color--ink-200);
}
#cliSettingsPopup a.cli-privacy-readmore {
  color: var(--wp--preset--color--orange-300);
}
#cliSettingsPopup .cli-tab-header {
  background-color: var(--wp--preset--color--navy-850);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
#cliSettingsPopup .cli-tab-header a.cli-nav-link {
  color: #fff;
}
#cliSettingsPopup .cli-tab-content {
  background: transparent;
}
#cliSettingsPopup :is(span.cli-necessary-caption, .cli-switch .cli-slider::after) {
  color: var(--wp--preset--color--ink-300);
}
#cliSettingsPopup .cli-switch .cli-slider {
  background-color: var(--wp--preset--color--ink-400);
}
#cliSettingsPopup .cli-switch input:checked + .cli-slider {
  background-color: var(--wp--preset--color--orange);
}
#cliSettingsPopup .cli-tab-footer .cli-btn {
  border-radius: var(--wp--custom--radius--control);
  font-weight: 600;
}
#cliSettingsPopup .cli-tab-footer .wt-cli-privacy-accept-btn {
  background: var(--wp--preset--gradient--grad-orange);
  color: #fff;
}
#cliSettingsPopup .wt-cli-ckyes-footer-section {
  background: transparent;
}
/* The plugin's "Powered by" badge keeps its own logo colors on a small white tile, like the vendor logos. */
#cliSettingsPopup .wt-cli-ckyes-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: var(--wp--custom--radius--control);
  background: #fff;
  color: #333;
}
#cliSettingsPopup table.cookielawinfo-winter {
  background: transparent;
  color: var(--wp--preset--color--ink-200);
}
#cliSettingsPopup table.cookielawinfo-winter thead th {
  background: var(--wp--preset--color--navy-850);
  color: #fff;
}
#cliSettingsPopup table.cookielawinfo-winter tbody,
#cliSettingsPopup table.cookielawinfo-winter tbody tr,
#cliSettingsPopup table.cookielawinfo-winter tbody tr.odd {
  border-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}
#cliSettingsPopup table.cookielawinfo-winter tbody :is(td, th) {
  background: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
#cliSettingsPopup table.cookielawinfo-winter tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
@media (max-width: 739.98px) {
  #cookie-law-info-bar[data-cli-style] {
    padding: 9px 16px;
    font-size: 0.75rem;
    line-height: 1.4;
    bottom: var(--cx-mobile-bar-h) !important;
  }
  #cookie-law-info-bar[data-cli-style] .cli-bar-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }
  #cookie-law-info-bar[data-cli-style] .cli-bar-btn_container {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }
  #cookie-law-info-bar[data-cli-style] .cli-plugin-button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.75rem;
  }
  body:has(.cx-mobilebar.is-hidden) #cookie-law-info-bar[data-cli-style] {
    bottom: 0 !important;
  }
  #cookie-law-info-again {
    bottom: var(--cx-mobile-bar-h) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #cookie-law-info-bar[data-cli-style] {
    transition: none;
  }
}
