/* Native UX Builder layout for individually editable master-class pages. */
.gb-mc-editable-layout .section,
.gb-mc-editable-layout .section-content,
.gb-mc-editable-layout .row {
	box-sizing: border-box;
}

.gb-mc-editable-layout .section {
	min-height: 0;
}

.gb-mc-editable-layout .section-content > .row {
	max-width: none;
}

.gb-mc-editable-layout .gb-mc-editable__hero {
	padding: 20px 0 58px !important;
}

.gb-mc-editable-layout .gb-mc-editable__hero-row,
.gb-mc-editable-layout .gb-mc-editable__trust-row,
.gb-mc-editable-layout .gb-mc-editable__details-row,
.gb-mc-editable-layout .gb-mc-editable__booking-row {
	display: grid;
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.gb-mc-editable-layout .gb-mc-editable__hero-row::before,
.gb-mc-editable-layout .gb-mc-editable__hero-row::after,
.gb-mc-editable-layout .gb-mc-editable__trust-row::before,
.gb-mc-editable-layout .gb-mc-editable__trust-row::after,
.gb-mc-editable-layout .gb-mc-editable__details-row::before,
.gb-mc-editable-layout .gb-mc-editable__details-row::after,
.gb-mc-editable-layout .gb-mc-editable__booking-row::before,
.gb-mc-editable-layout .gb-mc-editable__booking-row::after {
	display: none !important;
	content: none !important;
}

.gb-mc-editable-layout .gb-mc-editable__hero-row > .col,
.gb-mc-editable-layout .gb-mc-editable__trust-row > .col,
.gb-mc-editable-layout .gb-mc-editable__details-row > .col,
.gb-mc-editable-layout .gb-mc-editable__booking-row > .col {
	width: auto !important;
	max-width: none !important;
	padding: 0 !important;
	flex-basis: auto !important;
}

.gb-mc-editable-layout .gb-mc-editable__hero-row {
	grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.gb-mc-editable__hero-image,
.gb-mc-editable__hero-image .img,
.gb-mc-editable__hero-image .img-inner {
	width: 100%;
}

.gb-mc-editable__hero-image .img-inner {
	min-height: 500px;
	background: #edf1ee;
}

.gb-mc-editable__hero-image img,
.gb-mc-editable__trust-image img {
	object-fit: cover;
}

.gb-mc-editable__hero-copy > .col-inner {
	max-width: 460px;
}

.gb-mc-editable__hero-copy .button {
	margin-top: 0;
	margin-right: 18px;
	margin-bottom: 0;
}

.gb-mc-editable__hero-copy .gb-mc-editable__phone-button {
	padding-right: 0;
	padding-left: 0;
	color: var(--gb-mc-ink);
	font-weight: 700;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.gb-mc-editable__hero-copy .gb-mc-editable__phone-button:hover,
.gb-mc-editable__hero-copy .gb-mc-editable__phone-button:focus-visible {
	color: var(--gb-mc-brand-dark);
	text-decoration: underline;
}

.gb-mc-editable__next-empty {
	margin: 0 0 20px;
	padding: 12px 0;
	border-top: 1px solid var(--gb-mc-line);
	border-bottom: 1px solid var(--gb-mc-line);
	color: var(--gb-mc-muted);
}

.gb-mc-editable-layout .gb-mc-editable__trust {
	padding: 48px 0 !important;
	border-bottom: 1px solid var(--gb-mc-line);
}

.gb-mc-editable-layout .gb-mc-editable__trust-row {
	grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}

.gb-mc-editable__trust-copy > .col-inner {
	max-width: 620px;
}

.gb-mc-editable__trust-image .img-inner {
	background: #e8ece6;
}

.gb-mc-editable-layout .gb-mc-editable__details {
	padding: 68px 0 !important;
}

.gb-mc-editable-layout .gb-mc-editable__details-row {
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
	gap: clamp(30px, 5vw, 72px);
	align-items: start;
}

.gb-mc-editable-layout .gb-mc-editable__details-row > .col:only-child {
	grid-column: 1 / -1;
}

.gb-mc-editable__details-copy {
	font-size: 16px;
	line-height: 1.58;
}

.gb-mc-editable__details-copy h2 {
	margin-bottom: 24px;
}

.gb-mc-editable__details-copy p {
	margin-bottom: 18px;
}

.gb-mc-editable__details-copy ol,
.gb-mc-editable__details-copy ul {
	margin: 0 0 22px;
	padding-left: 24px;
}

.gb-mc-editable__details-copy li {
	margin-bottom: 9px;
	padding-left: 4px;
}

.gb-mc-editable__gallery .gallery-col {
	padding-bottom: 18px;
}

.gb-mc-editable__gallery .box-image,
.gb-mc-editable__gallery .box-image img {
	border-radius: 0;
}

.gb-mc-editable-layout .gb-mc-editable__booking {
	padding: 0 !important;
	border-top: 3px solid var(--gb-mc-brand);
	background: var(--gb-mc-soft);
}

.gb-mc-editable-layout .gb-mc-editable__booking-row {
	grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
	gap: clamp(30px, 6vw, 84px);
	align-items: start;
	padding: 52px clamp(22px, 5vw, 64px) !important;
}

.gb-mc-editable__booking-copy h2,
.gb-mc-editable__booking-copy h3 {
	margin-bottom: 22px;
	color: var(--gb-mc-ink);
	font-size: 30px;
	line-height: 1.15;
	text-wrap: balance;
}

.gb-mc-editable__booking-copy p {
	margin-bottom: 12px;
	color: var(--gb-mc-muted);
	line-height: 1.5;
}

.gb-mc-editable__booking-copy p strong {
	display: inline-block;
	color: var(--gb-mc-ink);
	font-size: 20px;
	line-height: 1.3;
}

.gb-mc-editable__form-element > .gb-mc-test__selected-slot[hidden] {
	display: none;
}

.gb-mc-editable-layout .gb-mc-editable__tail {
	padding: 68px 0 36px !important;
}

.gb-mc-editable-layout .gb-mc-editable__tail-row {
	width: 100% !important;
	max-width: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.gb-mc-editable-layout .gb-mc-editable__tail-content {
	padding: 0 !important;
}

.gb-mc-editable__tail-content > .col-inner > :where(.text, p, ul, ol, h2, h3) {
	max-width: 760px;
}

.gb-mc-editable__tail-content h2 {
	margin-top: 42px;
	margin-bottom: 18px;
	padding-top: 26px;
	border-top: 1px solid var(--gb-mc-line);
	font-size: 29px;
	line-height: 1.2;
}

.gb-mc-editable__tail-content p,
.gb-mc-editable__tail-content li {
	font-size: 17px;
	line-height: 1.66;
}

.gb-mc-editable__tail-gallery {
	margin: 24px 0 34px;
}

.gb-mc-editable__tail-gallery .gallery-col {
	padding-bottom: 18px;
}

.gb-mc-editable__faq {
	max-width: 760px;
	margin-bottom: 24px;
}

.gb-mc-editable__tail-action {
	min-height: 48px;
	margin: 0 10px 12px 0;
}

.gb-masterclass-editable-page ::selection {
	background: #e8d8ca;
	color: #252525;
}

.gb-masterclass-editable-page :where(a, button, input, textarea, select):focus-visible {
	outline: 3px solid rgba(150, 106, 70, 0.42);
	outline-offset: 2px;
}

.gb-masterclass-editable-builder-preview .page-header-excerpt {
	display: none !important;
}

@media only screen and (max-width: 849px) {
	.gb-mc-editable-layout .gb-mc-editable__hero {
		padding-bottom: 46px !important;
	}

	.gb-mc-editable-layout .gb-mc-editable__hero-row,
	.gb-mc-editable-layout .gb-mc-editable__trust-row,
	.gb-mc-editable-layout .gb-mc-editable__details-row,
	.gb-mc-editable-layout .gb-mc-editable__booking-row {
		grid-template-columns: minmax(0, 1fr);
	}

	.gb-mc-editable-layout .gb-mc-editable__hero-row {
		gap: 30px;
	}

	.gb-mc-editable__hero-image .img-inner {
		min-height: 0;
		padding-top: 68.75% !important;
	}

	.gb-mc-editable-layout .gb-mc-editable__trust {
		padding: 38px 0 !important;
	}

	.gb-mc-editable-layout .gb-mc-editable__trust-row {
		gap: 24px;
	}

	.gb-mc-editable-layout .gb-mc-editable__details-row {
		gap: 34px;
	}

	.gb-mc-editable-layout .gb-mc-editable__booking-row {
		gap: 30px;
	}

	.gb-mc-editable__hero-copy > .col-inner,
	.gb-mc-editable__trust-copy > .col-inner {
		max-width: 620px;
	}

	.gb-mc-editable-layout .gb-mc-editable__details {
		padding: 48px 0 !important;
	}

	.gb-mc-editable-layout .gb-mc-editable__tail {
		padding: 48px 0 28px !important;
	}

	.gb-mc-editable__details-copy {
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 549px) {
	.gb-mc-editable-layout .gb-mc-editable__hero {
		padding: 0 0 36px !important;
	}

	.gb-mc-editable__hero-media {
		margin-bottom: 0;
	}

	.gb-mc-editable-layout .gb-mc-editable__hero-row {
		gap: 24px;
	}

	.gb-mc-editable__hero-image .img-inner {
		padding-top: 75% !important;
	}

	.gb-mc-editable__hero-copy .button {
		width: 100%;
		min-height: 48px;
		margin-right: 0;
		margin-bottom: 10px;
		text-align: center;
	}

	.gb-mc-editable__hero-copy .gb-mc-editable__phone-button {
		width: auto;
	}

	.gb-mc-editable-layout .gb-mc-editable__trust {
		padding: 34px 0 !important;
	}

	.gb-mc-editable-layout .gb-mc-editable__details {
		padding: 40px 0 !important;
	}

	.gb-mc-editable-layout .gb-mc-editable__tail {
		padding: 40px 0 24px !important;
	}

	.gb-mc-editable__tail-content h2 {
		font-size: 24px;
	}

	.gb-mc-editable__tail-action {
		width: 100%;
		margin-right: 0;
		text-align: center;
	}

	.gb-mc-editable-layout .gb-mc-editable__booking {
		width: calc(100% + 30px);
		margin-right: -15px;
		margin-left: -15px;
	}

	.gb-mc-editable-layout .gb-mc-editable__booking-row {
		padding: 38px 20px !important;
	}

	.gb-mc-editable__booking-copy h2,
	.gb-mc-editable__booking-copy h3 {
		font-size: 26px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gb-mc-editable-layout *,
	.gb-mc-editable-layout *::before,
	.gb-mc-editable-layout *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
