html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/* ================= MOBILE NAVBAR ================= */
@media (max-width: 768px) {

  /* show hamburger */
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 10001;
  }

  /* hamburger lines */
  .hamburger,
  .hamburger::before,
  .hamburger::after {
    width: 24px;
    height: 3px;
    background: #000;
    display: block;
    border-radius: 3px;
    position: relative;
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .hamburger::before { top: -7px; }
  .hamburger::after  { top: 7px; }

  /* SLIDE MENU */
  .nav-wrap {
    position: fixed;
    top: 0;
    right: 0;

    width: 100vw;       /* FULL mobile width */
    max-height: 100vh;  /* not full screen height */
    height: auto;

    background: #fff;
    padding: 20px;

    transform: translateX(100%);  /* HIDDEN */
    transition: transform 0.35s ease;

    z-index: 10000;
    overflow-y: auto;
  }

  /* OPEN STATE */
  .site-header.nav-open .nav-wrap {
    transform: translateX(0);     /* SLIDE IN */
  }

  /* vertical nav */
  .header-nav {
    flex-direction: column;
    gap: 12px;
  }
}
/* ================= DESKTOP ================= */
@media (min-width: 769px) {

  .nav-toggle {
    display: none;
  }

  .nav-wrap {
    position: static;
    transform: none;
    width: auto;
    height: auto;
  }
}
@media (max-width: 768px) {

  /* Drawer container */
  .nav-wrap {
    align-items: flex-start !important;   /* LEFT align content */
  }

  /* Nav list */
  .header-nav {
    width: 100%;
    align-items: flex-start !important;   /* LEFT align items */
    text-align: left;
  }

  /* Nav links */
  .header-nav .nav-link {
    width: 100%;
    text-align: left;
  }

  /* Controls (Dark toggle etc.) */
  .header-controls {
    width: 100%;
    display: flex;
    justify-content: flex-start !important;
  }
}
@media (max-width: 768px) {
.header-nav .nav-link.active::after {
    content: "";
    position: absolute;
    width: 100% !important;
}

  /* NAV LIST FULL WIDTH */
  .header-nav {
    width: 100%;
  }

  /* EACH MENU ITEM */
  .header-nav .nav-item {
    width: 100%;
    border-bottom: 1px solid #e5e7eb; /* light divider */
  }

  /* REMOVE LAST BORDER */
  .header-nav .nav-item:last-child {
    border-bottom: none;
  }

  /* LINK SPACING */
  .header-nav .nav-link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: #111;
  }
}
