/* Core Pilates Blocks - small additions on top of theme.json */

/* ---------- Header ---------- */
.cp-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}
.cp-header .wp-block-navigation a:hover,
.cp-header .wp-block-navigation .current-menu-item > a {
	color: var(--wp--preset--color--green);
}
.cp-header .cp-logo img {
	border-radius: 0 !important;
}

/* ---------- Hero banner (single photo or slideshow) ---------- */
.cp-hero {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	min-height: 75vh;
	display: flex;
	align-items: flex-end;
	isolation: isolate;
}
.cp-hero.is-short {
	min-height: 60vh;
}
.cp-hero > .wp-block-cover__inner-container,
.cp-hero > .cp-hero__content {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: 0 48% 5% 6%;
	box-sizing: border-box;
}
.cp-hero h1,
.cp-hero .cp-hero__title {
	display: inline;
	background: rgba(255, 255, 255, 0.87);
	color: #000;
	font-size: 22px;
	font-weight: 200;
	line-height: 2.5rem;
	padding: 5px 10px;
	margin: 0;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.cp-hero p {
	display: inline-block;
	background: rgba(255, 255, 255, 0.85);
	color: #353535;
	font-size: 15px;
	font-weight: 300;
	line-height: 1.6;
	padding: 5px 10px;
	margin: 10px 0 15px;
}
.cp-hero .wp-block-buttons {
	margin-top: 0;
	gap: 10px;
}

/* Slideshow: a Gallery block with the "Fading slideshow" style sits behind the hero text. */
.cp-hero .wp-block-gallery.is-style-cp-slideshow {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
	z-index: 1;
	display: block !important;
	gap: 0 !important;
}
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100%;
	margin: 0 !important;
	opacity: 0;
	animation: cp-fade 24s infinite;
}
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	border-radius: 0 !important;
}
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image figcaption {
	display: none;
}
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image:nth-child(1) { animation-delay: 0s; }
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image:nth-child(2) { animation-delay: 6s; }
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image:nth-child(3) { animation-delay: 12s; }
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image:nth-child(4) { animation-delay: 18s; }
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image:only-child {
	opacity: 1;
	animation: none;
}
@keyframes cp-fade {
	0% { opacity: 0; }
	4% { opacity: 1; }
	25% { opacity: 1; }
	29% { opacity: 0; }
	100% { opacity: 0; }
}
/* First slide visible straight away, before the cycle starts */
.wp-block-gallery.is-style-cp-slideshow > .wp-block-image:nth-child(1) {
	animation-name: cp-fade-first;
}
@keyframes cp-fade-first {
	0% { opacity: 1; }
	25% { opacity: 1; }
	29% { opacity: 0; }
	96% { opacity: 0; }
	100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.wp-block-gallery.is-style-cp-slideshow > .wp-block-image { animation: none; }
	.wp-block-gallery.is-style-cp-slideshow > .wp-block-image:nth-child(1) { opacity: 1; }
}
/* In the editor, show the slides as a normal gallery so they can be changed easily */
.editor-styles-wrapper .wp-block-gallery.is-style-cp-slideshow,
.editor-styles-wrapper .wp-block-gallery.is-style-cp-slideshow > .wp-block-image {
	position: relative !important;
	opacity: 1;
	animation: none;
}

/* Hero buttons: white pills */
.wp-block-button.is-style-cp-hero .wp-block-button__link {
	background: #fff;
	color: #072C1B;
	border: 1px solid #fff;
	border-radius: 25px;
	padding: 12px 25px;
	font-size: 15px;
}
.wp-block-button.is-style-cp-hero .wp-block-button__link:hover {
	background: #fff;
	color: #000;
	border-color: #CECECE;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
}

/* Outline buttons with green fill on hover */
.wp-block-button.is-style-cp-outline .wp-block-button__link {
	background: #fff;
	color: #2C2C2C;
	border: 1px solid #232323;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
	min-width: 160px;
	text-align: center;
	transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.wp-block-button.is-style-cp-outline .wp-block-button__link:hover {
	background: var(--wp--preset--color--green-dark);
	color: #fff;
	border-color: #E8E8E8;
}

/* ---------- Cards and images ---------- */
.wp-block-group.is-style-cp-card {
	background: rgba(255, 255, 255, 0.91);
	border-radius: 25px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	padding: 25px 30px;
}
.wp-block-image.is-style-cp-rounded img {
	border-radius: 20px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.08);
}

/* Small uppercase label above section headings */
.cp-label {
	font-size: 20px;
	font-weight: 400;
	text-transform: uppercase;
	margin-bottom: 0 !important;
}
.cp-label + .wp-block-heading {
	margin-top: 4px;
}

/* Lists with green ticks */
.wp-block-list.is-style-cp-checks {
	list-style: none;
	padding-left: 0;
}
.wp-block-list.is-style-cp-checks li {
	position: relative;
	padding: 10px 0 10px 46px;
	font-weight: 500;
	color: #231F20;
}
.wp-block-list.is-style-cp-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 28px;
	height: 28px;
	transform: translateY(-50%);
	background: var(--wp--preset--color--green);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.9 439.4 7.5 273c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2L210.1 439.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / 22px no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M173.9 439.4 7.5 273c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.7 432.1 72.6c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2L210.1 439.4c-10 10-26.2 10-36.2 0z'/%3E%3C/svg%3E") center / 22px no-repeat;
}

/* Testimonials */
.cp-testimonial .cp-meta {
	font-size: 13px;
	color: #9a9a9a;
	margin-top: 0;
}

/* Mindbody schedule: its own auto-resize doesn't work, so give it a fixed height */
.mindbody-widget iframe {
	width: 100%;
	min-height: 780px !important;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
	.cp-hero {
		min-height: 50vh;
	}
	.cp-hero > .wp-block-cover__inner-container,
	.cp-hero > .cp-hero__content {
		padding: 0 5% 6%;
	}
	.cp-hero h1,
	.cp-hero .cp-hero__title {
		font-size: 16px;
		line-height: 2rem;
	}
	.cp-hero p {
		font-size: 14px;
	}
	.mindbody-widget iframe {
		min-height: 920px !important;
	}
}

/* ---------- Page sections ---------- */
.cp-section {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.cp-section.cp-soft {
	background: linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
}
.cp-intro {
	margin-bottom: 30px;
}
.cp-intro > .wp-block-heading {
	margin-top: 4px;
}

/* Four-across cards; two-across on tablets; one-across on phones */
.wp-block-columns.cp-cards {
	gap: 30px;
	flex-wrap: wrap !important;
}
.wp-block-columns.cp-cards > .wp-block-column {
	flex: 1 1 calc(25% - 30px) !important;
	min-width: 220px;
	display: flex;
	flex-direction: column;
}
.wp-block-columns.cp-cards > .wp-block-column > .wp-block-buttons {
	margin-top: auto;
	padding-top: 10px;
}
.wp-block-columns.cp-cards .wp-block-heading {
	text-transform: uppercase;
	margin-top: 15px;
	margin-bottom: 0;
}
.cp-why .wp-block-heading,
.cp-team .wp-block-heading {
	text-transform: none !important;
}
.cp-cards p {
	margin-top: 8px;
}
.cp-role {
	color: var(--wp--preset--color--green-dark);
	font-weight: 400;
	margin-top: 0 !important;
}

/* Highlights under the hero (green ticks) */
.cp-highlights .wp-block-list.is-style-cp-checks {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px 30px;
	margin: 0;
}

/* About section on the home page: photo + card over a background picture */
.wp-block-cover.cp-about {
	min-height: 0 !important;
	background-color: #F7F7F7;
}
.cp-about .wp-block-columns {
	gap: 40px;
}

/* Photo strips between sections */
.wp-block-cover.cp-band {
	min-height: 400px !important;
	padding: 0 !important;
}
.wp-block-cover.cp-band.is-tall {
	min-height: 75vh !important;
}

/* Call to action */
.cp-cta {
	background: linear-gradient(270deg, #FFFFFF 0%, #EBEBEB 100%);
	margin-top: 0 !important;
}
.cp-cta__inner {
	max-width: 1000px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.cp-cta h2 {
	font-size: 25px;
	margin-bottom: 6px;
}

/* Testimonials */
.wp-block-columns.cp-testimonials {
	gap: 30px;
	margin-bottom: 30px;
}
.cp-testimonial {
	height: 100%;
	border: 1px solid #E8E8E8;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.07) !important;
	padding: 25px 40px !important;
}
.cp-testimonial .cp-stars {
	color: #FFD726;
	font-size: 22px;
	letter-spacing: 2px;
	margin: 0;
}
.cp-testimonial h3 {
	color: #222;
	margin: 0 0 3px;
}
.cp-testimonial .cp-quote {
	color: #444;
}
.cp-testimonial .cp-name {
	margin-bottom: 0;
}

/* Pricing lists */
.wp-block-list.is-style-cp-prices,
.cp-cards .wp-block-list {
	padding-left: 18px;
	margin-top: 10px;
}
.cp-cards .wp-block-list li {
	padding: 3px 0;
}

/* Classes schedule card */
.cp-schedule {
	padding: 25px !important;
	scroll-margin-top: 90px;
}
#contact {
	scroll-margin-top: 90px;
}

/* Contact */
.cp-contact-details h3 {
	margin-bottom: 0;
}
.cp-map iframe {
	border-radius: 20px;
	display: block;
}

/* Footer */
.cp-footer {
	background: #f1f1f1;
	color: #000;
}
.cp-footer a {
	color: #000;
	text-decoration: none;
}
.cp-footer a:hover {
	color: #20b573;
}
.cp-footer h3 {
	text-decoration: underline;
	font-weight: 600;
	font-size: 16px;
	margin-bottom: 8px;
}
.cp-footer .wp-block-navigation {
	font-family: "Poppins", sans-serif;
	text-transform: uppercase;
	font-size: 14px;
}
.cp-footer-bottom {
	background: #231f20;
	color: #fff;
	margin-top: 0 !important;
}
.cp-footer-bottom p {
	margin: 0;
}

@media (max-width: 1024px) {
	.wp-block-columns.cp-cards > .wp-block-column {
		flex-basis: calc(50% - 30px) !important;
	}
}
@media (max-width: 767px) {
	.wp-block-columns.cp-cards > .wp-block-column {
		flex-basis: 100% !important;
	}
	.cp-highlights .wp-block-list.is-style-cp-checks {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	.cp-highlights .wp-block-list.is-style-cp-checks li {
		font-size: 14px;
		padding-left: 38px;
	}
	.wp-block-cover.cp-band {
		min-height: 200px !important;
	}
	.wp-block-cover.cp-band.is-tall {
		min-height: 30vh !important;
	}
	.cp-testimonial {
		padding: 20px !important;
	}
	.cp-cta h2 {
		font-size: 22px;
	}
}

/* Header details from the old theme */
.cp-header {
	border-bottom: 1px solid #e8e8e8;
	box-shadow: none;
}
.cp-header .wp-block-navigation {
	font-weight: 300;
	color: #000;
}
.cp-header .wp-block-navigation a:hover {
	color: #198454;
}
@media (max-width: 767px) {
	.cp-header .cp-logo img {
		width: 150px !important;
	}
}

/* ===== Round 2 changes ===== */

/* Hero banners: edge to edge, no rounded box */
.cp-hero {
	border-radius: 0;
	margin-top: 0 !important;
}
.cp-hero.is-page {
	min-height: 80vh;
}
.cp-hero > .cp-hero__content {
	padding: 0 48% 5% 10%;
}

/* About (home): wider photo + card over a fixed background */
.cp-about .wp-block-columns.cp-about__cols {
	max-width: 1300px;
	margin-left: auto !important;
	margin-right: auto !important;
	gap: 40px;
}
.cp-about .is-style-cp-card {
	padding: 35px 40px;
}

/* YouTube background video band */
.cp-video {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.cp-video-band {
	position: relative;
	height: 85vh;
	overflow: hidden;
	background-color: #ddd;
	background-position: center;
	background-size: cover;
}
.cp-video-band iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw;      /* 16:9 */
	min-height: 100%;
	min-width: 177.78vh;  /* 16:9 */
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
}

/* Testimonials slider: one at a time */
.cp-tslider {
	position: relative;
	max-width: 820px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.cp-tslider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	gap: 0;
}
.cp-tslider__track::-webkit-scrollbar {
	display: none;
}
.cp-tslider__track > .cp-testimonial {
	flex: 0 0 100%;
	scroll-snap-align: center;
	margin: 0 !important;
	box-sizing: border-box;
}
.cp-tslider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 18px;
}
.cp-tslider__btn {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid #E8E8E8;
	background: #fff;
	color: #20B573;
	font-size: 18px;
	line-height: 1;
	cursor: pointer;
}
.cp-tslider__btn:hover {
	background: #20B573;
	color: #fff;
}
.cp-tslider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #d1d1d1;
	cursor: pointer;
}
.cp-tslider__dot.is-active {
	background: #20B573;
}

@media (max-width: 767px) {
	.cp-hero.is-page {
		min-height: 50vh;
	}
	.cp-hero > .cp-hero__content {
		padding: 0 5% 6%;
	}
	.cp-video-band {
		height: 35vh;
	}
	.cp-about .is-style-cp-card {
		padding: 25px 22px;
	}
}

/* Team row: five across on wide screens */
@media (min-width: 1025px) {
	.wp-block-columns.cp-team > .wp-block-column {
		flex-basis: calc(20% - 30px) !important;
		min-width: 180px;
	}
}

/* No gap between the page content and the footer */
.wp-site-blocks > footer,
.wp-site-blocks > .wp-block-template-part:last-child {
	margin-block-start: 0 !important;
}

/* ===== Mobile menu: iPhone-style glass buttons ===== */
@media (max-width: 599px) {
	/* Open-menu button: frosted glass circle */
	.cp-header .wp-block-navigation__responsive-container-open {
		width: 48px;
		height: 48px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(240,244,242,0.7) 100%);
		border: 1px solid rgba(255,255,255,0.9);
		box-shadow:
			0 6px 18px rgba(0,0,0,0.12),
			0 1px 3px rgba(0,0,0,0.08),
			inset 0 1px 1px rgba(255,255,255,1),
			inset 0 -2px 6px rgba(61,186,106,0.12);
		-webkit-backdrop-filter: blur(14px) saturate(180%);
		backdrop-filter: blur(14px) saturate(180%);
		color: #252424;
		transition: transform 0.15s ease, box-shadow 0.2s ease;
	}
	.cp-header .wp-block-navigation__responsive-container-open svg {
		width: 28px;
		height: 28px;
	}
	.cp-header .wp-block-navigation__responsive-container-open:active {
		transform: scale(0.94);
	}

	/* The open menu: full-screen frosted glass */
	.cp-header .wp-block-navigation__responsive-container.is-menu-open {
		background: rgba(247, 250, 248, 0.72) !important;
		-webkit-backdrop-filter: blur(24px) saturate(180%);
		backdrop-filter: blur(24px) saturate(180%);
		padding: 24px 22px !important;
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding-top: 72px !important;
		align-items: stretch !important;
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		width: 100%;
		gap: 14px !important;
		align-items: stretch !important;
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		width: 100%;
	}

	/* Each link: a big glossy glass pill */
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 100%;
		min-height: 58px;
		padding: 14px 20px !important;
		border-radius: 30px;
		font-size: 19px;
		font-weight: 500;
		letter-spacing: 0.2px;
		color: #252424 !important;
		background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.6) 100%);
		border: 1px solid rgba(255,255,255,0.95);
		box-shadow:
			0 8px 22px rgba(0,0,0,0.08),
			inset 0 1px 1px rgba(255,255,255,1),
			inset 0 -3px 8px rgba(0,0,0,0.04);
		transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:active,
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .current-menu-item > .wp-block-navigation-item__content,
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] {
		background: linear-gradient(180deg, #4fd07f 0%, #20B573 100%);
		color: #fff !important;
		border-color: rgba(255,255,255,0.5);
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:active {
		transform: scale(0.97);
	}

	/* Close button: matching glass circle */
	.cp-header .wp-block-navigation__responsive-container-close {
		top: 22px !important;
		right: 22px !important;
		width: 48px;
		height: 48px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(240,244,242,0.75) 100%);
		border: 1px solid rgba(255,255,255,0.95);
		box-shadow: 0 6px 18px rgba(0,0,0,0.12), inset 0 1px 1px rgba(255,255,255,1);
		color: #252424;
	}
	.cp-header .wp-block-navigation__responsive-container-close svg {
		width: 26px;
		height: 26px;
	}
}

/* Glass menu fixes */
@media (max-width: 599px) {
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		box-sizing: border-box;
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		padding: 90px 0 0 !important;
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		box-sizing: border-box;
		outline: none;
	}
	.cp-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible,
	.cp-header .wp-block-navigation__responsive-container-open:focus-visible,
	.cp-header .wp-block-navigation__responsive-container-close:focus-visible {
		outline: 2px solid #20B573;
		outline-offset: 2px;
	}
	.cp-header .wp-block-navigation__responsive-container-open:focus:not(:focus-visible),
	.cp-header .wp-block-navigation__responsive-container-close:focus:not(:focus-visible) {
		outline: none;
	}
	/* Highlight the page you're on */
	body.home .cp-header .is-menu-open a[href="/"],
	body.page-id-326 .cp-header .is-menu-open a[href="/about/"],
	body.page-id-328 .cp-header .is-menu-open a[href="/classes/"],
	body.page-id-330 .cp-header .is-menu-open a[href="/pricing/"],
	body.page-id-332 .cp-header .is-menu-open a[href="/contact/"] {
		background: linear-gradient(180deg, #4fd07f 0%, #20B573 100%) !important;
		color: #fff !important;
		border-color: rgba(255,255,255,0.5) !important;
	}
}

/* ===== Polish pass (v1.3) ===== */

/* Header: menu items sit a little closer */
.cp-header .wp-block-navigation {
	gap: 20px;
}

/* Social icons live only in the mobile menu, not the desktop header */
@media (min-width: 600px) {
	.cp-header .wp-block-navigation .cp-menu-social {
		display: none !important;
	}
}
@media (max-width: 599px) {
	.cp-header .is-menu-open .cp-menu-social {
		display: flex !important;
		justify-content: center;
		align-items: center;
		gap: 18px !important;
		width: 100%;
		margin-top: 30px !important;
	}
	.cp-header .is-menu-open .cp-menu-social .wp-social-link {
		width: 54px;
		height: 54px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		background: linear-gradient(180deg, #4fd07f 0%, #20B573 100%) !important;
		border: 1px solid rgba(255,255,255,0.85);
		box-shadow:
			0 8px 20px rgba(32,181,115,0.35),
			inset 0 1px 1px rgba(255,255,255,0.65),
			inset 0 -3px 8px rgba(0,0,0,0.12);
		transition: transform 0.15s ease;
	}
	.cp-header .is-menu-open .cp-menu-social .wp-social-link:active {
		transform: scale(0.92);
	}
	.cp-header .is-menu-open .cp-menu-social .wp-social-link a {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 100%;
		padding: 0;
		color: #fff;
	}
	.cp-header .is-menu-open .cp-menu-social .wp-social-link svg {
		width: 26px;
		height: 26px;
	}
}

/* Footer: no capitals, no underlines, calmer type */
.cp-footer h3 {
	text-decoration: none;
	text-transform: none;
	font-weight: 600;
	font-size: 16px;
	letter-spacing: 0.2px;
	margin-bottom: 10px;
}
.cp-footer .wp-block-navigation {
	text-transform: none;
	font-size: 15px;
	font-weight: 300;
	gap: 6px;
}
.cp-footer p {
	font-size: 15px;
	line-height: 1.9;
}

/* Mobile typography and spacing */
@media (max-width: 767px) {
	.cp-label {
		font-size: 15px;
		letter-spacing: 0.6px;
	}
	.cp-intro {
		margin-bottom: 22px;
	}
	.cp-cards .wp-block-heading {
		font-size: 18px;
		letter-spacing: 0.3px;
	}
	.cp-cards p {
		font-size: 15px;
		line-height: 1.7;
	}
	h2.wp-block-heading {
		line-height: 1.35;
	}
	.cp-footer {
		padding-top: 40px !important;
		padding-bottom: 28px !important;
	}
	.cp-footer .wp-block-columns {
		gap: 28px;
	}
	.cp-footer .wp-block-image img {
		width: 200px !important;
	}
	.cp-tslider__btn {
		width: 42px;
		height: 42px;
	}
}

/* Google Maps icon: show a map pin instead of the Google "G" */
.cp-menu-social .wp-social-link-google svg {
	display: none !important;
}
.cp-menu-social .wp-social-link-google a::before {
	content: "";
	display: block;
	width: 26px;
	height: 26px;
	background: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%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='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Card titles in normal case, not all capitals */
.wp-block-columns.cp-cards .wp-block-heading {
	text-transform: none;
	font-weight: 500;
	letter-spacing: 0.1px;
}


/* cp-stack-v134: highlights stack one per line on phones */
@media (max-width: 767px) {
	.cp-highlights .wp-block-list.is-style-cp-checks {
		display: flex !important;
		flex-direction: column;
		gap: 4px;
	}
	.cp-highlights .wp-block-list.is-style-cp-checks li {
		font-size: 16px;
		padding: 8px 0 8px 40px;
		line-height: 1.4;
	}
}

/* cp-tab-v135: highlights in two columns on tablets */
@media (min-width: 600px) and (max-width: 1024px) {
	.cp-highlights .wp-block-list.is-style-cp-checks {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 6px 30px;
	}
	.cp-highlights .wp-block-list.is-style-cp-checks li {
		font-size: 16px;
		padding: 8px 0 8px 40px;
		line-height: 1.4;
	}
}
