/* Section Title - an optional pre-title and the title. The gaps around it come from the theme's module gap. */

.fl-module.fl-module-section-title .fl-module-content {
	margin-bottom: 0;
}

.section-title-holder {
	position: relative;
	width: 100%;
}

/* Pre-title - the design's Caption style */
.fl-module .section-title-holder p.pre-title {
	margin: 0 0 var(--gap-module);
	text-align: inherit;
	font-family: var(--font-head);
	font-size: var(--text-size-90);
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--wpbf-palette-color-6);
}
/* rTMS, dTMS: left as written inside the uppercase label (md_keep_case) */
.fl-module .section-title-holder p.pre-title .keep-case {
	text-transform: none;
}
.fl-module .section-title-holder p.pre-title.col-dark {
	color: var(--wp--preset--color--wpbf-palette-color-3);
}
.fl-module .section-title-holder p.pre-title.col-light {
	color: var(--wp--preset--color--wpbf-palette-color-5);
}
.fl-module .section-title-holder p.pre-title.col-white {
	color: var(--wp--preset--color--wpbf-palette-color-2);
}

/* Title */
.title-text {
	margin: 0 auto;
	max-width: 80ch;
	text-align: inherit;
	font-family: var(--font-head);
	font-size: var(--text-size-500);
}
h1.title-text {
	font-size: var(--text-size-600);
}
.section-title-holder .title-text.col-dark {
	color: var(--wp--preset--color--wpbf-palette-color-3);
}
.section-title-holder .title-text.col-white {
	color: var(--wp--preset--color--wpbf-palette-color-2);
}
.section-title-holder .title-text.gradient--title {
	color: var(--wp--preset--color--wpbf-palette-color-3);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
	.section-title-holder .title-text.gradient--title {
		background: var(--gradient-accent);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}

/* Highlighted words - <em> in the title: gradient text on light backgrounds... */
.section-title-holder .title-text em {
	font-style: normal;
	color: var(--wp--preset--color--wpbf-palette-color-4);
}
@supports (background-clip: text) or (-webkit-background-clip: text) {
	.section-title-holder .title-text em {
		background: var(--gradient-text);
		-webkit-background-clip: text;
		background-clip: text;
		color: transparent;
	}
}
/* ...and white italic on the dark rows and panels */
.fl-row:is(.page-hero, .row-gradient, .row-blue-photo) .section-title-holder .title-text em,
.fl-col.col-panel--photo .section-title-holder .title-text em {
	font-style: italic;
	background: none;
	color: inherit;
}

/* Alignment */
.section-title-holder.align-left {
	text-align: left;
}
.section-title-holder.align-center {
	text-align: center;
}
.section-title-holder.align-right {
	text-align: right;
}
.section-title-holder.align-left .title-text {
	margin-left: 0;
}
.section-title-holder.align-right .title-text {
	margin-right: 0;
}

@media (max-width: 768px) {
	.section-title-holder.align-r-left {
		text-align: left;
	}
	.section-title-holder.align-r-center {
		text-align: center;
	}
	.section-title-holder.align-r-right {
		text-align: right;
	}
	.section-title-holder.align-r-left .title-text {
		margin-left: 0;
	}
	.section-title-holder.align-r-center .title-text {
		margin-left: auto;
		margin-right: auto;
	}
}
