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

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

.teamavatar-process-copy {
  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);
  padding: 28px 30px 24px;
  position: relative;
}

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

.teamavatar-process-copy::before {
  background: linear-gradient(90deg, rgba(255, 119, 0, 0.95), rgba(17, 125, 194, 0.92));
  content: "";
  display: block;
  height: 6px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.teamavatar-process-title {
  color: #252525;
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.22;
  margin-bottom: 24px;
  max-width: 26ch;
}

.teamavatar-process-copy p {
  color: #6c7782;
  font-size: 15px;
  line-height: 1.82;
  margin: 0 0 16px;
}

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

.teamavatar-process-columns {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.teamavatar-video-module::before {
  background: linear-gradient(90deg, #117dc2, #1491e1 62%, #ff7700);
  content: "";
  display: block;
  height: 6px;
  width: 100%;
}

.teamavatar-video-stage {
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

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

.teamavatar-video-meta {
  background:
    linear-gradient(180deg, rgba(19, 32, 49, 0.98), rgba(16, 38, 60, 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;
  flex: 1 1 auto;
  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: auto;
  padding-right: 4px;
}

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

.teamavatar-video-list-scroll::-webkit-scrollbar-thumb {
  background: rgba(17, 125, 194, 0.24);
  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.06);
  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;
    max-width: none;
  }

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

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

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

  .teamavatar-process-copy {
    padding: 24px 24px 18px;
  }

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

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