/* ==========================================================================
   Location pages — loaded only by page-templates/location.php.
   Every selector is scoped to .cpg-location-page (or to pages containing it),
   so nothing leaks into other pages. Shared tokens and classes
   (--c-*, --gutter, --gap-after-text, .container, .heading-lg, .heading-md,
   .text-lg, .section-mark, .btn, .btn-group) come from main.css.
   ========================================================================== */

/* As on the site's other inner pages: the mobile booking bar is homepage-only. */
body:has(.cpg-location-page) .site-header .booking-bar {
	display: none;
}

/* ---------- Navy title band (same as the other inner pages) ---------- */
.cpg-location-page .cpg-lc-title {
	padding-block: 55px;
	background: var(--c-navy);
	color: var(--c-white);
}

/* ---------- Shared prose ---------- */
.cpg-location-page .cpg-lc-prose p + p,
.cpg-location-page .cpg-lc-prose p + ul,
.cpg-location-page .cpg-lc-prose p + ol,
.cpg-location-page .cpg-lc-prose ul + p,
.cpg-location-page .cpg-lc-prose ol + p {
	margin-top: 1em;
}

.cpg-location-page .cpg-lc-prose a {
	color: var(--c-red);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cpg-location-page .cpg-lc-prose a:hover,
.cpg-location-page .cpg-lc-prose a:focus-visible {
	color: var(--c-navy);
}

/* ---------- Intro ---------- */
.cpg-location-page .cpg-lc-intro {
	padding-block: 55px 70px;
	background: var(--c-grey);
}

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

.cpg-location-page .cpg-lc-intro__body .section-mark {
	margin-inline: auto;
}

.cpg-location-page .cpg-lc-intro__actions {
	margin-top: var(--gap-after-text);
}

.cpg-location-page .cpg-lc-intro__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 570 / 445;
	object-fit: cover;
}

/* ---------- Services grid (Services page card style) ---------- */
.cpg-location-page .cpg-lc-services {
	padding-block: 70px;
	background: var(--c-white);
}

.cpg-location-page .cpg-lc-services__header {
	margin-bottom: 45px;
	text-align: center;
}

.cpg-location-page .cpg-lc-services__header .section-mark {
	margin-inline: auto;
}

.cpg-location-page .cpg-lc-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
}

.cpg-location-page .cpg-lc-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 20px;
	background: rgba(117, 33, 27, 0.1);
}

.cpg-location-page .cpg-lc-card__title {
	margin-bottom: 15px;
	font-size: 24px;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: -0.04em;
}

.cpg-location-page .cpg-lc-card__text {
	flex: 1 0 auto;
	margin-bottom: 25px;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: -0.02em;
}

/* ---------- Main content ---------- */
.cpg-location-page .cpg-lc-body {
	padding-block: 70px;
	background: var(--c-grey);
}

.cpg-location-page .cpg-lc-article {
	max-width: 870px;
	margin-inline: auto;
	font-size: 17px;
	line-height: 1.65;
	letter-spacing: -0.01em;
}

.cpg-location-page .cpg-lc-article h2 {
	margin: 55px 0 20px;
	font-family: var(--font-heading);
	font-size: 34px;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.cpg-location-page .cpg-lc-article > h2:first-child {
	margin-top: 0;
}

.cpg-location-page .cpg-lc-article h3 {
	margin: 30px 0 10px;
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: -0.02em;
}

.cpg-location-page .cpg-lc-article ul,
.cpg-location-page .cpg-lc-article ol {
	padding-left: 1.3em;
	list-style: revert;
}

.cpg-location-page .cpg-lc-article li + li {
	margin-top: 8px;
}

.cpg-location-page .cpg-lc-article li::marker {
	color: var(--c-red);
	font-weight: 600;
}

/* FAQs: core "Details" blocks */
.cpg-location-page .cpg-lc-article details {
	border: 2px solid var(--c-text);
	background: var(--c-white);
}

.cpg-location-page .cpg-lc-article details + details {
	margin-top: 15px;
}

.cpg-location-page .cpg-lc-article summary {
	position: relative;
	padding: 18px 56px 18px 20px;
	font-size: 19px;
	font-weight: 500;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
}

.cpg-location-page .cpg-lc-article summary::-webkit-details-marker {
	display: none;
}

.cpg-location-page .cpg-lc-article summary::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 20px;
	transform: translateY(-50%);
	color: var(--c-red);
	font-size: 28px;
	font-weight: 400;
	line-height: 1;
}

.cpg-location-page .cpg-lc-article details[open] summary::after {
	content: "−";
}

.cpg-location-page .cpg-lc-article details > :not(summary) {
	padding: 0 20px;
}

.cpg-location-page .cpg-lc-article details > :last-child {
	padding-bottom: 20px;
}

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

	.cpg-location-page .cpg-lc-intro__media {
		align-self: start;
	}

	.cpg-location-page .cpg-lc-intro__body .section-mark {
		margin-inline: 0;
	}

	.cpg-location-page .cpg-lc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cpg-location-page .cpg-lc-card__title {
		font-size: 26px;
	}

	.cpg-location-page .cpg-lc-article h2 {
		font-size: 40px;
	}
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
	.cpg-location-page .cpg-lc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.cpg-location-page .cpg-lc-card__title {
		font-size: 28px;
	}

	.cpg-location-page .cpg-lc-article h2 {
		font-size: 46px;
	}
}
