/* Календарный блок minhadj: наследует цвет текста контейнера (в шапке phpBB — белый). */
.mh-cal {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	font-size: 0.9em;
	line-height: 1.6;
	color: inherit;
}
.mh-cal__hijri { white-space: nowrap; }
.mh-cal__moon { font-size: 1.1em; }
.mh-cal__sep { opacity: 0.6; }
.mh-cal__city {
	border: 0;
	background: rgba(255, 255, 255, 0.18);
	color: inherit;
	font: inherit;
	padding: 0 8px;
	border-radius: 12px;
	cursor: pointer;
	white-space: nowrap;
}
.mh-cal__city:hover, .mh-cal__city[aria-expanded="true"] { background: rgba(255, 255, 255, 0.32); }
.mh-cal__times { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.mh-cal__t { white-space: nowrap; }
.mh-cal__n { opacity: 0.75; }
.mh-cal__v { font-weight: 600; font-variant-numeric: tabular-nums; }
.mh-cal__menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 50;
	min-width: 240px;
	margin-top: 4px;
	padding: 10px 12px;
	background: #fff;
	color: #333;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 0.95em;
}
.mh-cal__menu[hidden] { display: none; }
.mh-cal__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mh-cal__row select { max-width: 60%; font: inherit; }
.mh-cal__geo {
	align-self: flex-start;
	border: 1px solid #999;
	background: #f5f5f5;
	color: inherit;
	font: inherit;
	padding: 3px 8px;
	border-radius: 4px;
	cursor: pointer;
}
.mh-cal__geo:disabled { opacity: 0.5; cursor: default; }
@media (max-width: 700px) {
	.mh-cal { justify-content: center; font-size: 0.85em; }
	.mh-cal__sep { display: none; }
	.mh-cal__times { justify-content: center; width: 100%; }
}
