/* ========================================
   杭州富阳文化和经济促进会 - 新闻门户风格 v3
   设计参考：浙江在线(zjol.com.cn) 布局结构
   配色：红色系
   ======================================== */

/* --- CSS Variables --- */
:root {
  --red: #b71c1c;
  --red-dark: #8b0000;
  --red-light: #c62828;
  --red-surface: #fff5f5;
  --bg: #f0f0f0;
  --card: #fff;
  --border: #e0e0e0;
  --border-light: #eee;
  --text: #222;
  --text-mid: #555;
  --text-light: #888;
  --text-muted: #bbb;
  --shadow: 0 1px 4px rgba(0,0,0,0.06);
  --shadow-hover: 0 4px 16px rgba(0,0,0,0.1);
  --radius: 4px;
  --max-width: 1280px;
  --gap: 14px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Microsoft YaHei","PingFang SC","Helvetica Neue",Arial,sans-serif;
  font-size: 14px; color: var(--text); background: var(--bg); line-height: 1.6;
}
a { color: var(--text); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--red); }
ul, li { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 12px; }

/* ==============================================
   TOP BAR
   ============================================== */
.topbar { background: #f5f5f5; border-bottom: 1px solid var(--border-light); font-size: 12px; color: var(--text-light); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.topbar-links a { color: var(--text-light); margin-left: 14px; font-size: 12px; }
.topbar-links a:hover { color: var(--red); }

/* ==============================================
   HEADER
   ============================================== */
.header { background: #fff; border-bottom: 3px solid var(--red); }
.header .container { display: flex; align-items: center; padding: 12px 12px; }
.header .logo-badge { flex-shrink: 0; margin-right: 14px; }
.header .logo-badge img { height: 62px; width: 62px; display: block; border-radius: 50%; }
.header .site-title { flex: 1; }
.header .site-title h1 { font-size: 28px; color: #000; font-weight: 700; letter-spacing: 3px; line-height: 1.15; }
.header .site-title a.site-home { color: inherit; text-decoration: none; display: inline-block; transition: opacity 0.15s; }
.header .site-title a.site-home:hover { opacity: 0.75; }
.header .site-title .site-url { font-size: 12px; color: var(--text-light); margin-top: 3px; letter-spacing: 1px; font-family: Arial, sans-serif; }
.header-right { text-align: right; flex-shrink: 0; }
.search-box { display: flex; margin-bottom: 8px; }
.search-box input {
  border: 1px solid #ddd; padding: 6px 12px; width: 200px;
  border-radius: var(--radius) 0 0 var(--radius); outline: none; font-size: 12px;
  transition: border-color 0.2s;
}
.search-box input:focus { border-color: var(--red); }
.search-box button {
  background: var(--red); color: #fff; border: none; padding: 6px 14px;
  cursor: pointer; border-radius: 0 var(--radius) var(--radius) 0; font-size: 12px;
  transition: background 0.2s;
}
.search-box button:hover { background: var(--red-dark); }
.member-links a { font-size: 12px; color: var(--red); margin-left: 12px; }

/* Public Account Button */
.pub-btn {
  display: inline-block; padding: 8px 20px; border: 2px solid var(--red); border-radius: var(--radius);
  background: var(--red); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; margin-bottom: 8px;
}
.pub-btn:hover { background: var(--red-dark); border-color: var(--red-dark); }

/* ==============================================
   EXTERNAL LINKS TOOLBAR
   ============================================== */
.toolbar { background: #f5f5f5; border-bottom: 1px solid var(--border-light); font-size: 12px; }
.toolbar .container { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.toolbar-label { color: var(--text-light); font-size: 12px; flex-shrink: 0; }
.toolbar-links { display: flex; align-items: center; gap: 6px; }
.toolbar-links a { color: #666; font-size: 12px; }
.toolbar-links a:hover { color: var(--red); }
.toolbar-link-important { color: #c00 !important; font-weight: 600; }
.toolbar-sep { color: #ddd; font-size: 12px; }
.toolbar-dropdown { color: var(--text-light); font-size: 12px; }

/* ==============================================
   MAIN NAVIGATION (sticky)
   ============================================== */
.nav { background: var(--red); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 4px rgba(0,0,0,0.2); }
.nav .container { display: flex; flex-wrap: nowrap; justify-content: center; }
.nav .container > a {
  color: #fff; padding: 0 10px; display: flex; align-items: center; height: 46px;
  font-size: 19px; white-space: nowrap; letter-spacing: 0.5px; flex-shrink: 0;
  position: relative;
}
.nav .container > a:hover,
.nav .container > a.active { background: var(--red-dark); text-decoration: none; }
.nav .container > a.active::after {
  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px; height: 3px; background: #ffcdd2;
}

/* Dropdowns */
.nav .dropdown { position: relative; flex-shrink: 0; }
.nav .dropdown > a {
  color: #fff; padding: 0 13px; display: flex; align-items: center; height: 40px;
  font-size: 14px; letter-spacing: 0.3px; cursor: pointer; white-space: nowrap;
}
.nav .dropdown > a.active { background: var(--red-dark); }
.nav .dropdown > a.active::after {
  content: ''; position: absolute; bottom: 0; left: 12px; right: 12px; height: 3px; background: #ffcdd2;
}
.nav .dropdown:hover > a { background: var(--red-dark); text-decoration: none; }
.nav .dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; border: 1px solid #ddd; min-width: 160px; z-index: 1001;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15); border-radius: 0 0 var(--radius) var(--radius); overflow: hidden;
}
.nav .dropdown:hover .dropdown-menu { display: block; animation: navDrop 0.18s ease; }
@keyframes navDrop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.nav .dropdown-menu a {
  color: var(--text); padding: 10px 18px; font-size: 13px; border-bottom: 1px solid #f5f5f5; display: block;
}
.nav .dropdown-menu a:hover { background: var(--red-surface); color: var(--red); text-decoration: none; }
.nav .dropdown-menu a:last-child { border-bottom: none; }

/* ==============================================
   SUB NAV
   ============================================== */
.subnav { background: #fafafa; border-bottom: 1px solid var(--border-light); }
.subnav .container { display: flex; flex-wrap: nowrap; overflow-x: auto; justify-content: center; }
.subnav a {
  padding: 6px 14px; font-size: 12px; color: var(--text-mid); display: block;
  white-space: nowrap; flex-shrink: 0; transition: all 0.15s;
}
.subnav a:hover { color: var(--red); text-decoration: none; background: #fff; }

/* ==============================================
   PAGE HEADER (sub pages)
   ============================================== */
.page-header {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  color: #fff; padding: 28px 0; margin-bottom: 18px;
}
.page-header h2 { font-size: 22px; margin-bottom: 6px; letter-spacing: 1px; }
.page-header .breadcrumb { font-size: 12px; opacity: 0.85; }
.page-header .breadcrumb a { color: #ffcdd2; }
.page-header .breadcrumb a:hover { color: #fff; }

/* ==============================================
   SLOGAN BAR
   ============================================== */
.slogan-bar { background: #fff; padding: 24px 0 20px; border-bottom: 1px solid var(--border-light); margin-bottom: var(--gap); }
.slogan-main { font-size: 36px; color: #c00; font-weight: 700; text-align: center; line-height: 1.3; margin-bottom: 8px; letter-spacing: 2px; }
.slogan-sub { font-size: 22px; color: #b71c1c; font-weight: 400; text-align: center; line-height: 1.4; margin-bottom: 14px; }
.slogan-links { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.slogan-link-item { font-size: 14px; color: #666; cursor: pointer; transition: color 0.15s; }
.slogan-link-item:hover { color: #c00; }

/* ==============================================
   HOME LAYOUT — Multi-row news portal style
   ============================================== */
.home-main { padding: 14px 0 0; }

/* Row 1: Hero (品字三图 + Right sidebar) */
.hero-row { display: grid; grid-template-columns: 1fr 270px; gap: var(--gap); margin-bottom: 24px; }
.hero-main { min-width: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); align-self: start; }
/* 品字形三图布局（高度由图片比例自适应，避免裁切横幅） */
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-grid .hero-big { grid-column: 1 / -1; position: relative; overflow: hidden; display: block; aspect-ratio: 1000 / 138; }
.hero-grid .hero-small { position: relative; overflow: hidden; display: block; aspect-ratio: 2.1 / 1; }
.hero-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.hero-grid a:hover img { transform: scale(1.04); }
.hero-grid .hero-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 30px 16px 10px; color: #fff;
}
.hero-grid .hero-big .hero-text { padding: 24px 16px 8px; text-align: right; background: linear-gradient(transparent, rgba(0,0,0,0.45)); }
.hero-grid .hero-big .hero-text h2 { display: none; } /* 横幅已含会名，避免重复叠字 */
.hero-grid .hero-big .hero-text p { font-size: 12px; opacity: 0.95; text-shadow: 0 1px 2px rgba(0,0,0,0.5); }
.hero-grid .hero-text h2 { font-size: 18px; margin-bottom: 3px; line-height: 1.3; }
.hero-grid .hero-text h3 { font-size: 14px; margin-bottom: 2px; line-height: 1.3; }
.hero-grid .hero-text p { font-size: 11px; opacity: 0.8; }
.hero-grid a:hover .hero-text { color: #fff; text-decoration: none; }
.hero-grid a:hover .hero-text h2,
.hero-grid a:hover .hero-text h3 { color: #ffcdd2; }

/* Hero sidebar: quick news + notice */
.hero-side { display: flex; flex-direction: column; gap: var(--gap); }
.hero-side-block {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.hero-side-block .hsb-title {
  background: var(--red); color: #fff; padding: 9px 14px; font-size: 16px; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center;
}
.hero-side-block .hsb-title a { color: #ffcdd2; font-size: 12px; font-weight: 400; }
.hero-side-block .hsb-title a:hover { color: #fff; }
.hero-side-block .hsb-body { padding: 8px 14px; }
.hero-side-block .hsb-body li { padding: 8px 0; border-bottom: 1px dotted var(--border-light); font-size: 14px; line-height: 1.6; }
.hero-side-block .hsb-body li:last-child { border-bottom: none; }
.hero-side-block .hsb-body li a { color: var(--text); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-side-block .hsb-body li a:hover { color: var(--red); }
.hero-side-block .hsb-body li .dot { color: var(--red); margin-right: 4px; }

/* Hero下方新闻双栏 */
.hero-news-row { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; }
.hero-news-block { flex: 1; background: #fff; border: 1px solid var(--border-light); border-radius: 4px; overflow: hidden; }
.hnb-title { background: var(--red); color: #fff; font-size: 16px; font-weight: 700; padding: 9px 12px; display: flex; justify-content: space-between; align-items: center; }
.hnb-title a { color: #fff; font-size: 12px; font-weight: 400; text-decoration: none; }
.hnb-title a:hover { color: #ffcdd2; }
.hnb-body { list-style: none; padding: 8px 12px; margin: 0; }
.hnb-body li { padding: 5px 0; border-bottom: 1px dashed var(--border-light); font-size: 14px; line-height: 1.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hnb-body li:last-child { border-bottom: none; }
.hnb-body li a { color: var(--text); text-decoration: none; }
.hnb-body li a:hover { color: var(--red); }

/* Row 2+: Content rows */
.content-row { margin-bottom: var(--gap); }

/* Generic content block */
.content-block { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }

/* ==============================================
   SECTION TITLE (浙江在线风格)
   ============================================== */
.sec-title {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-bottom: 1px solid var(--border-light);
  background: #fafafa;
}
.sec-title h3 { font-size: 16px; color: var(--red); font-weight: 700; }
.sec-title h3 i {
  display: inline-block; width: 3px; height: 16px; background: var(--red);
  margin-right: 6px; vertical-align: middle; border-radius: 2px;
}
.sec-title .more { font-size: 12px; color: var(--text-light); }
.sec-title .more:hover { color: var(--red); }
.sec-title .tabs-inline { display: flex; gap: 0; }
.sec-title .tabs-inline a {
  font-size: 12px; color: var(--text-light); padding: 4px 10px;
  border-radius: var(--radius); transition: all 0.15s;
}
.sec-title .tabs-inline a:hover,
.sec-title .tabs-inline a.active { background: var(--red); color: #fff; text-decoration: none; }

/* ==============================================
   NEWS LIST (compact, dense)
   ============================================== */
.news-list li {
  padding: 7px 14px; border-bottom: 1px dotted var(--border-light);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; line-height: 1.7;
}
.news-list li:last-child { border-bottom: none; }
.news-list li a {
  color: var(--text); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.news-list li a:hover { color: var(--red); }
.news-list li .date { color: var(--text-muted); font-size: 11px; margin-left: 8px; white-space: nowrap; }
.news-list li.top a { color: var(--red); font-weight: 700; }
.news-list li.top::before { content: '置顶'; font-size: 10px; background: var(--red); color: #fff; padding: 1px 5px; border-radius: 2px; margin-right: 6px; flex-shrink: 0; }

/* Image thumbnail variant */
.news-thumb-list { }
.news-thumb-list li {
  padding: 9px 14px; border-bottom: 1px dotted var(--border-light);
  display: flex; gap: 10px; align-items: center;
}
.news-thumb-list li:last-child { border-bottom: none; }
.news-thumb-list li img {
  width: 100px; height: 68px; object-fit: cover; border-radius: var(--radius); flex-shrink: 0;
}
.news-thumb-list li .info { flex: 1; min-width: 0; }
.news-thumb-list li .info a { font-size: 14px; color: var(--text); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.news-thumb-list li .info a:hover { color: var(--red); }
.news-thumb-list li .info .date { display: block; font-size: 11px; color: var(--text-muted); margin-top: 4px; }

/* ==============================================
   三栏布局 (Two sidebars)
   ============================================== */
.triple-row { display: grid; grid-template-columns: 1fr 320px; gap: var(--gap); margin-bottom: var(--gap); }
.triple-row.has-left { grid-template-columns: 260px 1fr; }
.triple-row.has-both { grid-template-columns: 260px 1fr 280px; }

/* ==============================================
   GRID ROW: Multi-column content areas
   ============================================== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.grid-2x1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap); }
.grid-1x2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap); }

/* ==============================================
   FEATURED IMAGE + NEWS COMBO
   ============================================== */
.combo-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.combo-block .combo-img-link { height: 100%; }
.combo-block .combo-img-link img { height: 100%; min-height: 200px; }
.combo-img-link {
  position: relative; border-radius: var(--radius); overflow: hidden; display: block;
}
.combo-img-link img { width: 100%; height: 200px; object-fit: cover; }
.combo-img-link .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; padding: 24px 14px 10px; font-size: 14px; font-weight: 600;
  text-align: right; transition: color 0.2s;
}
.combo-img-link:hover .overlay { color: #ffcdd2; text-decoration: none; }

/* ==============================================
   NOTICE BOX
   ============================================== */
.notice-box {
  background: #fffbf0; border: 1px solid #f0d080; border-radius: var(--radius);
  padding: 10px 14px; margin-bottom: var(--gap);
}
.notice-box h4 { color: #c60; font-size: 13px; margin-bottom: 6px; }
.notice-box li { padding: 4px 0; font-size: 12px; border-bottom: 1px dotted #f0e0c0; }
.notice-box li:last-child { border-bottom: none; }
.notice-box li a { color: #664d00; font-size: 12px; }

/* ==============================================
   PIC CARD GRID
   ============================================== */
.pic-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 10px 14px 14px; }
.pic-card { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border-light); transition: all 0.2s; }
.pic-card:hover { box-shadow: var(--shadow-hover); text-decoration: none; transform: translateY(-2px); }
.pic-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.pic-card span { display: block; padding: 6px 8px; font-size: 12px; color: var(--text-mid); text-align: center; background: #fafafa; }

/* ==============================================
   BRANCH CARDS (compact)
   ============================================== */
.branch-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; padding: 10px 14px 14px; }
.branch-card {
  display: flex; flex-direction: column; align-items: center; padding: 14px 8px;
  background: #fafafa; border: 1px solid var(--border-light); border-radius: var(--radius);
  text-align: center; cursor: pointer; transition: all 0.2s; text-decoration: none; color: inherit;
}
.branch-card:hover { box-shadow: 0 4px 16px rgba(183,28,28,0.15); border-color: var(--red); transform: translateY(-2px); text-decoration: none; }
.branch-card-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; margin-bottom: 6px;
}
.branch-card-name { font-size: 13px; font-weight: 600; color: var(--text); }
.branch-card-info { font-size: 11px; color: var(--text-light); margin-top: 2px; }

/* ==============================================
   TAB BODY
   ============================================== */
.tab-body { padding: 0 14px 10px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ==============================================
   VIDEO CARD
   ============================================== */
.video-mini { padding: 10px 14px; }
.video-mini-thumb {
  background: linear-gradient(135deg, var(--red-dark), var(--red-light));
  height: 100px; border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; margin-bottom: 6px; cursor: pointer; position: relative;
  overflow: hidden;
}
.video-mini-thumb .play-btn {
  width: 40px; height: 40px; background: rgba(255,255,255,0.9); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--red);
  z-index: 1; transition: transform 0.2s;
}
.video-mini-thumb:hover .play-btn { transform: scale(1.1); }
.video-mini-list li { padding: 6px 0; border-bottom: 1px dotted var(--border-light); font-size: 13px; }
.video-mini-list li:last-child { border-bottom: none; }
.video-mini-list li a { color: var(--text); }
.video-mini-list li a:hover { color: var(--red); }

/* ==============================================
   ROLLING NEWS BAR
   ============================================== */
.rolling-bar {
  width: 100%; background: #fff; border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); margin-bottom: var(--gap); overflow: hidden;
}
.rolling-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 8px 14px;
  display: flex; align-items: center;
}
.rolling-label {
  background: var(--red); color: #fff; font-size: 12px; padding: 3px 10px;
  border-radius: 2px; flex-shrink: 0; margin-right: 12px; font-weight: 600;
}
.rolling-text { flex: 1; overflow: hidden; position: relative; height: 24px; }
.rolling-text ul { position: absolute; left: 0; right: 0; transition: transform 0.5s ease; }
.rolling-text li { height: 24px; line-height: 24px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rolling-text li a { color: var(--text); }
.rolling-text li a:hover { color: var(--red); }

/* ==============================================
   LINKS BAR
   ============================================== */
.links-bar {
  background: #fff; border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light); padding: 12px 0; margin-top: 18px;
}
.link-grid { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.link-grid a {
  font-size: 12px; color: var(--text-mid); padding: 4px 10px;
  background: #f8f8f8; border-radius: 3px; transition: all 0.15s;
}
.link-grid a:hover { background: var(--red); color: #fff; text-decoration: none; }

/* ==============================================
   FOOTER
   ============================================== */
.footer { background: #2a2a2a; color: #aaa; padding: 30px 0 20px; margin-top: 18px; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 24px; }
.footer h5 { color: #ddd; font-size: 14px; margin-bottom: 10px; padding-bottom: 6px; border-bottom: 1px solid #444; }
.footer ul li { margin-bottom: 6px; font-size: 12px; }
.footer ul li a { color: #999; }
.footer ul li a:hover { color: #fff; }
.footer-bottom { text-align: center; font-size: 12px; padding-top: 16px; border-top: 1px solid #444; color: #777; }
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: #999; }

/* ==============================================
   SUB PAGE LAYOUT
   ============================================== */
.main { padding: 18px 0; }
.main .container { display: flex; gap: var(--gap); }
.main-col { flex: 1; min-width: 0; }
.main-col.wide { flex: 2.5; }
.sidebar { width: 310px; flex-shrink: 0; }

/* ==============================================
   WIDGET (sidebar)
   ============================================== */
.widget { margin-bottom: var(--gap); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.widget-title { background: var(--red); color: #fff; padding: 9px 14px; font-size: 14px; font-weight: 700; }
.widget-body { padding: 10px 14px; }

/* ==============================================
   ARTICLE
   ============================================== */
.article { background: var(--card); padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.article h1 { font-size: 22px; color: var(--text); text-align: center; margin-bottom: 10px; line-height: 1.4; }
.article .article-meta { text-align: center; font-size: 12px; color: var(--text-muted); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.article .article-body { font-size: 15px; line-height: 2; color: #444; }
.article .article-body p { margin-bottom: 16px; text-indent: 2em; }
.article .article-body img { max-width: 100%; margin: 18px auto; border-radius: var(--radius); }
.article-page .main-col { width: 100%; }
.article-page .article-body img { height: auto; max-height: none; }

/* ==============================================
   FORMS
   ============================================== */
.form-box {
  background: var(--card); padding: 30px; border-radius: var(--radius);
  max-width: 480px; margin: 0 auto; border: 1px solid var(--border);
}
.form-box h3 { text-align: center; margin-bottom: 24px; color: var(--red); font-size: 18px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; margin-bottom: 5px; font-size: 13px; color: var(--text-mid); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 9px 12px; border: 1px solid #ddd; border-radius: var(--radius);
  font-size: 14px; outline: none; transition: border-color 0.2s; font-family: inherit;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--red); box-shadow: 0 0 0 2px rgba(183,28,28,0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.btn {
  display: inline-block; padding: 10px 26px; border: none; border-radius: var(--radius);
  font-size: 14px; cursor: pointer; transition: all 0.2s; font-weight: 500; text-align: center;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { background: #fff; color: var(--red); border: 1px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }
.btn-block { display: block; width: 100%; }
.form-footer { text-align: center; margin-top: 14px; font-size: 12px; color: var(--text-light); }
.form-footer a { color: var(--red); }

/* ==============================================
   PAGINATION
   ============================================== */
.pagination { display: flex; justify-content: center; gap: 4px; margin: 28px 0; }
.pagination a, .pagination span { padding: 6px 13px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 13px; color: var(--text-mid); }
.pagination a:hover { background: var(--red); color: #fff; border-color: var(--red); text-decoration: none; }
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* ==============================================
   TABS
   ============================================== */
.tabs { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 2px solid var(--red); }
.tabs a {
  padding: 9px 20px; font-size: 14px; color: var(--text-mid);
  border-radius: var(--radius) var(--radius) 0 0; background: #f5f5f5; margin-right: 2px;
}
.tabs a:hover { color: var(--red); text-decoration: none; }
.tabs a.active { background: var(--red); color: #fff; }

/* ==============================================
   PEOPLE GRID
   ============================================== */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.people-card {
  text-align: center; padding: 22px 14px; background: var(--card);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: all 0.2s;
}
.people-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.people-card .avatar-placeholder {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px;
  border: 3px solid var(--red); display: flex; align-items: center;
  justify-content: center; font-size: 24px; color: #fff;
}
.people-card .avatar-img {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 10px;
  border: 3px solid var(--red); object-fit: cover; display: block; background: #f5f5f5;
}
.people-card h4 a { color: inherit; }
.people-card h4 a:hover { color: var(--red); }
.people-card h4 { font-size: 15px; color: var(--text); margin-bottom: 3px; }
.people-card .role { font-size: 12px; color: var(--red); margin-bottom: 4px; }
.people-card p { font-size: 12px; color: var(--text-light); }
a.people-card { display: block; color: inherit; text-decoration: none; }
a.people-card:hover h4 { color: var(--red); }

/* ==============================================
   PERSON DETAIL（人物详情页）
   ============================================== */
.person-detail { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px 38px; }
.person-detail h1 { font-size: 24px; color: var(--text); margin-bottom: 4px; }
.person-head { display: flex; align-items: center; gap: 22px; padding-bottom: 22px; border-bottom: 2px solid var(--red); margin-bottom: 22px; }
.person-avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--red); flex-shrink: 0; background: #f5f5f5; }
.person-avatar-text { display: flex; align-items: center; justify-content: center; font-size: 44px; color: #fff; background: #7a1010; }
.person-head-info .person-role { font-size: 15px; color: var(--red); font-weight: 600; margin-bottom: 4px; }
.person-head-info .person-cat { font-size: 12px; color: var(--text-light); display: inline-block; background: #f6e8e8; border-radius: 3px; padding: 2px 10px; }
.person-bio h3 { font-size: 16px; color: var(--text); border-left: 4px solid var(--red); padding-left: 10px; margin-bottom: 12px; }
.person-bio p { font-size: 14px; line-height: 2; color: var(--text); text-indent: 2em; }
.person-src { margin-top: 20px; padding-top: 14px; border-top: 1px dashed var(--border); font-size: 12px; color: var(--text-light); }
.person-src a { color: var(--red); }
.person-back { display: inline-block; margin-top: 24px; padding: 8px 22px; border: 1px solid var(--red); border-radius: var(--radius); color: var(--red); font-size: 13px; transition: all 0.2s; }
.person-back:hover { background: var(--red); color: #fff; }
@media (max-width: 640px) {
  .person-detail { padding: 22px 16px; }
  .person-head { flex-direction: column; text-align: center; gap: 12px; }
}

/* ==============================================
   GALLERY
   ============================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery-item {
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  aspect-ratio: 4/3; box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.06); }

/* ==============================================
   MESSAGE BOARD
   ============================================== */
.msg-list { margin-top: 16px; }
.msg-item {
  background: #fafafa; border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 14px; margin-bottom: 12px;
}
.msg-item .msg-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.msg-item .msg-author { font-weight: 600; color: var(--red); font-size: 13px; }
.msg-item .msg-time { font-size: 12px; color: var(--text-muted); }
.msg-item .msg-content { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.msg-item .msg-reply {
  margin-top: 8px; padding: 10px; background: #fffbf0;
  border-left: 3px solid #f0d080; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 13px; color: #664d00;
}

/* ==============================================
   MEMBER CENTER
   ============================================== */
.member-layout { display: flex; gap: var(--gap); }
.member-sidebar { width: 200px; flex-shrink: 0; }
.member-sidebar .menu-item {
  display: block; padding: 10px 16px; color: var(--text-mid);
  border-left: 3px solid transparent; font-size: 13px; margin-bottom: 2px;
  background: var(--card); border-radius: var(--radius);
}
.member-sidebar .menu-item:hover,
.member-sidebar .menu-item.active { color: var(--red); border-left-color: var(--red); background: var(--red-surface); text-decoration: none; }
.member-content { flex: 1; background: var(--card); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }

/* ==============================================
   BRANCH STRIP (full width)
   ============================================== */
.branch-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px; padding: 0 14px 14px;
}

/* ==============================================
   BACK TO TOP
   ============================================== */
.back-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 42px; height: 42px; background: var(--red); color: #fff;
  border: none; border-radius: 50%; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top.show:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ==============================================
   LAZY LOAD PLACEHOLDER
   ============================================== */
img[data-src] { background: #f0f0f0; }

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 1100px) {
  .hero-row { grid-template-columns: 1fr 280px; }
  .triple-row.has-both { grid-template-columns: 220px 1fr 250px; }
}

@media (max-width: 992px) {
  .slogan-main { font-size: 28px; }
  .slogan-sub { font-size: 18px; }
  .slogan-links { gap: 20px; }
  .nav .container { flex-wrap: wrap; }
  .hero-row { grid-template-columns: 1fr; }
  .hero-side { flex-direction: row; flex-wrap: wrap; }
  .hero-side-block { flex: 1; min-width: 280px; }
  .triple-row, .triple-row.has-left, .triple-row.has-both {
    grid-template-columns: 1fr;
  }
  .grid-2, .grid-3, .grid-4, .grid-2x1, .grid-1x2 { grid-template-columns: 1fr; }
  .combo-block { grid-template-columns: 1fr; }
  .combo-img-link img { height: 160px; }
  .pic-row { grid-template-columns: repeat(2, 1fr); }
  .branch-row { grid-template-columns: repeat(3, 1fr); }
  .main .container { flex-direction: column; }
  .sidebar { width: 100%; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .member-layout { flex-direction: column; }
  .member-sidebar { width: 100%; display: flex; flex-wrap: wrap; gap: 4px; }
  .member-sidebar .menu-item { border-left: none; border-bottom: 2px solid transparent; }
}

@media (max-width: 768px) {
  .slogan-bar { padding: 18px 0 14px; }
  .slogan-main { font-size: 24px; letter-spacing: 1px; }
  .slogan-sub { font-size: 16px; }
  .slogan-links { gap: 12px; flex-direction: column; align-items: center; }
  .slogan-link-item { font-size: 13px; }
  .toolbar .container { flex-direction: column; height: auto; padding: 6px 12px; gap: 4px; }
  .toolbar-links { flex-wrap: wrap; justify-content: center; }
  .header .container { flex-wrap: wrap; }
  .header-right { width: 100%; margin-top: 10px; }
  .hero-grid .hero-text h3 { font-size: 12px; }
  .hero-side { flex-direction: column; }
  .hero-news-row { flex-direction: column; }
  .pic-row { grid-template-columns: repeat(2, 1fr); }
  .branch-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .article { padding: 16px; }
  .article h1 { font-size: 18px; }
  .nav .container { flex-wrap: wrap; }
  .nav .container > a, .nav .dropdown > a { padding: 0 10px; height: 36px; font-size: 12px; }
}

/* ========================================
   v4 美化增强（2026-07-18）
   保持政务新闻网简约风格：细节质感 + 丝滑动效
   ======================================== */

/* --- 全局顺滑 --- */
html { scroll-behavior: smooth; }
::selection { background: rgba(183,28,28,0.85); color: #fff; }
[id] { scroll-margin-top: 60px; }
body.modal-open { overflow: hidden; }

/* --- 板块标题精修 --- */
.sec-title { background: linear-gradient(#fdfdfd, #fafafa); }
.sec-title h3 { letter-spacing: 1px; }

/* --- 新闻列表行 hover --- */
.news-list li { transition: background 0.15s; }
.news-list li:hover { background: var(--red-surface); }
.hnb-body li, .hsb-body li { transition: background 0.15s; }
.hnb-body li:hover, .hsb-body li:hover { background: var(--red-surface); }

/* --- 卡片质感 --- */
.content-block { box-shadow: var(--shadow); transition: box-shadow 0.25s; }
.content-block:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.09); }
.hero-side-block { box-shadow: var(--shadow); }
.widget { box-shadow: var(--shadow); }

/* --- 首页标签页切换淡入 --- */
.tab-pane.active { animation: fadeUp 0.35s ease; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* --- 文章正文排版（子页 h2/h3/列表） --- */
.article-body h2 { font-size: 19px; color: var(--red-dark); margin: 28px 0 14px; padding-left: 10px; border-left: 4px solid var(--red); line-height: 1.3; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 16px; color: var(--red); margin: 24px 0 10px; }
.article-body ul { padding-left: 1.5em; margin-bottom: 16px; }
.article-body ul li { list-style: disc; padding: 3px 0; }
.article-body a { color: var(--red); }

/* --- 分会卡片选中态 --- */
.branch-card.current { border-color: var(--red); background: var(--red-surface); box-shadow: 0 4px 16px rgba(183,28,28,0.15); }

/* --- 视频网格（影像富春） --- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 14px; }
.video-card { background: #fff; border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; transition: box-shadow 0.25s, transform 0.25s; }
.video-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.video-thumb { height: 150px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.play-icon {
  width: 46px; height: 46px; background: rgba(255,255,255,0.92); color: var(--red);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 17px; box-shadow: 0 2px 12px rgba(0,0,0,0.25); transition: transform 0.25s;
}
.video-card:hover .play-icon { transform: scale(1.12); }
.video-body { padding: 10px 12px; }
.video-body h5 { font-size: 13px; font-weight: 600; line-height: 1.4; }
@media (max-width: 992px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .video-grid { grid-template-columns: 1fr; } }

/* --- 弹窗（公众号二维码） --- */
.modal-mask {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s;
}
.modal-mask.show { opacity: 1; }
.modal-card {
  background: #fff; border-radius: 12px; padding: 30px 30px 20px; position: relative; text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transform: scale(0.92) translateY(12px); transition: transform 0.28s cubic-bezier(0.34,1.4,0.64,1);
}
.modal-mask.show .modal-card { transform: scale(1) translateY(0); }
.modal-card img { width: 260px; height: 260px; border-radius: 8px; }
.modal-card p { margin-top: 14px; font-size: 15px; color: var(--text-mid); letter-spacing: 1px; }
.modal-close {
  position: absolute; top: 8px; right: 10px; width: 28px; height: 28px;
  border: none; background: none; font-size: 22px; color: #999; cursor: pointer; line-height: 1;
  transition: color 0.15s, transform 0.25s;
}
.modal-close:hover { color: var(--red); transform: rotate(90deg); }

/* --- 图片灯箱（图库点击放大） --- */
.lightbox-mask {
  position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.9); cursor: zoom-out; opacity: 0; transition: opacity 0.25s;
}
.lightbox-mask.show { opacity: 1; }
.lightbox-mask img {
  max-width: 92%; max-height: 86%; object-fit: contain; border-radius: 4px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
  transform: scale(0.95); transition: transform 0.25s;
}
.lightbox-mask.show img { transform: scale(1); }
.lightbox-tip {
  position: absolute; bottom: 24px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,0.6); font-size: 13px; letter-spacing: 1px; pointer-events: none;
}
.lightbox-close {
  position: absolute; top: 20px; right: 24px; width: 40px; height: 40px;
  border: none; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff;
  font-size: 22px; cursor: pointer; transition: background 0.2s, transform 0.25s;
}
.lightbox-close:hover { background: var(--red); transform: rotate(90deg); }

/* --- 导航吸顶阴影 --- */
.nav { transition: box-shadow 0.25s; }
.nav.scrolled { box-shadow: 0 3px 14px rgba(0,0,0,0.35); }

/* --- 滚动入场 --- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

/* --- 按钮/表单细节 --- */
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(183,28,28,0.25); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-outline:hover { box-shadow: 0 3px 10px rgba(183,28,28,0.2); }

/* --- 页脚链接 --- */
.footer ul li a { transition: color 0.15s, padding-left 0.15s; }
.footer ul li a:hover { padding-left: 4px; }

/* --- 会员中心菜单 --- */
.member-sidebar .menu-item { transition: color 0.18s, background 0.18s, border-color 0.18s; }

/* --- 动效降级（无障碍） --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ========================================
   v5 板块差异化页面（2026-07-18）
   法治教育 / 富春大地 / 富春文旅 / 科技金融
   ======================================== */

/* --- 板块 Hero --- */
.sec-hero { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: var(--gap); box-shadow: var(--shadow); }
.sec-hero img { width: 100%; height: 280px; object-fit: cover; display: block; }
.sec-hero .sec-hero-text {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 24px 16px; color: #fff;
  background: linear-gradient(transparent, rgba(0,0,0,0.62));
}
.sec-hero .sec-hero-text h2 { font-size: 24px; letter-spacing: 3px; margin-bottom: 4px; }
.sec-hero .sec-hero-text p { font-size: 13px; opacity: 0.92; letter-spacing: 1px; }
.sec-hero.red {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 55%, var(--red-light) 100%);
  color: #fff; padding: 30px 28px;
}
.sec-hero.red h2 { font-size: 24px; letter-spacing: 3px; margin-bottom: 8px; }
.sec-hero.red h2 .hero-mark { display: inline-block; width: 6px; height: 22px; background: rgba(255,255,255,0.85); margin-right: 10px; vertical-align: -3px; border-radius: 2px; }
.sec-hero.red p { font-size: 13px; opacity: 0.92; line-height: 1.9; max-width: 780px; letter-spacing: 0.5px; margin: 0; }

/* --- 数据卡 --- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.stat-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 10px 14px; text-align: center; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.stat-card .num { font-size: 25px; color: var(--red); font-weight: 700; }
.stat-card .num small { font-size: 12px; font-weight: 400; color: var(--text-light); margin-left: 3px; }
.stat-card .lbl { font-size: 12px; color: var(--text-mid); margin-top: 3px; letter-spacing: 2px; }

/* --- 栏目内容选项卡 --- */
.fc-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; }
.fc-tabs a { font-size: 13px; padding: 6px 16px; border-radius: 16px; background: #f5f5f5; color: var(--text-mid); transition: all 0.15s; }
.fc-tabs a:hover, .fc-tabs a.active { background: var(--red); color: #fff; text-decoration: none; }
.fc-pane { padding: 20px 26px 24px; font-size: 14px; line-height: 2.05; color: #444; }
.fc-pane p { margin-bottom: 12px; text-indent: 2em; }
.fc-pane p:last-child { margin-bottom: 0; }

/* --- 荣誉列表 --- */
.honor-list { padding: 8px 16px 14px; }
.honor-list li { padding: 8px 0 8px 18px; border-bottom: 1px dotted var(--border-light); font-size: 13px; position: relative; }
.honor-list li:last-child { border-bottom: none; }
.honor-list li::before { content: ''; position: absolute; left: 0; top: 15px; width: 7px; height: 7px; background: var(--red); border-radius: 1px; transform: rotate(45deg); }

/* --- 特产 chips --- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12px; color: var(--text-mid); background: var(--red-surface); border: 1px solid #f0d4d4; padding: 5px 13px; border-radius: 20px; transition: all 0.15s; cursor: default; }
.chip:hover { background: var(--red); color: #fff; border-color: var(--red); }

/* --- 观光卡 --- */
.tour-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 14px 16px 16px; }
.tour-card { border: 1px solid var(--border-light); border-radius: var(--radius); overflow: hidden; background: #fff; transition: transform 0.25s, box-shadow 0.25s; }
.tour-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.tour-card .tour-img { height: 155px; overflow: hidden; display: block; }
.tour-card .tour-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.tour-card:hover .tour-img img { transform: scale(1.05); }
.tour-card .tour-body { padding: 10px 14px 12px; }
.tour-card .tour-body h5 { font-size: 14px; margin-bottom: 4px; }
.tour-card .tour-body p { font-size: 12px; color: var(--text-light); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- 头条区（科技金融） --- */
.head-row { display: grid; grid-template-columns: 1.45fr 1fr; gap: var(--gap); margin-bottom: var(--gap); }
.head-main { position: relative; border-radius: var(--radius); overflow: hidden; display: block; box-shadow: var(--shadow); }
.head-main img { width: 100%; height: 245px; object-fit: cover; transition: transform 0.4s; }
.head-main:hover img { transform: scale(1.03); }
.head-main .head-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 16px 12px; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,0.72)); }
.head-main .head-text h3 { font-size: 17px; line-height: 1.4; }
.head-main:hover .head-text h3 { color: #ffcdd2; }
.head-side { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 4px 16px 8px; box-shadow: var(--shadow); }
.head-side .head-item { padding: 11px 0; border-bottom: 1px dashed var(--border-light); font-size: 13px; line-height: 1.5; }
.head-side .head-item:last-child { border-bottom: none; }
.head-side .head-item a { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.head-side .head-item .tag { display: inline-block; color: #fff; background: var(--red); font-size: 10px; padding: 1px 6px; border-radius: 2px; margin-right: 6px; vertical-align: 1px; }

/* --- 服务小卡（普法/金融公益宣传） --- */
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.serv-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 16px 16px; text-align: center; box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.serv-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); border-color: #ecc9c9; }
.serv-card .serv-ico { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-light)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }
.serv-card h5 { font-size: 14px; margin-bottom: 6px; }
.serv-card p { font-size: 12px; color: var(--text-light); line-height: 1.8; margin: 0; }

/* --- 书画名家横条 --- */
.master-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 16px 16px; }
.master-card { display: block; text-align: center; padding: 14px 8px; background: #fafafa; border: 1px solid var(--border-light); border-radius: var(--radius); transition: all 0.2s; }
.master-card:hover { border-color: var(--red); box-shadow: 0 4px 16px rgba(183,28,28,0.12); text-decoration: none; transform: translateY(-2px); }
.master-card .m-name { font-size: 14px; font-weight: 700; color: var(--text); }
.master-card .m-epoch { font-size: 11px; color: var(--red); margin: 3px 0; }
.master-card .m-desc { font-size: 11px; color: var(--text-light); }

@media (max-width: 992px) {
  .stat-row, .serv-grid, .master-row { grid-template-columns: repeat(2, 1fr); }
  .head-row, .tour-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .sec-hero img { height: 180px; }
  .sec-hero.red { padding: 22px 18px; }
  .sec-hero.red h2 { font-size: 20px; }
  .fc-pane { padding: 14px 16px 18px; }
}


/* ========================================
   v6 政务红金质感（2026-07-22）
   不改变布局结构：配色 / 细节 / 装饰 增量层
   ======================================== */
:root {
  --gold: #c9a227;
  --gold-light: #e8cf8f;
  --gold-deep: #a8871c;
}

/* --- 政务庄重标题字（宋体系） --- */
.slogan-main, .slogan-sub,
.header .site-title h1,
.page-header h2, .sec-hero.red h2 {
  font-family: "STZhongsong", "华文中宋", "SimSun", "宋体", serif;
}

/* --- 标语区：简约白底（v11.3 应要求去除祥云波浪/金色双线/黄色菱形） --- */
.slogan-bar {
  background: #fff;
  border-bottom: 1px solid #eee;
}
.slogan-main { color: #a81212; }
.slogan-sub { color: #b71c1c; }
.slogan-rule {
  width: 100%; max-width: 560px; height: 3px; margin: 0 auto 14px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 20%, var(--gold) 50%, var(--red) 80%, transparent);
}

/* --- 主导航：红渐变 + 金色镶边 --- */
.nav {
  background: linear-gradient(180deg, #c22828 0%, #a81212 100%);
  border-bottom: 2px solid var(--gold);
}
.nav .container > a.active::after,
.nav .dropdown > a.active::after { background: var(--gold-light); }
.nav .dropdown-menu { border-top: 2px solid var(--gold); }

/* --- 板块标题：政务红底线 + 金字间距 --- */
.sec-title { border-bottom: 2px solid var(--red); }
.sec-title h3 { font-size: 16px; letter-spacing: 2px; }
.sec-title h3 i {
  width: 4px; height: 16px;
  background: linear-gradient(180deg, var(--red-light), var(--red-dark));
  box-shadow: 2.5px 0 0 var(--gold-light);
}

/* --- 侧栏/首页块标题：红渐变 --- */
.widget-title, .hero-side-block .hsb-title, .hnb-title {
  background: linear-gradient(180deg, #c22828 0%, #a81212 100%);
  letter-spacing: 1.5px;
}

/* --- 新闻列表：红色引导符 --- */
.news-list li a::before {
  content: '»'; color: var(--red); font-weight: 700; margin-right: 6px;
}
.news-list li.top a::before { content: none; }
.hnb-body li a::before { content: '›'; color: var(--red); font-weight: 700; margin-right: 5px; }

/* --- 即时快讯条（通栏：红色引导线落在居中的内容区） --- */
.rolling-inner { border-left: 3px solid var(--red); }
.rolling-date { flex-shrink: 0; font-size: 12px; color: var(--text-light); margin-left: 12px; white-space: nowrap; }

/* --- 页头横幅：金线收边 --- */
.page-header { border-bottom: 3px solid var(--gold); }

/* --- 页脚：回滚为改版前深灰风格（v11.1 应要求撤销红金页脚） --- */

/* --- 文章页：上一篇/下一篇 --- */
.article-nav {
  margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--border-light);
  display: flex; justify-content: space-between; gap: 16px; font-size: 13px;
}
.article-nav a, .article-nav .nav-none {
  flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.article-nav a:last-child, .article-nav .nav-none:last-child { text-align: right; }
.article-nav a { color: var(--text-mid); }
.article-nav a span { color: var(--red); font-weight: 600; }
.article-nav a:hover { color: var(--red); }
.article-nav .nav-none { color: var(--text-muted); }
.article-nav .nav-none span { color: var(--text-light); }

/* --- 文章元信息 --- */
.article .article-meta { color: #999; }
.article h1 { font-family: "STZhongsong", "华文中宋", "SimSun", "宋体", serif; }

/* --- 滚动条 --- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #f2f2f2; }
::-webkit-scrollbar-thumb { background: #cda3a3; border-radius: 5px; border: 2px solid #f2f2f2; }
::-webkit-scrollbar-thumb:hover { background: var(--red-light); }

/* --- 键盘可访问性 --- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 1px;
}

/* --- 细节精修 --- */
.pic-card span { transition: color .2s, background .2s; }
.pic-card:hover span { color: var(--red); background: var(--red-surface); }
.gallery-item { border: 1px solid var(--border-light); }
.combo-img-link { box-shadow: var(--shadow); }
.hero-grid .hero-text { background: linear-gradient(transparent, rgba(50, 0, 0, .82)); }
.chip { border-color: #e6c9c9; }
.notice-box { box-shadow: inset 3px 0 0 #f0d080; }

@media (max-width: 768px) {
  .rolling-date { display: none; }
}

/* ==============================================
   思想 · 理论（lilun.html）
   ============================================== */
.ll-quote-box {
  position: relative; background: linear-gradient(135deg, #7a1010 0%, #a81212 60%, #c22828 100%);
  border-radius: var(--radius); border-bottom: 3px solid var(--gold);
  color: #fff; padding: 38px 34px 30px; margin-bottom: var(--gap); overflow: hidden;
}
.ll-quote-box::before {
  content: '“'; position: absolute; top: -30px; left: 14px; font-size: 130px;
  font-family: Georgia, 'Songti SC', serif; color: rgba(255,255,255,0.14); line-height: 1;
}
.ll-quote-box::after {
  content: ''; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px;
  border: 2px solid rgba(255,205,120,0.18); border-radius: 50%;
}
.ll-quote { position: relative; min-height: 66px; }
.ll-quote .q-text {
  font-size: 21px; font-weight: 600; letter-spacing: 2px; line-height: 1.7;
  opacity: 1; transition: opacity 0.45s ease;
}
.ll-quote .q-text.fading { opacity: 0; }
.ll-quote .q-src { font-size: 12px; color: rgba(255,235,200,0.85); margin-top: 10px; letter-spacing: 1px; }
.ll-quote-dots { position: absolute; right: 6px; bottom: 4px; display: flex; gap: 7px; }
.ll-quote-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); transition: background 0.3s; }
.ll-quote-dots i.on { background: var(--gold-light, #f0d080); }
.ll-topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: var(--gap); }
.ll-topic {
  display: block; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 16px 16px; color: inherit; text-decoration: none; transition: all 0.22s;
  position: relative; overflow: hidden;
}
.ll-topic::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--gold)); }
.ll-topic:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); text-decoration: none; }
.ll-topic .t-name { font-size: 15px; font-weight: 700; color: var(--red); margin-bottom: 6px; letter-spacing: 1px; }
.ll-topic .t-desc { font-size: 12px; color: var(--text-light); line-height: 1.8; }
.ll-topic .t-go { font-size: 11px; color: var(--gold-dark, #b8860b); margin-top: 10px; letter-spacing: 1px; }
@media (max-width: 900px) { .ll-topics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ll-quote .q-text { font-size: 17px; } }

/* ==============================================
   思想 · 富春潮起（fcchaoqi.html）
   ============================================== */
.tl-wrap { position: relative; padding: 10px 0 10px 34px; }
.tl-wrap::before {
  content: ''; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 3px;
  background: linear-gradient(180deg, var(--gold-light, #f0d080), var(--red) 30%, var(--red-dark));
  border-radius: 2px;
}
.tl-item { position: relative; margin-bottom: 22px; }
.tl-item::before {
  content: ''; position: absolute; left: -31px; top: 20px; width: 13px; height: 13px;
  background: #fff; border: 4px solid var(--red); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(183,28,28,0.15); transition: transform 0.25s, border-color 0.25s;
}
.tl-item:hover::before { transform: scale(1.25); border-color: var(--gold-dark, #b8860b); }
.tl-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 22px 15px; box-shadow: var(--shadow); transition: all 0.22s;
}
.tl-item:hover .tl-card { box-shadow: var(--shadow-hover); transform: translateX(4px); }
.tl-year {
  display: inline-block; background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2px;
  padding: 3px 14px; border-radius: 15px; margin-bottom: 8px; border: 1px solid var(--gold-light, #f0d080);
}
.tl-card h4 { font-size: 16px; color: var(--text); margin-bottom: 6px; }
.tl-card p { font-size: 13px; color: var(--text-mid); line-height: 1.9; margin: 0; }
.prac-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.prac-card {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 128px;
  padding: 22px 20px 18px; color: #fff; box-shadow: var(--shadow); transition: all 0.25s;
}
.prac-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.prac-card.p1 { background: linear-gradient(135deg, #7a1010, #b71c1c); }
.prac-card.p2 { background: linear-gradient(135deg, #8c1414, #c62828); }
.prac-card.p3 { background: linear-gradient(135deg, #961414, #d32f2f); }
.prac-card.p4 { background: linear-gradient(135deg, #6d0e0e, #a81212); }
.prac-card::after {
  content: ''; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px;
  border: 2px solid rgba(255,255,255,0.14); border-radius: 50%;
}
.prac-card h4 { font-size: 17px; letter-spacing: 2px; margin-bottom: 8px; position: relative; }
.prac-card h4 span { font-size: 10px; background: rgba(255,255,255,0.18); border: 1px solid rgba(255,220,160,0.4); padding: 2px 8px; border-radius: 10px; margin-left: 8px; letter-spacing: 1px; vertical-align: 2px; }
.prac-card p { font-size: 12px; line-height: 1.9; opacity: 0.92; margin: 0; position: relative; }
@media (max-width: 720px) { .prac-grid { grid-template-columns: 1fr; } }

/* ==============================================
   地方 · 乡镇/街道（xiangzhen.html / jiedao.html）
   ============================================== */
.df-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.df-search {
  flex: 1; min-width: 220px; display: flex; align-items: center; background: #fff;
  border: 1px solid var(--border); border-radius: 20px; padding: 8px 16px; box-shadow: var(--shadow);
}
.df-search input {
  border: none; outline: none; flex: 1; font-size: 14px; color: var(--text); background: transparent;
}
.df-search .s-ico { color: var(--red); margin-right: 8px; font-size: 15px; }
.df-count { font-size: 12px; color: var(--text-light); white-space: nowrap; }
.df-count b { color: var(--red); font-size: 15px; }
.df-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.df-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px 16px; transition: all 0.22s; position: relative; overflow: hidden;
}
.df-card::before { content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--red), var(--gold)); opacity: 0; transition: opacity 0.22s; }
.df-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.df-card:hover::before { opacity: 1; }
.df-card .d-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.df-card h4 { font-size: 17px; color: var(--text); letter-spacing: 1px; }
.df-badge { font-size: 11px; color: #fff; background: linear-gradient(135deg, var(--red-dark), var(--red)); padding: 2px 10px; border-radius: 10px; letter-spacing: 1px; flex-shrink: 0; }
.df-badge.jd { background: linear-gradient(135deg, #8a5a00, #b8860b); }
.df-tags { margin-bottom: 8px; }
.df-tags span {
  display: inline-block; font-size: 11px; color: var(--red); background: #f9ecec;
  border-radius: 3px; padding: 1px 8px; margin: 0 5px 5px 0;
}
.df-card p { font-size: 12px; color: var(--text-mid); line-height: 1.9; margin: 0; }
.df-empty { grid-column: 1 / -1; text-align: center; color: #999; padding: 40px 0; font-size: 14px; }
@media (max-width: 900px) { .df-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .df-grid { grid-template-columns: 1fr; } }

/* ==============================================
   v13.4 首页改版新增组件
   ============================================== */

/* --- 图片新闻位（hero 区顶部两张） --- */
.news-pic-row {
  flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
}
.news-pic-card {
  position: relative; display: block; height: 148px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border-light); background: #eee;
}
.news-pic-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.news-pic-card:hover img { transform: scale(1.04); }
.news-pic-card .overlay {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 7px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.72));
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- 促进会动态通栏（位于 hero「关于我们」版块下方） --- */
.fc-strip {
  width: 100%; margin-bottom: 24px;
  background: linear-gradient(180deg, #faf3ee 0%, #f6ebe2 100%);
  border-top: 1px solid #e8d5c4; border-bottom: 1px solid #e8d5c4;
  padding: 14px 0 16px;
}
.fc-strip-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(183, 28, 28, 0.06);
}
.fc-strip .sec-title { margin: 0 14px; }
.fc-strip-cols {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; padding: 4px 14px 8px;
}
@media (max-width: 768px) { .fc-strip-cols { grid-template-columns: 1fr; } }

/* --- 《天下富春》电子版链接条 --- */
.emag-link {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin: 0 14px 12px; padding: 8px 12px;
  border: 1px solid var(--gold); border-radius: var(--radius);
  background: linear-gradient(180deg, #fffdf5, #fdf6e3);
  color: #8a6d1a; font-size: 13px; font-weight: 600; letter-spacing: 1px;
  text-decoration: none; transition: all 0.2s;
}
.emag-link .emag-name { color: var(--red); }
.emag-link:hover { background: linear-gradient(180deg, #fdf6e3, #f9eccb); box-shadow: 0 1px 4px rgba(201, 162, 39, 0.25); }

/* ==============================================
   v13.5 首页改版新增组件
   ============================================== */

/* --- 首屏轮播大图位（整合原横幅+四张静态图） --- */
.hero-carousel {
  position: relative; overflow: hidden; border-radius: var(--radius);
  height: 340px; background: #222; border: 1px solid var(--border-light);
}
.hc-track { display: flex; height: 100%; transition: transform 0.6s ease; }
.hc-slide { position: relative; flex: 0 0 100%; height: 100%; display: block; }
.hc-slide img { width: 100%; height: 100%; object-fit: cover; }
.hc-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 18px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.68)); color: #fff;
}
.hc-cap h3 { font-size: 17px; font-weight: 700; margin-bottom: 3px; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.hc-cap p { font-size: 12px; opacity: 0.9; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hc-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 34px; height: 48px; border: none; cursor: pointer;
  background: rgba(0,0,0,0.28); color: #fff; font-size: 24px; line-height: 1;
  opacity: 0; transition: opacity 0.25s, background 0.25s;
}
.hero-carousel:hover .hc-btn { opacity: 1; }
.hc-btn:hover { background: rgba(183, 28, 28, 0.75); }
.hc-prev { left: 0; border-radius: 0 4px 4px 0; }
.hc-next { right: 0; border-radius: 4px 0 0 4px; }
.hc-dots { position: absolute; right: 14px; bottom: 12px; display: flex; gap: 7px; z-index: 3; }
.hc-dots i {
  width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.45);
  cursor: pointer; transition: background 0.2s, transform 0.2s;
}
.hc-dots i.on { background: #fff; transform: scale(1.15); }
@media (max-width: 900px) { .hero-carousel { height: 240px; } }
@media (max-width: 560px) { .hero-carousel { height: 180px; } .hc-cap h3 { font-size: 14px; } }

/* --- 精彩富阳通栏（风景/民俗横排组图） --- */
.jc-strip {
  width: 100%; margin-bottom: 24px;
  background: linear-gradient(180deg, #eef4f1 0%, #e4eee9 100%);
  border-top: 1px solid #d2e2d8; border-bottom: 1px solid #d2e2d8;
  padding: 14px 0 16px;
}
.jc-strip-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 12px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 1px 4px rgba(30, 90, 60, 0.05);
}
.jc-strip .sec-title { margin: 0 14px; }
.jc-row {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 12px 14px 14px;
}
.jc-card {
  position: relative; display: block; height: 132px; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border-light); background: #eee;
}
.jc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.jc-card:hover img { transform: scale(1.06); }
.jc-card .jc-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 8px 5px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.66));
  color: #fff; font-size: 12px; font-weight: 600; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (max-width: 900px) { .jc-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .jc-row { grid-template-columns: repeat(2, 1fr); } }

/* --- 《天下富春》电子版通栏（全站唯一入口） --- */
.emag-strip {
  width: 100%; margin-bottom: 24px;
  background: linear-gradient(90deg, #f7e9c8 0%, #fdf6e3 50%, #f7e9c8 100%);
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
}
.emag-banner {
  max-width: var(--max-width); margin: 0 auto; padding: 13px 12px;
  display: flex; align-items: baseline; justify-content: center; gap: 12px;
  text-decoration: none; transition: background 0.2s;
}
.emag-banner:hover { background: rgba(255, 255, 255, 0.35); }
.emag-banner .emag-title {
  font-size: 19px; font-weight: 700; color: var(--red); letter-spacing: 2px;
  font-family: "STZhongsong", "华文中宋", "SimSun", "宋体", serif;
}
.emag-banner .emag-sub { font-size: 13px; color: #8a6d1a; letter-spacing: 1px; }
.emag-banner .emag-go { font-size: 13px; color: #8a6d1a; font-weight: 600; }
.emag-banner:hover .emag-go { color: var(--red); }

/* 2026-09-28：首页紧凑布局与精简页脚 */
.home-page { --gap: 12px; }
.home-page .slogan-bar { padding: 14px 0 12px; margin-bottom: 0; }
.home-page .slogan-sub { margin-bottom: 8px; }
.home-page .slogan-rule { margin-bottom: 8px; }
.home-page .home-main { padding-top: 8px; }
.home-hero {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas: "carousel carousel headlines" "association party local";
  gap: var(--gap); margin-bottom: var(--gap); align-items: start;
}
.home-hero .hero-carousel { grid-area: carousel; height: 300px; }
.home-headlines { grid-area: headlines; }
.home-association { grid-area: association; }
.home-party { grid-area: party; }
.home-local { grid-area: local; }
.home-hero .hero-news-block { min-width: 0; width: 100%; }
.home-hero .hnb-title { min-height: 44px; padding: 9px 12px; line-height: 24px; border-bottom: 2px solid var(--gold); }
.home-hero .hnb-title a { letter-spacing: 0; flex-shrink: 0; }
.home-hero .hnb-body { padding: 6px 12px; }
.home-hero .hnb-body li { padding: 5px 0; }
.home-page .fc-strip, .home-page .jc-strip { margin-bottom: 12px; padding: 0 12px; background: none; border: 0; }
.home-page .emag-strip { margin-bottom: 12px; }
.home-page .emag-banner { padding: 10px 12px; flex-wrap: wrap; gap: 4px 12px; }
.home-page .sec-title { padding-top: 8px; padding-bottom: 8px; }
.home-page .news-list li { padding-top: 5px; padding-bottom: 5px; }
.home-page .jc-row { padding-top: 10px; padding-bottom: 10px; }
.home-overview { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.home-overview > .content-block { min-width: 0; }
.home-overview .combo-block { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.home-overview .combo-img-link img { min-height: 160px; }
.column-placeholder { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; min-height: 104px; padding: 14px 12px; color: #888; text-align: center; }
.compass-mark { color: #927449; font-family: "SimSun", serif; font-size: 17px; letter-spacing: 1px; white-space: nowrap; }
.column-placeholder p { font-size: 13px; }
.home-ad { display: flex; align-items: center; justify-content: center; min-height: 72px; border: 1px dashed #cdbfa6; border-radius: var(--radius); background: #f8f5ef; color: #9b8e77; font-size: 13px; letter-spacing: 4px; }
.footer-compact { padding: 20px 0 14px; margin-top: 12px; }
.footer-about { display: flex; justify-content: center; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; text-align: center; }
.footer-label { font-size: 12px; color: #aaa; }
.footer-org { font-size: 16px; font-weight: 600; color: #eee; }
.footer-org:hover { color: #fff; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; padding: 12px 0; }
.footer-nav a { color: #ccc; font-size: 13px; }
.footer-nav a:hover { color: #fff; }
.footer-compact .footer-bottom { padding-top: 10px; color: #aaa; }
.footer-compact .footer-registration a { color: #bbb; }
.footer-compact .footer-registration a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 992px) {
  .home-hero { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-hero .hero-carousel { height: 280px; }
  .home-page .rolling-date { display: none; }
}
@media (max-width: 768px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "carousel" "headlines" "association" "party" "local"; }
  .home-hero .hero-carousel { height: 230px; }
  .home-overview { grid-template-columns: minmax(0, 1fr); }
  .home-page .slogan-links { gap: 4px; }
  .home-page .emag-sub { width: 100%; text-align: center; }
  .home-ad { min-height: 60px; }
  .footer-org { font-size: 15px; }
}
@media (max-width: 480px) {
  .home-hero .hero-carousel { height: 190px; }
  .home-overview .combo-block { grid-template-columns: minmax(0, 1fr); }
  .home-page .slogan-main { font-size: 22px; }
  .home-page .hc-cap { padding-left: 12px; padding-right: 12px; }
  .home-page .hc-cap h3 { max-width: calc(100% - 58px); }
}

.home-page .content-block.reveal { opacity: 1; transform: none; }

@media (max-width: 480px) {
  .header .container { flex-wrap: nowrap; gap: 0; }
  .header .logo-badge { margin-right: 8px; }
  .header .logo-badge img { width: 42px; height: 42px; }
  .header .site-title h1 { font-size: 24px; letter-spacing: 1px; }
  .header .site-title .site-url { font-size: 10px; letter-spacing: 0; }
  .header-right { width: auto; margin-top: 0; flex-shrink: 0; }
  .header-right .pub-btn { padding: 6px 10px; font-size: 12px; }
}

/* 2026-09-29：关于我们分组与图片自动滚动 */
.footer-about-menu { text-align: center; margin: 10px auto; }
.footer-about-menu summary { display: inline-block; cursor: pointer; color: #ddd; padding: 5px 16px; font-size: 14px; border: 1px solid #666; border-radius: 4px; }
.footer-about-menu summary::after { content: ' +'; }
.footer-about-menu[open] summary::after { content: ' −'; }
.footer-about-menu summary:focus-visible, .image-scroll-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.image-scroll-toggle { display: block; margin: 6px 14px 0 auto; padding: 3px 9px; background: #fff; color: #777; border: 1px solid #ddd; border-radius: 3px; font-size: 12px; cursor: pointer; }
.home-page .image-scroll-row { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-behavior: auto; }
.image-scroll-row::-webkit-scrollbar { display: none; }
.home-page .image-scroll-row > a { flex: 0 0 calc((100% - 40px) / 5); min-width: 0; }
.home-page .pic-row.image-scroll-row > a { flex-basis: calc((100% - 30px) / 4); }
@media(max-width: 992px) { .home-overview .combo-block { grid-template-columns: minmax(0, 1fr); } }
@media(max-width: 768px) {
  .home-page .image-scroll-row > a, .home-page .pic-row.image-scroll-row > a { flex-basis: calc((100% - 10px) / 2); }
}
@media(prefers-reduced-motion: reduce) { .hc-track { transition: none; } }

/* 旧列表可能超过十条，首页按栏目上限展示。 */
.home-association li:nth-child(n+11), .home-party li:nth-child(n+11), .home-local li:nth-child(n+11) { display: none; }

/* 首页内容卡片统一容器边界与内边距；电子版入口为闭合矩形。 */
.home-page .fc-strip-inner, .home-page .jc-strip-inner { padding: 0; }
.home-page .fc-strip .sec-title, .home-page .jc-strip .sec-title { margin: 0; }
.home-page .fc-strip-cols { padding-left: 0; padding-right: 0; }
.home-page .emag-strip { border: 1px solid var(--gold); }

.home-ad-image { padding: 0; border-style: solid; overflow: hidden; }
.home-ad-image img { width: 100%; height: auto; max-height: 200px; object-fit: contain; }

/* 广告位专题：原图完整展示，报道保留原文、来源和发布日期。 */
.home-ad-topic { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr); border: 1px solid #c92a22; background: #fffaf1; overflow: hidden; }
.home-ad-topic-cover { display: flex; align-items: center; min-width: 0; background: #c5160c; }
.home-ad-topic-cover img { display: block; width: 100%; height: auto; }
.home-ad-topic-body { min-width: 0; padding: 14px 20px 10px; }
.home-ad-topic-body h3 { margin-bottom: 10px; font-size: 17px; line-height: 1.4; color: var(--red-dark); }
.home-ad-topic-body ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; }
.home-ad-topic-body li { min-width: 0; border-left: 2px solid #d8a358; padding-left: 10px; }
.home-ad-topic-body li a { display: block; font-size: 14px; line-height: 1.6; color: #4d231e; overflow-wrap: anywhere; }
.home-ad-topic-body li a:hover { color: var(--red); text-decoration: underline; }
.home-ad-topic-body li span { display: block; margin-top: 4px; color: #877568; font-size: 11px; }
.home-ad-topic-source { margin-top: 10px; color: #877568; font-size: 11px; line-height: 1.5; }
.home-ad-topic a:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
@media (max-width: 992px) { .home-ad-topic-body ul { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 768px) {
  .home-ad-topic { grid-template-columns: minmax(0, 1fr); }
  .home-ad-topic-body { padding: 14px; }
  .home-ad-topic-body ul { gap: 14px; }
}

/* 2026-10-14：首页栏目差异化。仅调整指定区域，卫生·教育及相邻网格保持原样。 */
.home-page .header .container { padding-top: 6px; padding-bottom: 6px; }
.home-page .header .logo-badge img { object-fit: contain; }
.home-page .header-right .pub-btn { padding: 4px 14px; line-height: 20px; }
.home-page .home-news-title {
  min-height: 44px; padding: 9px 12px;
  background: linear-gradient(180deg, #c22828 0%, #a81212 100%);
  border-bottom: 2px solid var(--gold);
}
.home-page .home-news-title h3 { color: #fff; line-height: 24px; letter-spacing: 0; }
.home-page .home-news-title .more { color: #fff; flex-shrink: 0; }
.home-page .home-news-title .more:hover { color: #ffcdd2; }
.home-more-links { display: flex; gap: 12px; flex-shrink: 0; }
.home-culture-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; padding: 6px 0; }
.home-page .home-culture-list li,
.home-page .home-editorial-panel .news-list li { min-width: 0; line-height: 1.6; padding-top: 5px; padding-bottom: 5px; }
.home-culture-list:empty::before { content: '暂无文旅业态文章'; grid-column: 1 / -1; padding: 12px 14px; color: var(--text-light); }
.home-page .home-industry-image { margin: 10px 14px 6px; }
.home-page .home-industry-image img { height: 120px; }
/* 首页仅展示每组前三条；完整列表及所有文章保留在数据库和相应栏目中。 */
.home-page .home-industry .news-list li:nth-child(n+4) { display: none; }
.home-page .home-editorial-panel .video-mini-list li { padding-top: 5px; padding-bottom: 5px; font-size: 14px; line-height: 1.6; }
.home-optional-row:empty { display: none; }
.home-editorial-grid, .home-community { align-items: start; }
.home-editorial-stack { display: grid; gap: var(--gap); min-width: 0; }
.home-editorial-panel { min-width: 0; }
.home-editorial-panel .sec-title { flex-wrap: wrap; gap: 4px 10px; }
.section-news li { align-items: flex-start; }
.section-news li a { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.section-news:not(:empty) + .section-empty { display: none; }
.section-empty { padding: 8px 14px; color: var(--text-mid); font-size: 13px; }
.health-stories { display: grid; gap: 12px; }
@media (min-width: 769px) {
  .home-overview { align-items: stretch; }
  .home-overview > .content-block,
  .home-overview .news-thumb-list ul,
  .home-directions > .news-list { display: flex; flex-direction: column; }
  .home-overview .combo-block,
  .home-overview .news-thumb-list li,
  .home-directions > .news-list,
  .home-directions > .news-list li,
  .home-directions > .column-placeholder { flex-grow: 1; }
  .home-overview .news-thumb-list ul { height: 100%; }
  .home-directions > .news-list li { align-content: center; }
}
@media (min-width: 993px) {
  .home-editorial-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
  .home-editorial-stack { grid-template-rows: auto 1fr; }
  .home-editorial-panel,
  .home-editorial-panel .video-mini,
  .home-editorial-panel .video-mini-list,
  .home-editorial-panel > .news-list:has(li) { display: flex; flex-direction: column; }
  .home-editorial-panel .video-mini,
  .home-editorial-panel .video-mini-list,
  .home-editorial-panel .video-mini-list li,
  .home-editorial-panel > .news-list:has(li),
  .home-editorial-panel .news-list li { flex-grow: 1; }
  .home-editorial-panel .video-mini-thumb { height: 120px; }
  .home-editorial-panel .video-mini-list li { align-content: center; }
  .home-editorial-stack .section-news li { align-items: center; }
  .home-hero .hero-carousel { height: auto; min-height: 210px; align-self: stretch; }
  .home-hero .hc-track { position: absolute; inset: 0; }
  .home-people-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .home-culture-list { grid-template-columns: minmax(0, 1fr); }
  .section-news li { flex-direction: column; gap: 2px; }
  .section-news li .date { margin-left: 0; }
}
@media (max-width: 480px) {
  .home-page .header .container { padding-top: 5px; padding-bottom: 5px; }
  .home-page .header-right .pub-btn { padding: 4px 10px; }
  #jkTabs a { flex: 1; min-width: 0; padding: 8px 4px; text-align: center; }
}

/* 2026-10-25：全站文章搜索、官方资讯与手机页头。 */
.header-right { display: flex; align-items: center; gap: 12px; }
.header-right .pub-btn { margin-bottom: 0; }
.header-search { display: flex; align-items: stretch; width: 250px; height: 36px; border: 1px solid #d8d8d8; border-radius: 4px; overflow: hidden; background: #fafafa; }
.header-search input { min-width: 0; width: 100%; border: 0; background: transparent; padding: 7px 10px; font: inherit; font-size: 13px; }
.header-search button { flex: 0 0 40px; display: grid; place-items: center; border: 0; background: var(--red); color: #fff; cursor: pointer; }
.header-search svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.header-search:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.header-search input:focus { outline: none; }
.header-search button:hover, .article-search button:hover { background: var(--red-dark); }
.header-search button:focus-visible, .article-search button:focus-visible { outline: 2px solid #eab54f; outline-offset: -3px; }
.article-search { padding: 18px; margin-bottom: 16px; background: #fff; border: 1px solid var(--border); }
.article-search label { display: block; margin-bottom: 8px; font-weight: 600; }
.article-search-controls { display: flex; }
.article-search input { flex: 1; width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid #ccc; font: inherit; }
.article-search input:focus { outline: 2px solid var(--red); outline-offset: -2px; }
.article-search button { flex-shrink: 0; padding: 9px 22px; border: 0; background: var(--red); color: #fff; font: inherit; cursor: pointer; }
.article-search p { margin-top: 7px; color: var(--text-light); font-size: 12px; }
.news-list-page .main-col { width: 100%; }
.news-list-page .main .news-list li { align-items: flex-start; }
.news-list-page .main .news-list a { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.news-list .news-empty { padding: 24px 14px; color: var(--text-mid); white-space: normal; }
.home-directions .news-list li { display: block; padding-top: 8px; padding-bottom: 8px; line-height: 1.6; }
.home-directions .news-list li a { display: block; white-space: normal; overflow: visible; }
.home-directions .news-list .date { display: block; margin: 3px 0 0; font-size: 12px; white-space: normal; }
@media (max-width: 768px) {
  .header .container { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
  .header .logo-badge { margin-right: 0; }
  .header .site-title { min-width: 0; }
  .header-right { display: contents; }
  .header-right .pub-btn { grid-column: 3; grid-row: 1; }
  .header-search { grid-column: 1 / -1; grid-row: 2; width: 100%; height: 38px; }
  .news-list-page .main .news-list li { flex-direction: column; gap: 3px; }
  .news-list-page .main .news-list .date { margin-left: 0; }
}
