header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  position: sticky !important;
  top: 0;
  z-index: 10 !important;
}

header a {
  color: var(--text);
  text-decoration: none;
}

.home {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
}

.logo {
  height: 40px;
}

.logo > * {
  width: unset;
  height: 100%;
}

.title-text {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
  font-family: var(--title);
  text-align: left;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

.title {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

header .title > .lang-en {
  font-size: 0.8em;
}

.subtitle {
  display: block;
  opacity: 0.8;
  font-size: 1.05rem;
  font-weight: var(--regular);
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0;
  color: var(--text);
  appearance: none;
  transition: background var(--transition);
}

.nav-toggle:after {
  content: "\f0c9";
  position: absolute;
  left: 50%;
  top: 50%;
  color: var(--text);
  font-size: 15px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.nav-toggle:checked:after {
  content: "\f00d";
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--heading);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  text-transform: uppercase;
}

nav > a {
  padding: 5px;
}

nav > a:hover {
  color: var(--primary);
}

header .lang-toggle {
  min-width: 48px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.nav-dropdown {
  position: relative;
  padding: 5px;
}
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.nav-dropdown-open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-title {
  padding: 5px;
  display: inline-block;
}
.nav-dropdown-title:hover {
  color: var(--primary);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  min-width: 180px;
  padding: 6px;
  background: var(--background);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-radius: 6px;
  box-shadow: var(--shadow);
  z-index: 20;
  font-family: var(--heading);
  text-transform: uppercase;
}
.nav-dropdown-menu a {
  padding: 6px 10px;
  white-space: nowrap;
  font-size: 0.9em;
}
.nav-dropdown-menu a:hover {
  color: var(--primary);
}

@media (max-width: 700px) {
  .nav-dropdown {
    width: 100%;
    padding: 0;
    text-align: right;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    display: none;
    align-items: flex-end;
    width: 100%;
    padding: 0 10px 0 0;
    text-align: right;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .nav-dropdown.nav-dropdown-open .nav-dropdown-menu {
    display: flex;
  }
}
@media (max-width: 700px) {
  header {
    justify-content: flex-end;
  }
  header .nav-toggle {
    display: flex;
  }
  header .nav-toggle:not(:checked) + nav {
    display: none;
  }
  header nav {
    align-items: flex-end;
    flex-direction: column;
    width: 100%;
  }
  header nav > a,
  header .nav-dropdown {
    width: 100%;
    text-align: right;
  }
}

header.background::before {
  background-position: center;
  opacity: 1;
}

.home-hero {
  position: relative;
  width: 100%;
  height: clamp(360px, 43.75vw, 840px);
  overflow: hidden;
  background: var(--background-alt);
}

.home-hero > img,
.home-hero-slide {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s ease;
  will-change: transform;
}

.home-hero-slide {
  min-width: 100%;
  flex: 0 0 100%;
}

.home-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 64px;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: Arial, sans-serif;
  font-size: 3rem;
  font-weight: 200;
  line-height: 1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  opacity: 0.72;
  cursor: pointer;
  transform: translateY(-50%);
  transition: opacity 0.2s ease, background 0.2s ease;
}

.home-carousel-control:hover,
.home-carousel-control:focus-visible {
  color: #fff;
  background: rgba(0, 0, 0, 0.34);
  opacity: 1;
}

.home-carousel-prev {
  left: 20px;
}

.home-carousel-next {
  right: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .home-carousel-track {
    transition: none;
  }
}
@media (max-width: 700px) {
  .home-hero {
    height: clamp(260px, 65vw, 420px);
  }
  .home-carousel-control {
    width: 40px;
    height: 54px;
    font-size: 2.5rem;
  }
  .home-carousel-prev {
    left: 10px;
  }
  .home-carousel-next {
    right: 10px;
  }
}

/*# sourceMappingURL=header.css.map */