.st-places-app,
.st-place-single,
.st-place-suggest {
	--st-places-accent: var(--wp--preset--color--primary, var(--theme-color, var(--brand-color, #e85d32)));
	--st-places-accent-dark: #b94322;
	--st-places-text: var(--wp--preset--color--contrast, var(--base-color, #292929));
	--st-places-muted: var(--wp--preset--color--secondary, #777);
	--st-places-surface: #fff;
	--st-places-soft: #f7f7f7;
	--st-places-line: var(--wp--preset--color--border, #e8e8e8);
	color: var(--st-places-text);
	font-family: inherit;
}

.st-places-app h1,
.st-places-app h2,
.st-places-app h3,
.st-place-single h1,
.st-place-single h2,
.st-place-single h3,
.st-place-suggest h1,
.st-place-suggest h2,
.st-place-suggest h3 {
	font-family: inherit;
	font-weight: 500;
}

.st-places-toolbar {
	display: grid;
	grid-template-columns: minmax(270px, 1.4fr) minmax(175px, .65fr) minmax(150px, .55fr) auto auto auto;
	gap: 10px;
	align-items: center;
	margin: 0 0 16px;
	padding: 16px;
	background: var(--st-places-soft);
	border: 1px solid var(--st-places-line);
	border-radius: 6px;
}

.st-places-toolbar input,
.st-places-toolbar select,
.st-places-toolbar button {
	min-height: 46px;
	margin: 0;
	font-size: 14px;
}

.st-places-toolbar input,
.st-places-toolbar select {
	width: 100%;
	background: var(--st-places-surface);
	border: 1px solid var(--st-places-line);
	border-radius: 4px;
}

.st-places-search-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
}

.st-places-search-wrap input {
	border-radius: 4px 0 0 4px;
}

.st-places-search-wrap button {
	padding: 0 18px;
	color: #fff;
	background: var(--st-places-accent);
	border: 0;
	border-radius: 0 4px 4px 0;
	font-weight: 700;
}

.st-places-search-wrap button:hover {
	background: var(--st-places-accent-dark);
}

.st-places-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 8px 14px;
	color: var(--st-places-text);
	background: var(--st-places-surface);
	border: 1px solid var(--st-places-line);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
}

.st-places-toggle input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.st-places-toggle:hover,
.st-places-toggle.is-active,
.st-places-toggle:has(input:checked) {
	color: #fff;
	background: var(--st-places-accent);
	border-color: var(--st-places-accent);
}

.st-places-reset {
	color: var(--st-places-muted);
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
}

.st-places-summary {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 5px;
	margin: 0 0 13px;
	color: var(--st-places-muted);
	font-size: 13px;
}

.st-places-summary strong {
	color: var(--st-places-text);
	font-size: 20px;
}

.st-places-suggest-button,
.st-place-back-map,
.st-place-suggest-back a,
.st-place-correction-button,
.st-place-add-button {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 7px 13px;
	color: var(--st-places-accent);
	border: 1px solid currentColor;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 800;
}

.st-places-suggest-button:hover,
.st-place-back-map:hover,
.st-place-suggest-back a:hover,
.st-place-correction-button:hover,
.st-place-add-button:hover {
	color: #fff;
	background: var(--st-places-accent);
}

.st-places-map-count {
	margin-left: 3px;
}

.st-places-map,
.st-place-single-map {
	width: 100%;
	height: min(62vh, 570px);
	min-height: 390px;
	overflow: hidden;
	border: 1px solid var(--st-places-line);
	border-radius: 6px;
	background: var(--st-places-soft);
}

.st-place-single-map {
	height: 410px;
	min-height: 330px;
	margin-top: 26px;
}

.st-places-map[data-load-error="true"] {
	min-height: 260px;
	opacity: .7;
}

.st-places-map-unavailable {
	display: grid;
	padding: 32px;
	color: var(--st-places-muted);
	place-items: center;
	text-align: center;
}

.st-places-map-message {
	margin: 12px 0 0;
	padding: 12px 15px;
	color: #7b611b;
	background: #fff4cf;
	border-radius: 7px;
	font-size: 13px;
}

.st-place-map-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin: 11px 0 0;
}

.st-place-map-actions a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 8px 14px;
	color: #fff;
	background: var(--st-places-accent);
	border-radius: 6px;
	font-size: 13px;
	font-weight: 700;
}

.st-places-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.st-place-card {
	overflow: hidden;
	background: var(--st-places-surface);
	border: 1px solid var(--st-places-line);
	border-radius: 5px;
	contain: layout paint;
	transition: border-color .18s ease;
}

.st-place-card:hover {
	border-color: var(--st-places-accent);
}

.st-place-card-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--st-places-soft);
}

.st-place-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.st-place-card-placeholder {
	display: grid;
	height: 100%;
	place-items: center;
	color: var(--st-places-accent);
	font-size: 38px;
}

.st-place-card-badges {
	position: absolute;
	z-index: 2;
	top: 11px;
	left: 11px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.st-place-badge {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 4px 8px;
	color: #fff;
	background: rgba(31, 34, 38, .88);
	border-radius: 4px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .025em;
	text-transform: uppercase;
}

.st-place-badge-free {
	background: #6f856d;
}

.st-place-badge-popular {
	background: var(--st-places-accent);
}

.st-place-card-body {
	padding: 17px 18px 19px;
}

.st-place-card-kicker {
	margin-bottom: 6px;
	color: var(--st-places-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .045em;
	text-transform: uppercase;
}

.st-place-card h3 {
	margin: 0;
	font-size: 18px;
	line-height: 1.3;
}

.st-place-card h3 a {
	color: inherit;
}

.st-place-card-address {
	margin: 9px 0 0;
	color: var(--st-places-muted);
	font-size: 13px;
	line-height: 1.45;
}

.st-place-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px 12px;
	margin-top: 11px;
	color: var(--st-places-muted);
	font-size: 11px;
}

.st-place-verified {
	color: #547253;
	font-weight: 700;
}

.st-places-empty {
	margin: 24px 0 0;
	padding: 25px;
	background: var(--st-places-soft);
	border-radius: 8px;
	text-align: center;
}

.st-places-empty strong {
	font-size: 18px;
}

.st-places-empty p {
	margin: 7px 0 0;
	color: var(--st-places-muted);
}

.st-places-pagination {
	margin-top: 32px;
}

.st-places-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.st-places-pagination a,
.st-places-pagination span {
	display: grid;
	min-width: 39px;
	height: 39px;
	padding: 0 9px;
	place-items: center;
	border: 1px solid var(--st-places-line);
	border-radius: 5px;
}

.st-places-pagination .current {
	color: #fff;
	background: var(--st-places-accent);
	border-color: var(--st-places-accent);
}

.st-places-data-credit {
	margin: 24px 0 0;
	color: var(--st-places-muted);
	font-size: 11px;
}

.st-place-popup {
	display: grid;
	gap: 5px;
	max-width: 230px;
	line-height: 1.35;
}

.st-place-popup-image {
	width: calc(100% + 2px);
	max-height: 125px;
	margin: -1px -1px 3px;
	object-fit: cover;
	border-radius: 3px;
}

.st-place-popup-category {
	color: var(--st-places-accent);
	font-size: 10px !important;
	font-weight: 800;
	letter-spacing: .03em;
	text-transform: uppercase;
}

.st-place-popup strong {
	font-size: 14px;
}

.st-place-popup span {
	color: #5e6268;
	font-size: 12px;
}

.st-place-popup-free {
	color: #547253 !important;
	font-weight: 700;
}

.st-place-popup a {
	color: var(--st-places-accent);
	font-size: 12px;
	font-weight: 700;
}

.st-place-single {
	width: 100%;
	margin-bottom: 40px;
}

.st-place-primary-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 20px;
}

.st-place-primary-actions-right {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.st-place-add-button {
	color: #fff;
	background: var(--st-places-accent);
}

.st-place-correction-button {
	color: var(--st-places-muted);
}

.st-place-single-header {
	margin-bottom: 22px;
}

.st-place-single-categories {
	margin-bottom: 8px;
	color: var(--st-places-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.st-place-single-title {
	margin: 0;
	font-size: clamp(30px, 4vw, 48px);
	line-height: 1.12;
}

.st-place-single-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 13px;
}

.st-place-single-badges .st-place-badge {
	position: static;
}

.st-place-gallery {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: repeat(2, clamp(170px, 18vw, 260px));
	gap: 8px;
	margin-bottom: 28px;
	overflow: hidden;
	border-radius: 6px;
}

.st-place-gallery-image:first-child {
	grid-row: span 2;
}

.st-place-gallery-image {
	overflow: hidden;
}

.st-place-gallery img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.st-place-gallery-count-1 {
	display: block;
}

.st-place-gallery-count-1 .st-place-gallery-image {
	width: 100%;
	max-height: 650px;
	aspect-ratio: 16 / 7;
}

.st-place-gallery-count-2 {
	grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
	grid-template-rows: clamp(320px, 38vw, 560px);
}

.st-place-gallery-count-2 .st-place-gallery-image:first-child {
	grid-row: auto;
}

.st-place-gallery-count-3 {
	grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
	grid-template-rows: repeat(2, clamp(170px, 18vw, 260px));
}

.st-place-gallery-count-4 {
	grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
	grid-template-rows: repeat(3, clamp(120px, 12vw, 180px));
}

.st-place-gallery-count-4 .st-place-gallery-image:first-child {
	grid-row: span 3;
}

.st-place-photo-credit {
	margin: -19px 0 27px;
	color: var(--st-places-muted);
	font-size: 10px;
	line-height: 1.5;
}

.st-place-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(270px, 345px);
	gap: 34px;
	align-items: start;
}

.st-place-details {
	padding: 20px;
	background: var(--st-places-soft);
	border: 1px solid var(--st-places-line);
	border-radius: 5px;
}

.st-place-details h2 {
	margin: 0 0 13px;
	font-size: 18px;
}

.st-place-details dl {
	margin: 0;
}

.st-place-details dt {
	margin-top: 12px;
	color: var(--st-places-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .055em;
	text-transform: uppercase;
}

.st-place-details dt:first-child {
	margin-top: 0;
}

.st-place-details dd {
	margin: 3px 0 0;
	overflow-wrap: anywhere;
	font-size: 14px;
	line-height: 1.5;
}

.st-place-details-free {
	color: #547253;
	font-weight: 700;
}

.st-place-editorial-status {
	margin-top: 14px;
	padding-top: 13px;
	border-top: 1px solid var(--st-places-line);
	color: var(--st-places-muted);
	font-size: 11px;
}

.st-place-nearby {
	margin-top: 40px;
	padding-top: 28px;
	border-top: 1px solid var(--st-places-line);
}

.st-place-nearby h2 {
	margin: 0;
	font-size: 25px;
}

.st-place-nearby .st-places-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 18px;
}

.st-place-nearby-item {
	min-width: 0;
}

.st-place-nearby-item .st-place-card {
	height: 100%;
}

.st-place-nearby-distance {
	display: block;
	margin: 7px 2px 0;
	color: var(--st-places-muted);
	font-size: 11px;
}

.st-place-suggest {
	max-width: 920px;
	margin: 0 auto 45px;
}

.st-place-suggest-back {
	margin: 0 0 20px;
}

.st-place-suggest-header {
	max-width: 740px;
	margin-bottom: 24px;
}

.st-place-suggest-header h2 {
	margin: 0 0 10px;
	font-size: clamp(31px, 4vw, 46px);
	line-height: 1.12;
}

.st-place-suggest-header p {
	margin: 0;
	color: var(--st-places-muted);
	font-size: 15px;
	line-height: 1.65;
}

.st-place-suggest-form {
	position: relative;
	padding: 24px;
	background: var(--st-places-soft);
	border: 1px solid var(--st-places-line);
	border-radius: 6px;
}

.st-place-correction-source {
	display: grid;
	gap: 4px;
	margin-bottom: 20px;
	padding: 16px 18px;
	background: var(--st-places-surface);
	border: 1px solid var(--st-places-line);
	border-radius: 6px;
}

.st-place-correction-source span,
.st-place-correction-source small {
	color: var(--st-places-muted);
	font-size: 11px;
}

.st-place-correction-source strong {
	font-size: 19px;
}

.st-place-suggest-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 17px 20px;
}

.st-place-suggest-field {
	display: grid;
	gap: 7px;
	margin: 0;
	font-size: 13px;
	font-weight: 700;
}

.st-place-suggest-field-wide {
	grid-column: 1 / -1;
}

.st-place-suggest-field b,
.st-place-suggest-consent b {
	color: var(--st-places-accent);
}

.st-place-suggest-field input,
.st-place-suggest-field select,
.st-place-suggest-field textarea {
	width: 100%;
	margin: 0;
	color: var(--st-places-text);
	background: var(--st-places-surface);
	border: 1px solid var(--st-places-line);
	border-radius: 7px;
	font: inherit;
	font-weight: 400;
}

.st-place-suggest-field input,
.st-place-suggest-field select {
	min-height: 46px;
}

.st-place-suggest-field textarea {
	resize: vertical;
}

.st-place-suggest-field small,
.st-place-suggest-map-wrap p {
	color: var(--st-places-muted);
	font-size: 11px;
	font-weight: 400;
	line-height: 1.5;
}

.st-place-suggest-map-wrap {
	margin-top: 25px;
}

.st-place-suggest-map-wrap h2 {
	margin: 0 0 4px;
	font-size: 19px;
}

.st-place-suggest-map-wrap p {
	margin: 0 0 10px;
}

.st-place-suggest-map {
	width: 100%;
	height: 370px;
	overflow: hidden;
	background: var(--st-places-surface);
	border: 1px solid var(--st-places-line);
	border-radius: 5px;
}

.st-place-suggest-coordinates {
	margin: 8px 0 0 !important;
	color: #547253 !important;
	font-weight: 700 !important;
}

.st-place-suggest-consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-top: 21px;
	color: var(--st-places-muted);
	font-size: 11px;
	line-height: 1.55;
}

.st-place-suggest-consent input {
	flex: 0 0 auto;
	margin-top: 2px;
}

.st-place-suggest-submit {
	min-height: 46px;
	margin-top: 18px;
	padding: 10px 19px;
	color: #fff;
	background: var(--st-places-accent);
	border: 0;
	border-radius: 7px;
	font-weight: 800;
	cursor: pointer;
}

.st-place-suggest-submit:hover {
	background: var(--st-places-accent-dark);
}

.st-place-suggest-notice {
	display: grid;
	gap: 3px;
	margin: 0 0 18px;
	padding: 14px 17px;
	background: #fff4cf;
	border-radius: 7px;
}

.st-place-suggest-notice.is-success {
	color: #425c42;
	background: #e9f5e8;
}

.st-place-suggest-notice.is-error {
	color: #8e3028;
	background: #fff0ef;
}

.st-place-suggest-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.dark-skin .st-places-app,
.dark-skin .st-place-single,
.dark-skin .st-place-suggest {
	--st-places-surface: #27292d;
	--st-places-soft: rgba(255, 255, 255, 0.055);
	--st-places-line: rgba(255, 255, 255, 0.1);
	--st-places-muted: rgba(255, 255, 255, .64);
}

@media (max-width: 1120px) {
	.st-places-toolbar {
		grid-template-columns: minmax(260px, 1fr) repeat(2, minmax(170px, .55fr));
	}
}

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

	.st-place-layout {
		grid-template-columns: 1fr;
	}

	.st-place-details {
		order: -1;
	}

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

@media (max-width: 700px) {
	.st-places-toolbar {
		grid-template-columns: 1fr 1fr;
		padding: 13px;
	}

	.st-places-search-wrap {
		grid-column: 1 / -1;
	}

	.st-places-toolbar select {
		grid-column: 1 / -1;
	}

	.st-places-reset {
		align-self: center;
		text-align: center;
	}

	.st-places-map {
		height: 440px;
		min-height: 340px;
	}

	.st-places-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.st-place-gallery {
		display: flex;
		gap: 8px;
		overflow-x: auto;
		border-radius: 0;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
	}

	.st-place-gallery .st-place-gallery-image,
	.st-place-gallery .st-place-gallery-image:first-child {
		flex: 0 0 86%;
		min-height: 0;
		aspect-ratio: 4 / 3;
		scroll-snap-align: start;
	}

	.st-place-gallery-count-1 {
		display: block;
		overflow: hidden;
		border-radius: 6px;
	}

	.st-place-gallery-count-1 .st-place-gallery-image {
		width: 100%;
		max-height: none;
		aspect-ratio: 4 / 3;
	}

	.st-place-suggest-form {
		padding: 17px;
	}

	.st-place-suggest-grid {
		grid-template-columns: 1fr;
	}

	.st-place-suggest-field-wide {
		grid-column: auto;
	}

	.st-place-suggest-map {
		height: 330px;
	}
}

@media (max-width: 430px) {
	.st-place-primary-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.st-place-primary-actions-right {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}

	.st-place-back-map,
	.st-place-correction-button,
	.st-place-add-button {
		justify-content: center;
		text-align: center;
	}

	.st-places-toolbar {
		grid-template-columns: 1fr;
	}

	.st-places-search-wrap,
	.st-places-toolbar select {
		grid-column: auto;
	}

	.st-places-toggle {
		width: 100%;
	}

	.st-places-summary {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	.st-place-nearby .st-places-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-place-card,
	.st-place-card-media img {
		transition: none;
	}
}
