/*
 * AMF Forum Widget - minimal styles.
 * Your Sin21 theme already styles .widget and .widget-title, so this file
 * focuses only on the list + meta + button so it blends in automatically.
 */

.amf-forum-widget {
  margin: 0;
  padding: 0;
}

.amf-forum-widget__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.amf-forum-widget__item {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.amf-forum-widget__item:last-child {
  border-bottom: 0;
}

.amf-forum-widget__link {
  color: inherit;
  text-decoration: none;
}

.amf-forum-widget__link:hover,
.amf-forum-widget__link:focus {
  text-decoration: none;
}

.amf-forum-widget__meta {
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.75;
}

.amf-forum-widget__footer {
  margin-top: 12px;
}

.amf-forum-widget__button {
  display: inline-block;
  padding: 10px 15px;
  background: #363636;
  color: #eee;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  transition: all .25s ease-in-out;
}

.amf-forum-widget__button:hover,
.amf-forum-widget__button:focus {
  background: #7f8397;
  color: #fff;
}

.amf-forum-widget__stats {
  margin-top: 12px;
  font-size: 13px;
}

.amf-forum-widget__stats-line {
  margin-top: 6px;
}

.amf-forum-widget__sep {
  margin: 0 6px;
  opacity: 0.6;
}

/* Dark mode support (Sin21 uses body.dark) */
body.dark .amf-forum-widget__item {
  border-bottom-color: rgba(255,255,255,0.12);
}

body.dark .amf-forum-widget__button {
  background: #191919;
  color: #fff;
}

body.dark .amf-forum-widget__button:hover,
body.dark .amf-forum-widget__button:focus {
  background: #7f8397;
  color: #fff;
}
