/* ==========================================================================
   LEAFORGE TECHNOLOGIES — TOP BAR
   CLEAN HEADER BUILD: VERA004

   Single source for desktop, tablet and mobile topbar styling.
   Mobile keeps the same desktop color, font and visual treatment.
   ========================================================================== */

/* 01. Desktop / shared topbar */
.lf-fw2-header .lf-fw2-topbar,
.lf-fw2-header.is-scrolled .lf-fw2-topbar {
  position: relative;
  z-index: 2147483002;
  width: 100%;
  height: 46px;
  min-height: 46px;
  max-height: 46px;
  display: flex;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: auto;
  background: #171717;
  border: 0;
  box-shadow: none;
}

.lf-fw2-topbar .lf-fw2-container,
.lf-fw2-topbar .lf-fw2-topbar-inner,
.lf-fw2-topbar-inner {
  width: 100%;
  max-width: 1500px;
  height: 28px;
  min-height: 28px;
  max-height: 28px;
  margin: 9px auto 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  pointer-events: auto;
}

.lf-fw2-topbar-links {
  height: 28px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  position: relative;
  z-index: 2;
  text-align: right;
  pointer-events: auto;
}

.lf-fw2-topbar-links > a,
.lf-fw2-header .lf-fw2-topbar-links > a,
.lf-fw2-header.is-scrolled .lf-fw2-topbar-links > a {
  height: 28px;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #e2e2e2;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: "Raleway", "Poppins", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
  pointer-events: auto;
}

.lf-fw2-topbar-links > a:hover,
.lf-fw2-topbar-links > a:focus-visible {
  color: #ffffff;
  opacity: 1;
}

/* Match desktop behavior: the utility bar collapses after scroll. */
.lf-fw2-header.is-scrolled .lf-fw2-topbar {
  display: none;
  position: absolute;
  inset: 0 0 auto 0;
  height: 0;
  min-height: 0;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 02. Tablet */
@media (max-width: 1240px) {
  .lf-fw2-header .lf-fw2-topbar {
    height: 42px;
    min-height: 42px;
    max-height: 42px;
  }

  .lf-fw2-topbar .lf-fw2-container,
  .lf-fw2-topbar .lf-fw2-topbar-inner,
  .lf-fw2-topbar-inner {
    height: 26px;
    min-height: 26px;
    max-height: 26px;
    margin-top: 8px;
  }

  .lf-fw2-topbar-links > a,
  .lf-fw2-header .lf-fw2-topbar-links > a {
    font-size: 13px;
  }
}

/* 03. Mobile/tablet parity with desktop */
@media (max-width: 1100px) {
  .lf-fw2-header .lf-fw2-topbar {
    display: flex;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    pointer-events: auto;
    background: #171717;
  }

  .lf-fw2-header.is-scrolled .lf-fw2-topbar {
    display: none;
    height: 0;
    min-height: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .lf-fw2-topbar .lf-fw2-container,
  .lf-fw2-topbar .lf-fw2-topbar-inner,
  .lf-fw2-topbar-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .lf-fw2-topbar-links {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .lf-fw2-topbar .lf-fw2-container,
  .lf-fw2-topbar .lf-fw2-topbar-inner,
  .lf-fw2-topbar-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .lf-fw2-topbar-links {
    width: 100%;
    gap: 14px;
    justify-content: flex-end;
  }

  .lf-fw2-topbar-links > a,
  .lf-fw2-header .lf-fw2-topbar-links > a {
    font-size: 12px;
    letter-spacing: 0.1px;
  }
}
