.hero {
  position: relative;
  width: 100%;
  height: 1224px;
  aspect-ratio: 16 / 5;
  min-height: 355px;
  padding-inline: 2rem;
  padding-bottom: 2rem;
  background-size: cover;
  display: flex;
  padding-top: 60px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero .hero-title {
  color: #fbfdff;
  text-align: center;
  margin: 0;
  margin-bottom: 24px;
  font-size: 3.5rem;
  font-weight: 500;
  font-family: APK, sans-serif;
}

.hero::before {
  content: "";
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.75) 0%,
    transparent 50%
  );
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero .hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  object-fit: cover;
  object-position: top;
  filter: brightness(0.7);
}

.hero .hero-bg.desktop {
  z-index: -2;
}

@media (max-width: 768px) {
  .hero .hero-bg.desktop {
    display: none;
  }
}

@media (min-width: 769px) {
  .hero .hero-bg:not(.desktop) {
    display: none;
  }
}

.hero .hero-search {
  width: 100%;
  max-width: 750px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 100px;
}

.hero .hero-search .icons {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2rem;
  z-index: 1;
}

.hero .hero-search .icons button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  font-size: 2rem;
  width: 2rem;
  height: 2rem;
  cursor: pointer;
  margin-inline-start: 0.75rem;
  padding-inline-start: 0.75rem;
  border: none;
}

.hero .hero-search .icons button.hidden {
  display: none;
}

.hero .hero-search .icons button > svg {
  width: 100%;
}

.hero .hero-search button:not(.hidden):not(:first-child) {
  border-inline-start: 1px solid rgba(153, 161, 183, 0.4);
}

.hero .hero-search input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem 2rem;
}

.hero .hero-search input:focus-visible {
  outline: none;
}

.hero .hero-search input,
.hero .hero-search input::placeholder {
  color: #00154a;
}

.hero .hero-search input::placeholder {
  color: rgba(0, 21, 74, 0.4);
}

.hero .hero-search .filters-dropdown {
  box-sizing: border-box;
  position: absolute;
  right: 0rem;
  bottom: -0.5rem;
  transform: translateY(100%);
  background: white;
  padding: 1.5rem;
  border-radius: 0.85rem;
  box-shadow: 0 2px 4px #11111612;
  width: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.hero .hero-search .filters-dropdown .filter {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}

.hero .hero-search .filters-dropdown .filter label {
  font-weight: 700;
  color: #00154a;
}

.hero .hero-search .filters-dropdown .filter input[type="text"],
.hero
  .hero-search
  .filters-dropdown
  .filter
  .select2
  .selection
  .select2-selection--single {
  padding: 0 1.5rem;
  height: 50px;
  border-radius: 55px;
  display: flex;
  align-items: center;
  border: 1px solid #11111616;
  font-size: 1rem;
}

.hero .hero-search .filters-dropdown .filter input[type="text"]::placeholder,
.hero
  .hero-search
  .filters-dropdown
  .filter
  .select2
  .selection
  .select2-selection--single::placeholder {
  font-size: 1rem;
}

.hero .hero-search .filters-dropdown .filter input[type="text"] {
  width: auto;
}

.hero
  .hero-search
  .filters-dropdown
  .filter
  .select2
  .selection
  .select2-selection--single {
  justify-content: space-between;
}

.hero
  .hero-search
  .filters-dropdown
  .filter
  .select2
  .selection
  .select2-selection--single
  .select2-selection__rendered {
  position: relative;
  padding: 0;
  flex: 1;
  line-height: 1;
  top: 2px;
  color: #99a1b7;
}

.hero
  .hero-search
  .filters-dropdown
  .filter
  .select2
  .selection
  .select2-selection--single
  .select2-selection__arrow {
  position: static;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.hero
  .hero-search
  .filters-dropdown
  .filter
  .select2
  .selection
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: #99a1b7 transparent transparent transparent;
  margin: 0;
  position: static;
}

.hero .hero-search .filters-dropdown .date-pickers {
  display: flex;
  gap: 1rem;
}

.hero .hero-search .filters-dropdown .date-pickers > div {
  flex: 1;
}

.hero .hero-search .filters-dropdown .buttons {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
}

.hero .hero-search .filters-dropdown .buttons button {
  cursor: pointer;
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  background: #ee7149;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 0;
  outline: 0;
  font-size: 1rem;
}

.hero .hero-search .filters-dropdown .buttons button.clear-btn {
  background: white;
  color: #ee7149;
}

.hero .hero-search .filters-dropdown .buttons button.search-btn {
  background: #ee7149;
  color: white;
}

@media (max-width: 768px) {
  .hero {
    min-height: 300px;
    padding: 1.5rem;
    margin-top: 59px;
  }

  .hero .hero-search {
    padding: 1rem 1.5rem;
  }

  .hero .hero-search input {
    padding: 0;
  }
}
