.history-block {
	--history-bg: #f7f7f7;
	--history-card: #fff;
	--history-text: #111;
	--history-muted: #c8c8c8;
	--history-accent: var(--two, #f9af3b);

	padding: 46px 0 58px;
	background: var(--history-bg);
	color: var(--history-text);
}

.history-block__heading {
	max-width: 980px;
	margin: 0 auto 30px;
	padding-left: 92px;

	font-size: 32px;
	line-height: 1.18;
	font-weight: 800;
}

.history-block__layout {
	max-width: 980px;
	margin: 0 auto;

	display: grid;
	grid-template-columns: 66px minmax(0, 1fr);
	gap: 26px;
	align-items: start;
}

.history-block__nav {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.history-block__years {
	display: flex;
	flex-direction: column;
	align-items: center;

	width: 100%;
	height: 140px;
	margin: 11px 0;

	overflow-y: auto;
	overflow-x: hidden;

	scrollbar-width: none;
	scroll-behavior: smooth;
}

.history-block__years::-webkit-scrollbar {
	display: none;
}

.history-block__year,
.history-block__arrow {
	border: 0;
	background: transparent;
	box-shadow: none;
	font: inherit;
	cursor: pointer;
}

.history-block__year {
	flex: 0 0 28px;
	width: 100%;
	height: 28px;
	padding: 0;

	font-size: 23px;
	line-height: 1.12;
	font-weight: 400;

	text-align: center;
	color: var(--history-muted);

	transition: color .16s ease;
}

.history-block__year.is-active {
	font-weight: 800;
	color: var(--history-text);
}

.history-block__year:hover {
	color: #777;
}

.history-block__year:focus-visible,
.history-block__arrow:focus-visible {
	outline: 2px solid var(--history-accent);
	outline-offset: 3px;
}

.history-block__arrow {
	display: flex;
	align-items: center;
	justify-content: center;

	width: 36px;
	height: 28px;

	color: #858585;
}

.history-block__arrow svg {
	width: 22px;
	height: 13px;

	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.history-block__arrow:disabled {
	opacity: .22;
	cursor: default;
}

.history-block__panel[hidden] {
	display: none !important;
}

.history-block__events {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.history-block__event {
	padding: 18px 20px 20px;
	background: var(--history-card);
	border-radius: 18px 0 18px 0;
}

.history-block__month {
	display: inline-flex;
	align-items: center;

	margin-bottom: 11px;
	padding: 5px 10px;

	background: var(--history-accent);
	border-radius: 3px;

	font-size: 10px;
	line-height: 1;
	font-weight: 600;
	text-transform: uppercase;
	color: #111;
}

.history-block__event-title {
	margin: 0 0 10px;

	font-size: 17px;
	line-height: 1.25;
	font-weight: 800;

	color: var(--history-text);
}

.history-block__description {
	font-size: 13px;
	line-height: 1.35;
	color: var(--history-text);
}

.history-block__description p {
	margin: 0;
}

.history-block__description p + p {
	margin-top: 8px;
}

@media (max-width: 767.98px) {

	.history-block {
		padding: 38px 0 44px;
	}

	.history-block__heading {
		padding-left: 0;
		margin-bottom: 24px;
		font-size: 28px;
	}

	.history-block__layout {
		display: block;
	}

	.history-block__nav {
		flex-direction: row;
		margin-bottom: 22px;
	}

	.history-block__years {
		flex: 1;
		flex-direction: row;
		gap: 18px;

		margin: 0 10px;

		overflow-x: auto;
		scrollbar-width: none;
	}

	.history-block__years::-webkit-scrollbar {
		display: none;
	}

	.history-block__year {
		flex: 0 0 auto;
		width: auto;
		font-size: 20px;
	}

	.history-block__arrow--prev svg,
	.history-block__arrow--next svg {
		transform: rotate(-90deg);
	}

	.history-block__events {
		gap: 14px;
	}

	.history-block__event {
		padding: 16px 17px 18px;
	}
}