@charset "UTF-8";
/* ============================================
   NAVIGATION / HEADER – LJUST & ENKELT
============================================ */
/* Grundlayout för headern */
/* Sticky navbar – ligger kvar i toppen vid scroll */
#cs-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: #ffffff;
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

#cs-navigation .cs-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Logo */
#cs-navigation .cs-logo {
  width: auto;
  height: auto;
  margin: 0 auto 0 0;
  padding: 0;
  display: flex;
  align-items: center;
}

#cs-navigation .cs-logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* ================================
   NAV – GEMENSAMT
================================ */
.cs-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Toggle-knappen (hamburgare) */
.cs-toggle {
  border: none;
  background: transparent;
  padding: 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.cs-toggle .cs-box {
  width: 24px;
  height: 18px;
  position: relative;
}
.cs-toggle .cs-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 999px;
  background: #111827;
  transition: 0.25s ease;
}
.cs-toggle .cs-line1 {
  top: 0;
}
.cs-toggle .cs-line2 {
  top: 8px;
}
.cs-toggle .cs-line3 {
  bottom: 0;
}

/* Lista & wrapper (desktop-läge) */
.cs-ul-wrapper {
  position: static;
}

.cs-ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* Vanliga länkar */
.cs-li-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  padding: 0.25rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s ease;
}
.cs-li-link:hover, .cs-li-link:focus-visible {
  color: #1e4bb8;
}

/* ================================
   DROPDOWNS – DESKTOP
================================ */
.cs-dropdown {
  position: relative;
}

.cs-drop-icon {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.cs-drop-ul {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 220px;
  padding: 0.75rem 0;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: 0.18s ease;
  z-index: 60;
}

.cs-drop-li {
  padding: 0;
}

.cs-drop-link {
  width: 100%;
  padding: 0.6rem 1.1rem;
  font-size: 0.92rem;
  color: #6b7280;
  display: block;
}
.cs-drop-link:hover {
  background: rgba(37, 99, 235, 0.04);
  color: #1e4bb8;
}

@media (min-width: 900px) {
  .cs-dropdown:hover > .cs-drop-ul,
  .cs-dropdown:focus-within > .cs-drop-ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
/* ================================
   CTA-KNOPP I HEADERN (desktop)
================================ */
.cs-button-solid.cs-nav-button {
  display: none;
}

/* ================================
   MOBILMENY
================================ */
@media (max-width: 899px) {
  #cs-navigation .cs-container {
    padding: 0.6rem 1rem;
  }
  .cs-nav {
    margin-left: auto;
  }
  /* Panelen under headern (overlay + vit meny) */
  #cs-navigation .cs-ul-wrapper {
    position: fixed;
    inset: 56px 0 0 0; /* under headern */
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(8px);
    display: none; /* utgångsläge: gömd */
    justify-content: flex-start;
    align-items: flex-start;
    padding: 0;
    z-index: 50;
  }
  /* När headern får cs-active (nav.js) → visa panelen */
  #cs-navigation.cs-active .cs-ul-wrapper {
    display: flex;
  }
  /* Själva vita menykortet */
  #cs-navigation .cs-ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 100%; /* <-- full width */
    background: #ffffff;
    padding: 1.25rem 1.5rem 1.5rem;
    height: auto;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  }
  /* Visa/dölj UL med aria-expanded (nav.js uppdaterar) */
  #cs-expanded[aria-expanded=false] {
    display: none;
  }
  #cs-expanded[aria-expanded=true] {
    display: flex;
  }
  .cs-li {
    width: 100%;
  }
  .cs-li-link {
    width: 100%;
    padding: 0.4rem 0;
  }
  /* Dropdowns på mobil – styrs via .cs-active på .cs-dropdown (nav.js) */
  #cs-navigation .cs-dropdown .cs-drop-ul {
    position: static;
    box-shadow: none;
    padding: 0.2rem 0 0.6rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
  }
  #cs-navigation .cs-dropdown.cs-active .cs-drop-ul {
    display: flex;
    flex-direction: column;
  }
  #cs-navigation .cs-dropdown .cs-drop-link {
    padding-left: 0;
  }
  .cs-cta-mobile {
    margin-top: 0.5rem;
  }
  .cs-cta-mobile .cs-cta-link {
    display: inline-flex;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: #1e4bb8;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
  }
  .cs-button-solid.cs-nav-button {
    display: none !important;
  }
}
/* ================================
   DESKTOP-LÄGE
================================ */
@media (min-width: 900px) {
  .cs-toggle {
    display: none;
  }
  .cs-ul-wrapper {
    position: static;
  }
  .cs-ul {
    flex-direction: row;
    background: none;
    padding: 0;
  }
  #cs-expanded {
    display: flex !important;
  }
  .cs-cta-mobile {
    display: none;
  }
  .cs-button-solid.cs-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    border: none;
    background: #1e4bb8;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
  }
  .cs-button-solid.cs-nav-button:hover {
    background: #163a8e;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  }
}
/* ============================================
   DESKTOP: dropdown på ren hover
============================================ */
@media (min-width: 900px) {
  #cs-navigation .cs-dropdown > .cs-drop-ul {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  }
  #cs-navigation .cs-dropdown:hover > .cs-drop-ul,
  #cs-navigation .cs-dropdown:focus-within > .cs-drop-ul {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  #cs-navigation .cs-dropdown {
    position: relative;
  }
  #cs-navigation .cs-drop-ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
  }
}
/* Språkflaggor */
.language-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lang-flag img {
  width: 24px;
  height: 16px;
  border-radius: 2px;
  display: block;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.lang-flag:hover img {
  transform: scale(1.05);
  opacity: 0.9;
}

.lang-flag.is-active {
  cursor: default;
  opacity: 0.8;
}
/*# sourceMappingURL=navigation.css.map */