/* Anchor the booking actions independently of the length of the service description. */
.page-head.category-head.hero-with-docked-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-block-end: clamp(26px, 3vw, 40px);
}

.hero-with-docked-actions > .category-copy {
  margin-block-start: clamp(23px, 2.5vw, 34px);
}

.hero-with-docked-actions > .category-copy h1 {
  margin-block: 0 clamp(13px, 1.4vw, 19px);
}

.hero-with-docked-actions > .category-copy > p {
  margin-block: 0;
}

.hero-with-docked-actions > .hero-actions {
  max-width: 100%;
  gap: 12px;
  margin: auto 0 0;
  padding-block-start: clamp(22px, 2.8vw, 35px);
}

.hero-with-docked-actions > .hero-actions .btn {
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .page-head.category-head.hero-with-docked-actions {
    padding-inline: 23px;
    padding-block-end: 22px;
  }

  .hero-with-docked-actions > .category-copy {
    width: 100%;
    margin-block-start: 17px;
  }

  .hero-with-docked-actions > .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    padding-block-start: 22px;
  }

  .hero-with-docked-actions > .hero-actions .btn {
    justify-content: center;
    min-height: 44px;
    padding: 11px 16px;
    font-size: 12px;
    text-align: center;
    white-space: normal;
  }
}
