/* Reuse the Individual prototype inside long, detailed Trauma method panels. */
body.hp-adapted .service-body .hp-service-details {
  margin: 12px 0 24px;
  color: inherit;
}

body.hp-adapted .service-body .hp-service-details:last-child {
  margin-bottom: 0;
}

body.hp-adapted .service-body .hp-service-details > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  min-height: 44px;
  padding: 8px 0;
  color: #294243;
  font-family: 'HP Rounded', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}

body.hp-adapted .service-body .hp-service-details > summary::-webkit-details-marker {
  display: none;
}

body.hp-adapted .service-body .hp-service-details > summary::marker {
  content: '';
}

body.hp-adapted .service-body .hp-service-details > summary:hover {
  color: #684e45;
}

body.hp-adapted .service-body .hp-service-details > summary:focus-visible {
  outline: 2px solid #60786e;
  outline-offset: 5px;
  border-radius: 3px;
}

body.hp-adapted .service-body .hp-service-details .toggle-star {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  fill: currentColor;
  transform-origin: center;
  overflow: visible;
}

body.hp-adapted .service-body .hp-service-details .toggle-star.is-spinning {
  animation: hp-service-star-turn .65s cubic-bezier(.25,.65,.3,1) both;
}

body.hp-adapted .service-body .hp-service-details .hp-service-less,
body.hp-adapted .service-body .hp-service-details[open] .hp-service-more {
  display: none;
}

body.hp-adapted .service-body .hp-service-details[open] .hp-service-less {
  display: inline;
}

body.hp-adapted .service-body .hp-service-details > .method-reveal {
  display: flow-root;
}

body.hp-adapted .service-body .hp-service-details > .method-reveal > :first-child {
  margin-top: 12px;
}

body.hp-adapted .service-body .hp-service-details.is-animating > .method-reveal {
  overflow: hidden;
}

@keyframes hp-service-star-turn {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  body.hp-adapted .service-body .hp-service-details .toggle-star.is-spinning {
    animation: none;
  }
}
