/* Nefer — dünya haritası + ülke listesi */
.nefer-world-map-section__lead {
	color: var(--mute, #788094);
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.nefer-world-map__card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--border-color, #d8dde1);
	box-shadow: 0 16px 48px rgba(15, 31, 46, 0.08);
	background: var(--white, #fff);
}

.nefer-world-map__map-wrap {
	position: relative;
	height: 420px;
	min-height: 420px;
	max-height: 420px;
	overflow: hidden;
	flex-shrink: 0;
	background: #e8eef4;
}

.nefer-world-map__leaflet {
	width: 100%;
	height: 420px !important;
	min-height: 420px;
	max-height: 420px;
	z-index: 1;
}

.nefer-world-map__leaflet.leaflet-container {
	height: 420px !important;
	max-height: 420px;
}

.nefer-world-map__loading {
	position: absolute;
	inset: 0;
	z-index: 5;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin: 0;
	background: #e8eef4;
	color: var(--mute, #788094);
	font-size: 0.875rem;
}

.nefer-world-map.is-ready .nefer-world-map__loading {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nefer-world-map__loading-bar {
	display: block;
	width: 160px;
	height: 2px;
	background: rgba(53, 113, 169, 0.15);
	border-radius: 2px;
	overflow: hidden;
}

.nefer-world-map__loading-bar::after {
	content: "";
	display: block;
	width: 40%;
	height: 100%;
	background: linear-gradient(90deg, transparent, var(--primary, #3571a9), transparent);
	animation: nwm-load 1.1s ease-in-out infinite;
}

@keyframes nwm-load {
	0% {
		transform: translateX(-120%);
	}
	100% {
		transform: translateX(320%);
	}
}

/* Nefer marker — görsel iğne */
.nefer-map-pin {
	background: none !important;
	border: none !important;
}

.nefer-map-pin__dot {
	display: block;
	width: 12px;
	height: 12px;
	margin: 2px;
	border-radius: 50%;
	background: var(--primary, #3571a9);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.nefer-map-pin--active .nefer-map-pin__dot {
	width: 14px;
	height: 14px;
	margin: 5px;
	background: #c9a227;
}

.nefer-map-pin__ring {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 28px;
	height: 28px;
	margin: -14px 0 0 -14px;
	border-radius: 50%;
	border: 2px solid rgba(201, 162, 39, 0.65);
	animation: nwm-pin-pulse 1.8s ease-out infinite;
	pointer-events: none;
}

@keyframes nwm-pin-pulse {
	0% {
		transform: scale(0.5);
		opacity: 1;
	}
	100% {
		transform: scale(1.4);
		opacity: 0;
	}
}

/* Nefer popup */
.nefer-world-map__leaflet .leaflet-popup-content-wrapper {
	border-radius: 10px;
	font-size: 0.875rem;
}

.nefer-world-map__leaflet .leaflet-popup-content strong {
	color: var(--headings-color, #0f1f2e);
}

/* Yan panel */
.nefer-world-map__panel {
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-height: 420px;
	border-left: 1px solid var(--border-color, #d8dde1);
	background: var(--white, #fff);
}

.nefer-world-map__panel-head {
	flex-shrink: 0;
	padding: 1rem 1rem 0.75rem;
	border-bottom: 1px solid var(--border-color, #d8dde1);
}

.nefer-world-map__panel-kicker {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--primary, #3571a9);
	margin-bottom: 0.5rem;
}

.nefer-world-map__search {
	display: block;
	margin: 0;
}

.nefer-world-map__search-input {
	width: 100%;
	padding: 0.45rem 0.65rem;
	border: 1px solid var(--border-color, #d8dde1);
	border-radius: 8px;
	font-size: 0.875rem;
	background: #fafbfc;
}

.nefer-world-map__search-input:focus {
	outline: none;
	border-color: var(--primary, #3571a9);
	box-shadow: 0 0 0 3px rgba(53, 113, 169, 0.15);
}

.nefer-world-map__regions {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 0.5rem 0.75rem 0.75rem;
	scrollbar-width: thin;
}

.nefer-world-map__region {
	margin-bottom: 0.75rem;
}

.nefer-world-map__region[hidden] {
	display: none;
}

.nefer-world-map__region-title {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--mute, #788094);
	margin: 0 0 0.35rem;
	padding: 0.25rem 0.35rem 0;
}

.nefer-world-map__region-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.nefer-world-map__region-list li[hidden] {
	display: none;
}

.nefer-world-map__country-btn {
	width: 100%;
	padding: 0.4rem 0.55rem;
	border: none;
	border-radius: 8px;
	background: transparent;
	color: var(--headings-color, #0f1f2e);
	font-size: 0.8125rem;
	font-weight: 500;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.nefer-world-map__country-btn:hover {
	background: rgba(53, 113, 169, 0.08);
}

.nefer-world-map__country-btn.is-active {
	background: var(--primary, #3571a9);
	color: #fff;
	font-weight: 600;
}

.nefer-world-map__selection {
	flex-shrink: 0;
	padding: 0.75rem 1rem;
	border-top: 1px solid var(--border-color, #d8dde1);
	background: #f8fafc;
}

.nefer-world-map__selection-name {
	margin: 0 0 0.2rem;
	font-size: 1rem;
	font-weight: 700;
	color: var(--headings-color, #0f1f2e);
}

.nefer-world-map__selection-meta {
	margin: 0;
	font-size: 0.75rem;
	color: var(--mute, #788094);
	line-height: 1.45;
}

.nefer-world-map__stat {
	flex-shrink: 0;
	padding: 0.65rem 1rem;
	border-top: 1px solid var(--border-color, #d8dde1);
}

.nefer-world-map__stat-value {
	display: block;
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--primary, #3571a9);
	line-height: 1;
}

.nefer-world-map__stat-label {
	font-size: 0.65rem;
	color: var(--mute, #788094);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

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

@media (max-width: 991.98px) {
	.nefer-world-map__card {
		grid-template-columns: 1fr;
	}

	.nefer-world-map__panel {
		max-height: 320px;
		border-left: none;
		border-top: 1px solid var(--border-color, #d8dde1);
	}

	.nefer-world-map__map-wrap {
		height: 300px;
		min-height: 300px;
		max-height: 300px;
	}

	.nefer-world-map__leaflet,
	.nefer-world-map__leaflet.leaflet-container {
		height: 300px !important;
		min-height: 300px;
		max-height: 300px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nefer-world-map__loading-bar::after,
	.nefer-map-pin__ring {
		animation: none;
	}
}
