/* ===== START: TOP NAVIGATION (DESKTOP + COMMON) ===== */
.layout-container > nav[role="navigation"] {
  display: flex;
  align-items: center;
  position: fixed;
  top: env(safe-area-inset-top, 0px);
  left: 0;
  right: 0;
  background: var(--evervoice-nav-bg);
  /* border: 1px solid var(--evervoice-nav-border); */
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  height: var(--evervoice-nav-height);
  min-height: var(--evervoice-nav-height);
  padding: 0 1rem;
  margin: 0;
  box-sizing: border-box;
  color: var(--evervoice-nav-text);
  z-index: 900;
  /* box-shadow: 0 8px 28px var(--evervoice-nav-shadow); */
}

.layout-container > nav[role="navigation"] > * {
  flex: 1 1 auto;
  min-width: 0;
}

.evervoice-nav {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.evervoice-nav__brand {
  color: var(--evervoice-nav-text);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.12em;
  font-weight: 400;
}

.evervoice-nav__brand-strong {
  font-weight: 800;
}

.evervoice-nav__brand-soft {
  font-weight: 400;
}

.evervoice-nav__brand:hover,
.evervoice-nav__brand:focus {
  text-decoration: none;
}

.evervoice-nav__desktop {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.evervoice-nav__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.evervoice-nav__simple-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.evervoice-nav__link {
  color: var(--evervoice-nav-text);
  text-decoration: none;
  border: 1px solid var(--evervoice-nav-border);
  border-radius: var(--evervoice-radius-pill);
  background: var(--evervoice-nav-chip-bg);
  min-height: 36px;
  padding: 0.42rem 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}

.evervoice-nav__link--cta {
  gap: 0.5rem;
  justify-content: center;
  padding-inline: 1rem;
}

.evervoice-nav__link-icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.evervoice-nav__link-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.evervoice-nav__link--primary {
  background: var(--evervoice-action-color);
  border-color: var(--evervoice-action-color);
  color: #fff;
}

.evervoice-nav__link--primary:hover,
.evervoice-nav__link--primary:focus,
.evervoice-nav__link--primary:focus-visible {
  background: var(--evervoice-action-color);
  border-color: var(--evervoice-action-color);
  color: #fff;
}

.evervoice-nav__link--secondary {
  background: #0d3f82;
  border-color: #0d3f82;
  color: #89b6ff;
}

.evervoice-nav__link--secondary:hover,
.evervoice-nav__link--secondary:focus,
.evervoice-nav__link--secondary:focus-visible {
  background: #114b98;
  border-color: #114b98;
  color: #a4c6ff;
}

.evervoice-nav__link--badge {
  position: relative;
  padding-right: 1rem;
  overflow: visible;
  font-weight: 700;
  line-height: 1;
}

.evervoice-nav__link:hover,
.evervoice-nav__link:focus {
  border-color: var(--evervoice-nav-border-hover);
  text-decoration: none;
}
/* ===== END: TOP NAVIGATION (DESKTOP + COMMON) ===== */

/* ===== START: MOBILE HAMBURGER NAVIGATION ===== */
.evervoice-nav-mobile {
  display: none;
  margin-left: auto;
  position: relative;
}

a.button.primary.evervoice-nav-mobile__cta {
  display: none;
  min-height: 36px;
  padding: 0.42rem 0.8rem;
  flex: 0 0 auto;
  white-space: nowrap;
  margin-right:12px;
}

.evervoice-nav-mobile__summary {
  list-style: none;
  cursor: pointer;
  width: 20px;
  min-width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 0;
  font-size: 0;
}

.evervoice-nav-mobile__summary::-webkit-details-marker {
  display: none;
}

.evervoice-nav-mobile__summary::marker {
  content: "";
}

.evervoice-nav-mobile__line {
  display: block;
  width: 20px;
  flex: 0 0 4px;
  height: 4px;
  background: var(--evervoice-nav-text);
  border-radius: 0;
}

.evervoice-nav-mobile__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  width: min(320px, calc(100vw - 2rem));
  max-height: min(78vh, 760px);
  overflow-y: auto;
  padding: 0.9rem 0.95rem;
  background: var(--evervoice-white);
  border: 0;
  border-radius: var(--evervoice-radius-base);
  box-shadow: 0 12px 28px var(--evervoice-panel-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 20;
}

.evervoice-nav-mobile__menu-group {
  display: grid;
  gap: 0.15rem;
}

.evervoice-nav-mobile__menu-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.35;
}

.evervoice-nav-mobile__menu-link:hover,
.evervoice-nav-mobile__menu-link:focus,
.evervoice-nav-mobile__menu-link:focus-visible {
  text-decoration: none;
}

h3.evervoice-nav-mobile__menu-heading {
  margin: 0 0 0.35rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.92rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  font-family: "Helvetica", Arial, sans-serif;
  line-height: 1.2;
}

.evervoice-nav-mobile__menu-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
}

.evervoice-nav-mobile__menu-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

.evervoice-nav-mobile__menu-divider {
  height: 1px;
  margin: 0.65rem 0;
  background: rgba(255, 255, 255, 0.1);
}

.evervoice-nav-mobile__menu-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.15rem;
}

.evervoice-nav-mobile__menu-button.button,
.evervoice-nav-mobile__menu-button.button.primary {
  width: 100%;
  justify-content: center;
  gap: 0.55rem;
  min-height: 42px;
  font-weight: 600;
}

.evervoice-nav-mobile__menu-button.button.primary {
  background: var(--evervoice-action-color);
  color: #fff;
}

.evervoice-nav-mobile__menu-button.button.primary:hover,
.evervoice-nav-mobile__menu-button.button.primary:focus,
.evervoice-nav-mobile__menu-button.button.primary:focus-visible {
  background: var(--evervoice-action-color);
  color: #fff;
}

.evervoice-nav-mobile__menu-button.button.evervoice-nav-mobile__menu-button--secondary {
  background: #0d3f82;
  color: #89b6ff;
}

.evervoice-nav-mobile__menu-button.button.evervoice-nav-mobile__menu-button--secondary:hover,
.evervoice-nav-mobile__menu-button.button.evervoice-nav-mobile__menu-button--secondary:focus,
.evervoice-nav-mobile__menu-button.button.evervoice-nav-mobile__menu-button--secondary:focus-visible {
  background: #114b98;
  color: #a4c6ff;
}

.evervoice-nav-mobile__menu-icon--button {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
  color: inherit;
}

.evervoice-nav-mobile__menu-icon--button svg {
  width: 16px;
  height: 16px;
}

.evervoice-nav-mobile__panel--anon {
  padding: 0.95rem 1rem 1rem;
  background: #2f2d29;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}
/* ===== END: MOBILE HAMBURGER NAVIGATION ===== */
/* ===== START: RESPONSIVE <= 900PX / MENU ===== */
@media (max-width: 900px) {
  .layout-container > nav[role="navigation"] {
    top: env(safe-area-inset-top, 0px);
    height: var(--evervoice-nav-height);
    min-height: var(--evervoice-nav-height);
    padding: 0 1rem;
  }

  .evervoice-nav__desktop {
    display: none;
  }

  .evervoice-nav-mobile {
    display: flex;
    align-items: center;
    gap: 0.65rem;
  }

  a.button.primary.evervoice-nav-mobile__cta {
    display: inline-flex;
  }

  .evervoice-nav__right {
    gap: 0.45rem;
  }
}
/* ===== END: RESPONSIVE <= 900PX / MENU ===== */
