/*
Theme Name: 积跬步电子商务
Theme URI: https://jikuibu.com
Description: 积跬步电子商务官方主题
Version: 1.0
*/

:root {
  --bg: #F7F8FB;
  --bg-deep: #1A2B8C;
  --ink: #14141C;
  --muted: #6B6F80;
  --gold: #FF5A3C;
  --gold-accent: #C4973A;
  --blue: #2F5DFF;
  --line: #E3E6F0;
  --card: #FFFFFF;
}

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

body { min-height: 100vh; display: flex; flex-direction: column; }
.article-list { flex: 1; }
body_placeholder {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,248,251,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 76px;
}
.header-brand {
  display: flex; align-items: center; gap: 14px;
}
.header-brand .brand-text {
  display: flex; flex-direction: column; gap: 2px;
}
.header-brand .mark {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 900; font-size: 18px;
  color: var(--bg-deep); line-height: 1;
}
.header-brand .sub {
  font-size: 9px; letter-spacing: 0.18em;
  color: var(--muted); text-transform: uppercase; line-height: 1;
}
.header-nav {
  display: flex; align-items: center; gap: 32px;
  font-size: 14px;
}
.header-nav a {
  color: var(--ink);
  transition: color .25s;
}
.header-nav a:hover { color: var(--gold-accent); }
.header-nav .back-btn {
  padding: 10px 22px;
  background: var(--bg-deep);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  transition: background .25s;
}
.header-nav .back-btn:hover { background: var(--blue); }

/* Hero */
.news-hero {
  background: var(--bg-deep);
  padding: 90px 0 80px;
  position: relative;
  overflow: visible;
  min-height: 220px;
}
.news-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255,90,60,0.18), transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(196,151,58,0.12), transparent 40%);
  pointer-events: none;
}
.news-hero .eyebrow {
  font-size: 12px; letter-spacing: 0.28em;
  color: var(--gold-accent); text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.news-hero .eyebrow::before {
  content: ""; width: 32px; height: 1px; background: var(--gold-accent);
}
.news-hero h1 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(32px, 4vw, 46px);
  color: #FFFFFF; font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}
.news-hero p {
  color: rgba(255,255,255,0.65);
  font-size: 15px; max-width: 500px;
}

/* Article List */
.article-list { padding: 50px 0; }
.article-grid {
  display: grid;
  grid-template-columns: 1fr;max-width:720px;margin:0 auto;
  gap: 28px;
}
.article-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  transition: transform .3s, box-shadow .3s;
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -20px rgba(26,43,140,0.2);
}
.article-card .card-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
}
.article-card .card-cat {
  font-size: 11px; font-weight: 600;
  color: var(--gold-accent);
  border: 1px solid var(--gold-accent);
  padding: 3px 10px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.article-card .card-date {
  font-size: 12px; color: var(--muted);
}
.article-card h2 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--bg-deep);
  margin-bottom: 12px;
  line-height: 1.5;
}
.article-card p {
  font-size: 13.5px; color: var(--muted);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card .read-more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px; font-size: 13px; font-weight: 500;
  color: var(--bg-deep);
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  transition: color .25s, border-color .25s;
}
.article-card:hover .read-more {
  color: var(--gold-accent);
  border-color: var(--gold-accent);
}

/* No posts */
.no-posts {
  text-align: center; padding: 80px 0;
  color: var(--muted);
}

/* Single Post */
.single-hero {
  background: var(--bg-deep);
  padding: 70px 0 60px;
}
.single-hero .breadcrumb {
  font-size: 13px; color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.single-hero .breadcrumb a {
  color: var(--gold-accent);
  transition: opacity .2s;
}
.single-hero .breadcrumb a:hover { opacity: 0.8; }
.single-hero .post-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.single-hero .post-cat {
  font-size: 11px; font-weight: 600;
  color: var(--gold-accent);
  border: 1px solid var(--gold-accent);
  padding: 3px 10px; border-radius: 999px;
}
.single-hero .post-date {
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.single-hero h1 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: clamp(22px, 3.5vw, 36px);
  color: #FFFFFF; font-weight: 700;
  max-width: 800px; line-height: 1.4;
}

.post-content-wrap { padding: 70px 0 90px; }
.post-content-inner {
  max-width: 780px;
  background: var(--card);
  border-radius: 20px;
  padding: 52px 60px;
  border: 1px solid var(--line);
}
.post-content-inner p {
  font-size: 15.5px; color: #3A3A33;
  line-height: 1.9; margin-bottom: 22px;
}
.post-content-inner h2 {
  font-family: "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 20px; color: var(--bg-deep);
  font-weight: 700; margin: 36px 0 14px;
  padding-left: 14px;
  border-left: 3px solid var(--gold-accent);
}
.post-content-inner h3 {
  font-size: 17px; color: var(--bg-deep);
  font-weight: 700; margin: 28px 0 12px;
}
.post-content-inner ul, .post-content-inner ol {
  padding-left: 22px; margin-bottom: 22px;
}
.post-content-inner li {
  font-size: 15px; color: #3A3A33;
  line-height: 1.85; margin-bottom: 8px;
}
.post-content-inner strong { color: var(--bg-deep); font-weight: 600; }

.post-footer {
  margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
}
.post-footer .back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--bg-deep);
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: all .25s;
}
.post-footer .back-link:hover {
  background: var(--bg-deep); color: #fff;
  border-color: var(--bg-deep);
}
.post-footer .contact-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 500;
  color: #fff;
  padding: 12px 24px;
  background: var(--gold-accent);
  border-radius: 999px;
  transition: opacity .25s;
}
.post-footer .contact-cta:hover { opacity: 0.85; }

/* Footer */
.site-footer {
  background: #101A30;
  color: rgba(247,248,251,0.45);
  padding: 32px 0;
  font-size: 12px;
}
.site-footer .wrap {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.site-footer a {
  color: var(--gold-accent);
  transition: opacity .2s;
}
.site-footer a:hover { opacity: 0.8; }

@media (max-width: 768px) {
  .article-grid { grid-template-columns: 1fr; }
  .post-content-inner { padding: 32px 24px; }
  .header-nav .back-btn { display: none; }
}

/* Fix footer to bottom */
html, body { height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.article-list {
  flex: 1;
}
.post-content-wrap {
  flex: 1;
}
