/* WordPress-only compatibility styles. The approved site design remains in
   lead-core.css; these selectors are scoped to WordPress and plugin markup. */

.lead-core-theme .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.lead-core-theme .screen-reader-text:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 14px 18px;
	clip: auto !important;
	background: #fff;
	color: #0d62c7;
	font-weight: 700;
}

.admin-bar .lc4-centered-header {
	top: 42px;
}

.lead-core-theme .lc3-cart[href],
.lead-core-theme .lc4-menu-utility a {
	text-decoration: none;
}

.lead-core-theme .lc4-menu-utility a {
	display: flex;
	align-items: center;
	gap: 7px;
	color: inherit;
}

.lead-core-theme .lc4-menu-utility a svg {
	width: 16px;
	height: 16px;
}

.lead-core-theme .lc3-cart:focus-visible,
.lead-core-theme .lc4-menu-utility a:focus-visible {
	outline: 3px solid #73b0ff;
	outline-offset: 3px;
}

.lead-core-theme .lc-wp-main {
	min-height: 50vh;
	padding: clamp(54px, 7vw, 96px) 0;
	background: #fff;
}

.lead-core-theme .lc-wp-content {
	max-width: 1120px;
}

.lead-core-theme .lc-wp-content > article,
.lead-core-theme .lc-wp-content > .woocommerce,
.lead-core-theme .lc-wp-commerce .woocommerce {
	font-family: 'DM Sans', sans-serif;
	color: #173454;
}

.lead-core-theme .lc-wp-content > article > h1,
.lead-core-theme .lc-wp-content > article > h2,
.lead-core-theme .lc-wp-commerce .page-title {
	font-family: 'Manrope', sans-serif;
	font-weight: 800;
	letter-spacing: -.04em;
	color: #102d4f;
}

.lead-core-theme .lc-wp-content > article > h1,
.lead-core-theme .lc-wp-commerce .page-title {
	font-size: clamp(36px, 5vw, 64px);
	line-height: 1.08;
	margin: 0 0 28px;
}

.lead-core-theme .lc-wp-content > article {
	font-size: 17px;
	line-height: 1.8;
}

.lead-core-theme .lc-wp-content > article a,
.lead-core-theme .lc-wp-commerce .woocommerce a:not(.button) {
	color: #0568f7;
}

.lead-core-theme .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 38px;
}

/* Fluent Forms remains the live form owner. These rules only make shortcode
   output fit the supplied consultation card. */
.lead-core-theme .lc3-inquiry .fluentform,
.lead-core-theme .lc7-fluent-form .fluentform,
.lead-core-theme .lc3-inquiry .frm-fluent-form,
.lead-core-theme .lc7-fluent-form .frm-fluent-form {
	font-family: 'DM Sans', sans-serif;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .ff-el-group {
	margin-bottom: 18px;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .ff-el-input--label label {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #25496e;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .ff-el-form-control {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid #cadbec;
	border-radius: 9px;
	background: #fff;
	color: #173454;
	font: inherit;
	box-shadow: none;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform textarea.ff-el-form-control {
	min-height: 125px;
	resize: vertical;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .ff-el-form-control:focus {
	border-color: #0568f7;
	outline: 3px solid rgba(5, 104, 247, .14);
	outline-offset: 1px;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 14px 21px;
	border: 1px solid #0568f7;
	border-radius: 10px;
	background: #0568f7;
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .ff-btn-submit:hover {
	background: #0759d3;
}

.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .ff-message-success,
.lead-core-theme :is(.lc3-inquiry, .lc7-fluent-form) .fluentform .error.text-danger {
	padding: 12px 14px;
	border-radius: 8px;
}

/* WooCommerce keeps ownership of catalog, checkout, payment and account
   behavior. Only visual basics are aligned with the theme. */
.lead-core-theme .woocommerce .button,
.lead-core-theme .woocommerce button.button,
.lead-core-theme .woocommerce input.button,
.lead-core-theme .woocommerce a.button {
	min-height: 44px;
	padding: 12px 18px;
	border-radius: 9px;
	background: #0568f7;
	color: #fff;
	font-family: 'DM Sans', sans-serif;
	font-weight: 700;
}

.lead-core-theme .woocommerce .button:hover,
.lead-core-theme .woocommerce button.button:hover,
.lead-core-theme .woocommerce input.button:hover,
.lead-core-theme .woocommerce a.button:hover {
	background: #0759d3;
	color: #fff;
}

.lead-core-theme .woocommerce form .form-row input.input-text,
.lead-core-theme .woocommerce form .form-row textarea,
.lead-core-theme .woocommerce form .form-row select,
.lead-core-theme .woocommerce .select2-container .select2-selection {
	min-height: 46px;
	padding: 10px 12px;
	border: 1px solid #cadbec;
	border-radius: 8px;
	background: #fff;
	color: #173454;
}

.lead-core-theme .woocommerce-error,
.lead-core-theme .woocommerce-info,
.lead-core-theme .woocommerce-message {
	border-top-color: #0568f7;
	background: #eef6ff;
	color: #173454;
}

.lead-core-theme .woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.lead-core-theme .woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 11px 14px;
	border-bottom: 1px solid #dfe9f5;
	font-weight: 700;
	text-decoration: none;
}

.lead-core-theme #cart .dialogbody .notice {
	margin-bottom: 22px;
}

.lead-core-theme #cart [data-lc-marketplace] {
	width: 100%;
}

@media (max-width: 782px) {
	.admin-bar .lc4-centered-header {
		top: 53px;
	}
}

@media (max-width: 700px) {
	.lead-core-theme .lc-wp-main {
		padding: 42px 0 58px;
	}

	.lead-core-theme .lc-wp-content > article {
		font-size: 16px;
	}

	.lead-core-theme .woocommerce-account .woocommerce-MyAccount-navigation,
	.lead-core-theme .woocommerce-account .woocommerce-MyAccount-content {
		float: none;
		width: 100%;
	}

	.lead-core-theme .woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 28px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .lc4-centered-header.is-compact,
	body.admin-bar .lc4-centered-header {
		top: 7px;
	}
}
