.post-type-archive-bgm_place,
.tax-bgm_city,
.tax-bgm_interest,
.tax-bgm_season {
	background: var(--bgm-color-surface);
}

/* Upcoming events that match the selected discovery mood. */
.bgm-mood-events {
	padding-top: 0;
	padding-bottom: var(--bgm-space-20);
}

.bgm-mood-events__header {
	display: flex;
	gap: var(--bgm-space-6);
	align-items: end;
	justify-content: space-between;
	margin-bottom: var(--bgm-space-8);
}

.bgm-mood-events__header h2 {
	max-width: 16ch;
	margin: var(--bgm-space-2) 0 0;
	font-family: var(--bgm-font-display);
	font-size: var(--bgm-text-section);
	font-weight: var(--bgm-weight-semibold);
	letter-spacing: var(--bgm-tracking-section);
	line-height: var(--bgm-leading-section);
}

.bgm-mood-events__header > a {
	display: inline-flex;
	gap: var(--bgm-space-2);
	align-items: center;
	color: var(--bgm-color-ink);
	font-size: var(--bgm-text-nav);
	font-weight: var(--bgm-weight-extrabold);
	text-decoration: none;
}

/*
 * Editorial variant for a selected mood with an event recommendation only.
 * The matching PHP flag is intentionally isolated so this entire treatment
 * can be switched off without altering archive queries or event cards.
 */
.bgm-explore-results--mood-editorial {
	padding-block: clamp(3rem, 5vw, 5rem) 0 !important;
}

.bgm-explore-results--mood-editorial .bgm-explore-results-bar {
	margin-bottom: var(--bgm-space-5);
}

.bgm-explore-results--mood-editorial .bgm-explore-results-bar h2 {
	max-width: 18ch;
}

.bgm-explore-results--mood-editorial .bgm-explore-active-filters {
	margin-bottom: var(--bgm-space-6);
}

.bgm-mood-events--editorial {
	padding-block: var(--bgm-space-3) var(--bgm-space-20) !important;
}

.bgm-mood-events--editorial .bgm-mood-events__header {
	max-width: 100%;
	margin-bottom: var(--bgm-space-6);
	padding-top: var(--bgm-space-6);
	border-top: var(--bgm-border-width) solid rgb(177 128 42 / 0.22);
}

.bgm-mood-events--editorial .bgm-mood-events__header h2 {
	max-width: none;
}

.bgm-mood-events--editorial .bgm-event-card--featured {
	min-height: clamp(23rem, 34vw, 30rem);
}

.bgm-mood-events--editorial .bgm-event-card--featured .bgm-event-card__summary {
	-webkit-line-clamp: 2;
}

.bgm-mood-events__empty {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-4);
	align-items: center;
	justify-content: space-between;
	padding: var(--bgm-space-6);
	border: var(--bgm-border-width) solid rgb(21 63 52 / 0.12);
	border-radius: var(--bgm-radius-large);
	background: var(--bgm-color-success-soft);
}

.bgm-mood-events__empty p {
	margin: 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-base);
}

.bgm-mood-events__empty a {
	display: inline-flex;
	gap: var(--bgm-space-2);
	align-items: center;
	color: var(--bgm-color-ink);
	font-size: var(--bgm-text-nav);
	font-weight: var(--bgm-weight-extrabold);
	text-decoration: none;
}

@media (max-width: 700px) {
	.bgm-mood-events {
		padding-bottom: var(--bgm-space-14);
	}

	.bgm-mood-events__header {
		align-items: start;
		flex-direction: column;
		gap: var(--bgm-space-4);
	}
}

.bgm-explore-page {
	overflow: clip;
}

.bgm-explore-intro {
	position: relative;
	padding-block: clamp(3.75rem, 5vw, 4.75rem);
	border-bottom: var(--bgm-border-width) solid var(--bgm-color-border);
	background: var(--bgm-color-success-soft);
}

.bgm-explore-intro::after {
	position: absolute;
	inset-block-start: -11rem;
	inset-inline-end: max(-8rem, calc((100vw - var(--bgm-container)) / 2 - 12rem));
	width: 30rem;
	aspect-ratio: 1;
	border: var(--bgm-border-width) solid rgb(20 108 98 / 0.13);
	border-radius: var(--bgm-radius-round);
	box-shadow:
		0 0 0 4rem rgb(255 255 255 / 0.22),
		0 0 0 8rem rgb(20 108 98 / 0.035);
	content: "";
	pointer-events: none;
}

.bgm-explore-intro-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.55fr);
	gap: clamp(3rem, 6vw, 6rem);
	align-items: center;
}

.bgm-explore-heading h1 {
	/* font-size/line-height/letter-spacing dropped at this (desktop) width only:
	   premium-system.css's hero !important rule wins here. Its own <=767px
	   override drops !important, so the mobile version of this rule (below,
	   in the max-width:767px block) stays in effect and must not be touched. */
	max-width: 100%;
	margin-bottom: var(--bgm-space-6);
}

.bgm-explore-heading > p {
	max-width: 41rem;
	margin: 0;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-lg);
	line-height: var(--bgm-leading-body);
}

.bgm-explore-region-cities {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
	margin-top: var(--bgm-space-5);
}

.bgm-explore-region-city {
	display: inline-flex;
	align-items: center;
	min-height: 2.35rem;
	padding-inline: var(--bgm-space-4);
	border: var(--bgm-border-width) solid rgb(20 108 98 / 0.22);
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-primary);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-bold);
	text-decoration: none;
	transition: background var(--bgm-duration-fast) var(--bgm-ease-out), border-color var(--bgm-duration-fast) var(--bgm-ease-out);
}

.bgm-explore-region-city:hover,
.bgm-explore-region-city:focus-visible {
	border-color: var(--bgm-color-primary);
	background: rgb(20 108 98 / 0.08);
}

.bgm-explore-note {
	width: 100%;
	max-width: 28rem;
	padding: clamp(1.5rem, 2.3vw, 2rem);
	border: var(--bgm-border-width) solid rgb(20 108 98 / 0.16);
	border-radius: var(--bgm-radius-lg);
	background: rgb(255 255 255 / 0.7);
	box-shadow: 0 1.5rem 4rem rgb(22 32 29 / 0.06);
	backdrop-filter: blur(16px);
	justify-self: end;
}

.bgm-explore-note > span {
	color: var(--bgm-color-primary);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	text-transform: uppercase;
}

.bgm-explore-note > p {
	max-width: 100%;
	margin: var(--bgm-space-3) 0 var(--bgm-space-5);
	font-family: var(--bgm-font-heading);
	font-size: clamp(1.5rem, 2vw, 1.9rem);
	font-weight: var(--bgm-weight-semibold);
	line-height: 1.06;
	letter-spacing: var(--bgm-tracking-card);
}

.bgm-explore-note ol {
	display: grid;
	gap: var(--bgm-space-3);
	margin: 0;
	padding: var(--bgm-space-5) 0 0;
	border-top: var(--bgm-border-width) solid var(--bgm-color-border);
	list-style: none;
}

.bgm-explore-note li {
	display: flex;
	gap: var(--bgm-space-4);
	align-items: center;
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-explore-note li b {
	color: var(--bgm-color-accent-hover);
	font-size: var(--bgm-text-2xs);
	letter-spacing: var(--bgm-tracking-eyebrow);
}

/*
 * Audience ("kimlerle") and season ("mevsim") term archives carry their own
 * photo (set on the term's edit screen), so the intro continues the same
 * image/mood as the homepage card that linked here — a full-bleed
 * background instead of the flat light-gradient panel every other
 * archive/filter combination uses.
 */
.bgm-explore-intro--photo {
	background-image: linear-gradient(180deg, rgb(8 15 13 / 0.18) 0%, rgb(8 15 13 / 0.78) 100%), var(--bgm-explore-hero-image);
	background-position: center;
	background-size: cover;
	border-bottom-color: transparent;
}

.bgm-explore-intro--photo::after {
	display: none;
}

.bgm-explore-intro--photo .bgm-explore-heading .bgm-eyebrow {
	color: var(--bgm-color-highlight);
}

.bgm-explore-intro--photo .bgm-explore-heading h1 {
	color: var(--bgm-color-surface);
}

.bgm-explore-intro--photo .bgm-explore-heading > p {
	color: rgb(255 255 255 / 0.86);
}

.bgm-explore-intro--photo .bgm-explore-note {
	background: rgb(15 23 21 / 0.6);
	border-color: rgb(255 255 255 / 0.22);
	box-shadow: 0 1.5rem 4rem rgb(0 0 0 / 0.28);
}

.bgm-explore-intro--photo .bgm-explore-note > span {
	color: var(--bgm-color-highlight);
}

.bgm-explore-intro--photo .bgm-explore-note > p {
	color: var(--bgm-color-surface);
}

.bgm-explore-intro--photo .bgm-explore-note ol {
	border-top-color: rgb(255 255 255 / 0.22);
}

.bgm-explore-intro--photo .bgm-explore-note li {
	color: rgb(255 255 255 / 0.86);
}

.bgm-explore-intro--photo .bgm-explore-note li b {
	color: var(--bgm-color-highlight);
}

.bgm-explore-filter-shell {
	position: relative;
	/* Must stay below the site nav drawer (z-index: 61 in home.css) so an
	   open mobile menu isn't drawn under this shell's search/filter bar.
	   The 100/101 values on this shell's own filter panel and backdrop
	   below are scoped to this stacking context and unaffected by this. */
	z-index: 10;
	margin-top: calc(var(--bgm-space-8) * -1);
}

.bgm-explore-filters {
	padding: var(--bgm-space-6);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-lg);
	background: var(--bgm-color-surface);
	box-shadow: 0 1.4rem 4rem rgb(22 32 29 / 0.09);
}

.bgm-explore-filter-heading {
	display: none;
}

/*
 * Plain positioning wrapper only — the visible pill (border/background/
 * radius) now lives on the input itself, with the icon absolutely
 * positioned over it. This matches the pattern already used for the
 * koleksiyonlar/rotalar/etkinlikler/rehberler search fields, so a single
 * box shows here instead of this label's own border nested a few px inside
 * the filter card's border.
 */
.bgm-explore-search {
	display: block;
	position: relative;
}

.bgm-explore-search svg {
	position: absolute;
	top: 50%;
	left: var(--bgm-space-5);
	width: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transform: translateY(-50%);
	pointer-events: none;
}

.bgm-explore-mobile-tools svg {
	width: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bgm-explore-search input {
	width: 100%;
	min-height: 4rem;
	padding: 0 var(--bgm-space-5) 0 3.25rem;
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-md);
	background: var(--bgm-color-surface);
	outline: 0;
	color: var(--bgm-color-text);
	font: inherit;
	transition: border-color var(--bgm-duration-fast) var(--bgm-ease-out), box-shadow var(--bgm-duration-fast) var(--bgm-ease-out);
}

.bgm-explore-search input:focus {
	border-color: var(--bgm-input-border-focus);
	box-shadow: var(--bgm-input-shadow-focus);
}

.bgm-explore-mobile-tools input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--bgm-color-text);
	font: inherit;
}

.bgm-explore-search input::placeholder,
.bgm-explore-mobile-tools input::placeholder {
	color: var(--bgm-color-text-soft);
}

.bgm-explore-filter-triggers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
	gap: var(--bgm-space-3);
	margin-top: var(--bgm-space-4);
}

.bgm-explore-sort select {
	width: 100%;
	min-height: 3.25rem;
	padding: 0.75rem 2.5rem 0.75rem 1rem;
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-md);
	background-color: var(--bgm-color-surface);
	color: var(--bgm-color-text);
	font-family: var(--bgm-font-body);
	font-size: var(--bgm-text-sm);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-explore-filter-actions {
	display: flex;
	gap: var(--bgm-space-5);
	align-items: center;
	justify-content: flex-end;
	margin-top: var(--bgm-space-5);
}

.bgm-explore-filter-actions > a {
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-bold);
}

.bgm-explore-filter-actions button {
	display: inline-flex;
	gap: var(--bgm-space-3);
	align-items: center;
	min-height: 2.75rem;
	padding-inline: var(--bgm-space-5);
	border: 0;
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-primary);
	color: var(--bgm-color-surface);
	font-family: var(--bgm-font-body);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-bold);
	cursor: pointer;
	transition: background var(--bgm-duration-fast) var(--bgm-ease-out), transform var(--bgm-duration-fast) var(--bgm-ease-out);
}

.bgm-explore-filter-actions button:hover {
	background: var(--bgm-color-primary-hover);
	transform: translateY(-1px);
}

.bgm-explore-mobile-tools {
	display: none;
}

.bgm-explore-results {
	padding-top: clamp(5rem, 8vw, 8rem);
}

.bgm-explore-results-bar {
	display: flex;
	gap: var(--bgm-space-8);
	align-items: end;
	justify-content: space-between;
	margin-bottom: var(--bgm-space-8);
}

.bgm-explore-results-bar .bgm-eyebrow {
	margin-bottom: var(--bgm-space-3);
	color: var(--bgm-color-accent-hover);
}

.bgm-explore-results-bar h2 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.bgm-explore-sort {
	display: grid;
	grid-template-columns: auto auto;
	gap: var(--bgm-space-3);
	align-items: center;
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-bold);
}

.bgm-explore-sort select {
	min-width: 10rem;
}

.bgm-explore-active-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
	margin-top: calc(var(--bgm-space-4) * -1);
	margin-bottom: var(--bgm-space-8);
}

.bgm-explore-active-filters a {
	display: inline-flex;
	gap: var(--bgm-space-2);
	align-items: center;
	min-height: 2.15rem;
	padding-inline: var(--bgm-space-3);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-pill);
	background: var(--bgm-color-surface);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-bold);
	text-decoration: none;
}

.bgm-explore-active-filters a:hover {
	border-color: rgb(20 108 98 / 0.4);
	color: var(--bgm-color-primary);
}

.bgm-explore-active-filters .is-clear-all {
	border-color: transparent;
	background: transparent;
	text-decoration: underline;
}

.bgm-place-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2rem);
}

/*
 * Under-filled results: keep the exact card width the 3-column row would
 * give each card, but stop reserving empty trailing tracks for it. Only
 * engages with 1-2 results; 3+ results keep the rule above untouched.
 */
.bgm-place-grid:has(> :nth-child(2):last-child) {
	grid-template-columns: repeat(2, minmax(0, calc((100% - (2 * clamp(1.25rem, 2.5vw, 2rem))) / 3)));
	justify-content: start;
}

.bgm-place-grid:has(> :first-child:last-child) {
	grid-template-columns: minmax(0, calc((100% - (2 * clamp(1.25rem, 2.5vw, 2rem))) / 3));
	justify-content: start;
}

.bgm-place-card {
	min-width: 0;
	border-radius: var(--bgm-radius-lg);
}

.bgm-place-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #e8eee9;
}

.bgm-place-card-media > a {
	display: block;
	width: 100%;
	height: 100%;
}

.bgm-place-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms var(--bgm-ease-out);
}

.bgm-place-card:hover .bgm-place-card-media img {
	transform: scale(1.035);
}

.bgm-place-card-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	background: #e8efe9;
	color: rgb(20 108 98 / 0.58);
}

.bgm-place-card:nth-child(3n + 2) .bgm-place-card-placeholder {
	background: #f4eee2;
	color: rgb(189 140 53 / 0.66);
}

.bgm-place-card:nth-child(3n + 3) .bgm-place-card-placeholder {
	background: #e4eef0;
	color: rgb(60 117 130 / 0.58);
}

.bgm-place-card-placeholder svg {
	width: 3.75rem;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.4;
}

.bgm-place-card-taxonomy {
	position: absolute;
	z-index: 4;
	inset-block-start: var(--bgm-space-4);
	inset-inline-start: var(--bgm-space-4);
	max-width: calc(100% - 5rem);
	padding: var(--bgm-badge-padding);
	border-width: var(--bgm-border-width);
	border-style: solid;
	border-radius: var(--bgm-radius-pill);
	background: rgb(255 255 255 / 0.9);
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	line-height: var(--bgm-leading-card);
	text-transform: uppercase;
	backdrop-filter: blur(12px);
}

.bgm-place-card-gallery-count {
	position: absolute;
	inset-block-start: calc(var(--bgm-space-3) + 0.2rem);
	inset-inline-end: calc(var(--bgm-space-3) + 3.15rem);
	z-index: 4;
}

.bgm-place-card-gallery-controls {
	inset-block-end: var(--bgm-space-3);
	inset-inline-end: var(--bgm-space-3);
}

button.bgm-place-card-save {
	position: absolute;
	inset-block-start: var(--bgm-space-3);
	inset-inline-end: var(--bgm-space-3);
	width: 2.75rem;
	height: 2.75rem;
	border: var(--bgm-border-width) solid rgb(22 32 29 / 0.1);
	border-radius: var(--bgm-radius-md);
	background: rgb(255 255 255 / 0.94) !important;
	box-shadow: var(--bgm-shadow-soft);
	color: var(--bgm-color-text) !important;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

button.bgm-place-card-save:hover,
button.bgm-place-card-save:focus-visible {
	border-color: rgb(20 108 98 / 0.28);
	background: var(--bgm-leaf-100) !important;
	box-shadow: 0 0.75rem 1.5rem rgb(22 32 29 / 0.14);
	color: var(--bgm-color-primary) !important;
	transform: translateY(-0.125rem);
}

button.bgm-place-card-save.is-saved {
	border-color: var(--bgm-color-primary);
	background: var(--bgm-color-primary) !important;
	box-shadow: 0 0.75rem 1.5rem rgb(20 108 98 / 0.24);
	color: var(--bgm-white) !important;
}

button.bgm-place-card-save.is-saved:hover,
button.bgm-place-card-save.is-saved:focus-visible {
	background: var(--bgm-color-primary-hover) !important;
	color: var(--bgm-white) !important;
}

button.bgm-place-card-save:focus-visible {
	outline: 3px solid rgb(20 108 98 / 0.26);
	outline-offset: 0.2rem;
}

.bgm-place-card-save svg {
	width: 1.15rem;
	height: 1.15rem;
	stroke-width: 1.85;
}

.bgm-place-card-content {
	padding: var(--bgm-space-5);
}

.bgm-place-card-location {
	display: inline-flex;
	gap: var(--bgm-space-2);
	align-items: center;
	margin-bottom: var(--bgm-space-3);
	color: var(--bgm-color-primary);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-bold);
}

.bgm-place-card-location svg {
	width: 0.9rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
}

.bgm-place-card h3 {
	margin-bottom: var(--bgm-space-3);
	font-size: clamp(1.7rem, 2.5vw, 2.25rem);
	line-height: var(--bgm-leading-card);
}

.bgm-place-card h3 a {
	text-decoration: none;
}

.bgm-place-card h3 a::after {
	position: absolute;
	inset: 0;
	content: "";
}

.bgm-place-card {
	position: relative;
}

.bgm-place-card p {
	min-height: 3.25em;
	margin-bottom: var(--bgm-space-5);
	color: var(--bgm-color-text-muted);
	font-size: var(--bgm-text-sm);
	line-height: var(--bgm-leading-body);
}

.bgm-place-card-details {
	position: relative;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2) var(--bgm-space-3);
	align-items: center;
	padding-top: var(--bgm-space-4);
	border-top: var(--bgm-border-width) solid var(--bgm-color-border);
	color: var(--bgm-color-text-soft);
	font-size: var(--bgm-text-2xs);
	font-weight: var(--bgm-weight-semibold);
}

.bgm-place-card-details > span + span::before {
	margin-inline-end: var(--bgm-space-3);
	color: #c2cbc6;
	content: "•";
}

.bgm-place-card-details a {
	margin-inline-start: auto;
	color: var(--bgm-color-text);
	font-weight: var(--bgm-weight-extrabold);
	text-decoration: none;
}

.bgm-place-card .bgm-save-button {
	z-index: 3;
}

.bgm-explore-empty {
	display: grid;
	justify-items: center;
	max-width: 52rem;
	margin-inline: auto;
	padding: clamp(4rem, 8vw, 7rem) var(--bgm-space-6);
	border: var(--bgm-border-width) solid var(--bgm-color-border);
	border-radius: var(--bgm-radius-xl);
	background: var(--bgm-color-surface);
	text-align: center;
}

.bgm-explore-empty-mark {
	display: grid;
	width: 5rem;
	aspect-ratio: 1;
	margin-bottom: var(--bgm-space-6);
	border-radius: var(--bgm-radius-round);
	background: #e9f2eb;
	color: var(--bgm-color-primary);
	place-items: center;
}

.bgm-explore-empty-mark svg {
	width: 2.5rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
}

.bgm-explore-empty > span {
	margin-bottom: var(--bgm-space-3);
	color: var(--bgm-color-accent-hover);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-extrabold);
	letter-spacing: var(--bgm-tracking-eyebrow);
	text-transform: uppercase;
}

.bgm-explore-empty h2 {
	max-width: 14ch;
	margin-bottom: var(--bgm-space-4);
	font-size: clamp(2rem, 4vw, 3.4rem);
}

.bgm-explore-empty p {
	max-width: 34rem;
	margin-bottom: var(--bgm-space-8);
	color: var(--bgm-color-text-muted);
}

.bgm-explore-pagination {
	margin-top: var(--bgm-space-16);
}

.bgm-explore-pagination ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bgm-space-2);
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bgm-explore-pagination a,
.bgm-explore-pagination span {
	display: grid;
	min-width: 2.75rem;
	height: 2.75rem;
	padding-inline: var(--bgm-space-3);
	border-radius: var(--bgm-radius-pill);
	color: var(--bgm-color-text);
	font-size: var(--bgm-text-xs);
	font-weight: var(--bgm-weight-bold);
	text-decoration: none;
	place-items: center;
}

.bgm-explore-pagination .current {
	background: var(--bgm-color-primary);
	color: var(--bgm-color-surface);
}

.bgm-explore-pagination a:hover {
	background: var(--bgm-color-success-soft);
	color: var(--bgm-color-primary);
}

@media (max-width: 980px) {
	.bgm-explore-intro-grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.75fr);
		gap: var(--bgm-space-8);
	}

	.bgm-explore-filter-triggers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bgm-explore-filter-actions {
		margin-top: var(--bgm-space-5);
	}

	.bgm-place-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bgm-place-grid:has(> :first-child:last-child) {
		grid-template-columns: minmax(0, calc((100% - clamp(1.25rem, 2.5vw, 2rem)) / 2));
		justify-content: start;
	}

	/*
	 * At this 2-column tablet width, 2 results already fill the row exactly
	 * — undo the desktop "1/3-width" under-fill trick so cards use the full
	 * 2-column track instead of shrinking to a 3-column card size.
	 */
	.bgm-place-grid:has(> :nth-child(2):last-child) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		justify-content: stretch;
	}
}

@media (max-width: 767px) {
	.bgm-explore-intro {
		padding-block: var(--bgm-space-16) var(--bgm-space-12);
	}

	.bgm-explore-intro::after {
		inset-block-start: -8rem;
		inset-inline-end: -12rem;
		width: 24rem;
	}

	.bgm-explore-intro-grid {
		grid-template-columns: 1fr;
		gap: var(--bgm-space-8);
	}

	.bgm-explore-heading h1 {
		max-width: 100%;
		margin-bottom: var(--bgm-space-5);
		font-size: var(--bgm-text-hero);
	}

	.bgm-explore-heading > p {
		font-size: var(--bgm-text-base);
	}

	.bgm-explore-note {
		display: none;
	}

	.bgm-explore-filter-shell {
		margin-top: var(--bgm-space-5);
	}

	.bgm-explore-mobile-tools {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		gap: var(--bgm-space-2);
	}

	.bgm-explore-mobile-tools form {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		gap: var(--bgm-space-2);
		align-items: center;
		min-height: 3.5rem;
		padding-inline: var(--bgm-space-4);
		border: var(--bgm-border-width) solid var(--bgm-color-border);
		border-radius: var(--bgm-radius-pill);
		background: var(--bgm-color-surface);
	}

	.bgm-explore-mobile-tools button {
		display: inline-flex;
		gap: var(--bgm-space-2);
		align-items: center;
		min-height: 3.5rem;
		padding-inline: var(--bgm-space-4);
		border: 0;
		border-radius: var(--bgm-radius-pill);
		background: var(--bgm-color-primary);
		color: var(--bgm-color-surface);
		font-family: var(--bgm-font-body);
		font-size: var(--bgm-text-xs);
		font-weight: var(--bgm-weight-bold);
	}

	.bgm-explore-mobile-tools button svg {
		width: 1rem;
	}

	/*
	 * The active-filter count badge is the only <span> meant to get this
	 * pill treatment. "> span" alone also matched the button's own text
	 * label (also a <span>, for live-editor text management), giving it a
	 * tiny white background box mid-button — unreadable against the dark
	 * fill. "span + span" reaches only the badge, which is always the
	 * second span and only rendered when active filters exist.
	 */
	.bgm-explore-mobile-tools button > span + span {
		display: grid;
		min-width: 1.25rem;
		height: 1.25rem;
		border-radius: var(--bgm-radius-round);
		background: var(--bgm-color-surface);
		color: var(--bgm-color-primary);
		font-size: var(--bgm-text-2xs);
		place-items: center;
	}

	.bgm-explore-filters {
		position: fixed;
		z-index: 101;
		inset: auto 0 0;
		display: flex;
		flex-direction: column;
		max-height: min(88vh, 52rem);
		padding: var(--bgm-space-6) var(--bgm-gutter) max(var(--bgm-space-6), env(safe-area-inset-bottom));
		border: 0;
		border-radius: var(--bgm-radius-xl) var(--bgm-radius-xl) 0 0;
		overflow: hidden;
		box-shadow: 0 -1.5rem 5rem rgb(22 32 29 / 0.22);
		transform: translateY(105%);
		visibility: hidden;
		transition: transform var(--bgm-duration-normal) var(--bgm-ease-out), visibility 0s linear var(--bgm-duration-normal);
		will-change: transform;
	}

	.bgm-explore-filter-fields {
		overflow-y: auto;
		flex: 1 1 auto;
		min-height: 0;
	}

	.bgm-explore-filters.is-open {
		transform: translateY(0);
		visibility: visible;
		transition-delay: 0s;
	}

	.bgm-explore-filter-backdrop {
		position: fixed;
		z-index: 100;
		inset: 0;
		background: rgb(22 32 29 / 0.42);
		backdrop-filter: blur(5px);
		opacity: 0;
		transition: opacity var(--bgm-duration-normal) var(--bgm-ease-out);
	}

	.bgm-explore-filter-backdrop.is-open {
		opacity: 1;
	}

	body.has-explore-filters-open {
		overflow: hidden;
	}

	.bgm-explore-filter-heading {
		display: flex;
		align-items: center;
		justify-content: space-between;
		margin-bottom: var(--bgm-space-5);
	}

	.bgm-explore-filter-heading > div {
		display: grid;
	}

	.bgm-explore-filter-heading span {
		color: var(--bgm-color-primary);
		font-size: var(--bgm-text-2xs);
		font-weight: var(--bgm-weight-extrabold);
		letter-spacing: var(--bgm-tracking-eyebrow);
		text-transform: uppercase;
	}

	.bgm-explore-filter-heading strong {
		font-family: var(--bgm-font-heading);
		font-size: var(--bgm-text-card);
		font-weight: var(--bgm-weight-semibold);
		line-height: var(--bgm-leading-card);
		letter-spacing: var(--bgm-tracking-card);
	}

	.bgm-explore-filter-close {
		display: grid;
		width: 2.75rem;
		aspect-ratio: 1;
		border: var(--bgm-border-width) solid var(--bgm-color-border);
		border-radius: var(--bgm-radius-round);
		background: var(--bgm-color-surface);
		place-items: center;
	}

	.bgm-explore-filter-close svg {
		width: 1.1rem;
		fill: none;
		stroke: currentColor;
		stroke-width: 1.6;
	}

	.bgm-explore-filter-triggers {
		grid-template-columns: 1fr;
	}

	.bgm-explore-filter-actions {
		flex-shrink: 0;
		margin: var(--bgm-space-6) calc(var(--bgm-gutter) * -1) calc(var(--bgm-space-6) * -1);
		padding: var(--bgm-space-4) var(--bgm-gutter) max(var(--bgm-space-4), env(safe-area-inset-bottom));
		background: var(--bgm-color-surface);
		box-shadow: 0 -1rem 2rem rgb(22 32 29 / 0.06);
	}

	.bgm-explore-filter-actions button {
		flex: 1;
		justify-content: center;
		min-height: 3rem;
	}

	.bgm-explore-results {
		padding-top: var(--bgm-space-20);
	}

	.bgm-explore-results--mood-editorial {
		padding-block: var(--bgm-space-12) 0 !important;
	}

	.bgm-mood-events--editorial {
		padding-top: var(--bgm-space-2) !important;
	}

	.bgm-mood-events--editorial .bgm-mood-events__header {
		padding-top: var(--bgm-space-5);
	}

	.bgm-explore-results-bar {
		align-items: start;
		margin-bottom: var(--bgm-space-6);
	}

	.bgm-explore-results-bar h2 {
		font-size: var(--bgm-text-section);
	}

	.bgm-explore-sort {
		grid-template-columns: 1fr;
		gap: var(--bgm-space-1);
	}

	.bgm-explore-sort > span {
		display: none;
	}

	.bgm-explore-sort select {
		min-width: 0;
		max-width: 8.5rem;
		min-height: 2.75rem;
		font-size: var(--bgm-text-2xs);
	}

	.bgm-explore-active-filters {
		flex-wrap: nowrap;
		margin-inline: calc(var(--bgm-gutter) * -1);
		padding-inline: var(--bgm-gutter);
		overflow-x: auto;
		scrollbar-width: none;
	}

	.bgm-explore-active-filters::-webkit-scrollbar {
		display: none;
	}

	.bgm-explore-active-filters a {
		flex: none;
	}

	.bgm-place-grid {
		grid-template-columns: 1fr;
		gap: var(--bgm-space-5);
	}

	/*
	 * Single-column mobile: 1 or 2 results should just stack full-width like
	 * every other card count, not shrink to the desktop 3-column card size.
	 */
	.bgm-place-grid:has(> :nth-child(2):last-child),
	.bgm-place-grid:has(> :first-child:last-child) {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.bgm-place-card-media {
		aspect-ratio: 16 / 11;
	}

	.bgm-card-gallery-controls button {
		inline-size: 2.15rem;
		block-size: 2.15rem;
	}

	.bgm-place-card h3 {
		font-size: var(--bgm-text-card);
	}

	.bgm-place-card p {
		min-height: 0;
	}
}
