/*!
 * Redline Design System 1.0.0
 * Recreates https://redlinemesa.com/about-us/index.html across WordPress.
 * Layer 1 (body.rl-design)  – tokens, header, footer, banner, shortcode components
 * Layer 2 (body.rl-chrome)  – hides the theme's own header/footer
 * Layer 3 (body.rl-restyle) – restyles Divi / Elementor / block content (never WooCommerce)
 */

:root {
	--rl-red: #ED1C24;
	--rl-red-dark: #C8141B;
	--rl-ink: #231F20;
	--rl-body: #44403C;
	--rl-muted: #57534E;
	--rl-line: #E7E5E4;
	--rl-pink: #FDEDED;
	--rl-white: #FFFFFF;
	--rl-footer-text: #D6D3D1;
	--rl-footer-line: #3F3A3B;
	--rl-font: 'Barlow', system-ui, sans-serif;
	--rl-display: 'Big Shoulders Display', 'Barlow', sans-serif;
	--rl-max: 1280px;
	--rl-gutter: 16px;
	--rl-radius: 12px;
}

/* ===================================================================
   Layer 1 — components
   =================================================================== */

body.rl-design { margin: 0; }

.rl-header, .rl-footer, .rl-banner, .rl-hero, .rl-section, .rl-cta, .rl-cards, .rl-buttons {
	font-family: var(--rl-font);
	box-sizing: border-box;
}
.rl-header *, .rl-footer *, .rl-banner *, .rl-hero *, .rl-section *, .rl-cta * { box-sizing: border-box; }

/* Buttons */
.rl-btn,
.rl-btn:visited {
	display: inline-block;
	font-family: var(--rl-font);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
	padding: 15px 26px;
	border-radius: 8px;
	text-decoration: none !important;
	border: 2px solid transparent;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.rl-btn--primary { background: var(--rl-red); color: var(--rl-white) !important; border-color: var(--rl-red); }
.rl-btn--primary:hover { background: var(--rl-red-dark); border-color: var(--rl-red-dark); }
.rl-btn--outline { background: transparent; color: var(--rl-ink) !important; border-color: var(--rl-ink); }
.rl-btn--outline:hover { background: var(--rl-ink); color: var(--rl-white) !important; }
.rl-btn--light { color: var(--rl-white) !important; border-color: var(--rl-white); }
.rl-btn--light:hover { background: var(--rl-white); color: var(--rl-ink) !important; }
.rl-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.rl-buttons > p { margin: 0; display: contents; }

/* Eyebrow + headings */
.rl-eyebrow {
	margin: 0 0 6px !important;
	padding: 0 !important;
	font-family: var(--rl-font) !important;
	font-weight: 700 !important;
	color: var(--rl-red) !important;
	letter-spacing: 1.5px;
	font-size: 14px !important;
	line-height: 1.4;
	text-transform: uppercase;
}
/* No theme gap above a hero at the top of the content */
body.rl-has-hero .site-main,
body.rl-has-hero #main-content .container,
body.rl-has-hero #left-area,
body.rl-has-hero .entry-content > .rl-hero:first-child { padding-top: 0 !important; margin-top: 0 !important; }
.rl-eyebrow--light { color: var(--rl-white); margin: 0 !important; }
.rl-h2 {
	margin: 0 0 20px !important;
	padding: 0 !important;
	font-family: var(--rl-display) !important;
	font-weight: 800 !important;
	font-size: clamp(38px, 5vw, 56px) !important;
	line-height: 1 !important;
	color: var(--rl-ink) !important;
	text-transform: none;
}

/* ---------- Header ---------- */
.rl-header {
	position: relative;
	z-index: 1000;
	background: var(--rl-white);
	border-bottom: 1px solid var(--rl-line);
	color: var(--rl-ink);
	font-size: 17px;
	line-height: 1.55;
}
.rl-header__inner {
	max-width: var(--rl-max);
	margin: 0 auto;
	padding: 10px var(--rl-gutter);
	display: flex;
	align-items: center;
	gap: 12px;
}
.rl-menu { flex: 0 0 auto; position: relative; }
.rl-menu__toggle {
	list-style: none;
	cursor: pointer;
	width: 48px;
	height: 48px;
	border: 2px solid var(--rl-ink);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--rl-ink);
	background: var(--rl-white);
}
.rl-menu__toggle::-webkit-details-marker { display: none; }
.rl-menu__toggle::marker { content: ''; }
.rl-menu[open] .rl-menu__toggle { background: var(--rl-ink); color: var(--rl-white); }
.rl-menu__panel {
	position: absolute;
	top: 58px;
	left: 0;
	z-index: 50;
	background: var(--rl-white);
	border: 1px solid var(--rl-line);
	border-radius: var(--rl-radius);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
	padding: 20px;
	width: min(92vw, 820px);
	max-height: calc(100vh - 90px);
	overflow-y: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 20px 32px;
}
.rl-menu__group { display: flex; flex-direction: column; gap: 2px; min-width: 180px; }
.rl-menu__heading {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1.5px;
	color: var(--rl-red);
	margin-bottom: 4px;
	text-transform: uppercase;
}
.rl-menu__group a {
	color: var(--rl-ink) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 17px;
	padding: 5px 0;
	line-height: 1.4;
}
.rl-menu__group a:hover { color: var(--rl-red) !important; }
.rl-header__logo { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; text-decoration: none; }
.rl-header__logo img { height: 46px; max-width: 100%; width: auto; display: block; object-fit: contain; }
.rl-header__logo span { font-family: var(--rl-display); font-weight: 900; font-size: 30px; color: var(--rl-red); }
.rl-header__book.rl-btn { flex: 0 0 auto; font-size: 16px; padding: 13px 18px; white-space: nowrap; }

/* ---------- Title banner (auto) + hero (shortcode) ---------- */
.rl-banner, .rl-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--rl-ink);
	color: var(--rl-white);
}
.rl-banner { min-height: 220px; }
.rl-banner--image, .rl-hero { min-height: 440px; }
.rl-banner__img, .rl-hero__img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: 50% 45%;
}
.rl-banner__shade, .rl-hero__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 18, 18, .82) 0%, rgba(20, 18, 18, .30) 70%);
}
.rl-banner__inner, .rl-hero__inner {
	position: relative;
	max-width: var(--rl-max);
	width: 100%;
	margin: 0 auto;
	padding: 48px clamp(16px, 5vw, 64px);
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.rl-banner__title, .rl-hero__title {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--rl-display) !important;
	font-weight: 900 !important;
	font-size: clamp(52px, 8vw, 110px) !important;
	line-height: .9 !important;
	color: var(--rl-white) !important;
	text-transform: uppercase;
}
.rl-banner__title { font-size: clamp(44px, 6.5vw, 88px) !important; }
.rl-banner__text, .rl-hero__text {
	margin: 0 !important;
	padding: 0 !important;
	max-width: 640px;
	font-size: 21px;
	font-weight: 600;
	line-height: 1.45;
	color: var(--rl-white);
}
.rl-hero .rl-buttons { margin-top: 6px; }
/* Light text inside dark bands must win over theme paragraph colours */
.rl-banner .rl-eyebrow--light, .rl-hero .rl-eyebrow--light,
.rl-banner__text, .rl-hero__text { color: var(--rl-white) !important; font-family: var(--rl-font) !important; }
.rl-hero__text, .rl-banner__text { font-size: 21px !important; }

/* Full-bleed hero even when placed inside a builder row or narrow theme column */
body.rl-design { overflow-x: clip; }
.rl-full {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-top: 0 !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
}
/* Sections break out of narrow theme columns to the 1280px reference width */
.rl-section {
	width: min(var(--rl-max), 100vw) !important;
	max-width: none !important;
	margin-left: calc(50% - min(var(--rl-max), 100vw) / 2) !important;
	margin-right: calc(50% - min(var(--rl-max), 100vw) / 2) !important;
}
.rl-section .rl-section { width: auto !important; margin-left: 0 !important; margin-right: 0 !important; }

/* ---------- Sections ---------- */
.rl-section {
	padding: 56px var(--rl-gutter) 0;
	color: var(--rl-ink);
	font-size: 17px;
	line-height: 1.55;
}
.rl-section .rl-section { padding: 0; }
.rl-section--cta { padding: 48px var(--rl-gutter) 56px; }
.rl-prose > *:last-child { margin-bottom: 0 !important; }
.rl-prose p {
	margin: 0 0 12px;
	padding: 0;
	font-size: 18px;
	color: var(--rl-body);
	max-width: 760px;
}
.rl-prose > .rl-buttons, .rl-prose > .rl-cards { margin-top: 16px; }
.rl-split { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; }
.rl-split__text, .rl-split__media { flex: 1 1 360px; min-width: 0; }
.rl-split__media { margin: 0; }
.rl-split__media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--rl-radius);
	display: block;
}
.rl-split__media figcaption { margin-top: 8px; font-size: 14px; color: var(--rl-muted); }

/* Cards */
.rl-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(max(220px, calc((100% - 24px) / 3)), 1fr));
	gap: 12px;
}
.rl-cards > p, .rl-cards > br { display: none; }
.rl-card {
	display: block;
	background: var(--rl-pink);
	border-radius: var(--rl-radius);
	padding: 20px;
	color: var(--rl-ink);
	text-decoration: none !important;
}
.rl-card--link:hover { box-shadow: inset 0 0 0 2px var(--rl-red); }
.rl-card__title { display: block; font-size: 20px; font-weight: 700; margin-bottom: 4px; color: var(--rl-ink); }
.rl-card__text, .rl-card__text p { color: var(--rl-body); margin: 0; padding: 0; }

/* CTA band */
.rl-cta {
	background: var(--rl-pink);
	border-radius: 16px;
	padding: 28px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}
.rl-cta__title {
	margin: 0 0 6px !important;
	padding: 0 !important;
	font-family: var(--rl-display) !important;
	font-weight: 800 !important;
	font-size: clamp(32px, 4vw, 44px) !important;
	line-height: 1 !important;
	color: var(--rl-ink) !important;
}
.rl-cta__text { margin: 0 !important; padding: 0 !important; color: var(--rl-body); }
.rl-cta .rl-btn { font-size: 17px; padding: 14px 24px; }

/* ---------- Footer ---------- */
.rl-footer { background: var(--rl-ink); color: var(--rl-footer-text); font-size: 17px; line-height: 1.55; }
.rl-footer__inner {
	max-width: var(--rl-max);
	margin: 0 auto;
	padding: 40px var(--rl-gutter);
	display: flex;
	flex-wrap: wrap;
	gap: 24px 48px;
	align-items: center;
}
.rl-footer__logo { height: 96px; width: auto; display: block; }
.rl-footer__tagline {
	font-family: var(--rl-display);
	font-weight: 900;
	font-size: 38px;
	line-height: 1;
	color: var(--rl-red);
	letter-spacing: .5px;
	text-transform: uppercase;
}
.rl-footer__sub { margin-top: 4px; font-weight: 700; font-size: 17px; color: var(--rl-white); }
.rl-footer__info { font-size: 15px; line-height: 1.6; }
.rl-footer__info a { color: var(--rl-footer-text) !important; text-decoration: none; }
.rl-footer__info a:hover { color: var(--rl-white) !important; }
.rl-footer__bottom { border-top: 1px solid var(--rl-footer-line); padding: 16px; text-align: center; font-size: 14px; }

@media (max-width: 600px) {
	.rl-header__book.rl-btn { font-size: 15px; padding: 11px 14px; }
	.rl-header__logo img { height: 38px; }
	.rl-banner--image, .rl-hero { min-height: 380px; }
	.rl-banner__inner, .rl-hero__inner { padding-top: 36px; padding-bottom: 36px; }
	.rl-banner__text, .rl-hero__text { font-size: 18px; }
	.rl-section { padding-top: 44px; }
	.rl-cta { padding: 22px; }
	.rl-footer__tagline { font-size: 32px; }
}

/* ===================================================================
   Layer 2 — hide the theme's own header & footer
   =================================================================== */

body.rl-chrome #top-header,
body.rl-chrome #main-header,
body.rl-chrome .et-l--header,
body.rl-chrome #et-top-navigation,
body.rl-chrome #main-footer,
body.rl-chrome .et-l--footer,
body.rl-chrome #footer-bottom,
body.rl-chrome .elementor-location-header,
body.rl-chrome .elementor-location-footer,
body.rl-chrome > header.site-header,
body.rl-chrome #masthead,
body.rl-chrome #colophon,
body.rl-chrome #page > aside.widget-area,
body.rl-chrome .wp-site-blocks > header.wp-block-template-part,
body.rl-chrome .wp-site-blocks > footer.wp-block-template-part {
	display: none !important;
}
body.rl-chrome #page-container,
body.rl-chrome.et_fixed_nav #page-container,
body.rl-chrome.et_secondary_nav_enabled #page-container {
	padding-top: 0 !important;
	margin-top: 0 !important;
}
body.rl-chrome #main-content .container::before { display: none !important; } /* Divi sidebar divider */

/* Hide the theme's page title where the Redline hero/banner replaces it */
body.rl-has-hero .main_title,
body.rl-has-hero #left-area > article > .entry-title,
body.rl-has-hero .entry-header,
body.rl-has-hero .wp-block-post-title,
body.rl-has-banner .main_title,
body.rl-has-banner #left-area > article > .entry-title,
body.rl-has-banner .et_post_meta_wrapper > .entry-title,
body.rl-has-banner .entry-header > .entry-title,
body.rl-has-banner .wp-block-post-title {
	display: none !important;
}

/* ===================================================================
   Layer 3 — restyle content to match
   WooCommerce is never styled: the plugin is off on all shop/product/cart/
   checkout/account pages, and every rule below skips product grids,
   Add to cart buttons and other WooCommerce elements embedded in a page.
   =================================================================== */

body.rl-restyle,
body.rl-restyle #page-container,
body.rl-restyle #main-content,
body.rl-restyle .et_pb_section:not([style*="background"]) {
	background-color: var(--rl-white);
}
body.rl-restyle .et_pb_text:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .elementor-widget-text-editor:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content > p:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content > ul:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content > ol:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) {
	font-family: var(--rl-font);
	color: var(--rl-ink);
	font-size: 17px;
	line-height: 1.55;
}
body.rl-restyle #main-content p:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content p:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .et_pb_text_inner p:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .elementor-widget-text-editor p:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) {
	font-family: var(--rl-font) !important;
	color: var(--rl-body);
	font-size: 18px;
}

/* Headings */
body.rl-restyle #main-content h1:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle #main-content h2:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle #main-content h3:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content h1:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content h2:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content h3:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .elementor-heading-title:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .et_pb_module_header:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .et_pb_slide_title:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) {
	font-family: var(--rl-display) !important;
	font-weight: 800 !important;
	color: var(--rl-ink);
	line-height: 1 !important;
	letter-spacing: 0;
	padding-bottom: 0;
}
body.rl-restyle #main-content h1:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content h1:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) { font-weight: 900 !important; font-size: clamp(44px, 6.5vw, 88px); margin-top: 0; margin-bottom: 20px; }
body.rl-restyle #main-content h2:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content h2:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) { font-size: clamp(34px, 5vw, 56px); margin-top: 0; margin-bottom: 20px; }
body.rl-restyle #main-content h3:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content h3:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) { font-size: clamp(26px, 3vw, 34px); margin-top: 0; margin-bottom: 12px; }
body.rl-restyle #main-content h4:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle #main-content h5:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle #main-content h6:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content h4:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) {
	font-family: var(--rl-font) !important;
	font-weight: 700 !important;
	color: var(--rl-ink);
	font-size: 20px;
	line-height: 1.3;
}
/* Light text on dark builder sections stays light */
body.rl-restyle .et_pb_bg_layout_dark h1,
body.rl-restyle .et_pb_bg_layout_dark h2,
body.rl-restyle .et_pb_bg_layout_dark h3,
body.rl-restyle .et_pb_bg_layout_dark p { color: var(--rl-white) !important; }

/* Links inside content */
body.rl-restyle #main-content .et_pb_text a:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .entry-content p a:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) {
	color: var(--rl-red);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Layout width like the reference (1280px max, 16px gutters) */
body.rl-restyle #main-content .container,
body.rl-restyle .et_pb_row,
body.rl-restyle .et_pb_row.et_pb_row_fullwidth {
	max-width: var(--rl-max);
}
body.rl-restyle #main-content .container { width: calc(100% - 2 * var(--rl-gutter)); }
body.rl-restyle .et_pb_row:not([class*="et_pb_row_fullwidth"]) { width: calc(100% - 2 * var(--rl-gutter)); }

/* Buttons */
body.rl-restyle .et_pb_button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .et_pb_more_button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .elementor-button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .wp-block-button__link:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle .wp-element-button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle a.button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle button.button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input.button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input[type="submit"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle button[type="submit"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) {
	display: inline-block;
	background: var(--rl-red) !important;
	color: var(--rl-white) !important;
	border: 2px solid var(--rl-red) !important;
	border-radius: 8px !important;
	font-family: var(--rl-font) !important;
	font-weight: 700 !important;
	font-size: 17px !important;
	line-height: 1.2 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
	text-decoration: none !important;
	padding: 14px 24px !important;
	box-shadow: none !important;
	transition: background-color .15s ease, border-color .15s ease;
}
body.rl-restyle .et_pb_button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):hover,
body.rl-restyle .elementor-button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):hover,
body.rl-restyle .wp-block-button__link:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):hover,
body.rl-restyle a.button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):hover,
body.rl-restyle button.button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):hover,
body.rl-restyle input[type="submit"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):hover,
body.rl-restyle button[type="submit"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):hover {
	background: var(--rl-red-dark) !important;
	border-color: var(--rl-red-dark) !important;
	padding: 14px 24px !important;
}
/* Divi's arrow icon on buttons */
body.rl-restyle .et_pb_button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *)::after,
body.rl-restyle .et_pb_button:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *)::before { display: none !important; }
/* Secondary / outline buttons */
body.rl-restyle .is-style-outline .wp-block-button__link,
body.rl-restyle .et_pb_button.rl-outline {
	background: transparent !important;
	color: var(--rl-ink) !important;
	border-color: var(--rl-ink) !important;
}

/* Forms (contact forms etc.) */
body.rl-restyle input[type="text"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input[type="email"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input[type="tel"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input[type="number"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input[type="password"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input[type="search"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle input[type="url"]:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle select:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *),
body.rl-restyle textarea:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) {
	font-family: var(--rl-font) !important;
	font-size: 16px !important;
	color: var(--rl-ink) !important;
	background: var(--rl-white) !important;
	border: 1px solid #D6D3D1 !important;
	border-radius: 8px !important;
	padding: 12px 14px;
	box-shadow: none !important;
}
body.rl-restyle input:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):focus,
body.rl-restyle select:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):focus,
body.rl-restyle textarea:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *):focus {
	outline: 2px solid var(--rl-red) !important;
	outline-offset: 1px;
	border-color: var(--rl-red) !important;
}
body.rl-restyle label:not(.woocommerce *):not([class*="wc-block"] *):not([class*="wp-block-woocommerce"] *):not([class*="et_pb_wc_"] *):not(.et_pb_shop *) { font-family: var(--rl-font); font-weight: 600; color: var(--rl-ink); }

/* Divi sidebar widgets */
body.rl-restyle #sidebar .widgettitle,
body.rl-restyle .et_pb_widget h4 {
	font-family: var(--rl-font) !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: 1.5px;
	color: var(--rl-red) !important;
	text-transform: uppercase;
}
body.rl-restyle #sidebar a { color: var(--rl-ink); font-weight: 600; }
body.rl-restyle #sidebar a:hover { color: var(--rl-red); }
