/* Shared service/blog uploaded videos (horizontal + reel) */
.media-videos {
  margin: 1.5rem 0 0.25rem;
}

.media-videos__grid {
  display: grid;
  gap: 1.25rem;
}

.media-videos__grid--both {
  grid-template-columns: 1.4fr 0.8fr;
  align-items: start;
}

.media-videos__item {
  margin: 0;
}

.media-videos__frame {
  border-radius: var(--radius-lg, 14px);
  overflow: hidden;
  border: 1px solid var(--color-border, #dce5df);
  background: #0f1713;
  box-shadow: var(--shadow-soft, 0 10px 28px rgba(15, 40, 28, 0.08));
}

.media-videos__frame--horizontal {
  aspect-ratio: 16 / 9;
}

.media-videos__frame--reel {
  aspect-ratio: 9 / 16;
  max-width: min(100%, 360px);
  margin-inline: auto;
}

.media-videos__player {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0f1713;
}

.media-videos__caption {
  margin-top: 0.55rem;
  font-size: 0.82rem;
  color: var(--color-text-muted, #5b6b63);
  text-align: center;
}

.service-detail-block .media-videos,
.article-featured + .media-videos,
.article-videos {
  margin-top: 0;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.article-videos {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 900px) {
  .media-videos__grid--both {
    grid-template-columns: 1fr;
  }

  .media-videos__frame--reel {
    max-width: min(100%, 320px);
  }
}
