/* ==========================================================================
   360CBA直播在线 - 全站样式表
   配色：深蓝炭 #131a1f / 烈焰橙 #ff6b00 / 薄荷绿 #00d9a3
   ========================================================================== */

/* ---------- 变量 ---------- */
:root {
  --primary: #131a1f;
  --primary-light: #1d262d;
  --primary-dark: #0b1013;
  --secondary: #ff6b00;
  --secondary-light: #ff8c33;
  --accent: #00d9a3;
  --accent-glow: rgba(255, 107, 0, .13);
  --accent-border: rgba(255, 107, 0, .30);
  --bg: #0b1013;
  --bg-card: #161e24;
  --bg-card-alt: #1f2a32;
  --text: #eef3f6;
  --text-muted: #8fa3b0;
  --text-dark: #64798a;
  --border: rgba(255, 255, 255, .07);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 2px 12px rgba(0, 0, 0, .5);
  --transition: all .3s ease;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.page-body { padding-top: 24px; padding-bottom: 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(11, 16, 19, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, .6); background: rgba(11, 16, 19, .98); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary), #ff3d00);
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, .38);
}
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; }
.logo-text em { font-style: normal; color: var(--accent); font-size: 13px; font-weight: 600; display: block; letter-spacing: 2px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  position: relative;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.main-nav a.active { color: var(--secondary); background: var(--accent-glow); }
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 2px;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--secondary);
}

/* 汉堡按钮 */
.hamburger {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .06);
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 移动端抽屉导航 */
.mobile-nav {
  position: fixed;
  top: 64px; left: 0; right: 0;
  bottom: 0;
  z-index: 890;
  background: rgba(11, 16, 19, .98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 16px;
  display: none;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .25s ease;
}
.mobile-nav.show { display: flex; opacity: 1; transform: translateY(0); }
.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.mobile-nav a i { color: var(--secondary); font-size: 14px; width: 18px; text-align: center; }
.mobile-nav a:active { background: var(--bg-card-alt); }

/* ---------- 首页 Hero ---------- */
.hero-banner {
  position: relative;
  overflow: hidden;
  padding: 48px 0 42px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 107, 0, .20), transparent 46%),
    radial-gradient(circle at 88% 82%, rgba(0, 217, 163, .14), transparent 50%),
    linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 52%, #0a1712 100%);
  border-bottom: 1px solid var(--border);
}
.hero-banner::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 0, .18), transparent 70%);
  pointer-events: none;
}
.hero-banner::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-border), transparent);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-title {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: .5px;
  margin-bottom: 12px;
}
.hero-title span { color: var(--secondary); }
.hero-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 20px;
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--accent);
  background: rgba(0, 217, 163, .10);
  border: 1px solid rgba(0, 217, 163, .28);
  border-radius: 100px;
}
.hero-tags .tag i { font-size: 11px; }

/* ---------- 直播状态条 ---------- */
.live-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px 16px;
  margin-top: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
}
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
  animation: pulse 1.6s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 107, 0, .65); }
  70%  { box-shadow: 0 0 0 8px rgba(255, 107, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 107, 0, 0); }
}
.live-bar strong { color: var(--secondary); font-weight: 700; }
.live-bar .sep { color: var(--text-dark); }

/* ---------- 面包屑 ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dark);
  padding: 14px 0 0;
}
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb i { font-size: 10px; }

/* ---------- 主体两栏布局 ---------- */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  align-items: start;
}
.main-content { min-width: 0; }

/* ---------- 区块标题 ---------- */
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.section-title h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .3px;
}
.section-title h2::before {
  content: '';
  width: 4px; height: 17px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--accent));
}
.section-title h2 i { color: var(--secondary); font-size: 15px; }
.section-title .more { font-size: 13px; color: var(--text-dark); display: flex; align-items: center; gap: 4px; }
.section-title .more:hover { color: var(--secondary); }

/* ---------- 头条卡片 ---------- */
.featured-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 24px;
  cursor: pointer;
  transition: var(--transition);
}
.featured-card:hover { border-color: var(--accent-border); transform: translateY(-2px); box-shadow: 0 8px 26px rgba(0, 0, 0, .55); }
.featured-card-img { position: relative; }
.featured-card-img img { width: 100%; height: 320px; object-fit: cover; }
.featured-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(11, 16, 19, .94) 100%);
}
.featured-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  z-index: 2;
}
.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), #ff3d00);
  border-radius: 4px;
  margin-bottom: 10px;
}
.featured-card-body h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 8px;
}
.featured-card-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

/* ---------- 直播频道网格 ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.channel-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.channel-card:hover { border-color: var(--accent-border); background: var(--bg-card-alt); transform: translateY(-2px); }
.channel-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--accent-glow);
  border: 1px solid var(--accent-border);
  color: var(--secondary);
  font-size: 17px;
}
.channel-info { min-width: 0; }
.channel-info h4 {
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-info span { font-size: 12px; color: var(--text-dark); display: flex; align-items: center; gap: 5px; }
.channel-info .on-air { color: var(--accent); font-weight: 600; }

/* ---------- 分类网格 ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
}
.cat-item:hover { border-color: var(--accent-border); background: var(--bg-card-alt); transform: translateY(-3px); }
.cat-item i {
  font-size: 20px;
  color: var(--accent);
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0, 217, 163, .08);
  border: 1px solid rgba(0, 217, 163, .22);
}
.cat-item span { font-size: 13px; font-weight: 600; }
.cat-item em { font-style: normal; font-size: 11.5px; color: var(--text-dark); }

/* ---------- 资讯卡片列表 ---------- */
.news-card {
  display: flex;
  gap: 16px;
  padding: 14px;
  margin-bottom: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.news-card:hover { border-color: var(--accent-border); background: var(--bg-card-alt); transform: translateX(3px); }
.news-card-img {
  width: 200px;
  height: 130px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-card-alt);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-card:hover .news-card-img img { transform: scale(1.06); }
.news-card-body { min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.news-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-body h3 a:hover { color: var(--secondary); }
.news-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: var(--text-dark);
}
.news-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.news-card-meta i { font-size: 11px; color: var(--text-dark); }
.news-card-meta .tag {
  padding: 2px 9px;
  font-size: 11.5px;
  color: var(--accent);
  background: rgba(0, 217, 163, .09);
  border: 1px solid rgba(0, 217, 163, .24);
  border-radius: 100px;
}

/* ---------- 分页 ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 8px;
}
.pagination a,
.pagination span {
  width: 60px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.pagination .page-text { width: 60px; font-size: 13px; }
.pagination a:hover { color: var(--secondary); border-color: var(--accent-border); background: var(--bg-card-alt); }
.pagination .active {
  color: #fff;
  background: linear-gradient(135deg, var(--secondary), #ff3d00);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(255, 107, 0, .32);
}
.pagination .disabled { opacity: .4; cursor: not-allowed; }

/* ---------- 侧栏 ---------- */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}
.widget-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.widget-title i { color: var(--secondary); font-size: 14px; }

.hot-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13.5px;
  line-height: 1.55;
}
.hot-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.hot-list li a { flex: 1; color: var(--text-muted); }
.hot-list li a:hover { color: var(--secondary); }
.hot-rank {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--bg-card-alt);
  border-radius: 4px;
  margin-top: 2px;
}
.hot-list li:nth-child(1) .hot-rank { background: linear-gradient(135deg, var(--secondary), #ff3d00); color: #fff; }
.hot-list li:nth-child(2) .hot-rank { background: var(--accent); color: #06231b; }
.hot-list li:nth-child(3) .hot-rank { background: var(--bg-card-alt); color: var(--secondary); }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  padding: 5px 11px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.tag-cloud a:hover { color: var(--accent); border-color: rgba(0, 217, 163, .4); background: rgba(0, 217, 163, .08); }

.side-about p { font-size: 13px; color: var(--text-muted); line-height: 1.75; }

/* ---------- 详情页 ---------- */
.detail-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}
.detail-content h1 {
  font-size: 25px;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .3px;
  margin-bottom: 14px;
}
.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: var(--text-dark);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.detail-meta i { font-size: 11px; }
.detail-meta .meta-tag {
  padding: 2px 9px;
  color: var(--accent);
  background: rgba(0, 217, 163, .09);
  border: 1px solid rgba(0, 217, 163, .24);
  border-radius: 100px;
}

.detail-body { font-size: 15px; line-height: 1.95; color: var(--text); }
.detail-body p { margin-bottom: 16px; }
.detail-body h2 {
  font-size: 18px;
  font-weight: 700;
  margin: 26px 0 12px;
  padding-left: 11px;
  border-left: 3px solid var(--secondary);
  line-height: 1.5;
}
.detail-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--secondary-light);
}
.detail-body img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 16px 0;
}
.detail-body figure { margin: 18px 0; }
.detail-body figcaption {
  font-size: 12.5px;
  color: var(--text-dark);
  text-align: center;
  margin-top: 8px;
}
.detail-body blockquote {
  padding: 14px 16px;
  margin: 18px 0;
  background: var(--bg-card-alt);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
}
.detail-body ul { margin: 0 0 16px; padding-left: 0; }
.detail-body ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 14.5px;
  color: var(--text-muted);
}
.detail-body ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 11px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--secondary);
}

.detail-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dark);
}
.detail-tags a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  font-size: 12.5px;
  color: var(--text-muted);
  background: var(--bg-card-alt);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.detail-tags a:hover { color: var(--accent); border-color: rgba(0, 217, 163, .4); }

/* 上一篇/下一篇 */
.nav-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}
.nav-links a {
  display: block;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}
.nav-links a:hover { border-color: var(--accent-border); background: var(--bg-card-alt); color: var(--text); }
.nav-links a span { display: block; font-size: 11.5px; color: var(--text-dark); margin-bottom: 4px; }
.nav-links a span i { margin-right: 4px; }

/* ---------- 底部 ---------- */
.site-footer {
  margin-top: 36px;
  padding: 28px 0 24px;
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 14px;
}
.footer-links a { font-size: 13px; color: var(--text-muted); }
.footer-links a:hover { color: var(--secondary); }
.footer-copy {
  text-align: center;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--text-dark);
}

/* ---------- 回顶按钮 ---------- */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 800;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #ff3d00);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(255, 107, 0, .38);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }

/* ==========================================================================
   响应式
   ========================================================================== */

/* 平板：侧栏转双列 */
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; }
  .sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }
  .sidebar-widget { margin-bottom: 0; }
  .featured-card-img img { height: 280px; }
}

/* 手机横屏 / 平板竖屏 */
@media (max-width: 768px) {
  body { font-size: 14.5px; }
  .header-inner { height: 58px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { top: 58px; }
  .logo-text { font-size: 17px; }
  .logo-icon { width: 34px; height: 34px; font-size: 16px; }

  .hero-banner { padding: 32px 0 28px; }
  .hero-title { font-size: 22px; }
  .hero-sub { font-size: 13px; margin-bottom: 16px; }

  .channel-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }

  .featured-card-img img { height: 210px; }
  .featured-card-body { padding: 16px; }
  .featured-card-body h3 { font-size: 17px; }
  .featured-card-body p { font-size: 12.5px; }

  .news-card { flex-direction: column; gap: 12px; padding: 12px; }
  .news-card-img { width: 100%; height: 180px; }
  .news-card-body h3 { font-size: 15.5px; }
  .news-card-meta { gap: 10px; font-size: 11.5px; }

  .sidebar { grid-template-columns: 1fr; }

  .detail-content { padding: 16px; }
  .detail-content h1 { font-size: 20px; }
  .detail-body { font-size: 14.5px; line-height: 1.9; }
  .detail-body h2 { font-size: 16.5px; margin: 22px 0 10px; }
  .detail-body h3 { font-size: 15px; }

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

  .back-top { right: 14px; bottom: 18px; width: 40px; height: 40px; font-size: 14px; }
}

/* 小屏手机 */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .page-body { padding-top: 16px; padding-bottom: 16px; }
  .hero-title { font-size: 19px; }
  .hero-tags .tag { font-size: 11.5px; padding: 4px 10px; }

  .section-title h2 { font-size: 16px; }
  .section-title .more { font-size: 12px; }

  .featured-card-img img { height: 175px; }
  .featured-card-body h3 { font-size: 15.5px; }

  .cat-item { padding: 14px 6px; }
  .cat-item i { width: 38px; height: 38px; font-size: 17px; }
  .cat-item span { font-size: 12.5px; }

  .news-card-img { height: 160px; }
  .news-card-body h3 { font-size: 14.5px; }

  .pagination a,
  .pagination span { width: 44px; height: 32px; font-size: 12px; }
  .pagination .page-text { width: 56px; font-size: 12px; }

  .detail-content h1 { font-size: 18px; }
  .detail-body { font-size: 14px; }
  .footer-links { gap: 6px 14px; }
  .footer-links a { font-size: 12px; }
}
