.teamavatar-feature-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.teamavatar-feature-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.teamavatar-process-copy {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(17, 125, 194, 0.14);
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(17, 35, 58, 0.08);
  padding: 34px 34px 40px;
  position: relative;
}

.teamavatar-process-row {
  margin-top: 22px;
}

.teamavatar-process-title {
  color: #252525;
  font-size: 34px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 12px;
  max-width: none;
}

.teamavatar-process-copy p {
  color: #6c7782;
  font-size: 16px;
  line-height: 1.72;
  margin: 0 0 12px;
  max-width: none;
}

.teamavatar-process-copy p:last-child {
  margin-bottom: 0;
}

.teamavatar-process-columns {
  display: grid;
  column-gap: 24px;
  row-gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.teamavatar-process-columns > div {
  display: grid;
  gap: 10px;
  align-content: start;
}

.teamavatar-video-module {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 253, 0.98));
  border: 0;
  border-radius: 14px;
  box-shadow: 0 20px 42px rgba(17, 35, 58, 0.16);
  overflow: hidden;
  position: relative;
}

.teamavatar-video-module::before {
  background: #1b334b;
  content: "";
  display: none;
  height: 0;
  opacity: 1;
  transition: opacity 160ms ease;
  width: 100%;
}

.teamavatar-video-module.is-playing::before {
  opacity: 0;
}

.teamavatar-video-stage {
  background: #1b334b;
  padding: 4px 4px 0;
  position: relative;
  z-index: 2;
}

.teamavatar-video-viewport {
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px 8px 0 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.teamavatar-video-stage video {
  background: #000;
  display: block;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  width: 100%;
}

.teamavatar-video-viewport video {
  position: relative;
  width: 100%;
  z-index: 1;
}

.teamavatar-video-overlay {
  display: grid;
  inset: 0;
  opacity: 1;
  place-items: center;
  pointer-events: none;
  position: absolute;
  transition: opacity 180ms ease;
  z-index: 3;
}

.teamavatar-video-overlay.is-hidden {
  opacity: 0;
}

.teamavatar-video-big-play {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 24, 36, 0.18);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(8, 15, 24, 0.24);
  color: #111923;
  cursor: pointer;
  display: inline-flex;
  font-size: 31px;
  height: 76px;
  justify-content: center;
  padding-left: 4px;
  pointer-events: auto;
  transition: background 0.18s ease, transform 0.18s ease;
  width: 76px;
}

.teamavatar-video-big-play:hover,
.teamavatar-video-big-play:focus-visible {
  background: #fff;
  transform: scale(1.02);
}

.teamavatar-video-big-play span {
  display: inline-block;
  line-height: 1;
}

.teamavatar-video-big-play svg {
  display: block;
  fill: #111923;
  height: 34px;
  stroke: #111923;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 34px;
}

.teamavatar-video-big-play .teamavatar-icon-line {
  fill: none;
}

.teamavatar-video-controls {
  background: transparent;
  bottom: 0;
  left: 4px;
  padding: 18px 10px 14px;
  position: absolute;
  right: 4px;
  transition: opacity 0.18s ease;
  z-index: 4;
}

.teamavatar-video-module.is-controls-hidden .teamavatar-video-controls {
  opacity: 0;
  pointer-events: none;
}

.teamavatar-video-seek-wrap {
  align-self: center;
  min-width: 0;
  position: relative;
  width: 100%;
}

.teamavatar-video-buffered {
  background: rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  height: 3px;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 0%;
}

.teamavatar-video-seek {
  --seek-pct: 0%;
  -webkit-appearance: none;
  appearance: none;
  background: linear-gradient(90deg, #2f9ae0 0%, #2f9ae0 var(--seek-pct), rgba(255, 255, 255, 0.28) var(--seek-pct), rgba(255, 255, 255, 0.28) 100%);
  border-radius: 999px;
  cursor: pointer;
  height: 3px;
  margin: 0;
  position: relative;
  width: 100%;
}

.teamavatar-video-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #51b7ff;
  border: 0;
  border-radius: 50%;
  height: 11px;
  width: 11px;
}

.teamavatar-video-seek::-moz-range-thumb {
  background: #51b7ff;
  border: 0;
  border-radius: 50%;
  height: 11px;
  width: 11px;
}

.teamavatar-video-seek::-moz-range-track {
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  border-radius: 999px;
  height: 3px;
}

.teamavatar-video-seek::-moz-range-progress {
  background: #2f9ae0;
  border: 0;
  border-radius: 999px;
  height: 3px;
}

.teamavatar-video-control-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.teamavatar-video-control-group {
  align-items: center;
  display: flex;
  gap: 8px;
}

.teamavatar-video-control-btn {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 24, 36, 0.18);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(8, 15, 24, 0.22);
  color: #111923;
  cursor: pointer;
  display: inline-flex;
  font-size: 18px;
  height: 28px;
  justify-content: center;
  line-height: 1;
  min-width: 28px;
  padding: 0 9px;
}

.teamavatar-video-control-btn span {
  display: inline-block;
  line-height: 1;
  transform: scale(1.12);
}

.teamavatar-video-control-btn svg {
  display: block;
  fill: #111923;
  height: 17px;
  stroke: #111923;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 17px;
}

.teamavatar-video-control-btn svg path {
  vector-effect: non-scaling-stroke;
}

.teamavatar-video-control-btn .teamavatar-icon-line {
  fill: none;
}

.teamavatar-video-control-btn:hover,
.teamavatar-video-control-btn:focus-visible {
  background: #fff;
}

.teamavatar-video-time {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(8, 15, 24, 0.18);
  color: #111923;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 8px 10px;
  white-space: nowrap;
}

.teamavatar-video-meta {
  background:
    linear-gradient(180deg, rgba(27, 51, 75, 0.98), rgba(23, 48, 73, 0.98));
  color: #dbe7f4;
  padding: 18px 22px 22px;
  position: relative;
}

.teamavatar-video-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.teamavatar-video-description {
  color: rgba(219, 231, 244, 0.84);
  font-size: 14px;
  line-height: 1.65;
}

.teamavatar-video-list {
  display: grid;
  gap: 12px;
}

.teamavatar-video-list-wrap {
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(17, 125, 194, 0.14);
  border-radius: 14px;
  box-shadow: 0 20px 42px rgba(17, 35, 58, 0.08);
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  min-height: 100%;
  padding: 18px 18px 16px;
}

.teamavatar-video-list-heading {
  color: #10263c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.teamavatar-video-list-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: scroll;
  padding-right: 4px;
  scrollbar-color: #2f9ae0 rgba(17, 125, 194, 0.08);
  scrollbar-width: thin;
  scrollbar-gutter: stable;
}

.teamavatar-video-list-scroll::-webkit-scrollbar {
  width: 12px;
}

.teamavatar-video-list-scroll::-webkit-scrollbar-thumb {
  background: #2f9ae0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
}

.teamavatar-video-list-scroll::-webkit-scrollbar-track {
  background: rgba(17, 125, 194, 0.08);
  border-radius: 999px;
}

.teamavatar-video-item {
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #f7fbff);
  border: 1px solid rgba(17, 125, 194, 0.14);
  border-radius: 12px;
  color: #243446;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 92px;
  padding: 10px 11px;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  width: 100%;
}

.teamavatar-video-item:hover,
.teamavatar-video-item:focus-visible {
  border-color: rgba(255, 119, 0, 0.42);
  box-shadow: 0 14px 26px rgba(9, 25, 43, 0.12);
  transform: translateY(-1px);
}

.teamavatar-video-item.is-active {
  background: linear-gradient(180deg, #eaf4fc, #f3f8fd);
  border-color: rgba(17, 125, 194, 0.44);
  box-shadow: inset 0 0 0 1px rgba(17, 125, 194, 0.14);
}

.teamavatar-video-thumb {
  aspect-ratio: 16 / 9;
  background: center / cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(16, 38, 60, 0.16);
  display: block;
  overflow: hidden;
  width: 100%;
}

.teamavatar-video-item > span:last-child {
  align-self: center;
  display: block;
}

.teamavatar-video-item-title {
  color: #10263c;
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 3px;
  max-width: 26ch;
}

.teamavatar-video-item-body {
  color: #5f6f7f;
  display: block;
  font-size: 12px;
  line-height: 1.42;
  max-width: 34ch;
}

@media (max-width: 991px) {
  .teamavatar-feature-row {
    display: block;
  }

  .teamavatar-feature-col {
    display: block;
  }

  .teamavatar-process-title {
    font-size: 26px;
    line-height: 1.24;
    max-width: none;
  }

  .teamavatar-video-list-wrap {
    margin-top: 24px;
    min-height: 0;
  }

  .teamavatar-video-list-scroll {
    max-height: 420px;
  }

  .teamavatar-video-controls {
    left: 4px;
    padding: 16px 8px 12px;
    right: 4px;
  }

  .teamavatar-video-big-play {
    font-size: 28px;
    height: 68px;
    width: 68px;
  }

  .teamavatar-process-row {
    margin-top: 0;
  }

  .teamavatar-process-copy {
    padding: 28px 28px 30px;
  }

  .teamavatar-video-module {
    position: relative;
    z-index: 5;
  }

  .teamavatar-process-columns {
    gap: 20px;
    grid-template-columns: 1fr;
  }

  .teamavatar-process-columns > div {
    gap: 20px;
  }

  .teamavatar-process-copy p {
    margin-bottom: 0;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .teamavatar-video-item {
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 0;
  }

  .teamavatar-video-control-row {
    gap: 8px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .teamavatar-video-control-btn {
    font-size: 13px;
    height: 26px;
    min-width: 26px;
    padding: 0 8px;
  }

  .teamavatar-video-time {
    font-size: 11px;
  }
}
