/**
 * Section: Các tin tức liên quan — Chi tiết tin tức
 * Nguồn số đo: Figma node 1740:12006 (1600×522).
 * Cần Swiper base CSS (dep "swiper") do page enqueue.
 */

.section-tt-related {
	overflow: hidden;
	width: 100%;
	padding: 0 6.25rem 6.25rem 6.25rem;
	background-color: #ffffff;
	font-family: "Nunito Sans", sans-serif;
}

/* Đầu section: tiêu đề trái + điều hướng phải ------------------------------ */
.section-tt-related__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.section-tt-related__title {
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 3.125rem;
	letter-spacing: -0.0938rem;
	color: #003253;
}

.section-tt-related__nav {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	margin-left: 1rem;
}

.section-tt-related__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 0.25rem;
	background-color: #d9d9d9;
	cursor: pointer;
	transition: background-color 0.25s ease;
}

.section-tt-related__arrow+.section-tt-related__arrow {
	margin-left: 0.625rem;
}

.section-tt-related__arrow img {
	display: block;
	width: 0.9375rem;
	height: auto;
	transition: filter 0.25s ease;
}

.section-tt-related__arrow--prev img {
	transform: rotate(180deg);
}

.section-tt-related__arrow:hover,
.section-tt-related__arrow:focus-visible {
	background-color: #079de2;
	outline: none;
}

.section-tt-related__arrow:hover img,
.section-tt-related__arrow:focus-visible img {
	filter: brightness(0) invert(1);
}

.section-tt-related__arrow.swiper-button-disabled {
	opacity: 0.4;
	cursor: default;
}

.section-tt-related__arrow.swiper-button-disabled:hover {
	background-color: #d9d9d9;
}

.section-tt-related__arrow.swiper-button-disabled:hover img {
	filter: none;
}

/* Carousel ---------------------------------------------------------------- */
.section-tt-related__carousel {
	width: 100%;
	margin-top: var(--spacing-r-40, 2.5rem);
	overflow: hidden;
}

.section-tt-related__slide {
	display: flex;
	width: 20.75rem;
	height: auto;
}

/* Card fill chiều cao slide để các thẻ cao bằng nhau. */
.section-tt-related__slide>.card-tin-tuc {
	width: 100%;
}

@media screen and (max-width: 639.98px) {
	.section-tt-related {
		padding: 0 1rem 2.5rem 1rem;
	}

	/* "Các tin tức liên quan" 28/800 / lh36 (1856:13852) */
	.section-tt-related__title {
		font-size: 1.75rem;
		line-height: 2.25rem;
		letter-spacing: -0.0625rem;
	}

	.section-tt-related__carousel {
		margin-top: 1.5rem;
		overflow: visible;
	}

	.section-tt-related__slide {
		width: auto;
	}
}