.thp-team-slider {
  --thp-blue: #17385c;
  --thp-blue-2: #224771;
  --thp-blue-3: #051c33;
  --thp-orange: #f46b31;
  --thp-page: #eef6fc;
  --thp-page-soft: #dcebf7;
  --thp-white: #ffffff;
  --thp-slide-gap: 1.04em;
  --thp-heading-size: clamp(38px, 3em, 58px);
  --thp-heading-color: var(--thp-blue);
  --thp-heading-weight: 900;
  --thp-heading-align: center;
  --thp-subheading-size: clamp(16px, 1.25em, 24px);
  --thp-subheading-color: var(--thp-blue);
  --thp-subheading-weight: 500;
  --thp-subheading-align: center;
  --thp-slider-header-offset: 160px;
  --thp-slider-footer-offset: 0px;
  --thp-slider-viewport-height: 100vh;
  position: relative;
  height: calc(var(--thp-slider-viewport-height) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset));
  min-height: min(620px, calc(var(--thp-slider-viewport-height) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset)));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding-block: clamp(20px, 3vh, 38px);
  background: var(--thp-page);
  color: var(--thp-blue);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1vw;
  line-height: 1.6;
  font-weight: 700;
}

body.thp-team-slider-cursor-active #thp-cursor,
body:has(.thp-team-slider:hover) #thp-cursor {
  display: none !important;
}

.thp-team-slider *,
.thp-team-slider *::before,
.thp-team-slider *::after {
  box-sizing: border-box;
}

body.thp-team-slider-is-dragging {
  cursor: grabbing;
  user-select: none;
}

body.thp-team-slider-modal-open {
  overflow: hidden;
}

.thp-team-slider a {
  color: inherit;
  text-decoration: none;
  background: transparent;
  background-color: transparent;
}

.thp-team-slider button {
  font: inherit;
}

.thp-team-slider__loader {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  background: var(--thp-page);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.thp-team-slider__loader span {
  width: 46px;
  height: 46px;
  border: 4px solid rgba(244, 107, 49, 0.2);
  border-top-color: var(--thp-orange);
  border-radius: 50%;
  animation: thp-slider-spin 700ms linear infinite !important;
}

.thp-team-slider__hero,
.thp-team-slider__slider {
  opacity: 0;
}

.thp-team-slider.is-ready .thp-team-slider__loader {
  visibility: hidden;
  opacity: 0;
}

.thp-team-slider.is-ready .thp-team-slider__hero,
.thp-team-slider.is-ready .thp-team-slider__slider {
  opacity: 1;
}

@keyframes thp-slider-spin {
  to { transform: rotate(360deg); }
}

@keyframes thp-slider-cursor-pulse {
  0% {
    opacity: 0.55;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

.thp-team-slider__hero {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  padding: 0 4.06em 0;
}

.thp-team-slider__hero-copy {
  width: 62%;
  margin: 0 auto;
}

.thp-team-slider__title {
  margin: 0;
  color: var(--thp-heading-color);
  font-size: var(--thp-heading-size);
  line-height: 0.98;
  font-weight: var(--thp-heading-weight);
  text-align: var(--thp-heading-align);
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.thp-team-slider__subheading {
  margin: 0.65em 0 0;
  color: var(--thp-subheading-color);
  font-size: var(--thp-subheading-size);
  line-height: 1.3;
  font-weight: var(--thp-subheading-weight);
  text-align: var(--thp-subheading-align);
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.thp-team-slider__slider {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  margin-top: -20px;
  margin-bottom: 0;
  padding-top: clamp(18px, 2.2vh, 26px);
}

.thp-team-slider__viewport {
  overflow: visible;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: pan-y;
}

.thp-team-slider__viewport.is-dragging {
  cursor: grabbing;
}

.thp-team-slider__track {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
  padding: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  transition: transform 430ms cubic-bezier(0.22, 1, 0.36, 1);
}

.thp-team-slider__viewport.is-dragging .thp-team-slider__track {
  transition: none;
}

.thp-team-slider__card {
  position: relative;
  width: 25vw;
  height: 100%;
  align-self: stretch;
  min-height: 0;
  flex: 0 0 auto;
  padding-right: var(--thp-slide-gap);
  padding-left: var(--thp-slide-gap);
  user-select: none;
  border: 0;
  outline: 0;
  box-shadow: none;
  contain: layout paint style;
}

.thp-team-slider__track > .thp-team-slider__card--service {
  height: 100% !important;
  min-height: 100%;
  align-self: stretch;
}

.thp-team-slider__profile {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: var(--thp-blue);
  background-color: var(--thp-blue);
  color: var(--thp-white);
  -webkit-user-drag: none;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.thp-team-slider__profile > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  transition: none;
  -webkit-user-drag: none;
  user-select: none;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.thp-team-slider__card.is-active .thp-team-slider__profile > img,
.thp-team-slider__profile:hover > img,
.thp-team-slider__profile:focus-visible > img {
  transform: none;
}

.thp-team-slider__profile::after {
  content: "";
  position: absolute;
  inset: 52% 0 0;
  background: linear-gradient(180deg, rgba(5, 28, 51, 0), rgba(5, 28, 51, 0.82));
}

.thp-team-slider__fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(23, 56, 92, 0.94), rgba(34, 71, 113, 0.78)),
    var(--thp-blue);
}

.thp-team-slider__fallback-mark {
  width: min(42%, 190px);
  height: auto;
  fill: var(--thp-white);
  opacity: 0.92;
  transform: none;
  transition: none;
}

.thp-team-slider__card-body {
  position: absolute;
  left: calc(var(--thp-slide-gap) + 1.35em);
  right: calc(var(--thp-slide-gap) + 1.35em);
  bottom: calc(2.45em + 30px);
  z-index: 2;
  color: var(--thp-white);
  pointer-events: none;
}

.thp-team-slider__name {
  margin: 0;
  color: var(--thp-white);
  font-size: 1.72em;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

.thp-team-slider__role {
  margin: 0.45em 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.95em;
  line-height: 1.2;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.thp-team-slider__service {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: var(--thp-service-align-items, flex-start);
  width: 100%;
  height: 100%;
  padding: clamp(28px, 3vw, 54px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  border: 0;
  outline: 0;
  box-shadow: none;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #051c33 0%, #17385c 46%, #224771 100%) !important;
  background-color: var(--thp-blue) !important;
  color: var(--thp-white);
  text-align: var(--thp-service-heading-align, left);
}

.thp-team-slider__card--service > .thp-team-slider__service {
  height: 100% !important;
  min-height: 100%;
}

.thp-team-slider__service a {
  color: inherit;
  background: transparent;
  text-decoration: none;
}

.thp-team-slider__service-kicker {
  color: var(--thp-orange) !important;
  font-size: 0.72em;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.thp-team-slider__service-title {
  width: 100%;
  max-width: 10em;
  margin: 0.48em 0 0;
  color: var(--thp-white) !important;
  font-size: clamp(28px, 2.25em, 42px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.thp-team-slider__service-content {
  width: 100%;
  max-width: 24em;
  margin-top: 1em;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.84em;
  line-height: 1.35;
  font-weight: 500;
  text-align: inherit;
}

.thp-team-slider__service-content p {
  margin: 0 0 0.7em;
}

.thp-team-slider__service-list {
  display: grid;
  gap: 0.36em;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: inherit;
}

.thp-team-slider__service-list li {
  width: 100%;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: clamp(18px, 1.28em, 30px);
  line-height: 1.5;
  font-weight: 600;
  text-align: inherit;
}

.thp-team-slider__service-list a {
  display: block;
  width: 100%;
  padding: 0.44em 0.42em;
  border-radius: 7px;
  background: transparent;
  background-color: transparent;
  color: inherit !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  text-align: inherit;
  transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease;
}

.thp-team-slider__service-list li + li {
  padding-top: 0.36em;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.thp-team-slider__service-list a span {
  display: block;
  line-height: inherit !important;
  overflow-wrap: anywhere;
  text-align: inherit;
}

.thp-team-slider__service-list a::after {
  content: none;
}

.thp-team-slider__service-list a:hover,
.thp-team-slider__service-list a:focus-visible {
  background: var(--thp-orange);
  background-color: var(--thp-orange);
  color: var(--thp-white) !important;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(244, 107, 49, 0.18);
}

.thp-team-slider__card--service-b .thp-team-slider__service {
  padding: 0 var(--thp-slide-gap);
  background: transparent !important;
  background-color: transparent !important;
}

.thp-team-slider__card--service-b .thp-team-slider__service-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.thp-team-slider__card--service-b .thp-team-slider__service-list li {
  display: flex;
  flex: 1 1 0;
  min-height: 0;
  color: var(--thp-white) !important;
}

.thp-team-slider__card--service-b .thp-team-slider__service-list li + li {
  padding-top: 0;
  border-top: 0;
}

.thp-team-slider__card--service-b .thp-team-slider__service-list a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0.7em 1em;
  border-radius: 0;
  background: var(--thp-orange);
  background-color: var(--thp-orange);
  color: var(--thp-white) !important;
  line-height: 1.5 !important;
  text-align: center;
  transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease;
}

.thp-team-slider__card--service-b .thp-team-slider__service-list a span {
  display: block;
  line-height: inherit !important;
  text-align: center;
}

.thp-team-slider__card--service-b .thp-team-slider__service-list a:hover,
.thp-team-slider__card--service-b .thp-team-slider__service-list a:focus-visible {
  background: var(--thp-blue);
  background-color: var(--thp-blue);
  color: var(--thp-white) !important;
  box-shadow: 0 10px 24px rgba(5, 28, 51, 0.2);
}

.thp-team-slider__service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 1.8em;
  min-height: 44px;
  padding: 0.9em 1.2em;
  border: 0;
  border-radius: 6px;
  background: var(--thp-orange) !important;
  background-color: var(--thp-orange) !important;
  background-image: none !important;
  color: var(--thp-white) !important;
  font-size: 0.86em;
  line-height: 1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(244, 107, 49, 0.22);
}

.thp-team-slider__service-link:hover,
.thp-team-slider__service-link:focus-visible {
  background: var(--thp-orange) !important;
  background-color: var(--thp-orange) !important;
  background-image: none !important;
  color: var(--thp-white) !important;
  text-decoration: none;
}

.thp-team-slider__wave {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 3;
  height: 3.2vw;
  min-height: 34px;
  pointer-events: none;
  contain: layout paint style;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.thp-team-slider__wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.thp-team-slider__wave path {
  fill: var(--thp-page);
}

.thp-team-slider__wave--top {
  top: 16px;
  left: -2vw;
  right: -2vw;
  height: 3.75vw;
  min-height: 42px;
  margin-top: 0;
}

.thp-team-slider__wave--bottom {
  bottom: 0;
  margin-bottom: -0.6vw;
  transform: rotate(180deg);
}

.thp-team-slider__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72em;
  width: 10.4em;
  margin-inline: auto;
}

.thp-team-slider__control {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  width: 2.82em;
  height: 2.82em;
  padding: 0;
  border: 2px solid var(--thp-orange);
  border-radius: 50%;
  background: var(--thp-orange);
  color: var(--thp-white);
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.thp-team-slider__control:active {
  transform: scale(0.9);
}

.thp-team-slider__control:hover,
.thp-team-slider__control:focus-visible {
  color: var(--thp-orange);
  background: var(--thp-white);
  border-color: var(--thp-orange);
}

.thp-team-slider__control svg {
  width: 1.16em;
  height: 1.16em;
  fill: currentColor;
}

.thp-team-slider__cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-200px, -200px, 0);
  transition: opacity 160ms ease;
  will-change: transform;
}

.thp-team-slider__cursor.is-visible {
  opacity: 1;
}

.thp-team-slider__cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--thp-blue-3);
  transition: opacity 180ms ease, background-color 180ms ease;
}

.thp-team-slider__cursor-ring {
  position: absolute;
  display: grid;
  align-items: center;
  justify-content: center;
  overflow: visible;
  width: 52px;
  height: 52px;
  border: 2px solid var(--thp-blue-3);
  border-radius: 50%;
  color: transparent;
  transition: width 260ms ease, height 260ms ease, border-radius 260ms ease, background-color 260ms ease, color 260ms ease, border-color 260ms ease;
}

.thp-team-slider__cursor.is-over-slider .thp-team-slider__cursor-ring {
  width: 6.65em;
  height: 6.65em;
  border-radius: 0;
  border-color: var(--thp-orange);
  background: var(--thp-orange);
  color: var(--thp-white);
}

.thp-team-slider__cursor.is-over-slider .thp-team-slider__cursor-ring::after {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border: 2px solid rgba(244, 107, 49, 0.36);
  border-radius: inherit;
  animation: thp-slider-cursor-pulse 1.45s ease-out infinite;
  pointer-events: none;
}

.thp-team-slider__cursor.is-over-slider .thp-team-slider__cursor-dot {
  opacity: 0;
}

.thp-team-slider__cursor.is-over-service .thp-team-slider__cursor-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border-color: var(--thp-orange);
  background: transparent;
  color: transparent;
}

.thp-team-slider__cursor.is-over-service .thp-team-slider__cursor-dot {
  opacity: 1;
  background: var(--thp-orange);
}

.thp-team-slider__cursor.is-over-profile .thp-team-slider__cursor-ring {
  width: 6.65em;
  height: 6.65em;
  border-radius: 50%;
  border-color: var(--thp-orange);
  background: var(--thp-orange);
  color: var(--thp-white);
}

.thp-team-slider__cursor.is-over-profile .thp-team-slider__cursor-dot {
  opacity: 0;
  background: var(--thp-page-soft);
}

.thp-team-slider__cursor-label {
  position: relative;
  z-index: 2;
  max-width: 5.7em;
  font-size: 0.62em;
  line-height: 1.08;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.thp-team-slider__cursor-arrow {
  position: absolute;
  z-index: 1;
  display: block;
  width: 0.58em;
  height: 0.58em;
  opacity: 0;
  transition: opacity 160ms ease;
}

.thp-team-slider__cursor.is-over-slider .thp-team-slider__cursor-arrow {
  opacity: 0.86;
}

.thp-team-slider__cursor.is-over-profile .thp-team-slider__cursor-arrow,
.thp-team-slider__cursor.is-over-service .thp-team-slider__cursor-arrow {
  opacity: 0;
}

.thp-team-slider__cursor-arrow::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

.thp-team-slider__cursor-arrow--up {
  top: 0.56em;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

.thp-team-slider__cursor-arrow--right {
  top: 50%;
  right: 0.56em;
  transform: translateY(-50%) rotate(45deg);
}

.thp-team-slider__cursor-arrow--down {
  bottom: 0.56em;
  left: 50%;
  transform: translateX(-50%) rotate(135deg);
}

.thp-team-slider__cursor-arrow--left {
  top: 50%;
  left: 0.56em;
  transform: translateY(-50%) rotate(-135deg);
}

.thp-team-slider__modal {
  --thp-blue: #17385c;
  --thp-blue-2: #224771;
  --thp-blue-3: #051c33;
  --thp-orange: #f46b31;
  --thp-page: #eef6fc;
  --thp-page-soft: #dcebf7;
  --thp-white: #ffffff;
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  opacity: 0;
  color: var(--thp-blue);
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}

.thp-team-slider__modal.is-open {
  display: block;
  pointer-events: auto;
}

.thp-team-slider__modal.is-visible {
  opacity: 1;
}

.thp-team-slider__modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--thp-white);
  opacity: 0;
  transition: opacity 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

.thp-team-slider__modal.is-visible .thp-team-slider__modal-backdrop {
  opacity: 1;
}

.thp-team-slider__modal-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--thp-white);
  box-shadow: none;
  outline: 0;
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.985);
  transition:
    opacity 560ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.thp-team-slider__modal.is-visible .thp-team-slider__modal-panel {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.thp-team-slider__modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--thp-white);
}

.thp-team-slider__modal-media {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--thp-white);
  opacity: 0;
  transform: scale(1.035);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1) 90ms,
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1) 90ms;
}

.thp-team-slider__modal.is-visible .thp-team-slider__modal-media {
  opacity: 1;
  transform: scale(1);
}

.thp-team-slider__modal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.thp-team-slider__modal-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  padding: clamp(64px, 7vh, 96px) clamp(34px, 5vw, 78px) clamp(42px, 6vh, 78px);
  background: var(--thp-white);
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1) 190ms,
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1) 190ms;
}

.thp-team-slider__modal-copy > * {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 100%;
}

.thp-team-slider__modal.is-visible .thp-team-slider__modal-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.thp-team-slider__modal-name {
  margin: 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 0.95;
}

.thp-team-slider__modal-role,
.thp-team-slider__modal-qualification {
  margin: 0.75em 0 0;
  color: var(--thp-blue-2);
  font-size: clamp(18px, 1.6vw, 25px);
  line-height: 1.2;
  font-weight: 600;
}

.thp-team-slider__modal-qualification {
  margin-top: 0.3em;
  color: rgba(23, 56, 92, 0.72);
  font-size: clamp(15px, 1.15vw, 18px);
}

.thp-team-slider__modal-quote {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  margin: 1.3em 0 0.5rem;
  overflow: hidden !important;
  white-space: normal;
}

.thp-team-slider__modal-quote > .card-body {
  display: block;
  flex: 0 0 auto !important;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  white-space: normal;
  overflow-wrap: anywhere;
}

.thp-team-slider__modal-quote > .card-body > strong {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

.thp-team-slider__modal-quote[hidden] {
  display: none !important;
  margin: 0 !important;
}

.thp-team-slider__modal-quote:empty {
  display: none !important;
  margin: 0 !important;
}

.thp-team-slider__modal-content {
  margin-top: 1.4em;
  color: rgba(5, 28, 51, 0.78);
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.62;
  font-weight: 500;
  -webkit-user-select: text;
  user-select: text;
}

.thp-team-slider__modal-content p {
  margin: 0 0 0.85em;
}

.thp-team-slider__modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.8em;
}

.thp-team-slider__modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--thp-orange);
  color: var(--thp-white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, -10px, 0) scale(0.92);
  transition:
    opacity 360ms ease 340ms,
    transform 520ms cubic-bezier(0.16, 1, 0.3, 1) 340ms,
    background-color 180ms ease;
}

.thp-team-slider__modal.is-visible .thp-team-slider__modal-close {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.thp-team-slider__card.is-launching-profile .thp-team-slider__profile {
  transform: translate3d(0, -8px, 0) scale(0.985);
  transition: transform 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.thp-team-slider__card.is-launching-profile .thp-team-slider__profile::after {
  opacity: 0.55;
}

.thp-team-slider__card.is-launching-profile .thp-team-slider__profile > img {
  transform: none;
}

@media (hover: hover) and (pointer: fine) {
  .thp-team-slider__cursor {
    display: flex;
  }

  .thp-team-slider,
  .thp-team-slider * {
    cursor: none !important;
  }
}

@media screen and (max-width: 991px) {
  .thp-team-slider {
    font-size: 1.2vw;
  }

  .thp-team-slider__cursor {
    display: none;
  }

  .thp-team-slider__hero-copy {
    width: 78%;
  }
}

@media screen and (min-width: 768px) and (max-width: 1180px) and (orientation: landscape) {
  .thp-team-slider__service-title {
    font-size: clamp(24px, 5.6vh, 36px);
  }

  .thp-team-slider__service-list li {
    font-size: clamp(11px, 1.75vh, 14px);
  }

  .thp-team-slider__service {
    padding: clamp(22px, 5vh, 42px);
  }
}

@media screen and (min-width: 768px) and (max-width: 900px) {
  .thp-team-slider {
    font-size: 12px;
    padding-block: 14px;
  }

  .thp-team-slider__hero {
    padding-inline: 24px;
  }

  .thp-team-slider__hero-copy {
    width: 100%;
  }

  .thp-team-slider__title {
    font-size: min(var(--thp-heading-size), 42px);
    line-height: 1.05;
  }

  .thp-team-slider__slider {
    margin-top: -10px;
    padding-top: 16px;
  }

  .thp-team-slider__card {
    width: 50vw;
  }

  .thp-team-slider__card-body {
    left: calc(var(--thp-slide-gap) + 18px);
    right: calc(var(--thp-slide-gap) + 18px);
    bottom: 58px;
  }

  .thp-team-slider__name {
    font-size: 22px;
    line-height: 1.1;
  }

  .thp-team-slider__role {
    font-size: 14px;
  }

  .thp-team-slider__service {
    padding: 22px;
    overscroll-behavior: contain;
  }

  .thp-team-slider__service-list li {
    font-size: 15px;
  }

  .thp-team-slider__card--service-b .thp-team-slider__service {
    padding-inline: var(--thp-slide-gap);
  }

  .thp-team-slider__card--service-b .thp-team-slider__service-list {
    gap: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .thp-team-slider__card--service-b .thp-team-slider__service-list li {
    flex: 1 0 44px;
  }

  .thp-team-slider__controls {
    width: 96px;
    gap: 8px;
  }

  .thp-team-slider__control {
    width: 42px;
    height: 42px;
  }

  .thp-team-slider__wave,
  .thp-team-slider__wave--top {
    height: 28px;
    min-height: 28px;
  }
}

@media screen and (max-width: 767px) {
  .thp-team-slider {
    --thp-slider-footer-offset: 0px;
    --thp-slider-viewport-height: 100vh;
    height: calc(var(--thp-slider-viewport-height) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset));
    min-height: 0;
    max-height: calc(var(--thp-slider-viewport-height) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset));
    font-size: 12px;
    padding-block: 18px;
  }

  .thp-team-slider__hero {
    padding: 0 24px 0;
  }

  .thp-team-slider__slider {
    padding-top: 20px;
  }

  .thp-team-slider__hero-copy {
    width: 100%;
  }

  .thp-team-slider__title {
    font-size: var(--thp-heading-size);
  }

  .thp-team-slider__card {
    width: 100vw;
    height: 100%;
    min-height: 0;
    padding-right: 10px;
    padding-left: 10px;
  }

  .thp-team-slider__name {
    font-size: 27px;
  }

  .thp-team-slider__role {
    font-size: 13px;
  }

  .thp-team-slider__controls {
    bottom: 0;
    width: 96px;
    gap: 8px;
  }

  .thp-team-slider__control {
    width: 42px;
    height: 42px;
  }

  .thp-team-slider__wave {
    height: 20px;
    min-height: 20px;
  }

  .thp-team-slider__profile[href]::before {
    content: "Tap to view";
    position: absolute;
    inset: 0;
    z-index: 4;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 28, 51, 0.42);
    color: var(--thp-white);
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .thp-team-slider__card.is-tap-armed .thp-team-slider__profile[href]::before {
    opacity: 1;
  }

  .thp-team-slider__card.is-tap-armed .thp-team-slider__card-body {
    opacity: 0.48;
  }
}

@supports (height: 100dvh) {
  @media screen and (max-width: 767px) {
    .thp-team-slider {
      --thp-slider-viewport-height: 100dvh;
    }
  }
}

@media screen and (max-width: 479px) {
  .thp-team-slider__hero {
    padding-top: 0;
  }

  .thp-team-slider__card-body {
    left: 24px;
    right: 24px;
    bottom: 72px;
  }

  .thp-team-slider__controls {
    bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .thp-team-slider__modal-panel {
    inset: 0;
    overflow: auto;
  }

  .thp-team-slider__modal-grid {
    display: block;
    height: auto;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .thp-team-slider__modal-media {
    position: static;
    height: auto;
    min-height: 42vh;
  }

  .thp-team-slider__modal-media img {
    min-height: 42vh;
    max-height: 48vh;
  }

  .thp-team-slider__modal-copy {
    min-height: auto;
    overflow: visible;
    padding: 34px 24px 40px;
  }

  .thp-team-slider__modal-name {
    font-size: 38px;
  }
}

@media screen and (orientation: landscape) and (max-width: 1024px) and (max-height: 600px) {
  .thp-team-slider {
    height: clamp(400px, 58vw, 520px);
    min-height: 0;
    max-height: none;
  }

  .thp-team-slider__card {
    width: 50vw;
  }

  .thp-team-slider__card-body {
    bottom: 30px;
  }
}

@media screen and (orientation: portrait) and (max-width: 767px) {
  .thp-team-slider {
    height: calc(var(--thp-slider-viewport-height, 100vh) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset));
    min-height: calc(var(--thp-slider-viewport-height, 100vh) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset));
    max-height: none;
  }
}

/* Explicit ACF height choices override the adaptive legacy sizing above. */
@media screen and (min-width: 992px) {
  .thp-team-slider--height-desktop-full {
    height: calc(var(--thp-slider-viewport-height) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset)) !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .thp-team-slider--height-desktop-custom {
    height: var(--thp-slider-height-desktop) !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

/* Portrait mobile reference canvas: 390 x 450. */
@media screen and (max-width: 767px) and (orientation: portrait) {
  .thp-team-slider {
    --thp-mobile-unit: clamp(2.67px, 0.833vw, 3.58px);
    --thp-slide-gap: calc(var(--thp-mobile-unit) * 2.56);
    --thp-heading-size: clamp(26px, 8.12vw, 35px);
    --thp-subheading-size: clamp(11px, 3.42vw, 15px);
    box-sizing: border-box;
    height: min(115.3846vw, 450px) !important;
    min-height: min(115.3846vw, 450px) !important;
    max-height: 450px !important;
    padding-block: calc(var(--thp-mobile-unit) * 4.62);
    font-size: clamp(9px, 2.56vw, 10px);
  }

  .thp-team-slider__hero {
    padding-inline: calc(var(--thp-mobile-unit) * 6.15);
  }

  .thp-team-slider__title {
    font-size: clamp(26px, var(--thp-heading-size), 35px);
  }

  .thp-team-slider__subheading {
    margin-top: calc(var(--thp-mobile-unit) * 1.5);
    font-size: clamp(11px, var(--thp-subheading-size), 15px);
  }

  .thp-team-slider__slider {
    margin-top: calc(var(--thp-mobile-unit) * -2.56);
    padding-top: calc(var(--thp-mobile-unit) * 5.13);
  }

  .thp-team-slider__card {
    padding-inline: calc(var(--thp-mobile-unit) * 2.56);
  }

  .thp-team-slider__card-body {
    left: calc(var(--thp-mobile-unit) * 6.15);
    right: calc(var(--thp-mobile-unit) * 6.15);
    bottom: calc(var(--thp-mobile-unit) * 18.46);
  }

  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(17px, var(--thp-profile-name-font-mobile, 5.77vw), 23px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    margin-top: calc(var(--thp-mobile-unit) * 1.15);
    font-size: clamp(9px, var(--thp-profile-subtitle-font-mobile, 2.78vw), 11px) !important;
  }

  .thp-team-slider__service {
    padding: calc(var(--thp-mobile-unit) * 7.18);
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(11px, var(--thp-content-font-mobile, 3.85vw), 15px) !important;
  }

  .thp-team-slider__service-list a {
    border-radius: calc(var(--thp-mobile-unit) * 1.79);
  }

  .thp-team-slider__card--service-b .thp-team-slider__service-list {
    gap: calc(var(--thp-mobile-unit) * 5.13);
  }

  .thp-team-slider__controls {
    width: calc(var(--thp-mobile-unit) * 24.62);
    gap: calc(var(--thp-mobile-unit) * 2.05);
  }

  .thp-team-slider__control {
    width: calc(var(--thp-mobile-unit) * 10.77);
    height: calc(var(--thp-mobile-unit) * 10.77);
    border-width: max(1px, calc(var(--thp-mobile-unit) * 0.51));
  }

  .thp-team-slider__wave,
  .thp-team-slider__wave--top {
    height: calc(var(--thp-mobile-unit) * 5.13);
    min-height: 0;
  }

  .thp-team-slider__profile[href]::before {
    padding: calc(var(--thp-mobile-unit) * 6.15);
    font-size: clamp(12px, 3.85vw, 15px);
  }
}

/* Short mobile landscape reference canvas: 844 x 480. */
@media screen and (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 600px) {
  .thp-team-slider {
    --thp-mobile-landscape-unit: clamp(6.67px, 1vw, 8.44px);
    --thp-heading-size: clamp(28px, 4.5vw, 38px);
    --thp-subheading-size: clamp(12px, 1.9vw, 16px);
    box-sizing: border-box;
    height: min(56.872vw, 480px) !important;
    min-height: min(56.872vw, 480px) !important;
    max-height: 480px !important;
    padding-block: calc(var(--thp-mobile-landscape-unit) * 1.65);
    font-size: clamp(9.5px, 1.42vw, 12px);
  }

  .thp-team-slider__hero {
    padding-inline: calc(var(--thp-mobile-landscape-unit) * 2.84);
  }

  .thp-team-slider__title {
    font-size: clamp(28px, var(--thp-heading-size), 38px);
  }

  .thp-team-slider__subheading {
    margin-top: calc(var(--thp-mobile-landscape-unit) * 0.7);
    font-size: clamp(12px, var(--thp-subheading-size), 16px);
  }

  .thp-team-slider__slider {
    margin-top: calc(var(--thp-mobile-landscape-unit) * -1.18);
    padding-top: calc(var(--thp-mobile-landscape-unit) * 1.9);
  }

  .thp-team-slider__card-body {
    bottom: calc(var(--thp-mobile-landscape-unit) * 3.55);
  }

  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(17px, var(--thp-profile-name-font-tablet, 3.2vw), 27px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    font-size: clamp(10px, var(--thp-profile-subtitle-font-tablet, 1.54vw), 13px) !important;
  }

  .thp-team-slider__service {
    padding: calc(var(--thp-mobile-landscape-unit) * 2.6);
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(11px, var(--thp-content-font-tablet, 1.78vw), 15px) !important;
  }

  .thp-team-slider__card--service-b .thp-team-slider__service-list {
    gap: calc(var(--thp-mobile-landscape-unit) * 1.42);
  }

  .thp-team-slider__controls {
    width: calc(var(--thp-mobile-landscape-unit) * 11.37);
    gap: calc(var(--thp-mobile-landscape-unit) * 0.95);
  }

  .thp-team-slider__control {
    width: calc(var(--thp-mobile-landscape-unit) * 4.98);
    height: calc(var(--thp-mobile-landscape-unit) * 4.98);
  }

  .thp-team-slider__wave,
  .thp-team-slider__wave--top {
    height: calc(var(--thp-mobile-landscape-unit) * 2.37);
    min-height: 0;
  }
}

@media screen and (min-width: 568px) and (max-width: 767px) and (orientation: landscape) and (max-height: 600px) {
  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(17px, var(--thp-profile-name-font-mobile, 3.2vw), 27px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    font-size: clamp(10px, var(--thp-profile-subtitle-font-mobile, 1.54vw), 13px) !important;
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(11px, var(--thp-content-font-mobile, 1.78vw), 15px) !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .thp-team-slider--height-tablet-full {
    height: calc(var(--thp-slider-viewport-height) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset)) !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .thp-team-slider--height-tablet-custom {
    height: var(--thp-slider-height-tablet) !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

@media screen and (max-width: 767px) {
  .thp-team-slider--height-mobile-full {
    height: calc(var(--thp-slider-viewport-height) - var(--thp-slider-header-offset) - var(--thp-slider-footer-offset)) !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .thp-team-slider--height-mobile-custom {
    height: var(--thp-slider-height-mobile) !important;
    min-height: 0 !important;
    max-height: none !important;
  }
}

@media screen and (min-width: 992px) {
  .thp-team-slider--visible-slides-desktop .thp-team-slider__card {
    width: calc(100vw / var(--thp-visible-slides-desktop));
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .thp-team-slider--visible-slides-tablet .thp-team-slider__card {
    width: calc(100vw / var(--thp-visible-slides-tablet));
  }
}

@media screen and (max-width: 767px) {
  .thp-team-slider--visible-slides-mobile .thp-team-slider__card {
    width: calc(100vw / var(--thp-visible-slides-mobile));
  }
}

@media screen and (min-width: 992px) {
  .thp-team-slider--content-font-desktop .thp-team-slider__service-list li {
    font-size: var(--thp-content-font-desktop) !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .thp-team-slider--content-font-tablet .thp-team-slider__service-list li {
    font-size: var(--thp-content-font-tablet) !important;
  }
}

@media screen and (max-width: 767px) {
  .thp-team-slider--content-font-mobile .thp-team-slider__service-list li {
    font-size: var(--thp-content-font-mobile) !important;
  }
}

@media screen and (min-width: 992px) {
  .thp-team-slider--profile-name-font-desktop .thp-team-slider__name {
    font-size: var(--thp-profile-name-font-desktop) !important;
  }

  .thp-team-slider--profile-subtitle-font-desktop .thp-team-slider__role {
    font-size: var(--thp-profile-subtitle-font-desktop) !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .thp-team-slider--profile-name-font-tablet .thp-team-slider__name {
    font-size: var(--thp-profile-name-font-tablet) !important;
  }

  .thp-team-slider--profile-subtitle-font-tablet .thp-team-slider__role {
    font-size: var(--thp-profile-subtitle-font-tablet) !important;
  }
}

@media screen and (max-width: 767px) {
  .thp-team-slider--profile-name-font-mobile .thp-team-slider__name {
    font-size: var(--thp-profile-name-font-mobile) !important;
  }

  .thp-team-slider--profile-subtitle-font-mobile .thp-team-slider__role {
    font-size: var(--thp-profile-subtitle-font-mobile) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thp-team-slider *,
  .thp-team-slider *::before,
  .thp-team-slider *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .thp-team-slider__loader span {
    animation: thp-slider-spin 900ms linear infinite !important;
  }

  .thp-team-slider__modal,
  .thp-team-slider__modal-backdrop,
  .thp-team-slider__modal-panel,
  .thp-team-slider__modal-media,
  .thp-team-slider__modal-copy,
  .thp-team-slider__modal-close {
    opacity: 1 !important;
    transform: none !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Experimental fluid-desktop branch.
 * The desktop composition follows a 1440 x 650 reference canvas.
 */
@media screen and (min-width: 992px) {
  .thp-team-slider {
    --thp-fluid-unit: clamp(9.92px, 1vw, 14.4px);
    --thp-slide-gap: calc(var(--thp-fluid-unit) * 1.04);
    --thp-heading-size: calc(var(--thp-fluid-unit) * 3.4);
    --thp-subheading-size: calc(var(--thp-fluid-unit) * 1.15);
    box-sizing: border-box;
    height: min(45.1389vw, 650px) !important;
    min-height: min(45.1389vw, 650px) !important;
    max-height: 650px !important;
    padding-block: calc(var(--thp-fluid-unit) * 2.1);
    font-size: var(--thp-fluid-unit);
  }

  .thp-team-slider__hero {
    padding-inline: calc(var(--thp-fluid-unit) * 4.06);
  }

  .thp-team-slider__title {
    font-size: clamp(30px, var(--thp-heading-size), 49px);
  }

  .thp-team-slider__subheading {
    margin-top: 0.65em;
    font-size: clamp(11px, var(--thp-subheading-size), 17px);
  }

  .thp-team-slider__slider {
    margin-top: calc(var(--thp-fluid-unit) * -1.4);
    padding-top: calc(var(--thp-fluid-unit) * 1.8);
  }

  .thp-team-slider__fallback-mark {
    width: min(42%, calc(var(--thp-fluid-unit) * 13.2));
  }

  .thp-team-slider__card-body {
    bottom: calc(var(--thp-fluid-unit) * 4.55);
  }

  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(14px, var(--thp-profile-name-font-desktop, 1.45vw), 21px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    margin-top: calc(var(--thp-fluid-unit) * 0.43);
    font-size: clamp(9px, var(--thp-profile-subtitle-font-desktop, 0.78vw), 11.5px) !important;
  }

  .thp-team-slider__service {
    padding: calc(var(--thp-fluid-unit) * 3.25);
  }

  .thp-team-slider__service-title {
    font-size: clamp(18px, 1.8vw, 26px);
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(10px, var(--thp-content-font-desktop, 1.05vw), 15.5px) !important;
  }

  .thp-team-slider__service-list a {
    border-radius: calc(var(--thp-fluid-unit) * 0.49);
  }

  .thp-team-slider__card--service-b .thp-team-slider__service-list {
    gap: calc(var(--thp-fluid-unit) * 1.39);
  }

  .thp-team-slider__service-link {
    min-height: calc(var(--thp-fluid-unit) * 3.06);
    border-radius: calc(var(--thp-fluid-unit) * 0.42);
  }

  .thp-team-slider__wave {
    height: calc(var(--thp-fluid-unit) * 3.2);
    min-height: 0;
  }

  .thp-team-slider__wave--top {
    top: calc(var(--thp-fluid-unit) * 1.11);
    left: calc(var(--thp-fluid-unit) * -2);
    right: calc(var(--thp-fluid-unit) * -2);
    height: calc(var(--thp-fluid-unit) * 3.75);
    min-height: 0;
  }

  .thp-team-slider__wave--bottom {
    margin-bottom: calc(var(--thp-fluid-unit) * -0.6);
  }

  .thp-team-slider__control {
    border-width: max(1px, calc(var(--thp-fluid-unit) * 0.14));
  }
}

/* Keep responsive ACF typography values inside the mobile picture-scale bounds. */
@media screen and (max-width: 767px) and (orientation: portrait) {
  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(17px, var(--thp-profile-name-font-mobile, 5.77vw), 23px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    font-size: clamp(9px, var(--thp-profile-subtitle-font-mobile, 2.78vw), 11px) !important;
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(11px, var(--thp-content-font-mobile, 3.85vw), 15px) !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) and (max-height: 600px) {
  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(17px, var(--thp-profile-name-font-tablet, 3.2vw), 27px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    font-size: clamp(10px, var(--thp-profile-subtitle-font-tablet, 1.54vw), 13px) !important;
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(11px, var(--thp-content-font-tablet, 1.78vw), 15px) !important;
  }
}

@media screen and (min-width: 568px) and (max-width: 767px) and (orientation: landscape) and (max-height: 600px) {
  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(17px, var(--thp-profile-name-font-mobile, 3.2vw), 27px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    font-size: clamp(10px, var(--thp-profile-subtitle-font-mobile, 1.54vw), 13px) !important;
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(11px, var(--thp-content-font-mobile, 1.78vw), 15px) !important;
  }
}

/* All tablet-sized viewports follow the desktop 1440 x 650 aspect by default. */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .thp-team-slider,
  .thp-team-slider.thp-team-slider--height-tablet-full,
  .thp-team-slider.thp-team-slider--height-tablet-custom {
    --thp-tablet-unit: clamp(7.68px, 1vw, 9.91px);
    --thp-heading-size: clamp(26px, 3.4vw, 34px);
    --thp-subheading-size: clamp(10px, 1.15vw, 13px);
    box-sizing: border-box;
    height: 45.1389vw !important;
    min-height: 45.1389vw !important;
    max-height: 447.3px !important;
    padding-block: calc(var(--thp-tablet-unit) * 2.1);
    font-size: var(--thp-tablet-unit);
  }

  .thp-team-slider__hero {
    padding-inline: calc(var(--thp-tablet-unit) * 4.06);
  }

  .thp-team-slider__title {
    font-size: clamp(26px, var(--thp-heading-size), 34px);
  }

  .thp-team-slider__subheading {
    margin-top: calc(var(--thp-tablet-unit) * 0.65);
    font-size: clamp(10px, var(--thp-subheading-size), 13px);
  }

  .thp-team-slider__slider {
    margin-top: calc(var(--thp-tablet-unit) * -1.4);
    padding-top: calc(var(--thp-tablet-unit) * 1.8);
  }

  .thp-team-slider__card-body {
    bottom: calc(var(--thp-tablet-unit) * 4.55);
  }

  .thp-team-slider .thp-team-slider__name {
    font-size: clamp(13px, var(--thp-profile-name-font-tablet, 1.45vw), 16px) !important;
  }

  .thp-team-slider .thp-team-slider__role {
    margin-top: calc(var(--thp-tablet-unit) * 0.43);
    font-size: clamp(8.5px, var(--thp-profile-subtitle-font-tablet, 0.78vw), 10px) !important;
  }

  .thp-team-slider__service {
    padding: calc(var(--thp-tablet-unit) * 3.25);
  }

  .thp-team-slider .thp-team-slider__service-list li {
    font-size: clamp(9px, var(--thp-content-font-tablet, 1.05vw), 11px) !important;
  }

  .thp-team-slider__card--service-b .thp-team-slider__service-list {
    gap: calc(var(--thp-tablet-unit) * 1.39);
  }

  .thp-team-slider__controls {
    width: calc(var(--thp-tablet-unit) * 10.4);
    gap: calc(var(--thp-tablet-unit) * 0.72);
  }

  .thp-team-slider__control {
    width: calc(var(--thp-tablet-unit) * 2.82);
    height: calc(var(--thp-tablet-unit) * 2.82);
    border-width: max(1px, calc(var(--thp-tablet-unit) * 0.14));
  }

  .thp-team-slider__wave {
    height: calc(var(--thp-tablet-unit) * 3.2);
    min-height: 0;
  }

  .thp-team-slider__wave--top {
    top: calc(var(--thp-tablet-unit) * 1.11);
    height: calc(var(--thp-tablet-unit) * 3.75);
    min-height: 0;
  }
}

/* Final short-landscape height authority for tablet ACF modes. */
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) and (max-height: 600px) {
  .thp-team-slider,
  .thp-team-slider.thp-team-slider--height-tablet-full,
  .thp-team-slider.thp-team-slider--height-tablet-custom {
    height: min(56.872vw, 480px) !important;
    min-height: min(56.872vw, 480px) !important;
    max-height: 480px !important;
  }
}

/* Final mobile height authority: override ACF full/custom viewport-height classes. */
@media screen and (max-width: 767px) and (orientation: portrait) {
  .thp-team-slider,
  .thp-team-slider.thp-team-slider--height-mobile-full,
  .thp-team-slider.thp-team-slider--height-mobile-custom {
    height: min(115.3846vw, 450px) !important;
    min-height: min(115.3846vw, 450px) !important;
    max-height: 450px !important;
    block-size: min(115.3846vw, 450px) !important;
  }
}
