/* Site-wide UX additions (Nov 2026 SEO/UX audit). */

/* Header click-to-call (desktop header, next to "Appointment"). */
.sds-header-phone .elementor-widget-container p { margin: 0; }
.sds-header-phone a {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	color: #354530;
	text-decoration: none;
	white-space: nowrap;
}
.sds-header-phone .sds-hp-label {
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: #C9A24B;
	font-weight: 600;
}
.sds-header-phone .sds-hp-num { font-size: 16px; font-weight: 600; }
.sds-header-phone a:hover .sds-hp-num,
.sds-header-phone a:focus-visible .sds-hp-num { text-decoration: underline; }

/* Keep the desktop menu on one line next to the phone number. */
@media (min-width: 1440px) {
	.elementor-element-701584b { --content-width: 1400px; }
	.elementor-element-54f0880 .elementskit-navbar-nav > li > a { padding-left: 8px !important; padding-right: 8px !important; }
	.elementor-element-54f0880 .elementskit-navbar-nav > li { margin-left: 3px !important; margin-right: 3px !important; }
}
/* Laptops: not enough room for menu + phone + button — drop the phone
   (it stays in the green bar under the hero) and restore original widths. */
@media (min-width: 1025px) and (max-width: 1439px) {
	.sds-header-phone { display: none; }
	.elementor-element-54f0880 .elementskit-navbar-nav > li > a { padding-left: 7px !important; padding-right: 7px !important; font-size: 14px !important; }
	.elementor-element-54f0880 .elementskit-navbar-nav > li { margin-left: 2px !important; margin-right: 2px !important; }
	.elementor-element-e966084 { width: 69% !important; }
	.elementor-element-0da8bf1 { width: 17% !important; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
	.elementor-element-54f0880 .elementskit-navbar-nav > li > a { padding-left: 5px !important; padding-right: 5px !important; font-size: 13px !important; }
}

/* Mobile sticky Call / Book bar. */
.sds-mobile-cta { display: none; }
@media (max-width: 1024px) {
	.sds-mobile-cta {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9990;
		display: flex;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: #fff;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
	}
	.sds-mobile-cta a {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 46px;
		border-radius: 999px;
		font-size: 15px;
		font-weight: 600;
		text-decoration: none;
	}
	.sds-mobile-cta a { white-space: nowrap; }
	.sds-mcta-short { display: none; }
	.sds-mcta-call { background: #354530; color: #fff !important; }
	.sds-mcta-book { background: #C9A24B; color: #fff !important; }
	body { padding-bottom: 70px; }
}
@media (max-width: 420px) {
	.sds-mcta-long { display: none; }
	.sds-mcta-short { display: inline; }
}

/* /articles/ blog index intro + topic links (template-parts/archive.php) */
.sds-blog-intro { max-width: 860px; margin: 0 auto 40px; text-align: center; }
.sds-blog-intro p { font-size: 17px; line-height: 1.65; margin-bottom: 18px; }
.sds-blog-topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; }
.sds-blog-topics span { font-weight: 600; margin-right: 4px; }
.sds-blog-topics a { display: inline-block; padding: 6px 14px; border: 1px solid #DCE5DF; border-radius: 999px; font-size: 14px; text-decoration: none; }
.sds-blog-topics a:hover, .sds-blog-topics a:focus-visible { border-color: #1F4A38; color: #1F4A38; }
.sds-blog-page { font-size: .6em; font-weight: 400; }

/* ===================== Site footer (template-parts/footer.html → ElementsKit footer 3707) ===================== */
.e-con.sds-footer-wrap, .e-con.sds-footer-wrap > .e-con-inner { padding: 0 !important; max-width: none !important; width: 100%; }
.sds-footer-wrap .elementor-widget-html { width: 100%; }
.sds-footer { background: #2F4F3A; color: rgba(255,255,255,.82); font-size: 15px; line-height: 1.65; }
.sds-footer *, .sds-footer *::before, .sds-footer *::after { box-sizing: border-box; }
.sds-footer a { color: rgba(255,255,255,.88); text-decoration: none; transition: color .2s; }
.sds-footer a:hover, .sds-footer a:focus-visible { color: #E2C27E; }
.sds-footer a:focus-visible { outline: 2px solid #E2C27E; outline-offset: 3px; border-radius: 4px; }
.sds-f-wrap { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.sds-f-grid { display: grid; grid-template-columns: 1.35fr .9fr 1fr 1.25fr; gap: 48px; padding-top: 72px; padding-bottom: 56px; }
.sds-f-logo img { display: block; width: 220px; height: auto; margin-bottom: 20px; }
.sds-f-brand p { margin: 0 0 22px; color: rgba(255,255,255,.8); }
.sds-f-social { display: flex; gap: 10px; }
.sds-f-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.sds-f-social a:hover, .sds-f-social a:focus-visible { border-color: #E2C27E; }
.sds-f-social svg { width: 18px; height: 18px; fill: currentColor; }
.sds-f-h { font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 18px; }
.sds-f-col ul { list-style: none; margin: 0; padding: 0; }
.sds-f-col li { margin: 0 0 9px; }
.sds-f-all { font-weight: 600; color: #E2C27E !important; }
.sds-f-contact address { font-style: normal; display: grid; gap: 14px; margin: 0 0 20px; }
.sds-f-contact address a { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; word-break: break-word; }
.sds-f-contact address svg { width: 20px; height: 20px; margin-top: 3px; fill: none; stroke: #E2C27E; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sds-f-hours { margin: 0 0 22px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; }
.sds-f-hours span { display: block; color: #fff; font-weight: 600; margin-bottom: 2px; }
.sds-f-btn { display: inline-block; background: #E2C27E; color: #193A2D !important; font-weight: 600; padding: 12px 24px; border-radius: 999px; }
.sds-f-btn:hover, .sds-f-btn:focus-visible { background: #fff; }
.sds-f-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 20px 0; font-size: 14px; }
.sds-f-bottom .sds-f-wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.sds-f-bottom p { margin: 0; color: rgba(255,255,255,.7); }
@media (max-width: 1024px) {
	.sds-f-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
}
@media (max-width: 640px) {
	.sds-f-grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px 20px; padding-top: 52px; padding-bottom: 40px; }
	.sds-f-brand, .sds-f-contact { grid-column: 1 / -1; }
	.sds-f-bottom .sds-f-wrap { flex-direction: column; }
	/* leave room for the mobile sticky Call / Book bar */
	.sds-f-bottom { padding-bottom: 84px; }
}
img.sds-dim { height: auto; }

/* self-hosted videos ([video] shortcode) must not overflow on phones */
.wp-video, .wp-video .mejs-container { max-width: 100% !important; }
.wp-video video, video.wp-video-shortcode { max-width: 100%; height: auto; }

/* Blog featured images are text banners (~1.9:1): show them whole instead of cropping */
.post-single-image img { aspect-ratio: auto !important; height: auto; object-fit: contain; }
.blog-item .post-featured-image img { aspect-ratio: 2 / 1 !important; object-fit: cover; object-position: center; }
@media (max-width: 767px) { .post-single-image { border-radius: 20px; } }

/* Imported (Flatsome) pages: the old site's page background (#4d4d4d) was scoped onto the
   .sds-import wrapper by the import — keep content on white. */
.sds-import { background-color: transparent !important; }

/* blog "next step" box (inc/sds-site-health.php) */
.sds-next { margin: 48px 0 8px; padding: 28px; border: 1px solid #DCE5DF; border-radius: 20px; background: #F1F6F2; }
.sds-next .sds-next-h { font-family: "Poppins", sans-serif; font-size: 20px; font-weight: 600; color: #193A2D; margin: 0 0 8px; }
.sds-next p { margin: 0 0 14px; }
.sds-next ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sds-next ul a { display: inline-block; padding: 8px 16px; background: #fff; border: 1px solid #DCE5DF; border-radius: 999px; font-size: 15px; color: #1F4A38; text-decoration: none; }
.sds-next ul a:hover, .sds-next ul a:focus-visible { border-color: #1F4A38; }
.sds-next .sds-next-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.sds-next .sds-next-btns a { display: inline-block; padding: 12px 24px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.sds-next .sds-next-book { background: #1F4A38; color: #fff !important; }
.sds-next .sds-next-call { border: 1px solid #1F4A38; color: #1F4A38 !important; }
@media (max-width: 640px) { .sds-next { padding: 22px; } .sds-next .sds-next-btns a { width: 100%; text-align: center; } }

/* CF7 forms (appointment 424 / contact 7217): labelled two-column grid */
.sds-cf { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.sds-cf p { margin: 0 0 16px; grid-column: 1 / -1; }
.sds-cf .sds-cf-half { grid-column: auto; }
.sds-cf label { display: block; font-size: 15px; font-weight: 600; color: #193A2D; margin-bottom: 6px; }
.sds-cf label span, .sds-cf label small { font-weight: 400; color: #5B6B63; }
.sds-cf .wpcf7-form-control-wrap { display: block; }
.sds-cf input:focus, .sds-cf select:focus, .sds-cf textarea:focus { outline: 2px solid #1F4A38; outline-offset: 1px; border-color: #1F4A38; }
.sds-cf textarea { min-height: 96px !important; resize: vertical; }
.sds-cf .sds-cf-note { font-size: 14px; color: #5B6B63; margin-bottom: 18px; }
.sds-cf .sds-cf-btn input[type=submit] { width: 100%; font-size: 17px; padding: 15px 28px; }
.sds-cf .wpcf7-spinner { display: block; margin: 10px auto 0; }
.sds-cf .wpcf7-not-valid-tip { font-size: 14px; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 8px 0 0; border-radius: 10px; padding: 12px 14px; }
@media (max-width: 560px) { .sds-cf { grid-template-columns: 1fr; } .sds-cf .sds-cf-half { grid-column: 1 / -1; } }
/* appointment page: contact facts beside the form */
.sds-appt-info { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 10px; }
.sds-appt-info li { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid #DCE5DF; }
.sds-appt-info strong { color: #193A2D; }
.sds-appt-info a { font-weight: 600; }
