/**
 * Premium portal presentation layer for BEF Emlak.
 * Loaded after the stable theme stylesheet so existing integrations keep their
 * contracts while the public discovery experience receives a richer finish.
 */

:root {
  --bef-premium-gold: #d6a66d;
  --bef-premium-gold-light: #f5d8b5;
  --bef-premium-cream: #fbf8f3;
  --bef-premium-deep: #071b31;
  --bef-premium-glow: 0 24px 70px rgba(5, 22, 40, 0.18);
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 27, 49, 0.97);
  box-shadow: 0 12px 35px rgba(3, 17, 31, 0.18);
  backdrop-filter: blur(16px);
}

.site-header__utility {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(2, 14, 27, 0.5);
}

.site-header__utility-inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.site-header__utility-inner p,
.site-header__utility-inner nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.site-header__utility-inner nav {
  gap: 1.15rem;
}

.site-header__utility-inner a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.site-header__utility-inner a:hover,
.site-header__utility-inner a:focus-visible {
  color: #fff;
}

.site-header__utility-inner .bef-icon {
  width: 1rem;
  height: 1rem;
  color: var(--bef-premium-gold);
}

.site-header__inner {
  min-height: 82px;
  gap: clamp(0.8rem, 2vw, 1.75rem);
}

.site-branding__name {
  gap: 0.65rem;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-branding__mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  background: linear-gradient(145deg, #e0b17a, #a95d39);
  box-shadow: 0 7px 20px rgba(184, 105, 66, 0.32);
  color: #fff;
  font-size: 0.65rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a,
.submenu-toggle {
  border-radius: 999px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.site-nav .bef-nav-duplicate-submit {
  display: none;
}

.site-header__actions {
  gap: 0.45rem;
}

.site-header__icon-action {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition:
    background var(--bef-transition),
    border-color var(--bef-transition),
    transform var(--bef-transition);
}

.site-header__icon-action:hover,
.site-header__icon-action:focus-visible {
  border-color: rgba(214, 166, 109, 0.65);
  background: rgba(214, 166, 109, 0.14);
  color: #fff;
  transform: translateY(-1px);
}

.site-header__icon-action .bef-icon {
  width: 1.1rem;
  height: 1.1rem;
}

.site-header__account {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 0.55rem;
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.15;
  text-decoration: none;
}

.site-header__account:hover,
.site-header__account:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.site-header__account > span {
  display: grid;
}

.site-header__account small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.62rem;
  font-weight: 600;
}

.site-header__avatar {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(214, 166, 109, 0.72);
  border-radius: 50%;
}

.site-header__submit {
  min-height: 44px;
  padding-inline: 1rem;
  border-color: var(--bef-premium-gold);
  background: linear-gradient(135deg, #d6a66d, #b86942);
  box-shadow: 0 9px 25px rgba(184, 105, 66, 0.28);
  color: #10243a;
}

.site-header__submit:hover,
.site-header__submit:focus-visible {
  border-color: #f1c99b;
  background: linear-gradient(135deg, #e7ba84, #c8764e);
  color: #071b31;
}

.home-hero {
  min-height: min(820px, calc(100vh - 116px));
  padding-block: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--bef-premium-deep);
}

.home-hero__backdrop {
  opacity: 1;
}

.home-hero__image {
  opacity: 0.62;
  filter: saturate(0.82) contrast(1.08);
  transform: scale(1.015);
}

.home-hero__backdrop::before {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(
      90deg,
      rgba(5, 24, 43, 0.96) 0%,
      rgba(6, 27, 48, 0.83) 38%,
      rgba(6, 27, 48, 0.31) 72%,
      rgba(6, 27, 48, 0.58) 100%
    ),
    linear-gradient(0deg, rgba(5, 24, 43, 0.62), transparent 52%);
  box-shadow: none;
}

.home-hero__backdrop::after {
  right: -8vw;
  bottom: -26vw;
  width: 58vw;
  height: 58vw;
  border: 1px solid rgba(214, 166, 109, 0.22);
  border-radius: 50%;
  background: rgba(214, 166, 109, 0.035);
  clip-path: none;
  box-shadow:
    0 0 0 7vw rgba(214, 166, 109, 0.025),
    0 0 0 14vw rgba(214, 166, 109, 0.018);
}

.home-hero__shape {
  display: none;
}

.home-hero__inner {
  gap: clamp(2rem, 4vw, 3.5rem);
}

.home-hero__copy {
  max-width: 780px;
}

.home-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(245, 216, 181, 0.3);
  border-radius: 999px;
  background: rgba(7, 27, 49, 0.4);
  backdrop-filter: blur(8px);
}

.home-hero__eyebrow .bef-icon {
  width: 1rem;
  height: 1rem;
}

.home-hero__copy h1 {
  max-width: 11ch;
  margin-top: 1.2rem;
  font-size: clamp(3.2rem, 6.3vw, 6rem);
  letter-spacing: -0.055em;
  line-height: 0.97;
  text-shadow: 0 8px 32px rgba(3, 16, 30, 0.2);
}

.home-hero__copy > p:not(.eyebrow) {
  max-width: 60ch;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.home-hero__primary-action {
  min-height: 50px;
  padding-inline: 1.3rem;
  border-color: var(--bef-premium-gold);
  background: var(--bef-premium-gold);
  box-shadow: 0 14px 34px rgba(214, 166, 109, 0.24);
  color: #10243a;
}

.home-hero__primary-action:hover,
.home-hero__primary-action:focus-visible {
  border-color: var(--bef-premium-gold-light);
  background: var(--bef-premium-gold-light);
  color: #10243a;
}

.home-hero__secondary-action {
  color: #fff;
  font-weight: 800;
  text-decoration-color: rgba(214, 166, 109, 0.7);
}

.home-hero__secondary-action:hover,
.home-hero__secondary-action:focus-visible {
  color: var(--bef-premium-gold-light);
}

.home-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.home-hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 700;
}

.home-hero__trust .bef-icon {
  width: 1rem;
  height: 1rem;
  color: var(--bef-premium-gold);
}

.home-search-band {
  position: relative;
  z-index: 3;
  padding-block: clamp(1.4rem, 3vw, 2.4rem);
  border-bottom: 1px solid rgba(16, 44, 62, 0.09);
  background:
    radial-gradient(circle at 86% 12%, rgba(214, 166, 109, 0.16), transparent 25rem),
    linear-gradient(180deg, #f7f2e9, #fbfaf7);
}

.home-search-band__inner {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.home-search-band__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

.home-search-band__heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.home-search-band__heading .eyebrow .bef-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.home-search-band__heading h2 {
  margin: 0;
  color: var(--bef-color-night);
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}

.home-search-band__heading > p {
  max-width: 48ch;
  margin: 0 0 0.25rem;
  color: var(--bef-color-muted);
}

.home-search-band .property-search {
  transform: none;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  border: 1px solid rgba(16, 44, 62, 0.12);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 58px rgba(9, 36, 55, 0.11);
  backdrop-filter: blur(18px);
}

.home-search-band .property-search__types span {
  border-color: #cbd5d7;
  background: #f4f6f5;
  color: var(--bef-color-night);
}

.home-search-band .property-search__types input:checked + span {
  border-color: var(--bef-color-night);
  background: var(--bef-color-night);
  color: #fff;
}

.home-search-band .property-search .form-field label {
  color: #344552;
}

.home-search-band .property-search input,
.home-search-band .property-search select {
  border-color: #c8d1d2;
  background: #fff;
}

.home-market-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 0.7fr)) minmax(220px, 1.2fr);
  transform: translateY(1.25rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px 18px 0 0;
  background: rgba(4, 20, 37, 0.82);
  box-shadow: 0 20px 50px rgba(3, 17, 31, 0.2);
  backdrop-filter: blur(15px);
}

.home-market-stats > div {
  display: grid;
  align-content: center;
  min-height: 82px;
  padding: 1rem 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.home-market-stats strong {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.15;
}

.home-market-stats span {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.75rem;
}

.home-market-stats .home-market-stats__contact {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-right: 0;
  background: rgba(214, 166, 109, 0.12);
}

.home-market-stats__contact .bef-icon {
  width: 1.65rem;
  height: 1.65rem;
  flex: 0 0 auto;
  color: var(--bef-premium-gold);
}

.home-market-stats__contact span {
  display: grid;
  gap: 0.18rem;
}

.home-market-stats__contact strong {
  font-size: 0.88rem;
}

.quick-categories {
  padding-block: 4.5rem 1.5rem;
  background: linear-gradient(180deg, #fff, var(--bef-premium-cream));
}

.quick-categories__grid {
  gap: 0.8rem;
}

.quick-category {
  min-height: 112px;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-color: rgba(20, 50, 72, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 26px rgba(13, 34, 51, 0.05);
}

.quick-category:hover,
.quick-category:focus-visible {
  border-color: rgba(184, 105, 66, 0.45);
  background: #fff;
  box-shadow: 0 16px 38px rgba(13, 34, 51, 0.11);
  transform: translateY(-3px);
}

.quick-category__icon {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  background: linear-gradient(145deg, #e8efe9, #f8f3ec);
}

.quick-category__copy {
  display: grid;
  min-width: 0;
}

.quick-category__copy strong {
  color: var(--bef-color-night);
  font-size: 0.92rem;
}

.quick-category__copy small {
  color: var(--bef-color-muted);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.35;
}

.quick-category__arrow {
  width: 1rem;
  height: 1rem;
  margin-left: auto;
  color: var(--bef-color-accent);
}

.section-heading {
  align-items: flex-end;
}

.section-heading > div {
  max-width: 690px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -0.035em;
}

.section-heading p:last-child:not(.eyebrow) {
  max-width: 62ch;
  margin-top: 0.8rem;
  color: var(--bef-color-muted);
}

.listing-grid {
  gap: clamp(1rem, 2vw, 1.65rem);
}

.listing-card {
  border-color: rgba(20, 50, 72, 0.1);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(11, 32, 56, 0.08);
}

.listing-card:hover,
.listing-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(11, 32, 56, 0.15);
}

.listing-card__media {
  aspect-ratio: 4 / 3;
}

.listing-card__badge {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(7, 27, 49, 0.9);
  box-shadow: 0 6px 18px rgba(3, 17, 31, 0.16);
  backdrop-filter: blur(8px);
}

.listing-card__body {
  padding: 1.35rem;
}

.listing-card__price {
  color: var(--bef-color-accent-strong);
  font-size: 1.3rem;
}

.home-confidence {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 10%, rgba(214, 166, 109, 0.15), transparent 30%),
    linear-gradient(135deg, #071b31, #123754 68%, #28513c);
  color: #fff;
}

.home-confidence__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
}

.home-confidence__intro h2 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  letter-spacing: -0.04em;
}

.home-confidence__intro > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.72);
}

.home-confidence .eyebrow {
  color: var(--bef-premium-gold-light);
}

.text-link--light {
  color: #fff;
}

.text-link--light:hover,
.text-link--light:focus-visible {
  color: var(--bef-premium-gold-light);
}

.home-confidence__cards {
  display: grid;
  gap: 0.8rem;
}

.home-confidence__cards article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.2rem 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.home-confidence__cards article > span {
  display: grid;
  width: 46px;
  height: 46px;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 14px;
  background: rgba(214, 166, 109, 0.15);
  color: var(--bef-premium-gold-light);
}

.home-confidence__cards h3 {
  align-self: end;
  margin: 0;
  color: #fff;
  font-family: var(--bef-font-sans);
  font-size: 1.02rem;
}

.home-confidence__cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
}

.map-discovery {
  padding: clamp(1rem, 2vw, 2rem);
  border: 1px solid rgba(20, 50, 72, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 50px rgba(11, 32, 56, 0.07);
}

.map-fallback {
  border: 8px solid #fff;
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(11, 32, 56, 0.13);
}

.project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(20, 50, 72, 0.12);
  border-radius: 22px;
  background: linear-gradient(145deg, #18354f, #071b31);
  box-shadow: 0 16px 42px rgba(11, 32, 56, 0.12);
}

.project-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 500ms ease;
}

.project-card:hover .project-card__image,
.project-card:focus-within .project-card__image {
  transform: scale(1.045);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 25, 45, 0.06) 20%, rgba(6, 25, 45, 0.92) 100%);
  content: "";
}

.project-card__overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: 1.4rem;
}

.project-card__overlay > p {
  margin-bottom: 0.3rem;
  color: var(--bef-premium-gold-light);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card__overlay h3 {
  margin-bottom: 0.55rem;
  font-size: 1.45rem;
}

.project-card__overlay > span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
}

.project-card__overlay > span .bef-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.project-card__link {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.project-card__link:hover,
.project-card__link:focus-visible {
  background: var(--bef-premium-gold);
  color: var(--bef-premium-deep);
}

.agent-card {
  min-height: 132px;
  border-color: rgba(20, 50, 72, 0.1);
  border-radius: 20px;
  box-shadow: 0 9px 26px rgba(11, 32, 56, 0.06);
  transition:
    transform var(--bef-transition),
    box-shadow var(--bef-transition);
}

.agent-card:hover,
.agent-card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(11, 32, 56, 0.12);
}

.agent-card__image {
  width: 78px;
  height: 78px;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(184, 105, 66, 0.28);
}

.home-submit-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 10%, rgba(214, 166, 109, 0.22), transparent 32%),
    linear-gradient(135deg, #244934, #0d2d24);
}

.home-submit-cta__inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 1180px) {
  .site-header__account small,
  .site-header__icon-action:first-child {
    display: none;
  }

  .site-header__actions {
    gap: 0.25rem;
  }

  .site-header__submit {
    padding-inline: 0.8rem;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .site-header__utility {
    display: none;
  }

  .site-nav {
    justify-content: center;
    padding-bottom: 0.6rem;
  }

  .home-market-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-market-stats .home-market-stats__contact {
    grid-column: 1 / -1;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: grid;
    justify-content: stretch;
  }

  .home-hero {
    min-height: 0;
  }

  .home-confidence__layout {
    grid-template-columns: 1fr;
  }

  .quick-categories__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .home-search-band__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
  }

  .home-search-band__heading > p {
    max-width: none;
  }

  .home-hero {
    padding-top: 3.2rem;
  }

  .home-hero__copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
  }

  .home-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-hero__primary-action {
    justify-content: center;
  }

  .home-hero__secondary-action {
    align-self: center;
  }

  .home-hero__trust {
    display: grid;
    gap: 0.5rem;
  }

  .home-market-stats {
    grid-template-columns: 1fr 1fr;
    border-radius: 16px 16px 0 0;
  }

  .home-market-stats > div {
    min-height: 72px;
    padding: 0.8rem;
  }

  .home-market-stats > div:nth-child(2) {
    border-right: 0;
  }

  .home-market-stats > div:nth-child(3) {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-market-stats strong {
    font-size: 1.15rem;
  }

  .quick-categories__grid {
    grid-template-columns: 1fr 1fr;
  }

  .quick-category {
    min-height: 100px;
    align-items: flex-start;
    flex-direction: column;
  }

  .quick-category__arrow {
    display: none;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 330px;
  }

  .home-confidence__cards article {
    grid-template-columns: 1fr;
  }

  .home-confidence__cards article > span {
    grid-row: auto;
  }
}

@media (max-width: 380px) {
  .quick-categories__grid,
  .home-market-stats {
    grid-template-columns: 1fr;
  }

  .home-market-stats > div {
    grid-column: 1;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-card__image,
  .listing-card,
  .quick-category,
  .agent-card {
    transition: none;
  }
}

/* Configurable header presets retain the administrator's direct colors. */
.site-header[class] {
  background: var(--bef-header-background, #0b2438);
  color: var(--bef-header-text, #fff);
}

.site-header--static {
  position: relative;
  top: auto !important;
}

.site-header--glass {
  background: var(--bef-header-background, #0b2438);
  background: color-mix(in srgb, var(--bef-header-background, #0b2438) 82%, transparent);
  box-shadow: 0 10px 32px rgb(3 17 31 / 12%);
}

.site-header--light {
  border-bottom-color: color-mix(in srgb, var(--bef-header-text, #fff) 18%, transparent);
  box-shadow: 0 8px 28px rgb(3 17 31 / 10%);
}

.site-header .site-branding__name,
.site-header .site-branding__name:hover,
.site-header .site-nav a,
.site-header .submenu-toggle,
.site-header .site-header__icon-action,
.site-header .site-header__account,
.site-header .site-header__account:hover,
.site-header .site-header__account:focus-visible,
.site-header .menu-toggle {
  color: var(--bef-header-text, #fff);
}

.site-header .site-header__account small,
.site-header__utility-inner,
.site-header__utility-inner a {
  color: color-mix(in srgb, var(--bef-header-text, #fff) 76%, transparent);
}

.site-header__utility,
.site-header .site-nav .sub-menu {
  background: color-mix(in srgb, var(--bef-header-background, #0b2438) 88%, #000);
}

.site-header .site-nav a:hover,
.site-header .site-nav a:focus-visible,
.site-header .site-nav .current-menu-item > a {
  background: color-mix(in srgb, var(--bef-header-text, #fff) 12%, transparent);
  color: var(--bef-header-text, #fff);
}

.site-announcement {
  border-bottom: 1px solid color-mix(in srgb, var(--bef-header-text, #fff) 18%, transparent);
  background: color-mix(
    in srgb,
    var(--bef-color-accent) 84%,
    var(--bef-header-background, #0b2438)
  );
  color: var(--bef-header-text, #fff);
}

.site-announcement__inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-align: center;
}

.site-announcement__inner p,
.site-announcement__inner a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration-thickness: 0.08em;
}

.site-announcement .bef-icon {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.site-header--logo-compact .custom-logo {
  max-height: 38px;
}

.site-header--logo-compact .site-branding__mark {
  width: 34px;
  height: 34px;
}

.site-header--logo-large .custom-logo {
  max-height: 64px;
}

.site-header--logo-large .site-branding__mark {
  width: 46px;
  height: 46px;
}
