.service-profile {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-profile-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: center;
  margin-block: 1.5rem;
}

.service-profile-copy { min-width: 0; }
.service-profile-copy p { margin-bottom: .8rem; }
.service-profile h1 { margin-block: .5rem 1rem; }
.service-profile h2 { margin-block: 1.25rem .65rem; }
.service-profile p { line-height: 1.6; }

.service-profile-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 38rem;
  object-fit: contain;
  border-radius: 1rem;
  background: #f2f6f5;
}

.service-profile section {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #c5d9d5;
}

.service-profile .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.service-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-block: 1rem;
}

.service-profile-actions > a {
  flex: 1 1 15rem;
  min-width: 0;
  min-height: 3.25rem;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}

.service-profile a:focus-visible {
  outline: 3px solid #213f74;
  outline-offset: 4px;
}

.service-option + .service-option { margin-top: 1.25rem; }
.service-duration { font-weight: 700; }

@media (max-width: 680px) {
  .service-profile-hero, .service-profile-actions { grid-template-columns: minmax(0, 1fr); }
  .service-profile-photo { max-width: 28rem; margin-inline: auto; }
  .service-profile-actions { display: grid; }
  .service-profile-actions > a { width: 100%; box-sizing: border-box; }
}
