/* Amenities — staging gold pill chips */

.amenities {
  padding: 0;
  background: #fff;
}

.amenities .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding-bottom: 120px;
}

.amenities__head {
  text-align: center;
  width: 100%;
}

.amenities__title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  line-height: 68px;
  color: #121212;
  margin: 0;
  text-align: center;
}

.amenities__grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0bb7f;
  border-radius: 999px;
  padding: 12px 20px 12px 12px;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  color: #121212;
  justify-content: center;
  transition: background-color 0.2s;
}

.amenity:hover {
  background-color: #e0bb7f;
}

.amenity img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

@media screen and (max-width: 991px) {
  .amenities .container {
    padding-bottom: 48px;
  }

  .amenities__title {
    font-size: 40px;
    line-height: 1.15;
  }
}

@media screen and (max-width: 767px) {
  .amenities__title {
    font-size: 32px;
    line-height: 1.2em;
  }

  .amenities__grid {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    justify-content: center;
  }

  .amenity {
    justify-content: center;
    font-size: 16px;
    width: auto;
    padding: 14px 20px 14px 14px;
  }

  .amenity img {
    width: 36px;
    height: 36px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .amenity:hover {
    background-color: transparent;
  }
}
