/* Rheuma Child — стили по баннеру XII Зимней школы */

@font-face {
	font-family: "Open Sans";
	src: url("../fonts/OpenSans-var.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}

:root {
	--rh-navy: #00214a;
	--rh-blue-deep: #002955;
	--rh-blue: #006eaa;
	--rh-blue-light: #0081be;
	--rh-pill: #085a8f;
	--rh-cream: #fdf9d5;
	--rh-yellow: #fff38a;
	--rh-glow: #ffe5c4;
	--rh-ink: #102a43;
	--rh-muted: #4b5b6b;
	--rh-line: #d5dde6;
	--rh-soft: #f1f5f9;
	--rh-radius: 10px;
	--rh-font: "Open Sans", Arial, sans-serif;
}

/* ---------- База поверх Spacious ---------- */

body,
button,
input,
select,
textarea {
	font-family: var(--rh-font);
	color: var(--rh-ink);
}
body { font-size: 16px; line-height: 1.6; }
/* Elementor-кит сайта задаёт абзацам Inter — на страницах темы везде Open Sans */
body.rh-page :is(p, li, a, span, strong, label, legend, input, button, td, th),
body .rh-footer :is(p, a, span) { font-family: var(--rh-font); }
h1, h2, h3, h4 { font-family: var(--rh-font); color: var(--rh-navy); font-weight: 800; line-height: 1.2; }
a { color: var(--rh-blue); }
a:hover { color: var(--rh-navy); }
:focus-visible { outline: 3px solid var(--rh-blue-light); outline-offset: 2px; }

.rh-page #main { padding-top: 32px; }
.rh-tpl-home #main { padding-top: 0; }
.rh-page #primary { width: 100%; float: none; }
.rh-content { padding-bottom: 48px; }
.rh-content h2 { font-size: 30px; margin: 0 0 12px; }
.rh-content h3 { font-size: 20px; margin: 0 0 10px; }
.rh-muted { color: var(--rh-muted); }

/* Полоса на всю ширину экрана из колонки Spacious */
.rh-bleed {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

/* Шапка страницы Spacious */
.header-post-title-container {
	background: linear-gradient(100deg, var(--rh-navy) 0%, var(--rh-blue-deep) 55%, var(--rh-pill) 100%);
	border: 0;
}
.header-post-title-container .header-post-title-class { color: var(--rh-cream); font-weight: 800; }
.header-post-title-container .breadcrumb,
.header-post-title-container .breadcrumb a { color: #dbe7f1; }

/* ---------- Шапка ---------- */

#header-text-nav-container { border-bottom: 1px solid var(--rh-line); }
#header-text-nav-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 10px 0;
}
#header-text-nav-wrap::before,
#header-text-nav-wrap::after { display: none; }
#header-left-section { float: none; margin: 0; display: flex; align-items: center; gap: 12px; min-width: 0; }
#header-logo-image { float: none; padding: 0; flex: none; }
#header-logo-image img { display: block; width: auto; max-width: 120px; max-height: 64px; }
#header-text { float: none; padding: 0; min-width: 0; }
#site-description { display: none; }
#header-text #site-title { padding: 0; margin: 0; line-height: 1.15; }
#header-text #site-title a {
	display: block;
	max-width: 230px;
	font-family: var(--rh-font);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--rh-navy);
}
#header-right-section { float: none; flex: 1 1 auto; min-width: 0; display: flex; justify-content: flex-end; }
#header-right-section .header-action:empty { display: none; }

.rh-nav { display: flex; align-items: center; gap: 16px; padding: 0; float: none; }
.rh-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; gap: 4px 18px; }
.rh-nav__list li { float: none; margin: 0; padding: 0; }
.rh-nav__list a {
	display: block;
	padding: 8px 0;
	font-family: var(--rh-font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--rh-navy);
	text-decoration: none;
	white-space: nowrap;
}
.rh-nav__list a:hover,
.rh-nav__list .current-menu-item > a,
.rh-nav__list .current_page_item > a { color: var(--rh-blue); }
.rh-nav__list .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--rh-blue); }
.rh-nav__list .tg-header-button-wrap { margin-left: 6px; }
.rh-nav__list .tg-header-button-wrap a {
	padding: 9px 20px;
	border-radius: 999px;
	background: var(--rh-yellow);
	color: var(--rh-navy);
	font-weight: 700;
	box-shadow: none;
}
.rh-nav__list .tg-header-button-wrap a:hover { background: var(--rh-cream); color: var(--rh-navy); }

/* Переключатель языков: сегменты RU · ҚАЗ · EN */
.rh-langs { list-style: none; margin: 0; padding: 3px; display: flex; gap: 2px; border: 1px solid var(--rh-line); border-radius: 999px; flex: none; }
.rh-langs li { margin: 0; }
.rh-langs a,
.rh-langs span {
	display: block;
	min-width: 34px;
	padding: 5px 8px;
	border-radius: 999px;
	font-family: var(--rh-font);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	color: var(--rh-navy);
	text-decoration: none;
}
.rh-langs a:hover { background: var(--rh-soft); color: var(--rh-blue); }
.rh-langs .is-current { background: var(--rh-navy); color: #fff; }

/* Бургер */
.rh-burger {
	display: none;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--rh-navy);
	color: #fff;
	cursor: pointer;
	flex: none;
	align-items: center;
	justify-content: center;
}
.rh-burger__icon { position: relative; width: 20px; height: 14px; display: block; }
.rh-burger__icon span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .2s, opacity .2s, top .2s;
}
.rh-burger__icon span:nth-child(1) { top: 0; }
.rh-burger__icon span:nth-child(2) { top: 6px; }
.rh-burger__icon span:nth-child(3) { top: 12px; }
.rh-nav.is-open .rh-burger__icon span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.rh-nav.is-open .rh-burger__icon span:nth-child(2) { opacity: 0; }
.rh-nav.is-open .rh-burger__icon span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Перебиваем адаптивные отступы Spacious (.better-responsive-menu #…) */
body.better-responsive-menu #header-text-nav-container { margin-bottom: 0; border-bottom: 1px solid var(--rh-line); }
body.better-responsive-menu #header-left-section,
body.better-responsive-menu #header-right-section,
body.better-responsive-menu #header-logo-image,
body.better-responsive-menu #site-navigation { float: none; margin: 0; max-width: none; }
body.better-responsive-menu #header-text-nav-wrap { padding: 10px 0; }
body.better-responsive-menu #header-text { float: none; padding: 0; text-align: left; }
body.better-responsive-menu #header-right-section { align-self: center; }

@media (max-width: 1280px) {
	.rh-nav__list { gap: 4px 13px; }
	.rh-nav__list a { font-size: 14px; }
	#header-text #site-title a { max-width: 190px; font-size: 13px; }
}

/* Планшет и телефон: бургер, меню — выпадающей панелью на всю ширину */
@media (max-width: 1100px) {
	#header-text-nav-container { position: relative; }
	#header-text-nav-wrap { gap: 12px; }
	#header-logo-image img { max-height: 48px; max-width: 64px; }
	#header-text #site-title a { max-width: 210px; font-size: 13px; }
	.rh-nav { gap: 10px; position: static; }
	.rh-burger { display: inline-flex; }
	.rh-nav__menu {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		z-index: 999;
		padding: 8px 20px 20px;
		background: #fff;
		border-top: 1px solid var(--rh-line);
		box-shadow: 0 16px 32px rgba(0, 33, 74, .18);
	}
	.rh-nav.is-open .rh-nav__menu { display: block; }
	.rh-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.rh-nav__list li { border-bottom: 1px solid var(--rh-line); }
	.rh-nav__list a { padding: 14px 4px; font-size: 17px; white-space: normal; }
	.rh-nav__list .current-menu-item > a { box-shadow: inset 3px 0 0 var(--rh-blue); padding-left: 12px; }
	.rh-nav__list .tg-header-button-wrap { border-bottom: 0; margin: 16px 0 0; }
	.rh-nav__list .tg-header-button-wrap a { padding: 14px 20px; text-align: center; font-size: 17px; }
}
@media (max-width: 480px) {
	#header-text #site-title a { font-size: 11px; max-width: 170px; }
	#header-logo-image img { max-height: 40px; }
	.rh-langs a,
	.rh-langs span { min-width: 30px; padding: 5px 6px; font-size: 11px; }
}
@media (max-width: 360px) {
	#header-text { display: none; }
}

/* ---------- Кнопки ---------- */

.rh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 26px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700;
	font-size: 16px;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s;
}
.rh-btn--accent { background: var(--rh-yellow); color: var(--rh-navy); }
.rh-btn--accent:hover { background: var(--rh-cream); color: var(--rh-navy); }
.rh-btn--primary { background: var(--rh-pill); color: #fff; }
.rh-btn--primary:hover { background: var(--rh-navy); color: #fff; }
.rh-btn--ghost { border-color: var(--rh-cream); color: var(--rh-cream); background: transparent; }
.rh-btn--ghost:hover { background: rgba(253, 249, 213, .12); color: #fff; }
.rh-btn--outline { border-color: var(--rh-pill); color: var(--rh-pill); background: #fff; }
.rh-btn--outline:hover { background: var(--rh-soft); color: var(--rh-navy); }
.rh-more { font-weight: 700; text-decoration: none; }
.rh-more:hover { text-decoration: underline; }

/* ---------- Баннер ---------- */

.rh-hero {
	position: relative;
	overflow: hidden;
	background: var(--rh-navy);
	color: var(--rh-cream);
	isolation: isolate;
}
.rh-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
	z-index: -2;
}
.rh-hero::after { /* затемнение под текстом слева */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(0, 33, 74, .92) 0%, rgba(0, 41, 85, .75) 45%, rgba(0, 41, 85, 0) 75%);
}
.rh-hero__inner {
	max-width: 1218px;
	margin: 0 auto;
	padding: 32px 24px 56px;
	min-height: min(78vh, 720px);
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto 1fr;
	gap: 24px;
}
.rh-hero__top { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.rh-hero__orgs { width: min(560px, 100%); height: auto; }
.rh-hero__date {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 14px 30px;
	background: rgba(8, 90, 143, .92);
	border-radius: 999px 14px 14px 999px;
	color: var(--rh-cream);
}
.rh-hero__days { font-size: 52px; font-weight: 800; line-height: 1; }
.rh-hero__month { font-size: 17px; line-height: 1.35; }
.rh-hero__text { align-self: center; max-width: 720px; }
.rh-hero__kicker { margin: 0 0 12px; font-size: 16px; font-weight: 800; letter-spacing: .03em; line-height: 1.3; text-transform: uppercase; color: var(--rh-cream); }
.rh-hero__title { margin: 0 0 18px; color: var(--rh-cream); font-size: clamp(36px, 5.2vw, 68px); font-weight: 800; line-height: 1.02; text-transform: uppercase; }
.rh-hero__pre { display: block; font-size: .62em; }
.rh-xii {
	background: linear-gradient(180deg, #fffbe0 0%, var(--rh-yellow) 55%, #f6d65a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: var(--rh-yellow);
	-webkit-text-fill-color: transparent;
	font-size: 1.25em;
	margin-right: .12em;
}
.rh-hero__theme { margin: 0 0 28px; font-size: clamp(18px, 2vw, 24px); line-height: 1.35; color: var(--rh-cream); text-transform: uppercase; font-weight: 400; }
.rh-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rh-hero__badge { align-self: end; width: 120px; height: auto; }

/* ---------- Блоки главной ---------- */

.rh-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: -36px 0 0;
	position: relative;
}
.rh-fact { background: #fff; border-radius: var(--rh-radius); padding: 20px 22px; box-shadow: 0 8px 24px rgba(0, 33, 74, .12); }
.rh-fact p { margin: 0; }
.rh-fact__label { font-size: 13px; color: var(--rh-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.rh-fact__value { font-size: 19px; font-weight: 800; color: var(--rh-navy); margin-top: 4px !important; }
.rh-fact__note { font-size: 14px; color: var(--rh-muted); }

.rh-section { margin: 56px 0 0; }
.rh-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.rh-section__head p { margin: 0; max-width: 760px; }

.rh-about { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 40px; }
.rh-about__text ul { margin: 0 0 1em 1.2em; list-style: disc; }
.rh-about__text li { margin: 0 0 4px; }
.rh-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rh-chips li { margin: 0; padding: 6px 14px; border-radius: 999px; background: var(--rh-soft); border: 1px solid var(--rh-line); font-size: 14px; }

.rh-band { margin-top: 56px; background: linear-gradient(100deg, var(--rh-navy), var(--rh-blue-deep)); color: var(--rh-cream); }
.rh-band__inner { max-width: 1218px; margin: 0 auto; padding: 40px 24px; }
.rh-band h2 { color: var(--rh-cream); }
.rh-orgs img { width: min(900px, 100%); height: auto; margin: 8px 0 20px; }
.rh-orgs__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 24px; font-size: 15px; }
.rh-orgs__list li { margin: 0; padding-left: 14px; border-left: 3px solid var(--rh-yellow); }

.rh-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.rh-cards { display: flex; flex-wrap: wrap; gap: 12px; }
.rh-card {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 20px;
	border-radius: var(--rh-radius);
	background: var(--rh-soft);
	border: 1px solid var(--rh-line);
	text-decoration: none;
	color: var(--rh-ink);
}
.rh-card:hover { border-color: var(--rh-blue); color: var(--rh-ink); }
.rh-card__kicker { font-size: 13px; color: var(--rh-muted); font-weight: 600; }
.rh-card__title { font-size: 20px; font-weight: 800; color: var(--rh-navy); }
.rh-card__link { font-weight: 700; color: var(--rh-blue); }

.rh-cta {
	margin-top: 56px;
	padding: 32px;
	border-radius: var(--rh-radius);
	background: linear-gradient(100deg, var(--rh-pill), var(--rh-blue));
	color: #fff;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.rh-cta h2 { color: var(--rh-cream); margin-bottom: 6px; }
.rh-cta p { margin: 0; max-width: 700px; }

/* ---------- Спикеры ---------- */

.rh-speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.rh-speaker { background: #fff; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.rh-speaker__photo { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 8px; background: var(--rh-soft); }
.rh-speaker__photo--empty { display: block; }
.rh-speaker__name { margin: 0; font-size: 16px; text-transform: uppercase; letter-spacing: .02em; }
.rh-speaker__about { font-size: 14px; color: var(--rh-muted); }
.rh-speaker__about p { margin: 0; }

/* ---------- Внутренние страницы ---------- */

.rh-wip {
	max-width: 760px;
	margin: 8px auto 24px;
	padding: 48px 32px;
	text-align: center;
	border-radius: var(--rh-radius);
	background: linear-gradient(120deg, var(--rh-navy), var(--rh-pill));
	color: var(--rh-cream);
}
.rh-wip p { margin: 0 0 20px; font-size: 17px; }
.rh-wip .rh-wip__title { font-size: clamp(22px, 3vw, 30px); font-weight: 800; text-transform: uppercase; color: var(--rh-cream); margin-bottom: 12px; }

.rh-page-intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.rh-page-intro > p { margin: 0; max-width: 800px; font-size: 17px; }
.rh-notice { padding: 18px 22px; border: 2px dashed var(--rh-line); border-radius: var(--rh-radius); background: var(--rh-soft); font-size: 16px; }
.rh-aside-box { padding: 20px; border-radius: var(--rh-radius); background: var(--rh-soft); }
.rh-aside-box p { margin: 0 0 8px; }
.rh-aside-box ol { margin: 0 0 0 1.2em; }

/* Дни программы и трансляции: вкладки строит rheuma.js */
.rh-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.rh-tab {
	min-height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	border: 2px solid var(--rh-pill);
	background: #fff;
	color: var(--rh-pill);
	font-weight: 700;
	font-size: 16px;
	cursor: pointer;
}
.rh-tab[aria-selected="true"] { background: var(--rh-pill); color: #fff; }
.rh-days.is-tabbed .rh-day__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.rh-day { margin-bottom: 28px; }
.rh-day[hidden] { display: none !important; }
.rh-sec { border: 1px solid var(--rh-line); border-radius: var(--rh-radius); overflow: hidden; margin-bottom: 16px; }
.rh-sec__head { background: var(--rh-soft); padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: baseline; }
.rh-sec__title { margin: 0 !important; font-size: 17px !important; }
.rh-sec__meta { margin: 0; color: var(--rh-muted); font-size: 14px; }
.rh-item { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 14px 20px; border-top: 1px solid var(--rh-line); }
.rh-item__time { flex: 0 0 130px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--rh-pill); }
.rh-item__body { flex: 1 1 360px; min-width: 0; }
.rh-item__topic p { margin: 0; }
.rh-item__who { font-size: 14px; color: var(--rh-muted); }

.rh-live__player iframe,
.rh-live__player video { width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--rh-radius); }
.rh-live__label { font-weight: 700; color: var(--rh-pill); margin: 0 0 8px; }
.rh-live__wait {
	aspect-ratio: 16 / 9;
	max-height: 560px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 24px;
	border-radius: var(--rh-radius);
	background: linear-gradient(120deg, var(--rh-navy), var(--rh-pill));
	color: var(--rh-cream);
}
.rh-live__date { margin: 0 0 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.rh-live__msg { margin: 0; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; max-width: 720px; }
.rh-live__foot { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 16px; margin-top: 8px; }
.rh-disclaimer { margin: 0; padding: 18px 20px; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: .02em; }

.rh-people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rh-person { padding: 20px; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); }
.rh-person p { margin: 0 0 4px; }
.rh-person__name { font-weight: 800; color: var(--rh-navy); }
.rh-person__role { color: var(--rh-muted); font-size: 14px; }
.rh-place { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: 24px; }
.rh-map { width: 100%; min-height: 380px; border: 0; border-radius: var(--rh-radius); }

.rh-archive { display: grid; gap: 20px; }
.rh-archive__card { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr); border: 1px solid var(--rh-line); border-radius: var(--rh-radius); overflow: hidden; text-decoration: none; color: var(--rh-ink); }
.rh-archive__card:hover { border-color: var(--rh-blue); color: var(--rh-ink); }
.rh-archive__img { width: 100%; height: 100%; min-height: 180px; object-fit: cover; background: var(--rh-soft); display: block; }
.rh-archive__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.rh-archive__meta { color: var(--rh-muted); font-size: 14px; }
.rh-archive__title { font-size: 21px; font-weight: 800; color: var(--rh-navy); line-height: 1.3; }
.rh-archive-bar { margin: 0 0 20px; padding: 10px 16px; border-radius: 8px; background: var(--rh-navy); color: var(--rh-cream); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; font-size: 14px; }
.rh-archive-bar a { color: var(--rh-yellow); font-weight: 700; }

/* ---------- Формы ---------- */

.rh-reg { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 32px; align-items: start; }
.rh-reg__aside { display: grid; gap: 16px; }
.rh-form { display: flex; flex-direction: column; gap: 18px; }
.rh-form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.rh-form__note { margin: 0; font-size: 14px; color: var(--rh-muted); }
.rh-form__errors { padding: 14px 18px; border-radius: 8px; background: #fdecec; border: 1px solid #e3a3a3; color: #7a1414; }
.rh-form__errors p { margin: 0; }
.rh-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.rh-field label,
.rh-field legend { font-weight: 700; font-size: 15px; color: var(--rh-navy); }
.rh-field input[type="text"],
.rh-field input[type="email"],
.rh-field input[type="tel"],
.rh-field input[type="password"] {
	min-height: 48px;
	padding: 0 14px;
	border: 1.5px solid #8a9bab;
	border-radius: 8px;
	font-size: 16px;
	background: #fff;
	width: 100%;
	box-sizing: border-box;
}
.rh-field input { margin: 0; }
.rh-field input:focus { border-color: var(--rh-blue); }
.rh-field.has-error input { border-color: #c0392b; }
.rh-field__hint { margin: 0; font-size: 13px; color: var(--rh-muted); }
.rh-field__error { margin: 0; font-size: 14px; color: #a12222; font-weight: 600; }
.rh-choice { border: 1.5px solid var(--rh-line); border-radius: 8px; padding: 12px 16px; }
.rh-choice label,
.rh-consent label,
.rh-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--rh-ink); min-height: 40px; padding-top: 6px; }
.rh-choice input,
.rh-consent input,
.rh-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.rh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.rh-form button.rh-btn { align-self: flex-start; }
.rh-success { padding: 28px; border-radius: var(--rh-radius); border: 2px solid var(--rh-pill); background: #f3f9fd; }
.rh-success h2 { margin-top: 0; }

/* ---------- Кабинет ---------- */

.rh-cab { display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 32px; align-items: start; }
.rh-cab__login { max-width: 520px; padding: 28px; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); }
.rh-cab__login h2 { margin: 0; }
.rh-cab__login .rh-btn { align-self: flex-start; }
.rh-cab__aside { display: grid; gap: 16px; }
.rh-cab__event { padding: 20px; border: 1px solid var(--rh-line); border-radius: var(--rh-radius); margin-bottom: 16px; }
.rh-cab__date { margin: 0; font-size: 14px; color: var(--rh-muted); }
.rh-cab__title { margin: 4px 0 14px; font-size: 18px; font-weight: 800; color: var(--rh-navy); }
.rh-cab__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.rh-cab__soon { margin: 0; padding: 8px 14px; border: 1.5px dashed var(--rh-line); border-radius: 8px; }

/* ---------- Футер ---------- */

.rh-footer { background: var(--rh-navy); color: #dbe7f1; }
.rh-footer a { color: var(--rh-cream); }
.rh-footer a:hover { color: var(--rh-yellow); }
.rh-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding: 40px 0 24px; }
.rh-footer__col p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; }
.rh-footer__title { font-weight: 800; color: var(--rh-cream); font-size: 15px !important; }
.rh-footer__muted { color: #a9bccd; }
.rh-footer .footer-socket-wrapper { background: #001733; }
.rh-footer__socket { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 14px 0; font-size: 13px; color: #a9bccd; }
.rh-footer__socket a[rel="designer"] span { display: inline-flex; align-items: center; gap: 2px; vertical-align: middle; }

/* ---------- Адаптив ---------- */

@media (max-width: 900px) {
	.rh-hero__inner { grid-template-columns: 1fr; min-height: 0; padding-bottom: 72px; }
	.rh-hero__badge { display: none; }
	.rh-hero::after { background: linear-gradient(180deg, rgba(0, 33, 74, .9) 0%, rgba(0, 41, 85, .82) 100%); }
	.rh-about,
	.rh-reg,
	.rh-cab,
	.rh-place,
	.rh-live__foot,
	.rh-archive__card { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.rh-hero__days { font-size: 40px; }
	.rh-hero__date { padding: 10px 20px; }
	.rh-content h2 { font-size: 24px; }
	.rh-cta { padding: 24px; }
	.rh-item__time { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; }
}
