/* ============================================================
   Timeline Carousel Widget
   ============================================================ */

.tc-section {
	width: 100%;
	position: relative;
	box-sizing: border-box;
}

.tc-section *,
.tc-section *::before,
.tc-section *::after {
	box-sizing: border-box;
}

/* ---- 顶部时间轴 ---- */
.tc-nav {
	position: relative;
	display: flex;
	align-items: flex-end;
	margin-bottom: 40px;
}

.tc-nav-line {
	position: absolute;
	bottom: 22px;
	left: 20px;
	right: 20px;
	height: 1px;
	background-color: #e0e0e0;
	z-index: 1;
}

.tc-nav-btn {
	position: relative;
	z-index: 2;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	flex-shrink: 0;
	border-radius: 50% !important;
	background-color: #f0f0f0;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	color: #555;
	font-size: 14px;
	transition: all .3s ease;
	border: 0;
	padding: 0;
}

.tc-nav-btn:hover {
	background-color: #e0e0e0;
	color: #111;
}

.tc-timeline-swiper {
	flex: 1;
	overflow: hidden;
	margin: 0 10px;
	z-index: 2;
}

.tc-bullet {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	outline: none;
	flex-shrink: 0;
}

.tc-nav-title {
	font-size: 15px;
	color: #555;
	white-space: nowrap;
	transition: color .3s ease;
	display: block;
	margin-bottom: 8px;
}

.tc-nav-circle {
	width: 44px;
	height: 44px;
	min-width: 44px;
	min-height: 44px;
	flex-shrink: 0;
	border-radius: 50% !important;
	background-color: #161845;
	color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	transition: background-color .3s ease;
	position: relative;
	box-shadow: 0 4px 10px rgba(0,0,0,.05);
}

.tc-bullet:hover .tc-nav-circle,
.tc-bullet.swiper-slide-active .tc-nav-circle {
	background-color: #b71a33;
}

.tc-bullet:hover .tc-nav-title,
.tc-bullet.swiper-slide-active .tc-nav-title {
	color: #333;
	font-weight: 600;
}

/* ---- 主卡片区 ---- */
.tc-main-swiper {
	position: relative;
}

.tc-main-swiper .swiper-slide {
	height: auto;
}

.tc-card {
	background-color: #f5f5f5;
	padding: 20px;
	border-radius: 4px;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.tc-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	margin-bottom: 24px;
	background-color: #fff;
}

.tc-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.tc-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 0 10px 10px;
}

.tc-title {
	font-size: 20px;
	color: #1a1c4b;
	font-weight: 700;
	margin: 0 0 12px;
}

.tc-desc {
	font-size: 14px;
	color: #c95c65;
	line-height: 1.5;
	margin: 0 0 24px;
}

.tc-link {
	margin-top: auto;
	align-self: flex-start;
	color: #b71a33;
	font-weight: 700;
	font-size: 14px;
	text-decoration: underline;
	transition: color .3s ease;
}

.tc-link:hover {
	color: #8f1226;
}

/* ★ 空链接自动隐藏（与源码一致的 CSS 兜底） */
.tc-link:not([href]),
.tc-link[href=""],
.tc-link[href="#"] {
	display: none !important;
}

/* 隐藏手机端专用元素 */
.tc-mobile-btn,
.tc-mob-title {
	display: none;
}
