/* ========================================
   书画苑新闻门户风格 - 大气设计
   ======================================== */

:root {
	--primary: #1a1a2e;
	--primary-light: #16213e;
	--accent: #c9a227;
	--accent-hover: #d4af37;
	--red: #e63946;
	--text: #333;
	--text-light: #666;
	--text-muted: #999;
	--bg: #f8f9fa;
	--bg-white: #fff;
	--border: #e8e8e8;
	--shadow: rgba(0,0,0,0.08);
	--shadow-hover: rgba(0,0,0,0.15);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
}

a {
	color: var(--text);
	text-decoration: none;
	transition: all 0.3s ease;
}

a:hover {
	color: var(--red);
}

img {
	max-width: 100%;
	height: auto;
}

/* ========================================
   顶部工具栏
   ======================================== */
.top-bar {
	background: var(--primary);
	color: #fff;
	font-size: 13px;
	padding: 8px 0;
}

.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.top-bar .slogan {
	color: var(--accent);
}

.top-bar .top-links a {
	color: #ccc;
	margin-left: 20px;
}

.top-bar .top-links a:hover {
	color: var(--accent);
}

/* ========================================
   头部区域
   ======================================== */
.header-main {
	background: var(--bg-white);
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}

.header-main .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo-section {
	display: flex;
	align-items: center;
}

.logo-section .logo-img {
	height: 60px;
	margin-right: 15px;
}

.logo-section .logo-text h1 {
	font-size: 32px;
	font-weight: 700;
	color: var(--primary);
	letter-spacing: 2px;
}

.logo-section .logo-text p {
	font-size: 12px;
	color: var(--text-muted);
	letter-spacing: 4px;
}

.header-weather {
	text-align: right;
}

.header-weather .date {
	font-size: 14px;
	color: var(--text-light);
}

.header-weather .weather {
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 5px;
}

/* ========================================
   主导航
   ======================================== */
.main-nav {
	background: var(--primary);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.main-nav .nav-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.main-nav .nav-menu {
	display: flex;
	list-style: none;
}

.main-nav .nav-menu > li {
	position: relative;
}

.main-nav .nav-menu > li > a {
	display: block;
	padding: 15px 25px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	position: relative;
}

.main-nav .nav-menu > li:hover > a,
.main-nav .nav-menu > li.active > a {
	color: var(--accent);
}

.main-nav .nav-menu > li > a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 3px;
	background: var(--accent);
	transition: all 0.3s;
	transform: translateX(-50%);
}

.main-nav .nav-menu > li:hover > a::after,
.main-nav .nav-menu > li.active > a::after {
	width: 60%;
}

/* 下拉子菜单 */
.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	background: var(--primary-light);
	min-width: 180px;
	list-style: none;
	padding: 0;
	margin: 0;
	box-shadow: 0 5px 20px rgba(0,0,0,0.25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.25s ease;
	border-top: 3px solid var(--accent);
	z-index: 999;
}

.main-nav .nav-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav .sub-menu li {}

.main-nav .sub-menu a {
	display: block;
	padding: 11px 20px;
	color: #ccc;
	border-bottom: 1px solid rgba(255,255,255,0.06);
	font-size: 14px;
	transition: all 0.2s;
}

.main-nav .sub-menu a:hover {
	background: rgba(255,255,255,0.08);
	color: var(--accent);
	padding-left: 24px;
}

.main-nav .sub-menu li:last-child a { border-bottom: none; }

/* 搜索框 */
.nav-search {
	display: flex;
	align-items: center;
}

.nav-search input {
	width: 200px;
	padding: 8px 15px;
	border: none;
	background: rgba(255,255,255,0.1);
	color: #fff;
	font-size: 13px;
}

.nav-search input::placeholder {
	color: #999;
}

.nav-search button {
	padding: 8px 15px;
	background: var(--accent);
	border: none;
	color: var(--primary);
	cursor: pointer;
	transition: all 0.3s;
}

.nav-search button:hover {
	background: var(--accent-hover);
}

/* ========================================
   头条焦点区
   ======================================== */
.hero-section {
	padding: 30px 0;
	background: var(--bg-white);
}

.hero-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 20px;
}

/* 主轮播 */
.hero-slider {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
	height: 450px;
	background: #111;
}

.hero-slider .slide-item {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
}

.hero-slider .slide-item:first-child {
	display: block;
}

.hero-slider .slide-item a {
	display: block;
	width: 100%;
	height: 100%;
}

.hero-slider .slide-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-slider .slide-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 60px 30px 30px;
	background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
}

.hero-slider .slide-tag {
	display: inline-block;
	padding: 4px 14px;
	background: var(--red);
	color: #fff;
	font-size: 12px;
	border-radius: 3px;
	margin-bottom: 12px;
}

.hero-slider .slide-title {
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	line-height: 1.4;
	margin-bottom: 8px;
}

.hero-slider .slide-desc {
	color: rgba(255,255,255,0.75);
	font-size: 14px;
	line-height: 1.6;
}

/* 轮播指示器 */
.hero-slider .slider-dots {
	position: absolute;
	bottom: 18px;
	right: 30px;
	display: flex;
	gap: 8px;
	z-index: 10;
}

.hero-slider .dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	transition: all 0.3s;
}

.hero-slider .dot.active {
	background: var(--accent);
	width: 28px;
	border-radius: 5px;
}

/* 轮播左右箭头 */
.slider-prev, .slider-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 60px;
	background: rgba(0,0,0,0.4);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	cursor: pointer;
	z-index: 10;
	transition: background 0.2s;
	opacity: 0;
}
.hero-slider:hover .slider-prev,
.hero-slider:hover .slider-next { opacity: 1; }
.slider-prev { left: 0; border-radius: 0 4px 4px 0; }
.slider-next { right: 0; border-radius: 4px 0 0 4px; }
.slider-prev:hover, .slider-next:hover { background: rgba(0,0,0,0.7); }
	border-radius: 5px;
}

/* 右侧推荐列表 */
.hero-news {
	background: #fff;
	border-radius: 8px;
	padding: 18px 20px;
	height: 450px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 10px var(--shadow);
}

.hero-news-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--primary);
}

.hero-news-list {
	list-style: none;
	padding: 0;
	margin: 0;
	flex: 1;
	overflow-y: auto;
}

.hero-news-list li {
	padding: 9px 0;
	border-bottom: 1px dashed var(--border);
}

.hero-news-list li:last-child { border-bottom: none; }

.hero-news-list li::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--accent);
	border-radius: 50%;
	margin-right: 10px;
	vertical-align: middle;
}

.hero-news-list a {
	font-size: 14px;
	color: var(--text);
	line-height: 1.5;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	transition: color 0.2s;
}

.hero-news-list a:hover { color: var(--red); }

/* ========================================
   区块标题
   ======================================== */
.section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 25px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--primary);
}

.section-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--primary);
	position: relative;
	padding-left: 15px;
}

.section-title::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 4px;
	height: 24px;
	background: var(--red);
}

.section-more {
	font-size: 14px;
	color: var(--text-muted);
}

.section-more:hover {
	color: var(--red);
}

/* ========================================
   新闻内容区
   ======================================== */
.content-section {
	padding: 40px 0;
}

.content-section.bg-white {
	background: var(--bg-white);
}

/* 两栏布局 */
.content-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 30px;
}

/* 新闻列表 */
.news-list-main .news-item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}

.news-list-main .news-item:first-child {
	padding-top: 0;
}

.news-list-main .news-thumb {
	width: 240px;
	height: 160px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}

.news-list-main .news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.news-list-main .news-item:hover .news-thumb img {
	transform: scale(1.05);
}

.news-list-main .news-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.news-list-main .news-category {
	display: inline-block;
	padding: 4px 12px;
	background: var(--primary);
	color: #fff;
	font-size: 12px;
	border-radius: 3px;
	margin-bottom: 10px;
}

.news-list-main .news-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	margin-bottom: 10px;
}

.news-list-main .news-desc {
	color: var(--text-light);
	font-size: 14px;
	line-height: 1.8;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.news-list-main .news-meta {
	display: flex;
	gap: 20px;
	font-size: 13px;
	color: var(--text-muted);
	margin-top: 10px;
}

.news-list-main .news-meta span {
	display: flex;
	align-items: center;
	gap: 5px;
}

/* 侧边栏 */
.sidebar .widget {
	background: var(--bg-white);
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px var(--shadow);
}

.sidebar .widget-title {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 15px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--primary);
}

/* 热门排行 */
.hot-list li {
	display: flex;
	align-items: center;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}

.hot-list li:last-child {
	border-bottom: none;
}

.hot-list .hot-rank {
	width: 28px;
	height: 28px;
	line-height: 28px;
	text-align: center;
	background: var(--border);
	font-size: 13px;
	font-weight: 600;
	margin-right: 12px;
	border-radius: 4px;
	flex-shrink: 0;
}

.hot-list li:nth-child(1) .hot-rank { background: var(--red); color: #fff; }
.hot-list li:nth-child(2) .hot-rank { background: #ff6b35; color: #fff; }
.hot-list li:nth-child(3) .hot-rank { background: #f7931e; color: #fff; }

.hot-list .hot-title {
	flex: 1;
	font-size: 14px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hot-list .hot-count {
	font-size: 12px;
	color: var(--text-muted);
	margin-left: 10px;
}

/* ========================================
   分类区块
   ======================================== */
.category-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.category-block {
	background: var(--bg-white);
	border-radius: 8px;
	padding: 25px;
	box-shadow: 0 2px 10px var(--shadow);
}

.category-block .cat-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 2px solid var(--primary);
}

.category-block .cat-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary);
}

.category-block .cat-nav {
	display: flex;
	gap: 15px;
}

.category-block .cat-nav a {
	font-size: 13px;
	color: var(--text-light);
	padding: 4px 12px;
	border: 1px solid var(--border);
	border-radius: 20px;
	transition: all 0.3s;
}

.category-block .cat-nav a:hover {
	background: var(--primary);
	color: #fff;
	border-color: var(--primary);
}

.category-block .cat-content {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
}

.category-block .cat-item {
	position: relative;
	border-radius: 6px;
	overflow: hidden;
	height: 180px;
}

.category-block .cat-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.category-block .cat-item:hover img {
	transform: scale(1.05);
}

.category-block .cat-item-title {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 15px;
	background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
	color: #fff;
	font-size: 14px;
}

/* ========================================
   视频区块
   ======================================== */
.video-section {
	background: var(--primary);
	padding: 50px 0;
}

.video-section .section-title {
	color: #fff;
}

.video-section .section-title::before {
	background: var(--accent);
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.video-card {
	position: relative;
	border-radius: 8px;
	overflow: hidden;
}

.video-card .video-thumb {
	position: relative;
	height: 180px;
}

.video-card .video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-card .play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 60px;
	height: 60px;
	background: rgba(201, 162, 39, 0.9);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s;
}

.video-card:hover .play-btn {
	background: var(--accent);
	transform: translate(-50%, -50%) scale(1.1);
}

.video-card .play-btn i {
	color: #fff;
	font-size: 24px;
	margin-left: 5px;
}

.video-card .video-duration {
	position: absolute;
	bottom: 10px;
	right: 10px;
	padding: 3px 8px;
	background: rgba(0,0,0,0.7);
	color: #fff;
	font-size: 12px;
	border-radius: 3px;
}

.video-card .video-title {
	padding: 15px;
	background: var(--primary-light);
	color: #fff;
	font-size: 14px;
}

/* ========================================
   底部
   ======================================== */
.footer-main {
	background: var(--primary);
	color: #fff;
	padding: 50px 0 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
}

.footer-brand .logo {
	font-size: 28px;
	font-weight: 700;
	color: var(--accent);
	margin-bottom: 15px;
}

.footer-brand .desc {
	color: #aaa;
	font-size: 14px;
	line-height: 1.8;
	margin-bottom: 20px;
}

.footer-brand .contact p {
	color: #ccc;
	font-size: 13px;
	margin-bottom: 8px;
}

.footer-title {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 20px;
	color: var(--accent);
}

.footer-links li {
	margin-bottom: 12px;
}

.footer-links a {
	color: #aaa;
	font-size: 14px;
}

.footer-links a:hover {
	color: var(--accent);
}

.footer-bottom {
	background: var(--primary-light);
	padding: 20px 0;
	text-align: center;
}

.footer-bottom p {
	color: #666;
	font-size: 13px;
}

.footer-bottom a {
	color: #888;
}

/* ========================================
   返回顶部
   ======================================== */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--accent);
	color: var(--primary);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.back-to-top.show {
	opacity: 1;
	visibility: visible;
}

.back-to-top:hover {
	background: var(--accent-hover);
	transform: translateY(-5px);
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 1200px) {
	.hero-grid {
		grid-template-columns: 1fr;
	}

	.hero-slider { height: 380px; }

	.hero-news { height: auto; max-height: 360px; }

	.content-grid {
		grid-template-columns: 1fr;
	}

	.video-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.header-main .container {
		flex-direction: column;
		gap: 15px;
	}

	.main-nav .nav-menu {
		display: none;
	}

	.hero-slider { height: 280px; }
	.hero-slider .slide-item { height: 280px; }

	.hero-slider .slide-title {
		font-size: 20px;
	}

	.news-list-main .news-item {
		flex-direction: column;
	}

	.news-list-main .news-thumb {
		width: 100%;
		height: 200px;
	}

	.category-grid {
		grid-template-columns: 1fr;
	}

	.video-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ========================================
   顶部工具栏
   ======================================== */
.top-bar {
	background: var(--primary);
	color: #ccc;
	font-size: 13px;
	padding: 7px 0;
	border-bottom: 1px solid rgba(255,255,255,0.06);
}
.top-bar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.top-bar .slogan {
	color: var(--accent);
	font-size: 13px;
}
.top-bar .top-links a {
	color: #aaa;
	margin-left: 20px;
	font-size: 13px;
	transition: color 0.2s;
}
.top-bar .top-links a:hover { color: var(--accent); }

/* ========================================
   头部LOGO区
   ======================================== */
.header-main {
	background: #fff;
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
}
.header-main .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo-section {
	display: flex;
	align-items: center;
	gap: 14px;
}
.logo-img { height: 54px; }
.logo-text h1 {
	font-size: 30px;
	font-weight: 700;
	color: var(--primary);
	letter-spacing: 2px;
	margin: 0;
	line-height: 1.2;
}
.logo-text p {
	font-size: 12px;
	color: var(--text-muted);
	letter-spacing: 4px;
	margin: 0;
}
.header-login-area {
	display: flex;
	align-items: center;
	gap: 10px;
}
.header-login-area .btn-login,
.header-login-area .btn-reg {
	padding: 7px 18px;
	border-radius: 3px;
	font-size: 13px;
	transition: all 0.2s;
}
.header-login-area .btn-login {
	border: 1px solid var(--primary);
	color: var(--primary);
}
.header-login-area .btn-login:hover {
	background: var(--primary);
	color: #fff;
}
.header-login-area .btn-reg {
	background: var(--accent);
	color: var(--primary);
	font-weight: 600;
}
.header-login-area .btn-reg:hover { background: var(--accent-hover); }
.header-login-area .user-info {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	font-size: 14px;
}
.user-avatar-xs {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--border);
}

/* ========================================
   主导航 - 覆盖补全
   ======================================== */
.main-nav .nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid rgba(255,255,255,0.3);
	color: #fff;
	padding: 7px 12px;
	cursor: pointer;
	border-radius: 3px;
	font-size: 16px;
}

/* 头条标题栏 */
.headline-bar {
	background: var(--primary);
	border-bottom: 3px solid var(--accent);
	padding: 14px 0;
}
.headline-bar .container {
	display: flex;
	align-items: center;
	gap: 14px;
}
.headline-label {
	background: var(--red);
	color: #fff;
	padding: 4px 14px;
	font-size: 14px;
	font-weight: 700;
	border-radius: 3px;
	white-space: nowrap;
	flex-shrink: 0;
}
.headline-title {
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.4;
	transition: color 0.2s;
}
.headline-title:hover { color: var(--accent); }

/* ========================================
   面包屑
   ======================================== */
.breadcrumb-wrap {
	background: #fff;
	border-bottom: 1px solid var(--border);
	padding: 12px 0;
}
.breadcrumb-portal {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 13px;
	gap: 5px;
}
.breadcrumb-portal li { display: flex; align-items: center; }
.breadcrumb-portal li::after {
	content: '›';
	margin-left: 6px;
	color: var(--text-muted);
}
.breadcrumb-portal li:last-child::after { display: none; }
.breadcrumb-portal a { color: var(--text-light); }
.breadcrumb-portal a:hover { color: var(--red); }
/* DedeBIZ position 标签生成的 <a> 直接放入 ol，需兼容 */
.breadcrumb-portal > a {
	display: flex;
	align-items: center;
	color: var(--text-light);
}
.breadcrumb-portal > a::after {
	content: '›';
	margin-left: 6px;
	color: var(--text-muted);
}
.breadcrumb-portal > a:last-of-type::after { display: none; }

/* ========================================
   页面主体公共
   ======================================== */
.page-main { padding: 30px 0 50px; }

/* ========================================
   列表页布局
   ======================================== */
.list-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 30px;
	align-items: start;
}
.list-header-bar {
	padding-bottom: 18px;
	margin-bottom: 20px;
	border-bottom: 2px solid var(--primary);
}
.list-page-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--primary);
	margin: 0;
}
.list-desc {
	color: var(--text-light);
	font-size: 14px;
	margin: 8px 0 0;
}

/* 列表新闻条目 */
.list-news-item {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border);
}
.list-news-item:first-of-type { padding-top: 0; }
.list-news-thumb {
	width: 220px;
	height: 148px;
	border-radius: 6px;
	overflow: hidden;
	flex-shrink: 0;
}
.list-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.list-news-item:hover .list-news-thumb img { transform: scale(1.05); }
.list-news-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.list-news-body h2 {
	font-size: 17px;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 10px;
}
.list-news-body h2 a { color: var(--text); }
.list-news-body h2 a:hover { color: var(--red); }
.list-news-desc {
	color: var(--text-light);
	font-size: 13px;
	line-height: 1.8;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin: 0 0 12px;
}
.list-news-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 13px;
	color: var(--text-muted);
}
.list-news-meta span { display: flex; align-items: center; gap: 4px; }
.list-read-more {
	margin-left: auto;
	color: var(--accent);
	font-weight: 500;
	font-size: 13px;
}
.list-read-more:hover { color: var(--red); }

/* 标签徽章 */
.badge-top {
	display: inline-block;
	padding: 2px 8px;
	background: var(--red);
	color: #fff;
	font-size: 11px;
	border-radius: 3px;
	margin-right: 6px;
	vertical-align: middle;
}
.badge-hot {
	display: inline-block;
	padding: 2px 8px;
	background: var(--accent);
	color: var(--primary);
	font-size: 11px;
	border-radius: 3px;
	margin-right: 6px;
	vertical-align: middle;
}

/* 图片列表 */
.list-image-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}
.list-image-card { border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 2px 8px var(--shadow); transition: all 0.3s; }
.list-image-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px var(--shadow-hover); }
.list-image-thumb { position: relative; height: 180px; overflow: hidden; }
.list-image-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.list-image-card:hover .list-image-thumb img { transform: scale(1.06); }
.list-image-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 28px;
	opacity: 0;
	transition: opacity 0.3s;
}
.list-image-card:hover .list-image-overlay { opacity: 1; }
.list-image-info { padding: 14px; }
.list-image-info h3 { font-size: 14px; font-weight: 500; color: var(--text); margin: 0 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 分页 */
.pagination-wrap { margin-top: 20px; }
.pagination-portal {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.pagination-portal li a,
.pagination-portal li span,
.pagination-portal > a,
.pagination-portal > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-size: 13px;
	color: var(--text-light);
	background: #fff;
	transition: all 0.2s;
}
.pagination-portal li a:hover,
.pagination-portal > a:hover { border-color: var(--primary); color: var(--primary); }
.pagination-portal .current a,
.pagination-portal .active a,
.pagination-portal li.active span {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

/* ========================================
   文章详情页布局
   ======================================== */
.article-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 30px;
	align-items: start;
}
.article-main {
	background: #fff;
	border-radius: 6px;
	padding: 36px 40px;
	box-shadow: 0 2px 10px var(--shadow);
}
.article-header { border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
.article-title {
	font-size: 26px;
	font-weight: 700;
	color: var(--primary);
	line-height: 1.5;
	margin: 0 0 16px;
}
.article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: var(--text-muted);
}
.article-meta span { display: flex; align-items: center; gap: 5px; }
.article-author {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text-light);
	font-weight: 500;
}
.article-author:hover { color: var(--red); }
.author-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--border);
}
.author-avatar-sm {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--border);
	flex-shrink: 0;
}

/* 文章提示 */
.article-tip {
	background: #fffbea;
	border-left: 4px solid var(--accent);
	padding: 14px 18px;
	margin-bottom: 20px;
	font-size: 13px;
	color: var(--text-light);
	border-radius: 0 4px 4px 0;
}
.article-tip code {
	background: rgba(0,0,0,0.06);
	padding: 1px 5px;
	border-radius: 3px;
	font-size: 12px;
}

/* 目录 */
.article-toc {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 16px 20px;
	margin-bottom: 24px;
	font-size: 14px;
}

/* 正文 */
.article-body {
	font-size: 15px;
	line-height: 2;
	color: #333;
	margin-bottom: 24px;
}
.article-body p { margin-bottom: 1.2em; }
.article-body img { max-width: 100%; border-radius: 4px; }
.article-body h1, .article-body h2, .article-body h3,
.article-body h4, .article-body h5, .article-body h6 {
	margin: 24px 0 12px;
	padding-left: 12px;
	border-left: 3px solid var(--red);
	font-size: 17px;
	color: var(--primary);
}
.article-body blockquote {
	border-left: 4px solid var(--accent);
	background: var(--bg);
	padding: 14px 18px;
	margin: 16px 0;
	color: var(--text-light);
}
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.2em; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 10px 14px; font-size: 14px; }
.article-body th { background: var(--bg); font-weight: 600; }
.field-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 13px; }
.field-table th, .field-table td { border: 1px solid var(--border); padding: 8px 12px; }
.field-table th { background: var(--bg); width: 120px; }

/* 编辑信息 */
.article-editor {
	font-size: 13px;
	color: var(--text-muted);
	padding: 14px 0;
	border-top: 1px dashed var(--border);
	margin-bottom: 20px;
}

/* 翻页 */
.article-pagebreak { margin-bottom: 20px; }

/* 文章操作栏 */
.article-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
	padding: 20px 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin-bottom: 24px;
}
.article-actions-nav { display: flex; flex-direction: column; gap: 8px; font-size: 13px; }
.prenext-item a { color: var(--text-light); }
.prenext-item a:hover { color: var(--red); }
.article-tool-bar {
	display: flex;
	list-style: none;
	gap: 8px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
}
.article-tool-bar li a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 7px 16px;
	border: 1px solid var(--border);
	border-radius: 4px;
	font-size: 13px;
	color: var(--text-light);
	transition: all 0.2s;
}
.article-tool-bar li a:hover {
	border-color: var(--primary);
	color: var(--primary);
	background: var(--bg);
}

/* 评论回复表单 */
.reply-form { margin-top: 10px; }
.reply-form .input-group { display: flex; }
.reply-form .form-control {
	flex: 1;
	padding: 8px 12px;
	border: 1px solid var(--border);
	border-radius: 4px 0 0 4px;
	font-size: 13px;
	outline: none;
}
.btn-portal-primary {
	padding: 8px 16px;
	background: var(--primary);
	color: #fff;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	font-size: 13px;
	transition: background 0.2s;
}
.btn-portal-primary:hover { background: var(--accent); color: var(--primary); }
.feedback-reply-item {
	display: flex;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
}
.reply-body { flex: 1; }
.reply-user { font-weight: 600; font-size: 13px; margin-right: 10px; }
.reply-time { font-size: 12px; color: var(--text-muted); }
.reply-body p { margin: 6px 0; font-size: 14px; }

/* ========================================
   侧边栏通用
   ======================================== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget {
	background: #fff;
	border-radius: 6px;
	padding: 20px;
	box-shadow: 0 2px 10px var(--shadow);
}
.widget-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--primary);
	margin: 0 0 16px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--primary);
	display: flex;
	align-items: center;
	gap: 8px;
}
.widget-title i { color: var(--red); }

/* 搜索组件 */
.widget-search-box {
	display: flex;
	border: 1px solid var(--border);
	border-radius: 4px;
	overflow: hidden;
}
.widget-search-box input {
	flex: 1;
	padding: 9px 12px;
	border: none;
	font-size: 13px;
	outline: none;
	color: var(--text);
}
.widget-search-box button {
	padding: 9px 14px;
	background: var(--primary);
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 14px;
	transition: background 0.2s;
}
.widget-search-box button:hover { background: var(--accent); color: var(--primary); }

/* 栏目菜单 */
.widget-menu-list { list-style: none; padding: 0; margin: 0; }
.widget-menu-list li { border-bottom: 1px solid var(--border); }
.widget-menu-list li:last-child { border-bottom: none; }
.widget-menu-list a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 4px;
	font-size: 14px;
	color: var(--text);
	transition: all 0.2s;
}
.widget-menu-list a i { color: var(--accent); font-size: 12px; }
.widget-menu-list a:hover { color: var(--red); padding-left: 10px; }

/* 热门文章排行 */
.hot-list { list-style: none; padding: 0; margin: 0; }
.hot-list li {
	display: flex;
	align-items: center;
	padding: 10px 0;
	border-bottom: 1px solid var(--border);
}
.hot-list li:last-child { border-bottom: none; }
.hot-rank {
	width: 26px;
	height: 26px;
	line-height: 26px;
	text-align: center;
	background: #eee;
	font-size: 12px;
	font-weight: 700;
	border-radius: 4px;
	margin-right: 10px;
	flex-shrink: 0;
}
.hot-list li:nth-child(1) .hot-rank { background: var(--red); color: #fff; }
.hot-list li:nth-child(2) .hot-rank { background: #ff6b35; color: #fff; }
.hot-list li:nth-child(3) .hot-rank { background: #f7931e; color: #fff; }
.hot-title {
	flex: 1;
	font-size: 13px;
	color: var(--text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.hot-title:hover { color: var(--red); }
.hot-count { font-size: 12px; color: var(--text-muted); margin-left: 8px; white-space: nowrap; }

/* ========================================
   底部补全
   ======================================== */
.footer-main { background: var(--primary); color: #fff; padding: 50px 0 30px; }
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 40px;
	margin-bottom: 40px;
}
.footer-logo { font-size: 26px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.footer-desc { color: #aaa; font-size: 14px; line-height: 1.8; margin-bottom: 16px; }
.footer-contact p { color: #ccc; font-size: 13px; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; }
.footer-title { font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aaa; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-flink { display: flex; flex-direction: column; }
.footer-bottom { background: var(--primary-light); padding: 16px 0; text-align: center; }
.footer-bottom p { color: #666; font-size: 13px; margin: 0; }
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--accent); }

/* 返回顶部 */
.back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 46px;
	height: 46px;
	background: var(--accent);
	color: var(--primary);
	border: none;
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent-hover); transform: translateY(-4px); }

/* ========================================
   响应式补充
   ======================================== */
@media (max-width: 1200px) {
	.list-layout,
	.article-layout { grid-template-columns: 1fr; }
	.sidebar { display: grid; grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.main-nav .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 10px 0; z-index: 999; }
	.main-nav .nav-menu.open { display: flex; }
	.main-nav .nav-menu > li > a { padding: 12px 20px; }
	.main-nav .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-top: none; background: var(--primary-light); }
	.main-nav .nav-toggle { display: block; }
	.main-nav { position: relative; }
	.list-image-grid { grid-template-columns: repeat(2, 1fr); }
	.article-main { padding: 20px; }
}
@media (max-width: 600px) {
	.sidebar { grid-template-columns: 1fr; }
	.list-news-item { flex-direction: column; }
	.list-news-thumb { width: 100%; height: 200px; }
	.list-image-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 24px; }
	.article-title { font-size: 20px; }
	.article-tool-bar { gap: 6px; }
}
