/**
 * 博客精选展示（Blog Showcase）
 * 对应 meizhuan/blog.html 资讯博客区块
 */

/* ========== 容器 ========== */
.gt-bsc {
	max-width: 1440px;
	margin: 0 auto;
	padding: 4rem 20px;
	box-sizing: border-box;
	color: #1f2937;
}

/* 重置子元素圆角 */
.gt-bsc *,
.gt-bsc *::before,
.gt-bsc *::after {
	border-radius: 0 !important;
}

.gt-bsc a {
	text-decoration: none;
	color: inherit;
}

/* ========== 焦点文章 ========== */
.gt-bsc__featured {
	margin-bottom: 5rem;
	display: block;
	padding: 1rem;
	margin-left: -1rem;
	margin-right: -1rem;
	border: 1px solid transparent;
	transition: border-color 0.3s;
	cursor: pointer;
}

.gt-bsc__featured:hover {
	border-color: #f3f4f6;
}

.gt-bsc__featured-inner {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
}

@media (min-width: 1024px) {
	.gt-bsc__featured-inner {
		flex-direction: row;
		gap: 4rem;
	}
}

.gt-bsc__featured-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #f3f4f6;
	overflow: hidden;
	position: relative;
}

@media (min-width: 1024px) {
	.gt-bsc__featured-img {
		width: 60%;
	}
}

.gt-bsc__featured-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s ease;
}

.gt-bsc__featured:hover .gt-bsc__featured-img img {
	transform: scale(1.05);
}

.gt-bsc__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: #000;
	color: #fff;
	font-size: 10px;
	padding: 4px 12px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	z-index: 10;
	box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

.gt-bsc__featured-body {
	width: 100%;
}

@media (min-width: 1024px) {
	.gt-bsc__featured-body {
		width: 40%;
	}
}

.gt-bsc__meta {
	font-size: 12px;
	color: #9ca3af;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.gt-bsc__featured-title {
	font-family: 'Noto Serif SC', serif;
	font-size: 1.875rem;
	color: #000;
	letter-spacing: 0.1em;
	margin: 0 0 1.5rem;
	line-height: 1.25;
	font-weight: 500;
	transition: color 0.3s;
}

.gt-bsc__featured:hover .gt-bsc__featured-title {
	color: #6b7280;
}

.gt-bsc__featured-excerpt {
	color: #6b7280;
	font-size: 0.875rem;
	line-height: 1.85;
	letter-spacing: 0.025em;
	text-align: justify;
	margin: 0 0 2rem;
}

.gt-bsc__readmore {
	font-size: 12px;
	letter-spacing: 0.2em;
	color: #000;
	border-bottom: 1px solid #000;
	padding-bottom: 4px;
	text-transform: uppercase;
	display: inline-block;
}

/* ========== 分隔线 ========== */
.gt-bsc__divider {
	width: 100%;
	height: 1px;
	background: #e5e7eb;
	margin-bottom: 4rem;
}

/* ========== 列表网格 ========== */
.gt-bsc__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem 3rem;
}

@media (min-width: 768px) {
	.gt-bsc__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.gt-bsc__grid {
		grid-template-columns: repeat(var(--bsc-cols-lg, 3), 1fr);
	}
}

/* ========== 列表项 ========== */
.gt-bsc__item {
	display: block;
	cursor: pointer;
}

.gt-bsc__item-img {
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f3f4f6;
	overflow: hidden;
	position: relative;
	margin-bottom: 1.5rem;
}

.gt-bsc__item-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.7s ease;
}

.gt-bsc__item:hover .gt-bsc__item-img img {
	transform: scale(1.05);
}

.gt-bsc__item-meta {
	font-size: 12px;
	color: #9ca3af;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	margin-bottom: 0.75rem;
}

.gt-bsc__item-title {
	font-family: 'Noto Serif SC', serif;
	font-size: 1.25rem;
	color: #000;
	letter-spacing: 0.1em;
	font-weight: 500;
	margin: 0 0 1rem;
	line-height: 1.4;
	transition: color 0.3s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gt-bsc__item:hover .gt-bsc__item-title {
	color: #6b7280;
}

.gt-bsc__item-excerpt {
	color: #6b7280;
	font-size: 0.875rem;
	line-height: 1.6;
	letter-spacing: 0.025em;
	margin: 0 0 1.5rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gt-bsc__item-link {
	font-size: 12px;
	letter-spacing: 0.1em;
	color: #6b7280;
	border-bottom: 1px solid #d1d5db;
	padding-bottom: 4px;
	display: inline-block;
}

/* ========== 分页 ========== */
.gt-bsc__pagination {
	margin-top: 5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1.5rem;
	font-size: 0.875rem;
	letter-spacing: 0.15em;
}

.gt-bsc__pagination .page-numbers {
	color: #9ca3af;
	padding: 0 0.5rem;
	transition: color 0.3s;
}

.gt-bsc__pagination .page-numbers:hover {
	color: #000;
}

.gt-bsc__pagination .page-numbers.current {
	color: #000;
	border-bottom: 1px solid #000;
	padding-bottom: 4px;
}

.gt-bsc__pagination .page-numbers.next,
.gt-bsc__pagination .page-numbers.prev {
	text-transform: uppercase;
	letter-spacing: 0.2em;
}

/* ========== 空状态 ========== */
.gt-bsc__empty {
	text-align: center;
	color: #9ca3af;
	padding: 4rem 0;
}

/* ========== 响应式 ========== */
@media (max-width: 767px) {
	.gt-bsc {
		padding: 2.5rem 1rem;
	}
	.gt-bsc__featured {
		margin-bottom: 3rem;
	}
	.gt-bsc__featured-title {
		font-size: 1.5rem;
	}
	.gt-bsc__divider {
		margin-bottom: 2.5rem;
	}
	.gt-bsc__grid {
		gap: 2.5rem 1.5rem;
	}
	.gt-bsc__pagination {
		margin-top: 3rem;
		gap: 1rem;
	}
}
