/* ==========================================================================
   Strategy Session page — loaded only by page-strategy-session.php.
   Every selector is scoped to .cpg-strategy-page so nothing leaks into
   other pages. Shared tokens (colours, fonts, .container, .heading-lg,
   .text-lg, .section-mark) come from main.css and are not redefined.
   ========================================================================== */

/* ---------- Header ---------- */
/* On the original site the mobile "Book a Consultation" bar under the header
   appears on the homepage only. This stylesheet is loaded only on this page,
   and the selector is additionally limited to pages containing .cpg-strategy-page,
   so header.php and every other page are unaffected. */
body:has(.cpg-strategy-page) .site-header .booking-bar {
	display: none;
}

/* ---------- Navy title band ---------- */
.cpg-strategy-page .cpg-ss-title {
	padding-block: 55px;
	background: var(--c-navy);
	color: var(--c-white);
}

/* ---------- Intro: text + photo ---------- */
.cpg-strategy-page .cpg-ss-intro {
	padding-block: 55px 70px;
	background: var(--c-grey);
}

.cpg-strategy-page .cpg-ss-intro__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	row-gap: 50px;
}

.cpg-strategy-page .cpg-ss-intro__body .section-mark {
	margin-inline: auto; /* centred on mobile, as on the original */
}

.cpg-strategy-page .cpg-ss-intro__text p + p {
	margin-top: 1em;
}

.cpg-strategy-page .cpg-ss-intro__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 570 / 358;
	object-fit: cover;
	object-position: 80.488% 50%;
}

@media (min-width: 768px) {
	.cpg-strategy-page .cpg-ss-intro__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--gutter);
		align-items: center;
	}

	/* Photo stays top-aligned when the text column is taller (tablet). */
	.cpg-strategy-page .cpg-ss-intro__media {
		align-self: start;
	}

	.cpg-strategy-page .cpg-ss-intro__body .section-mark {
		margin-inline: 0;
	}
}
