/* Parts a toggle shows or hides (the original created/removed them on click). */
[data-tx-added][hidden], [data-tx-removed][hidden] { display: none !important; }
/* Every state of a next/previous control, kept out of sight until it is shown. */
[data-tx-state] { display: none !important; }
[data-tx-step], [data-tx-media] { cursor: pointer; }
/* Interactions — template-extractor. Carousels rebuilt as native scroll-snap tracks:
 * swipeable on touch, scrollable with a trackpad, arrows/dots/autoplay wired up by interactions.js.
 * Slides per view: --tx-n-lg (desktop, measured from the original), -md (tablet), -sm (mobile).
 */
/* mode "scroll": slides were sized by script for one screen size -> responsive scroll-snap track. */
[data-carousel-mode="scroll"] { --tx-n: var(--tx-n-lg, 1); }
@media (max-width: 991px) { [data-carousel-mode="scroll"] { --tx-n: var(--tx-n-md, 1); } }
@media (max-width: 767px) { [data-carousel-mode="scroll"] { --tx-n: var(--tx-n-sm, 1); } }
[data-carousel-mode="scroll"] [data-carousel-track] {
  display: flex !important; flex-wrap: nowrap !important; gap: var(--tx-gap, 0px);
  overflow-x: auto !important; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  transform: none !important; width: auto !important; white-space: normal;
}
[data-carousel-mode="scroll"] [data-carousel-track]::-webkit-scrollbar { display: none; }
[data-carousel-mode="scroll"] [data-carousel-slide] {
  flex: 0 0 calc((100% - (var(--tx-n) - 1) * var(--tx-gap, 0px)) / var(--tx-n)) !important;
  width: auto !important; max-width: none !important; margin-right: 0 !important;
  scroll-snap-align: start; transform: none !important;
}
/* mode "translate": layout untouched (slides sized by the site's CSS); slides slide with transforms. */
[data-carousel-mode="translate"] [data-carousel-slide] { transition: transform var(--tx-dur, 500ms) var(--tx-ease, ease); }
[data-carousel-mode="translate"] [data-carousel-track] { touch-action: pan-y; }
[data-carousel-prev], [data-carousel-next] { cursor: pointer; }
.tx-dots { display: flex; gap: 8px; justify-content: center; align-items: center; }
.tx-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: currentColor; opacity: 0.3; cursor: pointer; }
.tx-dot[aria-current="true"] { opacity: 1; }
/* Slides per view and gap measured on the original at each width. */
