/**
 * نقشه رویدادهای ایران [map_event_iran] – استایل و انیمیشن
 * رنگ‌ها: Primary #8B0000, Secondary #1C1C1C
 */

.ms1404-map-event-iran {
	--ms1404-primary: #8B0000;
	--ms1404-primary-light: #a82a2a;
	--ms1404-secondary: #1C1C1C;
	--ms1404-bg: #ffffff;
	--ms1404-bg-alt: #f5f5f5;
	--ms1404-border: #ddd;
	--ms1404-shadow: 0 4px 20px rgba(28, 28, 28, 0.08);
	--ms1404-radius: 12px;
	--ms1404-transition: 0.3s ease;
	direction: rtl;
	font-family: inherit;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
	animation: ms1404-fadeIn 0.6s ease;
}

@keyframes ms1404-fadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

/* نوار ابزار: فقط در حالت تمام‌صفحه نمایش داده می‌شود */
.ms1404-map-toolbar {
	display: none;
}

/* چیدمان: سایدبار + بدنه (تایم‌لاین + نقشه) */
.ms1404-map-layout {
	display: block;
}

.ms1404-map-sidebar {
	display: block;
	margin-bottom: 1.25rem;
}

.ms1404-map-sidebar.hidden {
	display: none !important;
}

.ms1404-map-body {
	display: block;
}

.ms1404-map-timeline.hidden {
	display: none !important;
}

/* حالت تمام‌صفحه */
.ms1404-map-event-iran.fullscreen {
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: var(--ms1404-bg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* نوار ابزار در حالت تمام‌صفحه: نمایش + دکمه‌ها با آیکن وسط */
.ms1404-map-event-iran.fullscreen .ms1404-map-toolbar {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	justify-content: flex-start;
	gap: 0.6rem;
	padding: 0.75rem 1rem;
	background: linear-gradient(180deg, var(--ms1404-secondary) 0%, #2a2a2a 100%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 0;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-toolbar-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	min-width: 44px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: linear-gradient(145deg, #333 0%, #222 100%);
	color: white !important;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
	flex-shrink: 0;
	transition: all 0.2s ease;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-toolbar-btn i {
	display: block;
	width: 1em;
	height: 1em;
	font-size: 1.15rem;
	line-height: 1;
	margin: 0;
	color: white !important;
	text-align: center;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-toolbar-btn:hover {
	background: linear-gradient(145deg, var(--ms1404-primary) 0%, #6d0000 100%);
	border-color: rgba(255, 255, 255, 0.35);
	color: white !important;
	transform: scale(1.08);
}

/* در تمام‌صفحه: نقشه تمام فضا را می‌گیرد؛ سایدبار و پلیر روی نقشه (overlay) */
.ms1404-map-event-iran.fullscreen .ms1404-map-layout {
	position: relative;
	flex: 1;
	min-height: 0;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-body {
	position: absolute;
	inset: 0;
}

/* سایدبار فیلترها روی نقشه (overlay) – پس‌زمینه شیشه‌ای */
.ms1404-map-event-iran.fullscreen .ms1404-map-sidebar {
	position: absolute;
	top: 1rem;
	left: 1rem;
	bottom: 1rem;
	width: 280px;
	z-index: 10;
	margin: 0;
	padding: 1rem;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: var(--ms1404-radius);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	overflow-y: auto;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-sidebar.hidden {
	display: none !important;
}

/* نقشه تمام فضای بدنه را می‌گیرد (زیر باکس پلیر) */
.ms1404-map-event-iran.fullscreen .ms1404-map-container {
	position: absolute;
	inset: 0;
	border-radius: 0;
	box-shadow: none;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-world {
	height: 100%;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-world {
	height: 100%;
	min-height: 200px;
}

/* باکس کنترل پخش روی نقشه (overlay) – پس‌زمینه شیشه‌ای */
.ms1404-map-event-iran.fullscreen .ms1404-map-timeline {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 10;
	flex-shrink: 0;
	margin-bottom: 0;
	border-radius: 0;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
}

.ms1404-map-event-iran.fullscreen .ms1404-map-timeline.hidden {
	display: none !important;
}

/* دکمه تمام‌صفحه کنار دکمه‌های پلیر – عرض ثابت و آیکن وسط */
.ms1404-timeline-btn.ms1404-timeline-fullscreen {
	width: 52px;
	min-width: 52px;
	height: 52px;
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ms1404-timeline-btn.ms1404-timeline-fullscreen i {
	font-size: 1.2rem;
	display: block;
	line-height: 1;
	margin: 0;
}

/* پنل جستجو بالای نقشه */
.ms1404-map-search-panel {
	background: linear-gradient(135deg, var(--ms1404-secondary) 0%, #2d2d2d 100%);
	color: #fff;
	border-radius: var(--ms1404-radius);
	box-shadow: var(--ms1404-shadow);
	margin-bottom: 1.25rem;
	padding: 1.25rem 1.5rem;
	animation: ms1404-slideDown 0.5s ease;
}

@keyframes ms1404-slideDown {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: translateY(0); }
}

.ms1404-map-search-inner {
	max-width: 100%;
}

.ms1404-map-search-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: flex-end;
	margin-bottom: 1rem;
}

.ms1404-map-search-row:last-child {
	margin-bottom: 0;
}

.ms1404-map-field {
	flex: 1 1 180px;
	min-width: 0;
}

.ms1404-map-field-event { flex: 1 1 220px; }
.ms1404-map-field-person { flex: 1 1 280px; }
.ms1404-map-field-submit { flex: 0 0 auto; }

.ms1404-map-field label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.4rem;
	opacity: 0.95;
}

.ms1404-map-input,
.ms1404-map-btn {
	width: 100%;
	padding: 0.6rem 0.85rem;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	transition: box-shadow var(--ms1404-transition), transform 0.2s ease;
}

.ms1404-map-input {
	background: var(--ms1404-bg);
	color: var(--ms1404-secondary);
	border: 1px solid var(--ms1404-border);
}

.ms1404-map-input:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.25);
}

.ms1404-map-input::placeholder {
	color: #888;
}

/* فیلد فرد با نتایج کشویی */
.ms1404-map-person-wrap {
	position: relative;
}

.ms1404-map-person-results {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 100;
	background: var(--ms1404-bg);
	border: 1px solid var(--ms1404-border);
	border-radius: 8px;
	box-shadow: var(--ms1404-shadow);
	margin-top: 4px;
	max-height: 240px;
	overflow-y: auto;
	animation: ms1404-dropIn 0.25s ease;
}

@keyframes ms1404-dropIn {
	from { opacity: 0; transform: translateY(-6px); }
	to { opacity: 1; transform: translateY(0); }
}

.ms1404-map-person-results[aria-hidden="true"] {
	display: none;
}

.ms1404-map-person-item {
	display: block;
	width: 100%;
	padding: 0.65rem 0.85rem;
	text-align: right;
	border: none;
	background: none;
	cursor: pointer;
	font-size: 0.95rem;
	color: var(--ms1404-secondary);
	transition: background 0.2s ease;
}

.ms1404-map-person-item:hover,
.ms1404-map-person-item:focus {
	background: var(--ms1404-bg-alt);
}

.ms1404-map-person-item strong {
	display: block;
}

.ms1404-map-person-item span {
	font-size: 0.8rem;
	color: #666;
}

/* لیست افراد انتخاب‌شده (چیپ) */
.ms1404-map-person-selected {
	display: none;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-top: 0.5rem;
}

.ms1404-map-person-selected.ms1404-map-person-selected--has-items {
	display: flex;
}

.ms1404-map-person-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.25rem 0.5rem;
	background: var(--ms1404-primary-light);
	border: 1px solid var(--ms1404-primary);
	border-radius: 6px;
	font-size: 0.85rem;
	color: var(--ms1404-secondary);
}

.ms1404-map-person-chip-label {
	max-width: 140px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ms1404-map-person-chip-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	padding: 0;
	border: none;
	background: rgba(139, 0, 0, 0.2);
	color: var(--ms1404-primary);
	border-radius: 50%;
	cursor: pointer;
	font-size: 1rem;
	line-height: 1;
	transition: background 0.2s, color 0.2s;
}

.ms1404-map-person-chip-remove:hover {
	background: var(--ms1404-primary);
	color: #fff;
}

/* Select2 در باکس نقشه – راست‌چین */
.ms1404-map-event-iran .select2-container {
	direction: rtl;
}

.ms1404-map-event-iran .select2-container--default .select2-selection--single {
	text-align: right;
}

.ms1404-map-event-iran .select2-container--default .select2-selection--single .select2-selection__rendered {
	text-align: right;
	padding-right: 8px;
	padding-left: 28px;
}

.ms1404-map-event-iran .select2-container--default .select2-selection__arrow {
	left: 8px;
	right: auto;
}

/* دکمه جستجو – ظاهر شبیه دکمه اصلی با آیکون و سایه */
.ms1404-map-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.4rem;
	min-width: 120px;
	padding: 0.7rem 1.25rem;
	background: linear-gradient(180deg, var(--ms1404-primary) 0%, #6d0000 100%);
	color: #fff;
	font-weight: 600;
	font-size: 1rem;
	cursor: pointer;
	white-space: nowrap;
	border: none;
	border-radius: 10px;
	box-shadow: 0 3px 0 rgba(0, 0, 0, 0.2), 0 4px 12px rgba(139, 0, 0, 0.3);
	transition: box-shadow var(--ms1404-transition), transform 0.2s ease, background 0.2s ease;
}

.ms1404-map-btn::before {
	content: '';
	display: inline-block;
	width: 1em;
	height: 1em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") center/contain no-repeat;
	opacity: 0.95;
}

.ms1404-map-btn:hover {
	background: linear-gradient(180deg, var(--ms1404-primary-light) 0%, var(--ms1404-primary) 100%);
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.15), 0 8px 20px rgba(139, 0, 0, 0.4);
	transform: translateY(-2px);
}

.ms1404-map-btn:active {
	transform: translateY(1px);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 2px 8px rgba(139, 0, 0, 0.3);
}

/* سکشن تایم‌لاین – بین فیلترها و نقشه */
.ms1404-map-timeline {
	background: linear-gradient(145deg, #f8f8f8 0%, #eee 100%);
	border: 1px solid var(--ms1404-border);
	border-radius: var(--ms1404-radius);
	box-shadow: var(--ms1404-shadow);
	margin-bottom: 1.25rem;
	padding: 1rem 1.25rem;
	animation: ms1404-slideUp 0.5s ease 0.1s both;
}

@keyframes ms1404-slideUp {
	from { opacity: 0; transform: translateY(10px); }
	to { opacity: 1; transform: translateY(0); }
}

.ms1404-timeline-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 1.1rem;
}

/* ردیف اول: تاریخ شروع، seekbar، تاریخ پایان */
.ms1404-timeline-seek-wrap {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	min-width: 0;
}

.ms1404-timeline-date-start,
.ms1404-timeline-date-end {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--ms1404-secondary);
	white-space: nowrap;
	flex-shrink: 0;
	min-width: 4.5em;
}

.ms1404-timeline-date-start {
	text-align: left;
}

.ms1404-timeline-date-end {
	text-align: right;
}

.ms1404-timeline-time-wrap {
	flex-shrink: 0;
	text-align: center;
	margin-top: 0.25rem;
	width: 100%;
}

/* ردیف دوم: دکمه‌های پخش زیر seekbar */
.ms1404-timeline-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

/* جلوگیری از تبدیل آیکن به ایموجی وردپرس (img.emoji) که ظاهر دکمه پخش را خراب می‌کند */
.ms1404-map-timeline .ms1404-timeline-btn img.emoji,
.ms1404-map-timeline .ms1404-timeline-btn .emoji {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	visibility: hidden !important;
}

.ms1404-timeline-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	background: linear-gradient(145deg, #2a2a2a 0%, var(--ms1404-secondary) 50%, #1a1a1a 100%);
	color: white !important;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
	position: relative;
	overflow: hidden;
}

.ms1404-timeline-btn::before {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 60%);
	pointer-events: none;
}

.ms1404-timeline-btn i {
	font-size: 1.25rem;
	position: relative;
	z-index: 1;
	transition: transform 0.2s ease;
	color: white !important;
}

.ms1404-timeline-btn:hover {
	background: linear-gradient(145deg, var(--ms1404-primary) 0%, #6d0000 50%, #5a0000 100%);
	border-color: rgba(255, 255, 255, 0.35);
	transform: scale(1.12);
	box-shadow: 0 6px 22px rgba(139, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	color: white !important;
}

.ms1404-timeline-btn:hover i {
	color: white !important;
}

.ms1404-timeline-btn:hover i {
	transform: scale(1.05);
}

.ms1404-timeline-btn:active {
	transform: scale(1.04);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* دکمه پخش بزرگ‌تر و برجسته */
.ms1404-timeline-btn.ms1404-timeline-play {
	width: 62px;
	height: 62px;
	background: linear-gradient(145deg, var(--ms1404-primary) 0%, #6d0000 50%, #5a0000 100%);
	border-color: rgba(255, 255, 255, 0.25);
	box-shadow: 0 5px 18px rgba(139, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12);
	color: white !important;
}

/* دکمه پخش: دو آیکن روی هم (Font Awesome)، فقط یکی نمایش */
.ms1404-timeline-btn.ms1404-timeline-play .ms1404-play-icons {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5em;
	height: 1.5em;
}

.ms1404-timeline-btn.ms1404-timeline-play .ms1404-icon-play,
.ms1404-timeline-btn.ms1404-timeline-play .ms1404-icon-pause {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	font-size: 1.5rem;
	margin: 0;
	width: 1em;
	height: 1em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: white !important;
}

.ms1404-timeline-btn.ms1404-timeline-play .ms1404-icon-pause {
	visibility: hidden;
	pointer-events: none;
}

.ms1404-timeline-btn.ms1404-timeline-play.playing .ms1404-icon-play {
	visibility: hidden;
	pointer-events: none;
}

.ms1404-timeline-btn.ms1404-timeline-play.playing .ms1404-icon-pause {
	visibility: visible !important;
	pointer-events: auto;
}

.ms1404-timeline-btn.ms1404-timeline-play:hover {
	background: linear-gradient(145deg, var(--ms1404-primary-light) 0%, var(--ms1404-primary) 50%, #6d0000 100%);
	box-shadow: 0 8px 26px rgba(139, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.ms1404-timeline-seekbar {
	flex: 1 1 auto;
	min-width: 100px;
	height: 10px;
	-webkit-appearance: none;
	appearance: none;
	background: linear-gradient(to left, #d0d0d0 0%, #e5e5e5 100%);
	border-radius: 5px;
	outline: none;
}

.ms1404-timeline-seekbar::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--ms1404-primary) 0%, #6d0000 100%);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(139, 0, 0, 0.45);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ms1404-timeline-seekbar::-webkit-slider-thumb:hover {
	transform: scale(1.12);
	box-shadow: 0 3px 12px rgba(139, 0, 0, 0.5);
}

.ms1404-timeline-seekbar::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border: none;
	border-radius: 50%;
	background: linear-gradient(145deg, var(--ms1404-primary) 0%, #6d0000 100%);
	cursor: pointer;
	box-shadow: 0 2px 8px rgba(139, 0, 0, 0.45);
}

.ms1404-timeline-time {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ms1404-primary);
	letter-spacing: 0.02em;
}

/* کانتینر نقشه */
.ms1404-map-container {
	position: relative;
	border-radius: var(--ms1404-radius);
	overflow: hidden;
	box-shadow: var(--ms1404-shadow);
	animation: ms1404-mapAppear 0.7s ease 0.15s both;
}

@keyframes ms1404-mapAppear {
	from { opacity: 0; transform: scale(0.98); }
	to { opacity: 1; transform: scale(1); }
}

.ms1404-map-world {
	width: 100%;
	height: 480px;
	background: #e8f4f8;
}

.ms1404-map-world.leaflet-container {
	font-family: inherit;
}

/* پنل نتایج (اختیاری) زیر یا کنار نقشه */
.ms1404-map-results-panel {
	background: var(--ms1404-bg-alt);
	padding: 1rem 1.25rem;
	border-top: 1px solid var(--ms1404-border);
	animation: ms1404-fadeIn 0.4s ease;
}

.ms1404-map-results-panel[aria-hidden="true"] {
	display: none;
}

.ms1404-map-results-panel h4 {
	margin: 0 0 0.75rem;
	font-size: 1rem;
	color: var(--ms1404-primary);
}

.ms1404-map-results-list {
	margin: 0;
	padding: 0 0 0 1.25rem;
	list-style: none;
}

.ms1404-map-results-list li {
	padding: 0.35rem 0;
	border-bottom: 1px solid var(--ms1404-border);
}

.ms1404-map-results-list li:last-child {
	border-bottom: none;
}

.ms1404-map-results-list li span {
	color: #666;
	font-size: 0.9rem;
}

.ms1404-map-no-results {
	margin: 0;
	color: #666;
}

/* سکشن اطلاعات نقشه رویدادها – زیر نقشه، در حالت غیرتمام‌صفحه */
.ms1404-map-info-section {
	margin-top: 1.5rem;
	padding: 1.25rem 1rem;
	background: var(--ms1404-bg);
	border: 1px solid var(--ms1404-border);
	border-radius: var(--ms1404-radius);
	box-shadow: var(--ms1404-shadow);
}

.ms1404-map-event-iran.fullscreen .ms1404-map-info-section {
	display: none !important;
}

.ms1404-map-event-iran.fullscreen .ms1404-map-info-section.ms1404-map-info-section--visible {
	display: block !important;
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 80px;
	z-index: 11;
	max-height: 40vh;
	overflow-y: auto;
	margin-top: 0;
}

.ms1404-map-info-title {
	margin: 0 0 1rem;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--ms1404-primary);
	border-bottom: 2px solid var(--ms1404-primary);
	padding-bottom: 0.5rem;
}

.ms1404-map-info-content {
	font-size: 0.9375rem;
}

.ms1404-map-info-message {
	margin: 0;
	color: #666;
}

.ms1404-map-info-event {
	margin-bottom: 1rem;
}

.ms1404-map-info-event-name {
	margin-bottom: 0.35rem;
}

.ms1404-map-info-event-period {
	color: #555;
	margin-bottom: 0.25rem;
}

.ms1404-map-info-event-count {
	font-weight: 600;
	color: var(--ms1404-secondary);
}

.ms1404-map-info-people-heading {
	margin: 0.75rem 0 0.5rem;
	font-size: 1rem;
	color: var(--ms1404-primary);
}

.ms1404-map-info-people-list {
	margin: 0;
	padding-right: 1.25rem;
	list-style: none;
}

.ms1404-map-info-people-list li {
	padding: 0.25rem 0;
	border-bottom: 1px solid var(--ms1404-border);
}

.ms1404-map-info-people-list li:last-child {
	border-bottom: none;
}

.ms1404-map-info-people-list a {
	color: var(--ms1404-primary);
	text-decoration: none;
}

.ms1404-map-info-people-list a:hover {
	text-decoration: underline;
}

/* سازگاری LTR برای input تاریخ */
.ms1404-map-input[type="date"] {
	direction: ltr;
	text-align: right;
}

/* ریسپانسیو */
@media (max-width: 768px) {
	.ms1404-map-search-panel {
		padding: 1rem;
	}
	.ms1404-map-search-row {
		flex-direction: column;
		gap: 0.75rem;
	}
	.ms1404-map-field,
	.ms1404-map-field-event,
	.ms1404-map-field-person {
		flex: 1 1 100%;
	}
	.ms1404-map-field-submit {
		flex: 1 1 100%;
	}
	.ms1404-map-btn {
		width: 100%;
		min-width: 0;
	}
	.ms1404-timeline-inner {
		flex-direction: column;
		align-items: stretch;
	}
	.ms1404-timeline-controls {
		justify-content: center;
	}
	.ms1404-timeline-seek-wrap {
		flex: 1 1 100%;
	}
	.ms1404-map-world {
		height: 360px;
	}
}
