.section-title {
  margin: 0;
  font-size: 22px;
}

.card {
  background: white;
  border-radius: 20px;
  padding: 3px;
  filter: drop-shadow(0px 3px 15px rgba(0, 0, 0, 0.1));
}

.card-txt,
.card-rating {
  margin-left: 5px;
}

.card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
  max-height: 200px;
}

.card-title {
  font-size: 16px;
}

.card-subtitle {
  padding-bottom: 15px;
}

.euro {
  font-weight: 700;
}

.hebergements-and-populaires {
  display: flex;
  justify-content: space-between;
}

.hebergements-and-populaires section {
  background: var(--main-bg-color);
  border-radius: 20px;
  padding: 30px;
  box-sizing: border-box;
}

.hebergements {
  width: 65%;
}

.other {
  display: block;
  margin-top: 25px;
  font-weight: bolder;
}

.other:hover {
  color: var(--main-color);
}

.populaires {
  width: 32%;
}

.populaires-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.populaires-cards .card {
  display: flex;
  margin-top: 33px;
}

.populaires-cards img {
  width: 33%;
  height: 136px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.populaires-cards .card-content {
  width: 67%;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.populaires-cards .card-title {
  margin-top: 10px;
  margin-bottom: 4px;
}

.populaires-cards .card-subtitle {
  margin: 0;
}

.populaires-cards .card-rating {
  margin-bottom: 5px;
}

.hebergements-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.hebergements-cards .card {
  display: flex;
  flex-direction: column;
}

.hebergements-cards img {
  width: 100%;
  height: 150px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  object-fit: cover;
}

.hebergements-cards .card-content {
  padding: 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hebergements-cards .card-title {
  margin-top: 5px;
}

.hebergements-cards .card-subtitle {
  margin: 5px 0 2px 0;
}

.hebergements-cards .card-rating {
  display: flex;
  align-items: center;
}

.hebergements-cards .card-rating .neutral-star {
  color: var(--main-bg-color);
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .hebergements-and-populaires {
    flex-direction: column;
  }

  .hebergements {
    width: 100%;
  }

  .populaires {
    width: 100%;
    margin-top: 50px;
  }

  .populaires-cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .populaires-cards a {
    width: 30%;
  }

  .populaires-cards .card-title {
    font-size: 14px;
  }

  .populaires-cards .card-subtitle {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .hebergements-cards {
    grid-template-columns: repeat(3, 180px);
  }

  .card-title {
    font-size: 14px;
  }

  .card-subtitle {
    font-size: 12px;
  }

  .hebergements-cards .card img {
    height: 100px;
  }
}

@media (max-width: 720px) {
  .hebergements-and-populaires {
    flex-direction: column;
  }

  .populaires {
    order: -1;
    max-width: 700px !important;
    margin-top: 0;
    border-radius: 0 !important;
    justify-content: center;
    margin: 0 auto;
  }

  .hebergements {
    width: 90%;
    background: #fff !important;
    justify-content: center;
    margin: 0 auto;
  }

  .card img {
    max-height: 180px;
    object-fit: cover;
  }

  .card-txt .card-title {
    font-size: 16px;
  }

  .card-txt .card-subtitle {
    font-size: 10px;
  }

  .populaires-cards {
    display: flex;
    flex-direction: column;
  }

  .populaires-cards a,
  .hebergements-cards {
    width: 100%;
  }

  .hebergements-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .hebergements-cards .card-rating {
    margin-bottom: 5px;
  }
}