@charset "utf-8";

/* Russia time page — US-inspired panels on shared map + card grid */

#ru .country-page-hero {
	text-align: center;
	padding: 28px 16px 24px;
	background: #f0f9ff;
}

#ru .country-page-hero h1 {
	color: #0369a1;
	font-size: 2.5em;
	margin: 0;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

#ru .country-page-hero h2 {
	color: #64748b;
	margin: 12px 0 0;
	font-size: 1.05em;
	font-weight: 500;
	line-height: 1.45;
}

#ru .map-container {
	max-width: 1200px;
	margin: 28px auto 8px;
	padding: 20px;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
	border: 1px solid rgba(148, 163, 184, 0.25);
}

#ru .cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	max-width: 1200px;
	margin: 28px auto 8px;
	padding: 0 20px 8px;
	box-sizing: border-box;
}

#ru .timezone-card {
	--ru-zone-color: #0369a1;
	position: relative;
	display: flex;
	align-items: stretch;
	min-height: 168px;
	padding: 0;
	overflow: hidden;
	background: #fff;
	color: #0f172a;
	border-radius: 14px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#ru .timezone-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

#ru .ru-zone-accent {
	flex: 0 0 10px;
	width: 10px;
	background: var(--ru-zone-color);
}

#ru .ru-zone-body {
	flex: 1;
	min-width: 0;
	padding: 18px 18px 16px 16px;
	display: flex;
	flex-direction: column;
}

#ru .timezone-title {
	margin: 0 0 4px;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #0f172a;
	line-height: 1.25;
}

#ru .timezone-utc {
	margin: 0 0 10px;
	font-size: 0.88rem;
	font-weight: 600;
	color: #64748b;
	opacity: 1;
}

#ru .timezone-time {
	margin: 0 0 6px;
	font-size: 2rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.02em;
	color: #0f172a;
	line-height: 1.1;
}

#ru .timezone-date {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 500;
	color: #475569;
	line-height: 1.35;
}

#ru .timezone-city {
	margin-top: auto;
	display: inline-block;
	align-self: flex-start;
	padding: 5px 10px;
	border-radius: 8px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-left: 3px solid var(--ru-zone-color);
	font-size: 0.82rem;
	font-weight: 700;
	color: #334155;
}

#ru .ru-timeline {
	max-width: 1200px;
	margin: 32px auto 8px;
	padding: 24px 20px 20px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
	box-sizing: border-box;
}

#ru .ru-timeline__title {
	margin: 0 0 6px;
	color: #0369a1;
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.25;
}

#ru .ru-timeline__subtitle {
	margin: 0 0 18px;
	color: #64748b;
	font-size: 0.95rem;
	line-height: 1.45;
}

#ru .ru-timeline__scale {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 0.65rem;
	margin-bottom: 0.55rem;
	align-items: end;
}

#ru .ru-timeline__scale-label {
	font-size: 0.7rem;
	font-weight: 700;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#ru .ru-timeline__scale-track {
	position: relative;
	height: 1.5rem;
	border-bottom: 1px solid #e2e8f0;
}

#ru .ru-timeline__tick {
	position: absolute;
	bottom: 0;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	pointer-events: none;
}

#ru .ru-timeline__tick[data-hour="0"] {
	transform: translateX(0);
	align-items: flex-start;
}

#ru .ru-timeline__tick[data-hour="24"] {
	transform: translateX(-100%);
	align-items: flex-end;
}

#ru .ru-timeline__tick-mark {
	display: block;
	width: 1px;
	height: 0.4rem;
	background: #cbd5e1;
}

#ru .ru-timeline__tick-label {
	margin-top: 0.12rem;
	font-size: 0.68rem;
	font-weight: 700;
	color: #94a3b8;
	font-variant-numeric: tabular-nums;
}

#ru .ru-timeline__rows {
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}

#ru .ru-timeline__row {
	display: grid;
	grid-template-columns: 11rem minmax(0, 1fr);
	gap: 0.65rem;
	align-items: center;
}

#ru .ru-timeline__meta {
	display: flex;
	flex-direction: column;
	gap: 0.12rem;
	min-width: 0;
}

#ru .ru-timeline__name {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.2;
}

#ru .ru-timeline__dot {
	flex: 0 0 0.55rem;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	background: var(--ru-zone-color, #0369a1);
	box-shadow: 0 0 0 2px #fff;
}

#ru .ru-timeline__abbr {
	font-size: 0.72rem;
	font-weight: 700;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}

#ru .ru-timeline__city {
	margin-top: 0.1rem;
	font-size: 0.7rem;
	font-weight: 600;
	color: #475569;
	line-height: 1.25;
}

#ru .ru-timeline__track {
	position: relative;
	height: 2rem;
	border-radius: 8px;
	overflow: hidden;
	background: linear-gradient(
		to right,
		#334155 0%,
		#334155 25%,
		#fde68a 25%,
		#fde68a 37.5%,
		#bfdbfe 37.5%,
		#bfdbfe 75%,
		#fdba74 75%,
		#fdba74 91.6667%,
		#334155 91.6667%,
		#334155 100%
	);
	border: 1px solid rgba(148, 163, 184, 0.35);
	box-sizing: border-box;
}

#ru .ru-timeline__business {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 37.5%;
	width: 33.3333%;
	background: rgba(255, 255, 255, 0.22);
	border-left: 1px dashed rgba(15, 23, 42, 0.18);
	border-right: 1px dashed rgba(15, 23, 42, 0.18);
	pointer-events: none;
}

#ru .ru-timeline__now {
	position: absolute;
	top: -2px;
	bottom: -2px;
	width: 2px;
	margin-left: -1px;
	background: #dc2626;
	z-index: 2;
	pointer-events: none;
}

#ru .ru-timeline__now::before {
	content: '';
	position: absolute;
	top: -3px;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #dc2626;
	transform: translateX(-50%);
	box-shadow: 0 0 0 2px #fff;
}

#ru .ru-timeline__now-label {
	position: absolute;
	top: 50%;
	left: 6px;
	transform: translateY(-50%);
	padding: 1px 5px;
	border-radius: 4px;
	background: rgba(15, 23, 42, 0.88);
	color: #fff;
	font-size: 0.65rem;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
	line-height: 1.3;
}

#ru .ru-timeline__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
	margin-top: 1rem;
	padding-top: 0.85rem;
	border-top: 1px solid #e2e8f0;
	font-size: 0.78rem;
	font-weight: 600;
	color: #64748b;
}

#ru .ru-na-compare .ru-timeline__legend {
	margin: 0 0 1rem;
	padding-top: 0;
	border-top: 0;
}

#ru .ru-timeline__legend span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

#ru .ru-timeline__swatch {
	display: inline-block;
	width: 0.85rem;
	height: 0.85rem;
	border-radius: 3px;
	border: 1px solid rgba(15, 23, 42, 0.12);
}

#ru .ru-timeline__swatch--night { background: #334155; }
#ru .ru-timeline__swatch--morning { background: #fde68a; }
#ru .ru-timeline__swatch--day { background: #bfdbfe; }
#ru .ru-timeline__swatch--evening { background: #fdba74; }
#ru .ru-timeline__swatch--now {
	background: #dc2626;
	border-radius: 999px;
}

#ru .ru-na-compare {
	max-width: 1200px;
	margin: 28px auto 8px;
	padding: 24px 20px 20px;
	background: #fff;
	border-radius: 16px;
	border: 1px solid rgba(148, 163, 184, 0.28);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
	box-sizing: border-box;
}

#ru .ru-na-compare__header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 1.1rem;
}

#ru .ru-na-compare__header .ru-timeline__subtitle {
	margin-bottom: 0;
}

#ru .ru-na-compare__tabs {
	display: inline-flex;
	flex-wrap: wrap;
	padding: 4px;
	border-radius: 999px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	gap: 4px;
}

#ru .ru-na-compare__tab {
	appearance: none;
	border: 0;
	cursor: pointer;
	padding: 0.55rem 1rem;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 700;
	color: #64748b;
	background: transparent;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

#ru .ru-na-compare__tab.is-active {
	background: #0369a1;
	color: #fff;
	box-shadow: 0 4px 12px rgba(3, 105, 161, 0.28);
}

#ru .ru-na-compare__panel[hidden] {
	display: none !important;
}

#ru .ru-na-compare__panel-title {
	margin: 0 0 0.85rem;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0c4a6e;
}

#ru .ru-na-compare__divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.1rem 0 0.9rem;
	color: #94a3b8;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

#ru .ru-na-compare__divider::before,
#ru .ru-na-compare__divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: #e2e8f0;
}

#ru .ru-timeline__rows--na .ru-timeline__track {
	box-shadow: inset 0 0 0 1px rgba(3, 105, 161, 0.18);
}

#ru .ru-timeline__rows--ru {
	opacity: 0.92;
}

#ru .ru-converter {
	margin-top: 1.25rem;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
}

#ru .ru-converter__title {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 800;
	color: #0f172a;
}

#ru .ru-converter__hint {
	margin: 0 0 0.75rem;
	font-size: 0.88rem;
	color: #64748b;
	line-height: 1.45;
}

#ru .ru-converter__scroll {
	overflow-x: auto;
}

#ru .ru-converter__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	min-width: 560px;
}

#ru .ru-converter__table th,
#ru .ru-converter__table td {
	padding: 0.65rem 0.7rem;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
	vertical-align: middle;
}

#ru .ru-converter__table th {
	background: #f8fafc;
	color: #0f172a;
	font-weight: 700;
}

#ru .ru-converter__table td small {
	display: block;
	margin-top: 0.15rem;
	color: #64748b;
	font-size: 0.78rem;
	font-weight: 600;
}

#ru .ru-converter__dot {
	display: inline-block;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 999px;
	margin-right: 0.45rem;
	vertical-align: middle;
}

#ru .ru-converter__mono {
	font-variant-numeric: tabular-nums;
	font-weight: 700;
	color: #0f172a;
}

#ru .ru-hour-grid {
	margin-top: 1.35rem;
	padding-top: 1.15rem;
	border-top: 1px solid #e2e8f0;
}

#ru .ru-hour-grid__title {
	margin: 0 0 0.35rem;
	font-size: 1.05rem;
	font-weight: 800;
	color: #0f172a;
}

#ru .ru-hour-grid__desc {
	margin: 0 0 0.85rem;
	font-size: 0.85rem;
	color: #64748b;
	line-height: 1.5;
}

#ru .ru-hour-grid__scroll {
	overflow-x: auto;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
}

#ru .ru-hour-grid__table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.85rem;
	min-width: 32rem;
}

#ru .ru-hour-grid__table th {
	background: #f8fafc;
	color: #64748b;
	font-weight: 700;
	text-align: left;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid #e2e8f0;
	white-space: nowrap;
	vertical-align: bottom;
}

#ru .ru-hour-grid__table th:first-child {
	color: #0f172a;
	background: #eef2ff;
}

#ru .ru-hour-grid__city {
	display: block;
	line-height: 1.25;
}

#ru .ru-hour-grid__utc {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.72em;
	font-weight: 600;
	color: #94a3b8;
	line-height: 1.2;
}

#ru .ru-hour-grid__table th:first-child .ru-hour-grid__utc {
	color: #94a3b8;
}

#ru .ru-hour-grid__table td {
	padding: 0.65rem 1rem;
	border-bottom: 1px solid #f1f5f9;
	color: #334155;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

#ru .ru-hour-grid__table td:first-child {
	font-weight: 700;
	color: #0f172a;
	background: #f8fafc;
}

#ru .ru-hour-grid__table tr:last-child td {
	border-bottom: none;
}

#ru .us-faq {
	max-width: 1200px;
	margin: 36px auto 48px;
	padding: 8px 20px 24px;
}

@media (max-width: 768px) {
	#ru .country-page-hero {
		padding: 20px 14px 18px;
	}

	#ru .country-page-hero h1 {
		font-size: 1.65em;
	}

	#ru .country-page-hero h2 {
		font-size: 0.95em;
	}

	#ru .map-container {
		margin: 16px 12px 4px;
		padding: 12px;
		border-radius: 12px;
	}

	#ru .cards {
		grid-template-columns: 1fr;
		gap: 14px;
		margin: 18px 12px 4px;
		padding: 0;
	}

	#ru .timezone-card {
		min-height: 0;
	}

	#ru .timezone-time {
		font-size: 1.75rem;
	}

	#ru .ru-timeline {
		margin: 20px 12px 4px;
		padding: 18px 12px 14px;
		border-radius: 12px;
	}

	#ru .ru-timeline__title {
		font-size: 1.2rem;
	}

	#ru .ru-timeline__scale,
	#ru .ru-timeline__row {
		grid-template-columns: 1fr;
		gap: 0.3rem;
	}

	#ru .ru-timeline__scale-label {
		display: none;
	}

	#ru .ru-timeline__track {
		height: 1.75rem;
	}

	#ru .ru-timeline__tick-label {
		font-size: 0.6rem;
	}

	#ru .ru-na-compare {
		margin: 20px 12px 4px;
		padding: 18px 12px 14px;
		border-radius: 12px;
	}

	#ru .ru-na-compare__header {
		flex-direction: column;
		align-items: stretch;
	}

	#ru .ru-na-compare__tabs {
		width: 100%;
	}

	#ru .ru-na-compare__tab {
		flex: 1;
		text-align: center;
	}

	#ru .us-faq {
		margin: 28px 12px 36px;
		padding: 0 4px 16px;
	}
}
