/*
Theme Name: 生活随笔
Theme URI: https://www.suninborn.cloud/
Author: 狸花
Description: 单栏阅读版式，卡片流 + 侧栏布局，支持深色模式。
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: suninborn-notes
*/
/* ============================================================
   设计令牌
   ============================================================ */
:root {
  --bg: #f4f4f7;
  --surface: #ffffff;
  --surface-2: #fafafc;
  --surface-3: #f1f1f5;

  --text: #1b1b1f;
  --text-2: #62626b;
  --text-3: #9a9aa4;

  --line: #e9e9ef;
  --line-2: #f2f2f6;

  --brand: #5b6cff;
  --brand-2: #8b7bff;
  --brand-soft: #eef0ff;
  --brand-ink: #3d4bd6;

  --warm: #ff6a45;
  --warm-soft: #fff0eb;
  --teal: #17a67c;
  --teal-soft: #e8f7f1;

  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(18, 22, 48, 0.04);
  --shadow: 0 1px 2px rgba(18, 22, 48, 0.04), 0 10px 28px -16px rgba(18, 22, 48, 0.16);
  --shadow-lg: 0 1px 2px rgba(18, 22, 48, 0.05), 0 20px 44px -20px rgba(18, 22, 48, 0.22);

  --maxw: 1240px;
  --sidebar-w: 306px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-serif: ui-serif, Georgia, "Songti SC", "Noto Serif CJK SC", serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

[data-theme='dark'] {
  --bg: #101014;
  --surface: #1a1a20;
  --surface-2: #1f1f26;
  --surface-3: #26262e;

  --text: #eaeaf0;
  --text-2: #a2a2ae;
  --text-3: #71717e;

  --line: #2a2a33;
  --line-2: #23232b;

  --brand: #7d8bff;
  --brand-2: #a193ff;
  --brand-soft: #23253f;
  --brand-ink: #b9c0ff;

  --warm: #ff8360;
  --warm-soft: #33211c;
  --teal: #35c79a;
  --teal-soft: #1a2f28;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 28px -16px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.35), 0 20px 44px -20px rgba(0, 0, 0, 0.7);
}

/* ============================================================
   基础
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: no-preference) {
  a,
  button,
  .card,
  .chip {
    transition: background-color 0.18s ease, color 0.18s ease,
      border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  }
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   顶栏
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand .mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-2);
  border-radius: var(--radius-sm);
}

.site-nav a:hover {
  color: var(--text);
  background: var(--surface-3);
}

.site-nav a[aria-current='page'] {
  color: var(--brand);
  font-weight: 500;
}

.site-nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  padding: 0;
}

.icon-btn:hover {
  background: var(--surface-3);
  color: var(--text);
}

.icon-btn svg {
  width: 17px;
  height: 17px;
}

/* ============================================================
   公告条
   ============================================================ */
.notice {
  margin: 20px 0 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  font-size: 13.5px;
  color: var(--text-2);
}

.notice .txt {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  justify-content: center;
  flex: 1;
}

.notice .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
  box-shadow: 0 0 0 3px var(--teal-soft);
}

.notice strong {
  color: var(--text);
  font-weight: 500;
}

/* ============================================================
   Hero 双卡
   ============================================================ */
.hero {
  margin: 18px 0 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 232px;
  overflow: hidden;
  position: relative;
}

.hero-card h1 {
  margin: 0 0 10px;
  font-size: 30px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.hero-card .sub {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn svg {
  width: 14px;
  height: 14px;
}

.btn-brand {
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 8px 18px -10px var(--brand);
}

.btn-brand:hover {
  transform: translateY(-1px);
}

.btn-warm {
  background: linear-gradient(135deg, var(--warm), #ff9a3d);
  color: #fff;
  box-shadow: 0 8px 18px -10px var(--warm);
}

.btn-warm:hover {
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface-3);
  color: var(--text-2);
  border-color: var(--line);
}

.btn-ghost:hover {
  color: var(--text);
}

.hero-caps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cap {
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--text-2);
  border: 1px solid var(--line);
}

.cap-brand {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-color: transparent;
}

.hero-art {
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 12% 8%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
    radial-gradient(110% 110% at 88% 92%, color-mix(in srgb, var(--brand-2) 18%, transparent), transparent 62%),
    var(--surface);
}

.hero-art .script {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 72px;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(110deg, var(--brand), var(--brand-2) 45%, var(--warm) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: auto 0;
  user-select: none;
}

.hero-art .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-art .foot .name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.04em;
}

/* ============================================================
   主体两栏
   ============================================================ */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: 24px;
  align-items: start;
  padding-bottom: 12px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.section-head .more {
  font-size: 13px;
  color: var(--text-3);
}

.section-head .more:hover {
  color: var(--brand);
}

/* ============================================================
   文章卡片
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--line));
}

.card-cover {
  aspect-ratio: 16 / 9;
  background: var(--surface-3);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-cover .glyph {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
  user-select: none;
}

.card-body {
  padding: 16px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  font-size: 11.5px;
  line-height: 1.6;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  background: var(--surface-3);
  color: var(--text-3);
  white-space: nowrap;
}

.tag-brand {
  background: var(--brand-soft);
  color: var(--brand-ink);
}

.tag-warm {
  background: var(--warm-soft);
  color: var(--warm);
}

.card-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.005em;
}

.card:hover .card-title {
  color: var(--brand);
}

.card-summary {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  margin-top: auto;
  padding: 12px 18px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-3);
}

.card-meta .hash {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta time {
  flex: 0 0 auto;
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   右侧栏
   ============================================================ */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 82px;
}

.side-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.side-card > .hd {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-2);
  font-size: 13.5px;
  font-weight: 600;
}

.side-card > .bd {
  padding: 16px 18px;
}

.author {
  text-align: center;
  padding: 24px 18px 20px;
}

.author .avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 23px;
  font-weight: 600;
  box-shadow: 0 10px 24px -12px var(--brand);
}

.author .name {
  font-size: 15px;
  font-weight: 600;
}

.author .bio {
  margin: 6px 0 14px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.author .links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 12.5px;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  color: var(--text-2);
  border: 1px solid var(--line);
}

.chip:hover {
  background: var(--brand-soft);
  color: var(--brand-ink);
  border-color: transparent;
}

.chip .n {
  margin-left: 6px;
  font-size: 11px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.mini-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mini-list li + li {
  border-top: 1px solid var(--line-2);
}

.mini-list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 0;
  font-size: 13.5px;
  line-height: 1.6;
}

.mini-list .idx {
  flex: 0 0 16px;
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.mini-list .tt {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mini-list a:hover .tt {
  color: var(--brand);
}

.mini-list time {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   分页
   ============================================================ */
.pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 32px 0 8px;
}

.pager .pg {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.pager .pg:hover {
  color: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--line));
}

.pager .pg.on {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.pager .pg.disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  margin-top: 44px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.site-footer .inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--text-3);
}

.site-footer .links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.site-footer a:hover {
  color: var(--brand);
}

/* ============================================================
   文章页
   ============================================================ */
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-w);
  gap: 24px;
  align-items: start;
  padding-top: 26px;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.article-card .cover {
  aspect-ratio: 21 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface-3);
}

.article-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-card .cover .glyph {
  font-family: var(--font-serif);
  font-size: 68px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.article-inner {
  padding: 34px 42px 40px;
}

.article-inner h1 {
  margin: 0 0 14px;
  font-size: 29px;
  line-height: 1.42;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-2);
  margin-bottom: 28px;
}

.prose {
  font-size: 15.5px;
  line-height: 1.92;
  color: var(--text);
}

.prose > *:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0 0 1.35em;
}

.prose h2 {
  font-size: 19px;
  font-weight: 600;
  margin: 2.1em 0 0.75em;
  line-height: 1.5;
}

.prose h3 {
  font-size: 16.5px;
  font-weight: 600;
  margin: 1.7em 0 0.65em;
}

.prose a {
  color: var(--brand);
  border-bottom: 1px solid color-mix(in srgb, var(--brand) 35%, transparent);
}

.prose blockquote {
  margin: 1.5em 0;
  padding: 3px 0 3px 18px;
  border-left: 2px solid var(--brand);
  color: var(--text-2);
}

.prose ul,
.prose ol {
  padding-left: 1.35em;
  margin: 0 0 1.35em;
}

.prose li {
  margin-bottom: 0.35em;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.87em;
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 5px;
}

.prose pre {
  background: var(--surface-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.7;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: inherit;
}

.prose hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.2em 0;
}

.prose img {
  border-radius: var(--radius);
  margin: 1.5em auto;
}

.article-foot {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.article-foot .back {
  color: var(--text-2);
}

.article-foot .back:hover {
  color: var(--brand);
}

/* ============================================================
   归档页
   ============================================================ */
.page-head {
  margin: 26px 0 22px;
}

.page-head h1 {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.page-head p {
  margin: 0;
  color: var(--text-2);
  font-size: 13.5px;
}

.archive-year {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-3);
  margin: 28px 0 12px;
  font-variant-numeric: tabular-nums;
}

.archive-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 6px 18px;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  font-size: 14.5px;
}

.archive-list li + li {
  border-top: 1px solid var(--line-2);
}

.archive-list time {
  flex: 0 0 54px;
  font-size: 12.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

.archive-list a {
  flex: 1;
}

.archive-list a:hover {
  color: var(--brand);
}

.archive-list .tags {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
}

.empty {
  color: var(--text-3);
  font-size: 14px;
  padding: 36px 0;
  text-align: center;
}

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1080px) {
  .layout,
  .article-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    min-height: 0;
    padding: 26px 24px;
  }

  .hero-card h1 {
    font-size: 25px;
  }

  .hero-art .script {
    font-size: 56px;
  }

  .site-nav a {
    padding: 8px 10px;
    font-size: 13.5px;
  }
}

@media (max-width: 680px) {
  .card-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .article-inner {
    padding: 24px 20px 30px;
  }

  .article-inner h1 {
    font-size: 23px;
  }

  .site-header .bar {
    height: 56px;
    padding: 0 16px;
  }

  .wrap {
    padding: 0 16px;
  }

  .brand .full {
    display: none;
  }
}

/* ============================================================
   WordPress 适配层
   ============================================================ */
.site-nav ul,
.site-footer .links ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .links ul { gap: 18px; }
.site-nav li,
.site-footer .links li { list-style: none; }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--brand); font-weight: 500; }

.pager .page-numbers {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  display: inline-grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.pager .page-numbers:hover { color: var(--brand); }
.pager .page-numbers.on,
.pager .page-numbers.current { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager .page-numbers.dots { border: none; background: none; }

.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.prose th { background: var(--surface-3); font-weight: 500; }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: 12.5px; color: var(--text-3); text-align: center; margin-top: 8px; }
.prose .wp-block-image img { border-radius: var(--radius); }
.prose h4 { font-size: 15.5px; font-weight: 600; margin: 1.5em 0 0.6em; }

.alignwide { margin-left: -40px; margin-right: -40px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }

.side-card .bd > ul,
.side-card .bd > ol { list-style: none; margin: 0; padding: 0; }
.side-card .bd > ul li { padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.side-card .bd > ul li:last-child { border-bottom: none; }
.side-card .bd > ul li a { color: inherit; }
.side-card .bd > ul li a:hover { color: var(--brand); }

.tagcloud, .wp-block-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tagcloud a, .wp-block-tag-cloud a {
  font-size: 12.5px !important;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--text-2);
}

.card-body .card-title a { color: inherit; }
.article-card .cover img { width: 100%; height: 100%; object-fit: cover; }
