/* SpeakWorld 资讯列表 + 文章内页 — 品牌绿 + 浅蓝紫渐变 */

:root {
  --sw-mc: #18a058;
  --sw-mc-dark: #128f4a;
  --sw-mc-light: #e8f7ef;
  --sw-accent-blue: #6eb5ff;
  --sw-accent-purple: #b8a9f0;
  --sw-bg: #f0f4f2;
  --sw-card: #fff;
  --sw-text: #1f1e36;
  --sw-muted: #6d6d6d;
  --sw-radius: 16px;
  --sw-shadow: 0 8px 32px rgba(31, 30, 54, 0.08);
}

.speakworld-mirror-body.speakworld-static {
  background: var(--sw-bg);
}

.speakworld-editorial-wrap {
  background: var(--sw-bg);
  padding-top: 64px;
  box-sizing: border-box;
}

/* 资讯 / 文章页顶栏 — 横向导航（需配合 speakworld-base 的 .d-f / .d-f-b） */
.speakworld-page-chrome .header_center {
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
}

.speakworld-page-chrome .logo {
  flex-shrink: 0;
  width: 140px;
}

.speakworld-page-chrome .logo img {
  display: block;
  width: 100%;
  height: auto;
}

.speakworld-page-chrome .tab_link {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.speakworld-page-chrome .tab_link_item {
  flex-shrink: 0;
  padding: 0 10px;
  font-size: 16px;
  color: #040404;
  white-space: nowrap;
  user-select: none;
}

@media screen and (min-width: 1200px) {
  .speakworld-page-chrome .tab_link_item {
    padding: 0 14px;
    margin-right: 8px;
  }

  .speakworld-page-chrome .tab_link_item:last-child {
    margin-right: 0;
  }
}

.speakworld-page-chrome .tab_link_item.active,
.speakworld-page-chrome .tab_link .active {
  color: var(--sw-mc);
  font-size: 17px;
  font-weight: 600;
}

.speakworld-page-chrome .tab_link_item.active span {
  color: var(--sw-mc);
}

.speakworld-page-chrome .tab_link_item .sw-tab-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.speakworld-page-chrome .tools_right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  color: #040404;
  font-size: 13px;
}

.speakworld-page-chrome .tools_right_i18n {
  display: flex;
  align-items: center;
  gap: 8px;
}

.speakworld-page-chrome .tools_right_i18n .i18n_select {
  border-radius: 50%;
}

.speakworld-editorial-bottom {
  margin-top: 0;
  padding: 36px 16px 52px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, #f8faf9 100%);
  border-top: 1px solid rgba(24, 160, 88, 0.1);
}

.speakworld-editorial-bottom p {
  margin: 0.5em 0;
  font-size: 14px;
  color: var(--sw-muted);
}

.speakworld-editorial-bottom a {
  color: var(--sw-mc);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.speakworld-editorial-bottom a:hover {
  color: var(--sw-mc-dark);
  text-decoration: underline;
}

.sw-archive-desc {
  margin: 0;
  max-width: 54ch;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sw-muted);
}

.sw-archive-desc p:last-child {
  margin-bottom: 0;
}

.sw-archive-author-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.sw-archive-author-avatar {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 16px rgba(24, 160, 88, 0.2);
}

/* ---------- 页面背景 ---------- */
.page-news.sw-editorial,
.page-single.sw-editorial,
.page-archive-tax.sw-editorial,
.page-archive-author.sw-editorial {
  position: relative;
  min-height: 55vh;
}

.sw-news-surface,
.sw-single-surface {
  padding-bottom: 72px;
  background:
    radial-gradient(ellipse 100% 60% at 50% -8%, rgba(110, 181, 255, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 20%, rgba(184, 169, 240, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 80%, rgba(24, 160, 88, 0.08) 0%, transparent 45%),
    var(--sw-bg);
}

.sw-news-inner {
  box-sizing: border-box;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px 22px 48px;
}

.sw-single-inner {
  box-sizing: border-box;
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 22px 48px;
}

/* ---------- 面包屑 ---------- */
.sw-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  margin: 0 0 24px;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--sw-muted);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(24, 160, 88, 0.12);
  border-radius: 12px;
  gap: 0;
  box-shadow: 0 2px 12px rgba(31, 30, 54, 0.04);
}

.sw-breadcrumbs li + li::before {
  content: "/";
  margin: 0 10px;
  color: #c5c5c5;
  pointer-events: none;
}

.sw-breadcrumbs a {
  color: var(--sw-mc);
  text-decoration: none;
  font-weight: 500;
}

.sw-breadcrumbs a:hover {
  color: var(--sw-mc-dark);
  text-decoration: underline;
}

.sw-breadcrumbs li[aria-current="page"] {
  color: var(--sw-text);
  font-weight: 600;
  max-width: 28ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- 列表页头 ---------- */
.sw-news-hero {
  position: relative;
  margin-bottom: 40px;
  border-radius: var(--sw-radius);
  overflow: hidden;
}

.sw-news-hero-bg,
.sw-single-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(24, 160, 88, 0.12) 0%, rgba(110, 181, 255, 0.18) 45%, rgba(184, 169, 240, 0.12) 100%);
  pointer-events: none;
}

.sw-news-hero-bg::after,
.sw-single-hero-bg::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 160, 88, 0.15) 0%, transparent 70%);
}

.sw-news-hero-content,
.sw-single-hero-content {
  position: relative;
  padding: 32px 28px 30px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--sw-radius);
  box-shadow: var(--sw-shadow);
}

.sw-news-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--sw-mc) 0%, var(--sw-mc-dark) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(24, 160, 88, 0.35);
}

.sw-news-hero-accent,
.sw-single-hero-accent {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  margin-bottom: 16px;
  background: linear-gradient(90deg, var(--sw-mc), rgba(110, 181, 255, 0.6));
}

.sw-news-title,
.sw-single-title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4.5vw, 2.25rem);
  font-weight: 700;
  color: var(--sw-text);
  line-height: 1.22;
  letter-spacing: 0.01em;
}

.sw-news-intro {
  margin: 0;
  max-width: 54ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--sw-muted);
}

.sw-news-stats {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 20px 0 0;
  padding: 10px 18px;
  background: var(--sw-mc-light);
  border-radius: 10px;
  border: 1px solid rgba(24, 160, 88, 0.15);
}

.sw-news-stats-count {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sw-mc);
  line-height: 1;
}

.sw-news-stats-label {
  font-size: 14px;
  color: var(--sw-muted);
}

/* 分类标签（列表卡片 + 内页） */
.sw-news-cat,
.sw-single-cat {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sw-mc-dark);
  text-decoration: none;
  background: rgba(24, 160, 88, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(24, 160, 88, 0.2);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.sw-news-cat:hover,
.sw-single-cat:hover {
  color: #fff;
  background: var(--sw-mc);
  border-color: var(--sw-mc);
  transform: translateY(-1px);
}

.sw-news-card-cat {
  margin: 0 0 8px;
}

/* ---------- 文章列表卡片 ---------- */
.sw-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sw-news-card {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: 0;
  background: var(--sw-card);
  border-radius: var(--sw-radius);
  overflow: hidden;
  box-shadow: var(--sw-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.sw-news-card:hover {
  box-shadow: 0 14px 40px rgba(24, 160, 88, 0.14);
  transform: translateY(-3px);
  border-color: rgba(24, 160, 88, 0.18);
}

.sw-news-thumb {
  display: block;
  position: relative;
  min-height: 180px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--sw-mc-light) 0%, #d4ebe0 100%);
}

.sw-news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 50%, rgba(24, 160, 88, 0.06) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.sw-news-card:hover .sw-news-thumb::after {
  opacity: 1;
}

.sw-news-thumb-img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.sw-news-card:hover .sw-news-thumb-img {
  transform: scale(1.04);
}

.sw-news-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  background: linear-gradient(145deg, var(--sw-mc) 0%, var(--sw-mc-dark) 55%, #0d6b38 100%);
}

.sw-news-thumb-fallback-text {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.12em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.sw-news-card-body {
  padding: 24px 28px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sw-news-card-title {
  margin: 0 0 10px;
  font-size: 1.28rem;
  line-height: 1.35;
}

.sw-news-card-title a {
  color: var(--sw-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.sw-news-card-title a:hover {
  color: var(--sw-mc);
}

.sw-news-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: var(--sw-muted);
}

.sw-news-byline-sep,
.sw-single-meta-sep {
  color: #ccc;
}

.sw-news-reading,
.sw-single-reading {
  color: var(--sw-mc-dark);
  font-weight: 500;
}

.sw-news-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: #585963;
  margin-bottom: 14px;
}

.sw-news-excerpt p {
  margin: 0;
}

.sw-news-more-wrap {
  margin: 0;
}

.sw-news-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  color: var(--sw-mc);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.sw-news-more:hover {
  color: var(--sw-mc-dark);
}

.sw-news-more:hover .sw-news-more-arrow {
  transform: translateX(5px);
}

.sw-news-more-arrow {
  transition: transform 0.2s ease;
}

/* ---------- 分页 ---------- */
.sw-news-pagination {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(24, 160, 88, 0.12);
}

.sw-news-pagination ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sw-news-pagination a,
.sw-news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--sw-card);
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--sw-text);
  font-size: 14px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.sw-news-pagination a:hover {
  border-color: var(--sw-mc);
  color: var(--sw-mc);
}

.sw-news-pagination .current {
  background: linear-gradient(135deg, var(--sw-mc) 0%, var(--sw-mc-dark) 100%);
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(24, 160, 88, 0.3);
}

/* ---------- 空状态 ---------- */
.sw-news-empty-box {
  padding: 56px 28px;
  text-align: center;
  background: var(--sw-card);
  border-radius: var(--sw-radius);
  border: 2px dashed rgba(24, 160, 88, 0.25);
  box-shadow: var(--sw-shadow);
}

.sw-news-empty-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sw-mc-light) 0%, rgba(110, 181, 255, 0.2) 100%);
  border: 2px solid rgba(24, 160, 88, 0.2);
  position: relative;
}

.sw-news-empty-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 26px;
  margin: -14px 0 0 -11px;
  border: 3px solid var(--sw-mc);
  border-radius: 4px;
  box-sizing: border-box;
}

.sw-news-empty-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 3px;
  margin: 2px 0 0 -7px;
  background: var(--sw-mc);
  border-radius: 2px;
  box-shadow: 0 6px 0 var(--sw-mc), 0 12px 0 var(--sw-mc);
}

.sw-news-empty-title {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sw-text);
}

.sw-news-empty {
  margin: 0;
  max-width: 36ch;
  margin-inline: auto;
  color: var(--sw-muted);
  line-height: 1.6;
}

/* ---------- 热门标签 ---------- */
.sw-news-tags {
  margin-top: 48px;
  padding: 24px 26px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--sw-radius);
  border: 1px solid rgba(24, 160, 88, 0.1);
}

.sw-news-tags-label {
  display: block;
  margin-bottom: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sw-muted);
}

.sw-news-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-news-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sw-text);
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.sw-news-tag:hover {
  color: var(--sw-mc-dark);
  border-color: var(--sw-mc);
  background: var(--sw-mc-light);
}

/* ---------- 单篇内页 ---------- */
.sw-single-hero {
  position: relative;
  margin-bottom: 28px;
  border-radius: var(--sw-radius);
  overflow: hidden;
}

.sw-single-cat-row {
  margin: 0 0 12px;
}

.sw-single-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--sw-muted);
  margin-bottom: 0;
}

.sw-single-time::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--sw-mc);
  vertical-align: middle;
  box-shadow: 0 0 8px rgba(24, 160, 88, 0.4);
}

.sw-single-updated {
  font-size: 13px;
  color: #888;
}

.sw-single-keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(24, 160, 88, 0.12);
}

.sw-single-keywords-label {
  flex: 0 0 auto;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sw-muted);
}

.sw-single-keywords-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sw-single-keyword {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(24, 160, 88, 0.08);
  color: var(--sw-mc-dark);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(24, 160, 88, 0.15);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.sw-single-keyword:hover {
  background: var(--sw-mc);
  color: #fff;
  border-color: var(--sw-mc);
  transform: translateY(-1px);
}

.sw-single-share {
  margin-top: 18px;
}

.sw-share-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--sw-mc-dark);
  background: #fff;
  border: 1px solid rgba(24, 160, 88, 0.25);
  border-radius: 10px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.sw-share-copy:hover {
  border-color: var(--sw-mc);
  background: var(--sw-mc-light);
}

.sw-share-copy.is-copied {
  color: #fff;
  background: var(--sw-mc);
  border-color: var(--sw-mc);
}

.sw-single-card {
  background: var(--sw-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--sw-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sw-single-featured {
  margin: 0;
  line-height: 0;
  background: linear-gradient(180deg, var(--sw-mc-light) 0%, #fff 100%);
}

.sw-single-featured-img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.sw-single-prose {
  padding: 32px 36px 40px;
}

.sw-single-prose .entry-content {
  font-size: 17px;
  line-height: 1.82;
  color: #333248;
  word-wrap: break-word;
}

.sw-single-prose .entry-content > p:first-child {
  font-size: 1.06em;
  color: #2a2938;
}

.sw-single-prose .entry-content > *:first-child {
  margin-top: 0;
}

.sw-single-prose h2,
.sw-single-prose h3,
.sw-single-prose h4 {
  color: var(--sw-text);
  margin-top: 1.75em;
  margin-bottom: 0.55em;
  line-height: 1.32;
  font-weight: 650;
}

.sw-single-prose h2 {
  font-size: 1.35em;
  padding-bottom: 0.35em;
  border-bottom: 2px solid rgba(24, 160, 88, 0.15);
}

.sw-single-prose h3 {
  font-size: 1.15em;
}

.sw-single-prose p {
  margin: 0 0 1.15em;
}

.sw-single-prose a {
  color: var(--sw-mc);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sw-single-prose a:hover {
  color: var(--sw-mc-dark);
}

.sw-single-prose img,
.sw-single-prose figure {
  max-width: 100%;
}

.sw-single-prose img {
  height: auto;
  border-radius: 12px;
  margin: 1.3em 0;
  box-shadow: 0 8px 28px rgba(31, 30, 54, 0.1);
}

.sw-single-prose figure {
  margin: 1.3em 0;
}

.sw-single-prose figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--sw-muted);
  text-align: center;
}

.sw-single-prose blockquote {
  margin: 1.4em 0;
  padding: 18px 22px;
  border-left: 4px solid var(--sw-mc);
  background: linear-gradient(90deg, var(--sw-mc-light) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 0 12px 12px 0;
  color: #444;
  font-style: italic;
}

.sw-single-prose ul,
.sw-single-prose ol {
  padding-left: 1.45em;
  margin: 0 0 1.15em;
}

.sw-single-prose li {
  margin-bottom: 0.35em;
}

.sw-single-prose pre,
.sw-single-prose code {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.9em;
}

.sw-single-prose pre {
  margin: 1.25em 0;
  padding: 16px 18px;
  overflow-x: auto;
  background: #1f1e36;
  color: #e8f7ef;
  border-radius: 12px;
  line-height: 1.5;
}

.sw-single-prose :not(pre) > code {
  padding: 2px 8px;
  background: var(--sw-mc-light);
  color: var(--sw-mc-dark);
  border-radius: 6px;
}

.sw-single-prose table {
  width: 100%;
  margin: 1.25em 0;
  border-collapse: collapse;
  font-size: 15px;
}

.sw-single-prose th,
.sw-single-prose td {
  padding: 10px 14px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
}

.sw-single-prose th {
  background: var(--sw-mc-light);
  font-weight: 600;
}

.sw-single-prose hr {
  margin: 2em 0;
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(24, 160, 88, 0.35), transparent);
}

.sw-page-links {
  display: block;
  margin: 2em 0 0;
  padding: 14px 16px;
  font-size: 14px;
  background: var(--sw-mc-light);
  border-radius: 10px;
  border: 1px solid rgba(24, 160, 88, 0.12);
}

.sw-page-links-label {
  font-weight: 600;
  margin-right: 8px;
  color: var(--sw-muted);
}

.sw-page-links a {
  display: inline-block;
  margin: 4px 6px 4px 0;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--sw-mc);
  border: 1px solid rgba(24, 160, 88, 0.2);
}

.sw-page-links a:hover {
  background: #fff;
}

/* ---------- 上下篇导航 ---------- */
.sw-post-nav {
  margin-top: 36px;
}

.sw-post-nav .post-navigation {
  margin: 0;
  padding: 0;
  border: none;
}

.sw-post-nav .nav-links {
  display: grid;
  gap: 14px;
}

@media (min-width: 600px) {
  .sw-post-nav .nav-links {
    grid-template-columns: 1fr 1fr;
  }
}

.sw-post-nav .nav-previous a,
.sw-post-nav .nav-next a {
  display: block;
  height: 100%;
  padding: 18px 20px;
  background: var(--sw-card);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: var(--sw-text);
  box-shadow: 0 4px 16px rgba(31, 30, 54, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sw-post-nav .nav-previous a:hover,
.sw-post-nav .nav-next a:hover {
  border-color: var(--sw-mc);
  box-shadow: 0 8px 24px rgba(24, 160, 88, 0.1);
  transform: translateY(-2px);
}

.sw-post-nav .nav-next {
  text-align: right;
}

.sw-post-nav .nav-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sw-muted);
  margin-bottom: 6px;
}

.sw-post-nav .nav-title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  color: var(--sw-text);
}

.sw-post-nav a:hover .nav-title {
  color: var(--sw-mc);
}

/* ---------- 相关阅读 ---------- */
.sw-related {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(24, 160, 88, 0.12);
}

.sw-related-title {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--sw-text);
}

.sw-related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sw-related-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--sw-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(31, 30, 54, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sw-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(24, 160, 88, 0.12);
}

.sw-related-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--sw-mc-light);
}

.sw-related-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sw-related-thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--sw-mc);
}

.sw-related-body {
  padding: 14px 16px 16px;
  flex: 1;
}

.sw-related-card-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.sw-related-card-title a {
  color: var(--sw-text);
  text-decoration: none;
}

.sw-related-card-title a:hover {
  color: var(--sw-mc);
}

.sw-related-time {
  font-size: 12px;
  color: var(--sw-muted);
}

/* ---------- 返回列表 ---------- */
.sw-back-to-news {
  margin-top: 32px;
  text-align: center;
}

.sw-back-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--sw-mc) 0%, var(--sw-mc-dark) 100%);
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(24, 160, 88, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.sw-back-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(24, 160, 88, 0.4);
}

.sw-back-pill-icon {
  font-size: 18px;
  line-height: 1;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .sw-related-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sw-news-card {
    grid-template-columns: 1fr;
  }

  .sw-news-card-body {
    padding: 20px 20px 22px;
  }

  .sw-news-hero-content,
  .sw-single-hero-content {
    padding: 24px 20px 22px;
  }

  .sw-single-prose {
    padding: 22px 18px 28px;
  }

  .sw-related-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .sw-news-inner,
  .sw-single-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sw-breadcrumbs li[aria-current="page"] {
    max-width: 14ch;
  }
}
