.article-latest-widget {
  /* layout */
  position: relative;
  width: 85%;
  padding: 14px; /* bottom padding leaves room for arrows */
  border: 1px solid #09203f;
  border-radius: 14px;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  --nav-reserved: 92px;       /* space for 2 buttons + gap + a little breathing room */
}

.article-card {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;

  text-decoration: none;
  color: inherit;

  padding: 12px;
  border-radius: 12px;

  transition: background 150ms ease, transform 150ms ease;
}

.article-card:hover {
  background: #f7f7f9;
}

.article-card:active {
  transform: translateY(1px);
}

.article-card:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.article-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f0f3ff;
  color: #2f4de0;
}

.article-text {
  min-width: 0; /* allows ellipsis to work */
}

.article-title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;

  /* optional truncation */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-authors {
  margin-top: 4px;
  font-weight: 400;
  font-size: 0.95rem;
  color: #555;

  /* optional truncation */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.article-nav {
  position: absolute;
  right: 14px;
  top: 14px;
  display: flex;
  gap: 8px;
}

.nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #e6e6e6;
  background: #fff;
  color: #222;
  display: grid;
  place-items: center;

  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}

.nav-btn:hover {
  background: #f7f7f9;
}

.nav-btn:active {
  transform: translateY(1px);
}

.nav-btn:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
}

.article__count, .article__label {
  font-variant-numeric: tabular-nums;
}

.article__meta {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin: 0 0 10px;           /* ensure it starts at the top (no default top margin) */
  padding-right: var(--nav-reserved);
  color: #6b7280;
  font-size: 12px;
  margin-bottom: 10px;
}