/* ==============================================
   Site-specific brand and contact overrides
   ============================================== */

/* --- Desktop Logo & Brand --- */

.site-brand {
  align-items: center;
  gap: 10px;
  line-height: normal;
}

.site-brand.logo-black,
.site-brand.logo-white {
  display: flex;
}

.navbar-light .site-brand.logo-black,
.navbar-dark .site-brand.logo-white,
.tra-menu.navbar-light .scroll .site-brand.logo-white,
.tra-menu.navbar-dark.black-scroll .scroll .site-brand.logo-black {
  display: none;
}

.tra-menu.navbar-light .scroll .site-brand.logo-black,
.tra-menu.navbar-dark.black-scroll .scroll .site-brand.logo-white {
  display: flex;
}

/* Desktop logo image — slightly smaller to give nav links more room */
.desktoplogo img {
  max-height: 34px !important;
}

.brand-name {
  color: #1d222f;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.navbar-dark .site-brand .brand-name,
.tra-menu.navbar-dark.black-scroll .scroll .site-brand.logo-white .brand-name {
  color: #1d222f;
}


/* ==============================================
   Desktop Navigation — Fix alignment & spacing
   ============================================== */

/* Expand container width so logo + links fit on one line */
.wsmainwp {
  max-width: 1200px !important;
}

/* Tighten nav link padding to prevent wrapping */
.wsmenu > .wsmenu-list > li > a {
  padding-left: 14px !important;
  padding-right: 14px !important;
  font-size: 14px !important;
}

/* Between 992px and 1162px screens — even tighter spacing */
@media only screen and (min-width: 992px) and (max-width: 1162px) {
  .desktoplogo {
    margin-left: 0 !important;
  }

  .wsmenu > .wsmenu-list > li > a {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 13px !important;
  }

  .brand-name {
    font-size: 14px;
  }

  .desktoplogo img {
    max-height: 30px !important;
  }
}

/* Ensure nav wraps are prevented via flexbox alignment */
@media only screen and (min-width: 992px) {
  .wsmainwp {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .desktoplogo {
    float: none !important;
    flex-shrink: 0;
    line-height: normal;
    padding: 12px 0;
  }

  .wsmenu {
    float: none !important;
    flex-shrink: 1;
    min-width: 0;
  }

  .wsmenu > .wsmenu-list {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
  }

  .wsmenu > .wsmenu-list > li {
    float: none !important;
    flex-shrink: 0;
  }
}


/* ==============================================
   Mobile Header — Logo, Brand Name & Sidebar
   ============================================== */

/* Mobile brand positioning — centered in header bar */
.mobile-brand {
  align-items: center;
  flex-direction: column;
  gap: 3px;
  left: 50%;
  margin-top: 6px !important;
  padding-left: 0 !important;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.mobile-brand .brand-name {
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  font-weight: 800;
}

@media only screen and (max-width: 991px) {
  /* Taller mobile header to fit bigger logo + brand name */
  .wsmobileheader {
    position: fixed !important;
    height: 80px !important;
    min-height: 80px;
    z-index: 10002;
    background: #fff;
  }

  .wsmobileheader .mobile-brand {
    display: flex;
  }

  /* Large mobile logo */
  .mobile-brand img {
    max-height: 50px !important;
    width: auto;
  }

  .mobile-brand .brand-name {
    font-size: 18px;
    font-weight: 800;
    margin-top: 2px;
    color: #1d222f;
  }

  /* Center the hamburger icon vertically in taller header */
  .wsanimated-arrow {
    top: 16px;
  }

  /* --- Collapse sidebar OVERLAYS the top nav --- */
  /* Sidebar sits on top of everything including the header */
  .wsmenu {
    top: 0 !important;
    z-index: 10003 !important;  /* higher than mobile header (10002) */
  }

  .wsactive .wsmenu {
    height: 100vh;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    visibility: visible;
  }

  .wsmenu > .wsmenu-list {
    padding-top: 15px !important;
    height: 100%;
  }

  .wsmenu > .wsmenu-list > li > a {
    padding: 10px 17px !important;
    font-size: 14px !important;
    line-height: 22px !important;
  }

  /* Push page content below the taller header */
  .inner-page-header ~ * {
    margin-top: 0;
  }
}

/* Smaller mobile screens: still keep logo prominent */
@media only screen and (max-width: 575px) {
  .mobile-brand img {
    max-height: 45px !important;
  }

  .mobile-brand .brand-name {
    font-size: 15px;
  }

  .wsmobileheader {
    height: 75px !important;
    min-height: 75px;
  }

  .wsanimated-arrow {
    top: 14px;
  }
}


/* ==============================================
   Footer Branding
   ============================================== */

.footer-info {
  text-align: center;
}

.footer-brand-name {
  color: #1d222f;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  margin-top: 12px;
}
