/* ============================================================
   NEWS / ARTICLES — index + detail
   ============================================================ */

/* ---------- Featured ---------- */
.feat-article {
	display: grid;
	grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 64px);
	align-items: center;
	padding-bottom: clamp(34px, 4.4vw, 58px);
	border-bottom: 1px solid var(--line);
}

.feat-media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10.5;
	overflow: hidden;
	background: #241708;
}

.feat-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.97);
	transition: transform 1.15s var(--ease), filter 0.6s;
}

.feat-article:hover .feat-media img {
	transform: scale(1.04);
	filter: brightness(1.02);
}

.feat-tag {
	position: absolute;
	left: 14px;
	top: 14px;
	z-index: 1;
	padding: 5px 12px;
	background: rgba(255, 255, 255, 0.94);
	color: #1c1c22;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.feat-date {
	display: block;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ivory-45);
}

.feat-body h2 {
	margin: 12px 0 14px;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(24px, 3vw, 38px);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.feat-body h2 a {
	color: var(--ivory);
	transition: color 0.3s;
}

.feat-body h2 a:hover {
	color: var(--brass);
}

.feat-body p {
	max-width: 58ch;
	font-size: 15px;
	line-height: 1.8;
	color: var(--ivory-70);
}

.feat-more {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 22px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--brass);
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ivory);
	transition: color 0.3s, gap 0.35s var(--ease);
}

.feat-more svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.feat-more:hover {
	color: var(--brass);
	gap: 15px;
}

/* ---------- Article cards ---------- */
.art-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 3.2vw, 44px);
	border-top: none;
}

.art-card {
	display: block;
	position: relative;
}

.art-card-media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #241708;
	margin-bottom: clamp(14px, 1.6vw, 18px);
}

.art-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.97);
	transition: transform 1.15s var(--ease), filter 0.6s;
}

.art-card:hover .art-card-media img {
	transform: scale(1.05);
	filter: brightness(1.03);
}

.art-card-media .art-cat {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 4px 11px;
	background: rgba(255, 255, 255, 0.94);
	color: #1c1c22;
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.art-card-meta {
	display: block;
	margin-bottom: 8px;
}

.art-card-meta time {
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.14em;
	color: var(--ivory-45);
}

.art-card h3 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(17px, 1.55vw, 21px);
	line-height: 1.28;
	letter-spacing: -0.01em;
	color: var(--ivory);
	margin-bottom: 10px;
	transition: color 0.3s;
}

.art-card:hover h3 {
	color: var(--brass);
}

.art-card p {
	font-size: 14px;
	line-height: 1.75;
	color: var(--ivory-55);
}

/* ---------- Detail ---------- */
.article-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(36px, 4vw, 72px);
	align-items: start;
}

.article-main {
	min-width: 0;
}

.article-cover {
	margin-top: clamp(30px, 4vw, 54px);
}

.article-cover img {
	width: 100%;
	aspect-ratio: 16 / 8.4;
	object-fit: cover;
}

.article-meta {
	padding-top: clamp(24px, 3vw, 38px);
	padding-bottom: clamp(18px, 2.2vw, 28px);
	border-bottom: 1px solid var(--line);
}

.article-meta h1 {
	margin: 0 0 16px;
	font-family: var(--display);
	font-weight: 800;
	font-size: clamp(26px, 3.2vw, 42px);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--ivory);
}

.article-meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(10px, 1.4vw, 18px);
}

.article-meta-row > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.12em;
	color: var(--ivory-55);
}

.article-meta-row > span svg {
	width: 13px;
	height: 13px;
	stroke: currentColor;
	fill: none;
}

.article-meta-row .article-date {
	color: var(--ivory-45);
}

.article-meta-row .article-views {
	color: var(--ivory-45);
}

.article-meta-row .article-cat {
	padding: 4px 11px;
	background: rgba(240, 136, 10, 0.12);
	color: var(--brass);
	font-size: 10.5px;
	text-transform: uppercase;
}

.article-body {
	padding-top: clamp(34px, 4.4vw, 58px);
}

.article-body .lead {
	margin-bottom: 10px;
}

.article-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: clamp(34px, 4vw, 52px) 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.article-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.article-share {
	display: flex;
	align-items: center;
	gap: 14px;
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ivory-45);
}

.article-share a {
	color: var(--ivory-70);
	border-bottom: 1px solid transparent;
	transition: color 0.3s, border-color 0.3s;
}

.article-share a:hover {
	color: var(--brass);
	border-color: var(--brass);
}

.article-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: clamp(34px, 4.4vw, 56px);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	position: relative;
}

/* 分隔竖线 */
.article-nav::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 22px;
	bottom: 22px;
	width: 1px;
	background: var(--line);
}

/* 四个子元素分别定位到 grid 的 2×2 */
.article-nav > span:nth-child(1) { grid-column: 1; grid-row: 1; }
.article-nav > a:nth-child(2)    { grid-column: 1; grid-row: 2; }
.article-nav > span:nth-child(3) { grid-column: 2; grid-row: 1; text-align: right; }
.article-nav > a:nth-child(4)    { grid-column: 2; grid-row: 2; text-align: right; }

.article-nav > span {
	font-family: var(--mono);
	font-size: 10.5px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ivory-45);
	padding: clamp(18px, 2.4vw, 26px) clamp(20px, 3vw, 34px) 4px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

/* Previous 标签加左箭头 */
.article-nav > span:nth-child(1)::before {
	content: "";
	width: 0; height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-right: 6px solid var(--ivory-45);
}

/* Next 标签加右箭头 */
.article-nav > span:nth-child(3)::after {
	content: "";
	width: 0; height: 0;
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
	border-left: 6px solid var(--ivory-45);
}

.article-nav > a {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(16px, 1.7vw, 21px);
	line-height: 1.3;
	color: var(--ivory);
	text-decoration: none;
	padding: 4px clamp(20px, 3vw, 34px) clamp(22px, 3vw, 34px);
	transition: color 0.3s, transform 0.35s var(--ease);
	display: inline-block;
}

.article-nav > a:nth-child(2):hover {
	color: var(--brass);
	transform: translateX(4px);
}

.article-nav > a:nth-child(4):hover {
	color: var(--brass);
	transform: translateX(-4px);
}

/* ---------- Sidebar: recent news ---------- */
.article-sidebar {
	flex-shrink: 0;
}

.sidebar-head {
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line-strong);
	margin-bottom: 18px;
}

.sidebar-head h3 {
	font-family: var(--display);
	font-weight: 700;
	font-size: clamp(20px, 1.9vw, 26px);
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.sidebar-head h3 em {
	font-style: italic;
	color: var(--brass);
}

.sidebar-news {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.sidebar-news li {
	border-bottom: 1px solid var(--line);
}

.sidebar-news li:last-child {
	border-bottom: none;
}

.sidebar-news a {
	display: flex;
	gap: 14px;
	padding: 16px 0;
	text-decoration: none;
	transition: gap 0.35s var(--ease);
}

.sidebar-news a:hover {
	gap: 18px;
}

.sidebar-news a img {
	width: 72px;
	height: 72px;
	flex-shrink: 0;
	object-fit: cover;
	filter: brightness(0.95);
	transition: filter 0.3s;
}

.sidebar-news a:hover img {
	filter: brightness(1.05);
}

.sidebar-news a span {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.sidebar-news a time {
	font-family: var(--mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	color: var(--ivory-45);
}

.sidebar-news a h4 {
	font-family: var(--display);
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.35;
	color: var(--ivory);
	margin: 0;
	transition: color 0.3s;
}

.sidebar-news a:hover h4 {
	color: var(--brass);
}

.sidebar-all {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 22px;
	padding-bottom: 5px;
	border-bottom: 1px solid var(--brass);
	font-family: var(--mono);
	font-size: 11.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ivory);
	text-decoration: none;
	transition: color 0.3s, gap 0.35s var(--ease);
}

.sidebar-all svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.sidebar-all:hover {
	color: var(--brass);
	gap: 14px;
}

@media (max-width: 992px) {
	.feat-article {
		grid-template-columns: 1fr;
	}

	.art-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 26px;
	}

	.article-layout {
		grid-template-columns: 1fr;
		gap: 50px;
	}

	.article-sidebar {
		position: static;
		max-width: 520px;
	}
}

@media (max-width: 640px) {
	.art-list {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.article-nav {
		grid-template-columns: 1fr;
	}

	.article-nav::before {
		display: none;
	}

	.article-nav > span:nth-child(1),
	.article-nav > a:nth-child(2),
	.article-nav > span:nth-child(3),
	.article-nav > a:nth-child(4) {
		grid-column: 1;
		text-align: left;
	}

	.article-nav > span:nth-child(1) { grid-row: 1; }
	.article-nav > a:nth-child(2)    { grid-row: 2; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
	.article-nav > span:nth-child(3) { grid-row: 3; padding-top: 20px; }
	.article-nav > a:nth-child(4)    { grid-row: 4; }

	.article-nav > span:nth-child(3)::after { display: none; }
	.article-nav > span:nth-child(3)::before {
		content: ""; width: 0; height: 0;
		border-top: 4px solid transparent;
		border-bottom: 4px solid transparent;
		border-right: 6px solid var(--ivory-45);
	}

	.article-sidebar {
		max-width: none;
	}

	.sidebar-news a img {
		width: 64px;
		height: 64px;
	}

	.sidebar-news a h4 {
		font-size: 14px;
	}
}
