/*
 * Audited 27 August 2026 against WCAG 2.2 AA contrast thresholds.
 * These selectors intentionally outrank generated Divi rules while remaining
 * scoped to a known DENYA host and component.
 */

/* Main product hero: one coherent light-on-dark treatment over the photograph. */
body.denya-host-main.page-id-9 #main-content .et_pb_section_0 {
	position: relative;
	isolation: isolate;
	background-color: #082f4d !important;
}

body.denya-host-main.page-id-9 #main-content .et_pb_section_0::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(4, 29, 48, 0.92) 0%, rgba(4, 29, 48, 0.82) 58%, rgba(4, 29, 48, 0.46) 100%);
	content: "";
	pointer-events: none;
}

body.denya-host-main.page-id-9 #main-content .et_pb_section_0 > .et_pb_row {
	position: relative;
	z-index: 1;
}

body.denya-host-main.page-id-9 #main-content .et_pb_section_0 .et_pb_bottom_inside_divider {
	z-index: 2;
}

body.denya-host-main.page-id-9 #page-container #main-content .et_pb_section_0 .et_pb_heading_0 h4 {
	color: #c9f5ff !important;
}

body.denya-host-main.page-id-9 #page-container #main-content .et_pb_section_0 .et_pb_heading_1 h1,
body.denya-host-main.page-id-9 #page-container #main-content .et_pb_section_0 .et_pb_text_0 p {
	color: #ffffff !important;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

/* Main homepage cards and final action. */
body.denya-host-main.home #main-content .et_pb_section_0 .et_pb_column_inner_1 {
	background: #075f68 !important;
}

body.denya-host-main.home #page-container #main-content .et_pb_section_0 .et_pb_column_inner_1 h5,
body.denya-host-main.home #page-container #main-content .et_pb_section_0 .et_pb_column_inner_1 p {
	color: #ffffff !important;
}

body.denya-host-main.home #page-container #main-content .et_pb_button_4 {
	border-color: #ffffff !important;
	background: #ffffff !important;
	color: #07506f !important;
}

body.denya-host-main.page-id-9 #page-container #main-content .et_pb_button_2 {
	border-color: #176b49 !important;
	background: #176b49 !important;
	color: #ffffff !important;
}

/* Small metadata and category labels on light surfaces. */
body.denya-host-main.denya-certifications-page #main-content .denya-cert-card dt {
	color: #4b6579 !important;
}

body.denya-host-main #main-content .denya-privacy-updated {
	color: #075f70 !important;
}

body.denya-host-main #main-content .denya-brochure-category,
body.denya-host-main #main-content .denya-brochure-heading > p {
	color: #08758b !important;
}

body.denya-host-main #main-content .denya-brochure-hero .denya-brochure-kicker {
	color: #82e9f1 !important;
}

/* HDPE landing and support pages. */
body.denya-host-pipahdpe.home #page-container #main-content .et_pb_button_2 {
	border-color: #a43e00 !important;
	background: #a43e00 !important;
	color: #ffffff !important;
}

body.denya-host-pipahdpe.home #page-container #main-content .et_pb_heading_10 h4 {
	color: #08758b !important;
}

body.denya-host-pipahdpe.home #page-container #main-content .et_pb_button_7 {
	border-color: #075f68 !important;
	background: #075f68 !important;
	color: #ffffff !important;
}

body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-support .denya-hdpe-button {
	border-color: #176b49 !important;
	background: #176b49 !important;
	color: #ffffff !important;
}

body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-support .denya-hdpe-button.secondary {
	border-color: #bcebf0 !important;
	background: transparent !important;
	color: #ffffff !important;
}

body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-heading h2,
body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-card h3,
body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-factor h3,
body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-faq h3 {
	color: #082f4d !important;
}

body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-hero h1,
body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-brief h2,
body.denya-host-pipahdpe.denya-hdpe-support-page #page-container #main-content .denya-hdpe-final h2 {
	color: #ffffff !important;
}

/* Installation site: Divi's generated heading rules previously overrode the component palette. */
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-button {
	border-color: #176b49 !important;
	background: #176b49 !important;
	color: #ffffff !important;
}

body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-button.secondary {
	border-color: #bcebf0 !important;
	background: transparent !important;
	color: #ffffff !important;
}

body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-heading h2,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-card h3,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-step h3,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-data h3,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-faq h3,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-about.light h3 {
	color: #0a3554 !important;
}

body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-hero h1,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-brief h2,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-about:not(.light) h3,
body.denya-host-jasa #page-container #main-content .denya-jasa .denya-jasa-final h2 {
	color: #ffffff !important;
}

/* DENYA Group: enforce the intended light/dark component pairings. */
body.denya-host-group #page-container #main-content .denya-group .denya-group-button {
	border-color: #176b49 !important;
	background: #176b49 !important;
	color: #ffffff !important;
}

body.denya-host-group #page-container #main-content .denya-group .denya-group-button.secondary {
	border-color: #bcebf0 !important;
	background: transparent !important;
	color: #ffffff !important;
}

body.denya-host-group #page-container #main-content .denya-group .denya-group-hero h1,
body.denya-host-group #page-container #main-content .denya-group .denya-group-panel:not(.light) h2,
body.denya-host-group #page-container #main-content .denya-group .denya-group-panel:not(.light) h3,
body.denya-host-group #page-container #main-content .denya-group .denya-group-final h2 {
	color: #ffffff !important;
}

body.denya-host-group #page-container #main-content .denya-group .denya-group-heading h2,
body.denya-host-group #page-container #main-content .denya-group .denya-group-card h3,
body.denya-host-group #page-container #main-content .denya-group .denya-group-principle h3,
body.denya-host-group #page-container #main-content .denya-group .denya-group-panel.light h2,
body.denya-host-group #page-container #main-content .denya-group .denya-group-panel.light h3 {
	color: #102d48 !important;
}

/* Shop archive utility text and controls. */
body.denya-host-shop #main-content .woocommerce-result-count {
	color: #4d6577 !important;
}

body.denya-host-shop #page-container #main-content .wp-block-search__button {
	border-color: #0a5272 !important;
	background: #0a5272 !important;
	color: #ffffff !important;
}

@media (max-width: 980px) {
	body.denya-host-main.page-id-9 #main-content .et_pb_section_0::before {
		background: rgba(4, 29, 48, 0.84);
	}
}
