:root {
  --gbc-brand-accent: #D8B45A;
  --gbc-brand-accent-rgb: 216, 180, 90;
}

.site-header {
  --gbc-header-height: 76px;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .site-header { --gbc-header-height: 76px; }
}

@media (max-width: 767px) {
  .site-header { --gbc-header-height: 64px; }
}

.gbc-brand-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none !important;
  cursor: pointer;
  line-height: 1;
  transform: translateZ(0);
}

.gbc-brand-wrap .gbc-brand-homeicon,
.gbc-brand-wrap .gbc-brand-logo-wrap,
.gbc-brand-wrap .gbc-brand-logo {
  transition:
    transform 0.8s cubic-bezier(.22,.61,.36,1),
    opacity 0.12s cubic-bezier(.82,.95,.16,1),
    fill 0.28s cubic-bezier(.62,.91,.36,1),
    filter 0.18s cubic-bezier(.22,.61,.36,1);
}

.gbc-brand-wrap .gbc-brand-homeicon {
  width: 2.5rem;
  height: 2.5rem;
  fill: #fff;
  flex: 0 0 auto;
  transform-origin: center center;
}

.gbc-brand-wrap .gbc-brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.gbc-brand-wrap .gbc-brand-logo {
  display: block;
  height: 40px;
  width: auto;
  opacity: 1 !important;
}

.gbc-brand-wrap:hover .gbc-brand-homeicon,
.gbc-brand-wrap:focus-visible .gbc-brand-homeicon {
  fill: var(--gbc-brand-accent);
  transform: translateY(-.042rem) translateX(.03rem);
}

.gbc-brand-wrap:hover .gbc-brand-logo-wrap,
.gbc-brand-wrap:focus-visible .gbc-brand-logo-wrap {
  transform: translateY(-.02rem) translateX(-.03rem);
  filter: drop-shadow(0 0 5px rgba(var(--gbc-brand-accent-rgb), 0.45));
}

.gbc-brand-wrap:hover .logo-white,
.gbc-brand-wrap:focus-visible .logo-white {
  opacity: 1 !important;
}

.gbc-brand-wrap:active .gbc-brand-homeicon,
.gbc-brand-wrap:active .gbc-brand-logo-wrap {
  transform: translateY(0) scale(0.97);
}

.gbc-brand-wrap:focus-visible {
  outline: 3px solid rgba(var(--gbc-brand-accent-rgb), 0.45);
  outline-offset: 4px;
  border-radius: 6px;
}

.site-header .ast-primary-header-bar,
.site-header .ast-builder-grid-row {
  min-height: var(--gbc-header-height) !important;
}

.site-header .site-header-section,
.site-header .site-header-primary-section-left,
.site-header .site-header-primary-section-right {
  display: flex !important;
  align-items: center !important;
}

.site-header .header-widget-area[data-section="sidebar-widgets-header-widget-1"] {
  display: flex !important;
  align-items: center !important;
  align-self: center !important;
  height: var(--gbc-header-height);
  min-height: var(--gbc-header-height);
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.site-header .header-widget-area[data-section="sidebar-widgets-header-widget-1"] #block-17 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  align-self: center !important;
  height: var(--gbc-header-height);
  min-height: var(--gbc-header-height);
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

.site-header .header-widget-area[data-section="sidebar-widgets-header-widget-1"] #block-17 .gbc-brand-wrap {
  align-self: center !important;
  height: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 0 !important;
}

.site-header .ast-builder-menu-1,
.site-header .ast-main-header-bar-alignment,
.site-header .main-header-bar-navigation,
.site-header #primary-site-navigation-desktop,
.site-header #primary-site-navigation-desktop .main-navigation {
  display: flex !important;
  align-items: center !important;
  line-height: 1 !important;
}

.site-header .ast-builder-menu-1 {
  height: var(--gbc-header-height);
  min-height: var(--gbc-header-height);
}

.site-header #ast-hf-menu-1 {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: clamp(28px, 3vw, 54px);
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
  line-height: 1 !important;
}

.site-header #ast-hf-menu-1 > li {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
  line-height: 1 !important;
}

.site-header #ast-hf-menu-1 > li > .menu-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  min-height: var(--gbc-header-height);
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1 !important;
  white-space: nowrap;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-header #ast-hf-menu-1 > li.current-menu-item > .menu-link,
.site-header #ast-hf-menu-1 > li.current_page_item > .menu-link,
.site-header #ast-hf-menu-1 > li > .menu-link:hover,
.site-header #ast-hf-menu-1 > li > .menu-link:focus-visible {
  line-height: 1 !important;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .gbc-brand-wrap { gap: 10px; }
  .gbc-brand-wrap .gbc-brand-homeicon { width: 2.25rem; height: 2.25rem; }
  .gbc-brand-wrap .gbc-brand-logo { height: 38px; }
  .site-header #ast-hf-menu-1 { gap: clamp(20px, 2.5vw, 36px); }
}

@media (max-width: 767px) {
  .gbc-brand-wrap { gap: 0; }
  .gbc-brand-wrap .gbc-brand-homeicon { display: none !important; }
  .gbc-brand-wrap .gbc-brand-logo { height: 36px; }
  .site-header #primary-site-navigation-desktop,
  .site-header #ast-hf-menu-1 { gap: 0; }
  .site-header #ast-hf-menu-1 > li > .menu-link { min-height: auto; }
}
