/* Leave the five existing desktop collages (including their containing blocks) intact. */
.mm-pair__track { display: contents; }
.mm-pair__dots { display: none; }
.mm-pair__status {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
@media screen and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .mm-pair__photo-seen { animation: mm-pair-appear .62s ease-out; }
  @keyframes mm-pair-appear { from { opacity: .8; } to { opacity: 1; } }
}

@media screen and (max-width: 767px) {
  .ts-intro, .ts-service-intro { padding-top: 26.67cqw; }
  .ts-intro-pics[data-intro-pair], .ts-service-intro-pics[data-intro-pair] { margin-inline: -8cqw; }
  .ts-intro-pics::before { top: -9.67cqw; }
  [data-intro-pair], .mc-intro__pictures[data-intro-pair] {
    display: block; position: relative; z-index: 1; pointer-events: auto;
  }
  .mm-pair__track {
    position: relative; display: flex; align-items: center; gap: 3vw; width: 100%;
    overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    scroll-snap-type: x mandatory; scroll-padding-inline: 6vw; padding-inline: 6vw;
  }
  .mm-pair__track::-webkit-scrollbar { display: none; }
  .mm-pair__track.is-moving { scroll-snap-type: none; }
  [data-intro-pair] .mm-pair__track > :is(picture, img) {
    position: static; flex: 0 0 80vw; width: 80vw; height: auto; aspect-ratio: auto;
    object-fit: contain; scroll-snap-align: start;
  }
  .ts-intro-pics + .ts-title, .ts-service-intro-pics + .ts-title, .mc-intro__pictures + .mc-intro__copy {
    margin-top: .25rem;
  }
  .mm-pair__dots {
    position: relative; display: flex; justify-content: center; align-items: center;
  }
  .mm-pair__dots button {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0; margin: 0;
    border: 0; background: transparent; color: #006089; cursor: pointer; touch-action: manipulation;
  }
  .mm-pair__dots button::before {
    content: ""; width: 8px; height: 8px; box-sizing: border-box; border: 1.5px solid currentColor;
    border-radius: 8px; background: white;
  }
  .mm-pair__dots [aria-pressed="true"]::before { width: 17px; background: currentColor; }
  .mm-pair__dots button:focus-visible, .mm-pair__track:focus-visible {
    outline: 2px solid #075977; outline-offset: -3px; border-radius: 3px;
  }
}

@media print {
  .ts-intro, .ts-service-intro, .mc-intro { min-height: 0; padding: 1rem 5%; }
  [data-intro-pair], .mc-intro__pictures[data-intro-pair] { display: block; position: static; width: 100%; height: auto; }
  .mm-pair__track { display: flex; align-items: center; gap: 3%; overflow: visible; break-inside: avoid; }
  [data-intro-pair] .mm-pair__track > :is(picture, img) {
    position: static; flex: 0 0 48%; width: 48%; height: auto; aspect-ratio: auto; object-fit: contain;
  }
  .mc-intro__pictures + .mc-intro__copy { padding-top: 1rem; margin-top: 0; }
  .mm-pair__dots, .mm-pair__status, .ts-intro-pics::before { display: none; }
}
