/* Phase 09: optical label alignment and author-supplied carousel framework. */
.compare-panel .compare-item:first-child span { margin-left: 4.85%; }
@media (orientation: portrait) {
  .compare-panel .compare-item:first-child span { margin-left: 2.19%; }
}
.pfhsc-h { color: var(--pf-red); }
.carousel-stage #carouselSlide { aspect-ratio: 3 / 4; height: min(70vh, 650px); }
.carousel-card { aspect-ratio: 3 / 4; padding: 0; isolation: isolate; }
.carousel-card.science, .carousel-card.science:nth-child(odd) { background: #0a2939; color: #fff; }
.carousel-card.education, .carousel-card.education:nth-child(even) { background: #151917; color: #fff; }
.carousel-card .car-photo { z-index: 0; filter: brightness(.48); }
.carousel-card .carousel-core { position: absolute; z-index: 1; inset: 17% 10% 15%; display: flex; flex-direction: column; justify-content: center; margin: 0; }
.carousel-card .carousel-core h4 { font-size: clamp(29px, 4.5vh, 66px); line-height: .94; }
.carousel-card .carousel-core p { font-size: clamp(12px, 1.65vh, 21px); line-height: 1.25; }
.carousel-card.education .carousel-core h4 { color: var(--pf-lime); }
.carousel-card .carousel-frame { position: absolute; z-index: 3; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.carousel-strip button { width: 70px; aspect-ratio: 3 / 4; }
.carousel-strip .carousel-card .carousel-core { inset: 17% 10% 15%; }
.carousel-strip .carousel-card h4 { font-size: 7px !important; }
@media (max-width: 700px) {
  .carousel-stage #carouselSlide { width: min(68vw, 48vh); height: auto; aspect-ratio: 3 / 4; }
  .carousel-card .carousel-core h4 { font-size: clamp(18px, 5.3vw, 34px); margin-bottom: 8px; }
  .carousel-card .carousel-core p { font-size: clamp(10px, 2.5vw, 15px); }
}
