/* assets/css/style.css — Editorial Newsletter */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400&display=swap');

/* ── Reset & Variables ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:       #1a1a1a;
  --ink-dk:   #101010;
  --paper:     #f7f4ef;
  --cream:     #ede9e1;
  --muted:     #8a8278;
  --accent:    #789BCF;
  --accent-dk: #72c7d7;
  --gold:      #b8960c;
  --border:    #d4cfc6;
  --white:     #ffffff;
  --nav-link: #f1f1f1;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;
  --font-mono:   'DM Mono', monospace;
  --text-main: #dddddd;

  /* Card dark theme */
  --card-bg:     #1c1c1e;
  --card-border: rgba(255,255,255,0.07);
  --card-muted:  #8a8680;
  --card-title:  #f0ece6;

  --overlay-bg: rgba(0,0,0,0.72);

  --max-w: 860px;
  --max-admin: 1200px;
  --radius: 4px;
  --radius-card: 10px;
  --shadow: 0 2px 16px rgba(26,22,18,.08);
  --shadow-lg: 0 8px 40px rgba(26,22,18,.14);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--ink);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

/* ── Typography ─────────────────────────────────────────────────── */
h1,h2,h3,h4 { font-family: var(--font-serif); line-height: 1.2; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dk); }
p { margin-bottom: 1rem; }
img { max-width: 100%; display: block; }

/* ─── HEADER ─────────────────────────────────────── */
    .masthead {
      background: var(--ink-dk);
      border-bottom: 1px solid var(--accent-dk);
      position: sticky;
      top: 0;
      z-index: 100;
      backdrop-filter: blur(12px);
      padding: 7px 0;
    }
 
    .masthead-inner {
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 2rem;
    }
 
    /* ─── LOGO ───────────────────────────────────────── */
    .logo-block {
      display: flex;
      align-items: center;
      gap: 14px;
      text-decoration: none;
      flex-shrink: 0;
    }
 
    .logo-img-wrap {
      display: flex;
      align-items: center;
      flex-shrink: 0;
    }
 
    .logo-img {
      height: 50px;
      width: auto;
      display: block;
      object-fit: contain;
    }
 
    .logo-divider {
      width: 1px;
      height: 36px;
      background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(240,237,232,0.18) 20%,
        rgba(240,237,232,0.28) 50%,
        rgba(240,237,232,0.18) 80%,
        transparent 100%
      );
      flex-shrink: 0;
      margin: 0 2px;
    }
 
    .logo-text-group {
      display: flex;
      flex-direction: column;
      gap: 3px;
      line-height: 1;
    }
 
    .logo-wordmark {
      font-family: 'DM Serif Display', serif;
      font-size: 1.2rem;
      color: var(--white);
      letter-spacing: -0.01em;
    }
 
    .logo-wordmark span {
      color: var(--accent);
    }
 
    .logo-tagline {
      font-size: 0.80rem;
      color: var(--white);
      font-weight: 300;
      letter-spacing: 0.01em;
    }
 
    /* ─── NAV ────────────────────────────────────────── */
    .masthead-nav {
      display: flex;
      align-items: center;
      gap: 2rem;
    }
 
    .nav-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      list-style: none;
    }
 
    .nav-links a {
      color: var(--nav-link);
      text-decoration: none;
      font-size: 0.950rem;
      font-weight: 400;
      letter-spacing: 0.01em;
      transition: color 0.2s ease;
    }
 
    .nav-links a:hover {
      transform: scale(1.1);
      color:#dddddd;
    }
 
 
    /* ─── HAMBURGUER ─────────────────────────────────── */
    .burger {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 6px;
      border-radius: 6px;
      color: var(--white);
      transition: color 0.2s ease;
    }
 
    .burger:hover { color: var(--accent); }
 
    .burger svg {
      display: block;
      width: 22px;
      height: 22px;
    }
 
    /* ─── DRAWER ─────────────────────────────────────── */
    .drawer-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: var(--overlay-bg);
      z-index: 200;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
 
    .drawer-overlay.open {
      display: block;
    }
 
    .drawer-overlay.visible {
      opacity: 1;
    }
 
    .drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 280px;
      background: var(--ink-dk);
      border-left: 1px solid var(--header-border);
      z-index: 201;
      transform: translateX(100%);
      transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
      display: flex;
      flex-direction: column;
    }
 
    .drawer.open {
      transform: translateX(0);
    }
 
    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.25rem 1.5rem;
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
 
    .drawer-logo {
      font-family: 'DM Serif Display', serif;
      font-size: 1.05rem;
      color: var(--white);
    }
 
    .drawer-logo span { color:#2dc78a; }
 
    .drawer-close {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--white);
      padding: 4px;
      border-radius: 4px;
      transition: color 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }
 
    .drawer-close:hover { color: var(--accent-dk); }
 
    .drawer-close svg {
      width: 20px;
      height: 20px;
    }
 
    .drawer-nav {
      display: flex;
      flex-direction: column;
      padding: 1.5rem;
      gap: 0.25rem;
      flex: 1;
    }
 
    .drawer-nav a {
      color: var(--nav-link);
      text-decoration: none;
      font-size: 1rem;
      font-weight: 400;
      padding: 0.75rem 0.5rem;
      border-bottom: 1px solid  rgba(255,255,255,0.07);
      transition: color 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
 
    .drawer-nav a:hover { color: #f9f9f9; }
 
    .drawer-nav a::after {
      content: '';
      width: 5px;
      height: 5px;
      border-right: 1.5px solid currentColor;
      border-top: 1.5px solid currentColor;
      transform: rotate(45deg);
      opacity: 0.4;
    }
 
    .drawer-footer {
      padding: 1rem;
      border-top: 1px solid #f9f9f9;
      text-align: center;
    }
 
    /* ─── RESPONSIVE ─────────────────────────────────── */
    @media (max-width: 900px) {
      .masthead-nav {
        display: none;
      }
 
      .burger {
        display: flex;
        align-items: center;
        justify-content: center;
      }
 
      .masthead-inner {
        padding: 0 1.25rem;
      }
    }
    @media (max-width: 425px) {
      .logo-wordmark {
        font-size: 0.900rem;
      }
      .logo-tagline {
        font-size: 0.400rem;
      }
      .logo-img {
        height: 35px;
      }
    }

/* ── Rule decorations ───────────────────────────────────────────── */
.rule-ornament {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 2rem 0 1.5rem;
}
.rule-ornament::before, .rule-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Container ──────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.container--wide { max-width: var(--max-admin); margin: 0 auto; padding: 0 1.5rem; }

/* ── Article cards (public) ─────────────────────────────────────── */
.articles-grid { display: grid; gap: 2rem; margin: 2rem 0; }
@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Card dark ──────────────────────────────────────────────────── */
.article-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.article-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.35); transform: translateY(-2px); }
.article-card__cover { aspect-ratio: 16/9; object-fit: cover; width: 100%; background: #2a2a2c; }
.article-card__cover-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2a2a2c 0%, #1c1c1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #3a3a3c;
}
.article-card__body { padding: 1.1rem 1.25rem .75rem; }
.article-card__meta { font-size: .72rem; color: var(--card-muted); margin-bottom: .4rem; font-family: var(--font-mono); }
.article-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.3;
  margin-bottom: .4rem;
  color: var(--card-title);
}
.article-card__title a { color: inherit; }
.article-card__title a:hover { color: var(--accent); }
.article-card__summary { font-size: .88rem; color: var(--card-muted); line-height: 1.5; }

.article-card__footer {
  padding: .85rem 1.25rem;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.article-card__views { font-size: .75rem; color: var(--card-muted); }

/* ── Featured (first article) ───────────────────────────────────── */
.article-featured {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  display: grid;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
@media (min-width: 640px) { .article-featured { grid-template-columns: 1fr 1fr; } }
.article-featured__cover { aspect-ratio: 1/1; object-fit: cover; width: 100%; background: #2a2a2c; }
.article-featured__body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.article-featured__label {
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: .75rem;
}
.article-featured__title {
  font-size: 1.8rem;
  line-height: 1.2;
  margin-bottom: .75rem;
  color: var(--card-title);
}
.article-featured__title a { color: inherit; }
.article-featured__title a:hover { color: var(--accent); }
.article-featured__summary { color: var(--card-muted); margin-bottom: 1.25rem; }
.article-featured__meta { font-size: .8rem; color: var(--card-muted); font-family: var(--font-mono); }

/* ── Author block ───────────────────────────────────────────────── */
.author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.author-avatar--sm {
  width: 28px;
  height: 28px;
}
.author-avatar--placeholder {
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 600;
  font-family: var(--font-sans);
}
.author-avatar--sm.author-avatar--placeholder { font-size: .72rem; }

.article-featured__author,
.article-card__author {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.article-card__author { margin-bottom: 0; }

.author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-name {
  font-size: .82rem;
  font-weight: 500;
  color: var(--card-title);
  line-height: 1;
}
.author-meta {
  font-size: .72rem;
  color: var(--card-muted);
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-mono);
}
.author-meta svg { opacity: .6; flex-shrink: 0; }

/* ── Read more link ─────────────────────────────────────────────── */
.read-more {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}
.read-more::after { content: '→'; transition: transform .2s; }
.read-more:hover::after { transform: translateX(3px); }

/* ── Single article ─────────────────────────────────────────────── */
.article-single { background: var(--ink); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem; margin: 2rem 0; box-shadow: var(--shadow); }
.article-single__header { border-bottom: 1px solid var(--border); padding-bottom: 1.5rem; margin-bottom: 2rem; }
.article-single__title { font-size: 2.2rem; line-height: 1.15; margin-bottom: .75rem; color: #dbdbdb;}
.article-single__meta { font-size: .82rem; color: var(--muted); font-family: var(--font-mono); }
.article-single__cover { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; aspect-ratio: 16/9; object-fit: cover; }
.article-single__content { font-size: 1.05rem; line-height: 1.8; color: #fff; }
.article-single__content h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.article-single__content h3 { font-size: 1.2rem; margin: 1.5rem 0 .5rem; }
.article-single__content blockquote { border-left: 3px solid var(--accent); padding: .75rem 1.25rem; margin: 1.5rem 0; color: var(--muted); font-style: italic; background: var(--cream); border-radius: 0 var(--radius) var(--radius) 0; }
.article-single__content code { font-family: var(--font-mono); background: var(--cream); padding: .1em .35em; border-radius: 3px; font-size: .9em; }
.article-single__content pre { background: var(--ink); color: var(--paper); padding: 1.25rem; border-radius: var(--radius); overflow-x: auto; margin: 1.5rem 0; }
.article-single__content pre code { background: none; padding: 0; color: inherit; }

/* ── Subscribe form ─────────────────────────────────────────────── */
.subscribe-box {
  background: var(--ink-dk);
  color: var(--paper);
  padding: 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}
.subscribe-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.subscribe-box h2 { color: var(--paper); font-size: 1.7rem; margin-bottom: .5rem; }
.subscribe-box p { color: var(--muted); margin-bottom: 1.5rem; font-size: .95rem; }
.subscribe-form { display: flex; gap: .5rem; max-width: 440px; margin: 0 auto; flex-wrap: wrap; }
.subscribe-form input[type=email], .subscribe-form input[type=text] {
  flex: 1;
  min-width: 200px;
  padding: .7rem 1rem;
  border: 1px solid #3a3630;
  background: #2a2620;
  color: var(--paper);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .9rem;
}
.subscribe-form input::placeholder { color: var(--muted); }
.subscribe-form input:focus { outline: none; border-color: var(--accent); }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.3rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: all .2s;
  border: none;
  text-decoration: none;
  letter-spacing: .02em;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); color: #fff; }
.btn-secondary { background: var(--cream); color: var(--ink); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border); color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: #2e2a25; color: var(--paper); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
.btn-ghost:hover { background: var(--accent); color: #fff; }
.btn-sm { padding: .4rem .85rem; font-size: .8rem; }
.btn-danger { background: #e74c3c; color: #fff; }
.btn-danger:hover { background: #c0392b; color: #fff; }

/* ── Forms ──────────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
label { display: block; font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; letter-spacing: .03em; text-transform: uppercase; }
input[type=text], input[type=email], input[type=password], input[type=url], textarea, select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--ink);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}
textarea { min-height: 140px; resize: vertical; }
.form-hint { font-size: .78rem; color: var(--muted); margin-top: .3rem; }

/* ── Admin layout ───────────────────────────────────────────────── */
.admin-body { background: #f0ece5; }
.admin-sidebar {
  position: fixed;
  top: 0; left: 0;
  width: 220px;
  height: 100vh;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  z-index: 100;
  border-right: 3px solid var(--accent);
}
.admin-sidebar__logo {
  padding: 1.5rem;
  border-bottom: 1px solid #2d2920;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--paper);
  line-height: 1.2;
}
.admin-sidebar__logo small { display: block; font-family: var(--font-sans); font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.admin-nav { flex: 1; padding: 1.25rem 0; overflow-y: auto; }
.admin-nav a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.5rem;
  color: #a09888;
  font-size: .88rem;
  font-weight: 500;
  transition: all .15s;
  border-left: 3px solid transparent;
}
.admin-nav a:hover { color: var(--paper); background: rgba(255,255,255,.04); }
.admin-nav a.active { color: var(--paper); border-left-color: var(--accent); background: rgba(192,57,43,.12); }
.admin-nav .nav-section { padding: .5rem 1.5rem; font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; color: #5a5248; margin-top: .75rem; }
.admin-sidebar__footer { padding: 1rem 1.5rem; border-top: 1px solid #2d2920; }
.admin-sidebar__footer a { color: var(--muted); font-size: .82rem; }

.admin-main {
  margin-left: 220px;
  min-height: 100vh;
}
.admin-topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 8px rgba(26,22,18,.06);
}
.admin-topbar h1 { font-size: 1.2rem; font-family: var(--font-serif); }
.admin-content { padding: 2rem; }

/* ── Admin cards / stats ────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.25rem; margin-bottom: 2rem; }
.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  border-top: 3px solid var(--accent);
}
.stat-card__value { font-size: 2.2rem; font-family: var(--font-serif); color: var(--ink); line-height: 1; }
.stat-card__label { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

/* ── Table ──────────────────────────────────────────────────────── */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-header { padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h2 { font-size: 1rem; font-family: var(--font-serif); }
.card-body { padding: 1.5rem; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: .6rem 1rem; border-bottom: 2px solid var(--border); white-space: nowrap; }
td { padding: .75rem 1rem; border-bottom: 1px solid var(--cream); vertical-align: middle; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--paper); }
.badge { display: inline-flex; align-items: center; padding: .2rem .55rem; border-radius: 20px; font-size: .72rem; font-weight: 600; letter-spacing: .04em; }
.badge-published { background: #d4edda; color: #1a6630; }
.badge-draft     { background: #fff3cd; color: #856404; }
.badge-active    { background: #d4edda; color: #1a6630; }
.badge-inactive  { background: #f8d7da; color: #842029; }

/* ── Alerts / Flash ─────────────────────────────────────────────── */
.alert { padding: .85rem 1.25rem; border-radius: var(--radius); font-size: .9rem; margin-bottom: 1.25rem; border-left: 4px solid; }
.alert-success { background: #d4edda; color: #1a6630; border-color: #28a745; }
.alert-error   { background: #f8d7da; color: #842029; border-color: #dc3545; }
.alert-info    { background: #d1ecf1; color: #0c5460; border-color: #17a2b8; }

/* ── Login page ─────────────────────────────────────────────────── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  padding: 2rem;
}
.login-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}
.login-card__header { text-align: center; margin-bottom: 2rem; }
.login-card__logo { font-family: var(--font-serif); font-size: 1.8rem; color: var(--ink); }
.login-card__logo span { color: var(--accent); }
.login-card__sub { font-size: .82rem; color: var(--muted); margin-top: .3rem; letter-spacing: .06em; text-transform: uppercase; }

/* ── Footer ─────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 4rem;
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: .82rem;
}
.site-footer p {
  margin: 0;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* ── Rich text editor area ──────────────────────────────────────── */
#content-editor { font-family: var(--font-sans); min-height: 300px; }

/* ── Responsive sidebar toggle ──────────────────────────────────── */
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); transition: transform .25s; }
  .admin-sidebar.open { transform: none; }
  .admin-main { margin-left: 0; }
  .sidebar-toggle { display: block !important; }
}
.sidebar-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--ink); font-size: 1.3rem; }

/* ── Pagination ─────────────────────────────────────────────────── */
.pagination { display: flex; gap: .4rem; justify-content: center; margin: 2rem 0; }
.pagination a, .pagination span {
  padding: .4rem .8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .85rem;
  color: var(--ink);
  transition: all .15s;
}
.pagination a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ── Empty state ────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state h3 { font-size: 1.1rem; margin-bottom: .4rem; color: var(--ink); }

/* ── Utility ────────────────────────────────────────────────────── */
.text-muted  { color: var(--muted) !important; }
.text-accent { color: var(--accent) !important; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.w-full { width: 100%; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }