/*
Theme Name:   GeneratePress Child – Mutmacher
Theme URI:    https://mutmacher-magazin.de
Description:  Child theme für mutmacher-magazin.de – warmes Design-System
Author:       Robert M.
Template:     generatepress
Version:      1.1.0
*/

/* ═══════════════════════════════════════════════════════════
   1. CSS CUSTOM PROPERTIES — Warmes Farb- & Design-System
════════════════════════════════════════════════════════════ */
:root {
  /* Marken-Farben */
  --mm-primary:       #C4503A;   /* Terrakotta – Energie, Wärme */
  --mm-primary-dark:  #9E3C2A;   /* Terrakotta dunkel – Hover */
  --mm-primary-light: rgba(196, 80, 58, 0.08);
  --mm-accent:        #D4896A;   /* Kupfer – Highlights */
  --mm-sand:          #8B7355;   /* Sandgold – Sekundär */

  /* Hintergründe */
  --mm-bg:            #FDFAF6;   /* Warmweiß */
  --mm-bg-soft:       #F5EDE4;   /* Blaßpfirsich – Cards, Callouts */
  --mm-bg-medium:     #EDE8E2;   /* Warmgrau – Borders, Footer */
  --mm-white:         #FFFFFF;

  /* Text */
  --mm-text:          #2C2416;   /* Warmes Dunkelbraun */
  --mm-text-soft:     #5A4A3A;   /* Zwischenton */
  --mm-text-muted:    #7A6A58;   /* Meta, Labels */
  --mm-border:        #DDD5C8;   /* Rahmen */

  /* GeneratePress CSS-Variablen überschreiben
     (--contrast war #05ca19 = Neongrün — korrigiert) */
  --contrast:         #C4503A;
  --contrast-2:       #2C2416;
  --contrast-3:       #7A6A58;
  --base:             #EDE8E2;
  --base-2:           #F5EDE4;
  --base-3:           #FDFAF6;
  --accent:           #C4503A;
}

/* ═══════════════════════════════════════════════════════════
   2. TYPOGRAFIE
════════════════════════════════════════════════════════════ */
body {
  font-size: 18px;
  line-height: 1.8;
  color: var(--mm-text);
  background-color: var(--mm-bg);
}

/* Fließtext in Artikeln: ~68 Zeichen Zeilenlänge */
.single .entry-content > p,
.single .entry-content > ul,
.single .entry-content > ol {
  max-width: 68ch;
}

h1, h2, h3, h4, h5 {
  letter-spacing: -0.02em;
  color: var(--mm-text);
  line-height: 1.25;
}

h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); margin-top: 2.4rem; }
h3 { font-size: clamp(18px, 2.5vw, 24px); margin-top: 1.8rem; }

.entry-header .entry-title {
  font-size: clamp(26px, 4.5vw, 48px);
  line-height: 1.15;
  margin-bottom: 0.6rem;
}

/* ═══════════════════════════════════════════════════════════
   3. LINKS
════════════════════════════════════════════════════════════ */
a {
  color: var(--mm-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover, a:focus { color: var(--mm-primary-dark); }

.entry-content a,
.inside-article a {
  color: var(--mm-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.entry-content a:hover,
.inside-article a:hover {
  color: var(--mm-primary-dark) !important;
}

/* ═══════════════════════════════════════════════════════════
   4. HEADER
════════════════════════════════════════════════════════════ */
.site-header {
  background-color: var(--mm-white);
  border-bottom: 2px solid var(--mm-bg-medium);
}

/* Leerraum zwischen Logo und Navigation reduzieren
   (GP-Spacing setzt .inside-header padding-bottom auf 40px) */
.site-header .inside-header {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}

.main-title a,
.main-title a:hover {
  color: var(--mm-text) !important;
  letter-spacing: -0.03em;
}

.site-description {
  color: var(--mm-text-muted) !important;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   5. NAVIGATION — kein Neongrün mehr
════════════════════════════════════════════════════════════ */
.main-navigation,
.main-navigation ul ul {
  background-color: var(--mm-white) !important;
  border-top: 1px solid var(--mm-border);
  border-bottom: 2px solid var(--mm-border);
}

.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
  color: var(--mm-text-soft) !important;
  font-size: 16px;
  letter-spacing: 0.04em;
  transition: color 0.2s, background-color 0.2s;
}

/* Navigation zentrieren (GP-Alignment ist linksbündig) */
.main-navigation .inside-navigation {
  justify-content: center;
}
.main-navigation .main-nav > ul {
  justify-content: center;
}

/* Hover — warm statt neongrün */
.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
.main-navigation .menu-bar-item:hover > a {
  color: var(--mm-primary) !important;
  background-color: var(--mm-primary-light) !important;
}

/* Aktives Menüelement */
.main-navigation .main-nav ul li[class*="current-menu-"] > a {
  color: var(--mm-primary) !important;
  background-color: rgba(196, 80, 58, 0.1) !important;
  font-weight: 600;
}

/* Untermenü */
.main-navigation ul ul {
  border: 1px solid var(--mm-border) !important;
  border-top: 2px solid var(--mm-primary) !important;
  box-shadow: 0 6px 20px rgba(44, 36, 22, 0.1);
}

.main-navigation .main-nav ul ul li a {
  color: var(--mm-text-soft) !important;
}

/* Subscribe-Button im Menü (aus altem CSS erhalten) */
.main-navigation:not(.slideout-navigation) .main-nav li.subscribe-button a {
  box-shadow: 0px -8px 0px var(--mm-primary) inset;
  transition: all 0.6s ease 0s;
  padding: 0px;
  margin: 0px 20px;
}
.main-navigation:not(.slideout-navigation) .main-nav li.subscribe-button a:hover {
  box-shadow: 0px -16px 0px var(--mm-primary) inset;
}

/* ═══════════════════════════════════════════════════════════
   6. POST-CARDS AUF ARCHIVSEITEN
════════════════════════════════════════════════════════════ */
:is(.blog, .archive, .search) .post.type-post {
  background: var(--mm-white);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Nur Kacheln im Archiv, nie der Beitrag selbst (Robert 29.09.2026) */
:is(.blog, .archive, .search) .post.type-post:hover {
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.10);
}

/* Bild: 16:9 Proportionen */
.post-image a,
.post-thumbnail a {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.post-image a img,
.post-thumbnail a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

:is(.blog, .archive, .search) .post.type-post:hover .post-image a img {
  transform: scale(1.04);
}

/* Archiv-Titel stärker */
.archive .entry-title,
.blog .entry-title,
.home .entry-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0.5rem 0 0.4rem;
}

.entry-title a {
  color: var(--mm-text) !important;
  text-decoration: none;
}
.entry-title a:hover {
  color: var(--mm-primary) !important;
  text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   7. META-INFOS (Datum, Kategorie) — E-E-A-T
════════════════════════════════════════════════════════════ */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.8rem;
  align-items: center;
  font-size: 13px;
  color: var(--mm-text-muted);
  margin-bottom: 1.4rem;
}

/* Kategorie-Label als Chip */
.entry-meta .cat-links a,
.entry-meta a[rel="category tag"] {
  color: var(--mm-primary) !important;
  background: var(--mm-primary-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.entry-meta .cat-links a:hover,
.entry-meta a[rel="category tag"]:hover {
  background: rgba(196, 80, 58, 0.16) !important;
}

/* Datum mit Kalender-Icon-Feel */
.entry-meta .posted-on,
.entry-meta time {
  color: var(--mm-text-muted);
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   8. EINZELARTIKEL — Hero-Bereich
════════════════════════════════════════════════════════════ */
.single .entry-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--mm-border);
}

.single .post-image.featured-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 2rem;
}

.single .post-image.featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Abstand vor erstem Werbebanner */
.entry-content > ins:first-child,
.entry-content > .adsbygoogle:first-child,
.entry-content > div[id^="google_ads"]:first-child {
  margin-top: 2.5rem !important;
}

/* ═══════════════════════════════════════════════════════════
   9. INHALTS-TYPOGRAFIE (Artikel)
════════════════════════════════════════════════════════════ */
.single .entry-content h2 {
  padding-top: 1.2rem;
  border-top: 1px solid var(--mm-border);
  margin-top: 2.8rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--mm-primary);
  background: var(--mm-bg-soft);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
  color: var(--mm-text-soft);
  font-style: italic;
  margin-left: 0;
  max-width: 68ch;
}

.entry-content ul li,
.entry-content ol li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════
   10. AUTHOR-BOX — E-E-A-T aufgewertet
════════════════════════════════════════════════════════════ */
.author-box {
  background: var(--mm-bg-soft);
  border: 1px solid var(--mm-border);
  border-left: 4px solid var(--mm-primary);
  border-radius: 0 12px 12px 0;
  padding: 1.8rem 2rem;
  margin: 3rem 0 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.author-box-image img {
  border-radius: 50%;
  width: 80px;
  height: 80px;
  object-fit: cover;
  border: 3px solid var(--mm-accent);
  flex-shrink: 0;
}

.author-box .author-box-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mm-primary);
  margin-bottom: 0.2rem;
}

.author-box .author-box-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--mm-text);
  margin-bottom: 0.6rem;
  display: block;
}

.author-box p {
  font-size: 0.9rem !important;
  color: var(--mm-text-soft);
  line-height: 1.7;
  margin: 0;
  max-width: none !important;
}

.author-box a {
  color: var(--mm-primary);
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════════
   11. SIDEBAR
════════════════════════════════════════════════════════════ */
.sidebar .widget,
#right-sidebar .widget {
  background: var(--mm-white) !important;
  border: 1px solid var(--mm-border) !important;
  border-radius: 10px !important;
  padding: 1.4rem !important;
  margin-bottom: 1.5rem !important;
  box-shadow: 0 2px 8px rgba(44, 36, 22, 0.05) !important;
}

.sidebar .widget-title,
#right-sidebar .widget-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--mm-primary) !important;
  border-bottom: 2px solid var(--mm-bg-medium) !important;
  padding-bottom: 0.6rem !important;
  margin-bottom: 1rem !important;
}

/* ═══════════════════════════════════════════════════════════
   12. BUTTONS
════════════════════════════════════════════════════════════ */
button:not(.menu-toggle),
html input[type="button"],
input[type="reset"],
input[type="submit"],
a.button,
.wp-block-button .wp-block-button__link:not(.has-background) {
  background-color: var(--mm-primary) !important;
  color: #fff !important;
  border-radius: 6px;
  border: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

button:not(.menu-toggle):hover,
html input[type="button"]:hover,
input[type="submit"]:hover,
a.button:hover,
.wp-block-button .wp-block-button__link:not(.has-background):hover {
  background-color: var(--mm-primary-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* Back-to-top */
a.generate-back-to-top {
  background-color: var(--mm-primary) !important;
  color: #fff !important;
}
a.generate-back-to-top:hover,
a.generate-back-to-top:focus {
  background-color: var(--mm-primary-dark) !important;
}

/* ═══════════════════════════════════════════════════════════
   13. TABELLEN (Mobile-safe)
════════════════════════════════════════════════════════════ */
.entry-content table:not([class]),
.entry-content .wp-block-table table {
  border-collapse: collapse;
  width: 100%;
}

.entry-content table:not([class]) th,
.entry-content .wp-block-table th {
  background: var(--mm-primary);
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: left;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.entry-content table:not([class]) td,
.entry-content .wp-block-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--mm-border);
  font-size: 16px;
}

.entry-content table:not([class]) tr:nth-child(even) td,
.entry-content .wp-block-table tr:nth-child(even) td {
  background: var(--mm-bg-soft);
}

/* ═══════════════════════════════════════════════════════════
   14. FOOTER
════════════════════════════════════════════════════════════ */
.footer-widgets {
  background-color: var(--mm-bg-medium) !important;
  border-top: 2px solid var(--mm-border);
}

.footer-widgets .widget-title {
  color: var(--mm-text) !important;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--mm-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.footer-widgets a { color: var(--mm-text-soft) !important; }
.footer-widgets a:hover { color: var(--mm-primary) !important; }

.site-info {
  background-color: var(--mm-bg) !important;
  border-top: 1px solid var(--mm-border);
  color: var(--mm-text-muted) !important;
  font-size: 13px;
}

/* Footer-Spalten (aus altem CSS) */
@media (min-width: 1025px) {
  .footer-widgets .footer-widget-1 { flex-basis: 50%; padding-right: 80px; }
  .footer-widgets .footer-widget-2 { flex-basis: 20%; }
  .footer-widgets .footer-widget-3 { flex-basis: 30%; }
}

/* ═══════════════════════════════════════════════════════════
   15. KATEGORIE-BUTTONS (aus altem CSS, aktualisiert)
════════════════════════════════════════════════════════════ */
.gb-container.category-container ul {
  display: flex;
  justify-content: space-between;
  margin-left: 0;
  gap: 16px;
  flex-wrap: wrap;
}
.gb-container.category-container ul li {
  padding: 14px 20px;
  background-color: var(--mm-primary);
  list-style: none;
  letter-spacing: 0.04em;
  flex: 1;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.gb-container.category-container ul li:hover {
  background-color: var(--mm-primary-dark);
  transform: translateY(-2px);
}
.gb-container.category-container ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}
@media (max-width: 1024px) {
  .gb-container.category-container ul li { flex-basis: 30%; }
}
@media (max-width: 600px) {
  .gb-container.category-container ul li { flex-basis: 45%; }
}

/* ═══════════════════════════════════════════════════════════
   16. MOBILE
════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  body { font-size: 17px; line-height: 1.75; }

  .single .entry-content > p,
  .single .entry-content > ul,
  .single .entry-content > ol {
    max-width: none;
  }

  .entry-content blockquote { max-width: none; }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.4rem;
  }

  h1 { font-size: 26px; }
  h2 { font-size: 21px; }
  h3 { font-size: 18px; }
}

/* ────────────────────────────────────────────────────────────
   Refresh 09/2026: FAQ (ut-faq-*) und Tabellen-Wrapper
──────────────────────────────────────────────────────────── */
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5em 0; }
.table-wrapper table { margin: 0; min-width: 480px; }
.ut-faq-section { margin: 1.5em 0 2em; }
.ut-faq-item { background: var(--mm-bg-soft, #F5EDE4); border-left: 4px solid var(--mm-accent, #D4896A); border-radius: 0 8px 8px 0; padding: 1em 1.2em; margin: 0 0 0.9em; }
.ut-faq-question { font-weight: 700; color: var(--mm-primary-dark, #9E3C2A); margin: 0 0 0.4em; }
.ut-faq-answer { color: var(--mm-text, #2C2416); line-height: 1.7; }
.ut-faq-answer p:last-child { margin-bottom: 0; }

/* ═══════════════════════════════════════════════════════════
   17. DESIGN 09/2026 — Startseite, Beitrag, Sidebar
   Vorbild Ratgeber-Magazine: Kachelraster mit Kategorie-Etikett,
   Titel ohne Unterstreichung, Titelbild in Textbreite
════════════════════════════════════════════════════════════ */

/* Meta- und Titellinks nie unterstrichen */
.entry-meta a,
.inside-article .entry-meta a,
.gb-headline a,
.inside-article .entry-title a,
.inside-article .gb-headline a {
  text-decoration: none !important;
}

/* ── Einzelbeitrag: Kopf + Titelbild ── */
.single .entry-header {
  margin-bottom: 1.5rem;
  padding-bottom: 0;
  border-bottom: 0;
}
.single .entry-header .entry-title {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.2;
}
.single .featured-image {
  margin: 0 0 1.8rem;
  max-width: 760px;
  border-radius: 12px;
  overflow: hidden;
}
.single .featured-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 400px;
  object-fit: cover;
}
.single .entry-content h2 {
  border-top: 0;
  padding-top: 0;
  margin-top: 2.6rem;
}
.single .entry-content h2::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--mm-accent);
  border-radius: 2px;
  margin-bottom: 0.8rem;
}
.single .entry-content hr,
.single .entry-content .wp-block-separator {
  border: 0;
  border-top: 1px solid var(--mm-border);
  max-width: 68ch;
  margin: 2rem 0;
}

/* ── Sidebar ── */
#right-sidebar .widget {
  box-shadow: none !important;
  padding: 1.2rem 1.3rem !important;
}
#right-sidebar .widget h2,
#right-sidebar .widget .wp-block-heading {
  font-family: Oswald, sans-serif;
  font-size: 15px !important;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mm-text) !important;
  margin: 0 0 0.9rem !important;
  padding: 0 0 0 10px;
  border-left: 3px solid var(--mm-primary);
  line-height: 1.2;
}
#right-sidebar .widget:has(.mm-sb-redaktion) {
  background: var(--mm-bg-soft) !important;
  border-color: transparent !important;
}
.mm-sb-redaktion p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--mm-text-soft);
  margin: 0 0 0.8rem;
}
.mm-sb-redaktion a.mm-sb-mehr {
  font-size: 14px;
  font-weight: 600;
  color: var(--mm-primary);
  text-decoration: none;
}
#right-sidebar .wp-block-search__inside-wrapper {
  border: 1px solid var(--mm-border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}
#right-sidebar .wp-block-search__input {
  border: 0;
  font-size: 15px;
  padding: 0.6rem 0.8rem;
}
#right-sidebar .wp-block-search__button {
  margin: 0;
  border-radius: 0 !important;
  font-size: 14px;
  padding: 0 1rem;
}
.mm-liste,
.mm-themenliste {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mm-liste li {
  margin: 0;
  border-top: 1px solid var(--mm-bg-medium);
}
.mm-liste li:first-child { border-top: 0; }
.mm-liste a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0.65rem 0;
  color: var(--mm-text) !important;
  text-decoration: none !important;
}
.mm-liste .mm-liste-bild {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: cover;
  border-radius: 8px;
}
.mm-liste-titel {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
}
.mm-liste a:hover .mm-liste-titel { color: var(--mm-primary); }
.mm-themenliste li { margin: 0; }
.mm-themenliste a {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0.45rem 0.6rem;
  margin: 0 -0.6rem;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--mm-text) !important;
  text-decoration: none !important;
}
.mm-themenliste a:hover { background: var(--mm-primary-light); color: var(--mm-primary) !important; }
.mm-anzahl {
  font-size: 12px;
  color: var(--mm-text-muted);
  background: var(--mm-bg-soft);
  border-radius: 20px;
  padding: 1px 9px;
  align-self: center;
}

/* ── Startseite ── */
.mm-home { max-width: 1160px; margin: 0 auto; }
.mm-home h2.mm-abschnitt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: clamp(24px, 2.6vw, 30px);
  margin: 3.2rem 0 1.2rem;
}
.mm-home h2.mm-abschnitt a {
  font-family: "Source Serif Pro", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}
.mm-kopf {
  background: linear-gradient(135deg, var(--mm-bg-soft) 0%, #FBF3EA 60%, #F7E6D8 100%);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 56px);
  margin-top: 1rem;
}
.mm-kopf .mm-marke {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mm-primary);
  font-weight: 700;
  margin: 0 0 0.6rem;
}
.mm-kopf h1 {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.mm-kopf p.mm-kopf-text {
  font-size: 19px;
  line-height: 1.65;
  color: var(--mm-text-soft);
  max-width: 60ch;
  margin: 0 0 1.4rem;
}
.mm-kopf form {
  display: flex;
  max-width: 520px;
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 1.4rem;
}
.mm-kopf input[type="search"] {
  flex: 1;
  border: 0;
  padding: 0.8rem 1rem;
  font-size: 16px;
  background: #fff;
  min-width: 0;
}
.mm-kopf button { border-radius: 0 !important; padding: 0 1.3rem; font-size: 15px; }
.mm-schnell { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mm-schnell li { margin: 0 !important; }
.mm-schnell a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--mm-border);
  border-radius: 30px;
  padding: 0.35rem 0.95rem;
  font-size: 15px;
  color: var(--mm-text) !important;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s;
}
.mm-schnell a:hover { border-color: var(--mm-primary); color: var(--mm-primary) !important; }

/* Kacheln */
.mm-karten { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mm-karten.mm-spalten-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-karten.mm-spalten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mm-karte {
  background: #fff;
  border: 1px solid var(--mm-bg-medium);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.mm-karte:hover { border-color: var(--mm-border); box-shadow: 0 6px 20px rgba(44, 36, 22, 0.08); }
.mm-karte-link { display: flex; flex-direction: column; height: 100%; color: var(--mm-text) !important; text-decoration: none !important; }
.mm-karte-bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--mm-bg-soft); }
.mm-karte-bild img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.mm-karte:hover .mm-karte-bild img { transform: scale(1.03); }
.mm-karte-text { padding: 1rem 1.1rem 1.2rem; }
.mm-karte-kat {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mm-primary);
  margin-bottom: 0.35rem;
}
h3.mm-karte-titel {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 0.5rem;
  color: var(--mm-text);
}
.mm-karte:hover .mm-karte-titel { color: var(--mm-primary); }
.mm-karte-anriss { font-size: 15px; line-height: 1.6; color: var(--mm-text-soft); margin: 0; }
.mm-spalten-4 h3.mm-karte-titel { font-size: 18px; }

/* Themenwelten */
.mm-themen { display: grid; gap: 20px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-thema {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--mm-bg-medium);
  border-radius: 14px;
  overflow: hidden;
  color: var(--mm-text) !important;
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.mm-thema:hover { border-color: var(--mm-accent); box-shadow: 0 6px 20px rgba(44, 36, 22, 0.08); }
.mm-thema-bild { aspect-ratio: 16 / 9; overflow: hidden; background: var(--mm-bg-soft); }
.mm-thema-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-thema-text { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.mm-thema h3 { font-size: 20px; margin: 0 0 0.4rem; }
.mm-thema p { font-size: 15px; line-height: 1.55; color: var(--mm-text-soft); margin: 0 0 0.8rem; flex: 1; }
.mm-thema-mehr { font-size: 14px; font-weight: 700; color: var(--mm-primary); }
.mm-weitere-themen { margin: 1.2rem 0 0; font-size: 15px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mm-weitere-themen span { color: var(--mm-text-muted); margin-right: 4px; }
.mm-weitere-themen a {
  background: var(--mm-bg-soft);
  border-radius: 30px;
  padding: 0.25rem 0.85rem;
  color: var(--mm-text) !important;
  text-decoration: none !important;
}
.mm-weitere-themen a:hover { background: var(--mm-primary-light); color: var(--mm-primary) !important; }

/* Redaktionsblock unten */
.mm-redaktion {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  background: #fff;
  border: 1px solid var(--mm-bg-medium);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 44px);
  margin: 3.5rem 0 1rem;
}
.mm-redaktion h2 { margin: 0 0 0.8rem; font-size: 26px; }
.mm-redaktion p { font-size: 17px; line-height: 1.7; color: var(--mm-text-soft); margin: 0 0 1rem; }
.mm-redaktion .mm-knopf {
  display: inline-block;
  background: var(--mm-primary);
  color: #fff !important;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
}
.mm-redaktion .mm-knopf:hover { background: var(--mm-primary-dark); }
.mm-hilfe { background: var(--mm-bg-soft); border-radius: 12px; padding: 1.3rem 1.4rem; }
.mm-hilfe h3 { font-size: 18px; margin: 0 0 0.5rem; }
.mm-hilfe p { font-size: 15px; margin: 0 0 0.5rem; }
.mm-hilfe p:last-child { margin: 0; }

@media (max-width: 1024px) {
  .mm-karten.mm-spalten-4, .mm-themen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .mm-karten, .mm-karten.mm-spalten-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .mm-redaktion { grid-template-columns: 1fr; }
  .mm-karte-anriss { display: none; }
  h3.mm-karte-titel, .mm-spalten-4 h3.mm-karte-titel { font-size: 17px; }
  .mm-karte-text { padding: 0.8rem 0.85rem 1rem; }
  .single .featured-image img { max-height: 240px; }
}
@media (max-width: 520px) {
  .mm-karten, .mm-karten.mm-spalten-4, .mm-karten.mm-spalten-2, .mm-themen { grid-template-columns: 1fr; }
  .mm-karte-anriss { display: block; }
  .mm-kopf p.mm-kopf-text { font-size: 17px; }
}

/* ── Archiv-/Kategorieseiten: gleiche Kacheln wie Startseite ── */
:is(.blog, .archive, .search) .post.type-post {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  margin-bottom: 24px;
}
:is(.blog, .archive, .search) .post.type-post:hover { box-shadow: none; }
:is(.blog, .archive, .search) .post.type-post .inside-article {
  background: #fff;
  border: 1px solid var(--mm-bg-medium);
  border-radius: 14px;
  overflow: hidden;
  padding: 0 0 1.1rem !important;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
:is(.blog, .archive, .search) .post.type-post .inside-article:hover {
  border-color: var(--mm-border);
  box-shadow: 0 6px 20px rgba(44, 36, 22, 0.08);
}
:is(.blog, .archive, .search) .post.type-post .inside-article > :not(.post-image) {
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}
:is(.blog, .archive, .search) .post.type-post .post-image {
  margin: 0 0 1rem !important;
  padding: 0 !important;
}
:is(.blog, .archive, .search) .post.type-post .entry-header .entry-title {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 0.3rem;
}
:is(.blog, .archive, .search) .post.type-post .entry-header .entry-meta {
  margin: 0 0 0.6rem;
  font-size: 13px;
}
:is(.blog, .archive, .search) .post.type-post .entry-summary {
  margin-top: 0;
}
:is(.blog, .archive, .search) .post.type-post .entry-summary p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--mm-text-soft);
  margin-bottom: 0.6rem;
}
:is(.blog, .archive, .search) .post.type-post .entry-summary a.read-more {
  text-decoration: none !important;
  font-weight: 600;
  white-space: nowrap;
}
:is(.blog, .archive, .search) .post.type-post footer.entry-meta {
  margin-top: auto;
  margin-bottom: 0;
}
