.tcph {
  --tcph-active-width: 380px;
  --tcph-side-width: 250px;
  --tcph-side-scale: .9;
  --tcph-side-blur: 5px;
  --tcph-side-opacity: .55;
  --tcph-overlay-color: #000;
  --tcph-overlay-opacity: .16;
  --tcph-arrow-offset: 20px;
  --tcph-modal-backdrop: #000;
  --tcph-modal-opacity: .88;
  box-sizing: border-box;
  overflow: clip;
  padding: 36px 0 30px;
  width: 100%;
}

.tcph *, .tcph *::before, .tcph *::after { box-sizing: border-box; }
.tcph__carousel-wrap { margin-inline: auto; position: relative; width: 100%; }
.tcph__swiper { overflow: visible; width: 100%; }
.tcph__swiper .swiper-wrapper { align-items: center; }
/*
 * Keep the Swiper slide width stable. Swiper builds its snap grid from this
 * outer width; changing it when .swiper-slide-active moves breaks navigation.
 * The inner card can safely change width without changing the track geometry.
 */
.tcph__slide { height: auto; width: var(--tcph-side-width); }
.tcph__card { left: 50%; position: relative; transform: translateX(-50%) scale(var(--tcph-side-scale)); transform-origin: center center; transition: filter .65s ease, opacity .65s ease, transform .65s ease, width .65s cubic-bezier(.22,.61,.36,1); width: 100%; }
.tcph__slide:not(.swiper-slide-active) .tcph__card { filter: blur(var(--tcph-side-blur)); opacity: var(--tcph-side-opacity); }
.tcph__slide.swiper-slide-active { z-index: 2; }
.tcph__slide.swiper-slide-active .tcph__card { filter: none; opacity: 1; transform: translateX(-50%) scale(1); width: var(--tcph-active-width); }
.tcph:not(.tcph--centered) .tcph__card,
.tcph:not(.tcph--centered) .tcph__slide.swiper-slide-active .tcph__card { width: 100%; }
.tcph__media { background: #d9d9d9; isolation: isolate; overflow: hidden; position: relative; width: 100%; }
.tcph__preview { display: block; height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; z-index: 1; }
.tcph__placeholder { background: linear-gradient(145deg,#dedede,#aaa); inset: 0; position: absolute; z-index: 0; }
.tcph__overlay { background: var(--tcph-overlay-color); inset: 0; opacity: var(--tcph-overlay-opacity); pointer-events: none; position: absolute; z-index: 2; }
.tcph__play, .tcph__arrow, .tcph__close { align-items: center; appearance: none; border: 0; cursor: pointer; display: inline-flex; justify-content: center; line-height: 1; padding: 0; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.tcph__play { background: rgba(255,255,255,.92); border-radius: 50%; color: #171717; height: 64px; left: 50%; min-height: 44px; min-width: 44px; position: absolute; top: 50%; transform: translate(-50%,-50%); width: 64px; z-index: 3; }
.tcph__play:hover { background: #fff; transform: translate(-50%,-50%) scale(1.06); }
.tcph__play svg, .tcph__arrow svg { fill: currentColor; height: 1em; width: 1em; }
.tcph__content { display: flex; flex-direction: column; gap: 8px; padding: 20px 6px 0; transition: opacity .4s ease; }
.tcph__slide:not(.swiper-slide-active) .tcph__content { opacity: .25; }
.tcph__quote { color: #252525; font-size: 1rem; line-height: 1.55; margin: 0 0 5px; }
.tcph__name { color: #151515; font-size: 1rem; font-weight: 700; }
.tcph__title { color: #666; font-size: .875rem; }
.tcph__arrow { background: #fff; border-radius: 50%; color: #171717; height: 52px; position: absolute; top: 42%; transform: translateY(-50%); width: 52px; z-index: 5; }
.tcph__arrow:hover { transform: translateY(-50%) scale(1.05); }
.tcph__arrow--prev { left: var(--tcph-arrow-offset); transform: translateY(-50%) rotate(180deg); }
.tcph__arrow--prev:hover { transform: translateY(-50%) rotate(180deg) scale(1.05); }
.tcph__arrow--next { right: var(--tcph-arrow-offset); }
.tcph__arrow.swiper-button-disabled { cursor: default; opacity: .35; }
.tcph__pagination { margin-top: 26px; min-height: 14px; position: static; text-align: center; }
.tcph__pagination .swiper-pagination-bullet { background: #b8b8b8; height: 8px; margin: 0 5px; opacity: 1; width: 8px; }
.tcph__pagination .swiper-pagination-bullet-active { background: #222; }
.tcph__modal[hidden] { display: none; }
.tcph__modal { align-items: center; background: color-mix(in srgb, var(--tcph-modal-backdrop) calc(var(--tcph-modal-opacity) * 100%), transparent); display: flex; inset: 0; justify-content: center; padding: 24px; position: fixed; z-index: 999999; }
.tcph__dialog { max-height: calc(100vh - 48px); max-width: 1100px; outline: 0; position: relative; width: 80vw; }
.tcph__modal-video { background: #000; display: block; max-height: calc(100vh - 48px); object-fit: contain; width: 100%; }
.tcph__close { background: #fff; border-radius: 50%; color: #111; font-size: 32px; height: 48px; position: absolute; right: -14px; top: -14px; width: 48px; z-index: 2; }
.tcph__close:hover { transform: scale(1.05); }
.tcph__empty { border: 1px dashed #aaa; padding: 30px; text-align: center; }
.tcph-scroll-locked { overflow: hidden !important; }
.tcph :focus-visible { outline: 3px solid #2271b1; outline-offset: 3px; }

@supports not (background: color-mix(in srgb, black 50%, transparent)) {
  .tcph__modal { background: rgba(0,0,0,.88); }
}

@media (max-width: 767px) {
  .tcph { --tcph-side-blur: 0px; }
  .tcph__arrow { top: 40%; }
  .tcph__content { padding-inline: 2px; }
  .tcph__dialog { width: calc(100vw - 24px); }
  .tcph__close { right: -4px; top: -54px; }
}

@media (hover: none), (pointer: coarse) {
  .tcph__preview { pointer-events: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tcph__card, .tcph__content, .tcph__play, .tcph__arrow { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
