.slcm-history {
	--slcm-history-accent: #202064;
	--slcm-history-accent-soft: #f1f2fa;
	--slcm-history-ink: #161b2d;
	--slcm-history-body: #5f626a;
	--slcm-history-line: #dfe1e8;
	box-sizing: border-box;
	width: 100%;
	max-width: 1120px;
	margin-right: auto;
	margin-left: auto;
	padding: 10px 30px clamp(80px, 10vw, 150px);
	color: var(--slcm-history-body);
	font-size: 16px;
	line-height: 1.7;
}

.slcm-history *,
.slcm-history *::before,
.slcm-history *::after {
	box-sizing: inherit;
}

.slcm-history-timeline {
	width: 100%;
}

.slcm-history-group + .slcm-history-group {
	margin-top: clamp(44px, 6vw, 82px);
}

.slcm-history-group-title {
	position: relative;
	z-index: 2;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 44px;
	padding: 13px 30px;
	border-radius: 4px;
	background: var(--slcm-history-accent);
	color: #fff;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.025em;
	text-align: center;
}

.slcm-history-group-list {
	position: relative;
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.slcm-history-group-list::before {
	position: absolute;
	top: -44px;
	bottom: 0;
	left: 50%;
	width: 1px;
	background: var(--slcm-history-line);
	content: "";
	transform: translateX(-50%);
}

.slcm-history-item {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr);
	min-height: 154px;
	padding-bottom: clamp(46px, 5vw, 72px);
}

.slcm-history-card {
	min-width: 0;
	padding: 0 12px;
}

.slcm-history-item.is-left .slcm-history-card {
	grid-column: 1;
	text-align: right;
}

.slcm-history-item.is-right .slcm-history-card {
	grid-column: 3;
	text-align: left;
}

.slcm-history-year {
	margin: 0 0 13px;
	color: var(--slcm-history-ink);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.035em;
}

.slcm-history-sections {
	display: grid;
	gap: 20px;
}

.slcm-history-section h4 {
	margin: 0 0 6px;
	color: var(--slcm-history-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
}

.slcm-history-section ul {
	display: grid;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.slcm-history-section li {
	position: relative;
	margin: 0;
	color: var(--slcm-history-body);
	font-size: 15px;
	line-height: 1.65;
	word-break: keep-all;
	overflow-wrap: anywhere;
}

.slcm-history-marker {
	position: relative;
	z-index: 2;
	grid-column: 2;
	grid-row: 1;
	justify-self: center;
	width: 19px;
	height: 19px;
	margin-top: 6px;
	border: 5px solid var(--slcm-history-accent);
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 5px #fff;
}

.slcm-history-empty {
	margin: 0;
	padding: 46px 24px;
	border: 1px solid var(--slcm-history-line);
	background: #fafafa;
	color: var(--slcm-history-body);
	text-align: center;
}

@media (max-width: 767px) {
	.slcm-history {
		padding-right: 20px;
		padding-bottom: 80px;
		padding-left: 20px;
		font-size: 15px;
	}

	.slcm-history-group + .slcm-history-group {
		margin-top: 54px;
	}

	.slcm-history-group-title {
		margin-right: 0;
		margin-bottom: 38px;
		margin-left: 0;
		padding: 11px 20px;
		font-size: 17px;
	}

	.slcm-history-group-list::before {
		top: -38px;
		left: 11px;
		transform: none;
	}

	.slcm-history-item {
		grid-template-columns: 34px minmax(0, 1fr);
		min-height: 0;
		padding-bottom: 48px;
	}

	.slcm-history-item.is-left .slcm-history-card,
	.slcm-history-item.is-right .slcm-history-card {
		grid-column: 2;
		grid-row: 1;
		padding: 0;
		text-align: left;
	}

	.slcm-history-marker {
		grid-column: 1;
		width: 17px;
		height: 17px;
		margin-top: 4px;
		border-width: 4px;
		box-shadow: 0 0 0 4px #fff;
	}

	.slcm-history-year {
		margin-bottom: 11px;
		font-size: 22px;
	}

	.slcm-history-sections {
		gap: 17px;
	}

	.slcm-history-section li {
		font-size: 14px;
	}
}
