.discovery-photo {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.discovery-gallery {
  position: relative;
  min-width: 0;
  background: #fff;
}

.discovery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.gallery-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px;
  background: #fff;
}

.gallery-tabs button {
  border: 1px solid rgba(0, 103, 125, .24);
  border-radius: 999px;
  background: #fff;
  color: var(--teal);
  cursor: pointer;
  font: 700 9px/1 "Manrope", sans-serif;
  letter-spacing: .1em;
  padding: 11px 8px;
  text-transform: uppercase;
}

.gallery-tabs button.is-active {
  background: var(--teal);
  color: #fff;
}

.availability {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--teal);
  color: #fff;
  padding: 8px 13px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0, 103, 125, .18);
}

.discovery-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 19px 0 18px;
}

.discovery-price strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--teal);
}

.discovery-price small {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--soft-ink);
}

.discovery-inquiry {
  display: inline-block;
  color: var(--teal);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid var(--aqua);
  padding-bottom: 4px;
}

.discovery-inquiry:hover {
  border-bottom-color: var(--teal);
}

@media (max-width: 590px) {
  .discovery-photo img {
    object-position: center;
  }

  .availability {
    top: 14px;
    left: 14px;
  }

  .gallery-tabs {
    padding: 10px;
  }
}
