/*
* Приглушённая бежево-песочная гамма:
* светлая суша, серо-бежевые дороги и тёмно-песочная вода.
*/
#map {
background: #b9aa8c;
}

#map [class*="ground-pane"] {
filter:
grayscale(100%)
sepia(32%)
saturate(72%)
hue-rotate(350deg)
brightness(108%)
contrast(82%);
-webkit-filter:
grayscale(100%)
sepia(32%)
saturate(72%)
hue-rotate(350deg)
brightness(108%)
contrast(82%);
}
.object-card__city a:hover {text-decoration: underline;}
/*
 * Число объектов внутри собственного значка кластера.
 */
.cluster-count {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #ffffff;
	font-size: small;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	user-select: none;
}

/*
 * Содержимое балуна кластера.
 */
.cluster-balloon {
	width: 340px;
	max-width: 100%;
}

.cluster-balloon__description {
	margin: 0 0 12px;
	color: #6b7280;
	font-size: 13px;
	line-height: 1.4;
}

.cluster-balloon__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	max-height: 300px;
	padding-right: 5px;
	overflow-y: auto;
}

.cluster-object {
	display: block;
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #ffffff;
	color: #111827;
	text-align: left;
	cursor: pointer;
	transition:
		border-color 0.2s,
		background-color 0.2s;
}

.cluster-object:hover {
	border-color: #9ca3af;
	background: #f9fafb;
}

.cluster-object__title {
	display: block;
	margin-bottom: 5px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.cluster-object__address {
	display: block;
	color: #6b7280;
	font-size: 12px;
	line-height: 1.4;
}

/*
 * Карточка отдельного объекта.
 */
.object-card {
	width: 320px;
	max-width: 100%;
	color: #111827;
}

.object-card__city {
	margin: 0 0 8px;
	color: #6b7280;
	font-size: 13px;
}

.object-card__description {
	margin: 0 0 12px;
	line-height: 1.5;
}

.object-card__row {
	margin-top: 8px;
	line-height: 1.4;
}

.object-card__row strong {
	color: #374151;
}

.object-card__link {
	display: inline-block;
	margin: 5px 0;
height: 24px;
padding: 0 10px;
font-size: 12px;
font-weight: 400;
white-space: nowrap;
	background: #f2695a;
	color: #ffffff !important;
	text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
}

.object-card__link:hover {
	background: #f2695a;
}

/*
 * Сообщение об ошибке поверх карты.
 */
.map-error {
	position: fixed;
	top: 16px;
	left: 50%;
	z-index: 1000;
	display: none;
	max-width: calc(100% - 32px);
	padding: 12px 18px;
	border-radius: 8px;
	background: #b91c1c;
	color: #ffffff;
	font-size: 14px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.25);
	transform: translateX(-50%);
}

@media (max-width: 600px) {
	.cluster-balloon,
	.object-card {
		width: 280px;
	}
}