/*
Theme Name: Travel Footwear Co. Reviews
Theme URI: https://travelfootwearco.store
Description: Footwear engineered for travel. Packable walking shoes, waterproof hiking boots, and anti-fatigue insoles for long journeys.
Style ID: a2ef2f
Version: 1.0.0
Text Domain: travel-footwear-co-r
*/

:root {
  --bg: #18131b;
  --bg-alt: #261f28;
  --bg-deep: #100d11;
  --text: #eeebef;
  --text-muted: #a197a5;
  --accent: #b072cb;
  --border: #3b313f;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

/* 背景柔和渐变光斑 */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px 400px at 12% 8%, rgba(176, 114, 203, 0.16), transparent 70%),
    radial-gradient(500px 420px at 88% 30%, rgba(176, 114, 203, 0.10), transparent 70%),
    radial-gradient(700px 500px at 50% 90%, rgba(114, 176, 203, 0.10), transparent 70%);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.a2ef2f-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ Header ============ */
.a2ef2f-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24, 19, 27, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.a2ef2f-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.a2ef2f-logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.a2ef2f-logo span { color: var(--accent); }

.a2ef2f-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  overflow-x: auto;
}
.a2ef2f-nav a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-muted);
  white-space: nowrap;
  transition: all .2s;
}
.a2ef2f-nav a:hover { color: var(--text); background: rgba(176,114,203,0.12); }

.a2ef2f-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.a2ef2f-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
}
.a2ef2f-icon-btn:hover { color: var(--text); border-color: var(--accent); }

/* ============ Footer ============ */
.a2ef2f-footer {
  margin-top: 80px;
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
}
.a2ef2f-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.a2ef2f-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 16px 0;
}
.a2ef2f-footer-links a { font-size: 14px; color: var(--text-muted); }
.a2ef2f-footer-links a:hover { color: var(--accent); }
.a2ef2f-footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ============ 面包屑 ============ */
.a2ef2f-breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.a2ef2f-breadcrumb a:hover { color: var(--accent); }
.a2ef2f-breadcrumb .sep { opacity: .5; }

/* ============ Typographic Card (D) ============ */
.a2ef2f-card {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: all .25s;
}
.a2ef2f-card:hover { padding-left: 12px; }
.a2ef2f-card:first-child { border-top: 1px solid var(--border); }
.a2ef2f-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
}
.a2ef2f-card:hover .a2ef2f-card-title { color: var(--accent); }
.a2ef2f-card-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
}

/* 元数据 */
.a2ef2f-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.a2ef2f-meta-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.a2ef2f-meta .dot { opacity: .4; }

/* ============ 按钮 ============ */
.a2ef2f-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 14px;
  transition: all .2s;
}
.a2ef2f-btn:hover { background: var(--accent); color: var(--bg-deep); }

/* ============ 文章正文 ============ */
.a2ef2f-entry { max-width: 720px; }
.a2ef2f-entry h2 { font-size: 28px; margin: 36px 0 16px; }
.a2ef2f-entry h3 { font-size: 22px; margin: 28px 0 12px; }
.a2ef2f-entry p { margin-bottom: 20px; }
.a2ef2f-entry ul, .a2ef2f-entry ol { margin: 0 0 20px 24px; }
.a2ef2f-entry li { margin-bottom: 8px; }

/* ============ 文章页布局 ============ */
.a2ef2f-single-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 40px 0;
}
.a2ef2f-single-main { min-width: 0; }
.a2ef2f-single-title {
  font-size: 40px;
  line-height: 1.15;
  margin: 16px 0 20px;
}
.a2ef2f-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.a2ef2f-widget {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.a2ef2f-widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.a2ef2f-widget ul { list-style: none; }
.a2ef2f-widget li { padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.a2ef2f-widget li:last-child { border-bottom: none; }
.a2ef2f-widget li a:hover { color: var(--accent); }
.a2ef2f-widget-num {
  display: inline-block;
  width: 20px;
  color: var(--accent);
  font-weight: 700;
}

/* ============ 分页 ============ */
.a2ef2f-pagination {
  display: flex;
  gap: 8px;
  margin-top: 40px;
}
.a2ef2f-pagination a, .a2ef2f-pagination span {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
}
.a2ef2f-pagination .current { background: var(--accent); color: var(--bg-deep); border-color: var(--accent); }

/* ============ 暗黑模式切换 ============ */
body.a2ef2f-light {
  --bg: #faf8fb;
  --bg-alt: #f0ecf2;
  --bg-deep: #e7e2ea;
  --text: #211a24;
  --text-muted: #6d6472;
  --accent: #8a4f9e;
  --border: #ddd6e0;
}
body.a2ef2f-light .a2ef2f-header {
  background: rgba(250, 248, 251, 0.72);
}
body.a2ef2f-light::before {
  background:
    radial-gradient(600px 400px at 12% 8%, rgba(138, 79, 158, 0.12), transparent 70%),
    radial-gradient(500px 420px at 88% 30%, rgba(138, 79, 158, 0.08), transparent 70%),
    radial-gradient(700px 500px at 50% 90%, rgba(79, 138, 158, 0.08), transparent 70%);
}

/* ============ 响应式 ============ */
@media (max-width: 900px) {
  .a2ef2f-single-wrap { grid-template-columns: 1fr; gap: 32px; }
  .a2ef2f-header-inner { flex-wrap: wrap; gap: 12px; }
  .a2ef2f-nav { order: 3; width: 100%; }
  .a2ef2f-single-title { font-size: 30px; }
}
