/* Maker-Montag: Übersicht mit den letzten 5 Ausgaben, Seitenleiste mit Kacheln (28.11.2026).
   Wird nur auf /maker-montag/ geladen (deploy/blog.py, kopf_extra). Grundstile mm-* stehen in site.css. */

/* ---------- gemeinsame Kacheln */
.mm-seite { display: grid; gap: 1rem; align-content: start; }
.mm-kachel { background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 8px; padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: .7rem; }
.mm-kachel p { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--ink); }
.mm-kachel a:not(.mm-weiter):not(.mm-letzte-link) { color: var(--ink); text-decoration-color: var(--lime-on-paper); }
.mm-kachel-titel { font-size: .74rem !important; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted) !important; }
.mm-kachel .mm-weiter { font-size: .92rem; }
.mm-label { font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-muted); margin: .4rem 0 0; }
.mm-abschnitt { font-size: .78rem !important; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 1rem !important; }
.mm-marke.mm-klein { font-size: .64rem; padding: .35em .6em; margin: 0 .55rem 0 0; top: -.08em; }

/* ---------- Übersicht */
.mm-spalten { display: grid; gap: 2rem; }
@media (min-width: 1000px) {
  .mm-spalten { grid-template-columns: minmax(0, 1fr) 290px; gap: 3rem; }
  .mm-uebersicht .mm-seite { position: sticky; top: 100px; }
}
.mm-hauptspalte { display: grid; gap: 1.2rem; align-content: start; }
.mm-karte { border: 1px solid var(--paper-line); border-radius: 8px; padding: clamp(1.1rem, .8rem + 1.2vw, 1.8rem); display: grid; gap: .7rem; background: #fff; }
.mm-karte .mm-kicker { margin: 0; font-size: .8rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.mm-neu { background: var(--lime); color: var(--on-lime); padding: .3em .65em; border-radius: 3px; font-weight: 500; }
.mm-karte h2 { font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); margin: 0; letter-spacing: -.02em; line-height: 1.2; max-width: 46ch; }
.mm-karte.mm-neueste { border-top: 4px solid var(--lime); }
.mm-karte.mm-neueste h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); }
.mm-karte h2 a { color: var(--ink); text-decoration: none; }
.mm-karte h2 a:hover { text-decoration: underline; text-decoration-color: var(--lime-on-paper); }
.mm-kurz { background: var(--paper-2); border-radius: 6px; padding: .9rem 1.1rem; }
.mm-kurz .mm-label { margin: 0 0 .5rem; }
.mm-kurz ul { margin: 0; padding-left: 1.2rem; max-width: 72ch; }
.mm-kurz li { margin-bottom: .4em; color: var(--ink); line-height: 1.5; }
.mm-kurz li::marker { color: var(--lime-on-paper); }
.mm-themenliste { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mm-themenliste a { display: flex; align-items: baseline; gap: 0; padding: .45rem 0; border-bottom: 1px dashed var(--paper-line); color: var(--ink); text-decoration: none; line-height: 1.4; }
.mm-themenliste li:last-child a { border-bottom: 0; }
.mm-themenliste a .mm-marke { flex: none; min-width: 7.8rem; text-align: center; }
.mm-themenliste a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--lime-on-paper); }
.mm-karte-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin-top: .4rem; }
.mm-archiv { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-line); }
.mm-archiv a { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--paper-line); color: var(--ink); text-decoration: none; }
.mm-archiv a .mono { color: var(--ink-muted); font-size: .85rem; }
.mm-archiv a:hover span:last-child { text-decoration: underline; text-decoration-color: var(--lime-on-paper); }
.mm-hauptspalte .mm-abschnitt + .mm-archiv { margin-top: -.4rem; }
.mm-fristen-kurz { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.mm-fristen-kurz li { display: grid; gap: .1rem; font-size: .9rem; line-height: 1.4; padding-bottom: .6rem; border-bottom: 1px dashed var(--paper-line); }
.mm-fristen-kurz li:last-child { border-bottom: 0; padding-bottom: 0; }
.mm-fristen-kurz time { font-size: .78rem; color: var(--lime-on-paper); font-weight: 500; }
.mm-legende { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .88rem; color: var(--ink-muted); }
.mm-legende .mm-marke { min-width: 7.6rem; text-align: center; margin-right: .5rem; top: 0; }
.mm-uebersicht > .disclaimer { margin-top: 2rem; }
@media (max-width: 560px) {
  .mm-themenliste a { flex-direction: column; gap: .3rem; }
  .mm-themenliste a .mm-marke { min-width: 0; }
  .mm-archiv a { grid-template-columns: 1fr; gap: .15rem; }
}

/* ---------- Artikelseite */
.mm-zurueck { display: inline-flex; align-items: center; gap: .4em; margin: 0 0 .9rem; font-weight: 700; font-size: .95rem; color: var(--lime); text-decoration: none; }
.mm-zurueck:hover { text-decoration: underline; }
@media (min-width: 1080px) {
  .article.mm-artikel { grid-template-columns: minmax(0, 1fr) 290px; gap: 3.5rem; }
  .mm-artikel .mm-seite { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 120px); overflow-y: auto; }
}
.mm-letzte { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.mm-letzte li { margin: 0; border-bottom: 1px dashed var(--paper-line); }
.mm-letzte li:last-child { border-bottom: 0; }
.mm-letzte-link { display: grid; gap: .15rem; padding: .55rem 0; text-decoration: none; color: var(--ink); }
.mm-letzte-link .mono { font-size: .74rem; color: var(--lime-on-paper); font-weight: 500; }
.mm-letzte-titel { font-size: .88rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
a.mm-letzte-link:hover .mm-letzte-titel { text-decoration: underline; text-decoration-color: var(--lime-on-paper); }
.mm-aktuell .mm-letzte-link { background: #fff; margin: .3rem -.6rem; padding: .55rem .6rem; border-radius: 6px; border-left: 3px solid var(--lime); }
.mm-hier { font-size: .74rem; color: var(--ink-muted); }
.article .mm-inhalt ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.mm-inhalt li { font-size: .88rem; line-height: 1.35; margin: 0; }
.mm-inhalt a { color: var(--ink-muted); text-decoration: none; }
.mm-inhalt a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-on-paper); }
@media (max-width: 1079px) { .mm-inhalt { display: none; } }
.mm-alle-unten { margin-top: 1.6rem !important; }
.article .mm-letzte { padding: 0; margin: 0; }
.mm-uebersicht { margin-bottom: var(--hl-gap, 1.5rem); }
@media (max-width: 560px) {
  .paper.mm-uebersicht { padding: 1rem .9rem; }
  .mm-karte { padding: 1rem .95rem; }
  .mm-kurz { padding: .8rem .85rem; }
  .mm-kurz ul { padding-left: 1rem; }
}
