@charset "utf-8";
/* 首页改版 v2：内容驱动布局，作用域限定 .hh（仅首页加载） */

.hh { max-width: 1200px; margin: 0 auto; padding: 0 16px 32px; font-size: 14px; color: #1f2933; line-height: 1.7; }
.hh a { color: #1f2933; text-decoration: none; }
.hh a:hover { color: #c8102e; text-decoration: none; }
.hh h1, .hh h2, .hh h3 { margin: 0; font-weight: 700; }
.hh img { display: block; max-width: 100%; height: auto; }
.hh ul { margin: 0; padding: 0; list-style: none; }

/* 双栏区块栅格：教程/曝光/论坛/FAQ 并置，压缩纯文字列表的纵向高度 */
.hh-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; align-items: start; }
.hh-grid2 > .hh-sec { min-width: 0; }

/* 区块外壳 */
.hh-sec { margin-top: 28px; background: #fff; border: 1px solid #e6ebf1; border-radius: 10px; padding: 18px 20px 20px; }
.hh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid #eef2f6; padding-bottom: 10px; margin-bottom: 14px; }
.hh-head h2 { font-size: 19px; color: #14263d; }
.hh-head .hh-sub { font-size: 13px; color: #7b8794; }
.hh-more { font-size: 13px; color: #5b6b7c; white-space: nowrap; }

/* 首屏 */
.hh-hero { margin-top: 20px; padding: 28px 30px; border-radius: 12px; background: linear-gradient(135deg, #14263d 0%, #1f3a5f 60%, #2b5c8a 100%); color: #fff; }
.hh-hero h1 { font-size: 28px; letter-spacing: 1px; }
.hh-hero .hh-lead { margin: 12px 0 0; max-width: 860px; font-size: 15px; color: #dbe6f2; }
.hh-hero .hh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hh-btn { display: inline-block; padding: 11px 26px; border-radius: 6px; font-size: 15px; font-weight: 700; color: #fff !important; background: #c8102e; }
.hh-btn:hover { background: #a60d26; }
.hh-btn.ghost { color: #14263d !important; background: #fff; }
.hh-stats { display: flex; flex-wrap: wrap; gap: 26px; margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(255,255,255,.18); }
.hh-stats div { min-width: 92px; }
.hh-stats dt { font-size: 13px; color: #b7c8da; }
.hh-stats dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; }
.hh-hero-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hh-hero-nav a { padding: 6px 14px; border-radius: 20px; font-size: 13px; color: #eaf1f8 !important; background: rgba(255,255,255,.12); }
.hh-hero-nav a:hover { background: rgba(255,255,255,.24); }

/* 头条 */
.hh-top { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
/* grid 子项默认拉伸到整行高，铺底色后右侧列表不会显得左列空半截 */
.hh-feature { display: flex; flex-direction: column; padding: 14px 18px; background: #f8fafc; border-left: 3px solid #2b5c8a; border-radius: 0 8px 8px 0; }
.hh-feature h3 { font-size: 21px; line-height: 1.45; }
.hh-feature .hh-sum { margin: 10px 0 0; color: #52606d; flex: 1; }
.hh-meta { margin-top: 10px; font-size: 12px; color: #8a97a5; }
.hh-meta a { color: #2f6fb2; }

/* 通用列表 */
.hh-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dashed #eef2f6; }
.hh-list li:last-child { border-bottom: 0; }
.hh-list .hh-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hh-list .hh-d { font-size: 12px; color: #98a4b1; white-space: nowrap; }
.hh-list .hh-tag { flex: 0 1 auto; min-width: 0; max-width: 132px; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: #2f6fb2; background: #eef5fc; border-radius: 4px; padding: 1px 7px; white-space: nowrap; }

/* 双栏 */
.hh-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hh-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hh-coltitle { font-size: 15px; color: #14263d; padding-left: 9px; border-left: 3px solid #c8102e; line-height: 1.4; margin-bottom: 4px; }
.hh-coltitle a { color: #14263d; }
.hh-coltitle a:hover { color: #c8102e; }
/* 窄栏内长标题改两行截断，避免 nowrap 省略号把关键信息吃掉 */
.hh-list.clamp .hh-t { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; word-break: break-all; }
.hh-list.clamp li { align-items: flex-start; }
/* 网格子项默认 min-width:auto，nowrap 的长标题/日期会把列撑破卡片 */
.hh-two > *, .hh-three > *, .hh-top > *, .hh-cards > *, .hh-voice > *, .hh-col { min-width: 0; }
.hh-list li { min-width: 0; }

/* 平台表 */
.hh-tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hh-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 860px; }
.hh-table th, .hh-table td { padding: 11px 10px; border-bottom: 1px solid #eef2f6; text-align: left; vertical-align: middle; }
.hh-table thead th { background: #f5f8fb; color: #33465c; font-weight: 700; white-space: nowrap; }
.hh-table tbody tr:hover { background: #fbfcfe; }
.hh-table .hh-pt { font-size: 15px; font-weight: 700; color: #14263d; }
.hh-table .hh-fy { color: #c8102e; font-weight: 700; }
.hh-score { display: inline-block; min-width: 34px; padding: 1px 7px; border-radius: 4px; background: #fff4e5; color: #b76b00; font-weight: 700; }

/* 活动卡 */
.hh-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hh-card { display: flex; flex-direction: column; border: 1px solid #eef2f6; border-radius: 8px; overflow: hidden; background: #fff; }
.hh-card .hh-cbody { display: flex; flex-direction: column; flex: 1; padding: 12px 13px 14px; }
.hh-card h3 { font-size: 15px; line-height: 1.45; height: 44px; overflow: hidden; }
.hh-card .hh-tips { margin: 8px 0 0; font-size: 13px; color: #52606d; height: 40px; overflow: hidden; }
/* 标题/摘要为固定高度，短卡片的余量集中到底部，让各卡的状态行同一水平线 */
.hh-card .hh-meta { margin-top: auto; padding-top: 10px; }
/* 预留图片高度，避免懒加载时的布局抖动 */
.hh-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #f2f5f8; }
.hh-nopic { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: #f2f5f8; color: #8a97a5; font-size: 14px; }
.hh-state { display: inline-block; padding: 1px 6px; margin-right: 6px; border-radius: 3px; font-size: 11px; background: #f0f2f5; color: #7b8794; }
.hh-state.on { background: #e8f5ec; color: #1c7a3d; }

/* FAQ */
.hh-faq details { border-bottom: 1px dashed #eef2f6; padding: 10px 0; }
.hh-faq summary { cursor: pointer; font-weight: 700; color: #14263d; }
.hh-faq .hh-faq-a { margin: 8px 0 0; color: #52606d; }

/* 口碑 */
.hh-voice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hh-voice figure { display: flex; flex-direction: column; margin: 0; }
.hh-voice blockquote { margin: 0; padding: 14px; background: #f8fafc; border-left: 3px solid #2b5c8a; border-radius: 0 6px 6px 0; font-size: 13px; color: #3d4b59; flex: 1; }
.hh-voice figcaption { margin-top: 10px; font-size: 12px; color: #8a97a5; }

/* 枢纽与友链 */
.hh-hub { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hh-hub a { font-size: 13px; color: #2f6fb2; }
.hh-friend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; }
.hh-friend a { color: #5b6b7c; }
.hh-notice { padding: 12px 16px; margin-top: 18px; background: #fffaf0; border: 1px solid #f4e3c1; border-radius: 8px; font-size: 13px; }
.hh-notice b { color: #b76b00; }

@media (max-width: 1024px) {
	.hh-grid2 { grid-template-columns: 1fr; }
	.hh-two, .hh-top, .hh-three, .hh-voice { grid-template-columns: 1fr; }
	.hh-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hh { padding: 0 12px 24px; }
	.hh-hero { padding: 20px 18px; }
	.hh-hero h1 { font-size: 21px; }
	.hh-sec { padding: 15px 14px 16px; }
	.hh-cards { grid-template-columns: 1fr; }
	.hh-stats { gap: 16px; }
	.hh-stats dd { font-size: 18px; }
}
