.rtx-team {
  --rtx-team-per-view: 3;
  --rtx-team-gap: 14px;
  --rtx-team-overlay: rgba(0,0,0,.96);
  --rtx-team-nav-color: #fff;
  --rtx-team-nav-bg: rgba(255,255,255,.04);
  --rtx-team-dot: rgba(255,255,255,.20);
  --rtx-team-dot-active: #57A9D1;
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #090909;
}

.rtx-team__inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.rtx-team__header {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 700px;
  margin: 0 auto 34px;
  text-align: center;
}

.rtx-team__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.rtx-team__title {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #57A9D1;
  font-size: clamp(40px, 5vw, 62px);
  line-height: .96;
  text-transform: uppercase;
}

.rtx-team__body {
  margin: 0;
  max-width: 58ch;
  color: rgba(255,255,255,.88);
  font-size: 18px;
  line-height: 1.65;
}

.rtx-team__carousel {
  position: relative;
  padding-inline: 10px;
}

.rtx-team__viewport {
  position: relative;
  overflow: hidden;
}

.rtx-team__track {
  display: flex;
  align-items: stretch;
  gap: var(--rtx-team-gap);
  transition: transform var(--rtx-team-transition, 520ms) cubic-bezier(.22,1,.36,1);
  will-change: transform;
}

.rtx-team-card {
  position: relative;
  flex: 0 0 auto;
  height: 510px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: #080808;
  isolation: isolate;
}

.rtx-team-card__image,
.rtx-team-card__image img,
.rtx-team-card__overlay {
  position: absolute;
  inset: 0;
}

.rtx-team-card__image {
  background:
    radial-gradient(circle at 50% 30%, rgba(87,169,209,.18), transparent 38%),
    #111;
}

.rtx-team-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transition: transform .65s cubic-bezier(.22,1,.36,1), filter .4s ease;
}

.rtx-team-card__overlay {
  z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(0,0,0,.14) 52%, rgba(0,0,0,.68) 73%, var(--rtx-team-overlay) 100%);
  pointer-events: none;
}

.rtx-team-card__content {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: grid;
  gap: 15px;
  padding: 28px 24px 22px;
  text-align: center;
}

.rtx-team-card__identity {
  display: grid;
  gap: 7px;
}

.rtx-team-card__name {
  margin: 0;
  color: #57A9D1;
  font-size: 21px;
  line-height: 1.05;
}

.rtx-team-card__role {
  margin: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.35;
}

.rtx-team-card__specialty {
  margin: 1px 0 0;
  color: #fff;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.12;
}

.rtx-team-card__social {
  display: flex;
  justify-content: center;
  gap: 7px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: max-height .3s ease, opacity .25s ease, transform .3s cubic-bezier(.22,1,.36,1);
}

.rtx-team-card__social a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}

.rtx-team-card__social :is(i, svg) { width: 17px; height: 17px; display: grid; place-items: center; font-size: 17px; line-height: 1; }
.rtx-team-card__social a:hover,
.rtx-team-card__social a:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(87,169,209,.72);
  background: rgba(87,169,209,.22);
  outline: none;
}

.rtx-team-card:hover .rtx-team-card__image img,
.rtx-team-card:focus-within .rtx-team-card__image img { transform: scale(1.025); }

.rtx-team-card:hover .rtx-team-card__social,
.rtx-team-card:focus-within .rtx-team-card__social {
  max-height: 40px;
  opacity: 1;
  transform: none;
}

.rtx-team__arrows {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: -9px;
  right: -9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.rtx-team button.rtx-team__arrow {
  all: unset;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--rtx-team-nav-color) !important;
  box-shadow: none !important;
  font: inherit;
  line-height: 1;
  transform: none;
  cursor: pointer;
  pointer-events: auto;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  isolation: isolate;
}

/*
 * The visual surface lives on a pseudo-element so global Elementor/theme
 * button styles cannot paint or resize the navigation control itself.
 */
.rtx-team button.rtx-team__arrow::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: var(--rtx-team-nav-bg);
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  pointer-events: none;
  transition:
    border-color .2s ease,
    background-color .2s ease,
    box-shadow .2s ease,
    transform .2s cubic-bezier(.22,1,.36,1);
}

.rtx-team button.rtx-team__arrow > .rtx-team__arrow-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  color: currentColor;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}

.rtx-team button.rtx-team__arrow > .rtx-team__arrow-icon > svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  color: currentColor;
  transform: none !important;
  transform-origin: center;
  pointer-events: none;
}


@media (hover: hover) and (pointer: fine) {
  .rtx-team button.rtx-team__arrow:hover::before {
    border-color: rgba(145,207,236,.72);
    background: var(--rtx-team-nav-bg);
    box-shadow: 0 10px 26px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.12);
    transform: scale(1.05);
  }
}

.rtx-team button.rtx-team__arrow:focus-visible {
  outline: 2px solid rgba(255,255,255,.94) !important;
  outline-offset: 4px;
  border-radius: 999px !important;
}

.rtx-team button.rtx-team__arrow:active::before {
  transform: scale(.96);
}

.rtx-team__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  margin-top: 15px;
}

.rtx-team__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rtx-team-dot);
  cursor: pointer;
  transition: width .22s cubic-bezier(.22,1,.36,1), background-color .18s ease;
}

.rtx-team__dots button.is-active { width: 20px; background: var(--rtx-team-dot-active); }
.rtx-team__dots button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.rtx-team__actions {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}


.rtx-team-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity var(--rtx-reveal-duration, .68s) cubic-bezier(.22,1,.36,1), transform var(--rtx-reveal-duration, .68s) cubic-bezier(.22,1,.36,1);
  transition-delay: var(--rtx-reveal-delay, 0ms);
}
.rtx-team-reveal[data-rtx-animation="fade"] { transform: none; }
.rtx-team-reveal[data-rtx-animation="reveal"] { transform: translate3d(-24px, 0, 0); }
.rtx-team-reveal[data-rtx-animation="none"],
.rtx-team-reveal.is-visible { opacity: 1; transform: none; }

body.elementor-editor-active .rtx-team-reveal,
body.elementor-editor-preview .rtx-team-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (hover: none), (pointer: coarse) {
  .rtx-team-card__social {
    max-height: 40px;
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rtx-team__track,
  .rtx-team-card__image img,
  .rtx-team-card__social,
  .rtx-team-reveal { transition: none !important; }
  .rtx-team-reveal { opacity: 1; transform: none; }
}

/* Mobile carousel — one clear card, one navigation system, full-width typography. */
@media (max-width: 767px) {
  .rtx-team__header {
    justify-items: start;
    width: 100%;
    max-width: none;
    margin: 0 0 26px;
    text-align: left;
  }

  .rtx-team__eyebrow { font-size: 11px; letter-spacing: .16em; }
  .rtx-team__title {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 !important;
    font-size: clamp(34px, 9.8vw, 46px);
    line-height: 1;
    text-align: left;
    text-wrap: initial;
    overflow-wrap: normal;
    word-break: normal;
  }
  .rtx-team__body { width: 100%; max-width: none; font-size: 15.5px; line-height: 1.6; }

  .rtx-team__carousel {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 12px;
    padding-inline: 0;
  }

  .rtx-team__viewport {
    grid-column: 1 / -1;
    grid-row: 1;
    touch-action: pan-y;
  }

  .rtx-team-card {
    border-color: rgba(255,255,255,.12);
    border-radius: 2px;
  }

  .rtx-team-card__image img {
    object-position: center 30%;
    transform: none;
    transition: none;
  }

  .rtx-team-card__content {
    gap: 12px;
    padding: 24px 18px 18px;
    text-align: left;
  }

  .rtx-team-card__identity { gap: 5px; }
  .rtx-team-card__name { font-size: 21px; }
  .rtx-team-card__role { font-size: 12px; }
  .rtx-team-card__specialty { font-size: 18px; line-height: 1.15; }

  .rtx-team-card__social {
    justify-content: flex-start;
    gap: 8px;
  }

  .rtx-team-card__social a {
    width: 42px;
    height: 42px;
  }

  .rtx-team__arrows {
    display: contents;
    transform: none;
  }

  .rtx-team button.rtx-team__arrow {
    position: static;
    top: auto;
    width: 48px;
    height: 48px;
    transform: none;
  }

  .rtx-team button.rtx-team__arrow::before {
    border-color: rgba(255,255,255,.22);
    background: rgba(5,10,13,.72);
    box-shadow: none;
  }

  .rtx-team button.rtx-team__arrow > .rtx-team__arrow-icon {
    width: 18px;
    height: 18px;
  }

  .rtx-team button.rtx-team__arrow > .rtx-team__arrow-icon > svg {
    width: 18px;
    height: 18px;
  }

  .rtx-team__arrow--prev { grid-column: 1; grid-row: 2; justify-self: start; }
  .rtx-team__arrow--next { grid-column: 3; grid-row: 2; justify-self: end; }

  .rtx-team button.rtx-team__arrow:focus-visible {
    outline: 2px solid #fff !important;
    outline-offset: 3px;
  }

  .rtx-team__dots {
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 48px;
    margin-top: 0;
    overflow: hidden;
  }

  .rtx-team__dots button {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 44px;
    background: transparent !important;
  }

  .rtx-team__dots button::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255,255,255,.28);
    transform: translate(-50%, -50%);
    transition: width .2s ease, background-color .2s ease;
  }

  .rtx-team__dots button.is-active { width: 22px; background: transparent !important; }
  .rtx-team__dots button.is-active::before { width: 18px; background: #57A9D1; }
  .rtx-team__dots button:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 999px; }

  .rtx-team__actions { margin-top: 18px; }
  .rtx-team__button { width: min(100%, 320px); }
}

@media (hover: none), (pointer: coarse) {
  .rtx-team-card:hover .rtx-team-card__image img { transform: none; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  .rtx-team__dots button::before { transition: none; }
}

/* 1.26.0 — Team carousel arrows are isolated from global button/theme styles. */

/* 1.28.0 — Team arrows use inline SVG to prevent duplicated chevrons from global icon systems. */

/* 1.29.0 — Arrow pair is positioned by a dedicated full-width navigation wrapper, preventing prev/next overlap. */
