/* =========================================================
   CCC Treatment Directory – [ccc_treatment_directory]
   Figma: Consultants Choice | Web › Treatments (2050:695)
   Tokens come from Customizer CSS (:root --text-primary etc.).
   h2 / h3 sizes come from the theme (Customizer typography).
   ========================================================= */

.ccc-treatments {
	/* matches BB global row width (1320) + row side padding (16) */
	--ccc-td-inline: 16px;
	--ccc-td-block: 64px;
	--ccc-td-max: 1320px;
	color: var(--text-primary, #03384c);
}

.ccc-treatments ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* ---------- Category jump-nav ---------- */
.ccc-cat-nav {
	background: var(--brand-secondary-light, #e3f1d6);
	padding: 24px var(--ccc-td-inline);
}

.ccc-cat-nav__list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	max-width: var(--ccc-td-max);
	margin: 0 auto !important;
}

.ccc-cat-nav__list a {
	display: inline-block;
	font-size: 19px;
	line-height: 30px;
	color: var(--text-primary, #03384c);
	text-decoration: none;
}

.ccc-cat-nav__list a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Category section ---------- */
.ccc-cat {
	background: #fff;
	padding: var(--ccc-td-block) var(--ccc-td-inline);
	scroll-margin-top: 24px;
}

/* Themer header is sticky (141px) above the BB medium breakpoint */
@media (min-width: 993px) {
	.ccc-cat {
		scroll-margin-top: 160px;
	}
}

.ccc-cat--alt {
	background: var(--background-secondary, #f8f9f8);
}

.ccc-cat__inner {
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 64px;
	align-items: start;
	max-width: var(--ccc-td-max);
	margin: 0 auto;
}

.ccc-cat__intro {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ccc-treatments .ccc-cat__title {
	margin: 0;
	font-weight: 500;
	color: var(--text-primary, #03384c);
}

.ccc-cat__desc p {
	margin: 0;
	font-size: 19px;
	line-height: 30px;
}

.ccc-cat__desc p + p {
	margin-top: 16px;
}

/* ---------- Service directory ---------- */
.ccc-cat__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 412px));
	column-gap: 32px;
}

.ccc-svc {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px 0 28px;
	border-top: 1px solid var(--border-default, #cacaca);
}

.ccc-treatments .ccc-svc__title {
	margin: 0;
	font-weight: 700;
	color: var(--text-primary, #03384c);
}

.ccc-svc__text {
	margin: 0;
	font-size: 19px;
	line-height: 30px;
}

.ccc-svc__link {
	font-size: 19px;
	line-height: 30px;
	color: var(--text-primary, #03384c);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ccc-svc__link:hover {
	text-decoration-thickness: 2px;
}

/* ---------- Responsive (BB breakpoints: 1200 / 992 / 768) ---------- */
@media (max-width: 1200px) {
	.ccc-cat__inner {
		grid-template-columns: 300px minmax(0, 1fr);
		gap: 48px;
	}
}

@media (max-width: 992px) {
	.ccc-cat-nav__list {
		justify-content: flex-start;
		gap: 8px 32px;
	}

	.ccc-cat__inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
	}

	.ccc-cat__intro {
		max-width: 700px;
	}

	.ccc-cat__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.ccc-treatments {
		--ccc-td-block: 48px;
	}

	.ccc-cat-nav__list {
		flex-direction: column;
		gap: 4px;
	}

	.ccc-cat-nav__list a,
	.ccc-cat__desc p,
	.ccc-svc__text,
	.ccc-svc__link {
		font-size: 16px;
		line-height: 26px;
	}

	.ccc-cat__list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* =========================================================
   Single treatment page – [ccc_treatment_*]
   Figma: Consultants Choice | Web › Treatment Page (2056:1051)
   Layout (columns, intro photo) lives in the Themer layout CSS.
   ========================================================= */

/* ---------- Booking button ---------- */
.ccc-tp-book {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
}

.ccc-btn,
.ccc-btn:visited {
	display: inline-flex;
	align-items: center;
	gap: 16px;
	min-height: 56px;
	padding: 14px 24px;
	border: 2px solid var(--surface-brand-deep, #03384c);
	border-radius: var(--radius, 4px);
	background: var(--surface-brand-deep, #03384c);
	color: var(--text-inverse, #fff);
	font-size: var(--fs-label, 19px);
	line-height: var(--lh-label, 28px);
	font-weight: 700;
	text-decoration: none;
}

.ccc-btn:hover {
	color: var(--text-inverse, #fff);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ccc-btn__icon {
	display: block;
	flex: 0 0 20px;
}

.ccc-tp-book-note,
.ccc-tp-intro-text + .ccc-tp-book-note {
	margin: 0;
	font-size: var(--fs-small, 16px);
	line-height: var(--lh-small, 24px);
}

.ccc-tp-intro-text {
	margin: 0;
	font-size: 19px;
	line-height: 30px;
}

/* ---------- Article body (post content) ---------- */
.ccc-tp-content h2 {
	margin: 48px 0 20px;
	font-weight: 500;
}

.ccc-tp-content > .fl-rich-text > h2:first-child,
.ccc-tp-content h2:first-child {
	margin-top: 0;
}

.ccc-tp-content h3 {
	margin: 32px 0 12px;
}

.ccc-tp-content p,
.ccc-tp-content ul,
.ccc-tp-content ol {
	margin: 0 0 20px;
}

.ccc-tp-content a {
	color: var(--text-primary, #03384c);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- FAQs ---------- */
.ccc-tp-faqs h2 {
	margin: 0 0 20px;
	font-weight: 500;
}

.ccc-tp-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px 0;
	border-top: 1px solid var(--border-default, #cacaca);
}

.ccc-tp-faq h3,
.ccc-tp-faq p {
	margin: 0;
}

/* ---------- Supporting information (sidebar rich text module) ---------- */
.fl-module.ccc-aside {
	background: var(--brand-primary-subtle, #f0fbff);
	border-top: 3px solid var(--brand-primary, #0599cb);
	padding: 24px;
}

/* BB 2.9+ renders rich text without a wrapper, so the module itself is the flex container */
.fl-module.ccc-aside,
.ccc-aside > .fl-rich-text,
.ccc-aside > .fl-module-content {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ccc-aside p:empty {
	display: none;
}

.ccc-aside .fl-rich-text > *,
.ccc-aside p,
.ccc-aside ul {
	margin: 0;
}

.ccc-aside .ccc-aside__title {
	margin: 0;
	font-size: 26px;
	line-height: 34px;
	font-weight: 700;
}

.ccc-aside a {
	font-size: 19px;
	line-height: 30px;
	color: var(--text-primary, #03384c);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ccc-aside .small {
	font-size: var(--fs-small, 16px);
	line-height: var(--lh-small, 24px);
}

.ccc-tp-consultants {
	display: flex;
	flex-direction: column;
	gap: 24px;
	list-style: none;
	padding: 0;
}

@media (min-width: 993px) {
	.fl-module.ccc-aside {
		position: sticky;
		top: 160px; /* clears the 141px sticky Themer header */
	}
}

/* ---------- Related information ---------- */
.ccc-tp-related {
	background: var(--background-ice, #e2f8ff);
	padding: 56px 16px;
}

.ccc-tp-related__inner {
	max-width: 1320px;
	margin: 0 auto;
}

.ccc-tp-related h2 {
	margin: 0 0 48px;
	font-weight: 500;
}

.ccc-tp-related__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccc-tp-related__list li {
	padding: 24px 0;
	border-top: 1px solid var(--border-default, #cacaca);
}

.ccc-tp-related__list a {
	font-size: 19px;
	line-height: 30px;
	color: var(--text-primary, #03384c);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (max-width: 992px) {
	.ccc-tp-related__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.ccc-tp-related {
		padding: 48px 16px;
	}

	.ccc-tp-related h2 {
		margin-bottom: 24px;
	}

	.ccc-tp-related__list {
		grid-template-columns: minmax(0, 1fr);
	}

	.ccc-btn {
		font-size: 16px;
		line-height: 24px;
	}

	.ccc-tp-intro-text,
	.ccc-aside a,
	.ccc-tp-related__list a {
		font-size: 16px;
		line-height: 26px;
	}
}

/* =========================================================
   Our team – [ccc_team_directory]
   Figma: Consultants Choice | Web › P003 Our team (155:25867)
   ========================================================= */
.ccc-team {
	color: var(--text-primary, #03384c);
}

.ccc-team-sec {
	background: #fff;
	padding: 64px 16px;
}

.ccc-team-sec--alt {
	background: var(--background-secondary, #f8f9f8);
}

.ccc-team-sec__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	max-width: 1320px;
	margin: 0 auto;
}

.ccc-team .ccc-team-sec__title {
	margin: 0;
	font-weight: 500;
	color: var(--text-primary, #03384c);
}

.ccc-team-sec__desc {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 920px;
}

.ccc-team-sec__desc p {
	margin: 0;
	font-size: 19px;
	line-height: 30px;
}

.ccc-team-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 405px));
	gap: 24px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ccc-team-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 24px 0;
	border-top: 1px solid var(--border-default, #cacaca);
}

.ccc-team .ccc-team-card__name {
	margin: 0;
	font-weight: 700;
	color: var(--text-primary, #03384c);
}

.ccc-team-card__role {
	margin: 0;
	font-size: 19px;
	line-height: 30px;
	color: var(--text-secondary, #5d5d5d);
}

.ccc-team-card__link {
	font-size: 19px;
	line-height: 30px;
	color: var(--text-primary, #03384c);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ccc-team-card__link:hover {
	text-decoration-thickness: 2px;
}

@media (max-width: 992px) {
	.ccc-team-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.ccc-team-sec {
		padding: 48px 16px;
	}

	.ccc-team-list {
		grid-template-columns: minmax(0, 1fr);
		gap: 0 32px;
	}

	.ccc-team-sec__desc p,
	.ccc-team-card__role,
	.ccc-team-card__link {
		font-size: 16px;
		line-height: 26px;
	}
}

/* ---------- Important information callout (Contact, Booking, Referrers) ----------
   Rich text module with class "ccc-callout": <h2 class="ccc-callout__title">…</h2><p>…</p> */
.fl-module.ccc-callout {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	background: var(--brand-secondary-light, #e3f1d6);
	border-left: 4px solid var(--brand-secondary-dark, #48632d);
	color: var(--text-primary, #03384c);
}

.ccc-callout > .fl-module-content,
.ccc-callout > .fl-rich-text {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ccc-callout p:empty {
	display: none;
}

.ccc-callout .ccc-callout__title,
.ccc-callout p {
	margin: 0;
}

.ccc-callout .ccc-callout__title {
	font-size: 26px;
	line-height: 34px;
	font-weight: 700;
}
