/* =====================================================================
   Involve Team Carousel — base styles.
   Visual defaults; most look-and-feel values are overridden by the
   Elementor Style tab. Carousel layout is handled by Swiper.
   ===================================================================== */
.involve-team {
  --it-blue: #0A4D9A;
  font-family: inherit;
  position: relative;
}
.involve-team.it-empty {
  padding: 24px;
  border: 1px dashed #c3c9d4;
  border-radius: 10px;
  color: #5a6172;
  font-size: 14px;
}
.it-admin-note {
  margin: 0 0 28px;
  padding: 10px 14px;
  border: 1px dashed #d6a200;
  border-radius: 8px;
  background: #fff8e6;
  color: #7a5d00;
  font-size: 13px;
  line-height: 1.5;
}

/* ---- filter toolbar ---- */
.it-toolbar { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 36px; }
.it-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 600; color: #1A1E2E;
  background: #fff; border: 1.6px solid #2E6FB0; border-radius: 999px;
  padding: 12px 22px; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.it-pill svg, .it-pill i { width: 18px; height: 18px; color: currentColor; }
.it-pill:hover { filter: brightness(.97); }
.it-pill.is-active { background: var(--it-blue); border-color: var(--it-blue); color: #fff; }

/* ---- front-end autoplay toggle ---- */
.it-autoplay-toggle { display: flex; justify-content: flex-end; margin: 0 0 14px; }
.it-ap-btn {
  border: 1.4px solid #c7cfdb; background: #fff; color: #1A1E2E;
  border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background .2s, color .2s;
}
.it-ap-btn:hover { background: #eef4fb; }
.it-ap-btn .it-ap-play { display: none; }
.it-ap-btn.is-paused .it-ap-play { display: inline; }
.it-ap-btn.is-paused .it-ap-pause { display: none; }

/* ---- carousel (Swiper) ---- */
.it-carousel { position: relative; }
.it-window.swiper { overflow: hidden; padding: 6px 2px 18px; }
.it-track.swiper-wrapper { align-items: stretch; }

.it-card {
  height: auto;
  border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 12px 30px rgba(17,34,51,.10);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.it-card.no-shadow { box-shadow: none; }
.it-card:not(.no-lift):hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(17,34,51,.16); }
.it-card.no-shadow:not(.no-lift):hover { box-shadow: 0 12px 26px rgba(17,34,51,.14); }

.it-photo { position: relative; height: 300px; overflow: hidden; background: #e9e9e9; }
.it-photo__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.it-photo::after {                       /* blue gradient up the right of the photo */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(215deg, rgba(11,78,155,.55) 0%, rgba(11,78,155,.18) 26%, transparent 48%);
}
.it-info {
  background: var(--it-blue); color: #fff;
  padding: 20px; flex: 1 1 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.it-info__text { min-width: 0; }
.it-name { margin: 0 0 6px; font-size: 18px; font-weight: 800; line-height: 1.2; }
.it-role { margin: 0; font-size: 13.5px; font-weight: 500; line-height: 1.3; opacity: .92; }
.it-li {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.5);
  display: inline-grid; place-items: center;
  color: #fff; text-decoration: none; font-size: 14px; font-weight: 800;
  transition: background .2s, color .2s;
}
.it-li svg, .it-li i { width: 1em; height: 1em; font-size: 15px; }
.it-li:hover { background: #fff; color: var(--it-blue); }
.it-li:hover svg, .it-li:hover i { color: var(--it-blue); }

/* ---- arrows ---- */
.it-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  border: none; background: #fff; box-shadow: 0 18px 40px rgba(17,34,51,.12);
  color: var(--it-blue); font-size: 26px; line-height: 1; cursor: pointer; z-index: 4;
  display: grid; place-items: center; transition: background .2s, color .2s, opacity .2s;
}
.it-nav svg, .it-nav i { width: 22px; height: 22px; font-size: 22px; }
.it-nav:hover { background: var(--it-blue); color: #fff; }
.it-nav.is-hidden { display: none; }
.it-prev { left: -16px; }
.it-next { right: -16px; }

@media (max-width: 767px) {
  .it-nav { display: none; }
  .it-toolbar { gap: 10px; }
}
