/*
 * Theme Name: 321 Child Theme
 * Theme URI: https://www.321webmarketing.com/
 * Author: 321 Web Marketing
 * Author URI: https://www.321webmarketing.com/
 * Description: 321 inspired child theme for the Genesis Framework.
 * Version: 1.0.01
 * License: GPL-3.0-or-later
 * License URI: http://www.gnu.org/licenses/gpl-3.0.html
 * Text Domain: tto-child
 * Domain Path: /languages
 * Template: genesis
 */

@charset 'UTF-8';

/* ## Custom Theme CSS
--------------------------------------------- */

/*
 * Clayton Phillips Jiu Jitsu. Values come from the Claude Design export
 * (build-artifacts/design-export/v1). The design sizes with container units
 * on a 1440 frame; here 1cqw = 1vw. All sizes are px: tto-parent sets
 * html{font-size:62.5%}, so rem would render small.
 */

:root {
	--cpjj-paper: #FFFFFF;
	--cpjj-ink: #0E0E0E;
	--cpjj-ink-hover: #333333;
	--cpjj-mat: #F4F4F2;
	--cpjj-graphite: #5C5C5C;
	--cpjj-line: #E3E3E3;
	--cpjj-pink: #F7A8C8;
	--cpjj-head: 'Archivo', sans-serif;
	--cpjj-body: 'Inter', sans-serif;
	--cpjj-pad-x: clamp(20px, 5.5vw, 80px);
	--cpjj-pad-y: clamp(64px, 8vw, 128px);
	--theme-wrap-width: 100%;
	--theme-wrap-max-width: 100%;
}

/* ## Base
--------------------------------------------- */

body {
	background-color: var(--cpjj-paper);
	color: var(--cpjj-ink);
	font-family: var(--cpjj-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: inherit;
	font-family: var(--cpjj-head);
	font-weight: 800;
	letter-spacing: normal;
	line-height: 1.1;
	margin: 0;
}

p {
	margin: 0;
}

a {
	color: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Designed pages run edge to edge; blog contexts keep the house layout. */
body:not(.single-post):not(.blog):not(.archive):not(.search) .site-inner,
body:not(.single-post):not(.blog):not(.archive):not(.search) .content-sidebar-wrap,
body:not(.single-post):not(.blog):not(.archive):not(.search) .content,
body:not(.single-post):not(.blog):not(.archive):not(.search) .entry,
body:not(.single-post):not(.blog):not(.archive):not(.search) .entry-content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 0;
}

/* ## Shared pieces
--------------------------------------------- */

.cpjj-label {
	color: var(--cpjj-graphite);
	font-family: var(--cpjj-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-transform: uppercase;
	margin: 0;
}

.cpjj-num {
	font-family: var(--cpjj-head);
	font-size: clamp(80px, 11vw, 168px);
	font-weight: 800;
	letter-spacing: -0.06em;
	line-height: 0.78;
	margin: 0 0 clamp(28px, 3.5vw, 48px) -0.04em;
}

.cpjj-section h2 {
	font-size: clamp(36px, 4.4vw, 64px);
	letter-spacing: -0.025em;
	line-height: 1.02;
}

.cpjj-section h2.is-xl,
.cpjj-first-class h2,
.cpjj-why h2,
.cpjj-road h2 {
	text-wrap: balance;
}

.cpjj-section h2.is-xl {
	font-size: clamp(40px, 5vw, 76px);
	letter-spacing: -0.03em;
	line-height: 0.98;
}

:where(.cpjj-section) p {
	font-size: 17px;
	line-height: 1.65;
	text-wrap: pretty;
}

.cpjj-section .cpjj-sub {
	color: var(--cpjj-graphite);
	font-size: 18px;
	line-height: 1.6;
	max-width: 420px;
}

.cpjj-link a {
	display: flex;
	align-items: center;
	min-height: 44px;
	border-bottom: 1px solid var(--cpjj-ink);
	font-weight: 600;
	text-decoration: none;
}

/* Buttons: solid ink rectangles, inverted on dark bands. */
.cpjj-btn,
.cpjj-btns .wp-block-button__link,
.cpjj-section .gform_wrapper .gform_button,
.cpjj-section .gform_wrapper .gform_next_button,
.cpjj-section .gform_wrapper .gform_previous_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 56px;
	padding: 0 32px;
	background-color: var(--cpjj-ink);
	border: 1px solid var(--cpjj-ink);
	border-radius: 0;
	color: var(--cpjj-paper);
	font-family: var(--cpjj-body);
	font-size: 17px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cpjj-btn:hover,
.cpjj-btns .wp-block-button__link:hover {
	background-color: var(--cpjj-ink-hover);
	border-color: var(--cpjj-ink-hover);
	color: var(--cpjj-paper);
}

.cpjj-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}

.cpjj-btns .wp-block-button {
	margin: 0;
	background: none;
	border: 0;
}

.cpjj-btns .is-outline .wp-block-button__link,
.cpjj-btn--outline {
	height: 48px;
	padding: 0 24px;
	background-color: transparent;
	color: var(--cpjj-ink);
	font-size: 16px;
}

.cpjj-btns .is-outline .wp-block-button__link:hover,
.cpjj-btn--outline:hover {
	background-color: var(--cpjj-ink);
	color: var(--cpjj-paper);
}

.cpjj-btns .is-light .wp-block-button__link,
.cpjj-btn--light {
	background-color: var(--cpjj-paper);
	border-color: var(--cpjj-paper);
	color: var(--cpjj-ink);
}

.cpjj-btns .is-light .wp-block-button__link:hover,
.cpjj-btn--light:hover {
	background-color: var(--cpjj-line);
	border-color: var(--cpjj-line);
	color: var(--cpjj-ink);
}

.cpjj-btns .is-outline-light .wp-block-button__link {
	padding: 0 28px;
	background-color: transparent;
	border-color: var(--cpjj-paper);
	color: var(--cpjj-paper);
}

.cpjj-btns .is-outline-light .wp-block-button__link:hover {
	background-color: var(--cpjj-paper);
	color: var(--cpjj-ink);
}

/* Photos */
.cpjj-photo {
	position: relative;
	margin: 0;
	background-color: var(--cpjj-line);
	overflow: hidden;
}

.cpjj-photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cpjj-photo.is-portrait { aspect-ratio: 4 / 5; }
.cpjj-photo.is-square { aspect-ratio: 1 / 1; }
.cpjj-photo.is-coach { aspect-ratio: 4 / 5; }
.cpjj-photo.is-landscape { aspect-ratio: 3 / 2; }
.cpjj-photo.is-landing { aspect-ratio: 4 / 3; }

.cpjj-photo-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 5;
	background-color: #EBEBEA;
	border: 1px dashed #C9C9C6;
	text-align: center;
}

.cpjj-photo-ph .wp-block-group__inner-container {
	padding: 16px;
}

.cpjj-section .cpjj-photo-ph p {
	color: var(--cpjj-graphite);
	font-size: 12px;
	line-height: 1.4;
}

/* ## Advanced Columns scaffolding
--------------------------------------------- */

/* Every section is a 1-col gb-columns shell; the inner wrappers are plain blocks. */
.cpjj-section {
	position: relative;
	width: 100%;
	margin: 0;
	padding: var(--cpjj-pad-y) var(--cpjj-pad-x);
	background-color: var(--cpjj-paper);
	box-sizing: border-box;
}

.wp-block-genesis-blocks-gb-columns[class*='cpjj-'] > .gb-layout-column-wrap {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	gap: 0;
}

.wp-block-genesis-blocks-gb-columns[class*='cpjj-'] .gb-block-layout-column,
.wp-block-genesis-blocks-gb-columns[class*='cpjj-'] .gb-block-layout-column-inner {
	width: auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.cpjj-section.has-rule { border-bottom: 1px solid var(--cpjj-line); }
.cpjj-section.is-mat { background-color: var(--cpjj-mat); }
.cpjj-section.is-ink { background-color: var(--cpjj-ink); color: var(--cpjj-paper); }
.cpjj-section.is-ink .cpjj-label { color: var(--cpjj-paper); }
.cpjj-section.cpjj-hero-shell { padding: 0; }

/* Head row: headline left, aside right. */
.cpjj-head > .wp-block-group__inner-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.cpjj-head h2 {
	max-width: 720px;
}

.cpjj-head--text > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 720px;
}

/* Two-column splits (design: repeat(auto-fit, minmax(min(100%, Npx), 1fr))). */
.cpjj-split > .gb-layout-column-wrap {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: clamp(40px, 6vw, 96px) !important;
	align-items: center;
}

.cpjj-split > .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ## Header
--------------------------------------------- */

.top-nav-bar {
	display: block !important;
	min-height: 0;
	padding: 0;
	background-color: var(--cpjj-ink);
	color: var(--cpjj-paper);
	font-size: 13px;
	letter-spacing: 0.02em;
}

.top-nav-bar > .wrap {
	display: block;
	width: 100%;
	max-width: none;
	padding: 9px var(--cpjj-pad-x);
	box-sizing: border-box;
}

.top-nav-bar .widget,
.top-nav-bar .widget-wrap {
	margin: 0;
	padding: 0;
}

.top-nav-bar .widget-wrap {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
}

.top-nav-bar p,
.top-nav-bar a {
	color: var(--cpjj-paper);
	font-size: 13px !important;
	line-height: 1.15;
	margin: 0;
	text-decoration: none;
}

.site-header {
	position: relative;
	background-color: var(--cpjj-paper);
	border-bottom: 1px solid var(--cpjj-line);
	box-shadow: none;
	padding: 0;
	min-height: 0;
}

.site-header > .wrap {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 32px !important;
	width: 100%;
	max-width: none;
	padding: 18px var(--cpjj-pad-x);
	box-sizing: border-box;
}

.title-area {
	flex: 0 1 auto;
	width: auto !important;
	max-width: none;
	padding: 0;
	margin: 0;
}

.site-title {
	margin: 0;
	line-height: 1;
}

.site-description {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.cpjj-logo {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--cpjj-ink);
	text-decoration: none;
}

.cpjj-logo--mark {
	display: block;
	width: 48px;
	height: 48px;
}

.cpjj-logo--word {
	font-family: var(--cpjj-head);
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.05;
	white-space: nowrap;
}

.cpjj-mobile-call {
	display: none;
}

@media (min-width: 896px) {
	.nav-primary {
		flex: 0 1 auto;
	}

	.nav-primary > .wrap {
		justify-content: flex-end;
		gap: 36px;
	}

	.nav-primary .menu {
		flex: 0 1 auto;
		gap: 36px;
	}

	.nav-primary .menu > .menu-item {
		padding: 0;
	}

	.nav-primary .menu > .menu-item > a {
		color: var(--cpjj-ink);
		font-family: var(--cpjj-body);
		font-size: 16px !important;
		font-weight: 500;
		line-height: 1.5;
		text-decoration: none;
	}

	.nav-primary .menu > .menu-item > a:hover,
	.nav-primary .menu > .menu-item.current-menu-item > a {
		background: none;
		color: var(--cpjj-graphite);
	}

	.primary-header-ctas .widget,
	.primary-header-ctas .widget-wrap {
		margin: 0;
		padding: 0;
	}

	.cpjj-header-cta .wp-block-button__link {
		height: 48px;
		padding: 0 24px;
		font-size: 16px;
	}
}

/* ## Hero (homepage)
--------------------------------------------- */

.cpjj-hero {
	position: relative;
	height: clamp(640px, 56vw, 820px);
	background-color: var(--cpjj-graphite);
	overflow: hidden;
}

.cpjj-hero--media,
.cpjj-hero--scrim {
	position: absolute;
	inset: 0;
}

.cpjj-hero--photo {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cpjj-hero--focus-top .cpjj-hero--photo { object-position: center top; }
.cpjj-hero--focus-bottom .cpjj-hero--photo { object-position: center bottom; }
.cpjj-hero--focus-low .cpjj-hero--photo { object-position: center 55%; }

.cpjj-hero--scrim {
	/* Left-weighted (the text sits left) on top of a bottom fade, so white type stays
	   readable over bright walls while the right side of the photo stays lighter. */
	background:
		linear-gradient(90deg, rgba(14, 14, 14, 0.62) 0%, rgba(14, 14, 14, 0.42) 45%, rgba(14, 14, 14, 0.08) 80%, rgba(14, 14, 14, 0) 100%),
		linear-gradient(180deg, rgba(14, 14, 14, 0.2) 0%, rgba(14, 14, 14, 0.35) 40%, rgba(14, 14, 14, 0.88) 100%);
	pointer-events: none;
}

.cpjj-hero--content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 0 var(--cpjj-pad-x) clamp(40px, 5vw, 80px);
	color: var(--cpjj-paper);
}

.cpjj-hero--heading {
	max-width: 980px;
	font-size: clamp(48px, 8vw, 120px);
	letter-spacing: -0.035em;
	line-height: 0.95;
	text-wrap: balance;
}

.cpjj-hero--copy {
	max-width: 540px;
	font-size: clamp(18px, 1.5vw, 21px);
	line-height: 1.55;
	text-wrap: pretty;
}

.cpjj-hero--buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* ## Page hero (interior)
--------------------------------------------- */

.cpjj-page-hero--content {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: clamp(48px, 6vw, 96px) var(--cpjj-pad-x) clamp(40px, 4.5vw, 72px);
}

.cpjj-page-hero--row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 32px;
}

.cpjj-page-hero--heading {
	max-width: 1000px;
	font-size: clamp(48px, 7.6vw, 116px);
	letter-spacing: -0.035em;
	line-height: 0.95;
	text-wrap: balance;
}

.cpjj-page-hero--aside {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	max-width: 440px;
}

.cpjj-page-hero--copy {
	font-size: clamp(18px, 1.4vw, 20px);
	line-height: 1.55;
	text-wrap: pretty;
}

.cpjj-page-hero--media {
	position: relative;
	width: 100%;
	aspect-ratio: 21 / 8;
	min-height: 320px;
	background-color: var(--cpjj-line);
	overflow: hidden;
}

.cpjj-page-hero--photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.cpjj-page-hero--focus-top .cpjj-page-hero--photo { object-position: center 20%; }
.cpjj-page-hero--focus-bottom .cpjj-page-hero--photo { object-position: center bottom; }

/* ## First class steps
--------------------------------------------- */

.cpjj-first-class .cpjj-head > .wp-block-group__inner-container {
	margin-bottom: clamp(40px, 4.5vw, 72px);
}

.cpjj-first-class .cpjj-sub {
	max-width: 400px;
}

.cpjj-steps > .gb-layout-column-wrap,
.cpjj-flow-grid > .gb-layout-column-wrap,
.cpjj-belief-grid > .gb-layout-column-wrap {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-steps .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 28px 32px 8px 0 !important;
}

.cpjj-steps h3 {
	font-size: 28px;
	letter-spacing: -0.015em;
	line-height: 1.1;
}

.cpjj-steps p:not(.cpjj-label) {
	max-width: 380px;
}

/* ## Beginner path
--------------------------------------------- */

.cpjj-beginner .cpjj-photo {
	width: 100%;
	max-width: 560px;
}

.cpjj-beginner--row > .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner {
	gap: 28px;
}

.cpjj-path,
.cpjj-who-list,
.cpjj-rule-list,
.cpjj-promises {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cpjj-path li::marker,
.cpjj-who-list li::marker,
.cpjj-rule-list li::marker,
.cpjj-promises li::marker {
	content: none;
}

.cpjj-path {
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-path li {
	display: grid;
	grid-template-columns: minmax(120px, 160px) 1fr;
	gap: 20px;
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--cpjj-line);
	font-size: 17px;
	line-height: 1.55;
}

.cpjj-path strong {
	padding-top: 3px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.cpjj-beginner .cpjj-btns {
	align-self: flex-start;
}

/* ## House rules
--------------------------------------------- */

.cpjj-rules--row > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)) !important;
	align-items: start !important;
}

.cpjj-rules p:not(.cpjj-label):not(.cpjj-num) {
	max-width: 440px;
	font-size: 18px;
	line-height: 1.6;
}

.cpjj-rule-list {
	counter-reset: cpjj-rule;
	border-top: 1px solid var(--cpjj-paper);
}

.cpjj-rule-list li {
	display: grid;
	grid-template-columns: clamp(48px, 5vw, 72px) 1fr;
	gap: 16px;
	align-items: baseline;
	margin: 0;
	padding: clamp(16px, 1.6vw, 22px) 0;
	border-bottom: 1px solid var(--cpjj-graphite);
	counter-increment: cpjj-rule;
	font-family: var(--cpjj-head);
	font-size: clamp(24px, 2.6vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.cpjj-rule-list li::before {
	content: counter(cpjj-rule, decimal-leading-zero);
	position: static !important;
	font-family: var(--cpjj-head);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
}

/* ## Program cards
--------------------------------------------- */

.cpjj-program-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 8px;
}

.cpjj-program-card {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background-color: var(--cpjj-graphite);
	color: var(--cpjj-paper);
	text-decoration: none;
	overflow: hidden;
}

.cpjj-program-card--media,
.cpjj-program-card--scrim {
	position: absolute;
	inset: 0;
}

.cpjj-program-card--photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.cpjj-program-card:hover .cpjj-program-card--photo {
	transform: scale(1.03);
}

.cpjj-program-card--scrim {
	background: linear-gradient(180deg, rgba(14, 14, 14, 0) 40%, rgba(14, 14, 14, 0.85) 100%);
}

.cpjj-program-card--content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
}

.cpjj-program-card .cpjj-label {
	color: var(--cpjj-paper);
	font-size: 12px;
}

.cpjj-program-card--title {
	font-family: var(--cpjj-head);
	font-size: 34px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.cpjj-program-card--copy {
	font-size: 16px;
	line-height: 1.55;
	text-wrap: pretty;
}

/* ## Why CPJJ
--------------------------------------------- */

.cpjj-why--row > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important;
	align-items: start !important;
}

.cpjj-why--row > .gb-layout-column-wrap > .gb-block-layout-column:first-child p:not(.cpjj-label):not(.cpjj-num) {
	max-width: 460px;
	font-size: 18px;
	line-height: 1.65;
}

.cpjj-why--row > .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner {
	gap: 0;
}

.cpjj-why-item > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	padding: 24px 0;
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-section .cpjj-why-item--n {
	font-family: var(--cpjj-head);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.cpjj-why-item--text > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cpjj-why-item h3 {
	font-size: 24px;
	letter-spacing: -0.01em;
	line-height: 1.15;
}

.cpjj-why-item--text p {
	color: var(--cpjj-graphite);
	line-height: 1.6 !important;
}

/* ## Schedule
--------------------------------------------- */

.cpjj-schedule-preview .cpjj-head .cpjj-sub {
	max-width: none;
}

.cpjj-schedule--periods {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(24px, 3vw, 48px);
}

.cpjj-schedule--period-head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--cpjj-ink);
}

.cpjj-schedule--period-name {
	font-size: 26px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.cpjj-schedule--period-head .cpjj-label {
	font-size: 12px;
}

.cpjj-schedule--row {
	display: grid;
	grid-template-columns: 88px 1fr;
	gap: 12px;
	min-height: 44px;
	padding: 16px 0;
	border-bottom: 1px solid var(--cpjj-line);
	box-sizing: border-box;
}

.cpjj-schedule--time {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
}

.cpjj-schedule--detail {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cpjj-schedule--class {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}

.cpjj-schedule--days {
	color: var(--cpjj-graphite);
	font-size: 14px;
	line-height: 1.4;
}

.cpjj-section.cpjj-schedule-full {
	padding-top: 0;
}

.cpjj-schedule--filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 32px;
	padding: 24px 0;
	border-top: 1px solid var(--cpjj-ink);
	border-bottom: 1px solid var(--cpjj-line);
}

.cpjj-schedule--filter {
	height: 44px;
	padding: 0 18px;
	background-color: var(--cpjj-paper);
	border: 1px solid var(--cpjj-ink);
	border-radius: 0;
	color: var(--cpjj-ink);
	font-family: var(--cpjj-body);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.cpjj-schedule--filter.is-active,
.cpjj-schedule--filter:hover {
	background-color: var(--cpjj-ink);
	color: var(--cpjj-paper);
}

.cpjj-schedule--week {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
	grid-auto-flow: column;
	border-left: 1px solid var(--cpjj-line);
}

.cpjj-schedule--day {
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--cpjj-line);
}

.cpjj-schedule--day-name {
	padding: 14px 16px;
	border-bottom: 2px solid var(--cpjj-ink);
	font-size: 20px;
	line-height: 1.5;
}

.cpjj-schedule--day-name .is-long {
	display: none;
}

.cpjj-schedule--slot {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-height: 88px;
	padding: 16px;
	border-bottom: 1px solid var(--cpjj-line);
	box-sizing: border-box;
	transition: background-color 0.15s ease;
}

.cpjj-schedule--full .cpjj-schedule--time {
	color: var(--cpjj-graphite);
	font-size: 13px;
}

.cpjj-schedule--full .cpjj-schedule--class {
	font-size: 16px;
}

.cpjj-schedule--slot.is-off {
	background-color: var(--cpjj-mat);
}

.cpjj-schedule--slot.is-off .cpjj-schedule--class {
	color: var(--cpjj-graphite);
}

.cpjj-schedule--note {
	margin-top: 32px !important;
	color: var(--cpjj-graphite);
	font-size: 14px !important;
}

/* ## Meet Clayton
--------------------------------------------- */

.cpjj-clayton--row > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important;
	gap: clamp(32px, 6vw, 96px) !important;
}

.cpjj-clayton--row > .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner {
	gap: 24px;
}

.cpjj-clayton--row p:not(.cpjj-label) {
	max-width: 520px;
	font-size: 18px;
	line-height: 1.65;
}

.cpjj-quote {
	max-width: 520px;
	margin: 0;
	padding: 20px 0 0;
	border: 0;
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-section .cpjj-quote p {
	font-family: var(--cpjj-head);
	font-size: clamp(22px, 2vw, 28px) !important;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.25 !important;
}

.cpjj-clayton .cpjj-btns {
	align-self: flex-start;
}

/* ## Coaches
--------------------------------------------- */

.cpjj-coaches .cpjj-head .cpjj-sub {
	max-width: 420px;
}

.cpjj-coach-grid > .gb-layout-column-wrap,
.cpjj-review-grid > .gb-layout-column-wrap,
.cpjj-road--photos > .gb-layout-column-wrap,
.cpjj-kind-cards > .gb-layout-column-wrap {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: clamp(16px, 1.6vw, 24px) !important;
}

.cpjj-coach-grid .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.cpjj-coach-grid .cpjj-photo,
.cpjj-coach-grid .cpjj-photo-ph {
	margin-bottom: 8px;
	background-color: var(--cpjj-mat);
}

.cpjj-section .cpjj-coach--name {
	font-family: var(--cpjj-head);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.cpjj-coach-grid .cpjj-label {
	font-size: 12px;
}

.cpjj-section .cpjj-coach--bio {
	font-size: 16px;
	line-height: 1.55;
}

/* ## On the road
--------------------------------------------- */

.cpjj-section.cpjj-road {
	padding-left: 0;
	padding-right: 0;
	overflow: hidden;
}

.cpjj-road--intro > .wp-block-group__inner-container {
	padding: 0 var(--cpjj-pad-x);
}

.cpjj-road h2 {
	max-width: 760px !important;
	font-size: clamp(40px, 5vw, 76px) !important;
	letter-spacing: -0.03em !important;
	line-height: 0.98 !important;
}

.cpjj-road .cpjj-head > .wp-block-group__inner-container {
	margin-bottom: clamp(40px, 4.5vw, 64px);
}

.cpjj-road .cpjj-head .cpjj-sub {
	max-width: 440px;
	color: var(--cpjj-paper);
}

.cpjj-ticker {
	padding: clamp(18px, 2vw, 28px) 0;
	border-top: 1px solid var(--cpjj-graphite);
	border-bottom: 1px solid var(--cpjj-graphite);
	overflow: hidden;
}

.cpjj-ticker--track {
	display: inline-flex;
	white-space: nowrap;
	font-family: var(--cpjj-head);
	font-size: clamp(28px, 3.6vw, 56px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1;
	animation: cpjj-marquee var(--cpjj-ticker-speed, 40s) linear infinite;
}

.cpjj-ticker--run,
.cpjj-ticker--item {
	display: inline-flex;
	align-items: center;
}

.cpjj-ticker--item {
	gap: clamp(24px, 3vw, 48px);
	padding-right: clamp(24px, 3vw, 48px);
}

.cpjj-ticker--dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	background-color: var(--cpjj-paper);
	transform: rotate(45deg);
}

@keyframes cpjj-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.cpjj-ticker--track { animation: none; }
}

.cpjj-road--photos {
	padding: clamp(40px, 4.5vw, 64px) var(--cpjj-pad-x) 0;
}

.cpjj-road--photos > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	gap: 16px !important;
}

.cpjj-road--photos .cpjj-photo {
	display: flex;
	flex-direction: column;
	gap: 12px;
	aspect-ratio: auto;
	background: none;
	overflow: visible;
}

.cpjj-road--photos .cpjj-photo img {
	aspect-ratio: 4 / 5;
	height: auto;
	background-color: var(--cpjj-ink-hover);
}

.cpjj-road--photos figcaption {
	margin: 0;
	color: var(--cpjj-paper);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.4;
	text-align: left;
	text-transform: uppercase;
}

/* ## Reviews
--------------------------------------------- */

.cpjj-review-grid > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 16px !important;
}

.cpjj-review,
.cpjj-review > .wp-block-group__inner-container {
	height: 100%;
}

.cpjj-review > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	min-height: 280px;
	padding: 32px;
	background-color: var(--cpjj-paper);
	box-sizing: border-box;
}

.cpjj-section .cpjj-review--quote {
	font-size: 19px;
	line-height: 1.55;
}

.cpjj-review--meta > .wp-block-group__inner-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--cpjj-line);
}

.cpjj-section .cpjj-review--name {
	font-size: 16px;
	font-weight: 600;
}

.cpjj-review--meta .cpjj-label {
	font-size: 12px;
}

/* ## FAQ (reused tto-faq-accordion, a Bootstrap accordion)
--------------------------------------------- */

.cpjj-faq--row > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)) !important;
	gap: clamp(32px, 6vw, 96px) !important;
	align-items: start !important;
}

.cpjj-faq .cpjj-sub {
	max-width: none;
}

.cpjj-faq .cpjj-sub a {
	color: var(--cpjj-ink);
	font-weight: 600;
	text-decoration: none;
}

.cpjj-faq .faq-accordion-items {
	margin: 0;
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-faq .accordion {
	display: block;
	gap: 0;
	--bs-accordion-bg: transparent;
	--bs-accordion-border-width: 0;
	--bs-accordion-btn-focus-box-shadow: none;
}

.cpjj-faq .accordion-item {
	margin: 0;
	background: none;
	border: 0;
	border-bottom: 1px solid var(--cpjj-line);
	border-radius: 0 !important;
}

.cpjj-faq .accordion-header {
	margin: 0;
}

.cpjj-faq .accordion-button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	width: 100%;
	min-height: 72px;
	padding: 20px 0;
	background: none !important;
	border: 0;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--cpjj-ink) !important;
	font-family: var(--cpjj-head);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
}

.cpjj-faq .accordion-button > span:last-child svg {
	display: none !important;
}

.cpjj-faq .accordion-button > span:last-child {
	display: block !important;
	flex-shrink: 0;
	width: 24px;
	text-align: center;
}

.cpjj-faq .accordion-button > span:last-child::after {
	content: '−';
	font-family: var(--cpjj-body);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	transform: none !important;
}

.cpjj-faq .accordion-button.collapsed > span:last-child::after {
	content: '+';
}

@layer cpjj-overrides {
	.cpjj-faq .accordion-button {
		padding: 20px 0 !important;
	}

	@media (max-width: 895px) {
		.menu-toggle {
			width: 44px !important;
			max-width: 44px !important;
			height: 44px !important;
			margin: 0 !important;
			padding: 0 !important;
			background-color: var(--cpjj-ink) !important;
		}
	}
}

.cpjj-faq .accordion-body {
	padding: 0 48px 24px 0;
	font-size: 17px;
	line-height: 1.65;
}

.cpjj-faq .accordion-body p {
	margin: 0;
}

/* ## Free class band (before-footer widget area)
--------------------------------------------- */

.before-footer-widgets {
	margin: 0;
	padding: 0;
	background-color: var(--cpjj-ink);
}

.before-footer-widgets > .wrap,
.before-footer-widgets .widget,
.before-footer-widgets .widget-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.cpjj-band {
	position: relative;
	padding: clamp(80px, 10vw, 160px) var(--cpjj-pad-x);
	color: var(--cpjj-paper);
	box-sizing: border-box;
	overflow: hidden;
}

.cpjj-band > .wp-block-group__inner-container {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 820px;
}

.cpjj-band > .wp-block-group__inner-container {
	position: static;
}

/* Band photo fills the band behind a left-weighted scrim (text sits left). */
.cpjj-band--photo {
	position: absolute;
	inset: 0;
	margin: 0 !important;
	z-index: 0;
}

.cpjj-band--photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 60%;
}

.cpjj-band::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 0;
	background: linear-gradient(90deg, rgba(14, 14, 14, 0.9) 0%, rgba(14, 14, 14, 0.72) 45%, rgba(14, 14, 14, 0.35) 100%);
	pointer-events: none;
}

.cpjj-band > .wp-block-group__inner-container > :not(.cpjj-band--photo) {
	position: relative;
	z-index: 1;
}

.cpjj-band--title {
	max-width: 820px;
	font-size: clamp(44px, 6.4vw, 96px);
	letter-spacing: -0.03em;
	line-height: 0.98;
	text-wrap: balance;
}

.cpjj-band--copy {
	max-width: 560px;
	font-size: clamp(18px, 1.4vw, 20px);
	line-height: 1.6;
	text-wrap: pretty;
}

.cpjj-band .cpjj-btns {
	margin-top: 8px;
}

/* ## Footer
--------------------------------------------- */

.site-footer {
	margin: 0;
	padding: clamp(56px, 6vw, 96px) var(--cpjj-pad-x) 32px;
	background-color: var(--cpjj-paper);
	border: 0;
	color: var(--cpjj-ink);
	font-family: var(--cpjj-body);
	box-sizing: border-box;
}

.site-footer > .wrap,
.site-footer-widgets,
.site-footer-widgets .widget,
.site-footer-widgets .widget-wrap,
.site-footer-credits,
.site-footer-credits > .wrap,
.site-footer-credits .widget,
.site-footer-credits .widget-wrap {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
}

.cpjj-footer > .gb-layout-column-wrap {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: 40px !important;
	padding-bottom: 48px !important;
	border-bottom: 1px solid var(--cpjj-line);
}

.cpjj-footer .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 16px;
	line-height: 1.55;
}

.cpjj-footer .gb-block-layout-column:first-child .gb-block-layout-column-inner {
	gap: 16px;
}

.cpjj-footer p {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
}

.cpjj-footer .cpjj-label {
	font-size: 12px;
}

.cpjj-footer--logo img {
	display: block;
	width: 112px;
	height: 112px;
}

.cpjj-footer .cpjj-footer--name {
	font-family: var(--cpjj-head);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.1;
}

.cpjj-footer .cpjj-footer--muted {
	color: var(--cpjj-graphite);
}

.cpjj-footer--strong {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-weight: 600;
}

.cpjj-footer a {
	color: var(--cpjj-ink);
	text-decoration: none;
}

.cpjj-footer a:hover {
	color: var(--cpjj-graphite);
}

.cpjj-footer--map,
.cpjj-footer--map .google-map-embed--wrapper {
	position: relative;
	height: 100%;
	min-height: 200px;
	background-color: var(--cpjj-mat);
}

.cpjj-footer--map iframe,
.cpjj-map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1);
}

.site-footer-credits .widget-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-top: 24px;
	color: var(--cpjj-graphite);
	font-size: 14px;
}

.site-footer-credits p {
	margin: 0;
	font-size: 14px;
}

.cpjj-credits--menu .menu-widget--title,
.cpjj-credits--menu h3 {
	display: none;
}

.cpjj-credits--menu {
	flex: 0 0 auto;
}

.cpjj-credits--menu li a {
	white-space: nowrap;
}

.cpjj-credits--menu ul {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cpjj-credits--menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cpjj-credits--menu li::marker,
.cpjj-credits--menu li::before {
	content: none;
}

.cpjj-credits--menu a {
	color: var(--cpjj-graphite);
	font-size: 14px;
	text-decoration: none;
}

.cpjj-credits--menu a:hover {
	color: var(--cpjj-ink);
}

/* ## Program detail (adult, kids, kids competition)
--------------------------------------------- */

.cpjj-program-detail > .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: clamp(56px, 7vw, 112px);
}

.cpjj-who > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important;
	align-items: stretch !important;
}

.cpjj-who .cpjj-num,
.cpjj-flow .cpjj-num,
.cpjj-about .cpjj-num {
	margin-bottom: 12px;
}

.cpjj-who > .gb-layout-column-wrap > .gb-block-layout-column:first-child p:not(.cpjj-num) {
	max-width: 480px;
	font-size: 18px;
	line-height: 1.65;
}

.cpjj-who > .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner {
	justify-content: flex-end;
	height: 100%;
}

.cpjj-who-list {
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-who-list li {
	display: grid;
	grid-template-columns: minmax(140px, 200px) 1fr;
	gap: 20px;
	margin: 0;
	padding: 20px 0;
	border-bottom: 1px solid var(--cpjj-line);
	color: var(--cpjj-graphite);
	font-size: 17px;
	line-height: 1.55;
}

.cpjj-who-list strong {
	color: var(--cpjj-ink);
	font-family: var(--cpjj-head);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
}

.cpjj-flow > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cpjj-flow h2 {
	margin-bottom: 12px;
}

.cpjj-flow-grid > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	border-top-width: 2px;
}

.cpjj-flow-grid .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 24px 8px 0 !important;
}

.cpjj-flow-grid .cpjj-label,
.cpjj-belief-grid .cpjj-label {
	font-size: 12px;
}

.cpjj-flow-grid h3 {
	font-size: 24px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.cpjj-flow-grid p:not(.cpjj-label) {
	font-size: 16px !important;
	line-height: 1.6 !important;
}

.cpjj-kind-cards > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: 16px !important;
}

.cpjj-kind-cards .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-color: var(--cpjj-mat);
}

.cpjj-card--text > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px;
}

.cpjj-card--text h3 {
	font-size: 32px;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

/* ## About
--------------------------------------------- */

.cpjj-about > .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: clamp(64px, 8vw, 128px);
}

.cpjj-about--story > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)) !important;
	align-items: stretch !important;
}

.cpjj-about--story > .gb-layout-column-wrap > .gb-block-layout-column:last-child > .gb-block-layout-column-inner {
	justify-content: flex-end;
	height: 100%;
	max-width: 600px;
}

.cpjj-about--story > .gb-layout-column-wrap > .gb-block-layout-column:last-child p {
	font-size: 18px;
	line-height: 1.7;
}

.cpjj-beliefs > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cpjj-beliefs .cpjj-sub {
	max-width: 640px;
	margin-bottom: 12px !important;
}

.cpjj-belief-grid > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
	border-top-width: 2px;
}

.cpjj-belief-grid .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 32px 8px 0 !important;
}

.cpjj-belief-grid h3 {
	font-size: 26px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

.cpjj-belief-grid p {
	line-height: 1.6 !important;
}

/* Staggered class collage: 12-col grid, positions from the design. */
.cpjj-collage > .wp-block-group__inner-container {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-auto-rows: clamp(40px, 5vw, 72px);
	gap: clamp(8px, 1vw, 16px);
}

.cpjj-collage--item {
	position: relative;
	margin: 0;
	background-color: var(--cpjj-line);
	overflow: hidden;
}

.cpjj-collage--item img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cpjj-collage--item:nth-child(1) { grid-column: 1 / span 5; grid-row: 1 / span 6; }
.cpjj-collage--item:nth-child(2) { grid-column: 6 / span 3; grid-row: 2 / span 4; }
.cpjj-collage--item:nth-child(3) { grid-column: 9 / span 4; grid-row: 1 / span 3; }
.cpjj-collage--item:nth-child(4) { grid-column: 9 / span 4; grid-row: 4 / span 5; }
.cpjj-collage--item:nth-child(5) { grid-column: 2 / span 4; grid-row: 7 / span 4; }
.cpjj-collage--item:nth-child(6) { grid-column: 6 / span 3; grid-row: 6 / span 4; }

.cpjj-pink {
	padding-top: clamp(40px, 5vw, 72px) !important;
	border-top: 1px solid var(--cpjj-line);
}

.cpjj-pink > .gb-layout-column-wrap {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(24px, 4vw, 64px) !important;
	align-items: center;
}

.cpjj-pink .gb-block-layout-column:last-child .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.cpjj-pink--mark > .wp-block-group__inner-container {
	display: flex;
	align-items: center;
	gap: 20px;
}

.cpjj-pink--swatch {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 120px;
	height: 120px;
	background-color: var(--cpjj-pink);
}

.cpjj-pink--swatch img {
	display: block;
	width: 88px;
	height: 88px;
}

.cpjj-pink h3 {
	font-size: 32px;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.cpjj-pink p:not(.cpjj-label) {
	max-width: 560px;
	line-height: 1.6 !important;
}

/* ## Contact
--------------------------------------------- */

.cpjj-section.cpjj-contact {
	padding-top: 0;
}

.cpjj-contact--row > .gb-layout-column-wrap {
	align-items: start !important;
	padding-top: clamp(40px, 4vw, 64px) !important;
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-contact--row > .gb-layout-column-wrap > .gb-block-layout-column:first-child > .gb-block-layout-column-inner {
	gap: 32px;
}

.cpjj-contact--details > .gb-layout-column-wrap {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 28px !important;
}

.cpjj-contact--details .gb-block-layout-column-inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cpjj-contact--details .cpjj-label {
	font-size: 12px;
}

.cpjj-contact--details .cpjj-label ~ .cpjj-label {
	margin-top: 12px;
}

.cpjj-section .cpjj-contact--address {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
}

.cpjj-section .cpjj-contact--note {
	color: var(--cpjj-graphite);
	font-size: 15px;
	line-height: 1.5;
}

.cpjj-contact--phone a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-family: var(--cpjj-head);
	font-size: 28px;
	font-weight: 800;
	text-decoration: none;
}

.cpjj-hours .business-hours--list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.cpjj-hours .business-hours--item {
	margin: 0;
	list-style: none;
}

.cpjj-hours .business-hours--item::marker {
	content: none;
}

.cpjj-hours p {
	display: flex;
	gap: 8px;
	font-size: 16px !important;
	line-height: 1.6 !important;
}

.cpjj-hours .day {
	min-width: 88px;
	color: var(--cpjj-graphite);
}

.cpjj-map,
.cpjj-map .google-map-embed--wrapper {
	position: relative;
	aspect-ratio: 16 / 10;
	background-color: var(--cpjj-mat);
}

/* Form cards (contact + free class) */
.cpjj-form-card {
	align-self: start;
}

.cpjj-form-card > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: clamp(24px, 3vw, 40px);
	background-color: var(--cpjj-mat);
}

.cpjj-form-card h2 {
	font-size: 32px !important;
	letter-spacing: -0.02em !important;
	line-height: 1.2 !important;
}

.cpjj-form-card .cpjj-sub {
	max-width: none;
	font-size: 16px !important;
}

.cpjj-section .gform_wrapper.gravity-theme {
	margin: 0;
}

.cpjj-section .gform_wrapper.gravity-theme .gform_fields {
	row-gap: 20px;
	column-gap: 12px;
}

.cpjj-section .gform_wrapper.gravity-theme .gfield_label,
.cpjj-section .gform_wrapper.gravity-theme legend.gfield_label {
	margin-bottom: 6px;
	padding: 0;
	color: var(--cpjj-ink);
	font-family: var(--cpjj-body);
	font-size: 14px;
	font-weight: 600;
}

.cpjj-section .gform_wrapper.gravity-theme .gfield_required {
	display: none;
}

.cpjj-section .gform_wrapper.gravity-theme input[type='text'],
.cpjj-section .gform_wrapper.gravity-theme input[type='email'],
.cpjj-section .gform_wrapper.gravity-theme input[type='tel'],
.cpjj-section .gform_wrapper.gravity-theme select,
.cpjj-section .gform_wrapper.gravity-theme textarea {
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 14px;
	background-color: var(--cpjj-paper);
	border: 1px solid var(--cpjj-line);
	border-radius: 0;
	box-shadow: none;
	color: var(--cpjj-ink);
	font-family: var(--cpjj-body);
	font-size: 16px;
	box-sizing: border-box;
}

.cpjj-section .gform_wrapper.gravity-theme textarea {
	height: 120px;
	padding: 12px 14px;
	resize: vertical;
}

.cpjj-section .gform_wrapper.gravity-theme input:focus,
.cpjj-section .gform_wrapper.gravity-theme select:focus,
.cpjj-section .gform_wrapper.gravity-theme textarea:focus {
	border-color: var(--cpjj-ink);
	outline: none;
}

.cpjj-section .gform_wrapper.gravity-theme .gform_footer,
.cpjj-section .gform_wrapper.gravity-theme .gform_page_footer {
	display: flex;
	gap: 8px;
	margin: 20px 0 0;
	padding: 0;
}

.cpjj-section .gform_wrapper.gravity-theme .gform_button,
.cpjj-section .gform_wrapper.gravity-theme .gform_next_button {
	flex: 1;
	width: 100%;
	margin: 0 !important;
}

.cpjj-section .gform_wrapper.gravity-theme .gform_previous_button {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0 20px;
	background-color: transparent;
	color: var(--cpjj-ink);
	font-size: 16px;
}

.cpjj-section .gform_wrapper.gravity-theme .gform_ajax_spinner {
	display: none;
}

.cpjj-form-done {
	font-size: 17px;
	line-height: 1.6;
}

/* ## Free class landing (ads only)
--------------------------------------------- */

.cpjj-landing .site-header > .wrap,
body.cpjj-landing .site-header > .wrap {
	padding-top: 14px;
	padding-bottom: 14px;
}

body.cpjj-landing .cpjj-logo--mark {
	width: 44px;
	height: 44px;
}

body.cpjj-landing .cpjj-logo--word {
	font-size: 16px;
}

body.cpjj-landing .nav-primary,
body.cpjj-landing .menu-toggle,
body.cpjj-landing .cpjj-mobile-call {
	display: none !important;
}

.cpjj-landing-phone {
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--cpjj-ink);
	color: var(--cpjj-ink);
	font-weight: 600;
	text-decoration: none;
}

.cpjj-section.cpjj-landing {
	padding: clamp(32px, 5vw, 80px) var(--cpjj-pad-x);
}

.cpjj-landing--row > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)) !important;
	gap: clamp(32px, 5vw, 80px) !important;
	align-items: start !important;
}

.cpjj-landing--row > .gb-layout-column-wrap > .gb-block-layout-column:first-child > .gb-block-layout-column-inner {
	gap: 24px;
}

.cpjj-section .cpjj-landing--title {
	font-size: clamp(44px, 6vw, 92px);
	letter-spacing: -0.035em;
	line-height: 0.95;
	text-wrap: balance;
}

.cpjj-section .cpjj-lede {
	max-width: 480px;
	font-size: clamp(18px, 1.4vw, 20px);
	line-height: 1.55;
}

.cpjj-landing .cpjj-photo {
	max-width: 560px;
}

.cpjj-promises {
	max-width: 560px;
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-promises li {
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--cpjj-line);
	font-size: 16px;
	line-height: 1.5;
}

.cpjj-booking > .wp-block-group__inner-container {
	gap: 24px;
	padding: clamp(24px, 3vw, 48px);
}

.cpjj-form-step {
	margin: 0 0 4px !important;
	font-size: 30px !important;
	letter-spacing: -0.02em !important;
	line-height: 1.2 !important;
}

/* Gravity Forms step indicator -> three bars (design: Info / Class / Waiver). */
.cpjj-section .gform_wrapper.gravity-theme .gf_page_steps {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 8px;
	margin: 0 0 24px;
	padding: 0;
	border: 0;
}

.cpjj-section .gform_wrapper.gravity-theme .gf_step {
	display: flex;
	flex-direction: column-reverse;
	gap: 8px;
	margin: 0;
	padding-top: 12px;
	border-top: 4px solid var(--cpjj-line);
	opacity: 1;
}

.cpjj-section .gform_wrapper.gravity-theme .gf_step_active,
.cpjj-section .gform_wrapper.gravity-theme .gf_step_completed {
	border-top-color: var(--cpjj-ink);
}

.cpjj-section .gform_wrapper.gravity-theme .gf_step_number {
	display: none;
}

.cpjj-section .gform_wrapper.gravity-theme .gf_step_label {
	padding: 0;
	color: var(--cpjj-graphite);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.cpjj-section .gform_wrapper.gravity-theme .gf_step_active .gf_step_label,
.cpjj-section .gform_wrapper.gravity-theme .gf_step_completed .gf_step_label {
	color: var(--cpjj-ink);
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-sms .gchoice {
	display: flex;
	gap: 8px;
	align-items: flex-start;
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-sms label {
	color: var(--cpjj-graphite);
	font-size: 13px;
	line-height: 1.5;
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-class-choice .gfield_radio {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-class-choice .gchoice {
	position: relative;
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-class-choice input {
	position: absolute;
	opacity: 0;
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-class-choice label {
	display: flex;
	align-items: center;
	min-height: 56px;
	max-width: none;
	padding: 0 16px;
	background-color: var(--cpjj-paper);
	border: 1px solid var(--cpjj-line);
	font-size: 16px;
	cursor: pointer;
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-class-choice input:checked + label {
	border: 2px solid var(--cpjj-ink);
}

.cpjj-waiver {
	height: 180px;
	padding: 16px;
	overflow: auto;
	background-color: var(--cpjj-paper);
	border: 1px solid var(--cpjj-line);
	color: var(--cpjj-graphite);
	font-size: 14px;
	line-height: 1.6;
}

.cpjj-section .gform_wrapper.gravity-theme .ginput_container_consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	min-height: 44px;
	font-size: 15px;
}

.cpjj-section .gform_wrapper.gravity-theme .ginput_container_consent input {
	width: 22px;
	height: 22px;
	margin: 2px 0 0;
	accent-color: var(--cpjj-ink);
}

.cpjj-landing ~ .cpjj-reviews .cpjj-head > .wp-block-group__inner-container,
body.cpjj-landing .cpjj-reviews .cpjj-head > .wp-block-group__inner-container {
	margin-bottom: clamp(32px, 4vw, 56px);
}

body.cpjj-landing .site-footer {
	padding: 24px var(--cpjj-pad-x) 28px;
	border-top: 1px solid var(--cpjj-line);
}

/* ## Legal
--------------------------------------------- */

.cpjj-legal > .gb-layout-column-wrap {
	max-width: 760px !important;
	padding-top: clamp(40px, 4vw, 64px) !important;
	border-top: 1px solid var(--cpjj-ink);
}

.cpjj-legal h2 {
	margin: 40px 0 12px;
	font-size: 28px !important;
	letter-spacing: -0.015em !important;
}

.cpjj-legal h3 {
	margin: 24px 0 8px;
	font-size: 20px;
}

.cpjj-legal p,
.cpjj-legal li {
	margin: 0 0 12px;
	font-size: 17px;
	line-height: 1.65;
}

.cpjj-legal ul {
	margin: 0 0 16px;
	padding-left: 22px;
}

/* ## Sticky mobile CTA
--------------------------------------------- */

.cpjj-sticky-cta {
	display: none;
}

/* ## Mobile header + nav
--------------------------------------------- */

@media (max-width: 895px) {
	.site-header {
		display: block;
		padding: 0;
	}

	.site-header > .wrap {
		gap: 12px !important;
		padding: 10px 20px;
	}

	.cpjj-logo {
		gap: 10px;
	}

	.cpjj-logo--mark {
		width: 40px;
		height: 40px;
	}

	.cpjj-logo--word {
		font-size: 15px;
	}

	.cpjj-mobile-call {
		display: flex;
		align-items: center;
		height: 44px;
		margin-left: auto;
		padding: 0 14px;
		border: 1px solid var(--cpjj-ink);
		color: var(--cpjj-ink);
		font-size: 15px;
		font-weight: 600;
		text-decoration: none;
	}

	.menu-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 44px !important;
		max-width: 44px;
		height: 44px;
		margin: 0 !important;
		padding: 0 !important;
		background-color: var(--cpjj-ink) !important;
	}

	.menu-toggle .hamburger-icon,
	.menu-toggle .hamburger-icon::before,
	.menu-toggle .hamburger-icon::after {
		width: 18px;
		height: 2px;
		border-radius: 0;
	}

	.menu-toggle .hamburger-icon {
		background-color: transparent;
	}

	.menu-toggle .hamburger-icon::before,
	.menu-toggle .hamburger-icon::after {
		background-color: var(--cpjj-paper);
	}

	.menu-toggle .hamburger-icon::before { top: -3.5px; }
	.menu-toggle .hamburger-icon::after { bottom: -3.5px; }
	.menu-toggle.active .hamburger-icon::before { top: 0; }
	.menu-toggle.active .hamburger-icon::after { bottom: 0; }

	.nav-primary .menu {
		padding: 0 20px 32px;
		border-bottom: 1px solid var(--cpjj-line);
	}

	.nav-primary .menu > .menu-item > a {
		color: var(--cpjj-ink);
		font-family: var(--cpjj-head);
		font-size: 28px !important;
		font-weight: 800;
		line-height: 1.2;
		text-decoration: none;
	}

	.nav-primary .primary-header-ctas {
		padding: 0 20px;
	}

	.cpjj-header-cta,
	.cpjj-header-cta .wp-block-button,
	.cpjj-header-cta .wp-block-button__link {
		width: 100%;
	}

	.cpjj-schedule--week {
		display: flex;
		flex-direction: column;
		gap: 28px;
		border: 0;
	}

	.cpjj-schedule--day {
		border: 0;
	}

	.cpjj-schedule--day.is-empty,
	.cpjj-schedule--slot.is-off {
		display: none;
	}

	.cpjj-schedule--day-name {
		padding: 0 0 10px;
		font-size: 24px;
	}

	.cpjj-schedule--day-name .is-short { display: none; }
	.cpjj-schedule--day-name .is-long { display: inline; }

	.cpjj-schedule--slot {
		display: grid;
		grid-template-columns: 100px 1fr;
		gap: 12px;
		min-height: 48px;
		padding: 14px 0;
	}

	.cpjj-schedule--full .cpjj-schedule--time .is-period {
		display: none;
	}
}

@media (max-width: 767px) {
	.cpjj-sticky-cta {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 900;
		display: block;
		padding: 12px 16px;
		background-color: var(--cpjj-paper);
		border-top: 1px solid var(--cpjj-line);
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
	}

	.cpjj-sticky-cta .cpjj-btn {
		width: 100%;
		height: 52px;
	}

	.site-container {
		padding-bottom: 77px;
	}


	.cpjj-collage > .wp-block-group__inner-container {
		grid-auto-rows: 36px;
	}

	.cpjj-faq .accordion-button {
		font-size: 19px;
	}

	.cpjj-band::after {
		background: rgba(14, 14, 14, 0.78);
	}
}

/* Free class steps read "01 · Info" like the design. */
.cpjj-section .gform_wrapper.gravity-theme .gf_page_steps {
	counter-reset: cpjj-step;
}

.cpjj-section .gform_wrapper.gravity-theme .gf_step {
	counter-increment: cpjj-step;
}

.cpjj-section .gform_wrapper.gravity-theme .gf_step_label::before {
	content: counter(cpjj-step, decimal-leading-zero) ' · ';
}

@media (max-width: 767px) {
	.cpjj-credits--menu {
		flex: 1 1 100%;
	}

	.cpjj-credits--menu ul {
		gap: 8px 20px;
	}
}

/* Schedule summary (exact times not published yet) */
.cpjj-schedule--row.is-summary {
	grid-template-columns: 1fr;
}

.cpjj-schedule--calendar {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid var(--cpjj-line);
}

.cpjj-section .cpjj-schedule--calendar-copy {
	max-width: 560px;
	font-size: 18px;
	line-height: 1.6;
}

.cpjj-schedule--calendar-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.cpjj-schedule--calendar-buttons .cpjj-btn--outline {
	height: 56px;
	padding: 0 28px;
	font-size: 17px;
}

.cpjj-footer--strong {
	gap: 6px;
}

/* ## Sticky header
--------------------------------------------- */

/* The top bar scrolls away; the logo/nav row stays pinned. */
.site-header {
	position: sticky;
	top: 0;
	z-index: 950;
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

/* ## Programs dropdown
--------------------------------------------- */

@media (min-width: 896px) {
	/* Stretch the hover area to the header's bottom edge so the panel can sit flush under it. */
	.nav-primary .menu > .menu-item-has-children {
		margin: -30px 0;
		padding: 30px 0;
	}

	.nav-primary .menu > .menu-item > a > span {
		display: inline-flex !important;
		align-items: center;
		gap: 6px;
	}

	.nav-primary .menu .dropdown-icon,
	.nav-primary .menu .dropdown-icon svg {
		display: inline-flex;
		width: 10px !important;
		height: 10px !important;
		color: currentColor;
	}

	.nav-primary .menu > .menu-item > .sub-menu {
		top: 100% !important;
		min-width: 220px;
		padding: 8px 0;
		gap: 0;
		background-color: var(--cpjj-paper);
		border: 1px solid var(--cpjj-line);
		border-top: 2px solid var(--cpjj-ink);
		box-shadow: 0 12px 24px rgba(14, 14, 14, 0.08);
		clip-path: none;
		transform: none !important;
		transition: none !important;
	}

	.nav-primary .menu > .menu-item:hover > .sub-menu,
	.nav-primary .menu > .menu-item:focus-within > .sub-menu {
		left: -20px;
		opacity: 1;
		pointer-events: all;
	}

	.nav-primary .menu .sub-menu .menu-item {
		margin: 0;
		padding: 0;
	}

	.nav-primary .menu .sub-menu .menu-item a {
		display: block;
		width: 100%;
		padding: 10px 20px;
		color: var(--cpjj-ink);
		font-family: var(--cpjj-body);
		font-size: 15px !important;
		font-weight: 500;
		line-height: 1.4;
		text-decoration: none;
		white-space: nowrap;
	}

	.nav-primary .menu .sub-menu .menu-item a:hover,
	.nav-primary .menu .sub-menu .current-menu-item > a {
		background-color: var(--cpjj-mat);
	}

	.nav-primary .sub-menu-toggle {
		display: none !important;
	}
}

@media (max-width: 895px) {
	.nav-primary .menu > .menu-item-has-children {
		align-items: center;
	}

	.nav-primary .sub-menu-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		background: none;
		border: 1px solid var(--cpjj-line);
		color: var(--cpjj-ink);
	}

	.nav-primary .sub-menu-toggle svg {
		color: var(--cpjj-ink);
	}

	.nav-primary .menu .sub-menu {
		padding-left: 16px;
		border-left: 2px solid var(--cpjj-ink);
	}

	.nav-primary .menu .sub-menu .menu-item a {
		color: var(--cpjj-ink);
		font-size: 18px !important;
		font-weight: 600;
		text-decoration: none;
	}
}

.cpjj-section h2.cpjj-schedule--period-name {
	font-size: 26px;
	letter-spacing: -0.01em;
	line-height: 1.2;
}

@media (max-width: 767px) {
	/* Give the copy column room on phones (labels are short). */
	.cpjj-who-list li {
		grid-template-columns: minmax(96px, 120px) 1fr;
		gap: 14px;
	}

	.cpjj-who-list strong {
		font-size: 17px;
	}
}

/* Genesis Blocks names grid areas ("col1 col2 …"), which pin the column count
   and stop the auto-fit grids above from stacking on tablets. Clear them. */
.wp-block-genesis-blocks-gb-columns[class*='cpjj-'] > .gb-layout-column-wrap {
	grid-template-areas: none;
	grid-template-rows: auto;
}

.wp-block-genesis-blocks-gb-columns[class*='cpjj-'] > .gb-layout-column-wrap > .gb-block-layout-column {
	grid-area: auto;
}

/* Page hero label rendered inside the H1 (SEO) keeps the eyebrow look. */
.cpjj-page-hero--label {
	display: block;
	margin-bottom: 24px;
	letter-spacing: 0.14em;
}

.cpjj-page-hero--title {
	display: block;
}

/* Links inside body copy read as links (buttons and styled links keep their own look). */
:where(.cpjj-section) :where(p, li, .accordion-body) a:where(:not(.wp-block-button__link):not(.cpjj-btn)) {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

@media (max-width: 767px) {
	.cpjj-path li {
		grid-template-columns: minmax(88px, 110px) 1fr;
		gap: 14px;
	}
}


/* ## Ads landing page (/free-class/)
--------------------------------------------- */

html {
	scroll-behavior: smooth;
}

#free-class-form {
	scroll-margin-top: 100px;
}

.cpjj-landing--title .cpjj-page-hero--label {
	margin-bottom: 20px;
}

.cpjj-section .cpjj-landing--trust {
	color: var(--cpjj-graphite);
	font-size: 14px;
	line-height: 1.5;
}

.cpjj-section.cpjj-landing-photos {
	padding-top: 0;
}

.cpjj-landing-photos .cpjj-road--photos {
	padding: 0;
}

.cpjj-landing-photos .cpjj-road--photos figcaption {
	color: var(--cpjj-ink);
}

.cpjj-section.cpjj-landing-cta {
	padding: 0;
	background-color: var(--cpjj-ink);
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-form-legal p {
	color: var(--cpjj-graphite);
	font-size: 13px;
	line-height: 1.5;
}

.cpjj-section .gform_wrapper.gravity-theme .cpjj-form-legal a {
	color: var(--cpjj-ink);
	text-decoration: underline;
}

.cpjj-landing-footer {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	color: var(--cpjj-graphite);
	font-size: 14px;
}

.cpjj-landing-footer p {
	margin: 0;
}

.cpjj-landing-footer a {
	color: var(--cpjj-ink);
}

@media (max-width: 767px) {
	/* Phones: the form comes right after the headline and promises. */
	.cpjj-landing .cpjj-photo.is-landing {
		display: none;
	}

	.cpjj-sticky-cta.is-landing {
		display: flex;
		gap: 8px;
		transition: transform 0.2s ease;
	}

	.cpjj-sticky-cta.is-landing .cpjj-btn {
		flex: 1;
	}

	.cpjj-sticky-cta.is-landing .cpjj-btn--outline {
		flex: 0 0 auto;
		height: 52px;
		padding: 0 20px;
		font-size: 17px;
	}

	/* Hidden while the form itself is on screen. */
	.cpjj-sticky-cta.is-tucked {
		transform: translateY(110%);
	}
}

.cpjj-landing-phone {
	white-space: nowrap;
}

@media (max-width: 767px) {
	body.cpjj-landing .site-header > .wrap {
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.cpjj-landing-phone {
		padding: 0 12px;
		font-size: 15px;
	}

	/* Three-up photo row instead of three full-width stacks. */
	.cpjj-landing-photos .cpjj-road--photos > .gb-layout-column-wrap {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		gap: 6px !important;
	}

	.cpjj-landing-photos .cpjj-road--photos figcaption {
		font-size: 10px;
		letter-spacing: 0.08em;
	}
}

/* Ads landing: keep form beside the copy down to small laptops; once stacked, drop the photo
   so the form follows the headline. */
.cpjj-landing--row > .gb-layout-column-wrap {
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)) !important;
}

@media (max-width: 959px) {
	.cpjj-landing .cpjj-photo.is-landing {
		display: none;
	}
}

@media (max-width: 767px) {
	.cpjj-sticky-cta.is-landing .cpjj-btn {
		width: auto;
		min-width: 0;
	}
}
