/* ==========================================================================
   LEGACY — Divi-only selectors
   --------------------------------------------------------------------------
   These rules only apply to Divi page-content markup: .et_pb_*, #et-main-area,
   #page-container. They have no effect on Elementor pages, because the
   selectors never match there.

   Why keep them: 46 published pages still use Divi shortcodes. Delete rules
   from this file as each page is rebuilt in Elementor. Once every page has
   been migrated, delete the whole file and drop its enqueue from
   functions.php.

   The Divi HEADER rules that used to live at the bottom of this file
   (#main-header, #top-header, .cus-top-header, #top-menu, #logo,
   .et-fixed-header, label.top-label, #cus-top-menu, .mobile_menu_bar) have
   been removed — this theme now renders its own header. See
   template-parts/boyd-header.php and assets/css/header.css.

   ENABLE/DISABLE: the BOYD_LOAD_LEGACY_DIVI_CSS constant in functions.php.
   ========================================================================== */


/* --- Findings pages ------------------------------------------------------ */

.finding_page_section .et_pb_text_inner p {
	font-size: 18px;
}

.finding_page_section .et_pb_text_inner h3 {
	font-size: 30px;
}

@media (max-width: 1440px) {
	.finding_page_section.finding_fourth_section,
	.finding_page_section.finding_sixth_section,
	.finding_page_section.finding_eight_section,
	.finding_page_section.finding_tenth_section {
		padding-top: 70px !important;
		padding-bottom: 400px !important;
	}
}

@media (max-width: 1199px) {
	.finding_page_section.finding_fourth_section,
	.finding_page_section.finding_sixth_section,
	.finding_page_section.finding_eight_section,
	.finding_page_section.finding_tenth_section {
		padding-top: 50px !important;
		padding-bottom: 450px !important;
	}
	.finding_page_section .et_pb_text_inner p {
		font-size: 16px;
		line-height: 1.6em;
	}
}


/* --- Download PDF popup (Divi row/column bits) --------------------------- */

#download-pdf .et_pb_row {
	margin: 0;
	max-width: 100%;
	width: 100%;
}

@media (max-width: 980px) {
	#download-pdf .et_pb_column_1_3 {
		width: 30%;
	}
	#download-pdf .et_pb_column_2_3 {
		width: 70%;
	}
	#download-pdf .et_pb_column .et_pb_module {
		margin-bottom: 0;
	}
}

@media (max-width: 768px) {
	#download-pdf .et_pb_column_1_3 {
		width: 30%;
	}
	#download-pdf .et_pb_column_2_3 {
		width: 70%;
	}
}

@media (max-width: 479px) {
	#download-pdf .et_pb_image img {
		position: relative;
		max-height: 150px;
	}
}


/* --- Feature boxes (Divi text/column wrappers) --------------------------- */

.feature-wrap .feature-item .et_pb_text_inner {
	text-align: center;
	color: #ffffff;
	font-size: 16px;
	line-height: 30px;
	border: 4px solid #f46f2c;
	padding: 30px 15px;
	min-height: 188px;
	justify-content: center;
	align-items: center;
	height: 100%;
	display: flex;
}

.feature-wrap .feature-item .et_pb_text_inner h4 {
	color: #fff;
	padding: 0;
}

.feature-wrap .et_pb_column {
	margin: 0 -27px;
}

.features_row > .et_pb_column {
	width: 271px !important;
	margin-bottom: 30px;
}

@media (max-width: 1600px) {
	body .features_row > .et_pb_column,
	.features_row > .et_pb_column:last-child {
		margin: 0 20px 20px !important;
	}
}


/* --- Search results page ------------------------------------------------- */

body.search-results #et-main-area,
body.search-no-results #et-main-area {
	margin-top: 150px;
}

body.search-results > #page-container,
body.search-no-results > #page-container {
	display: inline-block;
	width: 100%;
	background: url(https://www.boydmetals.com/wp-content/uploads/2020/07/hero-video-mockup-1.jpg);
	background-position: top;
}
