/* New Series widget – theme-switch aware */
.widget_new_series_widget{ --nsw-accent: var(--brand); }

.widget_new_series_widget h2.widget-title{
  color: #e65100;;
  font-weight: 700;
  font-size: 18px;
  border-left: 5px solid color-mix(in srgb, var(--nsw-accent) 90%, #000 10%);
  padding-left: 15px;
  margin-right: 15px;
}

.nsw-sidebar-list{ list-style: none; margin: 0; padding: 0; }

.nsw-sidebar-item{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.nsw-sidebar-item:last-child{ border-bottom: 0; }

.nsw-thumb{ width: 15%; min-width: 52px; flex-shrink: 0; }
.nsw-thumb img{
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--base-3);
}

.nsw-info{ width: 80%; padding-left: 0; }

.nsw-title{
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
  line-height: 1.25;
}
.nsw-title:hover{ color: color-mix(in srgb, var(--nsw-accent) 85%, #000 15%); }
.nsw-title:focus-visible{
  outline: 2px solid color-mix(in srgb, var(--nsw-accent) 70%, #fff 30%);
  outline-offset: 2px;
  border-radius: 4px;
}

.nsw-date{ font-size: 12px; color: var(--muted); }

@media (max-width: 480px){
  .nsw-thumb{ width: 18%; }
  .nsw-info{ width: 78%; }
}

.widget_new_series_widget{ --nsw-accent: #ff9800; }
