/* ══════════════════════════════════════════
   SIDEBAR
══════════════════════════════════════════ */
.sidebar-widget { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 20px; overflow: hidden; }
.widget-title {
  background: var(--dark); border-bottom: 3px solid var(--accent);
  font-family: var(--font-head); font-size: 12px; text-transform: uppercase;
  color: #fff; padding: 7px 14px; letter-spacing: .08em;
}
.widget-body { padding: 14px; }
.sections-widget-body {
  padding: 0;
  max-height: calc(100vh - 240px);
  min-height: 60px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.sections-widget-body::-webkit-scrollbar { width: 4px; }
.sections-widget-body::-webkit-scrollbar-track { background: transparent; }
.sections-widget-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.sections-widget-body::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* Secciones (reemplaza tags) */
.sections-list { display: flex; flex-direction: column; gap: 3px; }
.section-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 10px; border-radius: var(--radius);
  font-size: 13px; color: var(--text); transition: var(--trans);
}
.section-link:hover, .section-link.active { background: var(--accent); color: #fff; }
.section-link .count {
  background: var(--border); color: var(--text-light);
  font-size: 10px; padding: 1px 7px; border-radius: 10px; font-family: var(--font-head);
}
.section-link:hover .count, .section-link.active .count { background: rgba(255,255,255,.25); color: #fff; }
.section-icon { margin-right: 8px; width: 16px; color: var(--accent); }
.section-link:hover .section-icon, .section-link.active .section-icon { color: #fff; }

/* Popular */
.popular-item { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.popular-item:last-child { border-bottom: none; padding-bottom: 0; }
.popular-num { font-family: var(--font-head); font-size: 22px; color: var(--border); font-weight: 700; line-height: 1; flex-shrink: 0; width: 28px; }
.popular-title { font-size: 13px; color: var(--dark); font-weight: 600; line-height: 1.35em; margin-bottom: 4px; }
.popular-title a { color: var(--dark); }
.popular-title a:hover { color: var(--accent); }
.popular-meta { font-size: 11px; color: #999; }

/* Newsletter */
.newsletter-widget { text-align: center; }
.newsletter-widget p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  width: 100%; padding: 9px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 13px; font-family: var(--font-body); outline: none;
  transition: border .2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form button {
  background: var(--accent); color: #fff; border: none;
  font-family: var(--font-head); font-size: 11px; text-transform: uppercase;
  letter-spacing: .08em; padding: 9px; border-radius: var(--radius);
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--accent-dark); }
