/* ═══════════════════════════════════════════════════════════════
   Journal 二级页样式：文章详情 (.jsingle) / 列表·归档 (.jlist)
   品牌 token：金 #bc994b · navy #192a44 · cream #f7f1e8 · Merriweather/Roboto
   仅在 single(post)/page-journal/分类·标签·日期归档 页加载（functions.php 条件 enqueue）
   ═══════════════════════════════════════════════════════════════ */

.jsingle,
.jlist {
  background: #ebe9e4;
  font-family: 'Roboto', sans-serif;
  color: #192a44;
}

/* ───────── 面包屑 ─────────
   顶部 sticky 导航同为 navy #192a44，面包屑用略深一档的 navy + 顶部细分隔线，
   与导航条区分开，不再糊成一块。 */
.jsingle__crumbs {
  background: #14223a;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 20px;
}
.jsingle__crumbs-in {
  max-width: 900px;
  margin: 0 auto;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.55);
}
.jsingle__crumbs-in a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
.jsingle__crumbs-in a:hover { color: #d9b878; }
.jsingle__crumbs-in span { margin: 0 8px; color: rgba(255, 255, 255, 0.35); }

/* ───────── Hero ───────── */
.jsingle__hero {
  background: #192a44;
  color: #fff;
  padding: 0 0 clamp(36px, 5vw, 64px);
}
.jsingle__hero-media {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}
.jsingle__hero-media img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.jsingle__hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 48px) 20px 0;
  text-align: center;
}
.jsingle__badge {
  display: inline-block;
  background: #bc994b;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 7px 16px;
  text-decoration: none;
  text-transform: uppercase;
}
.jsingle__badge:hover { background: #a07f2f; }
.jsingle__title {
  margin: 20px 0 0;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.24;
  color: #fff;
}
.jsingle__meta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
}
.jsingle__sep { opacity: 0.5; }

/* ───────── 正文 ───────── */
.jsingle__body {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 64px) 20px clamp(20px, 3vw, 40px);
  font-size: 17px;
  line-height: 1.8;
  color: #2c3a52;
}
.jsingle__body p { margin: 0 0 1.4em; }
.jsingle__body h2,
.jsingle__body h3 {
  font-family: 'Merriweather', serif;
  color: #192a44;
  line-height: 1.3;
  margin: 1.6em 0 0.6em;
}
.jsingle__body h2 { font-size: clamp(22px, 2.4vw, 30px); }
.jsingle__body h3 { font-size: clamp(19px, 2vw, 24px); }
.jsingle__body a { color: #bc994b; text-decoration: underline; }
.jsingle__body a:hover { color: #a07f2f; }
.jsingle__body img { max-width: 100%; height: auto; border-radius: 10px; }
.jsingle__body blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 24px;
  border-left: 4px solid #bc994b;
  font-family: 'Merriweather', serif;
  font-style: italic;
  color: #192a44;
}
.jsingle__body ul,
.jsingle__body ol { margin: 0 0 1.4em; padding-left: 1.4em; }
.jsingle__body li { margin-bottom: 0.5em; }

.jsingle__tags {
  margin-top: 2.4em;
  font-size: 13px;
  color: rgba(25, 42, 68, 0.6);
}
.jsingle__tags a { color: #bc994b; text-decoration: none; }
.jsingle__tags a:hover { text-decoration: underline; }
.jsingle__tags-label { font-weight: 600; letter-spacing: 1px; }

.jsingle__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2.4em;
  color: #bc994b;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}
.jsingle__back:hover { color: #a07f2f; gap: 12px; }

/* ═══════════════════════════════════════════════════════════════
   jcard 组件（列表/归档/相关文章复用）
   —— 组件本体样式只在首页的 box7-journal.css 里定义，那份 CSS 不在这些
   二级页加载；这里补一份「作用域限定在 .jlist / .jsingle 内」的副本，
   不影响首页轮播（.section-journal .jcard）。
   ═══════════════════════════════════════════════════════════════ */
.jlist .jcard,
.jsingle .jcard {
  display: flex;
  flex-direction: column;
  background: #f7f1e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.jlist .jcard:hover,
.jsingle .jcard:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}
.jlist .jcard__media,
.jsingle .jcard__media {
  position: relative;
  display: block;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
}
.jlist .jcard__media img,
.jsingle .jcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.jlist .jcard:hover .jcard__media img,
.jsingle .jcard:hover .jcard__media img { transform: scale(1.05); }
.jlist .jcard__badge,
.jsingle .jcard__badge {
  position: absolute;
  left: 0;
  bottom: 14px;
  background: #c5972f;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1;
  padding: 7px 14px;
}
.jlist .jcard__body,
.jsingle .jcard__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(18px, 1.6vw, 24px) clamp(18px, 1.6vw, 26px) clamp(20px, 1.8vw, 28px);
}
.jlist .jcard__meta,
.jsingle .jcard__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(25, 42, 68, 0.6);
  font-size: 12px;
  line-height: 1;
}
.jlist .jcard__sep,
.jsingle .jcard__sep { opacity: 0.6; }
.jlist .jcard__title,
.jsingle .jcard__title {
  margin: 14px 0 0;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.32;
}
.jlist .jcard__title a,
.jsingle .jcard__title a { color: #192a44; text-decoration: none; }
.jlist .jcard__title a:hover,
.jsingle .jcard__title a:hover { color: #bc994b; }
.jlist .jcard__excerpt,
.jsingle .jcard__excerpt {
  margin: 14px 0 0;
  color: rgba(25, 42, 68, 0.62);
  font-size: 14px;
  line-height: 1.6;
}
.jlist .jcard__more,
.jsingle .jcard__more {
  margin-top: auto;
  padding-top: 18px;
  color: #bc994b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
}
.jlist .jcard__more span,
.jsingle .jcard__more span { margin-left: 4px; }
.jlist .jcard__more:hover,
.jsingle .jcard__more:hover { color: #a07f2f; }

/* ───────── 相关文章 ───────── */
.jsingle__related {
  background: #192a44;
  padding: clamp(48px, 6vw, 84px) 20px;
}
.jsingle__related-in {
  max-width: var(--content-max, 1280px);
  margin: 0 auto;
}
.jsingle__related-title {
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  color: #fff;
  text-align: center;
}
/* 相关文章用静态三列（非轮播），复用 jcard 组件 */
.jslide--static {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 1.8vw, 28px);
  flex-wrap: wrap;
}
.jslide--static .jcard { flex: 0 1 calc(33.333% - 20px); min-width: 0; }
/* ───────── 列表 / 归档 (.jlist) ───────── */
.jlist__head {
  background: #192a44;
  padding: clamp(48px, 6vw, 88px) 20px;
  text-align: center;
}
.jlist__head-in {
  max-width: 760px;
  margin: 0 auto;
}
.jlist__eyebrow {
  margin: 0;
  color: #bc994b;
  font-size: 14px;
  letter-spacing: 4px;
}
.jlist__title {
  margin: 14px 0 0;
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.2;
  color: #fff;
}
.jlist__intro {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}
.jlist__intro a { color: #d9b878; }

.jlist__wrap {
  max-width: var(--content-max, 1280px);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 20px;
}
.jlist__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
  align-items: stretch;
}
/* 列表页所有卡片等高、统一非特色样式（覆盖 jcard--featured 的放大 flex） */
.jlist__grid .jcard { height: 100%; }

.jlist__empty {
  text-align: center;
  color: rgba(25, 42, 68, 0.6);
  font-size: 17px;
  padding: 40px 0;
}

/* ───────── 分页 ───────── */
.jlist__pagination { margin-top: clamp(32px, 4vw, 56px); }
.pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(25, 42, 68, 0.2);
  border-radius: 8px;
  color: #192a44;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pagination .page-numbers:hover {
  border-color: #bc994b;
  color: #bc994b;
}
.pagination .page-numbers.current {
  background: #bc994b;
  border-color: #bc994b;
  color: #fff;
}

/* ───────── 响应式 ───────── */
@media (max-width: 900px) {
  .jlist__grid { grid-template-columns: repeat(2, 1fr); }
  .jslide--static .jcard { flex-basis: calc(50% - 14px); }
}
@media (max-width: 600px) {
  .jlist__grid { grid-template-columns: 1fr; }
  .jslide--static .jcard { flex-basis: 100%; }
  .jsingle__body { font-size: 16px; }
}

