/* supplement.css — точечные правки вёрстки/видимости */

/* Article: desktop = content + sticky sidebar; mobile = column */
.r-article-layout {
	display: flex;
	gap: 30px;
	align-items: flex-start;
}

.r-article-main {
	flex: 1;
	min-width: 0;
}

.r-article-sidebar {
	flex: 0 0 240px;
	max-width: 240px;
	position: sticky;
	top: 78px;
	align-self: flex-start;
}

.r-article-sidebar-inner {
	background: #f5f5f5;
	padding: 18px 16px;
	border-radius: 2px;
	border-left: 3px solid #1abc9c;
}

.r-article-sidebar-title {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .12em;
	color: #1abc9c;
	margin: 0 0 14px;
	font-weight: 700;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.r-article-sidebar-item {
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #e0e0e0;
}

.r-article-sidebar-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: 0;
}

.r-article-sidebar-link {
	color: #3a3a3a;
	text-decoration: none;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 600;
	display: block;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.r-article-sidebar-link:hover {
	color: #1abc9c;
}

/* Wide tables: horizontal scroll instead of page overflow */
.r-table-scroll {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0.731rem 0;
}

.r-table-scroll > table {
	margin: 0;
	width: max-content;
	min-width: 100%;
}

.lhx1kle .r-table-scroll > table {
	margin: 0;
}

@media screen and (max-width: 800px) {
	.r-article-layout {
		flex-direction: column;
		gap: 24px;
	}

	.r-article-main,
	.r-article-sidebar {
		flex: none;
		width: 100%;
		max-width: none;
	}

	.r-article-sidebar {
		position: static;
		align-self: stretch;
	}
}
