/* lastcomments.css — Элемент последних комментариев (BEM) */

/* === list-group-item + list-group-item-action + inline padding/line-height === */
.lastcomments__item {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 15px;
  line-height: 1.3;
  color: #17a2b8;
  text-align: inherit;
  background-color: hsla(240, 7%, 12%, 0.50);
  box-shadow: 0px -1px 4px rgb(200 196 196 / 8%), 0px 4px 4px rgb(200 196 196 / 25%);
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.lastcomments__item:first-child {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}
.lastcomments__item:last-child {
  border-bottom-right-radius: inherit;
  border-bottom-left-radius: inherit;
}
.lastcomments__item + .lastcomments__item {
  border-top-width: 0;
}
.lastcomments__item:hover,
.lastcomments__item:focus {
  z-index: 1;
  color: #6CDAEE;
  text-decoration: none;
  background-color: hsla(240, 7%, 12%, 0.90);
}
.lastcomments__item:active {
  color: #6CDAEE;
  background-color: hsla(240, 7%, 12%, 0.90);
}

/* === mt-0 === */
.lastcomments__title {
  margin-top: 0 !important;
}

/* === inline font-family: arial (на <b> внутри заголовка) === */
.lastcomments__title b {
  font-family: arial;
}

/* === mr-1 + inline width/height/border-radius/object-fit === */
.lastcomments__avatar {
  margin-right: 0.25rem !important;
  width: 24px;
  height: 24px;
  object-fit: cover;
}

/* === badge-secondary + bg-light + text-muted + px-2 + inline === */
/* .badge из bootstrap.min.css не загружен → span оставался display:inline с нормальным font-size */
/* Копируем только то, что реально работало: px-2 + inline-стили */
.lastcomments__badge {
  padding: 0 0.5rem;
  font-weight: bold;
  border-radius: 5px;
  color: #17a2b8;
  background-color: rgba(57, 57, 57, 0.95);
}

/* === text-muted + d-flex === */
.lastcomments__date {
  display: -ms-flexbox !important;
  display: flex !important;
  color: #96afc0 !important;
}

/* === mt-2 + inline font-size === */
.lastcomments__comment {
  margin-top: 0.5rem !important;
  font-size: 0.8rem;
  color: #d5dfea;
}
