/* =========================================================
   三原色网络科技官网 - 前台样式
   现代商务蓝风格 · 移动端自适应 · SEO 友好
   ========================================================= */

:root {
  --primary: #1a5fc4;
  --primary-dark: #134a9c;
  --primary-light: #e8f0fc;
  --accent: #ff8c42;         /* 点缀橙 */
  --dark: #16324f;
  --text: #2c3e50;
  --text-light: #6b7a8d;
  --bg: #ffffff;
  --bg-light: #f4f7fb;
  --border: #e5ebf3;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(22, 50, 79, 0.08);
  --shadow-lg: 0 10px 30px rgba(22, 50, 79, 0.12);
  --container: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { line-height: 1.3; color: var(--dark); }

.section { padding: 72px 0; }
.section-alt { background: var(--bg-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head .section-tag {
  display: inline-block;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.section-head h2 { font-size: 32px; font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--text-light); }

/* ===== 顶部导航 ===== */
.site-header {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 40px; width: auto; display: block; }
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { color: var(--dark); font-size: 17px; }
.logo-text small { color: var(--text-light); font-size: 12px; }

.site-nav { display: flex; gap: 6px; }
.site-nav a {
  padding: 8px 16px; color: var(--text); font-size: 15px; font-weight: 500;
  border-radius: 6px; position: relative;
}
.site-nav a:hover { color: var(--primary); background: var(--primary-light); }
.site-nav a.active { color: var(--primary); font-weight: 600; }
.site-nav a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 2px;
  height: 2px; background: var(--primary); border-radius: 2px;
}
.nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--dark); cursor: pointer; }

/* ===== 英雄区（首页） ===== */
.hero {
  background: linear-gradient(135deg, #16324f 0%, #1a5fc4 70%, #2196f3 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 90px;  /* 顶部留导航高度，内容垂直居中 */
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 380px; height: 380px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 40px; font-weight: 800; margin-bottom: 20px; line-height: 1.25; }
.hero h1 .hl { color: #ffd57a; }
.hero p { color: #dbe7f7; font-size: 17px; margin-bottom: 30px; max-width: 540px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 12px 28px; border-radius: 8px;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.25s;
  border: 2px solid transparent;
}
.btn-primary { background: #fff; color: var(--primary); }
.btn-primary:hover { background: var(--accent); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.btn-outline-w { background: transparent; border-color: rgba(255,255,255,0.6); color: #fff; }
.btn-outline-w:hover { background: #fff; color: var(--primary); }

.hero-stats { display: flex; gap: 36px; margin-top: 44px; }
.hero-stats .stat-num { font-size: 30px; font-weight: 800; color: #ffd57a; }
.hero-stats .stat-label { font-size: 13px; color: #c7d9ee; }
.hero-text { max-width: 600px; }
.hero-stat { text-align: left; }
.hero-stat .stat-num { font-size: 30px; font-weight: 800; color: #ffd57a; }
.hero-stat .stat-num i { font-style: normal; font-size: 20px; vertical-align: super; }
.hero-stat .stat-label { font-size: 13px; color: #c7d9ee; }

/* ===== 服务卡片网格 ===== */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.svc-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: all 0.3s; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.svc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.svc-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.svc-head h3 { font-size: 17px; line-height: 1.3; }
.svc-sub { color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.svc-list { list-style: none; margin: 0 0 16px; padding: 0; flex: 1; }
.svc-list li {
  color: var(--text-light); font-size: 13px; line-height: 1.9;
  border-bottom: 1px dashed var(--border); padding: 4px 0;
}
.svc-list li:last-child { border-bottom: none; }
.svc-more {
  display: inline-block; color: var(--primary); font-weight: 600; font-size: 14px; margin-top: auto;
}
.svc-more:hover { color: var(--primary-dark); }

/* ===== 卡片网格 ===== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px; transition: all 0.3s; box-shadow: var(--shadow);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card .card-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 18px;
}
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card .card-sub { color: var(--primary); font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--text-light); font-size: 15px; }
.card .card-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 14px; }

/* ===== 案例卡片 ===== */
.case-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; }
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card .case-thumb { height: 190px; background: linear-gradient(135deg, var(--primary-light), var(--bg-light)); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 44px; overflow: hidden; }
.case-card .case-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-card .case-body { padding: 22px; }
.case-card .case-type { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 1px; margin-bottom: 8px; }
.case-card h3 { font-size: 18px; margin-bottom: 8px; }
.case-card p { color: var(--text-light); font-size: 14px; }

/* ===== 文章卡片 ===== */
.article-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.3s; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.article-card .article-date { color: var(--text-light); font-size: 13px; margin-bottom: 10px; }
.article-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.article-card p { color: var(--text-light); font-size: 14px; flex: 1; }

/* ===== 新闻列表页（buuguu 风格） ===== */
.article-filter { background: #f5f8fc; border-bottom: 1px solid var(--border); padding: 18px 0; }
.article-sort { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.article-sort li a {
  display: inline-block; padding: 8px 20px; border-radius: 30px;
  font-size: 14px; font-weight: 600; color: var(--text-light);
  border: 1px solid var(--border); background: #fff; transition: all 0.25s;
}
.article-sort li a:hover { color: #fff; background: var(--primary); border-color: var(--primary); }
.article-sort li.active a { color: #fff; background: var(--primary); border-color: var(--primary); }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-item {
  border-bottom: 1px solid var(--border);
  transition: all 0.25s;
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { background: #f8fbfe; }
.news-link {
  display: flex; align-items: center; gap: 22px;
  padding: 22px 6px; color: inherit;
}
.news-date {
  flex-shrink: 0; width: 74px; text-align: center;
  padding: 8px 4px; border-radius: 8px;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; line-height: 1.3;
}
.news-date b { display: block; font-size: 26px; line-height: 1; margin-bottom: 3px; color: var(--primary); }
.news-text { flex: 1; min-width: 0; }
.news-text h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; color: var(--text); }
.news-link:hover .news-text h3 { color: var(--primary); }
.news-text p {
  color: var(--text-light); font-size: 14px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-arrow {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: var(--border); color: var(--text-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; transition: all 0.25s;
}
.news-item:hover .news-arrow { background: var(--primary); color: #fff; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text-light); background: #fff; transition: all 0.2s;
}
.page-btn:hover { border-color: var(--primary); color: var(--primary); }
.page-btn.current { background: var(--primary); color: #fff; border-color: var(--primary); cursor: default; }

/* ===== 横幅 Banner（列表页，与详情页 page-hero 同一视觉语言） ===== */
.bnr {
  background: linear-gradient(135deg, #16324f, #1a5fc4);
  color: #fff;
  height: 356px;                 /* 固定 Banner 高度 356px */
  display: flex;                 /* 内容垂直水平居中 */
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
/* 有 Banner 背景图时：图上叠半透明层保证文字可读 */
.bnr--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 40, 70, 0.45);
}
.bnr--img .bnr-inner {
  position: relative;
  z-index: 1;
}
.bnr--img,
.bnr {
  flex-direction: column;
}
.bnr-inner {
  position: relative;
  z-index: 1;
}
.bnr h1 { color: #fff; font-size: 34px; font-weight: 700; margin-bottom: 12px; }
.bnr p { color: #d7e3f5; font-size: 18px; margin: 0; }
.bnr-inner { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ===== 面包屑（crumb-row） ===== */
.crumb-row { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; }
.crumb-row .breadcrumb { color: var(--text-light); font-size: 14px; }
.crumb-row .breadcrumb a { color: var(--primary); }
.crumb-row .breadcrumb a:hover { color: var(--primary-dark); }

/* ===== 空状态 ===== */
.empty-state { text-align: center; color: var(--text-light); padding: 60px 0; }
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; }

/* ===== 详情页 ===== */
.page-hero {
  background: linear-gradient(135deg, #16324f, #1a5fc4);
  color: #fff; padding: 60px 0 48px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: 32px; margin-bottom: 10px; }
.page-hero .breadcrumb { color: #c7d9ee; font-size: 14px; }
.page-hero .breadcrumb a { color: #ffd57a; }
.single-content { max-width: 860px; margin: 0 auto; }
.single-content .meta { color: var(--text-light); font-size: 14px; margin-bottom: 20px; }
.single-content .prose { margin-top: 24px; }
.single-content .prose p { margin-bottom: 16px; text-indent: 2em; }
.single-content .prose h2 { font-size: 24px; margin: 28px 0 14px; }
.single-content .prose h3 { font-size: 20px; margin: 22px 0 12px; }
.single-content .prose ul, .single-content .prose ol { margin: 0 0 16px 22px; }
.single-content .prose li { margin-bottom: 6px; }
.single-content .prose img { border-radius: var(--radius); margin: 20px 0; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
.contact-info .info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-info .info-icon { width: 46px; height: 46px; border-radius: 10px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-info .info-item h4 { font-size: 16px; margin-bottom: 4px; }
.contact-info .info-item p { color: var(--text-light); }

.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 14px; }
.contact-form .form-control {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 8px;
  font-size: 15px; font-family: inherit; transition: border-color 0.2s;
  background: var(--bg);
}
.contact-form .form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(26, 95, 196, 0.12); }
.contact-form textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14px; }
.alert-success { background: #e6f7ec; color: #1a7f37; border: 1px solid #b7e4c7; }
.alert-error { background: #fde8e8; color: var(--danger, #d9534f); border: 1px solid #f5c6c6; }

/* ===== 分页 / 返回 ===== */
.back-link { display: inline-block; margin-top: 30px; color: var(--text-light); font-size: 14px; }
.back-link:hover { color: var(--primary); }

/* ===== 页脚 ===== */
.site-footer { background: var(--dark); color: #cfe0f2; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.3fr; gap: 40px; padding: 56px 20px; }
.footer-col .footer-logo { height: 52px; width: auto; display: block; }
.footer-col.footer-brand { flex: 1.4; }
.footer-col.footer-brand .footer-logo { height: 48px; }
.footer-col p { color: #aec8e0; font-size: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; font-size: 14px; color: #aec8e0; }
.footer-col a { color: #aec8e0; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 18px 0; text-align: center; }
.footer-bottom .container { display: flex; justify-content: center; gap: 20px; font-size: 13px; color: #8aa5c0; flex-wrap: wrap; }
.footer-bottom a { color: #8aa5c0; }

/* ===== 响应式 ===== */
@media (max-width: 968px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    flex-direction: column; padding: 12px 20px; box-shadow: var(--shadow-lg);
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 8px; border-bottom: 1px solid var(--border); }
  .site-nav a.active::after { display: none; }
}
@media (max-width: 600px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-head h2 { font-size: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0; }
  .hero h1 { font-size: 27px; }
  .logo-text small { display: none; }
}

/* =========================================================
   大气化升级样式（参考现代商务建站布局）
   ========================================================= */

/* 英雄区徽标 */
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.hero h1 { font-size: 44px; }
.hero .stat-num i { font-style: normal; font-size: 20px; vertical-align: super; }

/* 英雄区装饰图形（三原色圆点 + 圆环） */
.hero-visual-inner {
  position: relative;
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual-inner .ring {
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, 0.35);
  animation: spin 30s linear infinite;
}
.hero-visual-inner .dot {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}
.hero-visual-inner .dot-r { background: #ff4d4f; top: 60px; left: 30%; animation: float 3s ease-in-out infinite; }
.hero-visual-inner .dot-b { background: #2196f3; bottom: 60px; left: 26%; animation: float 3s ease-in-out 0.5s infinite; }
.hero-visual-inner .dot-y { background: #ffc53d; bottom: 100px; right: 26%; animation: float 3s ease-in-out 1s infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

/* 数据统计横条（三原色） */
.stats-strip {
  background: var(--dark);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { position: relative; padding: 10px 4px; }
.stat-item .stat-num {
  font-size: 44px; font-weight: 800;
  color: #fff; line-height: 1;
  margin-bottom: 8px;
}
.stat-item .stat-num i { font-style: normal; vertical-align: super; font-size: 22px; }
/* 用三原色给数字做点缀 */
.stat-item:nth-child(1) .stat-num { color: #ff6b6b; }
.stat-item:nth-child(2) .stat-num { color: #ffc53d; }
.stat-item:nth-child(3) .stat-num { color: #4dabf7; }
.stat-item:nth-child(4) .stat-num { color: #69db7c; }
.stat-item .stat-label { color: #aec8e0; font-size: 14px; letter-spacing: 1px; }
.stat-item::before {
  content: ''; position: absolute; left: 50%; top: -8px; transform: translateX(-50%);
  width: 34px; height: 3px; border-radius: 3px;
}
.stat-item:nth-child(1)::before { background: #ff6b6b; }
.stat-item:nth-child(2)::before { background: #ffc53d; }
.stat-item:nth-child(3)::before { background: #4dabf7; }
.stat-item:nth-child(4)::before { background: #69db7c; }

/* 服务卡片升级图标域 */
.service-card .card-icon {
  background: linear-gradient(135deg, var(--primary-light), #dbe8fb);
  border-radius: 14px;
  transition: all 0.3s;
}
.service-card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  transform: translateY(-3px) rotate(-4deg);
}

/* CTA 转化区 */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 60px 0;
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.cta-inner h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta-inner p { color: #dbe7f7; font-size: 15px; }
.btn-cta {
  background: #fff; color: var(--primary);
  font-size: 17px; padding: 15px 40px; border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.btn-cta:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

/* 响应式补充 */
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-item .stat-num { font-size: 34px; }
  .hero h1 { font-size: 33px; }
  .hero-visual-inner { height: 240px; }
  .cta-inner { justify-content: center; text-align: center; }
}

/* 手机端全屏英雄区优化 + 恢复hero-stats响应式 */
@media (max-width: 600px) {
  .hero { min-height: 100svh; padding: 90px 0 56px; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
}

/* 上一篇 / 下一篇导航 */
.prev-next-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.prev-next-item { flex: 1; max-width: 48%; display: flex; flex-direction: column; gap: 4px; }
.prev-next-item:last-child { text-align: right; }
.prev-next-item .pn-label { color: var(--text-light); font-size: 12px; font-weight: 700; letter-spacing: 1px; }
.prev-next-item a { color: var(--text); font-size: 14px; line-height: 1.5; text-decoration: none; transition: color .2s; }
.prev-next-item a:hover { color: var(--primary); }
@media (max-width: 640px) { .prev-next-nav { flex-direction: column; } .prev-next-item { max-width: 100%; } .prev-next-item:last-child { text-align: left; } }
