.lodging__margins {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}

.lodging__title,
.lodging__subtitle {
  color: #0C284D;
}

.lodging__subtitle {
  margin-top: 20px;
  margin-bottom: 15px;
}

section#gallery {
  background-color: #f1f1f1;
  margin-top: 30px;
  padding-bottom: 30px;
}

.lodging__section {
  padding: 20px 0;
}

.lodging__header {
  background-image: url("/assets/header-deco-d9307114.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  padding-top: 50px;
}

.lodging__header-container,
.lodging__gallery-images-container,
.lodging__amenities,
.lodging__amenity {
  display: flex;
}

.lodging__header-container {
  flex-direction: column;
}

.lodging__displayed-image {
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.lodging__gallery-images-container {
  justify-content: center;
  gap: 5px;
  margin-top: 5px;
}

.lodging__gallery-image {
  box-sizing: border-box;
  width: 30px;
  aspect-ratio: 1;
  object-fit: cover;
}

.lodging__gallery-image.selected {
  border: 3px solid #6555C7;
  border-radius: 4px;
}

.lodging__description {
  margin-top: 15px;
  white-space: pre-wrap;
}

.lodging__subtitle::after {
  display: block;
  content: "";
  background-color: black;
  width: 100%;
  height: 2px;
}

.lodging__amenities {
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.lodging__amenity {
  background-color: #f1f1f1;
  gap: 8px;
  align-items: center;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 4px;
}

.lodging__amenity-icon {
  width: 40px;
  aspect-ratio: 1;
}

@media only screen and (width > 768px) {
  .lodging__header {
    background-position: top left;
    background-size: 50%;
  }

  .lodging__header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
