/*
 * CRHD — страница «Рейтинги» (макет «Рейтинги v2»). Поверх cr-home4.css, всё под `.crr-*`.
 * Только transform, opacity и background-color; hover только там, где есть наведение.
 */

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

/* ---------- Заголовок ---------- */

.crr-top {
	padding: 24px 0 32px;
}

.crh4-page .crr-bc {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 14px;
	color: var(--ink3);
}

.crh4-page .crr-bc a {
	color: var(--ink2);
}

.crh4-page .crr-bc a:hover {
	color: var(--blue);
}

.crr-bc > span:last-child {
	color: var(--ink);
}

.crh4-page .crr-h1 {
	margin-top: 24px;
	max-width: 820px;
	font-size: clamp(34px, 2.4vw + 16px, 48px);
	line-height: 1.15;
	font-weight: 700;
	letter-spacing: -.02em;
	color: var(--ink);
	text-wrap: balance;
}

.crh4-page .crr-lead {
	margin-top: 12px;
	max-width: 640px;
	font-size: 17px;
	line-height: 1.5;
	color: var(--ink2);
	text-wrap: pretty;
}

/* ---------- Основной блок ---------- */

.crr-band {
	background: var(--soft);
	padding: 40px 0 64px;
}

.crr-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 20px;
	align-items: start;
}

@media (min-width: 1100px) {
	.crr-grid {
		grid-template-columns: minmax(0, 1fr) 300px;
	}
}

.crr-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border-radius: 16px;
}

/* Таблица (ПК) */

.crh4-page .crr-table {
	display: none;
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
	font-size: 15px;
}

.crr-list {
	display: block;
}

@media (min-width: 760px) {
	.crh4-page .crr-table {
		display: table;
	}
	.crr-list {
		display: none;
	}
}

.crh4-page .crr-table th,
.crh4-page .crr-table td {
	border: 0;
	background: transparent;
	text-align: left;
	vertical-align: middle;
}

.crh4-page .crr-table thead tr {
	height: 48px;
}

.crh4-page .crr-th {
	padding: 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--ink3);
}

.crh4-page .crr-th--name {
	padding-left: 24px;
}

.crh4-page .crr-th--n {
	width: 112px;
	padding-right: 24px;
	text-align: right;
}

.crh4-page .crr-th--lead {
	width: 42%;
}

.crh4-page .crr-th--go {
	width: 56px;
}

.crr-th__in {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.crh4-page .crr-info {
	display: inline-flex;
	padding: 6px 4px;
	border-radius: 8px;
	color: var(--ink2);
	transition: transform .12s ease-out, color .15s ease;
}

.crh4-page .crr-info:active {
	transform: scale(.97);
}

@media (hover: hover) and (pointer: fine) {
	.crh4-page .crr-info:hover {
		color: #2f56e0;
	}
}

.crh4-page .crr-table .crr-grp {
	height: 40px;
}

.crh4-page .crr-table .crr-grp th {
	padding: 0 24px;
	border-top: 1px solid var(--line);
	background: var(--soft);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink2);
}

.crh4-page .crr-row {
	height: 72px;
	border-top: 1px solid var(--line);
	cursor: pointer;
	transition: background-color .15s ease;
}

.crh4-page .crr-row:active {
	background-color: #f3f5f8;
}

@media (hover: hover) and (pointer: fine) {
	.crh4-page .crr-row:hover {
		background-color: #fafbfc;
	}
	.crh4-page .crr-row:hover .crr-arrow {
		transform: translateX(4px);
	}
}

.crh4-page .crr-td {
	padding: 12px 0;
}

.crh4-page .crr-td--name {
	padding-left: 24px;
}

.crr-name {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.crh4-page .crr-ibox {
	width: 40px;
	height: 40px;
	flex: none;
}

.crh4-page .crr-link {
	display: -webkit-box;
	min-width: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

@media (hover: hover) and (pointer: fine) {
	.crh4-page .crr-link:hover {
		color: #2f56e0;
		text-decoration: underline;
	}
}

.crh4-page .crr-td--n {
	padding-right: 24px;
	text-align: right;
	font-weight: 600;
}

.crh4-page .crr-td--lead {
	padding-right: 16px;
}

.crr-lead-box {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.crr-lead-box .crh4-logo-box {
	border-radius: 8px;
}

.crr-lead-tx {
	min-width: 0;
}

.crr-lead-nm {
	display: -webkit-box;
	overflow: hidden;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ink);
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.crr-lead-pt {
	display: block;
	margin-top: 2px;
	font-size: 13px;
	color: var(--ink2);
}

.crr-none {
	font-size: 14px;
	color: var(--ink2);
}

.crh4-page .crr-td--go {
	text-align: center;
	color: var(--blue);
}

.crr-arrow {
	display: flex;
	justify-content: center;
	transition: transform .18s cubic-bezier(.23, 1, .32, 1);
}

/* Список (телефон) */

.crr-list__grp {
	padding: 10px 16px;
	border-top: 1px solid var(--line);
	background: var(--soft);
	font-size: 13px;
	font-weight: 600;
	color: var(--ink2);
}

.crr-list > div:first-child .crr-list__grp {
	border-top: 0;
}

.crh4-page .crr-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-height: 72px;
	padding: 14px 12px 14px 16px;
	border-top: 1px solid var(--line);
	color: var(--ink);
	transition: background-color .15s ease;
}

.crh4-page .crr-item:active {
	background-color: #f3f5f8;
}

.crr-item__tx {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.crr-item__nm {
	display: -webkit-box;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.crr-item__c {
	font-size: 13px;
	color: var(--ink2);
}

.crr-item__l {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 6px;
	min-width: 0;
	font-size: 13px;
	line-height: 1.35;
	color: var(--ink2);
}

.crr-item__l b {
	font-weight: 600;
	color: var(--ink);
}

.crr-item__logo {
	border-radius: 7px;
}

.crr-item__go {
	width: 24px;
	height: 40px;
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--blue);
}

/* ---------- Методика ---------- */

.crr-aside {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	background: #fff;
	border-radius: 16px;
}

.crh4-page .crr-aside__h {
	font-size: 19px;
	line-height: 1.3;
	font-weight: 700;
}

.crh4-page .crr-aside p {
	font-size: 15px;
	line-height: 1.55;
	color: var(--ink2);
}

.crh4-page .crr-aside p + p {
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.crh4-page .crr-btnlink {
	align-self: flex-start;
	font-size: 15px;
	font-weight: 600;
	color: #2f56e0;
	text-decoration: underline;
	text-decoration-color: #c7d3ff;
	text-underline-offset: 3px;
	transition: transform .12s ease-out, text-decoration-color .15s ease;
}

.crh4-page .crr-btnlink:active {
	transform: scale(.97);
}

@media (hover: hover) and (pointer: fine) {
	.crh4-page .crr-btnlink:hover {
		text-decoration-color: #2f56e0;
	}
}

.crh4-page .crr-aside .crr-aside__foot {
	padding-top: 12px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	color: var(--ink3);
}

.crh4-page .crr-aside__foot a {
	color: var(--ink2);
	text-decoration: underline;
}

/* ---------- Вопросы ---------- */

.crr-faqwrap {
	padding-top: 64px;
	padding-bottom: 64px;
}

/* Текущий пункт меню */

.crh4-page .crh4-nav__link[aria-current="page"] {
	color: #2f56e0;
}
