/* ============================================================
   Artisan Theme — Custom CSS for ya0guang.com
   A refined, modern design with dark mode, smooth transitions,
   and CJK-friendly typography.
   ============================================================ */

/* -----------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   ----------------------------------------------------------- */
:root {
  /* Colors — Light mode */
  --color-bg: #faf9f7;
  --color-bg-secondary: #f0eeeb;
  --color-surface: #ffffff;
  --color-text: #2c2c2c;
  --color-text-muted: #6b6b6b;
  --color-text-subtle: #999999;
  --color-accent: #3d6b5e;
  --color-accent-hover: #2d5248;
  --color-accent-light: rgba(61, 107, 94, 0.08);
  --color-border: #e5e2dd;
  --color-border-light: #f0eeeb;
  --color-code-bg: #f5f3f0;
  --color-shadow: rgba(0, 0, 0, 0.04);
  --color-shadow-lg: rgba(0, 0, 0, 0.08);
  --color-tag-bg: #eae7e2;
  --color-tag-text: #555;

  /* Typography */
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Source Serif 4', 'Georgia', serif;
  --font-mono: 'Source Code Pro', 'Fira Code', monospace;
  --font-cjk: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-size-base: 16px;
  --line-height: 1.75;
  --line-height-heading: 1.3;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.5rem;
  --space-2xl: 4rem;

  /* Layout */
  --max-width: 780px;
  --header-height: 64px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Dark mode */
[data-theme="dark"] {
  --color-bg: #1a1a1a;
  --color-bg-secondary: #222222;
  --color-surface: #262626;
  --color-text: #e0ddd8;
  --color-text-muted: #a0a0a0;
  --color-text-subtle: #707070;
  --color-accent: #6db89f;
  --color-accent-hover: #8fd4bb;
  --color-accent-light: rgba(109, 184, 159, 0.1);
  --color-border: #333333;
  --color-border-light: #2a2a2a;
  --color-code-bg: #2d2d2d;
  --color-shadow: rgba(0, 0, 0, 0.2);
  --color-shadow-lg: rgba(0, 0, 0, 0.4);
  --color-tag-bg: #333;
  --color-tag-text: #bbb;
}

/* -----------------------------------------------------------
   Reset & Base
   ----------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
  transition: background-color var(--transition-base), color var(--transition-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* CJK content gets serif font */
:lang(zh) body,
:lang(zh) .post-content,
:lang(zh) .page-content {
  font-family: var(--font-serif);
}

:lang(zh) h1,
:lang(zh) h2,
:lang(zh) h3,
:lang(zh) h4,
:lang(zh) h5,
:lang(zh) h6,
:lang(zh) .site-header,
:lang(zh) .site-footer {
  font-family: var(--font-sans);
}

/* -----------------------------------------------------------
   Container
   ----------------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* -----------------------------------------------------------
   Header
   ----------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
  height: var(--header-height);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  background: var(--color-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px var(--color-shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.site-logo:hover {
  color: var(--color-accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-link {
  text-decoration: none;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: var(--space-sm);
  right: var(--space-sm);
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  margin-left: var(--space-sm);
  padding-left: var(--space-md);
  border-left: 1px solid var(--color-border);
}

.lang-link {
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-text-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-link:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

/* Theme toggle */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-muted);
  font-size: 1rem;
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  margin-left: var(--space-xs);
}

.theme-toggle:hover {
  color: var(--color-accent);
  background: var(--color-accent-light);
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  position: relative;
  z-index: 101;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all var(--transition-fast);
  position: absolute;
  left: 7px;
}

.hamburger {
  top: 17px;
}

.hamburger::before {
  content: '';
  top: -7px;
}

.hamburger::after {
  content: '';
  top: 7px;
}

.mobile-menu-toggle.open .hamburger {
  background: transparent;
}

.mobile-menu-toggle.open .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.open .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

/* -----------------------------------------------------------
   Main Content
   ----------------------------------------------------------- */
.main-content {
  flex: 1;
  padding: var(--space-2xl) 0;
}

/* -----------------------------------------------------------
   Home / About page (profile)
   ----------------------------------------------------------- */
.profile-section {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}

.profile-bio h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-sm);
  line-height: var(--line-height-heading);
}

.profile-bio .tagline {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: var(--space-lg);
  line-height: 1.6;
}

.profile-bio .bio-text {
  font-size: 0.95rem;
  line-height: var(--line-height);
}

.profile-bio .bio-text p {
  margin-bottom: var(--space-md);
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: 0 4px 20px var(--color-shadow-lg);
  transition: transform var(--transition-slow);
}

.profile-photo:hover {
  transform: scale(1.02);
}

.profile-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.profile-links a {
  color: var(--color-text-muted);
  font-size: 1.2rem;
  transition: color var(--transition-fast);
}

.profile-links a:hover {
  color: var(--color-accent);
}

/* News section on homepage */
.news-section {
  margin-top: var(--space-2xl);
}

.news-section h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

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

.news-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.news-date {
  color: var(--color-text-subtle);
  font-size: 0.85rem;
  font-family: var(--font-mono);
}

.news-content {
  font-size: 0.95rem;
}

/* Selected publications on homepage */
.selected-pubs {
  margin-top: var(--space-2xl);
}

.selected-pubs h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

/* -----------------------------------------------------------
   Publications
   ----------------------------------------------------------- */
.pub-list {
  list-style: none;
}

.pub-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.pub-item:last-child {
  border-bottom: none;
}

.pub-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  line-height: var(--line-height-heading);
}

.pub-authors {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
}

.pub-authors .author-self {
  font-weight: 600;
  color: var(--color-text);
}

.pub-venue {
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  font-style: italic;
}

.pub-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-accent);
  font-weight: 600;
}

.pub-links {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.pub-link {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.pub-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

/* -----------------------------------------------------------
   Projects
   ----------------------------------------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.project-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.project-card:hover {
  box-shadow: 0 4px 16px var(--color-shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}

.project-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.project-card h3 a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.project-card h3 a:hover {
  color: var(--color-accent);
}

.project-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.project-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

/* -----------------------------------------------------------
   Blog
   ----------------------------------------------------------- */
.post-list {
  list-style: none;
}

.post-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border-light);
  transition: background var(--transition-fast);
}

.post-item:last-child {
  border-bottom: none;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.post-date {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--color-text-subtle);
}

.post-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.post-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  line-height: var(--line-height-heading);
}

.post-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.post-title a:hover {
  color: var(--color-accent);
}

.post-summary {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.post-tags {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
  flex-wrap: wrap;
}

.tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--color-tag-bg);
  color: var(--color-tag-text);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.read-more {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  margin-left: var(--space-xs);
  transition: color var(--transition-fast);
}

.read-more:hover {
  text-decoration: underline;
}

/* -----------------------------------------------------------
   Single Post / Page Content
   ----------------------------------------------------------- */
.page-header {
  margin-bottom: var(--space-xl);
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: var(--line-height-heading);
  margin-bottom: var(--space-sm);
}

.page-header .post-meta {
  margin-bottom: 0;
}

.post-content,
.page-content {
  font-size: 0.95rem;
  line-height: var(--line-height);
}

.post-content h2,
.page-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
}

.post-content h3,
.page-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.post-content h4,
.page-content h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.post-content p,
.page-content p {
  margin-bottom: var(--space-md);
}

.post-content a,
.page-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-color: rgba(61, 107, 94, 0.3);
  text-underline-offset: 3px;
  transition: all var(--transition-fast);
}

.post-content a:hover,
.page-content a:hover {
  text-decoration-color: var(--color-accent);
}

.post-content img,
.page-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  box-shadow: 0 2px 12px var(--color-shadow);
}

.post-content blockquote,
.page-content blockquote {
  border-left: 3px solid var(--color-accent);
  padding: var(--space-sm) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--color-accent-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-muted);
  font-style: italic;
}

.post-content code,
.page-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--color-code-bg);
  padding: 2px 6px;
  border-radius: 3px;
}

.post-content pre,
.page-content pre {
  background: var(--color-code-bg);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border: 1px solid var(--color-border);
}

.post-content pre code,
.page-content pre code {
  background: none;
  padding: 0;
  font-size: 0.85rem;
  line-height: 1.6;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.post-content li,
.page-content li {
  margin-bottom: var(--space-xs);
}

.post-content table,
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
  font-size: 0.9rem;
}

.post-content th,
.page-content th {
  background: var(--color-bg-secondary);
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--color-border);
}

.post-content td,
.page-content td {
  padding: var(--space-sm) var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
}

.post-content hr,
.page-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-xl) 0;
}

/* Table of Contents */
.toc {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--color-border-light);
}

.toc-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.toc nav ul {
  list-style: none;
  padding-left: var(--space-md);
}

.toc nav>ul {
  padding-left: 0;
}

.toc nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 2;
  transition: color var(--transition-fast);
}

.toc nav a:hover {
  color: var(--color-accent);
}

/* -----------------------------------------------------------
   CV Page
   ----------------------------------------------------------- */
.cv-section {
  margin-bottom: var(--space-xl);
}

.cv-section h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.cv-entry {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
}

.cv-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--color-text-subtle);
  font-weight: 500;
}

.cv-details h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.cv-details .cv-institution {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.cv-details ul {
  margin-top: var(--space-xs);
  padding-left: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* -----------------------------------------------------------
   Pagination
   ----------------------------------------------------------- */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

.pagination a,
.pagination span {
  font-size: 0.9rem;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.pagination a {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.pagination a:hover {
  background: var(--color-accent);
  color: white;
}

.pagination .current {
  background: var(--color-accent);
  color: white;
  font-weight: 600;
}

/* -----------------------------------------------------------
   Section headers
   ----------------------------------------------------------- */
.section-header {
  margin-bottom: var(--space-xl);
}

.section-header h1 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-top: var(--space-xs);
}

/* -----------------------------------------------------------
   Footer
   ----------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0;
  margin-top: auto;
}

.footer-inner {
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer-social a {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  transition: color var(--transition-fast);
}

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

.footer-copyright {
  font-size: 0.82rem;
  color: var(--color-text-subtle);
}

.footer-powered {
  font-size: 0.75rem;
  color: var(--color-text-subtle);
  margin-top: var(--space-xs);
}

.footer-powered a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* -----------------------------------------------------------
   Responsive
   ----------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --header-height: 56px;
  }

  .container {
    padding: 0 var(--space-md);
  }

  .mobile-menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-sm);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    border-top: 1px solid var(--color-border);
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav .nav-link {
    font-size: 1.1rem;
    padding: var(--space-sm) var(--space-md);
    width: 100%;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 1px solid var(--color-border);
    width: 100%;
  }

  .profile-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .profile-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto var(--space-lg);
    order: -1;
  }

  .profile-links {
    justify-content: center;
  }

  .page-header h1 {
    font-size: 1.6rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .cv-entry {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }
}

/* -----------------------------------------------------------
   Animations
   ----------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-content {
  animation: fadeInUp var(--transition-slow) ease-out;
}

/* Selection color */
::selection {
  background: var(--color-accent);
  color: white;
}

::-moz-selection {
  background: var(--color-accent);
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-subtle);
}

/* Print */
@media print {

  .site-header,
  .site-footer,
  .theme-toggle,
  .lang-switcher,
  .mobile-menu-toggle {
    display: none !important;
  }

  .main-content {
    padding: 0;
  }

  body {
    color: black;
    background: white;
  }
}