.ktv-facebook-videos {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid var(--ktv-line, #e4e4e4);
}

.ktv-facebook-video-caption > a {
	flex: none;
	color: #626262;
	font-size: 12px;
	line-height: 1.4;
}

.ktv-facebook-videos a:hover {
	color: #1877f2;
	text-decoration: underline;
}

.ktv-facebook-videos a:focus-visible {
	outline: 2px solid #1877f2;
	outline-offset: 4px;
}

.ktv-facebook-videos-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ktv-facebook-video {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: start;
	gap: 12px;
	min-width: 0;
}

.ktv-facebook-video-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 5px;
	background: #181818;
}

.ktv-facebook-video-player iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.ktv-facebook-video-player .fb-video,
.ktv-facebook-video-player .fb-video > span,
.ktv-facebook-video-player .fb-xfbml-parse-ignore {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.ktv-facebook-video-placeholder {
	display: flex;
	height: 100%;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 13px;
	background: linear-gradient(135deg, #ededed, #dedede);
	color: #717171;
	font-size: 13px;
}

.ktv-facebook-video-play {
	display: grid;
	width: 46px;
	height: 46px;
	padding-left: 3px;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: #737373;
	font-size: 17px;
}

.ktv-facebook-video-caption {
	contain: size;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-height: 0;
	overflow: hidden;
}

.ktv-facebook-video-caption h3 {
	display: -webkit-box;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	font-size: 14px;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

@media (min-width: 901px) {
	.home-news:has(> .ktv-facebook-videos) .top-news-layout {
		max-height: 520px;
	}

	.home-news:has(> .ktv-facebook-videos) .featured-video,
	.home-news:has(> .ktv-facebook-videos) .top-news-slider {
		height: 520px;
	}
}

@media (max-width: 700px) {
	.ktv-facebook-videos-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
}
