/* The client asked for large text everywhere. */
:root {
	--byoh-purple: #4a1d75;
	--byoh-purple-dark: #1f0d33;
	--byoh-tint: #f5effa;
	--byoh-text: #2a1b3d;
	--byoh-gold: #e8b84a;
}

/* Modules are not blog posts: no author, date or previous/next post links. */
.single-byoh_module .entry-meta,
.single-byoh_module .post-navigation {
	display: none;
}

.byoh {
	color: var(--byoh-text);
	font-size: 20px;
	line-height: 1.6;
}

.byoh-label {
	margin: 0 0 4px;
	color: var(--byoh-purple);
	font-size: 20px;
	font-weight: 700;
}

.byoh-subtitle {
	margin: 0 0 16px;
	font-size: 24px;
	font-weight: 600;
}

.byoh-description {
	margin-bottom: 28px;
}

.byoh-back {
	margin-top: 32px;
}

.byoh-small {
	margin-top: 16px;
	font-size: 18px;
}

.byoh-button,
.entry-content a.byoh-button,
.byoh-button:visited {
	display: inline-block;
	padding: 16px 30px;
	border: 2px solid var(--byoh-purple);
	border-radius: 999px;
	background: var(--byoh-purple);
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
}

.byoh-button:hover,
.byoh-button:focus,
.entry-content a.byoh-button:hover {
	border-color: var(--byoh-purple-dark);
	background: var(--byoh-purple-dark);
	color: #fff;
}

.byoh-button-alt,
.entry-content a.byoh-button-alt,
.byoh-button-alt:visited {
	background: #fff;
	color: var(--byoh-purple);
}

.byoh-button[disabled] {
	border-color: #c9c2cf;
	background: #eee;
	color: #6f6876;
	cursor: not-allowed;
}

.byoh-gate {
	margin: 24px 0;
	padding: 32px 24px;
	border-radius: 12px;
	background: var(--byoh-tint);
	text-align: center;
}

.byoh-gate h2 {
	margin: 0 0 12px;
	color: #7030a0;
	font-size: 30px;
}

.byoh-gate p:last-child {
	margin-bottom: 0;
}

/* Slide viewer */
.byoh-viewer:focus {
	outline: none;
}

.single-byoh_module .site-content > .ast-container {
	max-width: 1300px;
}

.single-byoh_module.ast-separate-container .ast-article-single {
	padding: 40px;
}

/* A comfortable size with room around it. The Full Screen button is for going bigger. */
.byoh-viewer {
	width: min(100%, max(560px, calc((100vh - 240px) * 16 / 9)));
	margin-inline: auto;
}

/* Full screen. Also used on its own where browsers refuse real full screen, as on iPhones. */
.byoh-lock,
.byoh-lock body {
	overflow: hidden;
}

.byoh-viewer.byoh-is-full {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: none;
	height: 100vh;
	height: 100dvh;
	margin: 0;
	background: #000;
}

.byoh-is-full .byoh-stage {
	flex: 1 1 auto;
	min-height: 0;
	aspect-ratio: auto;
	border-radius: 0;
	background: #000;
}

.byoh-is-full .byoh-controls {
	flex: none;
	margin: 0;
	padding: 10px 20px;
	background: var(--byoh-purple-dark);
}

.byoh-is-full .byoh-count {
	color: #fff;
}

.byoh-is-full .byoh-controls .byoh-button {
	padding: 10px 24px;
	font-size: 18px;
}

.byoh-is-full .byoh-next:not([disabled]) {
	border-color: var(--byoh-gold);
	background: var(--byoh-gold);
	color: var(--byoh-purple-dark);
}

.byoh-is-full .byoh-finish {
	flex: none;
	margin: 0;
	padding: 12px 20px;
	border-radius: 0;
}

.byoh-is-full .byoh-finish p {
	margin: 0 0 8px;
}

.byoh-is-full .byoh-finish .byoh-button {
	padding: 10px 24px;
	font-size: 18px;
}

/* A fixed shape stops the page jumping while the next slide loads. */
.byoh-stage {
	aspect-ratio: 16 / 9;
	border-radius: 8px;
	background: #111;
	overflow: hidden;
}

.byoh-slide {
	margin: 0;
}

.byoh-slide[hidden] {
	display: none;
}

.byoh-slide,
.byoh-slide img,
.byoh-slide video {
	display: block;
	width: 100%;
	height: 100%;
}

.byoh-slide img,
.byoh-slide video {
	object-fit: contain;
}

.byoh-controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 16px;
}

.byoh-count {
	margin-left: auto;
	font-size: 20px;
	font-weight: 600;
}

/* Sits beside the slide count, in the middle of the row. */
.byoh-button.byoh-full {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-right: auto;
	padding: 10px 20px;
	font-size: 18px;
}

.byoh-finish {
	margin-top: 24px;
	padding: 24px;
	border-radius: 12px;
	background: var(--byoh-tint);
	text-align: center;
}

.byoh-finish[hidden] {
	display: none;
}

/* Module blocks */
.byoh-modules {
	width: 100%;
}

.byoh-section-title {
	margin: 48px 0 24px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(74, 29, 117, 0.2);
	color: var(--byoh-purple);
	font-size: 38px;
	line-height: 1.15;
}

.byoh-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
}

.byoh-card {
	position: relative;
	display: block;
	aspect-ratio: 1;
	border-radius: 14px;
	background: #1f0d33;
	box-shadow: 0 10px 28px rgba(42, 17, 69, 0.2);
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.byoh-card:hover,
a.byoh-card:focus {
	box-shadow: 0 16px 36px rgba(42, 17, 69, 0.32);
	transform: translateY(-4px);
}

.byoh-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.byoh-card-soon .byoh-card-image {
	filter: saturate(0.45);
	opacity: 0.6;
}

/* The title sits below the flower, on a soft band, so the whole lotus shows. */
.byoh-card-text {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: block;
	padding: 12px 16px 14px;
	border-top: 1px solid rgba(232, 184, 74, 0.7);
	background: rgba(31, 13, 51, 0.78);
	color: #fff;
	text-align: center;
}

.byoh-card-label {
	display: block;
	color: var(--byoh-gold);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.byoh-card-title {
	display: block;
	font-family: "Cormorant Garamond", serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.12;
}

.byoh-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 6px 14px;
	border-radius: 999px;
	background: #fff;
	color: var(--byoh-purple);
	font-size: 16px;
	font-weight: 800;
}

.byoh-badge-open,
.byoh-badge-login {
	background: var(--byoh-gold);
	color: #1f0d33;
}

.byoh-badge-soon {
	background: #eadff3;
}

/* Header navigation */
.elementor-location-header .elementor-nav-menu--main .elementor-item,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item {
	padding: 10px 16px;
	color: #2a1b3d !important;
	font-family: "Nunito Sans", sans-serif !important;
	font-size: 20px !important;
	font-weight: 700 !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active {
	color: #4a1d75 !important;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item::after {
	background-color: #e8b84a !important;
	height: 3px !important;
}

.elementor-location-header aside a {
	color: #e8b84a;
	font-weight: 800;
	text-decoration: underline;
}

.elementor-location-header .elementor-menu-toggle {
	background: transparent !important;
	color: #4a1d75 !important;
	font-size: 30px;
}

/* The phone menu floats over the page instead of pushing the header open. */
.elementor-location-header .elementor-widget-nav-menu {
	position: relative;
	width: auto;
}

.elementor-location-header .elementor-nav-menu--dropdown.elementor-nav-menu__container {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 999;
	width: 230px;
	border-radius: 14px;
	background: #fff !important;
	box-shadow: 0 16px 36px rgba(42, 17, 69, 0.24);
	overflow: hidden;
}

.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:hover,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item:focus,
.elementor-location-header .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
	background: #f5effa !important;
	color: #4a1d75 !important;
}

/* Cormorant defaults to old-style figures, where 11 reads like the Roman II. */
body {
	font-variant-numeric: lining-nums;
}

.woocommerce a.button,
.woocommerce button.button {
	border-radius: 999px;
}

.byoh-continue {
	margin-bottom: 8px;
}

/* Bigger text on the WooCommerce account, cart and checkout screens. */
.woocommerce-account .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-cart .woocommerce,
.woocommerce-account .woocommerce input,
.woocommerce-checkout .woocommerce input,
.woocommerce-checkout .woocommerce select {
	font-size: 19px;
}

.woocommerce-account .woocommerce button.button,
.woocommerce-checkout .woocommerce button.button {
	padding: 14px 26px;
	font-size: 20px;
}

/* Inner pages */
.entry-title {
	color: #7030a0;
	font-size: 56px;
	font-weight: 700;
	line-height: 1.08;
}

.single-byoh_module .ast-article-single {
	border-radius: 20px;
	background: #fff;
}

.byoh-gate {
	border: 1px solid #eadff3;
}

.byoh-gate h2 {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
}

.byoh-subtitle {
	font-family: "Cormorant Garamond", serif;
	font-size: 32px;
	font-weight: 600;
	line-height: 1.2;
}

@media (max-width: 600px) {
	.entry-title {
		font-size: 40px;
	}

	.single-byoh_module .site-content > .ast-container {
		padding-left: 8px;
		padding-right: 8px;
	}

	.single-byoh_module.ast-separate-container .ast-article-single {
		padding: 20px 12px;
	}

	.byoh-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}

	.byoh-section-title {
		font-size: 32px;
	}

	.byoh-card-text {
		padding: 6px 6px 8px;
	}

	.byoh-card-label {
		font-size: 13px;
	}

	.byoh-card-title {
		font-size: 19px;
		line-height: 1.08;
	}

	.byoh-badge {
		top: 6px;
		right: 6px;
		padding: 3px 9px;
		font-size: 14px;
	}

	.byoh-controls .byoh-button {
		flex: 1 1 40%;
		padding: 14px 12px;
	}

	.byoh-count {
		order: -1;
		flex-basis: 100%;
		margin-left: 0;
		text-align: center;
	}

	.byoh-controls .byoh-button.byoh-full {
		order: 1;
		flex-basis: 100%;
		justify-content: center;
		margin-right: 0;
		padding: 10px 12px;
	}

	.byoh-is-full .byoh-controls {
		gap: 8px;
		padding: 8px 12px;
	}

	.byoh-button {
		display: block;
	}
}

/* Homepage photo. The whole photo shows on computers, with the title in the sky and clear water.
   The Bitmoji positions come from where the first stone sits in the photo. */
section.elementor-element-3fdfd7a3.elementor-element-3fdfd7a3 {
	position: relative;
	align-items: flex-start;
	min-height: 0;
	aspect-ratio: 2560 / 960;
	padding: clamp(20px, 3vw, 56px) 24px 0;
	overflow: hidden;
}

.elementor-element-3fdfd7a3 h1 {
	font-size: min(100px, 6.2vw) !important;
}

.elementor-element-3fdfd7a3 .elementor-element-2a9f6af8 p {
	font-size: min(54px, 3.4vw) !important;
}

.elementor-element-3fdfd7a3 h2 {
	margin-bottom: 0 !important;
	font-size: min(56px, 3.6vw) !important;
}

.byoh-hero-bitmoji,
[data-id="b17e0d11"] {
	position: absolute !important;
	bottom: 24.8%;
	left: 10.9%;
	width: 17%;
	margin: 0;
	transform: translateX(-50%);
}

[data-id="b17e0d11"] img,
img[data-id="b17e0d11"] {
	display: block;
	height: auto;
}

[data-id="b17e0d11"] img {
	width: 100%;
}

@media (max-width: 1024px) {
	section.elementor-element-3fdfd7a3.elementor-element-3fdfd7a3 {
		height: 460px;
		aspect-ratio: auto;
		padding-top: 28px;
		background-position: left top !important;
	}

	.elementor-element-3fdfd7a3 h1 {
		font-size: 56px !important;
	}

	.elementor-element-3fdfd7a3 .elementor-element-2a9f6af8 p {
		font-size: 38px !important;
	}

	.elementor-element-3fdfd7a3 h2 {
		font-size: 38px !important;
	}

	[data-id="b17e0d11"] {
		bottom: 116px;
		left: 134px;
		width: 180px;
	}
}

@media (max-width: 767px) {
	section.elementor-element-3fdfd7a3.elementor-element-3fdfd7a3 {
		height: 560px;
		padding: 24px 16px 0;
	}

	.elementor-element-3fdfd7a3 h1 {
		font-size: 54px !important;
	}

	.elementor-element-3fdfd7a3 h2 {
		font-size: 36px !important;
	}

	[data-id="b17e0d11"] {
		bottom: 144px;
		left: 163px;
		width: 170px;
	}
}

/* Keeps the site name on one line in the header. */
[data-id="5f8fda5b"],
[data-id="44a56a14"] {
	white-space: nowrap;
}

/* Narrow tablets: the header has no room for this button, and Start Free is elsewhere on the page. */
@media (min-width: 768px) and (max-width: 900px) {
	[data-id="302243ca"] {
		display: none !important;
	}

	[data-id="5f8fda5b"] {
		font-size: 24px !important;
	}

	[data-id="44a56a14"] {
		font-size: 20px !important;
	}
}

/* The gold quote sits in a half-width column: smaller on tablets so lines hold more words. */
@media (max-width: 1024px) {
	[data-id="21ccf6cf"] {
		font-size: 38px !important;
	}
}

@media (max-width: 767px) {
	[data-id="21ccf6cf"] {
		font-size: 34px !important;
	}
}

/* Quote and lotus section: the gold quote is sized to sit on two lines on computers. */
@media (min-width: 1025px) {
	[data-id="21ccf6cf"] {
		font-size: min(46px, 2.75vw) !important;
	}
}

/* Crystal's angel Bitmoji flies over the water, below the flower. */
[data-id="3b92dd2c"] {
	position: relative;
	overflow: hidden;
}

[data-id="a9e1c0d7"] {
	position: absolute !important;
	bottom: 4%;
	left: 5%;
	width: 40%;
	max-width: 340px;
	margin: 0;
}

img[data-id="a9e1c0d7"],
[data-id="a9e1c0d7"] img {
	display: block;
	height: auto;
}

@media (max-width: 767px) {
	[data-id="a9e1c0d7"] {
		width: 46%;
	}
}

/* Tablets: the text sits above the lotus, so the photo is not squeezed into a tall strip. */
@media (max-width: 1024px) {
	section[data-id="6ea71f72"] {
		flex-direction: column !important;
	}

	[data-id="3b92dd2c"] {
		min-height: 460px !important;
	}

	[data-id="21ccf6cf"] {
		font-size: 44px !important;
	}
}

@media (max-width: 767px) {
	[data-id="21ccf6cf"] {
		font-size: 34px !important;
	}

	[data-id="3b92dd2c"] {
		min-height: 360px !important;
	}
}

/* Keeps the angel from growing over the flower when the lotus spans the full width. */
[data-id="a9e1c0d7"] {
	width: min(40%, 280px) !important;
	max-width: none !important;
}

@media (max-width: 767px) {
	[data-id="a9e1c0d7"] {
		width: min(46%, 200px) !important;
	}
}

/* Quote and lotus section, shorter: less padding, a smaller flower with less water, angel centred under it. */
[data-id="3c9f531a"] {
	padding-top: 48px !important;
	padding-bottom: 48px !important;
}

[data-id="3b92dd2c"] {
	min-height: 480px !important;
	background-color: #000 !important;
	background-size: auto 125% !important;
	background-position: center 20% !important;
	background-repeat: no-repeat !important;
}

/* Soft black edges so the narrower photo blends into the column. */
[data-id="3b92dd2c"]::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='g'%3E%3Cstop offset='0' stop-color='%23000'/%3E%3Cstop offset='.12' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='.88' stop-color='%23000' stop-opacity='0'/%3E%3Cstop offset='1' stop-color='%23000'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='100' height='100' fill='url(%23g)'/%3E%3C/svg%3E") no-repeat;
	background-size: inherit;
	background-position: inherit;
	pointer-events: none;
	z-index: 1;
}

[data-id="a9e1c0d7"] {
	left: 50% !important;
	bottom: 3% !important;
	transform: translateX(-50%);
	width: min(30%, 190px) !important;
	z-index: 2;
}

@media (max-width: 1024px) {
	[data-id="3c9f531a"] {
		padding-top: 40px !important;
		padding-bottom: 40px !important;
	}

	[data-id="3b92dd2c"] {
		min-height: 380px !important;
		background-size: auto 140% !important;
		background-position: center 15% !important;
	}

	[data-id="a9e1c0d7"] {
		width: min(30%, 170px) !important;
	}
}

@media (max-width: 767px) {
	[data-id="3b92dd2c"] {
		min-height: 300px !important;
	}

	[data-id="a9e1c0d7"] {
		width: min(36%, 130px) !important;
	}
}

/* Homepage modules block: "The Main Program", the Start Free button and "Click a lotus flower
   to begin." on one line, then the cards. Only this column, not the Modules page. */
[data-id="27aed0f9"] {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	column-gap: 24px !important;
	row-gap: 0 !important;
}

[data-id="27aed0f9"] > .byoh-modules {
	display: contents;
}

[data-id="27aed0f9"] > .byoh-modules > * {
	order: 10;
	flex: 0 0 100%;
}

[data-id="27aed0f9"] > .byoh-modules > .byoh-section-title:first-child {
	order: 1;
	flex: 0 0 auto;
	margin: 0 !important;
	padding-bottom: 0 !important;
	border-bottom: 0 !important;
}

[data-id="27aed0f9"] > [data-id="2f401aed"] {
	order: 2;
	flex: 0 0 auto;
}

[data-id="27aed0f9"] > [data-id="46a895f6"] {
	order: 3;
	flex: 0 1 auto;
	margin: 0 !important;
}

[data-id="27aed0f9"] > .byoh-modules > .byoh-section-title:first-child + .byoh-grid,
[data-id="27aed0f9"] > .byoh-modules > .byoh-bonus + .byoh-grid {
	margin-top: 24px;
}

@media (max-width: 767px) {
	[data-id="27aed0f9"] {
		justify-content: center !important;
		row-gap: 12px !important;
	}

	[data-id="27aed0f9"] > .byoh-modules > .byoh-section-title:first-child {
		flex-basis: 100%;
		text-align: center;
	}
}

/* Picture section: "BUT NONE of that needs to matter!..." across the top on one line. */
[data-id="33f7fc23"] {
	width: 100%;
	text-align: center !important;
	margin: 0 !important;
}

@media (min-width: 768px) {
	[data-id="33f7fc23"] {
		font-size: min(58px, 3.6vw) !important;
		line-height: 1.15 !important;
		white-space: nowrap;
	}
}

@media (max-width: 767px) {
	[data-id="33f7fc23"] {
		font-size: 32px !important;
		line-height: 1.2 !important;
	}
}

/* "Extra Free Bonus" tile (the Pet Care module). */
.byoh-bonus {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 340px;
	margin: 0 0 20px;
	padding: 8px 14px 8px 8px;
	border-radius: 14px;
	background: #2a0f3c;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(42, 15, 60, 0.18);
	transition: transform 0.2s ease;
}

.byoh-bonus:hover,
.byoh-bonus:focus-visible {
	transform: translateY(-2px);
	color: #fff;
}

.byoh-bonus-image {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	border-radius: 10px;
	object-fit: cover;
}

.byoh-bonus-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.byoh-bonus-label {
	color: #e8b84a;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.byoh-bonus-title {
	font-family: "Cormorant Garamond", serif;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.15;
}

/* Homepage: at the right end of the heading line, above Module 4. */
[data-id="27aed0f9"] > .byoh-modules > .byoh-bonus {
	order: 4;
	flex: 1 1 230px;
	max-width: calc((100% - 72px) / 4);
	margin: 0 0 0 auto;
}

@media (min-width: 768px) and (max-width: 1199px) {
	[data-id="27aed0f9"] > .byoh-modules > .byoh-bonus {
		flex: 0 0 300px;
		max-width: 300px;
		margin: 16px 0 0 auto;
	}
}

@media (max-width: 767px) {
	[data-id="27aed0f9"] > .byoh-modules > .byoh-bonus {
		flex-basis: 100%;
		max-width: 340px;
		margin: 4px auto 0;
	}
}

/* Picture section: Crystal's story a bit bigger. */
[data-id="40039f2e"] {
	font-size: 24px !important;
	line-height: 1.6 !important;
}

@media (max-width: 767px) {
	[data-id="40039f2e"] {
		font-size: 20px !important;
	}
}

/* Introductory price: $888 struck through and smaller, above $444. */
[data-id="fd5981de"] {
	font-size: 56px !important;
	line-height: 1 !important;
	text-decoration: line-through;
	text-decoration-thickness: 3px;
	opacity: 0.7;
	margin: 0 !important;
}

[data-id="3e0fc2bc"] {
	font-family: "Nunito Sans", sans-serif !important;
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	color: #d9cde6 !important;
	text-align: center;
	margin: 0 !important;
}

@media (max-width: 767px) {
	[data-id="fd5981de"] {
		font-size: 44px !important;
	}
}

.byoh-password-hint {
	margin: 0 0 12px;
	font-size: 14px;
	opacity: 0.8;
}

/* End of a module: the end line and the Next Module button sit in the control bar,
   so they are always in view (also at full screen). */
.byoh-controls [hidden] {
	display: none !important;
}

.byoh-controls a.byoh-button.byoh-next-module,
.byoh-controls a.byoh-button.byoh-next-module:visited {
	border-color: #e8b84a;
	background: #e8b84a;
	color: #2a0f3c;
}

.byoh-controls a.byoh-button.byoh-next-module:hover,
.byoh-controls a.byoh-button.byoh-next-module:focus-visible {
	border-color: #d9a530;
	background: #d9a530;
	color: #2a0f3c;
}

.byoh-at-end .byoh-count {
	order: -1;
	flex-basis: 100%;
	margin-left: 0;
	text-align: center;
	color: var(--byoh-purple);
}

.byoh-is-full.byoh-at-end .byoh-count {
	color: #e8b84a;
}

@media (max-width: 767px) {
	.byoh-controls .byoh-next-module {
		order: 2;
		flex-basis: 100%;
		max-width: none;
	}
}

/* "Module 5:" before the tagline, on the same line. */
.byoh-subtitle .byoh-label {
	margin: 0;
	color: var(--byoh-purple);
	font-size: inherit;
	font-weight: 700;
}

/* Every card's text band has the same height (module number + two title lines),
   with the text starting at the top, so numbers and titles line up across cards. */
.byoh-card-text {
	box-sizing: border-box;
	min-height: calc(26px + 16px * 1.4 + 28px * 1.12 * 2);
}

.byoh-card-label {
	line-height: 1.4;
}

@media (max-width: 767px) {
	.byoh-card-text {
		min-height: calc(14px + 13px * 1.4 + 19px * 1.08 * 2);
	}
}

.byoh-modules a.byoh-bonus,
.byoh-modules a.byoh-bonus:hover,
.byoh-modules a.byoh-bonus span {
	text-decoration: none !important;
}

/* Success Stories page: each paragraph is an outlined story box. */
.byoh-stories .entry-header,
.byoh-stories .entry-content {
	max-width: 920px;
	margin-inline: auto;
}

.byoh-stories .entry-title {
	margin-bottom: 8px;
	color: #7030a0;
	font-size: 52px !important;
	font-weight: 700 !important;
	text-align: center;
}

.byoh-stories .entry-content > p:not(.byoh-stories-closing) {
	position: relative;
	margin: 0 0 24px;
	padding: 28px 32px;
	border: 2px solid #d9c6ec;
	border-left: 6px solid #e8b84a;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(42, 15, 60, 0.08);
	color: #2a1a38;
	font-size: 19px;
	line-height: 1.7;
}

.byoh-stories .entry-content > p strong,
.byoh-stories .entry-content > p em {
	color: #5a2384;
}

.byoh-stories .byoh-stories-closing {
	margin: 36px 0 8px;
	color: #7030a0;
	font-family: "Cormorant Garamond", serif;
	font-size: 28px;
	font-style: italic;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}

@media (max-width: 767px) {
	.byoh-stories .entry-title {
		font-size: 40px !important;
	}

	.byoh-stories .entry-content > p:not(.byoh-stories-closing) {
		padding: 20px 18px;
		border-left-width: 5px;
		font-size: 17px;
		line-height: 1.65;
	}

	.byoh-stories .byoh-stories-closing {
		font-size: 24px;
	}
}

/* Modules without a tagline: "Module 12: Teeth/Oral Care" is the only heading. */
.byoh-hide-title .entry-header .entry-title {
	display: none;
}

h1.byoh-title-line {
	margin: 0 0 16px;
	color: #7030a0;
	font-size: 32px;
	line-height: 1.2;
}

/* A gold star on the bonus tile, to show it's a bonus. */
.byoh-bonus {
	position: relative;
	overflow: visible;
	border: 2px solid #e8b84a;
}

.byoh-bonus-star {
	position: absolute;
	top: -18px;
	right: -12px;
	color: #f7c531;
	font-size: 40px;
	line-height: 1;
	text-shadow: 0 2px 6px rgba(42, 15, 60, 0.35);
	pointer-events: none;
	transform: rotate(12deg);
}

/* Contact page */
.byoh-contact-page .entry-header,
.byoh-contact-page .entry-content {
	max-width: 760px;
	margin-inline: auto;
}

.byoh-contact-page .entry-title {
	margin-bottom: 8px;
	color: #7030a0;
	font-size: 52px !important;
	font-weight: 700 !important;
	text-align: center;
}

.byoh-contact-page .entry-content > p {
	font-size: 20px;
	line-height: 1.6;
	text-align: center;
}

.byoh-contact {
	margin-top: 24px;
	padding: 32px;
	border: 2px solid #d9c6ec;
	border-left: 6px solid #e8b84a;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(42, 15, 60, 0.08);
}

.byoh-contact p {
	margin: 0 0 18px;
}

.byoh-contact label {
	display: block;
	margin-bottom: 6px;
	color: #5a2384;
	font-size: 17px;
	font-weight: 700;
}

.byoh-contact input[type="text"],
.byoh-contact input[type="email"],
.byoh-contact textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #c9b3e0;
	border-radius: 10px;
	background: #fbf8fe;
	font-size: 18px;
}

.byoh-contact input:focus,
.byoh-contact textarea:focus {
	border-color: #7030a0;
	outline: 2px solid rgba(112, 48, 160, 0.25);
}

.byoh-contact .byoh-button {
	cursor: pointer;
}

.byoh-contact-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.byoh-contact-notice {
	padding: 12px 16px;
	border-radius: 10px;
	font-size: 17px;
	font-weight: 600;
}

.byoh-contact-ok {
	background: #eaf7ee;
	color: #1e6b35;
}

.byoh-contact-error {
	background: #fdecec;
	color: #9b1c1c;
}

@media (max-width: 767px) {
	.byoh-contact-page .entry-title {
		font-size: 40px !important;
	}

	.byoh-contact {
		padding: 20px 18px;
	}
}

/* "The Main Program Modules – after clicking on a module, then click "read-only" to view..."
   on one line in the heading font. The hint replaces "Click a lotus flower to begin." */
.byoh-section-hint {
	font: inherit;
	color: inherit;
}

@media (min-width: 1025px) {
	.byoh-section-title:has(.byoh-section-hint) {
		white-space: nowrap;
		font-size: min(34px, 2.3vw) !important;
	}
}

[data-id="27aed0f9"] > [data-id="46a895f6"] {
	display: none !important;
}

[data-id="27aed0f9"] > .byoh-modules > .byoh-section-title:first-child {
	flex: 0 0 100% !important;
	margin: 0 0 16px !important;
}

[data-id="27aed0f9"] > [data-id="2f401aed"] {
	margin-right: auto !important;
}

@media (max-width: 1024px) {
	[data-id="27aed0f9"] > .byoh-modules > .byoh-section-title:first-child {
		font-size: 30px !important;
	}
}

@media (max-width: 767px) {
	[data-id="27aed0f9"] > .byoh-modules > .byoh-section-title:first-child {
		font-size: 26px !important;
	}

	[data-id="27aed0f9"] > [data-id="2f401aed"] {
		margin-right: 0 !important;
	}
}

/* Picture section: Crystal's angel Bitmoji beside her signature, in the space to its right.
   (It used to fly over the lotus photo in the quote section.) */
[data-id="724b5c23"] {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	column-gap: 20px !important;
}

[data-id="724b5c23"] > [data-id="40039f2e"] {
	flex: 0 0 100%;
}

[data-id="724b5c23"] > [data-id="43ad68b6"] {
	flex: 0 0 auto;
}

[data-id="724b5c23"] > [data-id="a9e1c0d7"] {
	position: static !important;
	transform: none !important;
	left: auto !important;
	bottom: auto !important;
	width: 140px !important;
	margin: -36px 0 -24px !important;
	z-index: auto;
}

@media (max-width: 1024px) {
	[data-id="724b5c23"] {
		column-gap: 14px !important;
	}

	[data-id="724b5c23"] > [data-id="a9e1c0d7"] {
		width: 120px !important;
		margin: -30px 0 -20px !important;
	}
}

@media (max-width: 767px) {
	[data-id="724b5c23"] {
		column-gap: 10px !important;
	}

	[data-id="724b5c23"] > [data-id="a9e1c0d7"] {
		width: 90px !important;
		margin: -20px 0 -14px !important;
	}
}

@media (max-width: 374px) {
	[data-id="724b5c23"] {
		column-gap: 6px !important;
	}

	[data-id="724b5c23"] > [data-id="a9e1c0d7"] {
		width: 74px !important;
	}
}

/* Quote section: Crystal's logo in place of the lotus photo, on white to match the logo's own background.
   To use a new logo file, change the image address below. */
[data-id="3b92dd2c"] {
	background: #fff url("/wp-content/uploads/2026/11/crystal-sage-logo.jpg") center / auto 90% no-repeat !important;
}

[data-id="3b92dd2c"]::after {
	display: none !important;
}

@media (max-width: 1024px) {
	[data-id="3b92dd2c"] {
		background-size: auto 92% !important;
	}
}

/* Quote box: all three lines of text centred. */
[data-id="3c9f531a"] {
	align-items: center !important;
	text-align: center !important;
}

[data-id="3c9f531a"] > * {
	text-align: center !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Bottom of the homepage: Crystal's logo on the left, the "Get the Full Program" box to its right.
   Tablets and phones: the logo sits above the box. */
[data-id="2cb91ad0"] {
	align-items: center !important;
	column-gap: 48px !important;
	row-gap: 24px !important;
}

[data-id="2cb91ad0"] > [data-id="5e1a90c4"] {
	flex: 0 0 clamp(220px, 22vw, 320px);
	width: clamp(220px, 22vw, 320px) !important;
	max-width: 100%;
	height: auto !important;
	margin: 0 !important;
}

[data-id="2cb91ad0"] > [data-id="410a1feb"] {
	flex: 1 1 auto !important;
	max-width: 860px !important;
}

@media (max-width: 1024px) {
	[data-id="2cb91ad0"] {
		flex-direction: column !important;
	}

	[data-id="2cb91ad0"] > [data-id="5e1a90c4"] {
		flex-basis: auto;
		width: 220px !important;
	}

	[data-id="2cb91ad0"] > [data-id="410a1feb"] {
		width: 100% !important;
	}
}

@media (max-width: 767px) {
	[data-id="2cb91ad0"] > [data-id="5e1a90c4"] {
		width: 180px !important;
	}
}

/* Homepage header photo (desktop): Crystal's logo inside the sun, and the title moved left, between
   the meditating Bitmoji and the sun. On desktop the header keeps the photo's proportions, so these
   percentages follow the sun at every width. Tablets and phones crop the sun out, so they are unchanged.
   multiply blends the logo's white background into the sunlight. */
@media (min-width: 1025px) {
	[data-id="3fdfd7a3"] {
		position: relative;
	}

	[data-id="3fdfd7a3"]::after {
		content: "";
		position: absolute;
		left: 77.97%;
		top: 26.6%;
		width: 19.65%;
		aspect-ratio: 1;
		transform: translate(-50%, -50%);
		background: url("/wp-content/uploads/2026/11/crystal-sage-logo.jpg") center / contain no-repeat;
		mix-blend-mode: multiply;
		pointer-events: none;
		z-index: 1;
	}

	[data-id="3fdfd7a3"] > [data-id="2a9f6af8"] {
		align-items: center !important;
		text-align: center !important;
		margin-left: 21.06% !important;
		margin-right: auto !important;
		width: 46.5% !important;
		max-width: 46.5% !important;
	}

	[data-id="2a9f6af8"] > * {
		text-align: center !important;
	}

	[data-id="2a9f6af8"] h1,
	h1[data-id="39360a99"] {
		font-size: 4.05vw !important;
		white-space: nowrap !important;
	}
}

/* Free modules: a yellow star in the top-left corner (like the Pet bonus tile) and "· Free" after
   the module number. The card clips its corners, so the star sits just inside. */
.byoh-card {
	position: relative;
}

.byoh-free-star {
	position: absolute;
	top: 8px;
	left: 10px;
	z-index: 2;
	color: #f7c531;
	font-size: 44px;
	line-height: 1;
	transform: rotate(-12deg);
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
	pointer-events: none;
}

.byoh-card-free {
	color: #f7c531;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.byoh-free-star {
		top: 4px;
		left: 6px;
		font-size: 30px;
	}
}

/* Homepage "Start Free with Modules 1-4" buttons (under the photo and above the modules), with a yellow star. */
[data-id="2f401aed"]::before,
[data-id="60eb89b1"]::before {
	content: "\2605";
	color: #f7c531;
	font-size: 1.25em;
	line-height: 1;
	margin-right: 8px;
	vertical-align: -0.08em;
}

@media (max-width: 767px) {
	[data-id="27aed0f9"] > [data-id="2f401aed"] {
		max-width: 100% !important;
		padding-left: 24px !important;
		padding-right: 24px !important;
		font-size: 18px !important;
	}

	[data-id="2f401aed"]::before,
	[data-id="60eb89b1"]::before {
		margin-right: 6px;
	}
}

@media (max-width: 767px) {
	[data-id="60eb89b1"] {
		padding-left: 24px !important;
		padding-right: 24px !important;
		font-size: 18px !important;
		white-space: nowrap;
	}
}
