/*
Theme Name: CarXpert
Theme URI: https://www.getcarxpert.com/
Author: CarXpert
Description: Custom theme for CarXpert, India's Multi-Brand car service franchise network. Includes the site header, footer, Car Care Tips blog and page templates, plus a one-click setup (Appearance > CarXpert Setup) that builds the Home, About Us, Partner With Us, Services, Products, Service Centres and Contact Us pages as Elementor layouts you can edit. Requires Elementor and Contact Form 7.
Version: 1.4.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: carxpert
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--cx-red: #BB0000;
	--cx-red-dark: #8F0000;
	--cx-graphite: #1E1F21;
	--cx-graphite-deep: #151618;
	--cx-ink: #33363A;
	--cx-steel: #6B7178;
	--cx-concrete: #EEF0F2;
	--cx-line: #D9DDE1;
	--cx-white: #FFFFFF;
	--cx-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--cx-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
	--cx-radius: 3px;
	--cx-topbar-h: 38px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
.e-con[id], section[id] { scroll-margin-top: 96px; }
body {
	margin: 0;
	font: 400 16px/1.7 var(--cx-body);
	color: var(--cx-ink);
	background: var(--cx-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--cx-red); text-decoration: none; }
a:hover { color: var(--cx-red-dark); }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	font-family: var(--cx-head);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--cx-ink);
}
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.elementor-button:focus-visible {
	outline: 3px solid var(--cx-red);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.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;
}
.skip-link:focus {
	position: fixed !important;
	top: 8px; left: 8px;
	z-index: 1000;
	width: auto; height: auto;
	padding: 12px 18px;
	clip: auto;
	color: var(--cx-white);
	background: var(--cx-red);
	border-radius: var(--cx-radius);
}

.cx-wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }
.cx-wrap--narrow { max-width: 868px; }
@media (max-width: 767px) { .cx-wrap { padding: 0 20px; } }

/* Buttons used by the theme templates (Elementor buttons are styled in Elementor) */
.cx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 17px 30px;
	font: 700 15px/1 var(--cx-head);
	letter-spacing: .2px;
	color: var(--cx-white);
	background: var(--cx-red);
	border: 2px solid var(--cx-red);
	border-radius: var(--cx-radius);
	transition: background-color .15s, border-color .15s, color .15s;
}
.cx-btn:hover { color: var(--cx-white); background: var(--cx-red-dark); border-color: var(--cx-red-dark); }
.cx-btn--sm { padding: 13px 22px; font-size: 14px; }
.cx-bar__cta { flex: 0 0 auto; white-space: nowrap; }
.cx-bar .cx-bar__cta,
.cx-nav .cx-nav__cta,
.cx-footer__cta .cx-btn { color: var(--cx-red); background: var(--cx-white); border-color: var(--cx-white); }
.cx-bar .cx-bar__cta:hover,
.cx-nav .cx-nav__cta:hover,
.cx-footer__cta .cx-btn:hover { color: var(--cx-white); background: var(--cx-red-dark); border-color: var(--cx-white); }
.cx-btn--ghost { background: transparent; border-color: var(--cx-white); }
.cx-btn--ghost:hover { color: var(--cx-graphite); background: var(--cx-white); border-color: var(--cx-white); }
.cx-btn--dark { color: var(--cx-graphite); background: transparent; border-color: var(--cx-graphite); }
.cx-btn--dark:hover { color: var(--cx-white); background: var(--cx-graphite); border-color: var(--cx-graphite); }

/* ==========================================================================
   Header
   ========================================================================== */
.cx-header { position: sticky; top: calc(var(--cx-topbar-h) * -1); z-index: 60; }
@media (min-width: 783px) { .admin-bar .cx-header { top: calc(32px - var(--cx-topbar-h)); } }

.cx-topbar { background: var(--cx-red-dark); font-size: 13px; }
.cx-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--cx-topbar-h); }
.cx-topbar__contact { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 0; padding: 0; list-style: none; }
.cx-topbar__contact a { display: inline-flex; align-items: center; gap: 10px; color: #FFE1E1; }
.cx-topbar__contact a::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cx-white); }
.cx-topbar__contact a:hover { color: var(--cx-white); }
.cx-topbar__note { margin: 0; color: #FFD6D6; }

.cx-bar { position: relative; background: var(--cx-red); border-bottom: 3px solid var(--cx-red-dark); }
.cx-header :focus-visible, .cx-footer :focus-visible { outline-color: var(--cx-white); }
.cx-bar__in { display: flex; align-items: center; gap: 24px; min-height: 78px; }

.cx-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.cx-logo img { display: block; width: 200px; max-width: 52vw; height: auto; }
.cx-logo__text { font: 800 26px/1 var(--cx-head); letter-spacing: .02em; color: var(--cx-white); }
.cx-logo:hover .cx-logo__text { color: var(--cx-white); }

.cx-nav { margin-left: auto; }
.cx-nav ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.cx-nav li { position: relative; }
.cx-nav a {
	position: relative;
	display: block;
	padding: 10px 8px;
	font: 600 14.5px/1.2 var(--cx-head);
	white-space: nowrap;
	color: var(--cx-white);
}
.cx-nav a::after {
	content: "";
	position: absolute;
	left: 8px; right: 8px; bottom: 0;
	height: 3px;
	background: var(--cx-white);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease;
}
.cx-nav a:hover { color: var(--cx-white); }
.cx-nav a:hover::after,
.cx-nav .current-menu-item > a::after,
.cx-nav .current_page_item > a::after,
.cx-nav .current-menu-parent > a::after { transform: scaleX(1); }
.cx-nav .sub-menu {
	position: absolute;
	top: 100%; left: 0;
	min-width: 220px;
	display: none;
	flex-direction: column;
	padding: 8px 0;
	background: var(--cx-red-dark);
	border-top: 3px solid var(--cx-white);
}
.cx-nav li:hover > .sub-menu,
.cx-nav li:focus-within > .sub-menu { display: flex; }
.cx-nav .sub-menu a { padding: 10px 18px; }
.cx-nav .sub-menu a::after { display: none; }
.cx-nav .cx-nav__cta { display: none; }

.cx-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px; height: 46px;
	margin-left: auto;
	padding: 0;
	color: var(--cx-white);
	background: transparent;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: var(--cx-radius);
	cursor: pointer;
}
.cx-burger, .cx-burger::before, .cx-burger::after {
	display: block;
	width: 20px; height: 2px;
	background: currentColor;
	transition: transform .2s, opacity .2s;
}
.cx-burger { position: relative; }
.cx-burger::before, .cx-burger::after { content: ""; position: absolute; left: 0; }
.cx-burger::before { top: -6px; }
.cx-burger::after { top: 6px; }
.cx-header.is-open .cx-burger { background: transparent; }
.cx-header.is-open .cx-burger::before { transform: translateY(6px) rotate(45deg); }
.cx-header.is-open .cx-burger::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1250px) {
	.cx-nav a { padding: 10px 7px; font-size: 14px; }
	.cx-nav a::after { left: 7px; right: 7px; }
	.cx-bar .cx-bar__cta { padding: 12px 18px; }
}
@media (max-width: 1200px) {
	.cx-bar__cta { display: none; }
}
@media (max-width: 1024px) {
	.cx-nav-toggle { display: inline-flex; }
	.cx-bar__cta { display: none; }
	.cx-nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		display: none;
		max-height: calc(100vh - 80px);
		overflow-y: auto;
		margin: 0;
		background: var(--cx-red);
		border-top: 1px solid rgba(255, 255, 255, .22);
		border-bottom: 3px solid var(--cx-red-dark);
	}
	.cx-header.is-open .cx-nav { display: block; }
	.cx-nav ul { flex-direction: column; gap: 0; padding: 8px 24px 4px; }
	.cx-nav a { padding: 15px 0; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
	.cx-nav a::after { display: none; }
	.cx-nav .current-menu-item > a,
	.cx-nav .current_page_item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
	.cx-nav .sub-menu { position: static; display: flex; padding: 0 0 0 16px; border: 0; }
	.cx-nav .cx-nav__cta { display: flex; margin: 16px 24px 24px; padding: 17px 30px; font-size: 15px; border-bottom: 2px solid var(--cx-white); }
	.cx-nav .cx-nav__cta::after { display: none; }
}
@media (max-width: 767px) {
	.cx-topbar { display: none; }
	.cx-header { top: 0; }
	.cx-bar__in { min-height: 68px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.cx-footer { color: #FFD6D6; background: var(--cx-red-dark); border-top: 4px solid var(--cx-red); }
.cx-footer a { color: #FFE1E1; }
.cx-footer a:hover { color: var(--cx-white); }
.cx-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
	gap: 48px;
	padding-top: 72px;
	padding-bottom: 56px;
}
@media (max-width: 1024px) { .cx-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cx-footer__grid { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; } }
.cx-footer__brand .cx-logo img { width: 180px; }
.cx-footer__about { margin: 18px 0 22px; font-size: 15px; line-height: 1.7; }
.cx-footer__title { margin: 0 0 18px; font: 700 16px/1.3 var(--cx-head); letter-spacing: 0; color: var(--cx-white); }
.cx-footer__links { margin: 0; padding: 0; list-style: none; }
.cx-footer__links li { margin: 0 0 10px; }
.cx-footer__links a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; }
.cx-footer__links a::before { content: ""; width: 6px; height: 6px; border-top: 2px solid var(--cx-white); border-right: 2px solid var(--cx-white); transform: rotate(45deg); }
.cx-footer address { margin: 0 0 14px; font-style: normal; font-size: 15px; line-height: 1.7; }
.cx-footer__contact { margin: 0; padding: 0; list-style: none; font-size: 15px; }
.cx-footer__contact li { margin: 0 0 8px; }
.cx-footer__cta p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; }

.cx-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cx-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	color: var(--cx-white);
	background: rgba(255, 255, 255, .16);
	border-radius: var(--cx-radius);
	transition: background-color .15s, color .15s;
}
.cx-social a:hover { color: var(--cx-red); background: var(--cx-white); }
.cx-social svg { width: 16px; height: 16px; fill: currentColor; }

.cx-footer__bottom { background: #6E0000; font-size: 13.5px; color: #F5C6C6; }
.cx-footer__bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; min-height: 58px; padding-top: 12px; padding-bottom: 12px; }
.cx-footer__bottom p { margin: 0; }
.cx-footer__legal { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; }
.cx-footer__legal a { color: #FFD6D6; }

/* ==========================================================================
   Page head band (blog, posts, plain pages, 404)
   ========================================================================== */
.cx-pagehead {
	position: relative;
	padding: 96px 0 80px;
	color: #E4E6E9;
	background: var(--cx-graphite) center / cover no-repeat;
	border-bottom: 4px solid var(--cx-red);
}
.cx-pagehead::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(30, 31, 33, .95), rgba(30, 31, 33, .6));
}
.cx-pagehead > .cx-wrap { position: relative; }
.cx-pagehead__eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font: 600 15px/1.4 var(--cx-body); color: var(--cx-white); }
.cx-pagehead__eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }
.cx-pagehead__title { max-width: 900px; margin: 0; font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -0.025em; color: var(--cx-white); }
.cx-pagehead__intro { max-width: 640px; margin: 18px 0 0; font-size: 18px; line-height: 1.7; }
@media (max-width: 767px) { .cx-pagehead { padding: 72px 0 56px; } }

/* ==========================================================================
   Car Care Tips: blog index
   ========================================================================== */
.cx-blog { padding: 80px 0 104px; background: var(--cx-concrete); }
.cx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1024px) { .cx-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cx-cards { grid-template-columns: 1fr; } .cx-blog { padding: 56px 0 72px; } }
.cx-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--cx-white);
	border-top: 4px solid var(--cx-red);
	border-radius: var(--cx-radius);
}
.cx-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--cx-graphite); }
.cx-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.cx-card:hover .cx-card__media img { transform: scale(1.03); }
.cx-card__body { display: flex; flex: 1; flex-direction: column; padding: 24px 24px 26px; }
.cx-card__date { margin: 0 0 8px; font: 600 13px/1.4 var(--cx-body); color: var(--cx-steel); }
.cx-card__title { margin: 0 0 10px; font: 700 19px/1.35 var(--cx-head); letter-spacing: -0.01em; }
.cx-card__title a { color: var(--cx-ink); }
.cx-card__title a:hover { color: var(--cx-red); }
.cx-card__excerpt { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--cx-steel); }
.cx-card__more { margin-top: auto; font: 700 14px/1 var(--cx-head); color: var(--cx-red); }

.cx-pagination { margin-top: 56px; }
.cx-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.cx-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; height: 44px;
	padding: 0 14px;
	font: 700 15px/1 var(--cx-head);
	color: var(--cx-ink);
	background: var(--cx-white);
	border-radius: var(--cx-radius);
}
.cx-pagination .page-numbers.current,
.cx-pagination a.page-numbers:hover { color: var(--cx-white); background: var(--cx-red); }

.cx-empty { padding: 48px; text-align: center; background: var(--cx-white); border-radius: var(--cx-radius); }

/* ==========================================================================
   Single post and plain pages
   ========================================================================== */
.cx-article { padding: 72px 0 104px; }
.cx-article__thumb { margin: 0 0 36px; }
.cx-article__thumb img { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: var(--cx-radius); }

.cx-prose { font-size: 17px; line-height: 1.8; color: var(--cx-ink); }
.cx-prose > *:first-child { margin-top: 0; }
.cx-prose h2 { margin: 44px 0 14px; font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; }
.cx-prose h3 { margin: 34px 0 12px; font-size: 21px; font-weight: 700; line-height: 1.3; }
.cx-prose h4 { margin: 28px 0 10px; font-size: 18px; font-weight: 700; }
.cx-prose ul, .cx-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.cx-prose li { margin-bottom: .4em; }
.cx-prose li::marker { color: var(--cx-red); }
.cx-prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; font-weight: 500; border-left: 4px solid var(--cx-red); }
.cx-prose table { width: 100%; margin: 0 0 1.5em; border-collapse: collapse; font-size: 15px; }
.cx-prose th, .cx-prose td { padding: 10px 12px; text-align: left; border: 1px solid var(--cx-line); }
.cx-prose th { background: var(--cx-concrete); }
.cx-prose a { text-decoration: underline; text-underline-offset: 2px; }
.cx-prose img { border-radius: var(--cx-radius); }

.cx-article__cta {
	margin-top: 56px;
	padding: 30px 32px;
	background: var(--cx-concrete);
	border-left: 4px solid var(--cx-red);
	border-radius: var(--cx-radius);
}
.cx-article__cta p { margin: 0 0 16px; font: 700 19px/1.45 var(--cx-head); color: var(--cx-ink); }
.cx-article__back { display: inline-block; margin-top: 32px; font: 700 15px/1 var(--cx-head); }
.cx-postnav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--cx-line); }
.cx-postnav a { max-width: 48%; font: 700 15px/1.45 var(--cx-head); color: var(--cx-ink); }
.cx-postnav a:hover { color: var(--cx-red); }
.cx-postnav span { display: block; margin-bottom: 4px; font: 600 13px/1.4 var(--cx-body); color: var(--cx-steel); }

.cx-404 { padding: 80px 0 104px; }
.cx-404__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ==========================================================================
   Elementor layout helpers (classes are set on widgets and containers)
   ========================================================================== */
.elementor-page .cx-content { overflow-x: clip; }

/* Eyebrow line above headings: short signage bar in the text colour */
.cx-eyebrow .elementor-heading-title { display: flex; align-items: center; gap: 12px; }
.cx-eyebrow .elementor-heading-title::before { content: ""; flex: 0 0 28px; height: 3px; background: currentColor; }

/* Left column that stays in view while the right column scrolls */
@media (min-width: 1025px) {
	.cx-sticky { position: sticky; top: 112px; align-self: flex-start; }
}

/* Large quotation mark on partner testimonials */
.cx-quote-mark { display: block; height: 34px; font: 800 76px/1 var(--cx-head); color: var(--cx-red); }

/* Pull-out paragraph */
.cx-callout .elementor-widget-container,
.cx-callout.elementor-widget-text-editor { padding-left: 24px; border-left: 4px solid var(--cx-red); }

/* Red rule above the focus-area headings */
.cx-rule-top .elementor-heading-title { padding-top: 18px; border-top: 3px solid var(--cx-red); }

/* Signage band under the home hero */
.cx-band .elementor-icon-box-wrapper { align-items: center; }
.cx-band .elementor-icon-box-title { margin: 0 !important; }
.cx-band .elementor-icon-box-description { display: none; }

/* Service rows: keep the small source photos crisp */
.cx-svc-pic { flex: 0 0 300px !important; width: 300px !important; max-width: 100%; }
.cx-svc-pic img { width: 300px; max-width: 100%; }
.cx-svc-row > .e-con:not(.cx-svc-pic) { flex: 1 1 0% !important; min-width: 0; width: auto !important; }
@media (max-width: 1024px) {
	.cx-svc-pic { flex-basis: auto !important; width: 100% !important; }
	.cx-svc-pic img { width: 100%; }
	.cx-svc-row > .e-con:not(.cx-svc-pic) { flex-basis: auto !important; width: 100% !important; }
	.cx-svc-row.cx-rev { flex-direction: column-reverse !important; }
}

/* Car brand logos */
.cx-brands { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 28px 20px; align-items: center; }
.cx-brands img { display: block; width: 100%; max-width: 120px; margin: 0 auto; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.cx-brands img:hover { filter: none; opacity: 1; }
@media (max-width: 1024px) { .cx-brands { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cx-brands { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Testimonials with no photo: initials */
.cx-initials .elementor-testimonial-image { display: none; }

/* ==========================================================================
   Contact Form 7
   ========================================================================== */
.wpcf7 .cx-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 18px 20px;
	margin-bottom: 22px;
}
.wpcf7 .cx-grid > label,
.wpcf7 .cx-grid > .cx-field { grid-column: span 3; }
.wpcf7 .cx-field { display: flex; flex-direction: column; gap: 10px; font: 600 14px/1.4 var(--cx-body); color: var(--cx-ink); }
.wpcf7 .wpcf7-radio { display: flex; flex-direction: column; gap: 10px; }
.wpcf7 .wpcf7-radio .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-radio label { flex-direction: row; align-items: center; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer; }
.wpcf7 input[type="radio"] { flex: 0 0 auto; width: 18px; height: 18px; margin: 0; accent-color: var(--cx-red); }
.wpcf7 .cx-if-own-workshop.is-hidden { display: none; }
.wpcf7 .cx-grid > label.cx-full { grid-column: 1 / -1; }
.wpcf7 .cx-grid > label.cx-third { grid-column: span 2; }
.wpcf7 .cx-grid > label.cx-twothird { grid-column: span 4; }
@media (max-width: 767px) {
	.wpcf7 .cx-grid > label,
	.wpcf7 .cx-grid > .cx-field,
	.wpcf7 .cx-grid > label.cx-third,
	.wpcf7 .cx-grid > label.cx-twothird { grid-column: 1 / -1; }
}
.wpcf7 label { display: flex; flex-direction: column; gap: 8px; font: 600 14px/1.4 var(--cx-body); color: var(--cx-ink); }
.wpcf7 .wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 13px 14px;
	font: 400 16px/1.4 var(--cx-body);
	color: var(--cx-ink);
	background: var(--cx-white);
	border: 1px solid #C3C8CE;
	border-radius: var(--cx-radius);
	box-shadow: none;
	transition: border-color .15s;
}
.wpcf7 textarea { min-height: 120px; resize: vertical; }
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus { border-color: var(--cx-red); outline: 3px solid rgba(187, 0, 0, .16); outline-offset: 0; }
.wpcf7 input[type="submit"] {
	padding: 17px 32px;
	font: 700 15px/1 var(--cx-head);
	letter-spacing: .2px;
	color: var(--cx-white);
	background: var(--cx-red);
	border: 2px solid var(--cx-red);
	border-radius: var(--cx-radius);
	cursor: pointer;
	transition: background-color .15s, border-color .15s;
}
.wpcf7 input[type="submit"]:hover { background: var(--cx-red-dark); border-color: var(--cx-red-dark); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
.wpcf7 .wpcf7-not-valid-tip { margin-top: 2px; font: 500 13px/1.4 var(--cx-body); color: var(--cx-red); }
.wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 16px; font: 500 15px/1.5 var(--cx-body); border-radius: var(--cx-radius); }
.wpcf7 form.sent .wpcf7-response-output { color: #1B5E20; background: #EEF6EF; border-color: #2E7D32; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output { color: var(--cx-red-dark); background: #FBEDED; border-color: var(--cx-red); }

/* ==========================================================================
   WordPress core classes
   ========================================================================== */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, .wp-block-image figcaption { font-size: 14px; color: var(--cx-steel); }
.sticky, .bypostauthor, .gallery-caption { display: block; }

/* ==========================================================================
   Keep the theme's colours when Elementor's global link colour is set
   ========================================================================== */
body .cx-topbar__contact a { color: #FFE1E1; }
body .cx-topbar__contact a:hover { color: var(--cx-white); }
body .cx-nav a,
body .cx-nav a:hover { color: var(--cx-white); }
body a.cx-btn,
body a.cx-btn:hover { color: var(--cx-white); }
body .cx-bar a.cx-bar__cta,
body .cx-footer__cta a.cx-btn { color: var(--cx-red); }
body .cx-bar a.cx-bar__cta:hover,
body .cx-footer__cta a.cx-btn:hover { color: var(--cx-white); }
body a.cx-btn--dark { color: var(--cx-graphite); }
body a.cx-btn--dark:hover { color: var(--cx-white); }
body a.cx-btn--ghost:hover { color: var(--cx-graphite); }
body .cx-footer a { color: #FFE1E1; }
body .cx-footer a:hover,
body .cx-social a { color: var(--cx-white); }
body .cx-social a:hover { color: var(--cx-red); }
body .cx-footer__legal a { color: #FFD6D6; }
body .cx-card__title a,
body .cx-postnav a { color: var(--cx-ink); }
body .cx-card__title a:hover,
body .cx-postnav a:hover { color: var(--cx-red); }
body .cx-pagination .page-numbers { color: var(--cx-ink); }
body .cx-pagination .page-numbers.current,
body .cx-pagination a.page-numbers:hover { color: var(--cx-white); }
@media (max-width: 1024px) {
	body .cx-nav .current-menu-item > a,
	body .cx-nav .current_page_item > a { color: var(--cx-white); }
	body .cx-nav a.cx-nav__cta { color: var(--cx-red); }
	body .cx-nav a.cx-nav__cta:hover { color: var(--cx-white); }
}
