/**
 * Dual sidebars around main content — desktop only (see media queries).
 */

 @media (min-width: 1201px) {
    html, body {
        overflow-x: clip;
    }
}

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

.layout-sidebar-left,
.layout-sidebar-right {
	width: 180px;
	flex-shrink: 0;
	align-self: stretch;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-height: 0;
}

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

.layout-sidebar-inner {
	position: sticky;
	top: 6rem;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	width: 100%;
	height: fit-content;
	max-height: calc(100dvh - 8rem);
	overflow-y: auto;
}

@media (max-width: 1600px)  and (min-width: 1350px) {
	.layout-sidebar-main {
		width: calc(100% - 300px);
	}

	.home .dv2-layout-scl.dv2-hotlive-ctn, .home .dv2-layout-scl.dv2-blv-list-ctn, .home .dv2-layout-scl.dv2-appoinment-list-ctn,
	.home .row.row-collapse, .home .dv2-layout-scl.dv2-home-featured-streaming-ctn .dv2-living-room .dv2-video-inner,
	.container-width, .home .full-width .ubermenu-nav, .home .container, .home .row, .home .row.row-small {
		max-width: calc(100% - 300px);
		padding: 0 10px;
		margin-left: auto;
		margin-right: auto;
	}

	.layout-sidebar-left,
	.layout-sidebar-right {
		width: 150px;
		flex-shrink: 0;
		align-self: stretch;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		min-height: 0;
	}
}

@media (max-width: 1350px) {
	.layout-sidebar-left,
	.layout-sidebar-right, 
	body.layout-sidebar-home-fixed-active .layout-sidebar-home-fixed#layout-sidebar-home-left, 
	body.layout-sidebar-home-fixed-active .layout-sidebar-home-fixed#layout-sidebar-home-right {
		display: none;
	}

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

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

@media (max-width: 1400px) {
	.header-wrapper .header-inner {
		width: 100%;
	}
}

/* --- Trang chủ: sidebar fixed trong gutter (không flex bọc main) --- */

.layout-sidebar-home-fixed {
	display: none;
	box-sizing: border-box;
}


@media (min-width: 1351px) {
	body.layout-sidebar-home-fixed-active .layout-sidebar-home-fixed {
		display: block;
		position: fixed;
		z-index: 30;
		top: 6rem;
		max-height: calc(100dvh - 8rem);
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}
}


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

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

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

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

@media (max-width: 768px) {
	.main-qcbr .col:first-child {
		padding-right: 0 !important;
	}

	.main-qcbr .col:last-child {
		padding-left: 0 !important;
	}
	
	
	.qc-space .col:first-child {
		padding-right: 5px !important;
	}

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