:root {
  --bg: #f5f0e8;
  --bg-secondary: #ede8df;
  --text: #1a1a1a;
  --text-secondary: #6b6560;
  --accent: #c8590a;
  --border: #c8c3b8;
  --font: 'JetBrains Mono', monospace;
}

[data-theme="dark"] {
  --bg: #1c1917;
  --bg-secondary: #292524;
  --text: #e7e5e4;
  --text-secondary: #a8a29e;
  --accent: #ea580c;
  --border: #44403c;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html {
  font-size: 17px;
}

/* ========== Page Transitions ========== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  animation: fadeInUp 0.4s ease both;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ========== Header ========== */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.header-sep {
  flex: 1;
  height: 40px;
  border-right: 2px dotted var(--border);
  margin-right: auto;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.site-brand:hover {
  text-decoration: none;
}

.site-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.site-brand-text .site-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
}

.site-brand-text .site-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.4;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.25rem 0;
  position: relative;
  transition: color 0.15s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--text);
  font-weight: 700;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-sep {
  width: 1px;
  height: 16px;
  background: var(--border);
  flex-shrink: 0;
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--text-secondary);
}

.theme-icon { display: none; }
.mode-light .sun { display: block; }
.mode-dark .moon { display: block; }

/* ========== Reading Progress ========== */

.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  z-index: 1000;
  transition: width 0.1s linear;
}

/* ========== Divider ========== */

.header-divider {
  width: 1px;
  margin: 0 auto;
  height: 40px;
  border-left: 2px dotted var(--border);
  transition: border-color 0.3s ease;
}

.header-divider.scrolled {
  border-color: var(--accent);
}

/* ========== Layout ========== */

.content-wrapper {
  display: block;
  max-width: 880px;
  margin: 0 auto;
  padding: 2rem;
}

/* ========== Main Content ========== */

.main-content {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.post-section-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.post-header-bar {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1rem;
}

.post-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.post-title::after {
  content: '';
  display: inline-block;
  width: 0.5em;
  height: 1em;
  background: var(--accent);
  vertical-align: text-bottom;
  margin-left: 3px;
  animation: blink 1s step-end infinite;
}

.post-subtitle {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.post-meta {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.post-meta span {
  white-space: nowrap;
}

.post-meta strong {
  font-weight: 600;
}

.reading-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2em 0.6em;
  background: var(--accent);
  color: #fff;
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ========== Sidenotes ========== */

.sidenote-wrap {
  display: block;
}

.sidenote-mark {
  display: none;
}

.sidenote {
  display: block;
  margin: 1rem 0;
  padding: 0.6rem 0.75rem;
  border-left: 2px solid var(--accent);
  background: var(--bg-secondary);
  border-radius: 0 4px 4px 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.sidenote img {
  max-width: 100%;
  border-radius: 3px;
  margin-top: 0.5rem;
}

/* ========== Article Body ========== */

.post-body {
  font-size: 0.92rem;
  line-height: 1.8;
  overflow: visible;
}

.post-body p {
  margin-bottom: 1.5rem;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.post-body h2 {
  font-size: 1.75rem;
}

.post-body h3 {
  font-size: 1.3rem;
}

.post-body h4 {
  font-size: 1.1rem;
}

.post-body ul,
.post-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.post-body li {
  margin-bottom: 0.5rem;
}

.post-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-style: italic;
}

.post-body img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 4px;
}

.post-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.post-body a:hover {
  text-decoration: none;
}

.post-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ========== Code ========== */

.post-body code {
  font-family: var(--font);
  font-size: 0.9em;
  background: var(--bg-secondary);
  padding: 0.15em 0.4em;
  border-radius: 3px;
}

.post-body pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.post-body pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
}

.highlight {
  position: relative;
}

.highlight pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem 1.5rem;
  padding-top: 2.2rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  line-height: 1.6;
}

.highlight code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
}

.code-lang {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  background: var(--border);
  color: var(--text-secondary);
  border-radius: 4px 0 4px 0;
  z-index: 1;
}

.code-copy {
  position: absolute;
  top: 0.35rem;
  right: 0.5rem;
  font-family: var(--font);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-secondary);
  padding: 0.2em 0.5em;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
  z-index: 1;
}

.code-copy:hover {
  color: var(--text);
  border-color: var(--text-secondary);
}

.code-copy.copied {
  color: #16a34a;
  border-color: #16a34a;
}

/* Syntax Highlighting (Chroma classes) */
.highlight .k,
.highlight .kd,
.highlight .kn,
.highlight .kp,
.highlight .kr,
.highlight .kt,
.highlight .kc { font-weight: 700; }

.highlight .s,
.highlight .s1,
.highlight .s2,
.highlight .se,
.highlight .sa,
.highlight .sb,
.highlight .sc,
.highlight .dl,
.highlight .sd,
.highlight .sh,
.highlight .sx { color: #9a3412; }

[data-theme="dark"] .highlight .s,
[data-theme="dark"] .highlight .s1,
[data-theme="dark"] .highlight .s2,
[data-theme="dark"] .highlight .se,
[data-theme="dark"] .highlight .sa,
[data-theme="dark"] .highlight .sb,
[data-theme="dark"] .highlight .sc,
[data-theme="dark"] .highlight .dl,
[data-theme="dark"] .highlight .sd,
[data-theme="dark"] .highlight .sh,
[data-theme="dark"] .highlight .sx { color: #fb923c; }

.highlight .c,
.highlight .c1,
.highlight .cm,
.highlight .cp,
.highlight .cs,
.highlight .ch { color: var(--text-secondary); font-style: italic; }

.highlight .mi,
.highlight .mf,
.highlight .mh,
.highlight .mo,
.highlight .mb,
.highlight .il { color: #7c2d12; }

[data-theme="dark"] .highlight .mi,
[data-theme="dark"] .highlight .mf,
[data-theme="dark"] .highlight .mh,
[data-theme="dark"] .highlight .mo,
[data-theme="dark"] .highlight .mb,
[data-theme="dark"] .highlight .il { color: #fdba74; }

.highlight .nb,
.highlight .bp { color: #4a5568; }

[data-theme="dark"] .highlight .nb,
[data-theme="dark"] .highlight .bp { color: #93c5fd; }

.highlight .nc,
.highlight .nd,
.highlight .ni,
.highlight .ne,
.highlight .nf,
.highlight .fm { color: #1e40af; }

[data-theme="dark"] .highlight .nc,
[data-theme="dark"] .highlight .nd,
[data-theme="dark"] .highlight .ni,
[data-theme="dark"] .highlight .ne,
[data-theme="dark"] .highlight .nf,
[data-theme="dark"] .highlight .fm { color: #93c5fd; }

.highlight .o,
.highlight .ow { font-weight: 700; }

/* ========== Tables ========== */

.post-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  display: block;
  overflow-x: auto;
}

.post-body th,
.post-body td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.post-body th {
  background: var(--bg-secondary);
  font-weight: 600;
}

/* ========== List Page Header ========== */

.list-page-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.list-page-divider {
  border: none;
  border-top: 2px solid var(--text);
  margin-bottom: 1.5rem;
}

.list-page-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.list-page-header .total {
  color: var(--text-secondary);
  font-weight: 400;
}

/* ========== Post List ========== */

.post-list {
  list-style: none;
}

.post-list-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.post-list-date {
  flex-shrink: 0;
  width: 80px;
  text-align: right;
  padding-top: 0.3rem;
}

.post-list-date .year {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.post-list-date .monthday {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.post-list-body {
  flex: 1;
  min-width: 0;
}

.post-list-title {
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.25;
  display: block;
  margin-bottom: 0.35rem;
}

.post-list-title:hover {
  text-decoration: none;
  color: var(--accent);
  transition: color 0.15s ease;
}

.post-list-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.post-list-read {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.post-list-read:hover {
  color: var(--text);
  text-decoration: none;
}

/* ========== Book Entries ========== */

.book-entry {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.book-entry:last-child {
  border-bottom: none;
}

.book-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.book-entry-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.book-entry-stars {
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.book-entry-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.book-entry-review {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  line-height: 1.6;
  font-style: italic;
}

/* ========== Bookshelf ========== */

.bookshelf-year-group {
  margin-bottom: 2rem;
}

.bookshelf-year {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.bookshelf-list {
  display: flex;
  flex-direction: column;
}

.book-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.book-row:last-child {
  border-bottom: none;
}

.book-row:hover {
  background: var(--bg-secondary);
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 4px;
}

.book-cover-sm {
  width: 40px;
  height: 60px;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.book-info {
  flex: 1;
  min-width: 0;
}

.book-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
}

.book-author {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.book-status {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 2px;
  flex-shrink: 0;
}

.book-status.finished {
  background: #16a34a;
  color: #fff;
}

.book-status.reading {
  background: var(--accent);
  color: #fff;
}

.book-status.to-read {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

/* ========== Reading ========== */

.reading-list {
  list-style: none;
}

.reading-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.reading-item:first-child {
  border-top: 1px solid var(--border);
}

.reading-item-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 0.1rem;
}

.reading-item-title:hover {
  color: var(--accent);
  text-decoration: none;
}

.reading-item-source {
  font-size: 0.65rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.reading-item-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.4rem;
}

.reading-item-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.reading-tag {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 0.15em 0.5em;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

/* ========== About ========== */

.about-content {
  font-size: 1rem;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 1.5rem;
}

.about-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.about-content ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.about-content ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.about-content ul li:last-child {
  border-bottom: none;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: background 0.15s ease, color 0.15s ease;
}

.about-links a:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-color: var(--accent);
  transform: translateY(-1px);
}

/* ========== Projects ========== */

.project-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.project-card {
  padding: 1.35rem 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  transition: background 0.2s ease;
}

.project-card:hover {
  background: color-mix(in srgb, var(--bg-secondary) 45%, transparent);
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.project-status {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.6em;
  border-radius: 2px;
}

.project-status.active {
  background: #16a34a;
  color: #fff;
}

.project-status.archived {
  background: var(--border);
  color: var(--text-secondary);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.project-tech {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.project-tech-tag {
  font-size: 0.55rem;
  font-weight: 600;
  padding: 0.15em 0.5em;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-links a {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.project-links a:hover {
  text-decoration: none;
  color: var(--text);
}

/* ========== Footer ========== */

.site-footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
  max-width: 1000px;
  margin: 3rem auto 0;
}

.footer-links {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-sep {
  margin: 0 0.35rem;
  color: var(--border);
}

.site-footer p a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* ========== KaTeX ========== */

.katex {
  font-size: 1.1em;
}

.katex-display {
  margin: 1.5rem 0;
  overflow-x: auto;
}

/* ========== Responsive ========== */

/* ========== Back to Top ========== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 36px;
  height: 36px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-secondary);
  font-family: var(--font);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, color 0.15s ease, border-color 0.15s ease;
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  color: var(--text);
  border-color: var(--text-secondary);
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 0.9rem;
    align-items: stretch;
    padding: 1rem 1.25rem;
  }

  .site-brand {
    align-self: flex-start;
  }

  .site-nav {
    width: 100%;
    min-width: 0;
    gap: 0.75rem;
  }

  .nav-links {
    flex: 1 1 auto;
    min-width: 0;
    flex-wrap: nowrap;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
  }

  .nav-sep {
    display: none;
  }

  .content-wrapper {
    padding: 1rem 1.25rem;
  }

  .post-title {
    font-size: 1.6rem;
  }

  .post-body h2 {
    font-size: 1.4rem;
  }

  .post-body h3 {
    font-size: 1.15rem;
  }

  .header-divider {
    height: 24px;
  }

  .book-cover-sm {
    width: 32px;
    height: 48px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .post-list-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .post-list-date {
    text-align: left;
    width: auto;
  }

  .list-page-title {
    font-size: 2rem;
  }

  .nav-links {
    gap: 0.7rem;
  }

  .post-title {
    font-size: 1.4rem;
  }
}
