.jthouse-videos {
  width: 100%;
}

.jthouse-videos__player-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
  background: #000;
}

.jthouse-videos__player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.jthouse-videos__thumbs {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.jthouse-videos__thumb {
  position: relative;
  flex: 0 0 auto;
  width: 160px !important;
  height: 90px !important;
  padding: 0;
  border: none;
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%) !important;
  cursor: pointer;
  border-radius: 0.375rem;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.jthouse-videos__thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.jthouse-videos__thumb-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.jthouse-videos__thumb-number {
  position: absolute;
  bottom: 0.25rem;
  right: 0.25rem;
  padding: 0.125rem 0.375rem;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.1875rem;
}

.jthouse-videos__thumb circle {
  fill: rgba(255, 255, 255, 0.3);
  transition: fill 0.2s ease;
}

.jthouse-videos__thumb.active circle {
  fill: #ff0080;
}

.jthouse-videos__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.jthouse-videos__play--hidden {
  opacity: 0;
  pointer-events: none;
}

.jthouse-videos__play:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.jthouse-videos__play svg {
  display: block;
  width: 68px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}
