/*
 * Cookie-policy page layout: hide the theme sidebar and give the policy one
 * full-width content column. Scoped to body.sos-cc-policy-page so other pages
 * keep the theme's normal layout. Header and footer are deliberately left
 * untouched.
 */

body.sos-cc-policy-page #secondary,
body.sos-cc-policy-page #tertiary,
body.sos-cc-policy-page #sidebar,
body.sos-cc-policy-page #right-sidebar,
body.sos-cc-policy-page #left-sidebar,
body.sos-cc-policy-page #sidebar-primary,
body.sos-cc-policy-page #sidebar-secondary,
body.sos-cc-policy-page .sidebar,
body.sos-cc-policy-page .site-sidebar,
body.sos-cc-policy-page .sidebar-container,
body.sos-cc-policy-page .sidebar-primary,
body.sos-cc-policy-page .sidebar-secondary,
body.sos-cc-policy-page .site-content > aside,
body.sos-cc-policy-page .content-sidebar-wrap > aside,
body.sos-cc-policy-page .content-area ~ aside,
body.sos-cc-policy-page .content-area ~ .widget-area,
body.sos-cc-policy-page .site-content aside.widget-area,
body.sos-cc-policy-page .content-sidebar-wrap aside.widget-area {
	display: none !important;
}

body.sos-cc-policy-page #primary,
body.sos-cc-policy-page #content,
body.sos-cc-policy-page .site-main,
body.sos-cc-policy-page .content-area,
body.sos-cc-policy-page main,
body.sos-cc-policy-page .site-content,
body.sos-cc-policy-page .content-sidebar-wrap {
	width: 100%;
	max-width: 100%;
	float: none;
}

body.sos-cc-policy-page .site-content,
body.sos-cc-policy-page .content-sidebar-wrap {
	display: block;
	grid-template-columns: minmax(0, 1fr);
}

/*
 * Divi: #left-area is the main column and #sidebar is the widget column. Hide
 * only the sidebar and let the article use the full container width. Divi's
 * footer (#main-footer, #footer-widgets, #footer-bottom) is outside
 * #main-content and remains visible.
 */
body.sos-cc-policy-page #left-area {
	width: 100% !important;
	float: none !important;
	padding-right: 0 !important;
}

body.sos-cc-policy-page #main-content .container:before {
	display: none !important;
}

body.sos-cc-policy-page .sos-cc-policy,
body.sos-cc-policy-page .sos-cc-policy__table-wrap {
	width: 100%;
	max-width: 100%;
}
