.property-destinations,
.property-highlights {
  margin-bottom: 2rem;
}

.property-destinations__card,
.property-highlights__card {
  max-width: 1600px;
  margin: 0 auto;
  padding: var(--gf-card-padding);
}

@media (max-width: 991.98px) {
  .property-destinations__card,
  .property-highlights__card {
    padding: var(--gf-card-padding-sm);
  }
}

.destination-card {
  border: 1px solid var(--bs-border-color);
  border-radius: 1rem;
  padding: 1.5rem;
  background-color: #fff;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  height: 100%;
}

.destination-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background-color: rgba(var(--gf-color-primary-rgb), 0.12);
  color: var(--gf-color-primary);
  font-size: 1.75rem;
}

.destination-card__icon .material-icons {
  font-size: 1.75rem;
  line-height: 1;
}

.destination-card__options {
  margin-top: 0.75rem;
}

.destination-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.destination-entry__label {
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.destination-entry__label:hover {
  background-color: rgba(var(--gf-color-primary-rgb), 0.04);
}

.destination-entry__checkbox {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 0.45rem;
  border: 2px solid #d4dcea;
  background-color: #fff;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.destination-entry__checkbox::after {
  content: '';
  position: absolute;
  width: 0.4rem;
  height: 0.8rem;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  top: 0.1rem;
  left: 0.45rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.destination-entry__text {
  flex: 1 1 auto;
}

.destination-entry__input:focus-visible + .destination-entry__label {
  outline: 3px solid rgba(var(--gf-color-primary-rgb), 0.25);
  outline-offset: 2px;
}

.destination-entry__input:checked + .destination-entry__label {
  background-color: rgba(var(--gf-color-primary-rgb), 0.08);
  box-shadow: 0 0 0 0.25rem rgba(var(--gf-color-primary-rgb), 0.08);
}

.destination-entry__input:checked + .destination-entry__label .destination-entry__checkbox {
  background-color: var(--gf-color-primary);
  border-color: var(--gf-color-primary);
}

.destination-entry__input:checked + .destination-entry__label .destination-entry__checkbox::after {
  opacity: 1;
}

.destination-entry--other {
  width: 100%;
  margin-top: 0.75rem;
}

.destination-entry__checkbox--other {
  border-color: rgba(var(--gf-color-primary-rgb), 0.35);
}

.destination-entry--other.is-active .destination-entry__label,
.destination-entry__label.destination-entry__label--other:hover {
  background-color: rgba(var(--gf-color-primary-rgb), 0.05);
}

.destination-entry--other.is-active .destination-entry__checkbox--other {
  background-color: var(--gf-color-primary);
  border-color: var(--gf-color-primary);
}

.destination-entry--other.is-active .destination-entry__checkbox--other::after {
  opacity: 1;
}

.destination-entry__other-input .gf-form-control {
  width: 100%;
  resize: vertical;
}

.form-check-other {
  position: relative;
}

.form-check-other .other-input-wrapper {
  display: none;
}

.form-check-other.is-active .other-input-wrapper {
  display: block;
}

.form-check-other .other-input {
  resize: vertical;
}

.destination-card__options > .destination-entry--other {
  margin-top: 0.75rem;
}

.destination-grid {
  display: grid;
  gap: 0.75rem;
}

.destination-grid--two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.destination-grid__item {
  display: flex;
}

.destination-grid__item .destination-entry {
  width: 100%;
}

.property-destinations .visually-hidden,
.property-highlights .visually-hidden {
  position: absolute;
}

@media (max-width: 575.98px) {
  .destination-card {
    padding: 1.25rem;
  }

  .destination-card__icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}
