/* Supplement CSS — fixes for archived Divi pages */
.et_pb_section { background-position: center; }
img { max-width: 100%; height: auto; }

/* Remove Divi sidebar vertical divider (.container:before) leftover when
   et_right_sidebar is set or custom layouts omit the classic #sidebar */
#main-content .container:before {
	display: none !important;
}

/* Flex article/blog layout: do not force #left-area to full width */
#content-area > div[style*="display:flex"] #left-area {
	width: auto !important;
	float: none !important;
	padding-right: 0 !important;
	margin-right: 0 !important;
}

/*
 * Fixed header clearance for classic (non-page-builder) pages.
 * Customizer: centered logo_container is 200px + menu below.
 * Default Divi only pads ~136–147px — content on /pages and article
 * template slides under the fixed header.
 * Page-builder pages keep Divi’s spacing (heroes intentionally sit higher).
 */
@media only screen and (min-width: 981px) {
	.et_fixed_nav.et_show_nav.et_header_style_centered:not(.et_pb_pagebuilder_layout) #page-container {
		padding-top: 250px !important;
	}
}
@media only screen and (max-width: 980px) {
	.et_fixed_nav.et_show_nav:not(.et_pb_pagebuilder_layout) #page-container {
		padding-top: 80px !important;
	}
}
