/* "Reserve your date in 3 simple steps" -- a light row, not cards.
   Self-contained so any page can include partials/booking_steps.html. */

.booking-steps {
  padding-top: 0;
  padding-bottom: 2.5rem;
}

.booking-steps__header {
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.booking-steps__heading {
  font-family: Alike, serif;
  font-weight: bold;
  color: rgb(80, 34, 11);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}

.booking-steps__intro {
  font-family: Alike, serif;
  color: #3b2418;
  font-size: 1rem;
  line-height: 1.5;
}

.booking-steps__list {
  list-style: none;
  margin: 0 auto 1.25rem;
  padding: 0;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.booking-steps__item {
  position: relative;
  text-align: center;
  padding: 0 0.75rem;
}

.booking-steps__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
  border: 1.5px solid var(--site-brown);
  border-radius: 50%;
  color: var(--site-brown);
  font-family: Alike, serif;
  font-weight: bold;
  font-size: 0.95rem;
}

/* A thin dashed line from one number to the next (desktop only). */
.booking-steps__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: calc(50% + 1.5rem);
  width: calc(100% - 1.5rem);
  border-top: 1.5px dashed rgba(80, 34, 11, 0.3);
}

.booking-steps__title {
  font-family: Alike, serif;
  font-weight: bold;
  color: rgb(80, 34, 11);
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.booking-steps__text {
  font-family: Alike, serif;
  color: #3b2418;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.booking-steps__footer {
  margin-top: 0.5rem;
}

.booking-steps__result {
  font-family: Alike, serif;
  font-style: italic;
  color: rgb(80, 34, 11);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.booking-steps__button {
  display: inline-block;
  padding: 0.45rem 1.25rem;
  font-family: Alike, serif;
  font-size: 0.95rem;
  background: var(--site-brown);
  color: var(--site-cream);
}

.booking-steps__button:hover,
.booking-steps__button:focus,
.booking-steps__button:active {
  background: var(--site-brown);
  color: var(--site-cream);
}

.booking-steps__note {
  font-family: Alike, serif;
  color: var(--site-text);
  font-size: 0.9rem;
  margin: 0.75rem 0 0;
}

.booking-steps__note a {
  color: var(--site-brown-dark);
  font-weight: bold;
}

/* Phones: a compact list, number on the left, no connector line. */
@media (max-width: 767.98px) {
  .booking-steps {
    padding-bottom: 2rem;
  }

  .booking-steps__list {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 420px;
  }

  .booking-steps__item {
    display: grid;
    grid-template-columns: 2rem 1fr;
    column-gap: 0.85rem;
    text-align: left;
    padding: 0;
  }

  .booking-steps__item::after {
    display: none;
  }

  .booking-steps__number {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }
}
