/* ── SIDEBAR ── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex-basis: 30%;
}
.sidebar-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 22px;
}
.sidebar-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--heading);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

/* search */
.search-form {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.search-form input {
  flex: 1;
  border: none;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  background: #fff;
  outline: none;
}
.search-form button {
  background: #1b1d1d;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
}
.search-form button svg {
  fill: #fff;
}

/* about card */
.about-card {
  text-align: center;
}
.about-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
}
.about-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 8px;
}
.about-card p {
  font-size: 12.5px;
  color: var(--foreground);
  line-height: 1.6;
  margin-bottom: 14px;
}
.social-links {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.social-links a {
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.social-links a:hover {
  background: var(--primary);
}
.social-links a:hover svg {
  fill: #fff;
}
.social-links svg {
  width: 16px;
  height: 16px;
  fill: var(--heading);
}

/* latest posts */
.post-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.post-thumb {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
}
.post-info h4 {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 5px;
}
.post-info h4 a {
  color: var(--heading);
}
.post-info h4 a:hover {
  color: var(--secondary);
}

.post-date {
  font-size: 11px;
  color: var(--meta);
}

/* categories */
.cat-list {
  list-style: none;
}
.cat-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.cat-list li:last-child {
  border-bottom: none;
}
.cat-list a {
  color: var(--heading);
  font-weight: 500;
}

.cat-list .count {
  color: var(--meta);
  font-size: 12px;
  margin-left: 4px;
}
