@font-face {
	font-family: "Iciel Pony";
	src: url("../fonts/iciel-pony/regular.woff2") format("woff2"),
		url("../fonts/iciel-pony/regular.woff") format("woff"),
		url("../fonts/iciel-pony/regular.ttf") format("truetype");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

body {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE 10 and IE 11 */
  user-select: none;         /* Standard syntax */
}

/* ================================================== */
header.header .search-form {
	width: 100%;
}

/* ================================================== */
footer.footer .category-list {
	list-style-type: none;
	padding-left: 0;
	-moz-columns: 2;
	columns: 2;
}

@media screen and (min-width: 576px) {
	footer.footer .category-list {
		-moz-columns: 3;
		columns: 3;
	}
}

/* ================================================== */
main {
	position: relative;
}

/* ================================================== */
#body-bg {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	filter: blur(5rem);
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	overflow: visible;
}

@media screen and (min-width: 768px) {
	#body-bg {
		width: 50%;
		left: 50%;
	}
}

/* ================================================== */
section {
	max-width: 1920px;
	margin-inline: auto;
	overflow: hidden;
}

/* ================================================== */
.section-hero_banner {
	position: relative;
}

.section-hero_banner .swiper-truyen-content .swiper-slide:not(.swiper-slide-active) {
	opacity: 0 !important;
}

.section-hero_banner .title {
	max-width: 80%;
}

.section-hero_banner .van-an p {
	margin-bottom: 0.5rem;
}

.section-hero_banner .swiper-truyen-thumb {
	padding: 0 7.5%;
}

.section-hero_banner .swiper-truyen-thumb .swiper-slide {
	opacity: 0;
}

.section-hero_banner .swiper-truyen-thumb .swiper-slide.swiper-slide-visible,
.section-hero_banner .swiper-truyen-thumb .swiper-slide.swiper-slide-prev,
.section-hero_banner .swiper-truyen-thumb .swiper-slide.swiper-slide-next {
	opacity: 1;
}

/* ================================================== */
.bi {
	width: 1em;
	height: 1em;
	vertical-align: -0.125em;
	fill: currentcolor;
}

.btn-back {
	color: var(--bs-body-color);
}

.btn-nobg {
	border: 0;
	background: transparent;
	padding: 0;
	line-height: 1;
	color: var(--bs-body-color);
}

.img-cover {
	overflow: hidden;
}

.img-cover img {
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
}

.line-clamp {
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
}

.line-clamp-1 {
	-webkit-line-clamp: 1;
	line-clamp: 1;
}

.line-clamp-2 {
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.line-clamp-6 {
	-webkit-line-clamp: 6;
	line-clamp: 6;
}

.ratio-3x4 {
	aspect-ratio: 3/4;
}

/* ================================================== */
article.truyen .tag {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	width: auto;
	height: auto;
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
}

article.truyen .tag-item {
	border-radius: 0.5rem;
	padding: 0.25rem 0.5rem;
	line-height: 1;
}

article.truyen .tag-full {
	background-color: #ff0000;
	color: #ffffff;
}

article.truyen .truyen-title a {
	color: inherit;
}

article.truyen:hover .truyen-title {
	color: rgb(var(--bs-link-hover-color-rgb));
}

/* ================================================== */
.related-truyen article.truyen .truyen-thumb {
	width: 5rem;
	min-width: 5rem;
	max-width: 25%;
}

.related-truyen article.truyen .tag {
	top: 0.25rem;
	left: 0.25rem;
}

.related-truyen article.truyen .tag-item {
	border-radius: 0.5rem;
	padding: 0.25rem 0.5rem;
	font-size: 0.75rem;
	line-height: 1;
}

/* ================================================== */
.section-archive-truyen .truyen-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem 1rem;
}

@media screen and (min-width: 576px) {
	.section-archive-truyen .truyen-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 2rem 1rem;
	}
}

@media screen and (min-width: 992px) {
	.section-archive-truyen .truyen-grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 2rem 1rem;
	}
}

@media screen and (min-width: 1400px) {
	.section-archive-truyen .truyen-grid {
		grid-template-columns: repeat(8, 1fr);
		gap: 2rem 1rem;
	}
}

/* ================================================== */
.section-chuong .sp-content img {
	width: 100%;
	max-width: 15rem;
	height: auto;
}

.section-truyen_moi .swiper {
	overflow: visible;
}

.section-truyen_theo_the_loai .swiper {
	overflow: visible;
}

.wpcf7-spinner {
	position: absolute;
}

.menu-item-107 .dropdown-menu {
	column-count: 2
}

.menu-item-107 .dropdown-menu .dropdown-item {
	white-space: wrap;
}

@media screen and (min-width: 992px) {
	.menu-item-107 .dropdown-menu .dropdown-item {
		white-space: nowrap;
	}
}