.atb-berlin-districts {
	padding: 24px 0 48px;
	background: #f6f8fb;
}

.atb-berlin-districts__container {
	width: min(calc(100% - 40px), 1320px);
	max-width: 1320px;
	margin-right: auto;
	margin-left: auto;
}

.atb-berlin-districts__header {
	margin-bottom: 14px;
}

.atb-berlin-districts__title {
	margin: 0;
	color: #07111f;
	font-size: clamp(22px, 1.8vw, 30px);
	line-height: 1.14;
	font-weight: 800;
	letter-spacing: -0.035em;
}

.atb-berlin-districts__scroller {
	overflow: visible;
	padding-bottom: 0;
}

.atb-berlin-districts__row {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 8px;
	width: 100%;
}

.atb-berlin-districts__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
	min-height: 104px;
	padding: 10px 8px 9px;
	border: 1px solid rgba(7, 17, 31, 0.1);
	border-radius: 10px;
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(7, 17, 31, 0.055);
	color: #07111f;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.atb-berlin-districts__card:hover,
.atb-berlin-districts__card:focus {
	border-color: rgba(29, 95, 209, 0.28);
	box-shadow: 0 12px 26px rgba(7, 17, 31, 0.09);
	color: #07111f;
	text-decoration: none;
	transform: translateY(-1px);
}

.atb-berlin-districts__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	margin-bottom: 9px;
	border-radius: 9px;
	background: #eef3fb;
	flex: 0 0 auto;
}

.atb-berlin-districts__svg {
	display: block;
	width: 27px;
	height: 27px;
	object-fit: contain;
}

.atb-berlin-districts__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: #07111f;
	color: #ffffff;
	font-size: 13px;
	line-height: 1;
	font-weight: 900;
}

.atb-berlin-districts__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: flex-end;
	min-width: 0;
	width: 100%;
}

.atb-berlin-districts__from {
	display: block;
	margin-bottom: 4px;
	color: rgba(7, 17, 31, 0.56);
	font-size: 9px;
	line-height: 1.15;
	font-weight: 800;
	white-space: nowrap;
}

.atb-berlin-districts__name {
	display: block;
	color: #07111f;
	font-size: 9.6px;
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: -0.025em;
	overflow-wrap: anywhere;
	hyphens: auto;
}

@media (max-width: 1180px) {
	.atb-berlin-districts__scroller {
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 8px;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
	}

	.atb-berlin-districts__row {
		grid-template-columns: repeat(12, 112px);
		width: max-content;
		gap: 9px;
	}

	.atb-berlin-districts__card {
		width: 112px;
		scroll-snap-align: start;
	}
}

@media (max-width: 768px) {
	.atb-berlin-districts {
		padding: 22px 0 42px;
	}

	.atb-berlin-districts__container {
		width: min(calc(100% - 32px), 100%);
	}

	.atb-berlin-districts__row {
		grid-template-columns: repeat(12, 118px);
		gap: 9px;
	}

	.atb-berlin-districts__card {
		width: 118px;
		min-height: 106px;
	}

	.atb-berlin-districts__name {
		font-size: 10px;
	}
}

/* Berlin districts readability polish */
.atb-berlin-districts__from {
	display: none;
}

.atb-berlin-districts__card {
	align-items: center;
	justify-content: flex-start;
	min-height: 96px;
	padding: 10px 7px 9px;
	text-align: center;
}

.atb-berlin-districts__icon {
	align-self: center;
	width: 32px;
	height: 32px;
	margin-bottom: 8px;
	border-radius: 9px;
}

.atb-berlin-districts__svg {
	width: 26px;
	height: 26px;
}

.atb-berlin-districts__content {
	align-items: center;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.atb-berlin-districts__name {
	font-size: 10.4px;
	line-height: 1.08;
	text-align: center;
	hyphens: auto;
	overflow-wrap: anywhere;
}

@media (max-width: 1180px) {
	.atb-berlin-districts__from {
		display: none;
	}

	.atb-berlin-districts__card {
		min-height: 100px;
	}
}

@media (max-width: 768px) {
	.atb-berlin-districts__name {
		font-size: 10.6px;
	}
}

/* Berlin districts white SVG icons on system background */
.atb-berlin-districts__icon {
	background: #1d5fd1;
	box-shadow: 0 8px 18px rgba(29, 95, 209, 0.22);
}

.atb-berlin-districts__svg {
	filter: none;
}

/* Berlin districts cards are informational, not links */
.atb-berlin-districts__card {
	cursor: default;
}

.atb-berlin-districts__card:hover,
.atb-berlin-districts__card:focus {
	border-color: rgba(7, 17, 31, 0.1);
	box-shadow: 0 8px 20px rgba(7, 17, 31, 0.055);
	transform: none;
}
