/* Shared navigation, independent of the downloaded Elementor menu runtime. */
.mirror-header {
  position: relative;
  z-index: 1000;
  background: #fff;
  border-bottom: 0;
  font-family: Arial, Helvetica, sans-serif;
}

/* The retired theme navigation leaves a dark 1px row below the new header. */
.mirror-header ~ .col-full-nav { display: none; }

.mirror-header__inner {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 150px;
  align-items: center;
  gap: 24px;
  min-height: 84px;
  max-width: 1680px;
  margin: 0 auto;
  padding: 14px 32px;
}

.mirror-header__logo { display: block; width: 150px; }
.mirror-header__logo img { display: block; width: 100%; height: auto; }
.mirror-header__nav { min-width: 0; }
.mirror-header__nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.1vw, 20px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mirror-header__nav li { flex: 0 1 auto; min-width: 0; margin: 0; padding: 0; }
.mirror-header .mirror-header__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 185px;
  padding: 4px 0;
  color: #252a2d;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .025em;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}
.mirror-header__nav > ul > li > .mirror-header__link { max-width: none; white-space: nowrap; }
.mirror-header .mirror-header__link:hover,
.mirror-header .mirror-header__link[aria-current="page"] { color: #117d78; }
.mirror-header .mirror-header__register {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid #20b8af;
  border-radius: 999px;
  background: #25b9b1;
  color: #101b1c;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
.mirror-header .mirror-header__register:hover { background: #1da79f; }
.mirror-header a:focus-visible,
.mirror-header button:focus-visible,
.mirror-header summary:focus-visible { outline: 3px solid #117d78; outline-offset: 4px; }
.mirror-header__toggle { display: none; }
/* Keep expanded navigation above the fixed accessibility toolbar. */
.mirror-header.is-open { z-index: 10000; }
.mirror-header__more { position: relative; }
.mirror-header__more > summary { gap: 9px; list-style: none; cursor: pointer; white-space: nowrap; }
.mirror-header__more > summary::-webkit-details-marker { display: none; }
.mirror-header__chevron { width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.mirror-header__more[open] .mirror-header__chevron { transform: translateY(2px) rotate(225deg); }
.mirror-header__nav .mirror-header__submenu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  display: block;
  width: 300px;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  border: 1px solid #e1e9e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(25, 50, 48, .12);
}
.mirror-header__more:not([open]) > .mirror-header__submenu { display: none; }
.mirror-header .mirror-header__submenu .mirror-header__link { justify-content: flex-start; max-width: none; padding: 12px 0; text-align: left; }

@media (max-width: 1199px) {
  .mirror-header__inner {
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 16px;
    min-height: 76px;
    padding: 14px 24px;
  }
  .mirror-header__logo { grid-column: 1; grid-row: 1; width: 140px; max-width: 100%; }
  .mirror-header .mirror-header__toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    grid-column: 3;
    grid-row: 1;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #252a2d;
    cursor: pointer;
  }
  .mirror-header__toggle span { display: block; width: 23px; height: 3px; background: currentColor; }
  .mirror-header .mirror-header__toggle:hover { background: #eef7f6; }
  .mirror-header .mirror-header__register { grid-column: 2; grid-row: 1; justify-self: end; }
  .mirror-header__nav { display: none; grid-column: 1 / -1; grid-row: 2; }
  .mirror-header.is-open .mirror-header__nav { display: block; padding-top: 10px; border-top: 1px solid #e0e7e6; }
  .mirror-header__nav ul { display: block; }
  .mirror-header .mirror-header__link { justify-content: flex-start; max-width: none; padding: 12px 0; text-align: left; font-size: 16px; white-space: normal; }
  .mirror-header__nav .mirror-header__submenu { position: static; width: auto; max-width: none; margin: 0 0 8px; padding: 0 0 0 16px; border: 0; border-left: 2px solid #25b9b1; border-radius: 0; box-shadow: none; }
}

@media (max-width: 600px) {
  .mirror-header__inner { gap: 8px; min-height: 70px; padding: 12px 16px; }
  .mirror-header__logo { width: 110px; }
  .mirror-header .mirror-header__register { min-height: 42px; padding: 11px 12px; font-size: 12px; }
}
