/* ==========================================================================
   Property template (spec 03 §2), lightbox (§3), mobile enquiry sheet (§2.4).
   Loaded only on single mss_property (inc/parts/property.php). Mobile first;
   desktop layout from 1024px. Tokens only (assets/css/theme.css).
   ========================================================================== */

.mss-property {
	--mss-overlay: color-mix(in srgb, var(--mss-ink) 85%, transparent);
	--mss-focus-soft: color-mix(in srgb, var(--mss-teal) 60%, transparent);
}

/* ------------------------------------------------------------ title block */
.mss-section.mss-prop-hero {
	padding-block: 16px 32px;
}

.mss-prop-hero__inner {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* Mobile drops the current page from the trail (spec 03 §2.1); the shared
   `.mss-breadcrumb li` display would otherwise beat `.mss-only-desktop`. */
.mss-prop-hero .mss-breadcrumb li.mss-only-desktop {
	display: none;
}

.mss-prop-hero__title {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.mss-prop-hero__h1 {
	max-width: 1000px;
	font-size: 30px;
	line-height: 1.08;
	letter-spacing: -0.02em;
}

.mss-prop-hero__meta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.mss-prop-hero__place {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 32px;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--mss-teal);
}

.mss-prop-hero__place .mss-icon {
	width: 16px;
	height: 16px;
}

.mss-prop-hero .mss-chip .mss-icon {
	width: 14px;
	height: 14px;
}

/* --------------------------------------------------------------- gallery
   One list: a full-bleed scroll-snap carousel on mobile, the mosaic on
   desktop (lead + 4 tiles; fewer-than-5 layouts below). */
.mss-gallery {
	position: relative;
	margin-inline: calc(-1 * var(--mss-gutter));
}

.mss-gallery__track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.mss-gallery__track::-webkit-scrollbar {
	display: none;
}

.mss-gallery__item {
	flex: 0 0 100%;
	height: clamp(270px, 56vw, 520px);
	scroll-snap-align: start;
}

.mss-gallery__btn {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--mss-ink-2);
	cursor: zoom-in;
}

.mss-gallery__btn:focus-visible {
	outline: 3px solid var(--mss-teal);
	outline-offset: -3px;
}

.mss-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mss-gallery__counter {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 6px 10px;
	border-radius: var(--mss-radius-chip);
	background: var(--mss-overlay);
	color: var(--mss-white);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.3;
	pointer-events: none;
}

.mss-gallery__full {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: var(--mss-radius);
	background: var(--mss-overlay);
	color: var(--mss-white);
}

.mss-gallery__all {
	display: none;
}

/* ------------------------------------------------------------------ body */
.mss-section.mss-prop-body {
	padding-block: 40px 56px;
}

.mss-prop-body__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.mss-prop-aside {
	display: none;
}

.mss-prop-card {
	padding: 28px;
	border-radius: var(--mss-radius-card);
	background: var(--mss-white);
	color: var(--mss-ink);
	box-shadow: var(--mss-shadow-panel);
}

.mss-prop-sub {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-block: 32px;
	border-top: 1px solid var(--mss-line);
}

.mss-prop-sub:first-child {
	padding-top: 0;
	border-top: 0;
}

.mss-prop-sub:last-child {
	padding-bottom: 0;
}

.mss-prop-sub__title {
	font-size: 24px;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

/* About */
.mss-prop-about {
	gap: 12px;
}

.mss-prop-about__text {
	max-width: 680px;
	color: var(--mss-body);
	font-size: 16px;
	line-height: 1.65;
}

.mss-prop-about__text > * {
	margin: 0;
}

.mss-prop-about__text > * + * {
	margin-top: 1em;
}

.mss-prop-about__text ul,
.mss-prop-about__text ol {
	padding-left: 1.3em;
}

/* Key facts */
.mss-prop-facts__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	overflow: hidden;
	border-radius: var(--mss-radius-card);
	background: var(--mss-white);
	box-shadow: var(--mss-shadow-card);
}

.mss-prop-fact {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px 14px 46px;
	border-bottom: 1px solid var(--mss-rule-soft);
}

.mss-prop-fact:last-child {
	border-bottom: 0;
}

.mss-prop-fact__key {
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--mss-muted);
}

.mss-prop-fact__icon {
	position: absolute;
	top: 16px;
	left: 16px;
	width: 18px;
	height: 18px;
	color: var(--mss-teal-deep);
}

.mss-prop-fact__value {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--mss-ink);
	overflow-wrap: anywhere;
}

.mss-prop-fact__value.is-tbc {
	color: var(--mss-muted);
}

/* Amenities */
.mss-prop-amenities__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* gallery.js adds is-collapsed (6 shown, data-limit); without JS all show. */
.mss-prop-amenities__list.is-collapsed > :nth-child(n + 7) {
	display: none;
}

.mss-prop-amenity {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	border-radius: var(--mss-radius-card);
	background: var(--mss-white);
	box-shadow: var(--mss-shadow-tile);
}

.mss-prop-amenity__tile {
	width: 36px;
	height: 36px;
}

.mss-prop-amenity__tile .mss-icon {
	width: 18px;
	height: 18px;
}

.mss-prop-amenity__label {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	text-wrap: pretty;
}

.mss-prop-amenities__toggle {
	width: 100%;
	min-height: 48px;
}

.mss-prop-amenities__toggle .mss-icon {
	transition: transform 0.15s;
}

.mss-prop-amenities__toggle[aria-expanded="true"] .mss-icon {
	transform: rotate(180deg);
}

/* Good to know */
.mss-prop-rules {
	gap: 10px;
}

.mss-prop-rules__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
	padding: 0;
	list-style: none;
}

.mss-prop-rule {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--mss-line);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.mss-prop-rule .mss-icon {
	width: 18px;
	height: 18px;
	color: var(--mss-teal-deep);
}

/* Location */
.mss-prop-sub.mss-prop-loc {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.mss-prop-loc__head {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.mss-prop-loc__place {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.mss-prop-loc__place .mss-icon {
	width: 16px;
	height: 16px;
	color: var(--mss-teal-deep);
}

.mss-prop-loc__text {
	max-width: 680px;
	color: var(--mss-body);
	font-size: 16px;
	line-height: 1.65;
}

.mss-prop-loc__text p + p {
	margin-top: 1em;
}

.mss-prop-loc__note {
	color: var(--mss-body-2);
	font-size: 14px;
	line-height: 1.6;
}

.mss-prop-loc__link {
	justify-self: start;
}

/* Static area map: light version of the UK map (inc/template-tags.php),
   zoomed on the location's pin; no exact address. */
.mss-prop-map {
	--mss-map-w: 260px;
}

.mss-prop-map .mss-map {
	height: 200px;
	min-height: 0;
	border-color: var(--mss-line);
	background: var(--mss-teal-tint);
}

.mss-prop-map .mss-map__uk {
	fill: var(--mss-white);
	stroke: var(--mss-input-line);
}

.mss-prop-map .mss-map__other {
	fill: var(--mss-paper);
	stroke: var(--mss-input-line);
}

.mss-prop-map .mss-map__pin.is-active {
	width: 14px;
	height: 14px;
	margin: -7px 0 0 -7px;
	box-shadow: 0 0 0 14px color-mix(in srgb, var(--mss-teal) 28%, transparent), 0 0 0 28px color-mix(in srgb, var(--mss-teal) 14%, transparent);
}

.mss-prop-map.is-zoomed .mss-map__frame {
	width: var(--mss-map-w);
	transform: translate(calc(-1 * var(--mss-pin-x)), calc(-1 * var(--mss-pin-y)));
}

/* ------------------------------------------------- more / other locations */
.mss-section.mss-prop-more {
	padding-block: 64px;
}

.mss-prop-more__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}

.mss-prop-more__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 680px;
}

.mss-prop-more__title {
	font-size: 30px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.mss-prop-more__intro {
	color: var(--mss-on-dark);
	font-size: 16px;
	line-height: 1.55;
}

.mss-prop-more__link {
	justify-self: start;
}

/* Card text stays white: the shared dark-section link colour (teal) would
   otherwise tint the whole location card. */
.is-dark.mss-prop-more a.mss-loc-card {
	color: var(--mss-white);
}

/* ------------------------------------------------------- mobile sheet */
.mss-sheet {
	display: none;
	flex-direction: column;
	justify-content: flex-end;
}

.mss-sheet:target,
.mss-sheet.is-open {
	display: flex;
}

.mss-sheet__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	max-height: calc(100% - 40px);
	border-radius: var(--mss-radius-card) var(--mss-radius-card) 0 0;
	background: var(--mss-white);
	color: var(--mss-ink);
}

.mss-sheet__head {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px 16px 12px;
	border-bottom: 1px solid var(--mss-line);
}

.mss-sheet__handle {
	align-self: center;
	width: 40px;
	height: 4px;
	border-radius: 2px;
	background: var(--mss-input-line);
}

.mss-sheet__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.mss-sheet__title {
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.mss-sheet__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--mss-line);
	border-radius: var(--mss-radius);
	background: var(--mss-white);
	color: var(--mss-ink);
}

.mss-sheet__close:hover {
	border-color: var(--mss-ink);
}

.mss-sheet__body {
	padding: 16px 16px calc(28px + env(safe-area-inset-bottom));
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* --------------------------------------------------------------- lightbox */
.mss-lb {
	--mss-focus-soft: color-mix(in srgb, var(--mss-teal) 60%, transparent);
	position: fixed;
	inset: 0;
	z-index: 60;
	display: flex;
	flex-direction: column;
	background: var(--mss-ink);
	color: var(--mss-white);
}

.mss-lb button {
	padding: 0;
	color: inherit;
}

.mss-lb button:focus-visible {
	outline: 3px solid var(--mss-focus-soft);
	outline-offset: 2px;
}

.mss-lb__top {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 60px;
	padding: 0 12px 0 16px;
	border-bottom: 1px solid var(--mss-ink-line);
}

.mss-lb__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
	min-width: 0;
}

.mss-lb__counter {
	color: var(--mss-teal);
	font-size: 16px;
	font-weight: 800;
	white-space: nowrap;
}

/* Mobile has no visible title; it still labels the dialog. */
.mss-lb__title {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

.mss-lb__close {
	display: grid;
	flex: none;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--mss-ink-line-2);
	border-radius: var(--mss-radius);
	background: var(--mss-ink-2);
}

.mss-lb__close:hover {
	border-color: var(--mss-teal);
}

.mss-lb__stage {
	display: grid;
	flex: 1;
	grid-template-columns: minmax(0, 1fr);
	min-height: 0;
}

.mss-lb__side {
	display: none;
}

.mss-lb__track {
	display: flex;
	height: 100%;
	min-height: 0;
	overflow-x: auto;
	overflow-y: hidden;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.mss-lb__track::-webkit-scrollbar {
	display: none;
}

.mss-lb__slide {
	display: grid;
	flex: 0 0 100%;
	grid-template-rows: minmax(0, 1fr);
	place-items: center;
	height: 100%;
	margin: 0;
	scroll-snap-align: center;
	scroll-snap-stop: always;
}

.mss-lb__img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.mss-lb__caption {
	display: none;
}

.mss-lb__nav {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--mss-ink-line-2);
	border-radius: 50%;
	background: var(--mss-ink-2);
	transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.mss-lb__nav:hover {
	border-color: var(--mss-teal);
	background: var(--mss-teal);
	color: var(--mss-ink);
}

.mss-lb__bar {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 16px calc(28px + env(safe-area-inset-bottom));
	border-top: 1px solid var(--mss-ink-line);
}

.mss-lb__bar-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mss-lb__bar-caption {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.mss-lb__hint {
	color: var(--mss-muted-dark);
	font-size: 13px;
	line-height: 1.4;
}

.mss-lb__bar-nav {
	display: flex;
	flex: none;
	gap: 8px;
}

.mss-lb__thumbs {
	display: none;
}

/* The consent plugin's floating icon (z-index ~1e6) would sit on top of the
   lightbox and the sheet; it comes back when they close. */
body.is-locked .amondi-cmp-floating-icon {
	visibility: hidden;
}

.mss-lb.is-single .mss-lb__nav,
.mss-lb.is-single .mss-lb__hint,
.mss-lb.is-single .mss-lb__thumbs {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.mss-lb__nav,
	.mss-prop-amenities__toggle .mss-icon {
		transition: none;
	}
}

/* =============================================================== desktop */
@media (min-width: 1024px) {
	/* Title block */
	.mss-section.mss-prop-hero {
		padding-block: 28px 56px;
	}

	.mss-prop-hero__inner {
		gap: 32px;
	}

	.mss-prop-hero .mss-breadcrumb li.mss-only-desktop {
		display: inline-flex;
	}

	.mss-prop-hero__title {
		gap: 16px;
	}

	.mss-prop-hero__h1 {
		font-size: 52px;
		line-height: 1.05;
		letter-spacing: -0.025em;
	}

	.mss-prop-hero__meta {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 12px 20px;
	}

	.mss-prop-hero__place {
		min-height: 0;
		font-size: 16px;
	}

	.mss-prop-hero__place .mss-icon {
		width: 17px;
		height: 17px;
	}

	.mss-prop-hero .mss-chip .mss-icon {
		width: 15px;
		height: 15px;
	}

	/* Gallery mosaic: lead + 4 tiles, 252 + 252 rows, 8px gaps. */
	.mss-gallery {
		margin-inline: 0;
		overflow: hidden;
		border-radius: var(--mss-radius-card);
	}

	.mss-gallery__track {
		display: grid;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
		grid-template-rows: 252px 252px;
		gap: 8px;
		overflow: visible;
		scroll-snap-type: none;
	}

	.mss-gallery__item {
		height: auto;
		min-height: 0;
	}

	.mss-gallery__item:first-child {
		grid-row: span 2;
	}

	.mss-gallery__item:nth-child(n + 6) {
		display: none;
	}

	/* Fewer than 5 photos (spec 03 Q17): 1 = full width, 2 = halves,
	   3 = lead + 2 stacked, 4 = lead + a wide tile over 2 tiles. */
	.mss-gallery--n1 .mss-gallery__track {
		grid-template-columns: minmax(0, 1fr);
	}

	.mss-gallery--n2 .mss-gallery__track {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mss-gallery--n2 .mss-gallery__item {
		grid-row: span 2;
	}

	.mss-gallery--n3 .mss-gallery__track {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	}

	.mss-gallery--n4 .mss-gallery__item:nth-child(2) {
		grid-column: span 2;
	}

	.mss-gallery__counter,
	.mss-gallery__full {
		display: none;
	}

	.mss-gallery__all {
		position: absolute;
		right: 16px;
		bottom: 16px;
		display: inline-flex;
		min-height: 44px;
		padding: 0 16px;
		font-size: 15px;
		box-shadow: var(--mss-shadow-pill);
	}

	.mss-gallery__all:focus-visible {
		outline: 3px solid var(--mss-teal);
		outline-offset: 2px;
	}

	/* Body: content column + sticky enquiry card. */
	.mss-section.mss-prop-body {
		padding-block: 72px 112px;
	}

	.mss-prop-body__grid {
		grid-template-columns: minmax(0, 1fr) 400px;
		align-items: start;
		gap: 72px;
	}

	/* Sticky under the header (spec Q18): the card never grows taller than
	   the viewport minus the header and 2 × 24px; when the expanded form
	   (with the inline date picker, ~900px) is taller, it scrolls inside the
	   card, so its bottom is always reachable. */
	.mss-prop-aside {
		--mss-sticky-top: calc(var(--mss-header-h) + var(--wp-admin--admin-bar--height, 0px) + 24px);
		position: sticky;
		top: var(--mss-sticky-top);
		display: block;
	}

	.mss-prop-card {
		max-height: calc(100vh - var(--mss-sticky-top) - 24px);
		overflow-y: auto;
		scrollbar-width: thin;
		scrollbar-color: var(--mss-input-line) transparent;
	}

	.mss-prop-sub {
		gap: 20px;
		padding-block: 48px;
	}

	.mss-prop-sub__title {
		font-size: 30px;
	}

	.mss-prop-about {
		gap: 16px;
	}

	.mss-prop-about__text {
		font-size: 18px;
		line-height: 1.7;
	}

	.mss-prop-facts__card {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mss-prop-fact {
		padding: 20px 24px 20px 58px;
	}

	/* Last row of the 2-column grid has no rule. */
	.mss-prop-fact:nth-last-child(2):nth-child(odd) {
		border-bottom: 0;
	}

	.mss-prop-fact__key {
		font-size: 13px;
	}

	.mss-prop-fact__icon {
		top: 22px;
		left: 24px;
		width: 20px;
		height: 20px;
	}

	.mss-prop-fact__value {
		font-size: 16px;
	}

	.mss-prop-amenities__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}

	.mss-prop-amenity {
		padding: 14px 16px;
	}

	.mss-prop-amenity__tile {
		width: 40px;
		height: 40px;
	}

	.mss-prop-amenity__tile .mss-icon {
		width: 20px;
		height: 20px;
	}

	.mss-prop-amenities__toggle {
		align-self: flex-start;
		width: auto;
		min-height: 44px;
	}

	.mss-prop-rules {
		gap: 20px;
	}

	.mss-prop-rules__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 32px;
	}

	.mss-prop-rule {
		padding: 10px 0;
		font-size: 16px;
	}

	.mss-prop-rule .mss-icon {
		width: 20px;
		height: 20px;
	}

	.mss-prop-sub.mss-prop-loc {
		grid-template-columns: minmax(0, 1fr) auto;
		column-gap: 24px;
	}

	.mss-prop-loc > * {
		grid-column: 1 / -1;
	}

	.mss-prop-loc__head {
		grid-column: 1;
		gap: 8px;
	}

	.mss-prop-loc__place {
		font-size: 17px;
	}

	.mss-prop-loc__place .mss-icon {
		width: 17px;
		height: 17px;
	}

	.mss-prop-loc__text {
		font-size: 17px;
	}

	.mss-prop-loc__link {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
	}

	.mss-prop-loc__note {
		font-size: 15px;
	}

	.mss-prop-map {
		--mss-map-w: 340px;
	}

	.mss-prop-map .mss-map {
		height: 300px;
	}

	/* More properties / other locations */
	.mss-section.mss-prop-more {
		padding-block: 112px;
	}

	.mss-prop-more__inner {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 48px 40px;
	}

	.mss-prop-more__head {
		gap: 12px;
	}

	.mss-prop-more__title {
		font-size: 44px;
	}

	.mss-prop-more__intro {
		font-size: 18px;
		line-height: 1.6;
	}

	.mss-prop-more__cards {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.mss-prop-more__link {
		grid-column: 2;
		grid-row: 1;
		align-self: end;
	}

	/* The sheet is a mobile pattern; the sticky card replaces it. */
	.mss-sheet,
	.mss-sheet:target {
		display: none !important;
	}

	/* Lightbox, desktop: top bar 76, stage with side arrows, thumbnails. */
	.mss-lb__top {
		height: 76px;
		padding: 0 32px;
	}

	.mss-lb__title {
		position: static;
		width: auto;
		height: auto;
		overflow: hidden;
		clip: auto;
		font-size: 16px;
		font-weight: 700;
		text-overflow: ellipsis;
	}

	.mss-lb__stage {
		grid-template-columns: 112px minmax(0, 1fr) 112px;
		align-items: center;
	}

	.mss-lb__side {
		display: flex;
		justify-content: center;
	}

	.mss-lb__side .mss-lb__nav {
		width: 56px;
		height: 56px;
	}

	.mss-lb__track {
		align-self: stretch;
	}

	.mss-lb__slide {
		grid-template-rows: minmax(0, 1fr) auto;
		row-gap: 14px;
		padding: 24px 0 16px;
	}

	.mss-lb__img {
		width: auto;
		max-width: 100%;
		border-radius: var(--mss-radius);
	}

	.mss-lb__caption {
		display: block;
		color: var(--mss-on-dark);
		font-size: 15px;
		font-weight: 600;
		line-height: 1.4;
		text-align: center;
	}

	.mss-lb__bar {
		display: none;
	}

	.mss-lb__thumbs {
		display: flex;
		flex: none;
		align-items: center;
		gap: 8px;
		height: 104px;
		padding: 0 32px;
		overflow-x: auto;
		overflow-y: hidden;
		border-top: 1px solid var(--mss-ink-line);
		scrollbar-width: thin;
		scrollbar-color: var(--mss-ink-line-2) transparent;
	}

	/* Centred while they fit, scrollable from the first one when they do not. */
	.mss-lb__thumbs > :first-child {
		margin-left: auto;
	}

	.mss-lb__thumbs > :last-child {
		margin-right: auto;
	}

	.mss-lb__thumb {
		flex: none;
		width: 96px;
		height: 64px;
		overflow: hidden;
		border: 2px solid transparent;
		border-radius: var(--mss-radius-chip);
		background: var(--mss-ink-2);
		opacity: 0.55;
		transition: opacity 0.15s;
	}

	.mss-lb__thumb:hover,
	.mss-lb__thumb[aria-current="true"] {
		opacity: 1;
	}

	.mss-lb__thumb[aria-current="true"] {
		border-color: var(--mss-teal);
	}

	.mss-lb__thumb img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.mss-lb.is-single .mss-lb__side {
		visibility: hidden;
	}
}

/* Mobile scroller widths (spec 03 §2.3): location cards 280, property cards
   300, a single property card the full row. */
@media (max-width: 1023px) {
	.mss-prop-more__cards.is-locations {
		grid-auto-columns: 280px;
	}

	.mss-prop-more__cards.is-single {
		grid-auto-columns: 100%;
	}
}
