/* ==========================================
   [MODULE] NEWSROOM LIST VIEW (Blog Archive)
   Kiểu hiển thị "Danh sách đánh số" cho /bai-viet/
   ========================================== */

.newsroom-grid.newsroom-list {
  display: block;
}

.newsroom-list .list-row:first-child {
  border-top: 1px solid var(--border);
}

.newsroom-list .list-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: baseline;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease;
}

.newsroom-list .list-row:hover {
  padding-left: 14px;
  background: var(--surface-soft);
}

.newsroom-list .list-row:active,
.newsroom-list .list-row:visited {
  color: inherit;
}

@keyframes bpRowFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.newsroom-list .list-row.is-entering {
  animation: bpRowFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.newsroom-list .list-number {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-labels);
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

.newsroom-list .list-row:hover .list-number {
  color: var(--text-primary);
}

.newsroom-list .list-body {
  min-width: 0;
  padding-right: 20px;
}

.newsroom-list .list-title {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 550;
  color: var(--text-primary);
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
  margin: 0;
  max-width: 560px;
  text-wrap: pretty;
  transition: color 0.2s ease;
}

.newsroom-list .list-date {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text-labels);
  text-transform: uppercase;
  white-space: nowrap;
  text-align: right;
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
}

@media (max-width: 600px) {
  .newsroom-list .list-row {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 20px 0;
  }
  .newsroom-list .list-number {
    font-size: 12px;
  }
  .newsroom-list .list-date {
    grid-column: 2;
    text-align: left;
    padding-top: 0;
    margin-top: -4px;
    font-size: 10.5px;
  }
  .newsroom-list .list-title {
    font-size: 14px;
    line-height: 1.4;
  }
}
