/* =========================================================
   Voctos — The Team (drag slider)
   ========================================================= */

.voctos-ourteam-block {
  width: 100%;
  background: var(--ot-bg, #eef0f5);
  font-family: 'Unbounded', sans-serif;
  color: #0D172D;
  --ot-accent: #7FC13F;
  --ot-role: #7FC13F;
  --ot-gap: 0px;
  --ot-per-view: 5;
}

.voctos-ourteam-block .ot-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* heading row */
.voctos-ourteam-block .ot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.voctos-ourteam-block .ot-title {
  font-family: 'Unbounded', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.05;
  color: #0D172D;
  margin: 0;
}

.voctos-ourteam-block .ot-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Unbounded', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #8a94a6;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}

.voctos-ourteam-block .ot-all svg {
  width: 18px;
  height: 18px;
}

.voctos-ourteam-block .ot-all:hover {
  color: #0D172D;
}

/* slider mechanics */
.voctos-ourteam-block .ot-viewport {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.voctos-ourteam-block .ot-viewport.is-dragging {
  cursor: grabbing;
}

.voctos-ourteam-block .ot-track {
  display: flex;
  gap: var(--ot-gap);
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

/* no transition while the user drags */
.voctos-ourteam-block .ot-track.no-anim {
  transition: none;
}

.voctos-ourteam-block .ot-card {
  flex: 0 0 calc((100% - (var(--ot-per-view) - 1) * var(--ot-gap)) / var(--ot-per-view));
  min-width: 0;
  display: flex;
  flex-direction: column;
  user-select: none;
}

/* photo */
.voctos-ourteam-block .ot-photo {
  position: relative;
  aspect-ratio: 5 / 6;
  border-radius: 2px;
  overflow: hidden;
  background: #c9cdd6;
}

.voctos-ourteam-block .ot-photo img,
.voctos-ourteam-block .ot-photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .35s ease, transform .5s ease;
  -webkit-user-drag: none;
  user-select: none;
}

/* hover restores the original colors */
.voctos-ourteam-block .ot-photo:hover img {
  filter: grayscale(0);
  transform: scale(1.03);
}

/* subtle bottom gradient so the role label stays readable */
.voctos-ourteam-block .ot-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(to top, rgba(13, 23, 45, .55), rgba(13, 23, 45, 0));
  pointer-events: none;
}

/* (i) info button — top-right of the photo */
.voctos-ourteam-block .ot-info {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #0D172D;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.voctos-ourteam-block .ot-info svg {
  width: 18px;
  height: 18px;
}

.voctos-ourteam-block .ot-info:hover {
  background: #fff;
  transform: scale(1.06);
}

/* role label (green, uppercase) — sits at the bottom of the photo */
.voctos-ourteam-block .ot-role {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  font-family: 'Unbounded', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ot-role, #7FC13F);
}

/* name — under the photo, smaller */
.voctos-ourteam-block .ot-name {
  margin: 14px 0 0;
  font-family: 'Unbounded', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #0D172D;
}

/* progress bar */
.voctos-ourteam-block .ot-progress {
  position: relative;
  height: 4px;
  margin-top: 34px;
  border-radius: 9999px;
  background: rgba(13, 23, 45, .12);
  cursor: pointer;
}

.voctos-ourteam-block .ot-progress-thumb {
  position: absolute;
  top: 50%;
  left: 0;
  height: 4px;
  width: 20%;
  transform: translateY(-50%);
  border-radius: 9999px;
  background: var(--ot-accent, #b4f33c);
  cursor: grab;
}

.voctos-ourteam-block .ot-progress-thumb.is-dragging {
  cursor: grabbing;
}

.voctos-ourteam-block .ot-progress.is-static {
  display: none;
}

/* =========================================================
   Tooltip — portaled to <body>, positioned above the icon
   (kept outside .voctos-ourteam-block scope on purpose)
   ========================================================= */
.voctos-ourteam-tooltip {
  position: fixed;
  z-index: 99999;
  width: max-content;
  max-width: 260px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0D172D;
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  box-shadow: 0 14px 34px rgba(13, 23, 45, .28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -100%) translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}

.voctos-ourteam-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -100%) translateY(0);
}

/* arrow pointing down to the icon */
.voctos-ourteam-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: var(--tip-arrow, 50%);
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-top-color: #0D172D;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .voctos-ourteam-block { --ot-per-view: 3; }
  .voctos-ourteam-block .ot-title { font-size: 38px; }
}

@media (max-width: 768px) {
  .voctos-ourteam-block {
    padding: 50px 0;
    --ot-per-view: 2;
  }
  .voctos-ourteam-block .ot-head {
    flex-wrap: wrap;
    gap: 14px;
  }
  .voctos-ourteam-block .ot-title { font-size: 30px; }
  .voctos-ourteam-block .ot-photo { aspect-ratio: 1 / 1; }
}
