/* Sidebar */
.section-sidebar,
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 148px;
  align-self: start;
}

.sidebar-card {
  padding: 20px;
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 1px 3px rgb(0 0 0 / 4%);
}

.sidebar-card h3 {
  margin: 0 0 14px;
  color: var(--fg);
  font-size: 14px;
  font-weight: 600;
}

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

.most-read li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.most-read li:last-child {
  border-bottom: 0;
}

.most-read li a {
  display: flex;
  gap: 10px;
  color: var(--fg);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

.most-read li a:hover {
  color: var(--accent);
}

.most-read .num {
  flex-shrink: 0;
  min-width: 24px;
  color: var(--muted);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .section-sidebar,
  .sidebar {
    position: static;
  }
}
