/*
 * Page sections for the homepage (and the booking page): hero, proof band, step cards, pillars,
 * phases, doctors, testimonials, soft entry. Loaded only where used (see rpt_sections_enqueue()).
 * Measured against RobertsPT Homepage Concept.html at 1440px. Source of the markup:
 * scripts/build-divi5-homepage.py. Colors and type come from the Divi presets; this file owns layout.
 * Stacks to one column at 820px (design system breakpoint).
 */

/* ---- Shared: container, Divi resets ---- */
.rpt-sec .et_pb_row {
	box-sizing: border-box;
	width: calc(100% - (2 * var(--rpt-gutter)));
	max-width: var(--rpt-container);
	margin: 0 auto;
	padding: 0;
}

.rpt-sec .et_pb_row .et_pb_column.et_pb_column {
	width: auto;
	margin: 0;
}

.rpt-sec .et_pb_module {
	margin-bottom: 0 !important;
}

.rpt-sec .et_pb_text p {
	padding-bottom: 0;
}

.rpt-sec .et_pb_text,
.rpt-sec .et_pb_text p {
	font-family: var(--rpt-font-body);
}

.rpt-sec .et_pb_heading .et_pb_heading_container h1,
.rpt-sec .et_pb_heading .et_pb_heading_container h2 {
	padding-bottom: 0;
}

.et_pb_section.rpt-sec {
	padding-left: 0;
	padding-right: 0;
}

.rpt-sec .et_pb_text p.rpt-eyebrow {
	margin: 0 0 16px;
	font-size: var(--rpt-fs-eyebrow);
	font-weight: 700;
	line-height: 20px;
	letter-spacing: var(--rpt-tracking-eyebrow);
	text-transform: uppercase;
	color: var(--rpt-copper-deep);
}

.rpt-sec .rpt-sec-head {
	margin-bottom: 48px;
}

.rpt-sec .rpt-sec-head .et_pb_heading h2 {
	max-width: 680px;
}

.rpt-sec .et_pb_text p.rpt-intro {
	max-width: 714px;
	margin: 20px 0 0;
	font-size: var(--rpt-fs-body);
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.rpt-sec .et_pb_text p.rpt-note {
	max-width: 782px;
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.rpt-sec .rpt-sec-cta {
	margin-top: 40px;
}

.rpt-sec .rpt-sec-foot {
	margin-top: 40px;
}

/* Divi's row clearfix pseudo-elements become extra grid items (and an extra row gap); drop them. */
.rpt-sec .rpt-grid-3.et_pb_row::before,
.rpt-sec .rpt-grid-3.et_pb_row::after,
.rpt-sec .rpt-grid-2.et_pb_row::before,
.rpt-sec .rpt-grid-2.et_pb_row::after,
.rpt-sec .rpt-hero-row.et_pb_row::before,
.rpt-sec .rpt-hero-row.et_pb_row::after {
	display: none !important;
}

/* Other rows keep the clearfix (their columns float), so they must still contain them. */
.rpt-sec .et_pb_row {
	display: flow-root;
}

/* Grids */
.rpt-sec .rpt-grid-3 .et_pb_row,
.rpt-sec .rpt-grid-3.et_pb_row {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.rpt-sec .rpt-grid-2.et_pb_row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

/* Primary CTA with arrow (matches the footer band button) */
.rpt-sec a.et_pb_button.rpt-btn-arrow,
.rpt-sec .rpt-btn-arrow a.et_pb_button,
.rpt-sec .et_pb_button.rpt-btn-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-direction: row !important;   /* Divi 5 buttons are column flex boxes by default */
	gap: 12px;
	box-sizing: border-box;
	line-height: 24px !important;
}

.rpt-sec .et_pb_button.rpt-btn-arrow::before {
	display: none !important;
}

.rpt-sec .et_pb_button.rpt-btn-arrow::after {
	content: "\2192";
	position: static !important;
	top: auto !important;
	transform: none !important;
	margin: 0 !important;
	opacity: 1 !important;
	font-family: var(--rpt-font-body);
	font-size: 20px !important;
	line-height: 1 !important;
}

/* Cards */
.rpt-sec .et_pb_text.rpt-card {
	box-sizing: border-box;
	height: 100%;
	padding: 32px;
	border: 1px solid var(--rpt-line);
	border-radius: 16px;
	background: var(--rpt-white);
}

.rpt-sec .rpt-card h3 {
	margin: 0;
	padding: 0;
}

/* ---- Hero ---- */
.et_pb_section.rpt-hero {
	padding-top: 88px !important;
	padding-bottom: 88px !important;
}

.rpt-hero .rpt-hero-row.et_pb_row {
	display: grid;
	grid-template-columns: minmax(0, 612px) minmax(0, 1fr);
	column-gap: 56px;
	align-items: center;
}

.rpt-hero .rpt-eyebrow {
	margin-bottom: 20px;
}

.rpt-hero .et_pb_heading .et_pb_heading_container {
	padding-bottom: 24px;
}

.rpt-hero .et_pb_text p.rpt-lead {
	margin: 0 0 36px;
	font-size: var(--rpt-fs-lead);
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.rpt-hero .et_pb_text p.rpt-micro {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 23px;
	color: var(--rpt-slate-muted);
}

.rpt-hero .rpt-hero-media {
	position: relative;
}

.rpt-hero .rpt-hero-media .et_pb_image,
.rpt-hero .rpt-hero-media .et_pb_image_wrap {
	display: block;
	width: 100%;
}

.rpt-hero .rpt-hero-media img {
	display: block;
	width: 100% !important;
	height: 620px;
	object-fit: cover;
	object-position: 50% 40%;
	border-radius: 18px;
}

.rpt-hero .et_pb_text.rpt-hero-card {
	position: absolute;
	left: -20px;
	bottom: 28px;
	box-sizing: border-box;
	width: 280px;
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--rpt-white);
	box-shadow: var(--rpt-shadow-raised);
}

.rpt-hero .rpt-hero-card p.rpt-hero-card__title {
	margin: 0;
	font-family: var(--rpt-font-heading);
	font-size: 22px;
	font-weight: 500;
	line-height: 25px;
	color: var(--rpt-slate);
}

.rpt-hero .rpt-hero-card p.rpt-hero-card__text {
	margin: 7px 0 0;
	font-size: var(--rpt-fs-small);
	line-height: 22px;
	color: var(--rpt-slate-muted);
}

/* ---- Proof band ---- */
.et_pb_section.rpt-trust {
	padding-top: 96px !important;
	padding-bottom: 96px !important;
}

.rpt-trust .et_pb_row {
	max-width: 920px;
	text-align: center;
}

.rpt-trust .rpt-stars {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px 14px;
	color: var(--rpt-peach);
}

.rpt-trust .rpt-stars__icons {
	display: inline-flex;
	gap: 4px;
	color: var(--rpt-peach);
}

.rpt-trust .rpt-stars__label {
	font-size: var(--rpt-fs-small);
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rpt-text-dark);
}

.rpt-trust .et_pb_text p.rpt-statement {
	margin: 28px 0 0;
	font-family: var(--rpt-font-heading);
	font-size: clamp(26px, 3.6vw, 40px);
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: -0.005em;
	color: var(--rpt-white);
}

.rpt-trust .et_pb_text p.rpt-statement::after {
	content: "";
	display: block;
	width: 64px;
	height: 2px;
	margin: 32px auto 0;
	background: var(--rpt-copper);
}

.rpt-trust .et_pb_text p.rpt-closing {
	margin: 28px 0 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--rpt-peach);
}

/* ---- Step cards ---- */
.rpt-steps .rpt-step-num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 22px;
	border-radius: 50%;
	background: var(--rpt-copper);
	font-family: var(--rpt-font-heading);
	font-size: 20px;
	font-weight: 600;
	color: var(--rpt-white);
}

.rpt-steps .rpt-card h3 {
	margin-bottom: 10px;
	font-family: var(--rpt-font-body);
	font-size: 19px;
	font-weight: 700;
	line-height: 29px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--rpt-slate);
}

.rpt-sec .rpt-card p {
	margin: 0;
	font-size: var(--rpt-fs-body);
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

/* ---- Pillars ---- */
.rpt-pillars .et_pb_text p.rpt-pillar-label {
	margin: 0 0 18px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--rpt-copper);
	font-size: var(--rpt-fs-small);
	font-weight: 700;
	line-height: 22px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rpt-copper-deep);
}

.rpt-pillars .et_pb_text p {
	font-size: var(--rpt-fs-body);
	line-height: 1.55;
	color: var(--rpt-slate);
}

.rpt-path .rpt-sec-foot {
	margin-top: 32px;
}

.rpt-golf .rpt-sec-foot .et_pb_text p.rpt-note {
	max-width: 704px;
	font-size: 16px;
}

/* ---- Phases ---- */
.rpt-phases .et_pb_text.rpt-card {
	display: flex;
	flex-direction: column;
}

.rpt-sec .rpt-card p.rpt-phase {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	line-height: 19px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rpt-copper-deep);
}

.rpt-phases .rpt-card h3 {
	margin-bottom: 14px;
	font-family: var(--rpt-font-heading);
	font-size: 28px;
	font-weight: 500;
	line-height: 1.55;
	letter-spacing: -0.005em;
	color: var(--rpt-slate);
}

.rpt-sec .et_pb_text.rpt-card--dark {
	border-color: var(--rpt-slate);
	background: var(--rpt-slate);
}

.rpt-sec .rpt-card--dark h3,
.rpt-sec .rpt-card--dark p {
	color: var(--rpt-white);
}

.rpt-sec .rpt-card--dark p.rpt-phase {
	color: var(--rpt-peach);
}

.rpt-sec .rpt-card--dark p:last-child {
	color: var(--rpt-text-dark);
}

/* ---- Doctors ---- */
.rpt-docs .rpt-doc-card.et_pb_column {
	overflow: hidden;
	border: 1px solid var(--rpt-line);
	border-radius: 18px;
	background: var(--rpt-white);
}

.rpt-docs .rpt-doc-card .et_pb_image,
.rpt-docs .rpt-doc-card .et_pb_image_wrap {
	display: block;
	width: 100%;
}

.rpt-docs .rpt-doc-card img {
	display: block;
	width: 100% !important;
	height: auto;
	aspect-ratio: 1164 / 932;
	object-fit: cover;
}

.rpt-docs .rpt-doc-card .et_pb_text {
	padding: 36px;
}

.rpt-docs .rpt-doc-card h3 {
	margin: 0 0 8px;
	padding: 0;
	font-family: var(--rpt-font-heading);
	font-size: 30px;
	font-weight: 500;
	line-height: 33px;
	color: var(--rpt-slate);
}

.rpt-docs .rpt-doc-card p.rpt-role {
	margin: 0 0 2px;
	font-size: 15px;
	font-weight: 700;
	line-height: 23px;
	color: var(--rpt-copper-deep);
}

.rpt-docs .rpt-doc-card p.rpt-sub {
	margin: 0 0 19px;
	font-size: 15px;
	line-height: 23px;
	color: var(--rpt-slate-muted);
}

.rpt-sec .et_pb_text ul.rpt-chips,
.rpt-sec .et_pb_text ul.rpt-pills,
.rpt-sec .et_pb_text ul.rpt-soft {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rpt-sec .et_pb_text ul.rpt-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 18px;
}

.rpt-docs .rpt-chips li {
	margin: 0;
	padding: 6px 12px;
	border: 1px solid var(--rpt-line);
	border-radius: var(--rpt-radius-pill);
	background: var(--rpt-cream);
	font-size: 13px;
	font-weight: 600;
	line-height: 20px;
	color: var(--rpt-slate);
}

.rpt-docs .rpt-doc-card p.rpt-bio {
	margin: 0;
	font-size: 16.5px;
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

/* A lone column fills its row (Divi floats columns and shrinks them to their content). */
.rpt-sec .et_pb_row .et_pb_column.et_pb_column:only-child {
	float: none;
	width: 100%;
}

/* ---- Testimonials ---- */
.rpt-voices .et_pb_text.rpt-quote-card {
	display: flex;
	flex-direction: column;
	padding: 36px;
}

.rpt-voices .rpt-quote-card .et_pb_text_inner {
	display: flex;
	flex: 1;
}

.rpt-voices .rpt-quote-card .rpt-quote {
	flex: 1;
}

.rpt-voices .rpt-quotes .et_pb_column {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.rpt-voices .rpt-quotes .et_pb_text:nth-child(3) {
	grid-column: 1 / -1;
}

.rpt-voices .rpt-quote {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
}

.rpt-voices .rpt-quote blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--rpt-font-heading);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.55;
	color: var(--rpt-slate);
}

.rpt-voices .rpt-quote blockquote::before {
	display: none;
}

.rpt-voices .rpt-card .rpt-quote blockquote p {
	margin: 0;
	font-family: var(--rpt-font-heading);
	font-size: 19px;
	line-height: 1.55;
	color: var(--rpt-slate);
}

.rpt-voices .rpt-quote figcaption {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
	padding-top: 18px;
	border-top: 1px solid var(--rpt-line);
}

.rpt-voices .rpt-avatar {
	display: flex;
	flex: 0 0 56px;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--rpt-sand);
	object-fit: cover;
	object-position: 50% 30%;
	font-family: var(--rpt-font-heading);
	font-size: 20px;
	font-weight: 500;
	color: var(--rpt-slate);
}

.rpt-voices .rpt-quote figcaption > span:last-child {
	display: block;
}

.rpt-voices .rpt-quote figcaption strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
	line-height: 25px;
	color: var(--rpt-slate);
}

.rpt-voices .rpt-quote figcaption span > span {
	display: block;
	font-size: var(--rpt-fs-small);
	line-height: 22px;
	color: var(--rpt-slate-muted);
}

.rpt-voices .rpt-trusted {
	margin-top: 56px;
	padding-top: 40px;
	border-top: 1px solid var(--rpt-line);
	text-align: center;
}

.rpt-voices .rpt-trusted .et_pb_text p.rpt-eyebrow {
	margin-bottom: 15px;
}

.rpt-voices .rpt-trusted .et_pb_text p.rpt-trusted-line {
	max-width: 780px;
	margin: 0 auto 28px;
	font-family: var(--rpt-font-heading);
	font-size: clamp(22px, 2.2vw, 26px);
	font-weight: 500;
	line-height: 35px;
	color: var(--rpt-slate);
}

.rpt-sec .et_pb_text ul.rpt-pills {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 14px;
}

.rpt-voices .rpt-pills li {
	margin: 0;
	padding: 10px 20px;
	border: 1px solid var(--rpt-line-strong);
	border-radius: var(--rpt-radius-pill);
	background: var(--rpt-white);
	font-size: 16px;
	font-weight: 600;
	line-height: 25px;
	color: var(--rpt-slate);
}

/* ---- Soft entry ---- */
.et_pb_section.rpt-soft-sec {
	padding-top: 0 !important;
	padding-bottom: 96px !important;
}

.rpt-soft-sec .et_pb_row {
	padding-top: 40px;
	border-top: 1px solid var(--rpt-line);
}

.rpt-soft-sec .et_pb_text p.rpt-soft-title {
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 600;
	line-height: 25px;
	color: var(--rpt-slate);
}

.rpt-sec .et_pb_text ul.rpt-soft {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.rpt-soft li {
	margin: 0;
	padding: 0;
}

.rpt-soft a {
	display: flex;
	align-items: center;
	gap: 14px;
	box-sizing: border-box;
	min-height: 82px;
	padding: 18px 20px;
	border: 1px solid var(--rpt-line-strong);
	border-radius: 12px;
	background: var(--rpt-cream);
	font-size: 15px;
	font-weight: 600;
	line-height: 23px;
	color: var(--rpt-slate);
	text-decoration: none;
}

.rpt-soft a svg {
	flex: 0 0 24px;
	color: var(--rpt-copper-deep);
}

.rpt-soft a:hover {
	background: var(--rpt-white);
	border-color: var(--rpt-slate-muted);
}

/* ---- Tablet and phone: stack ---- */
@media (max-width: 980px) {
	.rpt-sec .rpt-grid-3.et_pb_row {
		grid-template-columns: minmax(0, 1fr);
	}

	.rpt-sec .et_pb_text ul.rpt-soft {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 820px) {
	.et_pb_section.rpt-hero {
		padding-top: 40px !important;
		padding-bottom: 56px !important;
	}

	.rpt-hero .rpt-hero-row.et_pb_row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 32px;
	}

	.rpt-hero .rpt-hero-media img {
		height: auto;
		aspect-ratio: 4 / 3.4;
	}

	.rpt-hero .et_pb_text.rpt-hero-card {
		left: 16px;
		right: 16px;
		bottom: 16px;
		width: auto;
	}

	.rpt-sec .et_pb_button.rpt-btn-arrow {
		width: 100%;
	}

	.rpt-sec .rpt-btn-arrow,
	.rpt-sec .et_pb_button_module_wrapper {
		width: 100%;
	}

	.et_pb_section.rpt-trust {
		padding-top: 56px !important;
		padding-bottom: 56px !important;
	}

	.rpt-sec .rpt-sec-head {
		margin-bottom: 32px;
	}

	.rpt-sec .et_pb_text.rpt-card {
		padding: 24px;
	}

	.rpt-sec .rpt-grid-2.et_pb_row,
	.rpt-voices .rpt-quotes .et_pb_column {
		grid-template-columns: minmax(0, 1fr);
	}

	.rpt-pillars.et_pb_row {
		row-gap: 28px;
	}

	.rpt-docs .rpt-doc-card .et_pb_text {
		padding: 24px;
	}

	.rpt-voices .rpt-trusted {
		margin-top: 40px;
	}

	.rpt-voices .rpt-trusted .et_pb_text p.rpt-trusted-line {
		line-height: 1.4;
	}

	.et_pb_section.rpt-soft-sec {
		padding-bottom: 72px !important;
	}
}

/* "Trusted on the course" block is centered, including its eyebrow. */
.rpt-voices .rpt-trusted .et_pb_text,
.rpt-voices .rpt-trusted .et_pb_text p {
	text-align: center;
}

/* =====================================================================
 * Booking page (/book-a-screening/): form card + summary sidebar, minimal header and footer
 * ===================================================================== */
.et_pb_section.rpt-booking {
	padding-top: 56px !important;
	padding-bottom: 96px !important;
}

.rpt-booking .et_pb_row {
	max-width: 1120px;
}

.rpt-booking .rpt-book-head {
	margin-bottom: 32px;
}

.rpt-booking .rpt-book-head .et_pb_heading .et_pb_heading_container h1 {
	font-size: clamp(34px, 4.2vw, 50px);
	line-height: 1.08;
}

.rpt-booking .rpt-book-head .et_pb_text p.rpt-intro {
	margin-top: 14px;
}

.rpt-booking .rpt-book-grid.et_pb_row {
	display: grid;
	grid-template-columns: minmax(0, 748px) 340px;
	column-gap: 32px;
	align-items: start;
}

.rpt-booking .rpt-book-grid.et_pb_row::before,
.rpt-booking .rpt-book-grid.et_pb_row::after {
	display: none !important;
}

.rpt-booking .rpt-book-main.et_pb_column,
.rpt-booking .rpt-book-side.et_pb_column {
	box-sizing: border-box;
	border: 1px solid var(--rpt-line);
	border-radius: 18px;
	background: var(--rpt-white);
}

.rpt-booking .rpt-book-main.et_pb_column {
	padding: 40px;
}

.rpt-booking .rpt-book-side.et_pb_column {
	padding: 28px;
}

.rpt-booking .rpt-book-h2 .et_pb_heading_container h2 {
	font-size: clamp(26px, 3vw, 34px);
	line-height: 1.25;
}

.rpt-booking .et_pb_text p.rpt-book-sub {
	margin: 10px 0 24px;
	font-size: var(--rpt-fs-body);
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.rpt-booking .et_pb_text p.rpt-fine {
	margin: 24px 0 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rpt-slate-muted);
}

.rpt-booking .rpt-fine a {
	color: var(--rpt-slate);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rpt-booking .et_pb_code,
.rpt-booking .et_pb_code_inner {
	width: 100%;
}

.rpt-booking .et_pb_text p.rpt-side-title {
	margin: 0 0 20px;
	font-family: var(--rpt-font-heading);
	font-size: 24px;
	font-weight: 500;
	line-height: 29px;
	color: var(--rpt-slate);
}

.rpt-booking .et_pb_text ul.rpt-side-facts,
.rpt-booking .et_pb_text ul.rpt-side-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rpt-booking .et_pb_text ul.rpt-side-facts {
	margin-bottom: 24px;
}

.rpt-booking .rpt-side-facts {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 24px;
}

.rpt-booking .rpt-side-facts li {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 23px;
	color: var(--rpt-slate-body);
}

.rpt-booking .rpt-side-facts svg {
	flex: 0 0 20px;
	margin-top: 1px;
	color: var(--rpt-copper-deep);
}

.rpt-booking .rpt-side-block,
.rpt-booking .rpt-side-docs {
	padding-top: 20px;
	border-top: 1px solid var(--rpt-line);
}

.rpt-booking .rpt-side-block {
	margin-bottom: 24px;
}

.rpt-booking .rpt-side-block p.rpt-eyebrow {
	margin-bottom: 13px;
}

.rpt-booking .rpt-side-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rpt-booking .rpt-side-list li {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 23px;
	color: var(--rpt-slate-body);
}

.rpt-booking .rpt-side-docs {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: var(--rpt-fs-small);
	line-height: 1.5;
	color: var(--rpt-slate-muted);
}

.rpt-booking .rpt-side-avatars {
	display: flex;
	flex: 0 0 auto;
}

.rpt-booking .rpt-side-avatars img {
	width: 58px;
	height: 58px;
	box-sizing: border-box;
	border: 3px solid var(--rpt-white);
	border-radius: 50%;
	object-fit: cover;
}

.rpt-booking .rpt-side-avatars img + img {
	margin-left: -14px;
}

/* Minimal header: logo and phone only */
.rpt-header--min .et_pb_image,
.rpt-header--min .et_pb_image_wrap {
	display: block;
}

.rpt-header--min .et_pb_image img,
.rpt-header--min .et_pb_image img.lazyload,
.rpt-header--min .et_pb_image img.lazyloaded {
	display: block;
	width: 161px !important;   /* explicit: the Smush lazyload placeholder collapses width:auto to 0 */
	max-width: none !important; /* max-width:100% of a content-sized flex column resolves to 0 */
	height: auto !important;
}

.rpt-header--min .et_pb_column:last-child {
	text-align: right;
}

.rpt-header--min .et_pb_text p a.rpt-tel {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rpt-slate);
	text-decoration: none;
}

.rpt-header--min .et_pb_text p a.rpt-tel:hover {
	color: var(--rpt-copper-deep);
	text-decoration: underline;
}

.rpt-header--min .et_pb_text p a.rpt-tel svg {
	color: var(--rpt-copper-deep);
}

/* Minimal footer: logo and tagline, then legal links and copyright */
.rpt-footer--min .rpt-footer-minrow.et_pb_row {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.rpt-footer--min .rpt-footer-minrow .et_pb_column:last-child {
	text-align: right;
}

.et_pb_section.rpt-footer--min {
	padding-top: 36px !important;
	padding-bottom: 0 !important;
}

.rpt-footer--min .rpt-footer-minrow .et_pb_column:last-child {
	margin-left: auto;
}

.rpt-footer.rpt-footer--min .et_pb_image img,
.rpt-footer.rpt-footer--min .et_pb_image img.lazyload,
.rpt-footer.rpt-footer--min .et_pb_image img.lazyloaded {
	width: 200px !important;
	height: auto !important;
}

.rpt-footer--min .rpt-footer-legalrow.et_pb_row {
	margin-top: 16px;
}

.rpt-footer--min .rpt-footer-legalmenu {
	margin-left: 0;
}

body:has(.rpt-footer--min) {
	padding-bottom: 0;
}

@media (max-width: 980px) {
	.rpt-booking .rpt-book-grid.et_pb_row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 24px;
	}
}

@media (max-width: 820px) {
	.rpt-booking .rpt-book-main.et_pb_column {
		padding: 24px;
	}

	.rpt-header--min .et_pb_image img,
	.rpt-header--min .et_pb_image img.lazyload,
	.rpt-header--min .et_pb_image img.lazyloaded {
		width: 134px !important;
	}

	.rpt-footer--min .rpt-footer-minrow.et_pb_row {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.rpt-footer--min .rpt-footer-minrow .et_pb_column:last-child {
		text-align: left;
	}
}

@media (max-width: 520px) {
	/* Give the IntakeQ calendar the width it needs (7 day columns). */
	.rpt-booking .rpt-book-main.et_pb_column {
		padding: 20px 12px;
	}

	.rpt-booking .rpt-book-main .et_pb_heading,
	.rpt-booking .rpt-book-main .et_pb_text {
		padding-left: 8px;
		padding-right: 8px;
	}

	.rpt-tel__q {
		display: none;
	}
}

/* ---- Booking: two-step form (markup in scripts/build-divi5-booking.py, behavior in assets/js/booking.js) ---- */
.rpt-bk {
	font-family: var(--rpt-font-body);
	color: var(--rpt-slate-body);
}

.rpt-bk .rpt-prog {
	margin-bottom: 32px;
}

.rpt-bk .rpt-prog__label {
	margin: 0 0 10px;
	padding: 0;
	font-size: var(--rpt-fs-small);
	font-weight: 700;
	line-height: 22px;
	color: var(--rpt-slate-muted);
}

.rpt-bk .rpt-prog__bar {
	display: flex;
	gap: 8px;
}

.rpt-bk .rpt-prog__seg {
	flex: 1;
	height: 6px;
	border-radius: 3px;
	background: var(--rpt-line);
}

.rpt-bk .rpt-prog__seg.is-on {
	background: var(--rpt-copper);
}

.rpt-bk h2 {
	margin: 0 0 10px;
	padding: 0;
	font-family: var(--rpt-font-heading);
	font-size: clamp(26px, 3vw, 34px);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.005em;
	color: var(--rpt-slate);
}

.rpt-bk h2:focus:not(:focus-visible) {
	outline: none;
}

.rpt-bk p.rpt-bk-sub {
	margin: 0 0 24px;
	padding: 0;
	font-size: var(--rpt-fs-body);
	line-height: 1.55;
	color: var(--rpt-slate-body);
}

.rpt-bk .rpt-form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.rpt-bk .rpt-row2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.rpt-bk .rpt-field label {
	display: block;
	margin-bottom: 6px;
	font-size: var(--rpt-fs-small);
	font-weight: 600;
	line-height: 22px;
	color: var(--rpt-slate);
}

.rpt-bk .rpt-input {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	padding: 12px 14px;
	border: 1px solid var(--rpt-slate-muted);   /* concept's #b9ae98 is only 2.2:1 on white; this passes 3:1 */
	border-radius: var(--rpt-radius-sm);
	background: var(--rpt-white);
	font-family: var(--rpt-font-body);
	font-size: 16px;
	line-height: 1.4;
	color: var(--rpt-slate);
}

.rpt-bk select.rpt-input {
	appearance: auto;
}

.rpt-bk .rpt-input:focus-visible {
	outline: 3px solid var(--rpt-slate);
	outline-offset: 2px;
}

.rpt-bk .rpt-input[aria-invalid="true"] {
	border: 2px solid var(--rpt-error);
	padding: 11px 13px;
}

.rpt-bk p.rpt-err,
.rpt-bk p.rpt-form-error {
	margin: 6px 0 0;
	padding: 0;
	font-size: var(--rpt-fs-small);
	font-weight: 600;
	line-height: 1.4;
	color: var(--rpt-error);
}

.rpt-bk p.rpt-form-error {
	margin: 0;
	padding: 12px 14px;
	border: 1px solid var(--rpt-error);
	border-radius: var(--rpt-radius-sm);
	background: #fdf1f0;
}

.rpt-bk .rpt-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.rpt-bk .rpt-submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	box-sizing: border-box;
	width: 100%;
	min-height: 56px;
	padding: 16px 28px;
	border: 0;
	border-radius: var(--rpt-radius-sm);
	background: var(--rpt-copper);
	font-family: var(--rpt-font-body);
	font-size: var(--rpt-fs-btn-lg);
	font-weight: 700;
	line-height: 24px;
	color: var(--rpt-white);
	cursor: pointer;
}

.rpt-bk .rpt-submit:hover {
	background: var(--rpt-copper-hover);
}

.rpt-bk .rpt-submit:focus-visible,
.rpt-bk .rpt-edit:focus-visible {
	outline: 3px solid var(--rpt-slate);
	outline-offset: 3px;
}

.rpt-bk p.rpt-fine {
	margin: 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--rpt-slate-muted);
}

.rpt-bk .rpt-fine a,
.rpt-bk noscript a {
	color: var(--rpt-slate);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rpt-bk p.rpt-edit-wrap {
	margin: -8px 0 16px;
	padding: 0;
}

.rpt-bk.rpt-edit-in-widget .rpt-edit-wrap {
	display: none !important;
}

.rpt-bk .rpt-edit {
	padding: 10px 0;
	border: 0;
	background: none;
	font: inherit;
	font-weight: 600;
	color: var(--rpt-copper-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.rpt-bk .rpt-edit:focus-visible {
	outline: 3px solid var(--rpt-slate);
	outline-offset: 3px;
}

@media (max-width: 520px) {
	.rpt-bk .rpt-row2 {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Divi's reset sets display on section; the hidden attribute must still hide the inactive step. */
.rpt-bk [hidden] {
	display: none !important;
}

/* Minimal header: both columns size to their content (Divi makes text modules full width, which squeezed the logo to 0 on phones). */
.rpt-header--min .et_pb_row {
	flex-wrap: nowrap;
}

.rpt-header--min .et_pb_row .et_pb_column.et_pb_column {
	flex: 0 0 auto;
	width: auto !important;
	max-width: none;
}

.rpt-header--min .et_pb_text {
	width: auto;
}

/* Booking sidebar: the address links to the Google listing but keeps looking like text. */
.rpt-booking .rpt-side-facts a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.rpt-booking .rpt-side-facts a:hover {
	color: var(--rpt-copper-deep);
}
