/* The band owns the space from first paint. Artwork never sets its geometry. */
.wd-page-content > .wd-page-title {
	--lwm-title-height: 120px;
	--lwm-title-size: 36px;
	--lwm-title-ink: #17382a;
	display: grid !important;
	align-items: center;
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	height: auto !important;
	min-height: var(--lwm-title-height) !important;
	padding: 9px 0 !important;
	background: #f5f1e8 !important;
	color: var(--lwm-title-ink) !important;
}
.wd-page-title > .wd-page-title-bg {
	position: absolute !important;
	inset: 0 !important;
	z-index: -1;
	overflow: hidden;
	background: transparent var(--lwm-print) center center/cover no-repeat !important;
}
.wd-page-title .wd-page-title-bg:has(.lwm-catalogue-print) {
	background-image: none !important;
}
.wd-page-title .wd-page-title-bg > img {
	visibility: hidden;
}
.wd-page-title .lwm-catalogue-print, .wd-page-title .lwm-catalogue-print img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-position: center;
	object-fit: cover;
}
.wd-page-title > .container {
	position: relative;
	display: grid !important;
	gap: 0 !important;
	width: 100%;
	margin-block: 0 !important;
	padding-block: 0 !important;
}
.wd-page-title > .container::before, .wd-page-title > .container::after {
	display: none !important;
}
.wd-page-title .wd-title-wrapp {
	display: grid !important;
	grid-template-columns: minmax(0,1fr);
	place-items: center;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}
.wd-page-title .wd-title-wrapp > .entry-title {
	grid-area: 1/1;
	position: relative;
	isolation: isolate;
	width: fit-content;
	max-width: 100%;
	margin: 0 !important;
	padding: 0 !important;
	color: var(--lwm-title-ink) !important;
	font: 700 var(--lwm-title-size)/1.08 Goudy, "Goudy Old Style", Georgia, serif !important;
	text-align: center !important;
	text-transform: none !important;
	text-wrap: balance;
	overflow-wrap: anywhere;
}
/* Feather only the lettering's own footprint so both flanks retain their ink.
   The local strength is derived from the light behind this print's titles. */
.wd-page-title .wd-title-wrapp > .entry-title::before {
	--feather: clamp(12px,2.1vw,32px);
	content: "";
	position: absolute;
	inset: -.2em calc(-1 * var(--feather));
	pointer-events: none;
	z-index: -1;
	background: #faf8f3;
	opacity: var(--lwm-ink-ground,.35);
	mask-image: linear-gradient(to right,transparent,black var(--feather),black calc(100% - var(--feather)),transparent),
	            linear-gradient(to bottom,transparent,black .2em,black calc(100% - .2em),transparent);
	mask-composite: intersect;
}
.wd-page-title .wd-title-wrapp:not(:has(h1.entry-title)) > h3.entry-title {
	display: block !important;
}
.wd-page-title .wd-title-wrapp:has(h1.entry-title) > h3.entry-title {
	display: none !important;
}
.wd-page-title .wd-title-wrapp > .wd-back-btn {
	position: absolute;
	inset-inline-start: 0;
	top: 50%;
	transform: translateY(-50%);
}
/* The region directory uses country anchors rather than country landing pages. */
.lwm-region-country[id] {
	scroll-margin-top: calc(var(--wd-header-h,216px) + var(--wp-admin--admin-bar--height,0px) + 12px) !important;
}
@media (max-width:1024px) {
	.lwm-region-country[id] {
		scroll-margin-top: calc(var(--wd-header-sm-h,189px) + var(--wp-admin--admin-bar--height,0px) + 12px) !important;
	}
}
.lwm-region-country > h3 {
	min-block-size: 48px;
	box-sizing: border-box;
	display: grid;
	place-items: center;
	padding: 5px !important;
	margin-block-start: 0;
	font: 700 22px/1.1 Goudy,"Goudy Old Style",Georgia,serif !important;
	color: #17382a !important;
	background: linear-gradient(90deg,transparent 6%,rgb(250 248 243 / var(--lwm-card-ground,.57)) 31%,rgb(250 248 243 / var(--lwm-card-ground,.57)) 69%,transparent 94%),var(--country-print,none) center/cover no-repeat;
}
@media (max-width: 700px) {
	.wd-page-content > .wd-page-title { --lwm-title-height: 100px; --lwm-title-size: 30px; }
	.wd-page-title > .wd-page-title-bg { background-image: var(--lwm-phone-print) !important; }
	.wd-page-title .wd-title-wrapp { padding-inline: 25px !important; }
	body.lwm-inline-filter-visible .lwm-sb-floating:not(:focus-within):not(:has(a[aria-expanded="true"])) {
		visibility: hidden !important;
		pointer-events: none;
	}
	.wd-page-content > .wd-page-title + main.wd-content-layout {
		padding-top: 16px !important;
	}
	.wd-page-content > .wd-page-title + main.wd-content-layout::before,
	.wd-page-content > .wd-page-title + main.wd-content-layout::after {
		display: none;
	}
}
