/* ============================================
   CyberX0725 Blog - Luogu-inspired Style
   ============================================ */

/* ----- Design Tokens ----- */
:root {
  /* Background */
  --bg-page: #f5f5f5;
  --bg-card: #ffffff;
  --bg-sidebar: #34495e;
  --bg-sidebar-hover: #3d566e;
  --bg-sidebar-active: #2c3e50;
  --bg-header: #ffffff;
  --bg-tag: #ecf0f1;
  --bg-hover: #f8f9fa;

  /* Primary colors */
  --color-primary: #3498db;
  --color-primary-dark: #2980b9;
  --color-primary-light: #ebf5fb;
  --color-success: #27ae60;
  --color-danger: #e74c3c;
  --color-warning: #f39c12;
  --color-info: #17a2b8;

  /* Difficulty colors (Luogu style) */
  --diff-red: #e74c3c;
  --diff-orange: #f39c12;
  --diff-yellow: #f1c40f;
  --diff-green: #27ae60;
  --diff-blue: #3498db;
  --diff-purple: #9b59b6;
  --diff-black: #34495e;

  /* Text */
  --text-primary: #2c3e50;
  --text-secondary: #5d6d7e;
  --text-tertiary: #95a5a6;
  --text-light: #bdc3c7;
  --text-white: #ffffff;

  /* Border */
  --border-color: #e0e0e0;
  --border-light: #ecf0f1;
  --border-dark: #bdc3c7;

  /* Typography */
  --font-body: 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'SF Mono', 'Monaco', 'Menlo', 'Consolas', 'Courier New', monospace;

  /* Layout */
  --sidebar-width: 220px;
  --header-height: 60px;
  --max-width: 1200px;
  --content-width: 800px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.12);
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 14px;
  min-height: 100vh;
}

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

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

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

/* ----- Sidebar (Left Navigation) ----- */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background-color: var(--bg-sidebar);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
}

.sidebar-logo {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background-color: var(--bg-sidebar-active);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo a {
  color: var(--text-white);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sidebar-logo a span {
  color: var(--color-primary);
}

.sidebar-nav {
  flex: 1;
  padding: 10px 0;
  overflow-y: auto;
}

.sidebar-nav li {
  margin: 2px 0;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  color: #bdc3c7;
  font-size: 14px;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
}

.sidebar-nav a:hover {
  background-color: var(--bg-sidebar-hover);
  color: var(--text-white);
  border-left-color: var(--color-primary);
}

.sidebar-nav a.active {
  background-color: var(--bg-sidebar-active);
  color: var(--text-white);
  border-left-color: var(--color-primary);
}

.sidebar-nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #7f8c8d;
  text-align: center;
}

/* ----- Main Layout ----- */
.main-wrapper {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ----- Header ----- */
.header {
  height: var(--header-height);
  background-color: var(--bg-header);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.header-search input {
  width: 100%;
  height: 36px;
  padding: 0 16px 0 40px;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 14px;
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.header-search input:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.header-search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--text-tertiary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.header-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}

.header-username {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
}

/* ----- Content Area ----- */
.content {
  flex: 1;
  padding: 20px 24px;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

/* ----- Cards ----- */
.card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: box-shadow var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-title svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.card-body {
  padding: 20px;
}

.card-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-hover);
}

/* ----- Page Title ----- */
.page-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-title svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

/* ----- Article List ----- */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  padding: 20px;
  transition: all var(--transition-base);
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-primary);
  text-decoration: none;
  color: inherit;
}

.article-item-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.article-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

.article-tag.tag-design { background-color: #fef0e6; color: #e67e22; }
.article-tag.tag-tutorial { background-color: #e8f8f0; color: #27ae60; }
.article-tag.tag-essay { background-color: #ebf5fb; color: #3498db; }

.article-item-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.article-item:hover .article-item-title {
  color: var(--color-primary);
}

.article-item-excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-item-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
}

.article-item-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-item-meta svg {
  width: 14px;
  height: 14px;
}

/* ----- Featured Article ----- */
.article-item.featured {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border-color: var(--color-primary);
  border-width: 1px;
}

.article-item.featured .article-item-title {
  font-size: 20px;
}

/* ----- Category Filter ----- */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 6px 16px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--bg-card);
  color: var(--text-secondary);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

/* ----- Two Column Layout ----- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
}

.two-col-main {
  min-width: 0;
}

.two-col-side {
  position: sticky;
  top: 80px;
}

/* ----- Author Card (Sidebar) ----- */
.author-card .card-body {
  text-align: center;
}

.author-avatar-lg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  color: white;
}

.author-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-bio {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.author-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.author-stat {
  text-align: center;
}

.author-stat-num {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
}

.author-stat-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

/* ----- Announcement Card ----- */
.announce-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.announce-list li:last-child {
  border-bottom: none;
}

.announce-list a {
  font-size: 13px;
  color: var(--text-secondary);
  display: block;
  transition: color var(--transition-fast);
}

.announce-list a:hover {
  color: var(--color-primary);
}

/* ----- Article Detail Page ----- */
.article-detail {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.article-detail-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--border-light);
}

.article-detail-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-tertiary);
  flex-wrap: wrap;
}

.article-detail-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-detail-meta svg {
  width: 14px;
  height: 14px;
}

.article-detail-body {
  padding: 28px 32px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
}

.article-detail-body h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.article-detail-body h2:first-child {
  margin-top: 0;
}

.article-detail-body h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--color-primary-dark);
}

.article-detail-body p {
  margin-bottom: 16px;
}

.article-detail-body ul, .article-detail-body ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-detail-body li {
  margin-bottom: 8px;
  list-style: disc;
}

.article-detail-body ol li {
  list-style: decimal;
}

.article-detail-body strong {
  font-weight: 600;
  color: var(--text-primary);
}

.article-detail-body em {
  color: var(--color-primary-dark);
  font-style: normal;
  font-weight: 500;
}

.article-detail-body a {
  color: var(--color-primary);
  text-decoration: underline;
  text-decoration-color: rgba(52, 152, 219, 0.3);
}

.article-detail-body blockquote {
  margin: 16px 0;
  padding: 12px 20px;
  background-color: var(--bg-hover);
  border-left: 4px solid var(--color-primary);
  color: var(--text-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-detail-body pre {
  margin: 16px 0;
  padding: 16px 20px;
  background-color: #f8f9fa;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.6;
}

.article-detail-body code {
  font-family: var(--font-mono);
}

.article-detail-body p code, .article-detail-body li code {
  padding: 2px 6px;
  background-color: #f0f0f0;
  border-radius: 3px;
  font-size: 13px;
  color: #c0392b;
}

.article-detail-body pre code {
  color: var(--text-primary);
  background: none;
  padding: 0;
}

/* Article navigation */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.article-nav-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-nav-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.article-nav-item.next {
  text-align: right;
}

.article-nav-label {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 4px;
}

.article-nav-title {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 500;
}

/* ----- About Page ----- */
.about-section {
  margin-bottom: 24px;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.about-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.about-info h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.skill-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
}

.skill-name {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
}

.skill-name span:first-child {
  color: var(--text-primary);
}

.skill-name span:last-child {
  color: var(--color-primary);
}

.skill-bar {
  height: 8px;
  background-color: var(--bg-tag);
  border-radius: 4px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
  border-radius: 4px;
  width: 0;
  transition: width 1s ease;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.contact-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-label {
  font-size: 12px;
  color: var(--text-tertiary);
}

.contact-info-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  word-break: break-all;
}

/* ----- Archive Page ----- */
.archive-year {
  margin-bottom: 24px;
}

.archive-year-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.archive-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  transition: all var(--transition-base);
  text-decoration: none;
  color: inherit;
}

.archive-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
  text-decoration: none;
  color: inherit;
}

.archive-date {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-tertiary);
  flex-shrink: 0;
  width: 90px;
}

.archive-title {
  font-size: 14px;
  color: var(--text-primary);
  flex: 1;
}

.archive-item:hover .archive-title {
  color: var(--color-primary);
}

.archive-category {
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* ----- 404 Page ----- */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  text-align: center;
  padding: 40px;
}

.error-code {
  font-size: 120px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
}

.error-message {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ----- Footer ----- */
.footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 20px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-tertiary);
}

.footer a {
  color: var(--color-primary);
  margin: 0 8px;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: white;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

/* ----- Back to Top ----- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  z-index: 999;
}

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

.back-to-top:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ----- Animations ----- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.fade-in {
  animation: fadeIn 0.4s ease;
}

/* ----- Mobile Sidebar Toggle ----- */
.sidebar-toggle {
  display: none;
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 1001;
  width: 32px;
  height: 32px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.sidebar-toggle svg {
  width: 18px;
  height: 18px;
  color: var(--text-primary);
}

/* ----- Responsive ----- */
@media (max-width: 968px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .two-col-side {
    position: static;
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    width: 220px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-toggle {
    display: flex;
  }

  .main-wrapper {
    margin-left: 0;
  }

  .header {
    padding-left: 56px;
  }

  .header-search {
    max-width: none;
  }

  .header-username {
    display: none;
  }

  .content {
    padding: 16px;
  }

  .article-detail-header,
  .article-detail-body {
    padding-left: 20px;
    padding-right: 20px;
  }

  .article-detail-title {
    font-size: 20px;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav-item.next {
    text-align: left;
  }

  .about-header {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .content {
    padding: 12px;
  }

  .article-item {
    padding: 16px;
  }

  .article-item-title {
    font-size: 16px;
  }

  .article-item-meta {
    gap: 12px;
    font-size: 12px;
  }

  .error-code {
    font-size: 80px;
  }
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-dark);
  border-radius: 4px;
}

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

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