/* Product Slider — section heading over a one-at-a-time product carousel.
   Colours come from Style-tab controls; only the button and pill palettes are
   hardcoded, so the Button Colour select has something to switch between.
   Matches text-image-split and industrial-split-hero. */

.ps_27980 {
  --ps-accent: #1a7fd4;
  --ps-media: 48%;
  --ps-gap: 56px;
  background-color: #f4f5f6;
  padding: 56px 56px 40px;
  position: relative;
}

/* ------------------------------------------------------------------- Head */

.ps_27980 .ps_27980__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #cfd4d8;
  margin-bottom: 40px;
}

.ps_27980 .ps_27980__head-text {
  min-width: 0;
}

.ps_27980 .ps_27980__heading {
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.ps_27980 .ps_27980__intro {
  margin-top: 16px;
  /*max-width: 62ch;*/
}

.ps_27980 .ps_27980__intro > :first-child { margin-top: 0; }
.ps_27980 .ps_27980__intro > :last-child { margin-bottom: 0; }

/* Arrows and the progress bar only steer a carousel, so they stay out of the
   document until the script has actually built one. */
.ps_27980 .ps_27980__nav,
.ps_27980 .ps_27980__progress {
  display: none;
}

.ps_27980.is-ready .ps_27980__nav {
  display: flex;
  gap: 16px;
  flex: none;
}

/* The arrows, the dots and the video facade are <button>s, and the theme skins
   every button with a bordered pink pill via `.elementor button`. That selector
   outweighs a lone class, so each button rule is scoped to the root class to
   win the cascade rather than reaching for !important. */
.ps_27980 .ps_27980__arrow {
  appearance: none;
  border: 0;
  background: none;
  padding: 6px;
  cursor: pointer;
  color: var(--ps-accent);
  line-height: 0;
  border-radius: 0;
  transition: opacity 0.2s ease;
}

.ps_27980 .ps_27980__arrow svg {
  width: 40px;
  height: 16px;
}

.ps_27980 .ps_27980__arrow:hover {
  opacity: 0.65;
  background: none;
  color: var(--ps-accent);
}

.ps_27980 .ps_27980__arrow:focus-visible {
  outline: 2px solid var(--ps-accent);
  outline-offset: 3px;
}

.ps_27980 .ps_27980__arrow[disabled] {
  opacity: 0.25;
  cursor: default;
}

/* ------------------------------------------------------------------ Track */

.ps_27980 .ps_27980__viewport {
  overflow: hidden;
}

/* Without the script every slide is laid out and readable; the carousel is an
   enhancement layered on top, never a prerequisite for the content. */
.ps_27980 .ps_27980__track {
  display: grid;
  gap: 64px;
}

.ps_27980.is-ready .ps_27980__track {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.ps_27980 .ps_27980__slide {
  display: flex;
  align-items: center;
  gap: var(--ps-gap);
}

.ps_27980.is-ready .ps_27980__slide {
  flex: 0 0 100%;
  min-width: 100%;
}

/* The inactive slides stay in the flow so the track keeps its width, but they
   are out of the accessibility tree and unreachable by keyboard. */
.ps_27980.is-ready .ps_27980__slide[aria-hidden="true"] {
  visibility: hidden;
}

.ps_27980.ps_27980--media-right .ps_27980__slide {
  flex-direction: row-reverse;
}

/* ------------------------------------------------------------------ Media */

.ps_27980 .ps_27980__media {
  flex: 0 0 var(--ps-media);
  min-width: 0;
  align-self: stretch;
  display: flex;
}

.ps_27980 .ps_27980__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  background-color: #6f7276;
  aspect-ratio: 16 / 10;
}

.ps_27980 .ps_27980__facade {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #6f7276;
  cursor: pointer;
  line-height: 0;
}

.ps_27980 .ps_27980__facade:focus-visible {
  outline: 3px solid var(--ps-accent);
  outline-offset: 3px;
}

.ps_27980 .ps_27980__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.ps_27980 .ps_27980__facade:hover .ps_27980__play { background: rgba(0, 0, 0, 0.8); }

.ps_27980 .ps_27980__embed {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 0;
  display: block;
}

/* ------------------------------------------------------------------- Body */

.ps_27980 .ps_27980__body {
  flex: 1 1 auto;
  min-width: 0;
}

.ps_27980 .ps_27980__title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

.ps_27980 .ps_27980__eyebrow {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #3f4750;
}

.ps_27980 .ps_27980__text {
  margin-bottom: 24px;
  line-height: 1.6;
}

.ps_27980 .ps_27980__text > :first-child { margin-top: 0; }
.ps_27980 .ps_27980__text > :last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ Pills */

.ps_27980 .ps_27980__pills {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ps_27980 .ps_27980__pill {
  padding: 7px 16px;
  border: 1px solid #b9c0c7;
  border-radius: 999px;
  font-size: 13px;
  line-height: 1.3;
  color: #3f4750;
  background: transparent;
}

/* ---------------------------------------------------------------- Buttons */

.ps_27980 .ps_27980__button {
  display: inline-block;
  padding: 16px 34px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.ps_27980 .ps_27980__button--blue {
  border-color: #9dc0ea;
  background-color: #f2f7fd;
  color: #1a5fbf;
}

.ps_27980 .ps_27980__button--red {
  border-color: #e04a4a;
  background-color: #f9e6e6;
  color: #e04a4a;
}

.ps_27980 .ps_27980__button:hover { opacity: 0.9; }

.ps_27980 .ps_27980__button:focus-visible {
  outline: 2px solid var(--ps-accent);
  outline-offset: 3px;
}

/* --------------------------------------------------------------- Progress */

.ps_27980.is-ready .ps_27980__progress {
  display: flex;
  gap: 6px;
  margin-top: 36px;
}

.ps_27980 .ps_27980__dot {
  appearance: none;
  border: 0;
  background: none;
  padding: 8px 0;
  cursor: pointer;
  width: 44px;
  border-radius: 0;
}

.ps_27980 .ps_27980__dot:hover { background: none; }

.ps_27980 .ps_27980__dot span {
  display: block;
  height: 3px;
  background: #c7ccd1;
  transition: background-color 0.25s ease;
}

.ps_27980 .ps_27980__dot[aria-selected="true"] span { background: var(--ps-accent); }

.ps_27980 .ps_27980__dot:focus-visible {
  outline: 2px solid var(--ps-accent);
  outline-offset: 2px;
}

/* --------------------------------------------------------------- Stacking */

@media (max-width: 1024px) {
  .ps_27980--stack-tablet { padding: 40px 28px 32px; }
  .ps_27980.ps_27980--stack-tablet .ps_27980__slide,
  .ps_27980.ps_27980--stack-tablet.ps_27980--media-right .ps_27980__slide {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }
  .ps_27980.ps_27980--stack-tablet .ps_27980__media { flex-basis: auto; }
  .ps_27980.ps_27980--stack-tablet .ps_27980__head { flex-direction: column; gap: 24px; }
}

@media (max-width: 767px) {
  .ps_27980--stack-mobile { padding: 32px 20px 28px; }
  .ps_27980.ps_27980--stack-mobile .ps_27980__slide,
  .ps_27980.ps_27980--stack-mobile.ps_27980--media-right .ps_27980__slide {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .ps_27980.ps_27980--stack-mobile .ps_27980__media { flex-basis: auto; }
  .ps_27980.ps_27980--stack-mobile .ps_27980__head { flex-direction: column; gap: 20px; }
  .ps_27980 .ps_27980__arrow svg { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .ps_27980.is-ready .ps_27980__track { transition: none; }
}
