@charset "utf-8";

.period-tabs {
	display: flex;
	gap: 0;
	margin-bottom: 50px;
	border: 1px solid #ddd;
	overflow: hidden;
}
.period-tabs .tab-button {
	flex: 1;
	padding: 15px 20px;
	background-color: #fff;
	border: none;
	border-right: 1px solid #ddd;
	font-size: 16px;
	color: #333;
	cursor: pointer;
	transition: all 0.3s;
}
.period-tabs .tab-button:last-child {
	border-right: none;
}
.period-tabs .tab-button:hover {
	background-color: #f5f5f5;
}
.period-tabs .tab-button.active {
	background-color: #2061cc;
	color: #fff;
	font-weight: 500;
}

.timeline-content .content-area {
	display: none;
}
.timeline-content .content-area.active {
	display: block;
}
.timeline-content .content-area .timeline-section {
	position: relative;
	padding-bottom: 50px;
}
.timeline-content .content-area .timeline-section:last-child {
	padding-bottom: 10px;
}
.timeline-content .content-area .timeline-section:last-child::after {
	content: '';
	position: absolute;
	left: 92.5px;
	bottom: -10px;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background-color: #2061cc;
}
.timeline-content .content-area .timeline-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 100px;
	width: 1px;
	height: 100%;
	background-color: #2061cc;
}
.timeline-content .content-area .timeline-section .year-badge {
	position: absolute;
	top: 0;
	left: 55px;
	width: 90px;
	height: 90px;
	background-color: #2061cc;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	font-weight: 700;
	z-index: 1;
}
.timeline-content .content-area .timeline-section .timeline-list {
	padding-top: 110px;
}
.timeline-content .content-area .timeline-section .timeline-list li {
	padding: 5px 0;
	display: grid;
	grid-template-columns: 80px 1fr;
	column-gap: 40px;
	font-size: 15px;
	line-height: 1.6;
}
.timeline-content .content-area .timeline-section .timeline-list li .date {
	color: #333;
	font-weight: 500;
	min-width: 50px;
	text-align: right;
}
.timeline-content .content-area .timeline-section .timeline-list li .event {
	color: #555;
	flex: 1;
}

/* 반응형 */
@media (max-width: 768px) {
	.period-tabs {
		flex-wrap: wrap;
	}
	.period-tabs .tab-button {
		font-size: 14px;
		padding: 12px 15px;
		min-width: 50%;
		border-top: 1px solid #ddd;
	}
	.period-tabs .tab-button:nth-child(2n) {
		border-right: none;
	}
	.period-tabs .tab-button:nth-child(1),
	.period-tabs .tab-button:nth-child(2) {
		border-top: none;
	}
}
