/* ==========================================================================
   My articles (dash-articles, dash-articles-edit) — on top of the shared
   account styles (dash.css). Index: new-article button · article card
   ========================================================================== */

/* ---- "Write a new article" ------------------------------------------------ */
.article-new { padding-inline: var(--sp-4); }
.article-new .icon { font-size: .6875rem; }

/* ---- Article card ---------------------------------------------------------- */
.article-item { gap: .375rem; }
.article-item__title { font-size: var(--fs-18); line-height: 1.55; }
.article-item__category { font-weight: 500; }
.article-item__muted { color: var(--text-muted); }
.article-item__stats { gap: var(--sp-1) var(--sp-3); }
.article-item__stat { font-weight: 600; }
.article-item__stat--likes, .article-item__stat--likes .icon { color: var(--burgundy); }
.article-item__stat--comments, .article-item__stat--comments .icon { color: var(--navy-soft); }

/* ---- Draft card on phones: edit on its own row; preview, publish and the 44px delete share the next one ---- */
@media (max-width: 40rem) {
  .dash-item__actions > a:first-child:nth-last-child(4) { flex: 1 1 100%; }
  .dash-item__actions > a:nth-child(2):nth-last-child(3),
  .dash-item__actions > button:nth-child(3):nth-last-child(2) { flex: 1 1 0; min-width: 0; padding-inline: var(--sp-2); }
  .dash-item__actions > .btn--icon-only:nth-last-child(1) { flex: none; width: 2.75rem; padding-inline: 0; }
}
