/* ------------------------------------------------------------------ */
/* SHOP + CATEGORY BOTTOM CONTENT (inc/category-bottom.php, 2026-10-03)  */
/* Content SEO + Tin tức → FAQ → Hỏi & Đáp, under the product grid.     */
/* Light neutral section, white cards, 10–14px radius, VNT39 red.       */
/* ------------------------------------------------------------------ */
.vnt39-cb {
	margin: 36px 0 0;
	padding: 28px 0 36px;
	background: #f5f5f5;
	color: #1f2430;
}
.vnt39-cb__inner {
	box-sizing: border-box;
	max-width: 1270px;
	margin: 0 auto;
	padding: 0 15px;
}
.vnt39-cb *,
.vnt39-cb *::before,
.vnt39-cb *::after {
	box-sizing: border-box;
}
.vnt39-cb__ico {
	flex: 0 0 auto;
	transition: transform 0.2s ease;
}
.vnt39-cb__title {
	margin: 30px 0 14px;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #1f2430;
}
.vnt39-cb__main > .vnt39-cb-faq:first-child .vnt39-cb__title,
.vnt39-cb__inner > .vnt39-cb-qa:first-child .vnt39-cb__title {
	margin-top: 0; /* only when it is the first block: otherwise keep the gap after the section above */
}

/* ---- content + news ---- */
.vnt39-cb__main {
	min-width: 0; /* grid child: let long content wrap instead of widening the column */
}
.vnt39-cb__top {
	display: block;
}
.vnt39-cb__top--2 {
	display: grid;
	grid-template-columns: minmax( 0, 65fr ) minmax( 0, 35fr );
	gap: 20px;
	align-items: start;
}
.vnt39-cb-content,
.vnt39-cb-news {
	background: #fff;
	border-radius: 12px;
	padding: 22px 24px;
}
.vnt39-cb-content__intro > :first-child,
.vnt39-cb-content__body > :first-child {
	margin-top: 0;
}
.vnt39-cb-content p,
.vnt39-cb-content li {
	font-size: 15px;
	line-height: 1.7;
}
.vnt39-cb-content h2 {
	margin: 26px 0 10px;
	font-size: 22px;
	line-height: 1.3;
	scroll-margin-top: 110px;
}
.vnt39-cb-content h3 {
	margin: 20px 0 8px;
	font-size: 18px;
	line-height: 1.35;
	scroll-margin-top: 110px;
}
.vnt39-cb-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.vnt39-cb-content table {
	display: block;
	max-width: 100%;
	overflow-x: auto;
}
.vnt39-cb-content a {
	color: var( --vnt39-brand, #8f0b18 );
}
.vnt39-cb-content__body.is-collapsed {
	position: relative;
	max-height: 440px;
	overflow: hidden;
}
.vnt39-cb-content__body.is-collapsed::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 110px;
	background: linear-gradient( to bottom, rgba( 255, 255, 255, 0 ), #fff 85% );
	pointer-events: none;
}
.vnt39-cb-content__more {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 10px auto 0;
	padding: 8px 22px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 700;
	color: var( --vnt39-brand, #8f0b18 );
	cursor: pointer;
}
.vnt39-cb-content__more[hidden] {
	display: none;
}
.vnt39-cb-content__more[aria-expanded="true"] .vnt39-cb__ico {
	transform: rotate( 180deg );
}

/* ---- table of contents ---- */
.vnt39-toc {
	margin: 16px 0;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fafafa;
}
.vnt39-toc summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	list-style: none;
}
.vnt39-toc summary::-webkit-details-marker {
	display: none;
}
.vnt39-toc[open] summary .vnt39-cb__ico {
	transform: rotate( 180deg );
}
.vnt39-toc__list {
	margin: 0;
	padding: 0 16px 14px;
	list-style: none;
}
.vnt39-toc__item {
	margin: 0;
	padding: 3px 0;
	font-size: 14.5px;
}
.vnt39-toc__item--h3 {
	padding-left: 22px;
}
.vnt39-toc__item a {
	color: #1f2430;
	text-decoration: none;
}
.vnt39-toc__item a:hover {
	color: var( --vnt39-brand, #8f0b18 );
}
.vnt39-toc__num {
	font-weight: 700;
	color: var( --vnt39-brand, #8f0b18 );
}

/* ---- news ---- */
.vnt39-cb-news__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	margin: 0 0 14px;
}
.vnt39-cb-news__head h2 {
	margin: 0;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.vnt39-cb-news__head a {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	font-size: 13px;
	font-weight: 600;
	color: var( --vnt39-brand, #8f0b18 );
	white-space: nowrap;
	text-decoration: none;
}
.vnt39-cb-news__head .vnt39-cb__ico {
	width: 14px;
	height: 14px;
}
.vnt39-cb-news__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.vnt39-cb-news__list li {
	margin: 0;
	padding: 8px 0;
	border-top: 1px solid #f0f0f0;
}
.vnt39-cb-news__list li:first-child {
	border-top: 0;
	padding-top: 0;
}
.vnt39-cb-news__list a {
	display: grid;
	grid-template-columns: 88px minmax( 0, 1fr );
	gap: 12px;
	align-items: center;
	color: #1f2430;
	text-decoration: none;
}
.vnt39-cb-news__img {
	display: block;
	width: 88px;
	height: 58px;
	overflow: hidden;
	border-radius: 8px;
	background: #eee;
}
.vnt39-cb-news__img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.vnt39-cb-news__title {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
}
.vnt39-cb-news__list a:hover .vnt39-cb-news__title {
	color: var( --vnt39-brand, #8f0b18 );
}

/* News alone (no Content to its left): full width, list laid out in two columns so it does not stretch tall. */
@media ( min-width: 768px ) {
	.vnt39-cb__top:not( .vnt39-cb__top--2 ) .vnt39-cb-news__list {
		display: grid;
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		column-gap: 32px;
	}
	.vnt39-cb__top:not( .vnt39-cb__top--2 ) .vnt39-cb-news__list li:nth-child( 2 ) {
		border-top: 0;
		padding-top: 0;
	}
}

/* ---- FAQ ---- */
.vnt39-cb-faq__item {
	margin: 0 0 10px;
	border-radius: 10px;
	background: #ececec;
}
.vnt39-cb-faq__item h3 {
	margin: 0;
}
.vnt39-cb-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 14px 18px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-align: left;
	text-transform: none;
	color: #1f2430;
	cursor: pointer;
}
.vnt39-cb-faq__q[aria-expanded="true"] .vnt39-cb__ico {
	transform: rotate( 180deg );
}
.vnt39-cb-faq__q:focus-visible,
.vnt39-cb-content__more:focus-visible,
.vnt39-toc summary:focus-visible {
	outline: 2px solid var( --vnt39-brand, #8f0b18 );
	outline-offset: 2px;
}
.vnt39-cb-faq__a {
	padding: 0 18px 16px;
	font-size: 14.5px;
	line-height: 1.65;
}
.vnt39-cb-faq__a[hidden] {
	display: none;
}
.vnt39-cb-faq__a > :first-child {
	margin-top: 0;
}
.vnt39-cb-faq__a > :last-child {
	margin-bottom: 0;
}

/* ---- Q&A ---- */
.vnt39-cb-qa__box {
	padding: 28px 24px;
	border-radius: 14px;
	background: #fff;
	text-align: center;
}
.vnt39-cb-qa__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: #fdecee;
	color: var( --vnt39-brand, #8f0b18 );
}
.vnt39-cb-qa__badge .vnt39-cb__ico {
	width: 30px;
	height: 30px;
}
.vnt39-cb-qa__lead {
	margin: 0 0 6px;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
	text-transform: none;
}
.vnt39-cb-qa__sub {
	margin: 0 0 18px;
	font-size: 14.5px;
	color: #5b6270;
}
.vnt39-cb-qa__form {
	max-width: 760px;
	margin: 0 auto;
}
.vnt39-cb-qa__row {
	display: flex;
	gap: 10px;
	align-items: stretch;
}
.vnt39-cb-qa__row textarea {
	flex: 1 1 auto;
	min-height: 46px;
	margin: 0;
	padding: 12px 14px;
	border: 1px solid #d9dde3;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 15px;
	line-height: 1.4;
	resize: vertical;
	box-shadow: none;
	overflow: hidden;
}
.vnt39-cb-qa__row textarea:focus {
	overflow-y: auto;
}
.vnt39-cb-qa__who {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: 10px;
}
.vnt39-cb-qa__who input {
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 14px;
	border: 1px solid #d9dde3;
	border-radius: 10px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	box-shadow: none;
}
.vnt39-cb-qa__send {
	flex: 0 0 auto;
	min-width: 92px;
	margin: 0;
	padding: 0 22px;
	border: 0;
	border-radius: 10px;
	background: var( --vnt39-brand, #8f0b18 );
	font: inherit;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #fff;
	cursor: pointer;
}
.vnt39-cb-qa__send[disabled] {
	opacity: 0.6;
	cursor: wait;
}
.vnt39-cb-qa__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.vnt39-cb-qa__msg {
	margin: 12px 0 0;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 14px;
	text-align: left;
}
.vnt39-cb-qa__msg.is-ok {
	background: #e8f6ec;
	color: #11632c;
}
.vnt39-cb-qa__msg.is-err {
	background: #fdecee;
	color: #8f0b18;
}
.vnt39-cb-qa__list {
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.vnt39-cb-qa__item {
	margin: 0 0 10px;
	padding: 16px 18px;
	border-radius: 12px;
	background: #fff;
}
.vnt39-cb-qa__who-line {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
}
.vnt39-cb-qa__who-line time {
	margin-left: auto;
	font-size: 12.5px;
	color: #7a8190;
}
.vnt39-cb-qa__avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #eceff3;
	font-size: 13px;
	font-weight: 800;
	color: #4a5160;
}
.vnt39-cb-qa__question {
	margin: 8px 0 0 40px;
	font-size: 15px;
	line-height: 1.55;
}
.vnt39-cb-qa__answer {
	margin: 12px 0 0 40px;
	padding: 10px 14px;
	border-left: 3px solid var( --vnt39-brand, #8f0b18 );
	border-radius: 0 10px 10px 0;
	background: #fff6f6;
	font-size: 14.5px;
	line-height: 1.6;
}
.vnt39-cb-qa__answer p {
	margin: 4px 0 0;
}
.vnt39-cb-qa__answer strong {
	color: var( --vnt39-brand, #8f0b18 );
}

/* ---- responsive ---- */
@media ( max-width: 849px ) {
	.vnt39-cb__top--2 {
		grid-template-columns: minmax( 0, 1fr );
	}
}
@media ( max-width: 520px ) {
	.vnt39-cb-qa__row {
		flex-direction: column;
	}
	.vnt39-cb-qa__send {
		width: 100%;
		min-height: 44px;
	}
}
@media ( max-width: 767px ) {
	.vnt39-cb {
		margin-top: 24px;
		padding: 20px 0 28px;
	}
	.vnt39-cb-content,
	.vnt39-cb-news {
		padding: 16px;
	}
	.vnt39-cb__top--2 {
		gap: 14px;
	}
	.vnt39-cb-content h2 {
		font-size: 19px;
	}
	.vnt39-cb-content h3 {
		font-size: 16.5px;
	}
	.vnt39-cb__title {
		margin-top: 24px;
		font-size: 16px;
	}
	.vnt39-cb-qa__box {
		padding: 22px 14px;
	}
	.vnt39-cb-qa__lead {
		font-size: 18px;
	}
	.vnt39-cb-qa__who {
		grid-template-columns: minmax( 0, 1fr );
	}
	.vnt39-cb-qa__send {
		min-width: 74px;
		padding: 0 14px;
	}
	.vnt39-cb-qa__question,
	.vnt39-cb-qa__answer {
		margin-left: 0;
	}
}
