/* ============================
   ANNOUNCEMENT + HEADER STACK
   (Announcement is INSIDE .kl-header)
   ============================ */

/* Header wrapper stays fixed at the top */
.kl-header {
  position: fixed;
  top: 0;            /* IMPORTANT: header itself stays at the top */
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Announcement bar sits at the top inside the fixed header */
.kl-announcement {
  position: relative; /* inside fixed header; sticky not required */
  z-index: 1001;
  width: 100%;
  padding: 12px 40px 12px 0;
  font-size: 14px;
  line-height: 1.4;
}

/* Inner wrapper */
.kl-announcement__inner {
  max-width: var(--content-wrapper-width, 1200px);
  margin: 0 auto;
  padding: 0 0 0 20px !important;
  position: relative;
}

/* Content */
.kl-announcement__content {
  text-align: center;
}
.kl-announcement__content > p {
  margin: 0 !important;
}
.kl-announcement__content a {
  text-decoration: none;
  font-weight: 600;
  color: #0270e0;
  display: inline-flex;  /* prevents awkward break inside link */
  align-items: center;
  gap: .35em;
}

/* Close button */
.kl-announcement__close {
  position: absolute;
  top: 5px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  opacity: .6;
  padding: 4px 6px;
  color: #000;
}
.kl-announcement__close:hover {
  opacity: 1;
  text-decoration: none;
}

/* Hidden state */
.kl-announcement--hidden {
  display: none !important;
}

/* NAVBAR sits below the announcement bar */
.kl-navbar {
  position: relative;
 /*  top: var(--ann-height, 0px); /* IMPORTANT: offset NAV only */
}

/* Placeholder reserves space for announcement + navbar */
.kl-header-placeholder {
  height: calc(var(--ann-height, 0px) + var(--header-height, 0px));
  background: transparent;
}


/* ============================
   YOUR EXISTING NAV/MOBILE CSS
   (kept)
   ============================ */

@media screen and (max-width: 1399px) {
  .kl-navbar .hamburger {
    display: block;
  }
}

@media screen and (max-width: 1399px) {
  .kl-header .k1-navbar {
    position: relative;
  }
  .kl-header .kl-navbar__content {
    position: absolute;
    top: 100%;
    height: calc(100vh - 100%) !important;
  }
}

@media screen and (max-width: 1399px) {
  .kl-navbar-submenu-wrapper {
    position: static;
    visibility: visible;
    display: none;
  }

  .kl-navbar--active .kl-navbar__content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .kl-navbar__content {
    padding: 20px 10px 25% !important;
    background-color: rgba(27, 30, 34, 1.0);

    position: fixed;
    width: 100%;
    left: 0;
    bottom: 0;

    height: calc(100% - 68px);

    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;

    visibility: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: transform .25s ease-in-out, opacity .25s ease-in-out;
  }

  .kl-navbar__menu {
    display: block;
    margin: 0 0 24px;
    width: 100%;
  }

  .kl-navbar {
    justify-content: space-between;
  }
}
