/*
Media slider for HRMS
*/
.video-slider-title {
	font-weight: 700;
	font-size: 1.8rem;
	margin-bottom: 24px;
}

.video-card {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #f4f4f4;
	aspect-ratio: 16/9;
}

.video-card img,
.video-card iframe {
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}

/*.video-overlay {
	position: absolute;
	inset: auto 0 0 0;
	padding: 12px 14px;
	background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
	color: #fff;
	font-size: .95rem;
	font-weight: 600;
}*/

.video-overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
    color: #fff;
    font-size: 14px;
}

.carousel-control-prev,
.carousel-control-next {
	width: 48px;
	height: 48px;
	background: #ffffff;
	border-radius: 50%;
	top: 50%;
	transform: translateY(-50%);
	opacity: 1;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.carousel-control-prev {
	left: -24px; /* bisa disesuaikan */
}

.carousel-control-next {
	right: -24px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	filter: invert(1);
	width: 20px;
	height: 20px;
}

.video-more-link {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
    color: #000;
}

.video-more-link:hover {
    background: #0d6efd;
    color: #fff;
}

@media (max-width: 768px) {
	.video-slider-title {
		font-size: 1.4rem;
	}
}