:root {
  --mony-accent: #0f766e;
  --mony-accent-bright: #14b8a6;
  --mony-ink: #0f172a;
  --mony-muted: #64748b;
  --mony-surface: rgba(255, 255, 255, 0.9);
  --mony-border: rgba(15, 118, 110, 0.18);
}

[data-theme='dark'] {
  --mony-ink: #e2e8f0;
  --mony-muted: #94a3b8;
  --mony-surface: rgba(15, 23, 42, 0.88);
  --mony-border: rgba(45, 212, 191, 0.22);
}

body {
  font-size: 16px;
  font-family: "Iosevka", "Noto Sans Khmer", monospace;
}

#web_bg {
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}

#page-header.full_page {
  background-position: center;
  background-attachment: scroll;
}

[data-theme='dark'] #web_bg {
  filter: brightness(0.52) saturate(0.8);
}

#site-title,
.site-name,
.article-title,
.post-title {
  font-family: "Iosevka", "Noto Sans Khmer", monospace;
  letter-spacing: -0.025em;
}

.layout > div:first-child:not(.recent-posts),
#aside-content .card-widget,
.recent-post-item {
  border: 1px solid var(--mony-border);
}

#aside-content .card-widget,
.recent-post-item {
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.post-content,
#article-container {
  font-size: 1rem;
  line-height: 1.8;
}

#article-container h2,
#article-container h3,
#article-container h4 {
  scroll-margin-top: 5rem;
}

#article-container code,
#article-container pre,
.highlight-tools {
  font-family: "Iosevka", "Noto Sans Khmer", monospace;
  font-size: 14px;
}

@media (max-width: 680px) {
  #web_bg {
    background-attachment: scroll;
  }
}
