/**
 * Public venue map and venue deals ([fmc_venues_map] shortcode - see class-fmc-venues-map.php).
 *
 * FMC style: dark, hairline borders, square corners, gold accent, small uppercase
 * letter-spaced labels. The page text inherits the theme colour. The Leaflet
 * popup is white, so the popup card sets its own dark text colour.
 */

.fmc-venues-map-wrap {
	--fmc-gold: #c9a961;
	--fmc-line: rgba(255, 255, 255, 0.14);
	--fmc-muted: rgba(255, 255, 255, 0.6);
}

.fmc-venues-map-wrap [hidden] {
	display: none !important;
}

.fmc-venues-map-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}

.fmc-venues-map-canvas {
	width: 100%;
	height: 560px;
	border-radius: 0;
	background: #1c1c1c;
}

.fmc-venues-map-wrap--compact .fmc-venues-map-canvas {
	height: 420px;
}

.fmc-venues-map-empty {
	text-align: center;
	opacity: 0.7;
	margin: 12px 0;
}

.fmc-venues-map-attr {
	font-size: 12px;
	opacity: 0.6;
	text-align: center;
	margin-top: 10px;
}

.fmc-venues-more {
	text-align: center;
	margin: 14px 0 0;
}

.fmc-venues-more a {
	text-decoration: underline;
}

/* ---- search + kind chips ---- */
.fmc-venues-tools .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fmc-venues-tools[hidden] {
	display: none;
}

.fmc-venues-tools {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 14px;
}

.fmc-venues-search {
	flex: 1 1 260px;
	min-width: 0;
	padding: 11px 14px;
	font-size: 16px; /* 16px stops iPhones zooming in on focus */
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
}

.fmc-venues-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fmc-venue-chip-btn {
	padding: 8px 14px;
	font-size: 13px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.fmc-venue-chip-btn.is-active {
	background: var(--fmc-gold);
	color: #000;
	border-color: var(--fmc-gold);
}

.fmc-venues-count {
	margin: 14px 0 8px;
	font-size: 13px;
	opacity: 0.7;
}

.fmc-venues-nomatch {
	text-align: center;
	opacity: 0.7;
}

/* ---- list under the map ---- */
.fmc-venues-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.fmc-venue-item {
	display: flex;
	gap: 14px;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.04);
}

.fmc-venue-item[hidden] {
	display: none;
}

.fmc-venue-item__photo {
	flex: 0 0 96px;
	width: 96px;
	height: 96px;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.06);
	overflow: hidden;
}

.fmc-venue-item__photo:empty {
	display: none;
}

.fmc-venue-item__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fmc-venue-item__photo .fmc-venue-item__logo {
	object-fit: contain;
}

.fmc-venue-item__body {
	flex: 1 1 auto;
	min-width: 0;
}

.fmc-venue-item__name {
	margin: 0 0 4px;
	font-size: 17px;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.fmc-venue-item__kind,
.fmc-venue-item__address,
.fmc-venue-item__links {
	margin: 0 0 6px;
	font-size: 14px;
	line-height: 1.4;
}

.fmc-venue-item__address {
	opacity: 0.8;
}

.fmc-venue-item__links a {
	margin-right: 14px;
	text-decoration: underline;
}

.fmc-venue-item__hours {
	margin: 0 0 8px;
	font-size: 13px;
}

.fmc-venue-item__hours summary {
	cursor: pointer;
	opacity: 0.85;
}

.fmc-venue-item__hours ul {
	margin: 6px 0 0;
	padding: 0;
	list-style: none;
	opacity: 0.8;
}

.fmc-venue-item__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.fmc-venue-chip {
	display: inline-block;
	padding: 2px 10px;
	font-size: 12px;
	border-radius: 0;
	border: 1px solid currentColor;
	opacity: 0.85;
}

.fmc-venue-btn {
	display: inline-block;
	padding: 9px 16px;
	font-size: 13px;
	line-height: 1.2;
	border: 1px solid var(--fmc-gold);
	border-radius: 0;
	background: var(--fmc-gold);
	color: #000;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.fmc-venue-btn--ghost {
	background: transparent;
	color: inherit;
	border-color: rgba(255, 255, 255, 0.4);
}

/* ---- popup card (built in JS; the Leaflet popup is white) ---- */
.fmc-venue-card {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	min-width: 220px;
	max-width: 260px;
	color: #1a1a1a;
}

.fmc-venue-card p {
	margin: 0 0 6px;
}

.fmc-venue-card__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.fmc-venue-card__logo {
	width: 32px;
	height: 32px;
	border-radius: 0;
	object-fit: cover;
	flex: 0 0 auto;
}

.fmc-venue-card__name {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.2;
}

.fmc-venue-card .fmc-venue-chip {
	font-size: 11px;
	padding: 1px 8px;
	color: #444;
}

.fmc-venue-card__address {
	font-size: 12px;
	color: #555;
}

.fmc-venue-card__hours {
	font-size: 12px;
	margin: 0 0 6px;
}

.fmc-venue-card__hours summary {
	cursor: pointer;
}

.fmc-venue-card__hours ul {
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
	color: #444;
}

.fmc-venue-card__links a {
	font-size: 12px;
	margin-right: 12px;
	color: #0645ad;
	text-decoration: underline;
}

.fmc-venue-card__photos {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	margin: 0 0 6px;
	padding-bottom: 2px;
}

.fmc-venue-card__photos img {
	width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: 0;
	flex: 0 0 auto;
}

.fmc-venue-card .fmc-venue-btn {
	background: #000;
	color: #fff;
	border-color: #000;
	padding: 8px 14px;
}

.fmc-venue-card__google-attr {
	font-size: 10px;
	color: #888;
	text-align: right;
	margin: 2px 0 0;
}

/* ---- phones and tablets ---- */
@media (max-width: 900px) {
	.fmc-venues-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 640px) {
	.fmc-venues-map-canvas {
		height: 360px;
	}

	.fmc-venues-map-wrap--compact .fmc-venues-map-canvas {
		height: 280px;
	}

	.fmc-venue-item__photo {
		flex-basis: 80px;
		width: 80px;
		height: 80px;
	}

	.fmc-venue-btn {
		padding: 11px 16px; /* comfortable tap size */
	}

	.fmc-venues-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		width: 100%;
		padding-bottom: 4px;
	}

	.fmc-venue-chip-btn {
		flex: 0 0 auto;
	}
}

.fmc-venue-btn:focus-visible,
.fmc-venue-chip-btn:focus-visible,
.fmc-deal-chip:focus-visible,
.fmc-deal-date:focus-visible,
.fmc-deal-view:focus-visible,
.fmc-deals__search:focus-visible,
.fmc-deals__select:focus-visible,
.fmc-deal-card a:focus-visible {
	outline: 2px solid var(--fmc-gold);
	outline-offset: 2px;
}

.fmc-venues-all-title {
	margin: 36px 0 4px;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--fmc-muted);
}

/* ================= venue deals ================= */
.fmc-deals {
	margin: 0 0 28px;
}

.fmc-deals__eyebrow {
	margin: 0 0 14px;
	font-size: 11px;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--fmc-gold);
}

.fmc-deals__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
}

.fmc-deal-chip,
.fmc-deal-view {
	padding: 10px 16px;
	font: inherit;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: inherit;
	background: transparent;
	border: 1px solid var(--fmc-line);
	border-radius: 0;
	cursor: pointer;
}

.fmc-deal-chip:hover,
.fmc-deal-view:hover {
	border-color: rgba(201, 169, 97, 0.7);
}

.fmc-deal-chip.is-active,
.fmc-deal-view.is-active {
	background: var(--fmc-gold);
	border-color: var(--fmc-gold);
	color: #000;
}

/* ---- date strip ---- */
.fmc-deals__dates {
	position: relative;
	display: flex;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0 0 8px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
}

.fmc-deal-date {
	position: relative;
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	min-width: 62px;
	padding: 10px 8px 14px;
	font: inherit;
	color: var(--fmc-muted);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--fmc-line);
	border-radius: 0;
	cursor: pointer;
	scroll-snap-align: center;
}

.fmc-deal-date__wd,
.fmc-deal-date__m {
	font-size: 10px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.fmc-deal-date__d {
	font-size: 20px;
	line-height: 1.1;
	font-weight: 300;
	color: #fff;
}

.fmc-deal-date__dot {
	position: absolute;
	bottom: 6px;
	left: 50%;
	width: 5px;
	height: 5px;
	margin-left: -2.5px;
	border-radius: 50%;
	background: transparent;
}

.fmc-deal-date.has-deals .fmc-deal-date__dot {
	background: var(--fmc-gold);
}

.fmc-deal-date:hover {
	border-color: rgba(201, 169, 97, 0.7);
}

.fmc-deal-date.is-active {
	color: #000;
	background: var(--fmc-gold);
	border-color: var(--fmc-gold);
}

.fmc-deal-date.is-active .fmc-deal-date__d {
	color: #000;
}

.fmc-deal-date.is-active .fmc-deal-date__dot {
	background: #000;
}

/* ---- filters ---- */
.fmc-deals__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin: 0 0 14px;
}

.fmc-deals__filters .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fmc-deals__search,
.fmc-deals__select {
	min-width: 0;
	padding: 11px 14px;
	font: inherit;
	font-size: 16px; /* 16px stops iPhones zooming in on focus */
	color: inherit;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--fmc-line);
	border-radius: 0;
}

.fmc-deals__search {
	flex: 1 1 220px;
}

.fmc-deals__select {
	flex: 0 1 170px;
}

.fmc-deals__select option {
	color: #000;
}

.fmc-deals__view {
	display: flex;
	margin-left: auto;
}

.fmc-deal-view + .fmc-deal-view {
	margin-left: -1px;
}

.fmc-deals__summary {
	margin: 0 0 12px;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--fmc-muted);
}

.fmc-deals__summary:empty {
	display: none;
}

/* ---- cards ---- */
.fmc-deals__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.fmc-deal-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--fmc-line);
	border-radius: 0;
}

.fmc-deal-card:hover {
	border-color: rgba(201, 169, 97, 0.55);
}

.fmc-deal-card__photo {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #141414, #0a0a0a);
	overflow: hidden;
}

.fmc-deal-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fmc-deal-card__photo .fmc-deal-card__logo {
	object-fit: contain;
	padding: 18%;
	box-sizing: border-box;
}

.fmc-deal-card__badge {
	position: absolute;
	top: 0;
	left: 0;
	max-width: 80%;
	padding: 7px 12px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #000;
	background: var(--fmc-gold);
}

.fmc-deal-card__google {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 2px 6px;
	font-size: 10px;
	color: rgba(255, 255, 255, 0.85);
	background: rgba(0, 0, 0, 0.6);
}

.fmc-deal-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 14px 14px 16px;
}

.fmc-deal-card__body p {
	margin: 0 0 6px;
}

.fmc-deal-card__type {
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--fmc-muted);
}

.fmc-deal-card__venue {
	margin: 0 0 6px;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.fmc-deal-card__title {
	font-size: 14px;
	line-height: 1.4;
}

.fmc-deal-card__when {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 12px;
	font-size: 13px;
	color: var(--fmc-gold);
}

.fmc-deal-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 4px;
}

.fmc-deal-tag {
	padding: 3px 8px;
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fmc-muted);
	border: 1px solid var(--fmc-line);
}

.fmc-deal-tag--gold {
	color: var(--fmc-gold);
	border-color: rgba(201, 169, 97, 0.7);
}

.fmc-deal-card__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	align-items: center;
	margin-top: auto !important;
	padding-top: 12px;
}

.fmc-deal-card__alt {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--fmc-muted);
	text-decoration: underline;
}

.fmc-deals__empty {
	margin: 0;
	padding: 28px 16px;
	text-align: center;
	color: var(--fmc-muted);
	border: 1px solid var(--fmc-line);
}

.fmc-deals__empty .fmc-venue-btn {
	margin: 12px 4px 0;
}

.fmc-deals__more,
.fmc-deals__note {
	margin: 14px 0 0;
	font-size: 12px;
	color: var(--fmc-muted);
}

.fmc-deals__more a {
	text-decoration: underline;
	color: var(--fmc-gold);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* ---- List / Map switch (full page only) ---- */
.fmc-venues-map-wrap[data-view="list"] .fmc-venues-map-canvas {
	display: none;
}

.fmc-venues-map-wrap[data-view="map"] .fmc-deals__grid,
.fmc-venues-map-wrap[data-view="map"] .fmc-deals__empty {
	display: none;
}

.fmc-venues-map-wrap[data-deals="1"]:not(.fmc-venues-map-wrap--compact) .fmc-venues-map-canvas {
	margin-bottom: 8px;
}

.fmc-venues-map-wrap--compact .fmc-deals {
	margin-bottom: 36px;
}

/* ---- map pins: the small FMC logo marker (assets/brand/fmc-mark-pin.png: round dark disc, gold ring, F M C) ---- */
.fmc-pin-wrap {
	background: transparent;
	border: 0;
}

.fmc-logo-pin {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 44px; /* the touch target; the picture inside is 40px */
	height: 44px;
	padding: 2px;
	transform-origin: 50% 50%;
	transition: transform 0.16s ease;
}

.fmc-logo-pin__img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
	-webkit-user-drag: none;
}

.fmc-logo-pin__img--plain {
	box-sizing: border-box;
	border: 2px solid #c9a961;
	background: #0b0b0b;
}

.fmc-logo-pin.is-selected {
	transform: scale(1.32);
}

.fmc-logo-pin__badge {
	position: absolute;
	top: 0;
	right: -8px;
	min-width: 22px;
	height: 18px;
	padding: 0 5px;
	box-sizing: border-box;
	border: 1px solid #000;
	border-radius: 9px;
	background: #c9a961;
	color: #000;
	font: 700 10px/16px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	text-align: center;
	white-space: nowrap;
}

.fmc-pin-wrap:focus-visible .fmc-logo-pin {
	outline: 2px solid #fff;
	outline-offset: -3px;
	border-radius: 50%;
}

/* ---- deals inside the white map popup ---- */
.fmc-venue-card__deals {
	margin: 0 0 8px;
	padding: 6px 0;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}

.fmc-venue-card__deal {
	font-size: 12px;
	line-height: 1.4;
}

.fmc-venue-card__deal small {
	color: #555;
}

.fmc-venue-card__badge {
	display: inline-block;
	padding: 1px 6px;
	font-size: 11px;
	font-weight: 700;
	background: #c9a961;
	color: #000;
}

.fmc-venue-card__claim a {
	font-size: 12px;
	color: #0645ad;
	text-decoration: underline;
}

@media (max-width: 900px) {
	.fmc-deals__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.fmc-deals__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.fmc-deals__chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
	}

	.fmc-deal-chip {
		flex: 0 0 auto;
		min-height: 44px;
	}

	.fmc-deal-view {
		min-height: 44px;
	}

	.fmc-deals__search,
	.fmc-deals__select {
		flex: 1 1 100%;
	}

	.fmc-deals__select {
		min-height: 44px;
	}

	.fmc-deals__view {
		width: 100%;
		margin-left: 0;
	}

	.fmc-deal-view {
		flex: 1 1 50%;
	}

	.fmc-deal-card__cta .fmc-venue-btn {
		padding: 12px 16px;
	}
}


/* ================= map upgrades (2026-10-13): stage, layers, phone layout, member reviews ================= */

.fmc-vm-stage {
	position: relative;
	isolation: isolate;
}

.fmc-venues-map-wrap[data-view="list"] .fmc-vm-stage {
	display: none;
}

.fmc-venues-map-canvas:focus-visible {
	outline: 2px solid var(--fmc-gold);
	outline-offset: -2px;
}

/* ---- Map | Satellite | Hybrid switch ---- */
.leaflet-bar.fmc-layers {
	display: flex;
	overflow: hidden;
	border: 1px solid rgba(201, 169, 97, 0.7);
	border-radius: 0;
	background: #0b0b0b;
	box-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.fmc-layers__btn {
	min-height: 34px;
	margin: 0;
	padding: 0 12px;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 0;
	background: transparent;
	color: #fff;
	font: 600 12px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	cursor: pointer;
}

.fmc-layers__btn:first-child {
	border-left: 0;
}

.fmc-layers__btn:hover {
	background: rgba(201, 169, 97, 0.25);
}

.fmc-layers__btn.is-active {
	background: #c9a961;
	color: #000;
}

.fmc-layers__btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.fmc-layers__btn.is-active:focus-visible {
	outline-color: #000;
}

/* ---- the "click to zoom" hint ---- */
.fmc-vm-hint {
	position: absolute;
	bottom: 18px;
	left: 50%;
	z-index: 900;
	margin: 0;
	padding: 8px 14px;
	max-width: 90%;
	transform: translateX(-50%);
	background: rgba(0, 0, 0, 0.8);
	color: #fff;
	font-size: 13px;
	pointer-events: none;
	text-align: center;
}

/* ---- phone toggle (built by the script, phones only) ---- */
.fmc-vm-mobtoggle {
	display: none;
}

.fmc-vm-seg {
	flex: 1 1 50%;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--fmc-line);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	cursor: pointer;
}

.fmc-vm-seg + .fmc-vm-seg {
	margin-left: -1px;
}

.fmc-vm-seg.is-active {
	border-color: var(--fmc-gold);
	background: var(--fmc-gold);
	color: #000;
}

.fmc-vm-seg:focus-visible,
.fmc-vm-link:focus-visible,
.fmc-vm-btn:focus-visible,
.fmc-vm-panel__close:focus-visible,
.fmc-vm-report__reason:focus-visible,
.fmc-vm-report__more:focus-visible,
.fmc-vm-form__text:focus-visible,
.fmc-vm-panel__title:focus-visible {
	outline: 2px solid var(--fmc-gold);
	outline-offset: 2px;
}

@media (max-width: 640px) {
	/* About 70% of the screen height (svh = the visible height with the browser bars out). */
	.fmc-venues-map-wrap .fmc-vm-stage .fmc-venues-map-canvas,
	.fmc-venues-map-wrap--compact .fmc-vm-stage .fmc-venues-map-canvas {
		height: 70vh;
		height: 70svh;
		min-height: 380px;
	}

	.fmc-vm-mobtoggle {
		display: flex;
		margin: 0 0 10px;
	}

	.fmc-venues-map-wrap[data-view="list"] .fmc-vm-mobtoggle {
		display: none;
	}

	.fmc-venues-map-wrap[data-mobile="list"]:not([data-view="list"]) .fmc-vm-stage {
		display: none;
	}

	.fmc-venues-map-wrap[data-mobile="map"]:not([data-view="list"]) .fmc-venues-count,
	.fmc-venues-map-wrap[data-mobile="map"]:not([data-view="list"]) .fmc-venues-list,
	.fmc-venues-map-wrap[data-mobile="map"]:not([data-view="list"]) .fmc-venues-nomatch,
	.fmc-venues-map-wrap[data-mobile="map"]:not([data-view="list"]) .fmc-venues-all-title {
		display: none;
	}

	.fmc-venue-card {
		min-width: 0;
		max-width: 100%;
	}

	.fmc-layers__btn {
		padding: 0 10px;
	}
}

/* A phone held sideways: the height is short, so the map takes nearly all of it. */
@media (max-width: 900px) and (max-height: 520px) and (orientation: landscape) {
	.fmc-venues-map-wrap .fmc-vm-stage .fmc-venues-map-canvas,
	.fmc-venues-map-wrap--compact .fmc-vm-stage .fmc-venues-map-canvas {
		height: 88vh;
		height: 88svh;
		min-height: 240px;
	}
}

/* Touch screens: 44px targets for the zoom buttons, the layer switch and the popup close button. */
@media (pointer: coarse) {
	.leaflet-touch .leaflet-bar a {
		width: 44px;
		height: 44px;
		line-height: 44px;
	}

	.fmc-layers__btn {
		min-height: 44px;
		padding: 0 14px;
		font-size: 13px;
	}

	.leaflet-container a.leaflet-popup-close-button {
		top: 2px;
		right: 2px;
		width: 40px;
		height: 40px;
		font-size: 26px;
		line-height: 40px;
		text-align: center;
	}

	.fmc-venue-card .fmc-venue-btn {
		min-height: 44px;
		box-sizing: border-box;
		display: inline-flex;
		align-items: center;
	}

	.fmc-venue-card__links a {
		display: inline-block;
		padding: 10px 0;
	}
}

.fmc-venues-map-wrap .leaflet-container a:focus-visible,
.fmc-venues-map-wrap .leaflet-bar a:focus-visible {
	outline: 2px solid var(--fmc-gold);
	outline-offset: -2px;
}

/* ---- member stars (read-only) ---- */
.fmc-stars {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 80px;
	height: 16px;
	vertical-align: middle;
}

.fmc-stars__back,
.fmc-stars__fill {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	height: 100%;
}

.fmc-stars__back {
	width: 100%;
}

.fmc-stars__fill {
	overflow: hidden;
}

.fmc-stars svg {
	display: block;
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.fmc-stars__back svg {
	fill: rgba(128, 128, 128, 0.4);
}

.fmc-stars__fill svg {
	fill: #c9a961;
}

/* ---- member block inside the (white) popup ---- */
.fmc-vm-member {
	margin: 0 0 6px;
}

.fmc-vm-member:empty {
	display: none;
}

.fmc-vm-member p {
	margin: 0 0 2px;
}

.fmc-vm-rate {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	font-size: 13px;
}

.fmc-vm-rate__text {
	font-weight: 700;
}

.fmc-vm-rate__none,
.fmc-vm-rate__mine {
	font-size: 12px;
	color: #666;
}

.fmc-vm-member__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 0 14px;
}

.fmc-vm-link {
	min-height: 32px;
	margin: 0;
	padding: 4px 0;
	border: 0;
	background: none;
	color: #0645ad;
	font: inherit;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

/* ---- the Reviews panel (side panel on desktop, bottom sheet on phones) ---- */
.fmc-vm-panel {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1200;
	display: flex;
	flex-direction: column;
	width: min(380px, 100%);
	box-sizing: border-box;
	border-left: 1px solid rgba(201, 169, 97, 0.6);
	background: #0f0f0f;
	color: #fff;
	box-shadow: -10px 0 28px rgba(0, 0, 0, 0.5);
	font-size: 14px;
	line-height: 1.45;
}

@keyframes fmc-vm-in {
	from {
		opacity: 0;
		transform: translateX(16px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.fmc-vm-panel {
		animation: fmc-vm-in 0.18s ease-out;
	}
}

.fmc-vm-panel p {
	margin: 0 0 8px;
}

.fmc-vm-panel__bar {
	display: flex;
	flex: 0 0 auto;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 8px 12px 16px;
	border-bottom: 1px solid var(--fmc-line);
}

.fmc-vm-panel__eyebrow {
	margin: 0 0 4px !important;
	color: var(--fmc-gold);
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.fmc-vm-panel__title {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.fmc-vm-panel__close {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.fmc-vm-panel__body {
	flex: 1 1 auto;
	padding: 14px 16px 20px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.fmc-vm-panel .fmc-vm-link {
	color: var(--fmc-gold);
}

.fmc-vm-panel .fmc-stars__back svg {
	fill: rgba(255, 255, 255, 0.2);
}

.fmc-vm-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fmc-vm-sum {
	margin: 0 0 16px;
}

.fmc-vm-sum__none {
	color: var(--fmc-muted);
}

.fmc-vm-sum__top {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 10px;
}

.fmc-vm-sum__avg {
	font-size: 40px;
	font-weight: 300;
	line-height: 1;
}

.fmc-vm-sum__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: var(--fmc-muted);
}

.fmc-vm-dist__row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 3px;
	font-size: 12px;
	color: var(--fmc-muted);
}

.fmc-vm-dist__n {
	width: 10px;
	text-align: right;
}

.fmc-vm-dist__bar {
	flex: 1 1 auto;
	height: 6px;
	background: rgba(255, 255, 255, 0.12);
}

.fmc-vm-dist__fill {
	display: block;
	height: 100%;
	background: var(--fmc-gold);
}

.fmc-vm-dist__c {
	min-width: 18px;
	text-align: right;
}

.fmc-vm-flash {
	padding: 10px 12px;
	border: 1px solid rgba(201, 169, 97, 0.7);
	color: var(--fmc-gold);
}

.fmc-vm-yours,
.fmc-vm-form {
	margin: 0 0 18px;
	padding: 14px;
	border: 1px solid var(--fmc-line);
	background: rgba(255, 255, 255, 0.04);
}

.fmc-vm-yours__h,
.fmc-vm-form__h {
	margin: 0 0 8px !important;
	color: var(--fmc-gold);
	font-size: 11px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.fmc-vm-yours__status {
	margin: 8px 0 !important;
	color: var(--fmc-muted);
}

.fmc-vm-yours__status.is-live {
	color: #9fd4a3;
}

.fmc-vm-yours__status.is-rejected {
	color: #f0a39b;
}

.fmc-vm-yours__body,
.fmc-vm-rev__body {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

.fmc-vm-yours__acts,
.fmc-vm-form__acts {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.fmc-vm-yours__ask {
	font-size: 13px;
}

.fmc-vm-btn {
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	font-family: inherit;
}

.fmc-vm-btn[disabled] {
	opacity: 0.5;
	cursor: default;
}

.fmc-vm-pick {
	display: flex;
	gap: 4px;
	margin: 0 0 12px;
}

.fmc-vm-pick__star {
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 7px;
	border: 1px solid var(--fmc-line);
	border-radius: 0;
	background: transparent;
	cursor: pointer;
}

.fmc-vm-pick__star svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: rgba(255, 255, 255, 0.18);
}

.fmc-vm-pick__star.is-on svg {
	fill: #c9a961;
}

.fmc-vm-pick__star:hover svg {
	fill: rgba(201, 169, 97, 0.7);
}

.fmc-vm-pick__star:focus-visible {
	outline: 2px solid var(--fmc-gold);
	outline-offset: 2px;
}

.fmc-vm-form__text,
.fmc-vm-report__reason,
.fmc-vm-report__more {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin: 0 0 6px;
	padding: 10px 12px;
	border: 1px solid var(--fmc-line);
	border-radius: 0;
	background: rgba(255, 255, 255, 0.06);
	color: inherit;
	font: inherit;
	font-size: 16px; /* 16px stops iPhones zooming in on focus */
}

.fmc-vm-report__reason option {
	color: #000;
}

.fmc-vm-form__text {
	resize: vertical;
}

.fmc-vm-form__count {
	display: block;
	margin: 0 0 8px;
	text-align: right;
	font-size: 11px;
	color: var(--fmc-muted);
}

.fmc-vm-form__note {
	font-size: 12px;
	color: var(--fmc-muted);
}

.fmc-vm-msg {
	min-height: 0;
	color: var(--fmc-muted);
}

.fmc-vm-msg:empty {
	display: none;
}

.fmc-vm-revs {
	list-style: none;
	margin: 0;
	padding: 0;
}

.fmc-vm-rev {
	margin: 0;
	padding: 12px 0;
	border-top: 1px solid var(--fmc-line);
}

.fmc-vm-rev__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0 0 4px;
}

.fmc-vm-rev__who {
	font-weight: 600;
}

.fmc-vm-rev__date,
.fmc-vm-rev__thanks {
	font-size: 12px;
	color: var(--fmc-muted);
}

.fmc-vm-rev__acts {
	margin: 4px 0 0 !important;
}

.fmc-vm-report__acts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 6px;
}

.fmc-vm-more {
	margin: 12px 0 0 !important;
	text-align: center;
}

@media (max-width: 640px) {
	.fmc-vm-panel {
		position: fixed;
		top: auto;
		right: 0;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 80vh;
		height: 80svh;
		border-top: 2px solid var(--fmc-gold);
		border-left: 0;
		box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.55);
		animation-name: fmc-vm-up;
	}
}

@keyframes fmc-vm-up {
	from {
		opacity: 0;
		transform: translateY(24px);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fmc-deals__dates {
		scroll-behavior: auto;
	}

	.fmc-logo-pin,
	.fmc-vm-panel {
		transition: none;
		animation: none;
	}
}

/* ---- Posts from this place (signed-in members, only while the Gallery timeline is on) ---- */
.fmc-vm-posts {
	margin: 0 0 8px;
	padding-left: 8px;
	border-left: 2px solid var(--fmc-gold, #c9a961);
}

.fmc-vm-posts:empty {
	display: none;
}

.fmc-vm-posts__title {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #666;
}

.fmc-vm-posts__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fmc-vm-post {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 5px 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	color: #1a1a1a;
	text-decoration: none;
}

.leaflet-container a.fmc-vm-post {
	color: #1a1a1a;
}

a.fmc-vm-post:hover .fmc-vm-post__title {
	text-decoration: underline;
}

.fmc-vm-post__thumb {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	background: #111;
	overflow: hidden;
}

.fmc-vm-post__thumb img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.fmc-vm-post__body {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fmc-vm-post__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.fmc-vm-post__meta {
	font-size: 11px;
	color: #666;
}

.fmc-vm-posts .fmc-vm-posts__more {
	margin: 2px 0 0;
}

.fmc-vm-posts .fmc-vm-link {
	display: inline-block;
	min-height: 32px;
	padding: 6px 0;
	line-height: 1.2;
}

/* The explanation above the deals on the full venues page. */
.fmc-vm-intro{max-width:760px;margin:0 0 34px}
.fmc-vm-intro__eyebrow{margin:0 0 10px;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:#c9a961}
.fmc-vm-intro__title{margin:0 0 14px;font-size:clamp(34px,6vw,60px);line-height:1.02;font-weight:800;letter-spacing:-.01em;color:#ece8dd}
.fmc-vm-intro__lead{margin:0 0 18px;font-size:17px;line-height:1.6;color:rgba(236,232,221,.86)}
.fmc-vm-intro__points{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:12px}
.fmc-vm-intro__points li{position:relative;padding-left:22px;font-size:14.5px;line-height:1.6;color:rgba(236,232,221,.78)}
.fmc-vm-intro__points li::before{content:"";position:absolute;left:0;top:.62em;width:10px;height:1px;background:#c9a961}
.fmc-vm-intro__points strong{color:#ece8dd;font-weight:600}
.fmc-vm-intro__now{margin:0 0 12px;font-size:12px;letter-spacing:.06em;color:rgba(236,232,221,.6)}
.fmc-vm-intro__cta{margin:0;font-size:13.5px;color:rgba(236,232,221,.78)}
.fmc-vm-intro__cta a{color:#c9a961;text-decoration:underline;text-underline-offset:3px}

/* Save to favourites in a venue popup (the popup is white, so these are dark on light). */
.fmc-vm-fav {
	margin: 8px 0 0;
}

.fmc-vm-favbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 0 16px;
	border: 1px solid #111;
	border-radius: 0;
	background: transparent;
	color: #111;
	font: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.fmc-vm-favbtn.is-saved {
	background: #111;
	color: #fff;
}

.fmc-vm-favbtn[disabled] {
	opacity: 0.55;
	cursor: default;
}

.fmc-vm-favbtn:focus-visible {
	outline: 2px solid var(--fmc-gold);
	outline-offset: 2px;
}

.fmc-vm-favnote {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #444;
}

.fmc-vm-favnote:empty {
	display: none;
}
