/* ============================================================
   monthly-ll.css — LegiList Monthly: the list of issues and the reader

   On the ll- footing (legilist.css): the site's canvas, ink, lines and
   masthead. The only decoration is the issue itself: its cover, its
   headline, its three figures. No icons, no stripes.
   ============================================================ */

.mo-page { padding-bottom: 72px; }

.mo-headline {
  margin: 10px 0 14px;
  max-width: 30ch;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.6rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--ll-ink-2);
}

.mo-size { margin-left: 8px; font-weight: 400; opacity: 0.8; font-variant-numeric: tabular-nums; }

/* ---- the latest issue ---------------------------------------------------- */

.mo-lead {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--ll-line);
  border-radius: 14px;
  background: var(--ll-surface);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.mo-lead:hover { border-color: var(--ll-line-strong); box-shadow: 0 18px 40px -28px rgba(15, 27, 42, 0.35); }
.mo-lead-cover,
.mo-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--ll-line);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 24px -14px rgba(15, 27, 42, 0.35);
}
.mo-lead-copy { display: grid; gap: 14px; min-width: 0; }
.mo-lead-month { font-size: 0.86rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ll-accent); }
.mo-lead-headline { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; color: var(--ll-ink); }
.mo-figures { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 0.95rem; color: var(--ll-ink-3); }
.mo-figures b { color: var(--ll-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.mo-lead-read { font-weight: 700; color: var(--ll-accent); }
.mo-lead-pages { margin-left: 8px; font-weight: 400; color: var(--ll-ink-3); }
.mo-lead:hover .mo-lead-read { text-decoration: underline; text-underline-offset: 3px; }

/* ---- earlier issues ------------------------------------------------------ */

.mo-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 28px 24px;
  margin: 18px 0 0;
  padding: 0;
}
.mo-card { display: grid; gap: 4px; color: inherit; text-decoration: none; }
.mo-card img { margin-bottom: 8px; transition: transform 0.15s ease; }
.mo-card:hover img { transform: translateY(-2px); }
.mo-card-month { font-weight: 700; color: var(--ll-ink); }
.mo-card:hover .mo-card-month { text-decoration: underline; text-underline-offset: 3px; }
.mo-card-headline { font-size: 0.9rem; line-height: 1.35; color: var(--ll-ink-3); }

.mo-about { margin: 44px 0 0; max-width: 68ch; font-size: 0.95rem; color: var(--ll-ink-3); }
.mo-none { color: var(--ll-ink-3); }

/* ---- the reader ---------------------------------------------------------- */

.mo-pages {
  list-style: none;
  display: grid;
  gap: 20px;
  justify-items: center;
  margin: 0;
  padding: 28px 16px;
  border: 1px solid var(--ll-line);
  border-radius: 14px;
  background: #eef0f3;
}
.mo-pages li { width: 100%; max-width: 935px; }
.mo-pages img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 27, 42, 0.12), 0 14px 30px -18px rgba(15, 27, 42, 0.4);
}

.mo-turn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--ll-line);
}
.mo-turn a { color: var(--ll-ink); font-weight: 700; text-decoration: none; }
.mo-turn a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mo-turn a span { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ll-ink-3); }
.mo-turn-all { font-weight: 600 !important; color: var(--ll-accent) !important; }
.mo-turn-next { text-align: right; }

@media (max-width: 760px) {
  .mo-lead { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 18px; }
  .mo-lead-cover { max-width: 260px; }
  .mo-pages { padding: 12px 8px; gap: 10px; border-radius: 10px; }
  .mo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
}
