/* ==========================================================================
   Calgary Divorce Solutions - child theme styles
   Colours and layout follow the original 2014 CDS theme.
   ========================================================================== */

:root {
	--cds-pink: #cd1c69;
	--cds-pink-dark: #a8124f;
	--cds-maroon: #670b39;
	--cds-blue: #4fc3f7;
	--cds-blue-dark: #1f8fc4;
	--cds-blue-text: #156d96;
	--cds-red: #c22628;
	--cds-text: #333;
	--cds-muted: #666;
	--cds-line: #e4e3e3;
	--cds-bg: #f1f1f1;
	--cds-wrap: 1180px;
	--cds-font-body: 'Open Sans', Arial, sans-serif;
	--cds-font-head: 'Jost', 'Futura', 'Trebuchet MS', sans-serif;
	--cds-font-logo: 'Montserrat', 'Proxima Nova', Arial, sans-serif;
	--cds-radius: 4px;
	--cds-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	background: var(--cds-bg) url(../img/bg.webp);
	color: var(--cds-text);
	font-family: var(--cds-font-body);
	font-size: 16px;
	line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--cds-font-head);
	font-weight: 500;
	color: var(--cds-maroon);
	line-height: 1.25;
	margin: 0 0 .5em;
}

a { color: var(--cds-blue-text); }
a:hover, a:focus { color: var(--cds-pink); }
:focus-visible { outline: 3px solid var(--cds-blue); outline-offset: 2px; }

.cds-wrap {
	max-width: var(--cds-wrap);
	margin: 0 auto;
	padding: 0 16px;
	width: 100%;
	box-sizing: border-box;
}

.cds-icon { display: inline-flex; width: 1em; height: 1em; flex: none; }
.cds-icon svg { width: 100%; height: 100%; fill: currentColor; }

/* Buttons ---------------------------------------------------------------- */
.cds-btn,
.cds-btnw .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	background: var(--cds-pink);
	border: 2px solid var(--cds-pink);
	border-radius: var(--cds-radius);
	color: #fff;
	font-family: var(--cds-font-head);
	font-weight: 500;
	font-size: 1rem;
	letter-spacing: .02em;
	line-height: 1.2;
	padding: .8em 1.4em;
	text-decoration: none;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.cds-btn:hover, .cds-btn:focus,
.cds-btnw .elementor-button:hover, .cds-btnw .elementor-button:focus { background: var(--cds-pink-dark); border-color: var(--cds-pink-dark); color: #fff; }
.cds-btn--outline,
.cds-btnw--outline .elementor-button { background: transparent; color: var(--cds-pink); }
.cds-btn--outline:hover, .cds-btn--outline:focus,
.cds-btnw--outline .elementor-button:hover, .cds-btnw--outline .elementor-button:focus { background: var(--cds-pink); border-color: var(--cds-pink); color: #fff; }
.cds-btn--light { background: transparent; border-color: #fff; color: #fff; }
.cds-btn--light:hover, .cds-btn--light:focus { background: rgba(205, 28, 105, .85); border-color: rgba(205, 28, 105, .85); color: #fff; }

/* Header ----------------------------------------------------------------- */
.cds-header {
	background: #fff;
	border-top: 4px solid var(--cds-blue);
	box-shadow: 0 1px 2px 0 #989898;
	position: sticky;
	top: 0;
	z-index: 1000;
}
.admin-bar .cds-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cds-header { top: 0; } }

.cds-topbar { border-bottom: 1px solid var(--cds-line); }
.cds-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 8px;
	padding-bottom: 8px;
	font: 500 12px/1.4 var(--cds-font-head);
	letter-spacing: .06em;
	text-transform: uppercase;
}
.cds-topbar a { color: var(--cds-text); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.cds-topbar a:hover, .cds-topbar a:focus { color: var(--cds-red); }
.cds-topbar__cta { color: var(--cds-pink) !important; font-weight: 600; }

.cds-brandbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 12px;
	padding-bottom: 12px;
	transition: padding .2s ease;
}
.cds-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; min-width: 0; }
.cds-logo__rings { width: 96px; height: auto; flex: none; transition: width .2s ease; }
.cds-logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.cds-logo__text small { color: #0078ad; font: 400 16px/1.2 var(--cds-font-logo); }
.cds-logo__text span { color: #cb1b68; font: 700 30px/1.1 var(--cds-font-logo); letter-spacing: -.01em; }
.cds-logo:hover .cds-logo__text span { color: var(--cds-maroon); }

.cds-author {
	color: var(--cds-maroon);
	font: 500 24px/1.3 var(--cds-font-head);
	letter-spacing: .03em;
	margin: 0;
	text-align: right;
	text-transform: uppercase;
}
.cds-author small { display: block; font-size: 17px; letter-spacing: 0; text-transform: none; }

.cds-navbar { border-top: 1px solid var(--cds-line); }
.cds-navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.cds-nav__list { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.cds-nav__list > li { position: relative; }
.cds-nav__list a {
	color: var(--cds-text);
	display: block;
	font: 500 13.5px/1.2 var(--cds-font-head);
	letter-spacing: .04em;
	padding: 15px 11px;
	text-decoration: none;
	text-transform: uppercase;
}
.cds-nav__list > li:first-child > a { padding-left: 0; }
.cds-nav__list > li > a:hover,
.cds-nav__list > li > a:focus,
.cds-nav__list > li.current-menu-item > a,
.cds-nav__list > li.current-menu-ancestor > a { color: var(--cds-red); }
.cds-nav__list .menu-item-has-children > a::after {
	content: '';
	display: inline-block;
	margin-left: 6px;
	border: 4px solid transparent;
	border-top-color: currentColor;
	border-bottom: 0;
	vertical-align: middle;
}
.cds-nav__list .sub-menu {
	background: #fff;
	border-top: 3px solid var(--cds-red);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
	left: 0;
	list-style: none;
	margin: 0;
	min-width: 270px;
	opacity: 0;
	padding: 6px 0;
	position: absolute;
	top: 100%;
	transform: translateY(6px);
	transition: opacity .15s ease, transform .15s ease, visibility .15s;
	visibility: hidden;
	z-index: 10;
}
.cds-nav__list li:hover > .sub-menu,
.cds-nav__list li:focus-within > .sub-menu,
.cds-nav__list li.is-open > .sub-menu { opacity: 1; transform: none; visibility: visible; }
.cds-nav__list .sub-menu a { padding: 10px 18px; font-size: 13px; }
.cds-nav__list .sub-menu a:hover,
.cds-nav__list .sub-menu a:focus,
.cds-nav__list .sub-menu .current-menu-item > a { background: #d04d4d; color: #fff; }
.cds-submenu-toggle { display: none; }
.cds-nav__mobile-extra { display: none; }

.cds-social { display: flex; gap: 8px; flex: none; }
.cds-social a {
	align-items: center;
	background: var(--cds-blue-dark);
	border-radius: 50%;
	color: #fff;
	display: inline-flex;
	height: 34px;
	justify-content: center;
	width: 34px;
	font-size: 18px;
	transition: background-color .15s ease;
}
.cds-social a:first-child { background: #3b5998; }
.cds-social a:hover, .cds-social a:focus { background: var(--cds-pink); color: #fff; }

.cds-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	background: var(--cds-pink);
	border: 0;
	border-radius: var(--cds-radius);
	color: #fff;
	cursor: pointer;
	font: 500 14px/1 var(--cds-font-head);
	letter-spacing: .06em;
	padding: 11px 14px;
	text-transform: uppercase;
}
.cds-menu-toggle:hover, .cds-menu-toggle:focus { background: var(--cds-pink-dark); color: #fff; }
.cds-menu-toggle__bars,
.cds-menu-toggle__bars::before,
.cds-menu-toggle__bars::after {
	background: currentColor;
	border-radius: 1px;
	content: '';
	display: block;
	height: 2px;
	position: relative;
	transition: transform .2s ease, background-color .2s;
	width: 18px;
}
.cds-menu-toggle__bars::before { position: absolute; top: -6px; }
.cds-menu-toggle__bars::after { position: absolute; top: 6px; }
.cds-menu-toggle[aria-expanded="true"] .cds-menu-toggle__bars { background: transparent; }
.cds-menu-toggle[aria-expanded="true"] .cds-menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.cds-menu-toggle[aria-expanded="true"] .cds-menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Compact header after scrolling (desktop) */
@media (min-width: 1101px) {
	.cds-header.is-scrolled .cds-brandbar { padding-top: 6px; padding-bottom: 6px; }
	.cds-header.is-scrolled .cds-logo__rings { width: 64px; }
}

@media (max-width: 1100px) {
	.cds-author { display: none; }
	.cds-menu-toggle { display: inline-flex; }
	.cds-navbar { border-top: 0; }
	.cds-navbar__inner { display: block; padding: 0; }
	.cds-navbar .cds-social { display: none; }
	.cds-nav {
		background: #fff;
		border-top: 1px solid var(--cds-line);
		display: none;
		max-height: calc(100vh - 150px);
		overflow-y: auto;
		padding: 8px 16px 20px;
	}
	.cds-nav.is-open { display: block; }
	.cds-nav__list { display: block; }
	.cds-nav__list > li { border-bottom: 1px solid var(--cds-line); display: flex; flex-wrap: wrap; }
	.cds-nav__list > li > a { flex: 1; padding: 14px 0 !important; font-size: 15px; }
	.cds-nav__list .menu-item-has-children > a::after { display: none; }
	.cds-submenu-toggle {
		align-items: center;
		background: none;
		border: 0;
		border-left: 1px solid var(--cds-line);
		color: var(--cds-text);
		cursor: pointer;
		display: inline-flex;
		justify-content: center;
		width: 48px;
	}
	.cds-submenu-toggle::before {
		border: 6px solid transparent;
		border-top-color: currentColor;
		border-bottom: 0;
		content: '';
		transition: transform .2s ease;
	}
	.cds-submenu-toggle[aria-expanded="true"]::before { transform: rotate(180deg); }
	.cds-nav__list .sub-menu {
		border-top: 0;
		box-shadow: none;
		display: none;
		opacity: 1;
		padding: 0 0 8px 12px;
		position: static;
		transform: none;
		visibility: visible;
		width: 100%;
	}
	.cds-nav__list li.is-open > .sub-menu { display: block; }
	.cds-nav__list li:hover > .sub-menu { display: none; }
	.cds-nav__list li.is-open:hover > .sub-menu { display: block; }
	.cds-nav__list .sub-menu a { padding: 10px 0; font-size: 14px; }
	.cds-nav__mobile-extra { display: grid; gap: 10px; padding-top: 16px; }
}

@media (max-width: 600px) {
	.cds-topbar__inner { font-size: 11px; letter-spacing: .03em; }
	.cds-logo__rings { width: 60px; }
	.cds-logo__text small { font-size: 12px; }
	.cds-logo__text span { font-size: 18px; }
	.cds-menu-toggle__label { display: none; }
	.cds-menu-toggle { padding: 12px; }
}

/* Page body -------------------------------------------------------------- */
.site-main,
.page-content,
.site-main.post,
body:not(.elementor-page) #content {
	box-sizing: border-box;
}
body:not(.elementor-page) #content.site-main {
	background: #fff;
	box-shadow: var(--cds-shadow);
	margin: 24px auto 40px;
	max-width: var(--cds-wrap);
	padding: 28px 32px 56px;
}
@media (max-width: 600px) {
	body:not(.elementor-page) #content.site-main { margin: 0 0 24px; padding: 20px 16px 40px; }
}
body:not(.elementor-page) .page-header {
	border-bottom: 1px solid var(--cds-pink);
	margin-bottom: 24px;
	padding-bottom: 10px;
}
body:not(.elementor-page) .page-header .entry-title { color: var(--cds-maroon); font-size: clamp(26px, 4vw, 36px); margin: 0; }

.elementor-page .site-main { margin: 0; padding: 0; }

/* Homepage hero slider -------------------------------------------------- */
.cds-hero {
	aspect-ratio: 1180 / 400;
	background: #222;
	overflow: hidden;
	position: relative;
	width: 100%;
}
.cds-hero__slide {
	inset: 0;
	opacity: 0;
	position: absolute;
	transition: opacity .9s ease, visibility .9s;
	visibility: hidden;
}
.cds-hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.cds-hero__slide img {
	height: 100%;
	left: 0;
	object-fit: cover;
	position: absolute;
	top: 0;
	transform: scale(1.04);
	transition: transform 7s ease-out;
	width: 100%;
}
.cds-hero__slide.is-active img { transform: scale(1); }
.cds-hero__box {
	background: rgba(0, 0, 0, .62);
	border-left: 4px solid var(--cds-pink);
	bottom: 12%;
	box-sizing: border-box;
	color: #fff;
	left: 5%;
	max-width: 520px;
	padding: 22px 28px 26px;
	position: absolute;
	width: 52%;
}
.cds-hero__slide--right .cds-hero__box { left: auto; right: 5%; }
.cds-hero__eyebrow {
	color: var(--cds-blue);
	display: block;
	font: 600 13px/1.2 var(--cds-font-head);
	letter-spacing: .14em;
	margin-bottom: 8px;
	text-transform: uppercase;
}
.cds-hero__title {
	color: #fff;
	font: 500 clamp(24px, 3.2vw, 38px)/1.15 var(--cds-font-head);
	margin: 0 0 10px;
}
.cds-hero__text { color: #fff; font-size: 16px; line-height: 1.5; margin: 0 0 16px; }
.cds-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cds-hero__actions .cds-btn { font-size: 15px; padding: .7em 1.2em; }
.cds-hero__arrow {
	align-items: center;
	background: rgba(0, 0, 0, .35);
	border: 0;
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	height: 44px;
	justify-content: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color .15s;
	width: 44px;
	z-index: 3;
}
.cds-hero__arrow:hover, .cds-hero__arrow:focus { background: var(--cds-pink); }
.cds-hero__arrow::before {
	box-sizing: content-box;
	flex: none;
	border: solid currentColor;
	border-width: 0 0 2px 2px;
	content: '';
	height: 10px;
	margin-left: 4px;
	transform: rotate(45deg);
	width: 10px;
}
.cds-hero__arrow--prev { left: 14px; }
.cds-hero__arrow--next { right: 14px; }
.cds-hero__arrow--next::before { margin-left: -4px; transform: rotate(-135deg); }
.cds-hero__dots {
	bottom: 8px;
	display: flex;
	gap: 2px;
	position: absolute;
	right: 22px;
	z-index: 3;
}
.cds-hero__dot {
	background: transparent;
	border: 0;
	cursor: pointer;
	height: 24px;
	padding: 6px;
	width: 24px;
}
.cds-hero__dot::before { background: rgba(255, 255, 255, .7); border-radius: 50%; content: ''; display: block; height: 12px; width: 12px; }
.cds-hero__dot[aria-current="true"]::before { background: var(--cds-pink); }

@media (max-width: 900px) {
	.cds-hero { aspect-ratio: auto; display: grid; }
	.cds-hero__slide { display: flex; flex-direction: column; grid-area: 1 / 1; inset: auto; position: relative; }
	.cds-hero__slide img { aspect-ratio: 1180 / 400; height: auto; position: relative; }
	.cds-hero__box,
	.cds-hero__slide--right .cds-hero__box {
		background: var(--cds-maroon);
		border-left: 0;
		border-top: 4px solid var(--cds-pink);
		flex: 1;
		left: auto;
		max-width: none;
		padding: 18px 16px 48px;
		position: relative;
		right: auto;
		bottom: auto;
		width: 100%;
	}
	.cds-hero__arrow { top: calc((100vw - 32px) * 400 / 1180 / 2); width: 38px; height: 38px; }
	.cds-hero__dots { bottom: 16px; left: 16px; right: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.cds-hero__slide, .cds-hero__slide img { transition: none; transform: none; }
}

/* Blue call-to-action band (from the original banner nav) --------------- */
.cds-cta-band {
	background: #157aa8;
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.cds-cta-band a {
	color: #fff;
	display: block;
	padding: 26px 24px;
	text-align: center;
	text-decoration: none;
	transition: background-color .15s;
}
.cds-cta-band a + a { border-left: 1px solid rgba(255, 255, 255, .5); }
.cds-cta-band a:hover, .cds-cta-band a:focus { background: #0f6690; color: #fff; }
.cds-cta-band__small { display: block; font: italic 400 clamp(18px, 2vw, 24px)/1.3 var(--cds-font-body); }
.cds-cta-band__big { display: block; font: italic 700 clamp(22px, 2.6vw, 30px)/1.3 var(--cds-font-body); }
@media (max-width: 640px) {
	.cds-cta-band { grid-template-columns: 1fr; }
	.cds-cta-band a + a { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .5); }
	.cds-cta-band a { padding: 18px 16px; }
}

/* White content panel ---------------------------------------------------- */
.cds-panel { background: #fff; box-shadow: var(--cds-shadow); }
.cds-section-title {
	border-bottom: 1px solid var(--cds-blue);
	margin-bottom: 18px !important;
	padding-bottom: 12px;
}
.cds-section-title .elementor-heading-title {
	color: var(--cds-maroon);
	font: 500 16px/1.3 var(--cds-font-head);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.cds-home-intro .elementor-widget-heading,
.cds-home-contact .elementor-widget-heading { margin-bottom: 6px; }
.cds-panel .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.cds-checklist { list-style: none; margin: 0; padding: 0; }
.cds-checklist li { padding: 6px 0 6px 28px; position: relative; }
.cds-checklist li::before {
	background: var(--cds-pink);
	border-radius: 50%;
	content: '';
	height: 10px;
	left: 4px;
	position: absolute;
	top: 14px;
	width: 10px;
}

/* Service tiles (hover cover like the original) ------------------------ */
.cds-tiles {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(4, 1fr);
}
.cds-tile {
	aspect-ratio: 225 / 265;
	background: var(--cds-maroon);
	color: #fff;
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}
.cds-tile img { height: 100%; object-fit: cover; transition: transform .4s ease; width: 100%; }
.cds-tile__label {
	background: rgba(103, 11, 57, .88);
	bottom: 0;
	box-sizing: border-box;
	color: #fff;
	font: 500 15px/1.3 var(--cds-font-head);
	left: 0;
	letter-spacing: .05em;
	padding: 12px 14px;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	width: 100%;
}
.cds-tile__cover {
	background: rgba(103, 11, 57, .94);
	box-sizing: border-box;
	color: #fff;
	display: flex;
	flex-direction: column;
	font-size: 14.5px;
	gap: 14px;
	inset: 0;
	justify-content: center;
	line-height: 1.5;
	opacity: 0;
	padding: 22px;
	position: absolute;
	transition: opacity .25s ease;
}
.cds-tile__cover strong { font: 500 18px/1.25 var(--cds-font-head); text-transform: uppercase; letter-spacing: .04em; }
.cds-tile__more { align-self: flex-start; border: 2px solid #fff; padding: 7px 14px; font-size: 13px; }
.cds-tile:hover .cds-tile__cover,
.cds-tile:focus .cds-tile__cover { opacity: 1; }
.cds-tile:hover img, .cds-tile:focus img { transform: scale(1.05); }
.cds-tile:focus-visible { outline-offset: 3px; }

@media (max-width: 900px) {
	.cds-tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (hover: none) {
	.cds-tile { aspect-ratio: auto; background: #fff; color: var(--cds-text); display: flex; flex-direction: column; box-shadow: var(--cds-shadow); }
	.cds-tile img { aspect-ratio: 4 / 3; height: auto; }
	.cds-tile__label { position: static; }
	.cds-tile__cover { background: #fff; color: var(--cds-text); opacity: 1; padding: 14px; position: static; justify-content: flex-start; gap: 10px; flex: 1; font-size: 14px; }
	.cds-tile__cover strong { display: none; }
	.cds-tile__more { border-color: var(--cds-pink); color: var(--cds-pink); }
}
@media (hover: none) and (max-width: 600px) {
	.cds-tiles { grid-template-columns: 1fr; }
	.cds-tile { display: grid; grid-template-columns: 110px 1fr; grid-template-rows: auto 1fr; }
	.cds-tile img { aspect-ratio: auto; grid-row: 1 / 3; height: 100%; }
	.cds-tile__label { background: none; color: var(--cds-maroon); font-size: 15px; padding: 12px 14px 0; text-align: left; }
	.cds-tile__cover { padding: 6px 14px 14px; }
	.cds-tile__more { font-size: 12px; padding: 6px 10px; }
}

/* E-book banner -------------------------------------------------------- */
.cds-ebook {
	align-items: center;
	background: #fff;
	box-shadow: var(--cds-shadow);
	display: grid;
	gap: 0;
	grid-template-columns: minmax(0, 360px) 1fr;
	text-decoration: none;
}
.cds-ebook img { display: block; height: 100%; object-fit: cover; width: 100%; }
.cds-ebook__body { padding: 22px 28px; color: var(--cds-text); }
.cds-ebook__body h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
@media (max-width: 700px) { .cds-ebook { grid-template-columns: 1fr; } }

/* Featured post, testimonial, contact list ----------------------------- */
.cds-featured-post__title { font: 600 22px/1.3 var(--cds-font-body) !important; margin-bottom: 4px !important; }
.cds-featured-post__title a { color: var(--cds-text); text-decoration: none; }
.cds-featured-post__title a:hover { color: var(--cds-blue-text); }
.cds-featured-post__meta { color: var(--cds-muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

.cds-quote { margin: 0; }
.cds-quote p { font-size: 16px; font-style: italic; margin-bottom: 12px; }
.cds-quote p::before { color: var(--cds-pink); content: '\201C'; font: 700 44px/0 Georgia, serif; margin-right: 4px; vertical-align: -18px; }
.cds-quote cite { color: var(--cds-maroon); font-style: normal; font-weight: 600; font-size: 14px; }

.cds-contact-list { list-style: none; margin: 0; padding: 0; }
.cds-contact-list li { display: flex; gap: 12px; padding: 7px 0; align-items: flex-start; }
.cds-contact-list .cds-icon { color: var(--cds-pink); font-size: 20px; margin-top: 3px; }
.cds-contact-list a { color: inherit; text-decoration: none; word-break: break-word; }
.cds-contact-list a:hover { color: var(--cds-pink); }

.cds-social-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer ----------------------------------------------------------------- */
.cds-footer { background: #fff; border-top: 4px solid var(--cds-blue); color: var(--cds-text); font-size: 14px; margin-top: 40px; }
.cds-footer__main {
	display: grid;
	gap: 32px;
	grid-template-columns: 1.1fr 1.4fr 1fr;
	padding-bottom: 32px;
	padding-top: 36px;
}
.cds-footer__name { color: var(--cds-pink); font: 700 18px/1.3 var(--cds-font-logo); margin-bottom: 8px; }
.cds-footer__motto { color: var(--cds-maroon); font-style: italic; }
.cds-footer__heading { color: var(--cds-maroon); font: 500 14px/1.3 var(--cds-font-head); letter-spacing: .1em; margin-bottom: 12px; text-transform: uppercase; }
.cds-footer__list { columns: 2; column-gap: 24px; list-style: none; margin: 0; padding: 0; }
.cds-footer__list li { break-inside: avoid; padding: 0 0 8px; }
.cds-footer__list a { color: var(--cds-text); text-decoration: none; }
.cds-footer__list a:hover, .cds-footer__list .current-menu-item a { color: var(--cds-pink); }
.cds-social--footer { margin-top: 14px; }
.cds-footer__bar { border-top: 1px solid #85888a; font-size: 13px; }
.cds-footer__bar-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-bottom: 14px; padding-top: 14px; }
.cds-footer__bar p { margin: 0; }
.cds-footer__bar a { color: var(--cds-text); }
.cds-footer__bar a:hover { color: var(--cds-red); }
@media (max-width: 900px) {
	.cds-footer__main { grid-template-columns: 1fr 1fr; }
	.cds-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.cds-footer__main { grid-template-columns: 1fr; gap: 24px; }
	.cds-footer__list { columns: 1; }
}

/* Interior (service) pages -------------------------------------------- */
.cds-page-head { border-bottom: 1px solid var(--cds-pink); margin-bottom: 4px; padding-bottom: 14px; }
.cds-page-head .elementor-heading-title { color: var(--cds-maroon); font: 500 clamp(28px, 4vw, 40px)/1.15 var(--cds-font-head); }
.cds-breadcrumbs { color: var(--cds-muted); font: 500 12px/1.4 var(--cds-font-head); letter-spacing: .06em; margin-bottom: 10px; text-transform: uppercase; }
.cds-breadcrumbs a { color: var(--cds-muted); text-decoration: none; }
.cds-breadcrumbs a:hover { color: var(--cds-pink); }
.cds-breadcrumbs__sep { margin: 0 8px; color: #bbb; }
.cds-lead p { color: var(--cds-maroon); font-size: 19px; line-height: 1.55; }

.cds-prose h2 { color: var(--cds-maroon); font: 500 clamp(22px, 2.6vw, 27px)/1.25 var(--cds-font-head); margin: 1.4em 0 .5em; }
.cds-prose h2:first-child { margin-top: 0; }
.cds-prose h3 { color: var(--cds-pink); font: 600 18px/1.3 var(--cds-font-head); margin: 1.2em 0 .4em; }
.cds-prose ul, .cds-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.cds-prose li { margin-bottom: .45em; }
.cds-prose li::marker { color: var(--cds-pink); }
.cds-prose .cds-float-img { float: right; margin: 4px 0 16px 24px; max-width: 42%; box-shadow: var(--cds-shadow); }
.cds-prose .cds-callout { background: #fdf2f7; border-left: 4px solid var(--cds-pink); margin: 1.5em 0; padding: 16px 20px; }
.cds-prose .cds-callout p:last-child { margin-bottom: 0; }
.cds-prose::after { clear: both; content: ''; display: table; }
@media (max-width: 600px) { .cds-prose .cds-float-img { float: none; margin: 0 0 16px; max-width: 100%; width: 100%; } }

.cds-sidebar { position: sticky; top: 190px; }
.cds-service-nav { background: #fff; border-top: 3px solid var(--cds-red); box-shadow: var(--cds-shadow); margin-bottom: 16px; }
.cds-service-nav__title { color: var(--cds-maroon); font: 500 14px/1.3 var(--cds-font-head); letter-spacing: .1em; margin: 0; padding: 16px 20px 10px; text-transform: uppercase; }
.cds-service-nav ul { list-style: none; margin: 0; padding: 0 0 8px; }
.cds-service-nav a { border-left: 3px solid transparent; color: var(--cds-text); display: block; font-size: 15px; padding: 9px 20px 9px 17px; text-decoration: none; }
.cds-service-nav a:hover, .cds-service-nav a:focus { background: #fafafa; border-left-color: var(--cds-blue); color: var(--cds-pink); }
.cds-service-nav .is-current a { background: #fdf2f7; border-left-color: var(--cds-pink); color: var(--cds-pink); font-weight: 600; }

.cds-cta-card { background: #157aa8; color: #fff; margin-bottom: 16px; padding: 22px 20px; }
.cds-cta-card__title { font: 500 21px/1.25 var(--cds-font-head); margin-bottom: 8px; }
.cds-cta-card p { color: #fff; font-size: 15px; }
.cds-cta-card .cds-btn { width: 100%; }
.cds-cta-card__phone { align-items: center; color: #fff; display: flex; font: 600 20px/1 var(--cds-font-body); gap: 8px; justify-content: center; margin-top: 14px; text-decoration: none; }
.cds-cta-card__phone:hover { color: #fff; text-decoration: underline; }

.cds-quote--card { background: #fff; border-top: 3px solid var(--cds-blue); box-shadow: var(--cds-shadow); padding: 20px 22px; }
.cds-quote--card p { font-size: 15px; }
.cds-quote--card p + p::before { content: none; }

@media (max-width: 900px) { .cds-sidebar { position: static; } }

/* FAQ accordion (Elementor Accordion widget with FAQ schema) ----------- */
.cds-faq-title { margin-top: 18px; }
.cds-faq .elementor-accordion-item { border: 0 !important; border-bottom: 1px solid var(--cds-line) !important; }
.cds-faq .elementor-tab-title {
	align-items: center;
	border: 0 !important;
	color: var(--cds-maroon);
	cursor: pointer;
	display: flex;
	flex-direction: row-reverse;
	font: 500 17px/1.35 var(--cds-font-head) !important;
	gap: 12px;
	justify-content: space-between;
	padding: 16px 4px !important;
}
.cds-faq .elementor-tab-title a { color: inherit !important; text-decoration: none; }
.cds-faq .elementor-tab-title:hover,
.cds-faq .elementor-tab-title.elementor-active { color: var(--cds-pink); }
.cds-faq .elementor-accordion-icon { color: var(--cds-pink); flex: none; font-size: 14px; width: auto !important; }
.cds-faq .elementor-accordion-icon svg { fill: currentColor; width: 14px; height: 14px; }
.cds-faq .elementor-tab-content { border: 0 !important; color: var(--cds-text); font-size: 15.5px; padding: 0 4px 18px !important; }
.cds-faq .elementor-tab-content p:last-child { margin-bottom: 0; }

/* Service page calls to action ------------------------------------------ */
.cds-inline-cta {
	align-items: center;
	background: #eaf7fd;
	border-left: 4px solid var(--cds-blue-dark);
	display: flex;
	flex-wrap: wrap;
	gap: 12px 20px;
	justify-content: space-between;
	margin: 4px 0 14px;
	padding: 14px 18px;
}
.cds-inline-cta__text { margin: 0; font-size: 15.5px; }
.cds-inline-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cds-inline-cta .cds-btn { font-size: 15px; padding: .65em 1.1em; }

.cds-prose .cds-cta-box {
	background: var(--cds-maroon);
	clear: both;
	color: #fff;
	margin: 1.8em 0;
	padding: 20px 24px;
}
.cds-prose .cds-cta-box p { color: #fff; margin-bottom: 0; }
.cds-prose .cds-cta-box .cds-cta-box__title { font: 500 21px/1.3 var(--cds-font-head); margin-bottom: 6px; }
.cds-prose .cds-cta-box a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.cds-prose .cds-cta-box a:hover { color: #ffd6e8; }

.cds-prose a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(26, 127, 176, .35); text-underline-offset: 2px; }
.cds-prose a:hover { text-decoration-color: currentColor; }
.cds-prose .cds-closing-cta { border-top: 1px solid var(--cds-line); clear: both; font-size: 17px; margin-top: 1.6em; padding-top: 1.2em; }

@media (max-width: 600px) {
	.cds-inline-cta { padding: 14px; }
	.cds-inline-cta__actions, .cds-inline-cta .cds-btn { width: 100%; }
}

/* Mobile sticky call / book bar ------------------------------------------- */
.cds-mobile-cta { display: none; }
@media (max-width: 900px) {
	.cds-mobile-cta {
		background: #fff;
		bottom: 0;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, .15);
		display: grid;
		gap: 8px;
		grid-template-columns: 1fr 1fr;
		left: 0;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		position: fixed;
		right: 0;
		z-index: 999;
	}
	.cds-mobile-cta a { font-size: 15px; padding: .75em .5em; }
	body { padding-bottom: 70px; }
}

/* Articles ------------------------------------------------------------------ */
.cds-article-page { padding: 28px 0 0; }
.cds-layout { align-items: start; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 340px; }
.cds-article { padding: 28px 36px 36px; }
.cds-article__head { border-bottom: 1px solid var(--cds-pink); margin-bottom: 22px; padding-bottom: 14px; }
.cds-article__title { color: var(--cds-maroon); font: 500 clamp(28px, 4vw, 40px)/1.15 var(--cds-font-head); margin: 0 0 8px; }
.cds-article__meta { color: var(--cds-muted); font-size: 14px; margin: 0; }
.cds-article__meta a { color: var(--cds-pink); font-weight: 600; text-decoration: none; }
.cds-article__hero { margin: 0 0 22px; }
.cds-article__hero img { display: block; height: auto; width: 100%; }
.cds-article__body { font-size: 17px; line-height: 1.75; }
.cds-article__body img { height: auto; max-width: 100%; }
.cds-article__body .alignleft { float: left; margin: 4px 24px 16px 0; max-width: 45%; }
.cds-article__body .alignright { float: right; margin: 4px 0 16px 24px; max-width: 45%; }
.cds-article__body .aligncenter { display: block; margin: 16px auto; }
.cds-article__body [style*="font-size"] { font-size: inherit !important; }
.cds-article__body [style*="color"] { color: inherit !important; }
.cds-article__body table { border-collapse: collapse; margin: 1em 0; width: 100%; }
.cds-article__body td, .cds-article__body th { border: 1px solid var(--cds-line); padding: 8px; }
.cds-article__cta { background: var(--cds-maroon); clear: both; color: #fff; margin: 28px 0 0; padding: 20px 24px; }
.cds-article__cta p { color: #fff; margin: 0; }
.cds-article__cta .cds-cta-box__title { font: 500 21px/1.3 var(--cds-font-head); margin-bottom: 6px; }
.cds-article__cta a { color: #fff; font-weight: 700; text-decoration: underline; }
.cds-article__nav { border-top: 1px solid var(--cds-line); display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 28px; padding-top: 18px; }
.cds-article__nav a { color: var(--cds-maroon); font: 500 16px/1.35 var(--cds-font-head); text-decoration: none; }
.cds-article__nav a span { color: var(--cds-muted); display: block; font: 600 12px/1.4 var(--cds-font-body); letter-spacing: .08em; margin-bottom: 4px; text-transform: uppercase; }
.cds-article__nav a:hover { color: var(--cds-pink); }
.cds-article__nav-next { grid-column: 2; text-align: right; }
.cds-recent li a { font-size: 14.5px; line-height: 1.4; }
.cds-section-heading { color: var(--cds-maroon); font: 500 clamp(24px, 3vw, 30px)/1.2 var(--cds-font-head); margin: 36px 0 16px; }
.cds-archive-head { margin-bottom: 20px; padding: 24px 32px; }

.cds-cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.cds-card { background: #fff; box-shadow: var(--cds-shadow); display: flex; flex-direction: column; transition: box-shadow .2s ease, transform .2s ease; }
.cds-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .14); transform: translateY(-2px); }
.cds-card__media { aspect-ratio: 16 / 9; background: #f5eef2; display: block; overflow: hidden; }
.cds-card__media img { height: 100%; object-fit: cover; width: 100%; }
.cds-card__ph { align-items: center; background: linear-gradient(135deg, #fbe9f1, #e6f6fd); display: flex; height: 100%; justify-content: center; }
.cds-card__ph img { height: auto; object-fit: contain; opacity: .85; width: 72px; }
.cds-card__body { display: flex; flex: 1; flex-direction: column; padding: 18px 20px 20px; }
.cds-card__meta { color: var(--cds-muted); font-size: 12.5px; letter-spacing: .04em; margin: 0 0 6px; text-transform: uppercase; }
.cds-card__title { font: 500 20px/1.3 var(--cds-font-head) !important; margin: 0 0 8px !important; }
.cds-card__title a { color: var(--cds-maroon); text-decoration: none; }
.cds-card__title a:hover { color: var(--cds-pink); }
.cds-card__excerpt { color: var(--cds-text); flex: 1; font-size: 15px; margin: 0 0 14px; }
.cds-card__more { align-self: flex-start; color: var(--cds-pink); font-weight: 600; text-decoration: none; }
.cds-card__more::after { content: ' \2192'; }
.cds-card__more:hover { text-decoration: underline; }

.cds-pagination { margin: 28px 0 8px; text-align: center; }
.cds-pagination .page-numbers { background: #fff; border: 1px solid var(--cds-line); color: var(--cds-text); display: inline-block; margin: 3px; min-width: 40px; padding: 8px 12px; text-decoration: none; }
.cds-pagination .page-numbers.current { background: var(--cds-pink); border-color: var(--cds-pink); color: #fff; }
.cds-pagination a.page-numbers:hover { border-color: var(--cds-pink); color: var(--cds-pink); }

@media (max-width: 1000px) {
	.cds-layout { grid-template-columns: 1fr; }
	.cds-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.cds-article-page { padding-top: 0; }
	.cds-article, .cds-archive-head { padding: 20px 16px 28px; }
	.cds-cards { grid-template-columns: 1fr; }
	.cds-article__nav { grid-template-columns: 1fr; }
	.cds-article__nav-next { grid-column: 1; text-align: left; }
	.cds-article__body .alignleft, .cds-article__body .alignright { float: none; margin: 0 0 16px; max-width: 100%; }
}

/* Forms (Contact Form 7) --------------------------------------------------- */
.cds-form .wpcf7 { background: #faf7f9; border-top: 3px solid var(--cds-pink); margin: 8px 0 24px; padding: 22px 24px 8px; }
.cds-form .wpcf7 p { margin: 0 0 16px; font-weight: 600; color: var(--cds-maroon); font-size: 15px; }
.cds-form .wpcf7 fieldset { border: 0; margin: 0 0 14px; padding: 0; }
.cds-form .wpcf7 .row { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.cds-form .wpcf7 [class*="col-"] { flex: 1 1 100%; padding: 0; }
.cds-form .wpcf7 input[type="text"],
.cds-form .wpcf7 input[type="email"],
.cds-form .wpcf7 input[type="tel"],
.cds-form .wpcf7 select,
.cds-form .wpcf7 textarea {
	background: #fff;
	border: 1px solid #cfc7cc;
	border-radius: var(--cds-radius);
	box-sizing: border-box;
	color: var(--cds-text);
	font: 400 16px/1.4 var(--cds-font-body);
	margin-top: 6px;
	padding: 11px 12px;
	width: 100%;
}
.cds-form .wpcf7 textarea { min-height: 140px; }
.cds-form .wpcf7 input:focus, .cds-form .wpcf7 select:focus, .cds-form .wpcf7 textarea:focus { border-color: var(--cds-blue-dark); outline: 2px solid rgba(79, 195, 247, .4); outline-offset: 0; }
.cds-form .wpcf7 .wpcf7-radio { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; }
.cds-form .wpcf7 .wpcf7-list-item { margin: 0; font-weight: 400; color: var(--cds-text); }
.cds-form .wpcf7 .wpcf7-list-item label { align-items: center; cursor: pointer; display: inline-flex; gap: 6px; }
.cds-form .wpcf7 input[type="radio"] { accent-color: var(--cds-pink); height: 18px; width: 18px; }
.cds-form .wpcf7 input[type="submit"] {
	background: var(--cds-pink);
	border: 0;
	border-radius: var(--cds-radius);
	color: #fff;
	cursor: pointer;
	font: 500 17px/1 var(--cds-font-head);
	padding: 15px 32px;
	width: auto;
}
.cds-form .wpcf7 input[type="submit"]:hover, .cds-form .wpcf7 input[type="submit"]:focus { background: var(--cds-pink-dark); }
.cds-form .wpcf7 .wpcf7-not-valid-tip { color: var(--cds-red); font-size: 13px; font-weight: 600; margin-top: 4px; }
.cds-form .wpcf7 .wpcf7-response-output { border-radius: var(--cds-radius); margin: 0 0 16px !important; padding: 10px 14px !important; }
.cds-form .wpcf7 > form > p[style*="background-color: black"] { display: none; }
.cds-form .wpcf7 .wpcf7-captchac { display: block; margin-top: 6px; }
@media (max-width: 600px) { .cds-form .wpcf7 { padding: 18px 14px 4px; } .cds-form .wpcf7 input[type="submit"] { width: 100%; } }

.cds-side-card { background: #fff; border-top: 3px solid var(--cds-blue); box-shadow: var(--cds-shadow); margin-bottom: 16px; padding: 18px 20px; }
.cds-side-card .cds-checklist li { font-size: 15px; }
.cds-map { aspect-ratio: 16 / 9; margin: 8px 0 16px; }
.cds-map iframe { border: 0; height: 100%; width: 100%; }

#cds-main { height: 0; outline: 0; }

.cds-social-row--spaced { margin-top: 20px; }
.cds-side-card .cds-side-card__title { padding: 0 0 10px; }

/* Links inside FAQ answers: underline so they stand out from the text (WCAG link-in-text-block) */
.cds-faq .elementor-tab-content a { color: var(--cds-blue-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Links in intro text: underline (WCAG link-in-text-block) */
.cds-lead a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.cds-form .wpcf7 .wpcf7-captchac { display: inline-block; vertical-align: middle; margin: 6px 10px 0 0; }
.cds-form .wpcf7 input[name="security"] { max-width: 160px; }
.cds-form .wpcf7 fieldset.cds-choice { border: 0; margin: 0 0 16px; padding: 0; }
.cds-form .wpcf7 fieldset.cds-choice legend { color: var(--cds-maroon); font-size: 15px; font-weight: 600; margin-bottom: 4px; padding: 0; }
.cds-form .wpcf7 .cds-form-intro { color: var(--cds-text); font-weight: 400; }
