/* ==========================================================================
   Zhengda Futures Theme - Main Styles
   专业简洁金融风格，PC/移动自适应
   ========================================================================== */

/* ---- 基础 ---- */
:root {
	--primary: #b8860b;      /* 金色 */
	--primary-dark: #8a6508;
	--dark: #1a2029;         /* 深蓝黑 */
	--dark-2: #141a22;
	--blue: #24344d;
	--text: #333;
	--text-light: #666;
	--bg-light: #f7f8fa;
	--border: #e4e6ea;
	--white: #fff;
	--danger: #b03a2e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* 防止移动端横向溢出 */
html, body { overflow-x: hidden; }
img, video, canvas, svg { max-width: 100%; height: auto; display: block; }

body {
	font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
	color: var(--text);
	line-height: 1.7;
	font-size: 16px;
	background: var(--white);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3, h4 { line-height: 1.4; font-weight: 700; }

/* ---- 按钮 ---- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 700;
	border-radius: 4px;
	text-align: center;
	cursor: pointer;
	transition: all .2s;
	border: 2px solid transparent;
	line-height: 1.5;
}
.btn-primary { background: var(--primary); color: #fff !important; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { border-color: var(--primary); color: var(--primary) !important; background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff !important; }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ---- 顶部栏 ---- */
.site-header {
	background: var(--white);
	border-bottom: 3px solid var(--primary);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.topbar { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }

.site-branding-text .site-title {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.2;
}
.brand-zh { font-size: 24px; font-weight: 700; color: var(--blue); }
.brand-en { font-size: 11px; letter-spacing: 1px; color: var(--primary); text-transform: uppercase; }

.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { text-align: right; }
.phone-label { display: block; font-size: 12px; color: var(--text-light); }
.phone-num { font-size: 20px; font-weight: 700; color: var(--primary); }
.btn-open { padding: 10px 22px; }

/* ---- 主导航 ---- */
.main-navigation { background: var(--blue); }
.main-navigation .menu { display: flex; list-style: none; }
.main-navigation .menu li { position: relative; }
.main-navigation .menu a {
	display: block;
	padding: 14px 22px;
	color: #fff;
	font-size: 15px;
	font-weight: 500;
}
.main-navigation .menu a:hover,
.main-navigation .menu li.current-menu-item a,
.main-navigation .menu li.current_page_item a {
	background: var(--primary);
	color: #fff;
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 3px; background: var(--blue); margin: 5px 0; transition: .3s; }

/* ---- 面包屑 ---- */
.breadcrumb { background: var(--bg-light); padding: 12px 0; font-size: 14px; color: var(--text-light); border-bottom: 1px solid var(--border); }
.breadcrumb a { color: var(--blue); }
.breadcrumb .current { color: var(--text-light); }
.bc-sep { margin: 0 8px; color: #aaa; }

/* ---- Page Hero ---- */
.page-hero { background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 100%); padding: 50px 0; }
.page-hero-title { color: #fff; font-size: 32px; text-align: center; }

/* ---- 页面内容 ---- */
.page-content { padding: 40px 0 60px; }
.entry-content > * + * { margin-top: 18px; }
.entry-content p { color: var(--text); }
.content-title { font-size: 22px; color: var(--dark); margin-bottom: 14px; border-left: 4px solid var(--primary); padding-left: 12px; }
.content-sub { color: var(--text-light); }

/* ---- 首页 Hero ---- */
.home-hero {
	background: linear-gradient(135deg, var(--dark) 0%, var(--blue) 55%, #2c3e5e 100%);
	padding: 80px 0;
	position: relative;
	overflow: hidden;
}
.home-hero::after {
	content: "";
	position: absolute; right: -100px; top: -100px;
	width: 400px; height: 400px;
	border: 30px solid rgba(184,134,11,.15);
	border-radius: 50%;
}
.home-hero::before {
	content: "";
	position: absolute; left: -80px; bottom: -120px;
	width: 300px; height: 300px;
	border: 20px solid rgba(255,255,255,.05);
	border-radius: 50%;
}
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-title { color: #fff; font-size: 44px; margin-bottom: 8px; }
.hero-title span { color: var(--primary); }
.hero-sub { color: #cfd6e2; font-size: 17px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-cta .btn-outline { border-color: #fff; color: #fff !important; }
.hero-cta .btn-outline:hover { background: #fff; color: var(--blue) !important; }

/* ---- 开户提示条 ---- */
.open-tip { background: #fff8e1; border-bottom: 1px solid #f0e0b0; padding: 12px 0; }
.open-tip p { text-align: center; color: #8a6508; font-size: 14px; }
.tip-icon { margin-right: 6px; }

/* ---- 通用 section ---- */
.sec { padding: 60px 0; }
.sec-about { background: var(--white); }
.sec-products { background: var(--bg-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-rules { background: var(--white); }
.sec-regulation { background: var(--bg-light); border-top: 1px solid var(--border); }
.sec-risk { background: var(--white); }

.sec-head { text-align: center; margin-bottom: 40px; }
.sec-title { font-size: 30px; color: var(--dark); }
.sec-sub { display: block; color: var(--primary); font-size: 13px; letter-spacing: 3px; text-transform: uppercase; margin-top: 6px; }

/* ---- 关于区块 ---- */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.about-text p { margin-bottom: 16px; color: var(--text); }
.link-more { color: var(--primary); font-weight: 700; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
	background: var(--white);
	border: 1px solid var(--border);
	border-top: 3px solid var(--primary);
	padding: 24px 16px;
	text-align: center;
	border-radius: 6px;
}
.stat-num { display: block; font-size: 26px; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 6px; display: block; }

/* ---- 交易品种 ---- */
.products-list { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.product-item {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 30px;
	padding: 12px 24px;
	font-size: 15px;
	font-weight: 500;
	color: var(--blue);
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.p-icon { color: var(--primary); margin-right: 6px; }
.products-cta { text-align: center; margin-top: 30px; }

/* ---- 三卡片 ---- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rule-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 36px 28px;
	text-align: center;
	transition: transform .2s, box-shadow .2s;
}
.rule-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
.feature-card { border-top: 4px solid var(--primary); }
.card-icon { font-size: 36px; margin-bottom: 12px; }
.card-title { font-size: 20px; color: var(--dark); margin-bottom: 10px; }
.rule-card p { color: var(--text-light); margin-bottom: 20px; }

/* ---- 监管展示 ---- */
.regulation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.regulation-text h3 { font-size: 22px; color: var(--dark); margin-bottom: 14px; }
.regulation-text p { color: var(--text); margin-bottom: 16px; }
.regulation-image img { border-radius: 8px; border: 1px solid var(--border); box-shadow: 0 8px 20px rgba(0,0,0,.1); }

/* ---- 风险提示 ---- */
.risk-box {
	background: #fdf6f4;
	border: 1px solid #f0d5cf;
	border-left: 4px solid var(--danger);
	padding: 30px;
	border-radius: 6px;
}
.risk-box h3 { color: var(--danger); margin-bottom: 12px; }
.risk-box p { color: #7a3b33; font-size: 14px; }
.risk-more { margin-top: 12px; }
.risk-more a { color: var(--danger); font-weight: 700; }

/* ---- 走进正大 ---- */
.about-intro { margin-bottom: 30px; }
.reg-block { margin-bottom: 40px; }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.reg-item { background: var(--bg-light); border-left: 3px solid var(--primary); padding: 20px; border-radius: 4px; }
.reg-item h3 { font-size: 17px; color: var(--dark); margin-bottom: 8px; }
.reg-item p { font-size: 14px; color: var(--text-light); }

.cert-block { margin-bottom: 40px; }
.cert-image-wrap { max-width: 560px; margin: 0 auto; }
.cert-image { border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.1); width: 100%; }
.cert-caption { text-align: center; color: var(--text-light); font-size: 14px; margin-top: 12px; }

.biz-block { margin-bottom: 30px; }
.content-list { margin-left: 20px; }
.content-list li { margin-bottom: 8px; }

/* ---- 交易规则 ---- */
.rules-intro { margin-bottom: 30px; }
.rules-image-wrap { max-width: 1000px; margin: 0 auto 40px; }
.rules-image-link { display: block; cursor: zoom-in; }
.rules-image { border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 8px 20px rgba(0,0,0,.1); width: 100%; transition: opacity .2s; }
.rules-image-link:hover .rules-image { opacity: .9; }
.rules-image-hint { text-align: center; color: var(--text-light); font-size: 13px; margin-top: 12px; }

/* 规则大图在手机端自动适配 */
@media (max-width: 768px) {
	.rules-image-wrap { margin: 0 0 30px; }
	.rules-image { border-radius: 4px; }
}
.rules-points { margin-bottom: 30px; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rules-col { background: var(--bg-light); padding: 22px; border-radius: 6px; border: 1px solid var(--border); }
.rules-col h3 { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.rules-col ul { margin-left: 18px; }
.rules-col li { margin-bottom: 8px; font-size: 14px; color: var(--text); }

/* ---- 通用提示框 ---- */
.note-box { background: var(--bg-light); border: 1px solid var(--border); border-left: 4px solid var(--primary); padding: 22px; border-radius: 6px; margin-top: 30px; }
.note-box h3 { font-size: 17px; color: var(--dark); margin-bottom: 10px; }
.note-box ul { margin-left: 18px; }
.note-box li { margin-bottom: 6px; font-size: 14px; }

.cta-box { text-align: center; margin-top: 40px; padding: 30px; background: var(--bg-light); border-radius: 8px; }
.cta-box .btn { margin: 8px; }
.open-cta { background: #fff8e1; border: 1px solid #f0e0b0; }
.open-tip-text { margin-top: 14px; color: #8a6508; font-size: 14px; }

/* ---- 软件下载 ---- */
.download-section { margin-top: 20px; }
.download-title { font-size: 20px; color: var(--dark); margin: 30px 0 10px; border-left: 4px solid var(--primary); padding-left: 12px; }
.download-desc { color: var(--text-light); margin-bottom: 24px; }
.download-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.download-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-top: 4px solid var(--primary);
	border-radius: 8px;
	padding: 30px 24px;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0,0,0,.05);
}
.dl-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.download-card h3 { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.download-card p { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
.download-card .btn { width: 100%; }

/* ---- 开户指南 ---- */
.open-flow { margin-bottom: 30px; }
.content-steps { margin-left: 22px; }
.content-steps li { margin-bottom: 14px; }

/* ---- 产品中心 ---- */
.products-intro { margin-bottom: 30px; }
.products-categories { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.prod-cat { background: var(--bg-light); padding: 24px; border-radius: 8px; border: 1px solid var(--border); }
.prod-cat-title { font-size: 18px; color: var(--dark); margin-bottom: 16px; border-bottom: 2px solid var(--primary); padding-bottom: 8px; }
.prod-cat .products-list { justify-content: flex-start; }
.prod-cat .product-item { padding: 8px 16px; font-size: 14px; }

/* ---- 联系我们 ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; }
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: flex-start; margin-bottom: 20px; font-size: 15px; }
.c-icon { margin-right: 12px; font-size: 20px; }
.contact-cta { background: var(--bg-light); border: 1px solid var(--border); padding: 30px; border-radius: 8px; text-align: center; }
.contact-cta p { color: var(--text-light); margin-bottom: 20px; }
.contact-tip { margin-top: 16px; font-size: 13px; }

/* ---- 文章列表 ---- */
.content-with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 40px 0 60px; }
.post-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card-post { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: box-shadow .2s; }
.card-post:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.card-thumb img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 20px; }
.card-title { font-size: 18px; color: var(--dark); margin-bottom: 8px; }
.card-title a { color: var(--dark); }
.card-title a:hover { color: var(--primary); }
.card-meta { color: var(--text-light); font-size: 13px; margin-bottom: 8px; }
.card-excerpt { color: var(--text); font-size: 14px; margin-bottom: 12px; }
.read-more { color: var(--primary); font-weight: 700; font-size: 14px; }
.pagination { margin-top: 30px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; }
.pagination a, .pagination span { padding: 8px 14px; border: 1px solid var(--border); border-radius: 4px; color: var(--blue); }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

.single-post-content .entry-meta { margin-bottom: 16px; color: var(--text-light); font-size: 14px; }
.post-thumbnail { margin-bottom: 24px; }

/* ---- 侧边栏 ---- */
.widget-area .widget { margin-bottom: 24px; background: var(--bg-light); padding: 20px; border: 1px solid var(--border); border-radius: 6px; }
.widget-title { font-size: 16px; color: var(--dark); margin-bottom: 12px; border-left: 3px solid var(--primary); padding-left: 10px; }
.widget-side-cta { text-align: center; }
.widget-side-cta p { color: var(--text-light); margin-bottom: 16px; }

/* ---- 404 ---- */
.error-404 { text-align: center; padding: 60px 0; }
.error-code { font-size: 80px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 20px; }
.error-404 p { margin-bottom: 16px; }

/* ---- 页脚 ---- */
.site-footer { background: var(--dark-2); color: #c7ced9; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 50px 0 30px; }
.footer-brand { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 14px; color: #9aa4b3; line-height: 1.7; }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer-links .menu, .footer-menu { list-style: none; }
.footer-links .menu li, .footer-menu li { margin-bottom: 8px; }
.footer-links .menu a, .footer-menu a, .footer-download a, .footer-contact a { color: #9aa4b3; font-size: 14px; }
.footer-links .menu a:hover, .footer-menu a:hover, .footer-download a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-download ul, .footer-contact ul { list-style: none; }
.footer-download li, .footer-contact li { margin-bottom: 8px; font-size: 14px; color: #9aa4b3; }

.footer-risk { background: rgba(0,0,0,.2); padding: 24px 0; border-top: 1px solid rgba(255,255,255,.06); }
.footer-risk h4 { color: #e8a019; font-size: 15px; margin-bottom: 8px; }
.footer-risk p { font-size: 13px; color: #8a93a3; }

.footer-bottom { background: #0f141a; padding: 20px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: #7c8595; margin: 4px 0; }
.footer-copyright-extra a { color: #7c8595; margin: 0 8px; }
.footer-copyright-extra a:hover { color: var(--primary); }

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1024px) {
	.about-grid, .regulation-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
	.content-with-sidebar { grid-template-columns: 1fr; }
	#secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.rules-grid, .products-categories { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
	body { font-size: 15px; }
	.hero-title { font-size: 32px; }
	.home-hero { padding: 50px 0; }
	.cards-3 { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.reg-grid { grid-template-columns: 1fr; }
	.about-stats { grid-template-columns: 1fr 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 30px; }

	/* 移动端菜单 */
	.menu-toggle { display: block; }
	.main-navigation { background: var(--blue); }
	.main-navigation .menu { display: block; max-height: 0; overflow: hidden; transition: max-height .3s; }
	.main-navigation .menu.open { max-height: 600px; }
	.main-navigation .menu a { padding: 12px 20px; border-top: 1px solid rgba(255,255,255,.08); }

	.header-phone { display: none; }
	.btn-open { padding: 9px 16px; font-size: 14px; }

	.sec { padding: 40px 0; }
	.sec-title { font-size: 24px; }
}

@media (max-width: 480px) {
	.brand-zh { font-size: 20px; }
	.hero-title { font-size: 26px; }
	.hero-cta { flex-direction: column; }
	.hero-cta .btn { width: 100%; }
	.about-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
	#secondary { grid-template-columns: 1fr; }
	.download-cards { grid-template-columns: 1fr; }
}

/* ==========================================================================
   期货资讯栏目页 & 首页最新资讯 & 相关文章
   ========================================================================== */

/* 期货资讯分类导航 */
.fn-cat-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 24px 0;
	padding: 14px 16px;
	background: var(--bg-light);
	border: 1px solid var(--border);
	border-radius: 6px;
}
.fn-cat-label { font-size: 14px; color: var(--text-light); font-weight: 700; }
.fn-cat-link {
	display: inline-block;
	padding: 6px 14px;
	font-size: 14px;
	border-radius: 20px;
	border: 1px solid var(--border);
	background: var(--white);
	color: var(--blue);
	font-weight: 500;
	transition: all .2s;
}
.fn-cat-link:hover { border-color: var(--primary); color: var(--primary); }
.fn-cat-link.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 期货资讯栏目页列表 */
.fn-news { padding: 30px 0 60px; }
.fn-list { display: flex; flex-direction: column; gap: 20px; }
.fn-item {
	display: flex;
	gap: 20px;
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 18px;
	transition: box-shadow .2s;
}
.fn-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.fn-item-thumb { flex: 0 0 240px; width: 240px; min-height: 150px; border-radius: 6px; overflow: hidden; }
.fn-item-thumb img { width: 100%; height: 150px; object-fit: cover; }
.fn-item-body { flex: 1; min-width: 0; }
.fn-item-title { font-size: 20px; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.fn-item-title a { color: var(--dark); }
.fn-item-title a:hover { color: var(--primary); }
.fn-item-meta { font-size: 13px; color: var(--text-light); margin-bottom: 8px; }
.fn-item-meta .fn-cat a { color: var(--primary); margin-right: 6px; }
.fn-item-excerpt { color: var(--text); font-size: 14px; margin-bottom: 12px; }
.fn-item-more { color: var(--primary); font-weight: 700; font-size: 14px; }
.fn-empty { padding: 40px 0; text-align: center; color: var(--text-light); }

/* 首页最新期货资讯 */
.sec-fn-latest { background: var(--white); border-top: 1px solid var(--border); }
.fn-latest-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fn-latest-card {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: box-shadow .2s;
}
.fn-latest-card:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.fn-latest-thumb img { width: 100%; height: 150px; object-fit: cover; }
.fn-latest-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.fn-latest-title { font-size: 16px; color: var(--dark); margin-bottom: 6px; line-height: 1.5; }
.fn-latest-title a { color: var(--dark); }
.fn-latest-title a:hover { color: var(--primary); }
.fn-latest-meta { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }
.fn-latest-excerpt { font-size: 13px; color: var(--text); margin-bottom: 10px; flex: 1; }
.fn-latest-more { color: var(--primary); font-weight: 700; font-size: 13px; }
.fn-latest-cta { text-align: center; margin-top: 34px; }

/* 相关文章 */
.related-posts { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.related-title { font-size: 22px; color: var(--dark); margin-bottom: 20px; border-left: 4px solid var(--primary); padding-left: 12px; }
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.related-item {
	background: var(--white);
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow .2s;
}
.related-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); }
.related-thumb img { width: 100%; height: 120px; object-fit: cover; }
.related-item-title { font-size: 15px; color: var(--dark); margin: 12px 14px 4px; line-height: 1.5; }
.related-item-title a { color: var(--dark); }
.related-item-title a:hover { color: var(--primary); }
.related-item-meta { font-size: 12px; color: var(--text-light); padding: 0 14px 14px; }

@media (max-width: 1024px) {
	.fn-latest-grid { grid-template-columns: repeat(2, 1fr); }
	.related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
	.fn-item { flex-direction: column; }
	.fn-item-thumb { width: 100%; flex: none; min-height: 0; }
	.fn-item-thumb img { height: 180px; }
	.fn-latest-grid { grid-template-columns: 1fr; }
	.related-grid { grid-template-columns: 1fr; }
	.fn-cat-nav { gap: 8px; }
	.fn-cat-link { padding: 5px 12px; font-size: 13px; }
}
