/*
 * CEC site fixes (2026-11-28)
 * Loaded after all section styles. Keep overrides here so the generated
 * per-section CSS files stay untouched.
 */

/* ---------- 1. Button text: negative letter-spacing made the label letters
   overlap (the site uses system fonts, Open Sans is never loaded). */
.cec-w .elementor-button,
.cec-w .elementor-button .elementor-button-text {
	letter-spacing: normal !important;
}

/* Hero "Make an Appointment": hover turned the text white on pale yellow. */
.cec-w .elementor-element.elementor-element-1aaf2fe .elementor-button:hover,
.cec-w .elementor-element.elementor-element-1aaf2fe .elementor-button:focus {
	color: #000;
}
.cec-w .elementor-element.elementor-element-1aaf2fe .elementor-button:hover svg,
.cec-w .elementor-element.elementor-element-1aaf2fe .elementor-button:focus svg {
	fill: #000;
}

/* "Now Hiring" button: hover text was pale yellow on white. */
.cec-w .elementor-element.elementor-element-0b81a07 .elementor-button:hover,
.cec-w .elementor-element.elementor-element-0b81a07 .elementor-button:focus {
	color: #000;
	border-color: #FFD883;
}

/* Instagram feed "Load More" button: text was #333 on a #333 background. */
#sbi_load .sbi_load_btn,
#sbi_load .sbi_load_btn .sbi_btn_text,
#sbi_load .sbi_follow_btn a {
	letter-spacing: normal !important;
}
#sbi_load .sbi_load_btn,
#sbi_load .sbi_load_btn .sbi_btn_text {
	color: #fff !important;
}
#sbi_load .sbi_load_btn:hover,
#sbi_load .sbi_load_btn:focus {
	background: #000 !important;
}

/* ---------- 2. Page-banner breadcrumbs ("Home / About Our Practice") */
.cec-w-about-banner .elementor-widget-text-editor a,
.cec-w-services-banner .elementor-widget-text-editor a,
.cec-w-gallery-banner .elementor-widget-text-editor a {
	color: #FFD883;
	text-decoration: none;
	font-weight: 600;
	transition: color .2s;
}
.cec-w-about-banner .elementor-widget-text-editor a:hover,
.cec-w-services-banner .elementor-widget-text-editor a:hover,
.cec-w-gallery-banner .elementor-widget-text-editor a:hover,
.cec-w-about-banner .elementor-widget-text-editor a:focus,
.cec-w-services-banner .elementor-widget-text-editor a:focus,
.cec-w-gallery-banner .elementor-widget-text-editor a:focus {
	color: #fff;
	text-decoration: underline;
}

/* ---------- 3. Home hero review badge */
html { scroll-behavior: smooth; }
#client-feedback { scroll-margin-top: 110px; }

.cec-w .cec-rb-wrap {
	flex-basis: 100%;
	width: 100%;
	max-width: 100%;
	margin: 4px 0 22px;
}
.cec-review-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px 10px 12px;
	background: #FFD883;
	border: 1px solid #F2C14E;
	border-radius: 50px;
	color: #1f1f1f !important;
	font-family: "Source Sans Pro", Sans-serif;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(196, 141, 20, .22);
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.cec-review-badge:hover,
.cec-review-badge:focus {
	background: #FFCF66;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(196, 141, 20, .30);
	color: #000 !important;
}
.cec-review-badge:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.cec-review-badge .cec-rb-g {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #fff;
	flex: 0 0 auto;
}
.cec-review-badge .cec-rb-g svg { width: 16px; height: 16px; display: block; }
.cec-review-badge .cec-rb-score { font-weight: 700; font-size: 17px; }
.cec-review-badge .cec-rb-stars {
	color: #D97706;
	font-size: 18px;
	letter-spacing: 1px;
	line-height: 1;
}
.cec-review-badge .cec-rb-sep {
	width: 1px;
	align-self: stretch;
	background: rgba(0, 0, 0, .2);
}
.cec-review-badge .cec-rb-count { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
	.cec-w .cec-rb-wrap { text-align: center; margin: 0 0 6px; }
	.cec-review-badge { font-size: 14px; gap: 8px; padding: 9px 14px 9px 10px; }
}

/* ---------- 4. Services page cards: each card links to its service page */
.cec-w-services-therapies .cec-svc-card { position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.cec-w-services-therapies .cec-svc-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.cec-w-services-therapies .cec-svc-card .elementor-widget-heading,
.cec-w-services-therapies .cec-svc-card .elementor-heading-title { position: static; }
.cec-w-services-therapies .cec-svc-link { color: inherit; text-decoration: none; }
.cec-w-services-therapies .cec-svc-link::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.cec-w-services-therapies .cec-svc-card:hover .cec-svc-link { text-decoration: underline; text-underline-offset: 4px; }
.cec-w-services-therapies .cec-svc-more {
	display: inline-flex;
	align-self: flex-start;
	width: auto;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	font-family: "Source Sans Pro", Sans-serif;
	font-weight: 700;
	font-size: 15px;
	color: #1f1f1f;
	border-bottom: 2px solid #FFD883;
	padding-bottom: 2px;
}
.cec-w-services-therapies .cec-svc-card:hover .cec-svc-more { border-bottom-color: #1f1f1f; }

/* ---------- 5. Card sliders (Home / About): whole card is clickable */
.cec-w .rkit-card { position: relative; }
.cec-w .rkit-card .card-body,
.cec-w .rkit-card .card-heading,
.cec-w .rkit-card .card-title { position: static; }
.cec-w .rkit-card .card-title a[href]::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.cec-w .rkit-card .card-title a[href]:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 6. Reviews: "Two anonymous children's heartfelt cards" */
.cec-w .cec-heartfelt {
	flex-basis: 100%;
	width: 100%;
	max-width: 1100px;
	margin: 30px auto 0;
	text-align: center;
}
.cec-w .cec-heartfelt-title {
	font-family: "League Spartan", Sans-serif;
	font-size: 1.7rem;
	font-weight: 600;
	line-height: 1.2;
	color: #2C2C2C;
	margin: 0 0 18px;
}
.cec-w .cec-heartfelt-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	max-width: 760px;
	margin: 0 auto;
}
.cec-w .cec-heartfelt-grid a {
	display: block;
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .10);
	transition: transform .2s ease;
}
.cec-w .cec-heartfelt-grid a:hover { transform: translateY(-3px); }
.cec-w .cec-heartfelt-grid img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
@media (max-width: 767px) {
	.cec-w .cec-heartfelt-title { font-size: 1.35rem; }
	.cec-w .cec-heartfelt-grid { gap: 12px; }
}
