/*
 * CPM Realty brand layer for Blocksy (Brand Guidelines 2026).
 *
 * Colour: Navy leads (30%), White/Stone fill (60%), Brass stays rare (rules,
 * key figures, phone numbers). Type: Archivo semi-expanded for headings and
 * labels, Instrument Sans for body copy.
 */

/* ---------- Tokens ---------- */

:root {
	--cpm-navy: #1B4164;
	--cpm-navy-deep: #13304B;
	--cpm-slate: #53607D;
	--cpm-brass: #D4A24C;
	--cpm-deep-brass: #8A6420;
	--cpm-charcoal: #2B2F38;
	--cpm-stone: #F5F3EF;
	--cpm-stone-line: #E4DFD5;
	--cpm-white: #FFFFFF;

	--cpm-head: Archivo, "Arial Narrow", Arial, sans-serif;
	--cpm-body: "Instrument Sans", Arial, sans-serif;
	--cpm-stretch: 112.5%; /* Archivo semi-expanded */

	--cpm-wrap: 1240px;
	--cpm-gutter: clamp(20px, 4vw, 40px);
	--cpm-section: clamp(32px, 4vw, 56px);
	--cpm-radius: 4px;

	/* List bullet: a small isometric block from the mark (Brand Guidelines §09), in the
	   2026 accents: Brass top, Deep Brass left, the midpoint of the two on the right. */
	--cpm-bullet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23D4A24C' d='M12 2.5 21 7.5 12 12.5 3 7.5z'/%3E%3Cpath fill='%238A6420' d='M3 8.6 11.4 13.3V22L3 17.3z'/%3E%3Cpath fill='%23AF8336' d='M21 8.6 12.6 13.3V22L21 17.3z'/%3E%3C/svg%3E");
}

/* Blocksy variables: body, headings and buttons in brand type and colour. */
html:root {
	--theme-palette-color-1: #1B4164;
	--theme-palette-color-2: #13304B;
	--theme-palette-color-3: #2B2F38;
	--theme-palette-color-4: #1B4164;
	--theme-palette-color-5: #E4DFD5;
	--theme-palette-color-6: #F5F3EF;
	--theme-palette-color-7: #FFFFFF;
	--theme-palette-color-8: #FFFFFF;
	--theme-font-family: var(--cpm-body);
	--theme-font-size: 17px;
	--theme-line-height: 1.6;
	--theme-text-color: var(--cpm-charcoal);
	--theme-headings-color: var(--cpm-navy);
	--theme-heading-color: var(--cpm-navy);
	--theme-link-initial-color: var(--cpm-navy);
	--theme-link-hover-color: var(--cpm-deep-brass);
	--theme-border-color: var(--cpm-stone-line);
	--theme-button-font-family: var(--cpm-head);
	--theme-button-font-weight: 600;
	--theme-button-font-size: 15px;
	--theme-button-text-transform: none;
	--theme-button-letter-spacing: 0.01em;
	--theme-button-background-initial-color: var(--cpm-navy);
	--theme-button-background-hover-color: var(--cpm-navy-deep);
	--theme-button-text-initial-color: var(--cpm-white);
	--theme-button-text-hover-color: var(--cpm-white);
	--theme-button-border-radius: var(--cpm-radius);
	--theme-button-min-height: 48px;
	--theme-button-padding: 0 26px;
}

body {
	background-color: var(--cpm-white);
	font-family: var(--cpm-body);
	color: var(--cpm-charcoal);
	-webkit-font-smoothing: antialiased;
}

/* ---------- Type scale (Brand Guidelines §06) ---------- */

h1, h2, h3, h4, h5, h6,
.wp-block-heading {
	--theme-font-family: var(--cpm-head);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	color: var(--cpm-navy);
	letter-spacing: -0.01em;
	text-wrap: balance;
}

h1 { --theme-font-size: clamp(2rem, 3.4vw, 2.5rem); --theme-font-weight: 700; font-size: clamp(2rem, 3.4vw, 2.5rem); font-weight: 700; line-height: 1.15; }
h2 { --theme-font-size: clamp(1.5rem, 2.4vw, 1.75rem); --theme-font-weight: 600; font-size: clamp(1.5rem, 2.4vw, 1.75rem); font-weight: 600; line-height: 1.25; }
h3 { --theme-font-size: 1.25rem; --theme-font-weight: 600; font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.0625rem; font-weight: 600; }

p { text-wrap: pretty; }

/* Hero display headline: the Feature Stat size (56px). */
.cpm-display {
	font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
	line-height: 1.08;
	font-weight: 700;
}

.cpm-lead,
.cpm-lead p {
	font-size: clamp(1.125rem, 1.6vw, 1.25rem);
	line-height: 1.6;
}

/* Label style: Archivo SemiBold caps, +8% tracking. Typed in Title Case. */
.cpm-label,
.cpm-eyebrow {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.8125rem;
	line-height: 1.4;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cpm-deep-brass);
	margin: 0 0 0.5rem;
}

.cpm-eyebrow::before {
	content: "";
	display: inline-block;
	width: 28px;
	height: 2px;
	margin-right: 12px;
	vertical-align: middle;
	background: currentColor;
}

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

html [data-header*="type-1"] .ct-header [data-row*="middle"] {
	--height: 80px;
	--theme-border-bottom: 1px solid var(--cpm-stone-line);
}

@media (max-width: 999.98px) {
	html [data-header*="type-1"] .ct-header [data-row*="middle"] { --height: 64px; }
}

/* Sticky header (Blocksy Pro's sticky option isn't available on the free theme). */
html {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + 80px);
}

#header.ct-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
	background: var(--cpm-white);
	transition: box-shadow 0.2s ease;
}

#header.ct-header [data-row*="middle"] {
	transition: height 0.2s ease;
}

#header.ct-header .site-logo-container img {
	transition: max-height 0.2s ease;
}

#header.cpm-is-scrolled {
	box-shadow: 0 8px 24px -16px rgba(27, 65, 100, 0.45);
}

html [data-header*="type-1"] #header.cpm-is-scrolled [data-row*="middle"] {
	--height: 64px;
}

#header.cpm-is-scrolled .site-logo-container img {
	max-height: 40px;
}

/* The WordPress admin bar stops being fixed on small screens. */
@media (max-width: 600px) {
	#header.ct-header { top: 0; }
}

.ct-header .site-logo-container {
	display: flex;
	align-items: center;
	line-height: 0;
}

.ct-header .site-logo-container img {
	display: block;
	width: auto;
	max-height: 52px;
}

.ct-header .site-title-container {
	display: none;
}

/* Main navigation: semi-expanded Archivo, Brass underline on hover and for the current page. */
.ct-header [data-id="menu"] {
	--menu-items-spacing: 28px;
}

.ct-header [data-id="menu"] > ul > li > .ct-menu-link {
	position: relative;
	text-transform: none;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 15.5px;
	letter-spacing: 0.015em;
	color: var(--cpm-navy);
	transition: color 0.2s ease;
}

.ct-header [data-id="menu"] > ul > li:not(.cpm-menu-phone):not(.cpm-menu-inquiry) > .ct-menu-link::after {
	content: "";
	position: absolute;
	left: calc(var(--menu-items-spacing) / 2);
	right: calc(var(--menu-items-spacing) / 2);
	bottom: calc(50% - 17px);
	height: 2px;
	background: var(--cpm-brass);
	opacity: 1 !important;
	transform: scaleX(0) !important;
	transform-origin: left center;
	transition: transform 0.25s ease !important;
}

.ct-header [data-id="menu"] > ul > li > .ct-menu-link:hover,
.ct-header [data-id="menu"] > ul > .current-menu-item > .ct-menu-link,
.ct-header [data-id="menu"] > ul > .current-menu-ancestor > .ct-menu-link {
	color: var(--cpm-navy);
}

.ct-header [data-id="menu"] > ul > li:not(.cpm-menu-phone):not(.cpm-menu-inquiry) > .ct-menu-link:hover::after,
.ct-header [data-id="menu"] > ul > li:not(.cpm-menu-phone):not(.cpm-menu-inquiry) > .ct-menu-link:focus-visible::after,
.ct-header [data-id="menu"] > ul > li.current-menu-item:not(.cpm-menu-phone) > .ct-menu-link::after,
.ct-header [data-id="menu"] > ul > li.current-menu-ancestor:not(.cpm-menu-phone) > .ct-menu-link::after {
	transform: scaleX(1) !important;
}

/* Header calls to action: divider, phone (handset icon, text), Start an Inquiry (button). */
.ct-header .cpm-menu-phone {
	position: relative;
	display: flex;
	align-items: center;
	margin-left: 8px;
	padding-left: 22px;
}

.ct-header .cpm-menu-phone::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 28px;
	transform: translateY(-50%);
	background: var(--cpm-stone-line);
}

.ct-header .cpm-menu-phone > .ct-menu-link {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 0 12px 0 0 !important;
	color: var(--cpm-navy) !important;
	font-size: 15px;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.ct-header .cpm-menu-phone > .ct-menu-link:hover {
	color: var(--cpm-deep-brass) !important;
}

.ct-header .cpm-menu-phone > .ct-menu-link::before {
	content: "";
	position: static !important;
	opacity: 1 !important;
	flex: none;
	width: 15px;
	height: 15px;
	background: var(--cpm-deep-brass);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ct-header .cpm-menu-inquiry {
	display: flex;
	align-items: center;
	margin-left: 4px;
}

.ct-header .cpm-menu-inquiry > .ct-menu-link {
	display: inline-flex !important;
	align-items: center;
	height: 42px !important;
	padding: 0 20px !important;
	border-radius: var(--cpm-radius);
	background: var(--cpm-navy);
	color: var(--cpm-white) !important;
	font-size: 15px;
	letter-spacing: 0.01em;
	transition: background 0.2s ease;
}

.ct-header .cpm-menu-inquiry > .ct-menu-link:hover {
	background: var(--cpm-navy-deep);
}

.ct-header .cpm-menu-inquiry > .ct-menu-link::after,
.ct-header .cpm-menu-phone > .ct-menu-link::after {
	display: none !important;
}

/* Desktop header between 1000 and 1360px: tighten so everything fits on one
   line (folding into "More" is turned off in functions.php). */
@media (min-width: 1000px) and (max-width: 1359.98px) {
	.ct-header [data-id="menu"] { --menu-items-spacing: 20px; }
	.ct-header [data-id="menu"] > ul > li > .ct-menu-link { font-size: 14.5px; }
	.ct-header .cpm-menu-phone { padding-left: 16px; margin-left: 4px; }
	.ct-header .cpm-menu-phone > .ct-menu-link { padding-right: 4px !important; }
	/* Phone becomes its handset icon; the link keeps "Call 416.255.0707" for screen readers. */
	.ct-header .cpm-menu-phone__number {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.ct-header .cpm-menu-phone > .ct-menu-link::before { width: 18px; height: 18px; }
	.ct-header .site-logo-container img { max-height: 46px; }
}

@media (min-width: 1000px) and (max-width: 1139.98px) {
	.ct-header [data-id="menu"] { --menu-items-spacing: 14px; }
	.ct-header .cpm-menu-inquiry > .ct-menu-link { padding: 0 14px !important; }
	.ct-header .site-logo-container img { max-height: 42px; }
}

@media (min-width: 1000px) and (max-width: 1059.98px) {
	.ct-header [data-id="menu"] { --menu-items-spacing: 10px; }
	.ct-header [data-id="menu"] > ul > li > .ct-menu-link { font-size: 14px; }
	.ct-header .site-logo-container img { max-height: 38px; }
}

/* Header search only searched blog posts; not useful to visitors. */
.ct-header .ct-header-search,
.ct-header [data-id="search"] {
	display: none !important;
}

/* ---------- Page canvas ---------- */

/* Pages built from blocks run edge to edge; sections set their own spacing. */
.page .entry-content > .alignfull {
	margin-block: 0 !important;
}

.page article > .entry-content {
	margin-top: 0;
}

.cpm-wrap {
	max-width: calc(var(--cpm-wrap) + 2 * var(--cpm-gutter));
	margin-inline: auto;
	padding-inline: var(--cpm-gutter);
}

/* Section: full-width band with consistent rhythm. */
.cpm-section {
	padding-block: var(--cpm-section) !important;
	padding-inline: var(--cpm-gutter) !important;
}

.cpm-section > * {
	max-width: var(--cpm-wrap);
	margin-inline: auto !important;
}

.cpm-section--tight {
	padding-block: clamp(28px, 3.5vw, 44px) !important;
}

.cpm-section-head {
	margin-bottom: clamp(20px, 2.5vw, 32px) !important;
}

.cpm-section-head > :last-child,
.cpm-section .wp-block-column > :last-child {
	margin-bottom: 0;
}

.cpm-section-head-row {
	margin-bottom: clamp(16px, 2vw, 24px) !important;
}

.cpm-section-head-row h2,
.cpm-section-head-row p {
	margin-bottom: 0;
}

.cpm-section-head > * {
	max-width: 760px;
}

.cpm-section-head.has-text-align-center,
.cpm-section-head--center {
	margin-inline: auto !important;
	text-align: center;
}

.cpm-section-head--center .cpm-eyebrow::before {
	display: none;
}

/* Navy band: reversed type, Brass only for labels and figures. */
.has-navy-background-color {
	color: rgba(255, 255, 255, 0.86);
}

.has-navy-background-color :is(h1, h2, h3, h4, .wp-block-heading) {
	color: var(--cpm-white);
}

.has-navy-background-color .cpm-eyebrow,
.has-navy-background-color .cpm-label,
.has-navy-background-color .cpm-stat__figure {
	color: var(--cpm-brass);
}

.has-navy-background-color a:not(.wp-element-button) {
	color: var(--cpm-white);
	text-decoration-color: var(--cpm-brass);
}

.has-stone-background-color {
	color: var(--cpm-charcoal);
}

/* ---------- Hero ---------- */

.cpm-hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(28px, 3.5vw, 48px) !important;
	padding-inline: var(--cpm-gutter) !important;
}

.cpm-hero > .wp-block-columns {
	max-width: var(--cpm-wrap);
	margin-inline: auto;
	gap: clamp(32px, 5vw, 72px);
	align-items: center !important;
}

.cpm-hero .wp-block-buttons {
	margin-top: 24px;
}

.cpm-hero .cpm-display {
	margin-block: 0 16px;
}

.cpm-hero .cpm-lead {
	margin-bottom: 0;
}

/* Subtle isometric pattern from the mark (§09 Graphics: flat, secondary). */
.cpm-pattern {
	background-image:
		linear-gradient(30deg, rgba(255, 255, 255, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.035) 87.5%),
		linear-gradient(150deg, rgba(255, 255, 255, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(255, 255, 255, 0.035) 87.5%);
	background-size: 64px 112px;
}

.has-stone-background-color.cpm-pattern {
	background-image:
		linear-gradient(30deg, rgba(83, 96, 125, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(83, 96, 125, 0.05) 87.5%),
		linear-gradient(150deg, rgba(83, 96, 125, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(83, 96, 125, 0.05) 87.5%);
}

/* Compact page hero (listing and utility pages). */
.cpm-hero--compact {
	padding-block: clamp(24px, 3vw, 40px) !important;
}

.cpm-hero--compact {
	display: grid;
	grid-template-columns: minmax(0, var(--cpm-wrap));
	justify-content: center;
}

.cpm-hero--compact > * {
	margin-inline: 0 !important;
}

.cpm-hero--compact .cpm-lead {
	max-width: 720px;
}

/* ---------- Buttons ---------- */

.wp-element-button,
.ct-button {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.cpm-button--outline {
	background: transparent !important;
	border: 2px solid currentColor !important;
	color: var(--cpm-navy) !important;
}

.has-navy-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link {
	background: var(--cpm-white);
	color: var(--cpm-navy);
}

.has-navy-background-color .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover {
	background: var(--cpm-stone);
}

.has-navy-background-color .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--cpm-white) !important;
}

/* Phone number as a call to action: Brass on navy, Deep Brass on light. */
.cpm-phone {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 700;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.cpm-phone { margin-bottom: 8px !important; }

/* Fax line under a phone number: plain body text at normal width. */
.cpm-fax {
	margin-top: 0 !important;
	font-family: var(--cpm-body);
	font-stretch: normal;
	font-size: 1rem;
	color: var(--cpm-charcoal);
}
.cpm-phone a { color: var(--cpm-deep-brass); text-decoration: none; }
.has-navy-background-color .cpm-phone { margin-bottom: 8px !important; }

/* Fax line under a phone number: plain body text at normal width. */
.cpm-fax {
	margin-top: 0 !important;
	font-family: var(--cpm-body);
	font-stretch: normal;
	font-size: 1rem;
	color: var(--cpm-charcoal);
}
.cpm-phone a { color: var(--cpm-brass); }

/* ---------- Stats ---------- */

.cpm-stats {
	gap: 0 !important;
}

.cpm-stats > .wp-block-column {
	padding: 8px clamp(16px, 3vw, 40px);
	border-left: 2px solid var(--cpm-brass);
}

.cpm-stat__figure {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 700;
	font-size: clamp(2.5rem, 5vw, 3.5rem);
	line-height: 1;
	color: var(--cpm-navy);
	margin: 0 0 6px !important;
}

.cpm-stat__text {
	margin: 0 !important;
	font-size: 0.9375rem;
	line-height: 1.5;
	color: var(--cpm-slate);
}

.has-navy-background-color .cpm-stat__text {
	color: rgba(255, 255, 255, 0.8);
}

/* ---------- Path cards (How Can We Assist?) ---------- */

.cpm-paths {
	gap: clamp(16px, 2vw, 28px) !important;
}

.cpm-path {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 3vw, 36px) !important;
	background: var(--cpm-white);
	border: 1px solid var(--cpm-stone-line);
	border-top: 3px solid var(--cpm-navy);
	border-radius: var(--cpm-radius);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.cpm-path:hover {
	border-top-color: var(--cpm-brass);
	box-shadow: 0 18px 40px -24px rgba(27, 65, 100, 0.45);
	transform: translateY(-2px);
}

.cpm-path h3 { margin-top: 0; }
.cpm-path p:last-child { margin-bottom: 0; }
/* Only a closing link sits at the foot of the card; body copy follows its heading. */
.cpm-path p.cpm-arrow-link:last-child { margin-top: auto; }

/* Dark variant (homepage "How Can We Assist?" tiles): Navy cards with a
   Brass top edge, Brass labels, white type; hover lifts with a deeper shadow. */
.cpm-paths--dark .cpm-path {
	background: var(--cpm-navy);
	border: 0;
	border-top: 3px solid var(--cpm-brass);
	color: rgba(255, 255, 255, 0.85);
}

.cpm-paths--dark .cpm-path:hover {
	border-top-color: var(--cpm-brass);
	box-shadow: 0 22px 44px -22px rgba(19, 48, 75, 0.7);
}

.cpm-paths--dark .cpm-path h3 { color: var(--cpm-white); }
.cpm-paths--dark .cpm-path .cpm-label { color: var(--cpm-brass); }
.cpm-paths--dark .cpm-arrow-link a { color: var(--cpm-white); }
.cpm-paths--dark .cpm-arrow-link a::after { color: var(--cpm-brass); }
.cpm-paths--dark .cpm-arrow-link a:hover { color: var(--cpm-brass); }

.cpm-arrow-link a {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	text-decoration: none;
	color: var(--cpm-navy);
}

.cpm-arrow-link a::after {
	content: " \2192";
	transition: margin 0.2s ease;
}

.cpm-arrow-link a:hover::after { margin-left: 4px; }

/* ---------- Corridor list ---------- */

.cpm-corridors {
	list-style: none;
	padding: 0 !important;
	margin: 24px 0 0 !important;
	border-top: 1px solid var(--cpm-stone-line);
}

.cpm-corridors li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--cpm-stone-line);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	color: var(--cpm-navy);
	white-space: nowrap; /* keep the area name on one line; only the description wraps */
}

.cpm-corridors li em {
	flex: 1 1 auto;
	min-width: 0;
	white-space: normal;
	font-family: var(--cpm-body);
	font-style: normal;
	font-weight: 400;
	font-size: 0.9375rem;
	color: var(--cpm-slate);
	text-align: right;
}

/* ---------- Track record ---------- */

.cpm-record {
	list-style: none;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1px;
	background: var(--cpm-stone-line);
	border: 1px solid var(--cpm-stone-line);
}

.cpm-record li {
	background: var(--cpm-white);
	padding: 22px 24px;
	margin: 0;
}

.cpm-record strong {
	display: block;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	color: var(--cpm-navy);
	margin-bottom: 4px;
}

/* ---------- Call-to-action band ---------- */

.cpm-cta {
	border-top: 4px solid var(--cpm-brass);
}

.cpm-cta > .wp-block-columns {
	align-items: center !important;
}

/* ---------- Long-form text (Privacy Policy, legal) ---------- */

.cpm-prose > * {
	max-width: 780px;
}

.cpm-prose h2 {
	margin: clamp(36px, 4vw, 48px) 0 14px;
	padding-top: 20px;
	border-top: 1px solid var(--cpm-stone-line);
	font-size: 1.375rem;
}

.cpm-prose h2:first-of-type { border-top: 0; padding-top: 0; }
.cpm-prose p,
.cpm-prose li { line-height: 1.65; }

.cpm-table {
	margin: 20px 0 24px;
	overflow-x: auto;
}

.cpm-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.cpm-table th,
.cpm-table td {
	padding: 12px 14px !important;
	border: 0 !important;
	border-bottom: 1px solid var(--cpm-stone-line) !important;
	text-align: left;
	vertical-align: top;
}

.cpm-table thead th {
	background: var(--cpm-stone);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	color: var(--cpm-navy);
}

/* Placeholders in draft documents. */
mark.cpm-placeholder {
	padding: 0 3px;
	border-radius: 2px;
	background: rgba(212, 162, 76, 0.28);
	color: inherit;
}

.cpm-draft-note {
	padding: 14px 18px;
	border-left: 4px solid var(--cpm-brass);
	background: var(--cpm-stone);
	font-size: 0.9375rem;
}

/* ---------- Story statement (About) ---------- */

/* Copy on the left at reading size; the statement lives in a navy panel that
   fills the right column, so it contrasts with the Stone hero above it. */
.cpm-story {
	align-items: stretch !important;
	gap: clamp(32px, 5vw, 72px) !important;
}

.cpm-statement {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 4vw, 56px) !important;
	border-radius: var(--cpm-radius);
	border-top: 4px solid var(--cpm-brass);
}

.cpm-statement .cpm-statement__title {
	margin: 0;
	color: var(--cpm-white);
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

/* The figure: Brass, at the Feature Stat scale and a little beyond. */
.cpm-statement__title strong {
	display: block;
	margin: 4px 0 2px;
	color: var(--cpm-brass);
	font-weight: 700;
	font-size: clamp(4.5rem, 8vw, 6.5rem);
	line-height: 0.9;
	letter-spacing: -0.03em;
	font-variant-numeric: lining-nums;
}

.cpm-statement .cpm-statement__area {
	margin: 24px 0 0;
	padding-top: 18px;
	border-top: 1px solid rgba(212, 162, 76, 0.55);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cpm-brass);
}

/* ---------- Team ---------- */

.cpm-person {
	gap: clamp(28px, 4vw, 64px) !important;
	align-items: flex-start !important;
	padding-block: clamp(32px, 4vw, 56px);
	border-bottom: 1px solid var(--cpm-stone-line);
}

.cpm-person:last-of-type { border-bottom: 0; }

.cpm-person .wp-block-image img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: top center;
	border-radius: var(--cpm-radius);
	background: var(--cpm-stone);
}

.cpm-person h2 { margin: 0 0 16px; }
.cpm-person .wp-block-buttons { margin-top: 24px; }
.cpm-person--lead { padding-block: 0; border-bottom: 0; }

/* Content photos (About page): rounded like the placeholders they replace. */
.wp-block-image.cpm-photo { margin: 0; }
.wp-block-image.cpm-photo img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--cpm-radius);
	background: var(--cpm-stone);
}

/* A listing photo shown at the 3:2 shape of the slot it fills. */
.wp-block-image.cpm-photo--3x2 img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center 65%;
}

/* Wide shots whose subject sits at the right (e.g. 1321 Blundell's "1321" sign). */
.wp-block-image.cpm-photo--keep-right img { object-position: 93% center; }

/* Contact page: the office photo runs edge to edge across the top of the
   inquiry panel (a portrait listing shot, cropped to keep the building and
   the "195" sign). */
.cpm-cta-contact .wp-block-image.cpm-photo--office {
	margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) clamp(24px, 3vw, 32px) !important;
}

.cpm-cta-contact .wp-block-image.cpm-photo--office img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: center 35%;
	border-radius: var(--cpm-radius) var(--cpm-radius) 0 0;
}

/* Contact page map: one block across the full content width. */
.cpm-map-section .cpm-map {
	aspect-ratio: auto;
	height: clamp(320px, 36vw, 480px);
}

/* Team cards: portrait above, name and bio below, never over the photo. */
/* Three across down to tablet width, one on phones; a fourth card wraps
   to the next row, so new team members only need another card. */
.cpm-team {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 40px) !important;
}
.cpm-team > .wp-block-column { flex-basis: auto !important; width: auto; margin: 0 !important; }
@media (max-width: 781px) { .cpm-team { grid-template-columns: 1fr; } }

.cpm-team-card {
	padding: clamp(20px, 2.5vw, 32px) !important;
	background: var(--cpm-white);
	border: 1px solid var(--cpm-stone-line);
	border-radius: var(--cpm-radius);
}

.cpm-team-card .wp-block-image {
	margin: calc(-1 * clamp(20px, 2.5vw, 32px)) calc(-1 * clamp(20px, 2.5vw, 32px)) 24px;
}

.cpm-team-card .wp-block-image img {
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	object-position: center 15%;
	border-radius: var(--cpm-radius) var(--cpm-radius) 0 0;
	background: var(--cpm-stone);
}

.cpm-team-card h2 { margin: 0 0 12px; }

/* Cards: Call button sits at the bottom so the two cards line up. */
.cpm-team-card {
	display: flex;
	flex-direction: column;
}

/* Phone, email and Call button line up across cards whatever the bio length. */
.cpm-team-card .cpm-contact-lines { margin-top: auto !important; padding-top: 20px !important; }
.cpm-team-card .wp-block-buttons {
	margin-top: 0;
	padding-top: 20px;
}

.cpm-contact-lines {
	list-style: none;
	padding: 0 !important;
	margin: 20px 0 0 !important;
	font-variant-numeric: tabular-nums;
}

.cpm-contact-lines li { margin: 0 0 6px; }

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

/* Team on the Contact page: name, title and email, then a Call button. */
.cpm-contact-person {
	padding: 16px 0;
	border-top: 1px solid var(--cpm-stone-line);
}

.cpm-contact-person { margin: 0 !important; }
.cpm-contact-person p { margin: 0 0 12px !important; }
.cpm-contact-person .wp-block-buttons { margin: 0 !important; }


.cpm-panel {
	padding: clamp(24px, 3vw, 40px) !important;
	background: var(--cpm-white);
	border: 1px solid var(--cpm-stone-line);
	border-radius: var(--cpm-radius);
	box-shadow: 0 24px 48px -32px rgba(27, 65, 100, 0.35);
}

.cpm-map,
.cpm-map-embed {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: var(--cpm-radius);
	background: var(--cpm-stone);
}

.cpm-map iframe,
.cpm-map-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(0.35);
}

/* Click-to-load prompt: a quiet street-grid motif until the visitor asks for the map. */
.cpm-map:not(.is-loaded) {
	display: grid;
	place-items: center;
	background-color: var(--cpm-stone);
	background-image:
		linear-gradient(rgba(83, 96, 125, 0.12) 2px, transparent 2px),
		linear-gradient(90deg, rgba(83, 96, 125, 0.12) 2px, transparent 2px),
		linear-gradient(rgba(83, 96, 125, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(83, 96, 125, 0.06) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	border: 1px solid var(--cpm-stone-line);
}

.cpm-map__prompt {
	padding: 24px;
	text-align: center;
}

.cpm-map__prompt p {
	margin: 12px 0 0;
	font-size: 0.875rem;
	color: var(--cpm-slate);
}

.wpcf7 input:not([type="submit"]):not([type="checkbox"]),
.wpcf7 textarea,
.wpcf7 select {
	border: 1px solid var(--cpm-stone-line);
	border-radius: var(--cpm-radius);
	background: var(--cpm-white);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
	border-color: var(--cpm-navy);
	outline: 2px solid rgba(27, 65, 100, 0.15);
}

/* ---------- Listing cards ---------- */

.cpm-listings__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
	gap: clamp(18px, 2vw, 28px);
}

.cpm-card {
	background: var(--cpm-white);
	border: 1px solid var(--cpm-stone-line);
	border-radius: var(--cpm-radius);
	overflow: hidden;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cpm-card:hover {
	box-shadow: 0 20px 44px -28px rgba(27, 65, 100, 0.5);
	transform: translateY(-3px);
}

.cpm-card__link {
	display: block;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.cpm-card__media {
	position: relative;
	aspect-ratio: 3 / 2;
	background: var(--cpm-stone);
	overflow: hidden;
}

.cpm-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.cpm-card:hover .cpm-card__media img { transform: scale(1.03); }

.cpm-card__nophoto {
	position: absolute;
	inset: 0;
	background: var(--cpm-stone) url("../img/cpm-mark-2016.svg") center / 64px no-repeat;
	opacity: 0.5;
}

.cpm-card__status {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 10px;
	border-radius: 2px;
	background: var(--cpm-navy);
	color: var(--cpm-white);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cpm-card--sold .cpm-card__status,
.cpm-card--leased .cpm-card__status {
	background: var(--cpm-white);
	color: var(--cpm-navy);
}

.cpm-card__body { padding: 20px 22px 24px; }

.cpm-card__title {
	margin: 0 0 6px !important;
	font-size: 1.125rem !important;
	line-height: 1.3;
}

.cpm-card__meta {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--cpm-slate);
}

.cpm-card__price {
	margin: 12px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--cpm-stone-line);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	color: var(--cpm-deep-brass);
}

.cpm-listings__empty {
	padding: 32px;
	background: var(--cpm-stone);
	border-radius: var(--cpm-radius);
	text-align: center;
}

/* ---------- Listings browser (search, filter, sort, paging) ---------- */

.cpm-browse.is-loading .cpm-listings__grid {
	opacity: 0.45;
	transition: opacity 0.15s ease;
}

.cpm-browse__bar {
	display: grid;
	grid-template-columns: minmax(220px, 2fr) repeat(auto-fit, minmax(150px, 1fr));
	gap: 14px;
	align-items: end;
	padding: 18px;
	background: var(--cpm-white);
	border: 1px solid var(--cpm-stone-line);
	border-radius: var(--cpm-radius);
	box-shadow: 0 16px 32px -28px rgba(27, 65, 100, 0.45);
}

.cpm-browse__field label {
	display: block;
	margin: 0 0 6px;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cpm-slate);
}

.cpm-browse__field input,
.cpm-browse__field select {
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0 12px;
	border: 1px solid var(--cpm-stone-line);
	border-radius: var(--cpm-radius);
	background-color: var(--cpm-white);
	font-family: var(--cpm-body);
	font-size: 0.9375rem;
	color: var(--cpm-charcoal);
}

.cpm-browse__field input:focus,
.cpm-browse__field select:focus {
	border-color: var(--cpm-navy);
	outline: 2px solid rgba(27, 65, 100, 0.15);
	outline-offset: 0;
}

.cpm-browse__field--search input {
	padding-left: 38px;
	background: var(--cpm-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2353607D' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 12px center / 16px no-repeat;
}

.cpm-browse__apply { height: 44px; }
.cpm-js .cpm-browse__apply { display: none; }

.cpm-browse__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	margin: 22px 0 18px;
}

/* Pager and page size: compact above the grid, full size below. */
.cpm-browse__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 24px;
}

.cpm-browse__controls--bottom {
	width: 100%;
	justify-content: space-between;
}

.cpm-browse__controls--bottom .cpm-pager { order: -1; }

.cpm-browse__controls--top .cpm-pager__page,
.cpm-browse__controls--top .cpm-pager__step,
.cpm-browse__controls--top .cpm-perpage__option {
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	font-size: 0.8125rem;
}

.cpm-browse__controls--top .cpm-perpage__option { min-width: 40px; }

/* Arrow-only Previous/Next at the top; the words stay for screen readers. */
.cpm-browse__controls--top .cpm-pager__word {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.cpm-browse__count {
	margin: 0;
	font-size: 0.9375rem;
	color: var(--cpm-slate);
}

.cpm-browse__count:focus { outline: none; }
.cpm-browse__count strong { color: var(--cpm-navy); font-weight: 600; }

.cpm-browse__chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: -6px 0 18px;
	padding: 0;
	list-style: none;
}

.cpm-browse__chips li { margin: 0; }

.cpm-browse__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px 6px 12px;
	border-radius: 999px;
	background: var(--cpm-navy);
	color: var(--cpm-white) !important;
	font-size: 0.8125rem;
	text-decoration: none;
	transition: background 0.2s ease;
}

.cpm-browse__chip::after {
	content: "\00d7";
	font-size: 1rem;
	line-height: 1;
	color: var(--cpm-brass);
}

.cpm-browse__chip:hover { background: var(--cpm-navy-deep); }

.cpm-browse__clear {
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--cpm-slate);
}

.cpm-browse__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	margin-top: clamp(24px, 3vw, 36px);
	padding-top: 20px;
	border-top: 1px solid var(--cpm-stone-line);
}

.cpm-browse__footer:empty { display: none; }

/* Pager: Previous · 1 2 … 8 · Next */
.cpm-pager {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.cpm-pager__pages {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cpm-pager__pages li { margin: 0; }

.cpm-pager__page,
.cpm-pager__step,
.cpm-perpage__option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid var(--cpm-stone-line);
	border-radius: var(--cpm-radius);
	background: var(--cpm-white);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.875rem;
	font-variant-numeric: tabular-nums;
	color: var(--cpm-navy);
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

a.cpm-pager__page:hover,
a.cpm-pager__step:hover,
a.cpm-perpage__option:hover {
	border-color: var(--cpm-navy);
}

.cpm-pager__page.is-current,
.cpm-perpage__option.is-current {
	border-color: var(--cpm-navy);
	background: var(--cpm-navy);
	color: var(--cpm-white);
}

.cpm-pager__step.is-disabled {
	opacity: 0.4;
}

.cpm-pager__gap {
	display: inline-flex;
	align-items: center;
	padding: 0 4px;
	color: var(--cpm-slate);
}

/* Page size: segmented 12 | 24 | 48 | 96 */
.cpm-perpage {
	display: flex;
	align-items: center;
}

.cpm-perpage__label {
	margin-right: 10px;
	font-size: 0.875rem;
	color: var(--cpm-slate);
}

/* Segments overlap by one border width so neighbours share a single line. */
.cpm-perpage__option {
	min-width: 46px;
	margin-left: -1px;
	border-radius: 0;
}

.cpm-perpage__label + .cpm-perpage__option {
	margin-left: 0;
	border-radius: var(--cpm-radius) 0 0 var(--cpm-radius);
}

.cpm-perpage__option:last-child {
	border-radius: 0 var(--cpm-radius) var(--cpm-radius) 0;
}

.cpm-perpage__option.is-current { position: relative; z-index: 1; }

@media (max-width: 689.98px) {
	.cpm-browse__bar { grid-template-columns: 1fr 1fr; }
	.cpm-browse__field--search { grid-column: 1 / -1; }
	.cpm-pager__step { padding: 0 10px; }
	.cpm-browse__footer, .cpm-browse__controls--bottom { justify-content: center; }
	.cpm-browse__controls--top { width: 100%; justify-content: space-between; }
}

/* ---------- Single listing ---------- */

.cpm-listing__header {
	padding-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 36px);
	background: var(--cpm-stone);
	border-bottom: 1px solid var(--cpm-stone-line);
}

.cpm-listing__crumb {
	margin: 0 0 18px;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.875rem;
}

.cpm-listing__crumb a { text-decoration: none; color: var(--cpm-slate); }
.cpm-listing__title { margin: 0 0 8px; }

.cpm-listing__summary {
	margin: 0;
	font-size: 1.125rem;
	color: var(--cpm-slate);
}

.cpm-gallery {
	display: grid;
	gap: 8px;
	margin-top: clamp(24px, 3vw, 36px);
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, minmax(140px, 1fr));
	aspect-ratio: 2.4 / 1;
}

.cpm-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.cpm-gallery--2 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr; }
.cpm-gallery--3 { grid-template-columns: 2fr 1fr; }
.cpm-gallery--4 { grid-template-columns: 2fr 1fr 1fr; }

.cpm-gallery__item {
	position: relative;
	overflow: hidden;
	border-radius: var(--cpm-radius);
	background: var(--cpm-stone);
}

.cpm-gallery__item:first-child { grid-row: 1 / -1; }
.cpm-gallery--4 .cpm-gallery__item:nth-child(4) { grid-column: 2 / -1; }

.cpm-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.cpm-gallery__item:hover img { transform: scale(1.03); }

.cpm-gallery__more {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(27, 65, 100, 0.65);
	color: var(--cpm-white);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 1.125rem;
}

.cpm-gallery__item { cursor: zoom-in; }

.cpm-gallery__all { margin: 12px 0 0; }

.cpm-gallery__open {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--cpm-navy);
}

.cpm-gallery__open::before {
	content: "";
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cpm-gallery__open:hover { color: var(--cpm-deep-brass); }

/* ---------- Photo lightbox (single listing) ---------- */

html.cpm-lb-open { overflow: hidden; }

.cpm-lb {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	background: rgba(12, 28, 44, 0.985);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	color: var(--cpm-white);
}

.cpm-lb[hidden] { display: none; }

.cpm-lb__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px clamp(16px, 3vw, 32px);
}

.cpm-lb__heading { display: flex; align-items: baseline; gap: 16px; min-width: 0; }
.cpm-lb__heading p { margin: 0; }

.cpm-lb__counter {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	color: var(--cpm-brass);
	white-space: nowrap;
}

.cpm-lb__title {
	overflow: hidden;
	font-size: 0.9375rem;
	color: rgba(255, 255, 255, 0.8);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cpm-lb__tools { display: flex; align-items: center; gap: 12px; }

.cpm-lb__cta {
	display: inline-flex;
	align-items: center;
	height: 38px;
	padding: 0 16px;
	border-radius: var(--cpm-radius);
	background: var(--cpm-white);
	color: var(--cpm-navy) !important;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.875rem;
	text-decoration: none;
}

.cpm-lb__cta:hover { background: var(--cpm-stone); }

.cpm-lb__close,
.cpm-lb__nav {
	position: relative;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	color: var(--cpm-white);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.cpm-lb__close { width: 40px; height: 40px; }

.cpm-lb__close::before,
.cpm-lb__close::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 2px;
	background: currentColor;
	transform: rotate(45deg);
}

.cpm-lb__close::after { transform: rotate(-45deg); }

.cpm-lb__close:hover,
.cpm-lb__nav:hover {
	border-color: var(--cpm-brass);
	background: rgba(212, 162, 76, 0.18);
}

.cpm-lb__close:focus-visible,
.cpm-lb__nav:focus-visible,
.cpm-lb__thumb:focus-visible,
.cpm-lb__cta:focus-visible {
	outline: 2px solid var(--cpm-brass);
	outline-offset: 2px;
}

.cpm-lb__stage {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 56px;
	align-items: center;
	gap: clamp(8px, 2vw, 24px);
	padding: 0 clamp(12px, 3vw, 32px);
	touch-action: pan-y;
}

.cpm-lb__figure {
	display: grid;
	place-items: center;
	height: 100%;
	margin: 0;
	min-height: 0;
}

.cpm-lb__img {
	max-width: 100%;
	max-height: calc(100vh - 210px);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 2px;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
	transition: opacity 0.2s ease;
	user-select: none;
	-webkit-user-drag: none;
}

.cpm-lb.is-loading .cpm-lb__img { opacity: 0.35; }

.cpm-lb__nav { width: 52px; height: 52px; }

.cpm-lb__nav::before {
	content: "";
	width: 12px;
	height: 12px;
	border-top: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: translateX(3px) rotate(-45deg);
}

.cpm-lb__nav--next::before { transform: translateX(-3px) rotate(135deg); }

.cpm-lb__thumbs {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding: 14px clamp(16px, 3vw, 32px) 18px;
	scrollbar-width: thin;
	justify-content: safe center;
}

.cpm-lb__thumb {
	flex: none;
	width: 72px;
	height: 54px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 3px;
	background: none;
	cursor: pointer;
	opacity: 0.55;
	transition: opacity 0.2s ease, border-color 0.2s ease;
}

.cpm-lb__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 1px;
}

.cpm-lb__thumb:hover { opacity: 0.9; }

.cpm-lb__thumb.is-current {
	border-color: var(--cpm-brass);
	opacity: 1;
}

@media (max-width: 689.98px) {
	.cpm-lb__stage { grid-template-columns: minmax(0, 1fr); padding: 0 8px; }
	.cpm-lb__nav { position: absolute; top: 50%; z-index: 1; width: 42px; height: 42px; transform: translateY(-50%); background: rgba(12, 28, 44, 0.55); }
	.cpm-lb__nav--prev { left: 12px; }
	.cpm-lb__nav--next { right: 12px; }
	.cpm-lb__title { display: none; }
	.cpm-lb__img { max-height: calc(100vh - 190px); }
	.cpm-lb__thumb { width: 56px; height: 42px; }
}

.cpm-listing > .cpm-wrap > .cpm-ph { margin-top: clamp(24px, 3vw, 36px); }

.cpm-listing__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: clamp(32px, 5vw, 72px);
	padding-block: clamp(40px, 5vw, 64px);
}

.cpm-listing__section + .cpm-listing__section {
	margin-top: clamp(32px, 4vw, 48px);
	padding-top: clamp(32px, 4vw, 48px);
	border-top: 1px solid var(--cpm-stone-line);
}

.cpm-listing__section h2 { margin-top: 0; }

/* Spec table: Instrument Sans 15px (§06 Spec Tables). */
.cpm-specs {
	width: 100%;
	border: 0 !important;
	border-top: 1px solid var(--cpm-stone-line) !important;
	border-collapse: collapse;
	font-size: 0.9375rem;
}

.cpm-specs th,
.cpm-specs td {
	padding: 14px 0 !important;
	border: 0 !important;
	border-bottom: 1px solid var(--cpm-stone-line) !important;
	background: transparent !important;
	text-align: left;
	vertical-align: top;
}

.cpm-specs th {
	width: 38%;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	color: var(--cpm-slate);
}

.cpm-features {
	list-style: none;
	padding: 0 !important;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 10px 28px;
}

.cpm-features li {
	position: relative;
	padding-left: 28px;
	margin: 0;
}

/* Bulleted lists: designed lists (.cpm-features) and ordinary lists in page,
   post and listing content. Lists styled without bullets carry a cpm- class. */
.entry-content ul:not([class*="cpm-"]):not(.wp-block-gallery):not(.wp-block-social-links),
.cpm-listing__description ul:not([class*="cpm-"]) {
	list-style: none;
	padding-left: 0;
}

.entry-content ul:not([class*="cpm-"]):not(.wp-block-gallery):not(.wp-block-social-links) > li,
.cpm-listing__description ul:not([class*="cpm-"]) > li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 8px;
}

.cpm-features li::before,
.entry-content ul:not([class*="cpm-"]):not(.wp-block-gallery):not(.wp-block-social-links) > li::before,
.cpm-listing__description ul:not([class*="cpm-"]) > li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.8em - 8px);
	width: 16px;
	height: 16px;
	background: var(--cpm-bullet) center / contain no-repeat;
}

.cpm-docs { list-style: none; padding: 0 !important; }

.cpm-docs li {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	margin: 0;
	border-bottom: 1px solid var(--cpm-stone-line);
}

.cpm-docs a { font-weight: 600; }
.cpm-docs span { color: var(--cpm-slate); font-size: 0.875rem; white-space: nowrap; }

.cpm-listing__aside { position: relative; }

.cpm-broker {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 88px);
	padding: 32px;
	background: var(--cpm-navy);
	color: rgba(255, 255, 255, 0.86);
	border-top: 4px solid var(--cpm-brass);
	border-radius: var(--cpm-radius);
}

.cpm-broker .cpm-label { color: var(--cpm-brass); }
.cpm-broker__name { margin: 0 0 12px !important; color: var(--cpm-white) !important; font-size: 1.5rem !important; }
.cpm-broker a { color: var(--cpm-white); }
.cpm-broker__agent + .cpm-broker__agent { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.cpm-broker__agent p:last-child { margin-bottom: 0; }

.cpm-broker__phone a {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 700;
	font-size: 1.375rem;
	color: var(--cpm-brass);
	text-decoration: none;
}

.cpm-broker__actions {
	display: grid;
	gap: 10px;
	margin-top: 24px;
}

.cpm-broker__actions .ct-button { width: 100%; justify-content: center; }
.cpm-broker__actions .ct-button:first-child { background: var(--cpm-white); color: var(--cpm-navy); }
.cpm-broker__actions .cpm-button--outline { color: var(--cpm-white) !important; }

.cpm-related {
	padding-block: var(--cpm-section);
	background: var(--cpm-stone);
}

.cpm-related h2 { margin-top: 0; margin-bottom: 28px; }

.cpm-archive { padding-block: clamp(40px, 5vw, 72px); }
.cpm-archive__group + .cpm-archive__group { margin-top: clamp(48px, 6vw, 80px); }

/* ---------- Photo placeholder ---------- */

.cpm-ph {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: var(--cpm-radius);
	background-color: #E9E5DD;
	background-image:
		repeating-linear-gradient(45deg, rgba(83, 96, 125, 0.09) 0 1px, transparent 1px 22px),
		repeating-linear-gradient(-45deg, rgba(83, 96, 125, 0.09) 0 1px, transparent 1px 22px);
	color: var(--cpm-navy);
	border: 1px dashed rgba(83, 96, 125, 0.45);
}

.has-navy-background-color .cpm-ph {
	background-color: var(--cpm-navy-deep);
	background-image:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px),
		repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 0 1px, transparent 1px 22px);
	border-color: rgba(212, 162, 76, 0.5);
	color: var(--cpm-white);
}

.cpm-ph__inner {
	max-width: 520px;
	padding: 24px;
	text-align: center;
}

.cpm-ph__size {
	display: inline-block;
	margin: 0 0 12px !important;
	padding: 6px 12px;
	border-radius: 2px;
	background: var(--cpm-navy);
	color: var(--cpm-white);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 700;
	font-size: 0.9375rem;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
}

.has-navy-background-color .cpm-ph__size {
	background: var(--cpm-brass);
	color: var(--cpm-navy);
}

.cpm-ph__label {
	margin: 0 0 8px !important;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 1.0625rem;
}

.cpm-ph__desc {
	margin: 0 !important;
	font-size: 0.875rem;
	line-height: 1.55;
	opacity: 0.85;
}

.cpm-ph__note {
	position: absolute;
	right: 12px;
	bottom: 10px;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-size: 0.6875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.6;
}

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

/* Blocksy's own footer rows are replaced by template-parts/site-footer.php. */
#footer.ct-footer { display: none; }

.cpm-footer {
	background: var(--cpm-stone);
	border-top: 1px solid var(--cpm-stone-line);
	font-size: 0.9375rem;
	line-height: 1.6;
}

.cpm-footer__main {
	display: grid;
	grid-template-columns: minmax(260px, 1.5fr) 1fr 1fr minmax(240px, 1.1fr);
	gap: clamp(32px, 4vw, 64px);
	max-width: calc(var(--cpm-wrap) + 2 * var(--cpm-gutter));
	margin-inline: auto;
	padding: clamp(40px, 4.5vw, 56px) var(--cpm-gutter);
}

/* Logo spans the same width as the Brass rule under it (.cpm-footer__line). */
.cpm-footer__logo { display: block; max-width: 280px; }
.cpm-footer__logo img { display: block; width: 100%; height: auto; }

/* Brass rule under the logo. Scoped under .cpm-footer so it wins over
   ".cpm-footer p" below, which would otherwise remove this gap. */
.cpm-footer .cpm-footer__line {
	max-width: 280px;
	margin: 20px 0 0;
	padding-top: 20px;
	border-top: 2px solid var(--cpm-brass);
	color: var(--cpm-slate);
}

.cpm-footer .cpm-label {
	margin: 4px 0 14px;
	color: var(--cpm-deep-brass);
}

.cpm-footer address { font-style: normal; margin: 0 0 10px; }
.cpm-footer p { margin: 0 0 6px; }
.cpm-footer a { color: var(--cpm-navy); text-decoration: none; }
.cpm-footer a:hover { color: var(--cpm-deep-brass); }

.cpm-footer__more {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 0.875rem;
}

.cpm-footer__more::after { content: " \2192"; }

.cpm-footer__phone {
	margin-bottom: 8px !important;
	white-space: nowrap;
}

.cpm-footer__phone a {
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 700;
	font-size: 1.375rem;
	font-variant-numeric: tabular-nums;
	color: var(--cpm-deep-brass);
}

.cpm-footer__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cpm-footer__links li { margin: 0; }

.cpm-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 16px max(var(--cpm-gutter), calc((100% - var(--cpm-wrap)) / 2));
	background: var(--cpm-navy);
	color: rgba(255, 255, 255, 0.75);
	font-size: 0.8125rem;
}

.cpm-footer__legal p { margin: 0; }
.cpm-footer__legal a { color: var(--cpm-white); }
.cpm-footer__legal a:hover { color: var(--cpm-brass); }

/* ---------- Scroll to top ---------- */

/* Blocksy's back-to-top button, drawn as a "^" chevron. */
.ct-back-to-top {
	--theme-icon-color: transparent;
	--theme-icon-hover-color: transparent;
	width: 44px;
	height: 44px;
	padding: 0 !important;
	border-radius: var(--cpm-radius) !important;
	background: var(--cpm-navy) !important;
	box-shadow: 0 10px 24px -12px rgba(27, 65, 100, 0.6);
	transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
}

.ct-back-to-top .ct-icon { display: none; }

.ct-back-to-top::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 12px;
	height: 12px;
	border-top: 2px solid var(--cpm-white);
	border-left: 2px solid var(--cpm-white);
	transform: translate(-50%, -25%) rotate(45deg);
}

.ct-back-to-top:hover {
	background: var(--cpm-brass) !important;
	transform: translateY(-2px);
}

.ct-back-to-top:hover::before {
	border-color: var(--cpm-navy);
}

/* ---------- Responsive ---------- */

@media (max-width: 999.98px) {
	.cpm-listing__layout { grid-template-columns: 1fr; }
	.cpm-broker { position: static; }
	.cpm-footer__main { grid-template-columns: 1fr 1fr; }
	.cpm-footer__brand { grid-column: 1 / -1; }
	.cpm-gallery { aspect-ratio: auto; grid-template-rows: repeat(2, 160px); }
}

@media (max-width: 689.98px) {
	.cpm-stats > .wp-block-column { padding-block: 16px; }
	.cpm-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px repeat(2, 120px); }
	.cpm-gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
	.cpm-gallery--4 .cpm-gallery__item:nth-child(4) { grid-column: auto; }
	.cpm-footer__main { grid-template-columns: 1fr; }
	.cpm-ph__note { display: none; }
	.ct-header .cpm-menu-phone { margin: 12px 0 0; padding-left: 0; }
	.ct-header .cpm-menu-phone::before { display: none; }
	.ct-header .cpm-menu-inquiry { margin: 12px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
	.cpm-card, .cpm-card__media img, .cpm-path, .cpm-gallery__item img { transition: none; }
}

/* ---------- Homepage showcase (slider) ---------- */

.cpm-showcase {
	position: relative;
	background: var(--cpm-navy);
	margin-block: 0 !important;
}

/* All slides share one grid cell: the tallest sets the height, so the page
   doesn't jump as slides change. Inactive slides are invisible and inert. */
.cpm-showcase__track { display: grid; }

.cpm-showcase__slide {
	grid-area: 1 / 1;
	display: flex;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.cpm-showcase__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity 0.6s ease;
}

.cpm-showcase__slide > .cpm-hero {
	flex: 1;
	display: flex;
	align-items: center;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}

.cpm-showcase__slide > .cpm-hero > .wp-block-columns { flex: 1; }

/* Room under each slide for the controls. */
.cpm-showcase.is-ready .cpm-showcase__slide > .cpm-hero {
	padding-bottom: calc(clamp(28px, 3.5vw, 48px) + 46px) !important;
}

/* Listing slides */
.cpm-showcase__title {
	font-size: clamp(2rem, 3.4vw, 2.9rem) !important;
}

.cpm-showcase__title a {
	color: inherit;
	text-decoration: none;
}

.cpm-showcase__title a:hover { color: var(--cpm-brass); }

.cpm-showcase__facts {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 40px;
	margin: 0 0 18px;
}

.cpm-showcase__facts dt {
	margin: 0 0 2px;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}

.cpm-showcase__facts dd {
	margin: 0;
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 600;
	font-size: 1.125rem;
	color: var(--cpm-white);
}

.cpm-showcase__facts .cpm-showcase__price { color: var(--cpm-brass); }

.cpm-showcase__excerpt {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.cpm-showcase__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--cpm-radius);
	background: var(--cpm-navy-deep);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.cpm-showcase__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.cpm-showcase__media:hover img { transform: scale(1.03); }

/* Intro slide photo: same frame as the listing slides, colour softened
   slightly so a busy aerial sits calmly on the navy background. */
.cpm-showcase .cpm-hero .wp-block-image {
	position: relative;
	aspect-ratio: 3 / 2;
	margin: 0;
	overflow: hidden;
	border-radius: var(--cpm-radius);
	background: var(--cpm-navy-deep);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55);
}

.cpm-showcase .cpm-hero .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	filter: saturate(0.85) contrast(0.95);
}

.cpm-showcase__no-photo {
	position: absolute;
	inset: 0;
	background: var(--cpm-navy-deep) center / 30% no-repeat;
}

.cpm-showcase__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	padding: 7px 12px;
	border-radius: 2px;
	background: var(--cpm-brass);
	color: var(--cpm-navy-deep);
	font-family: var(--cpm-head);
	font-stretch: var(--cpm-stretch);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Controls: arrows, progress dots, pause */
.cpm-showcase__controls {
	position: absolute;
	left: 0;
	right: 0;
	bottom: clamp(16px, 2.4vw, 28px);
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: calc(var(--cpm-wrap) + 2 * var(--cpm-gutter));
	margin-inline: auto;
	padding-inline: var(--cpm-gutter);
}

.cpm-showcase:not(.is-ready) .cpm-showcase__controls { display: none; }

.cpm-showcase__controls button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: none;
	border: 0;
	color: var(--cpm-white);
	cursor: pointer;
}

.cpm-showcase__controls button:focus-visible {
	outline: 2px solid var(--cpm-brass);
	outline-offset: 3px;
}

.cpm-showcase__arrow,
.cpm-showcase__pause {
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.35) !important;
	border-radius: 50%;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.cpm-showcase__arrow:hover,
.cpm-showcase__pause:hover {
	border-color: var(--cpm-brass) !important;
	background: rgba(255, 255, 255, 0.06);
}

.cpm-showcase__arrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
}

.cpm-showcase__prev::before { transform: translateX(2px) rotate(-135deg); }
.cpm-showcase__next::before { transform: translateX(-2px) rotate(45deg); }

.cpm-showcase__dots { display: flex; gap: 8px; }

.cpm-showcase__dot {
	width: 34px;
	height: 20px;
}

.cpm-showcase__dot span {
	position: relative;
	display: block;
	width: 100%;
	height: 3px;
	overflow: hidden;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.28);
}

.cpm-showcase__dot:hover span { background: rgba(255, 255, 255, 0.5); }

.cpm-showcase__dot span::after {
	content: "";
	position: absolute;
	inset: 0;
	transform: scaleX(0);
	transform-origin: left;
	background: var(--cpm-brass);
}

/* The active dot fills over the slide's time; full (not moving) when stopped. */
.cpm-showcase__dot.is-active span::after { animation: cpm-showcase-fill var(--cpm-interval, 7s) linear forwards; }
.cpm-showcase.is-paused .cpm-showcase__dot.is-active span::after { animation-play-state: paused; }
.cpm-showcase.is-stopped .cpm-showcase__dot.is-active span::after { animation: none; transform: scaleX(1); }

@keyframes cpm-showcase-fill { to { transform: scaleX(1); } }

.cpm-showcase__pause { margin-left: 6px; }

.cpm-showcase__pause::before,
.cpm-showcase__pause::after {
	content: "";
	width: 3px;
	height: 11px;
	margin: 0 1.5px;
	background: currentColor;
}

/* Stopped: show a play triangle. */
.cpm-showcase.is-stopped .cpm-showcase__pause::before {
	width: 0;
	height: 0;
	margin: 0 0 0 3px;
	background: none;
	border-style: solid;
	border-width: 6px 0 6px 10px;
	border-color: transparent transparent transparent currentColor;
}

.cpm-showcase.is-stopped .cpm-showcase__pause::after { display: none; }

@media (prefers-reduced-motion: reduce) {
	.cpm-showcase__slide,
	.cpm-showcase__slide.is-active,
	.cpm-showcase__media img { transition: none; }
}

/* Listing slides are plain markup (no block layout classes): match the hero's button spacing. */
.cpm-showcase__listing .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--style--block-gap, 26px); /* Same spacing as the hero slide's buttons. */
}

/* A team card still waiting on its headshot: the placeholder fills the photo slot. */
.cpm-team-card .cpm-ph {
	margin: calc(-1 * clamp(20px, 2.5vw, 32px)) calc(-1 * clamp(20px, 2.5vw, 32px)) 24px !important;
	border-radius: var(--cpm-radius) var(--cpm-radius) 0 0;
	max-width: none;
	width: calc(100% + 2 * clamp(20px, 2.5vw, 32px)) !important;
	aspect-ratio: 5 / 4 !important;
}
