/**
 * Dual sidebars around main content — desktop only (see media queries).
 *
 * Sticky note: `position: sticky` on `.layout-sidebar-inner` is ignored when an
 * ancestor uses `overflow-x: hidden` (set on `body` in assets/css/style.css).
 * Browsers then resolve overflow in a way that breaks sticky. `overflow-x: clip`
 * clips horizontal overflow without that side effect (Chromium, WebKit, Firefox).
 */
@media (min-width: 1025px) {
	html,
	body {
		overflow-x: clip;
	}
}

.layout-sidebar-wrapper {
	max-width: 1700px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	gap: 0;
	position: relative;
}

.layout-sidebar-left,
.layout-sidebar-right {
	width: 180px;
	flex-shrink: 0;
}

.layout-sidebar-main {
	width: 1270px;
	max-width: 100%;
	min-width: 0;
	padding: 0;
	flex: 1 1 auto;
}

.layout-sidebar-inner {
	position: sticky;
	top: 10rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	justify-content: safe center;
	align-items: stretch;
	min-height: calc(100vh - 10rem);
	min-height: calc(100dvh - 10rem);
	padding-block: clamp(1rem, 3vh, 2.5rem);
	box-sizing: border-box;
	gap: 1rem;
}

.main-qc .col:first-child {
	padding-right: 5px !important;
}

.main-qc .col:last-child {
	padding-left: 5px !important;
}

.dv2-layout-vb2 .xitem.xitem-big {
	aspect-ratio: unset !important;
}
@media (max-width: 1400px) {
	.layout-sidebar-left,
	.layout-sidebar-right {
		width: 150px;
		flex-shrink: 0;
	}

	.layout-sidebar-main {
		width: calc(100% - 300px);
	}

	.dv2-tam-diem-vb2 .dv2-grid {
		display: grid;
		gap: 20px;
		grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	}
}

@media (max-width: 1269px) {
	.layout-sidebar-left,
	.layout-sidebar-right {
		display: none;
	}

	.layout-sidebar-wrapper {
		max-width: 100%;
		padding: 0;
	}

	.layout-sidebar-main {
		width: 100%;
		padding: 0;
	}
}
