/**
 * Layout overrides — GP flex/grid vs. vertical CleanWave sections
 */

/* Force vertical stack on homepage */
body.cw-front-page #page,
body.cw-front-page .site,
body.cw-front-page .site-content,
body.cw-front-page #content,
body.cw-front-page #primary,
body.cw-front-page .content-area,
body.cw-front-page main,
body.cw-front-page .inside-article,
body.cw-front-page .entry-content,
body.cw-front-page .cw-home {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

body.cw-front-page .cw-home,
body.cw-front-page .cw-home-v2 {
	display: flex !important;
	flex-direction: column !important;
}

body.cw-home-v2-active.cw-front-page {
	padding-top: var(--cw-header-offset) !important;
}

body.cw-home-v2-active .site-content,
body.cw-home-v2-active .content-area,
body.cw-home-v2-active #primary,
body.cw-home-v2-active main {
	padding: 0 !important;
	margin: 0 !important;
}

body.cw-front-page .cw-section {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: none !important;
	float: none !important;
	clear: both;
}

/* Hide GP page title / duplicate entry header on home */
body.cw-front-page .page-header,
body.cw-front-page .entry-header,
body.cw-front-page .inside-article > header.entry-header,
body.cw-front-page h1.entry-title {
	display: none !important;
}

body.cw-front-page .inside-article {
	padding: 0;
	margin: 0;
	border: 0;
}

body.cw-front-page .entry-content {
	margin: 0;
	padding: 0;
}

/* Full-bleed sections */
body.cw-front-page .one-container .site-content {
	padding: 0;
}

body.cw-front-page.separate-containers .inside-article {
	background: transparent;
	box-shadow: none;
}

body.cw-front-page .site-main,
body.cw-front-page #main {
	margin: 0;
	padding: 0;
}

body.cw-front-page .grid-container,
body.cw-front-page .site.grid-container {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

.cw-header__sentinel {
	display: block;
	height: 1px;
	margin: 0;
	pointer-events: none;
}
