/* Website wordmark and the existing Southern Oak logo, scoped to the top headers. */
.site-header .header-wrap .brand,
.alex-header .alex-brand {
  gap: 10px;
}

.site-header .header-brand-logo,
.alex-header .header-brand-logo {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  object-fit: contain;
  border-radius: 50%;
}

.site-header .header-wrap .brand-words,
.alex-header .alex-brand span {
  display: block;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  white-space: nowrap;
}

@media (max-width: 540px) {
  .site-header .header-wrap .brand,
  .alex-header .alex-brand { gap: 7px; }

  .site-header .header-brand-logo,
  .alex-header .header-brand-logo {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }

  .site-header .header-wrap .brand-words,
  .alex-header .alex-brand span {
    font-size: clamp(12px, 3.5vw, 16px) !important;
  }

  .site-header .header-wrap .mobile-phone.cash-offer-cta {
    font-size: clamp(11px, 3.3vw, 16px);
  }
}

@media (max-width: 360px) {
  .site-header .header-wrap:has(.cash-offer-cta) { gap: 6px; }
  .site-header .header-wrap .brand,
  .alex-header .alex-brand { gap: 6px; }

  .site-header .header-brand-logo,
  .alex-header .header-brand-logo {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }

  .site-header .header-wrap .menu-toggle {
    width: 34px;
    flex-basis: 34px;
  }

  .site-header .header-wrap .mobile-phone.cash-offer-cta {
    padding-inline: 5px;
  }
}
