/* Shareable rental-option pages and the homepage option selector. */

.rental-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 56px;
  padding: 0;
  list-style: none;
}

.rental-switch a {
  display: block;
  height: 100%;
  padding: 14px 16px;
  color: #202526;
  text-decoration: none;
  background: #fff;
  border: 1px solid #c8c5bd;
  border-radius: 8px;
}

.rental-switch a:hover {
  border-color: #0a617e;
}

.rental-switch a[aria-current="page"] {
  color: #fff;
  background: #123739;
  border-color: #123739;
}

.rental-switch strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1rem;
}

.rental-switch span {
  display: block;
  margin-top: 3px;
  font-size: 0.85rem;
  opacity: 0.85;
}

.rental-option-main .rooms-tour-intro {
  margin-bottom: 72px;
}

.rental-option-main .rooms-section-copy h2,
.rental-option-main .rooms-section-copy p {
  text-align: left;
}

.rental-badge {
  display: inline-block;
  margin: 24px 0 0;
  padding: 8px 14px;
  font-family: Montserrat, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
}

.rental-badge-exclusive {
  color: #1f4a2c;
  background: #dcebdc;
}

.rental-badge-private {
  color: #6b3a1f;
  background: #f6e3d3;
}

.rental-facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 40px 0 0;
  border-top: 1px solid #c8c5bd;
  border-bottom: 1px solid #c8c5bd;
}

.rental-facts div {
  padding: 20px 16px 20px 0;
}

.rental-facts div + div {
  padding-left: 18px;
  border-left: 1px solid #c8c5bd;
}

.rental-facts dt {
  color: #526063;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rental-facts dd {
  margin: 6px 0 0;
  font-family: Montserrat, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.rental-facts dd small {
  display: block;
  margin-top: 4px;
  color: #526063;
  font-family: "Open Sans", sans-serif;
  font-size: 0.86rem;
  font-weight: 400;
}

.rental-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  align-items: center;
  margin-top: 32px;
}

.rental-actions p {
  margin: 0;
  color: #465356;
  font-size: 0.95rem;
}

.rental-access {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c8c5bd;
}

.rental-access li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 24px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #c8c5bd;
}

.rental-access li > span:first-child {
  font-size: 1.02rem;
}

.rental-access small {
  display: block;
  margin-top: 3px;
  color: #526063;
  font-size: 0.88rem;
}

.rental-status {
  padding: 5px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 999px;
}

.rental-status-private {
  color: #1f4a2c;
  background: #dcebdc;
}

.rental-status-shared {
  color: #6b3a1f;
  background: #f6e3d3;
}

.rental-status-none {
  color: #465356;
  background: #e7e5df;
}

.rental-occupancy {
  max-width: 820px;
  padding: 28px 32px;
  background: #fff;
  border-left: 6px solid #0a617e;
  border-radius: 4px;
}

.rental-occupancy p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.65;
}

.rental-occupancy p + p {
  margin-top: 12px;
}

.rental-occupancy strong:first-child {
  display: block;
  margin-bottom: 8px;
  font-family: Montserrat, sans-serif;
  font-size: 1.5rem;
}

.rental-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.rental-compare a {
  display: block;
  padding: 24px;
  color: #202526;
  text-decoration: none;
  background: #fff;
  border: 1px solid #c8c5bd;
  border-radius: 8px;
}

.rental-compare a:hover {
  border-color: #0a617e;
}

.rental-compare strong {
  display: block;
  font-family: Montserrat, sans-serif;
  font-size: 1.25rem;
}

.rental-compare span {
  display: block;
  margin-top: 8px;
  color: #465356;
  line-height: 1.55;
}

/* Homepage selector */
.home-rental-options {
  background: #fff;
  border-bottom: 1px solid #deded3;
}

.home-rental-options > p:not(.home-eyebrow) {
  max-width: 720px;
  color: #4d6260;
}

.home-rental-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.home-rental-grid a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 22px;
  color: #202526;
  text-decoration: none;
  background: #f7f5f0;
  border: 1px solid #deded3;
  border-radius: 8px;
}

.home-rental-grid a:hover {
  border-color: #0a617e;
}

.home-rental-grid .rental-badge {
  align-self: flex-start;
  margin: 0 0 14px;
  font-size: 0.78rem;
}

.home-rental-grid strong {
  font: 24px/1.2 Georgia, serif;
}

.home-rental-grid span:not(.rental-badge) {
  margin-top: 8px;
  color: #4d6260;
  font-size: 14px;
  line-height: 1.5;
}

.home-rental-grid em {
  margin-top: auto;
  padding-top: 14px;
  color: #0a617e;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 991px) {
  .rental-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rental-facts div,
  .rental-facts div + div {
    padding: 16px 12px 16px 0;
    border-left: 0;
    border-bottom: 1px solid #e0ddd5;
  }

  .rental-facts div:nth-child(even) {
    padding-left: 12px;
    border-left: 1px solid #e0ddd5;
  }
}

@media (max-width: 767px) {
  .rental-switch {
    gap: 6px;
    margin-bottom: 40px;
  }

  .rental-switch a {
    padding: 10px 8px;
    text-align: center;
  }

  .rental-switch strong {
    font-size: 0.82rem;
  }

  .rental-switch span {
    font-size: 0.72rem;
  }

  .rental-option-main .rooms-tour-intro {
    margin-bottom: 48px;
  }

  .rental-access li {
    grid-template-columns: 1fr;
  }

  .rental-access .rental-status {
    justify-self: start;
  }

  .rental-occupancy {
    padding: 22px 20px;
  }

  .rental-compare,
  .home-rental-grid {
    grid-template-columns: 1fr;
  }

  .home-rental-grid {
    gap: 12px;
  }

  .home-rental-grid a {
    padding: 18px;
  }
}
