div.td_block_newspaper__child_jesus__abc {
/* ==========================================================
   GLOBAL
   ========================================================== */

:root {
  --ink: #414459;
  --font-head: "Red Hat Display", sans-serif;
  --font-body: "Montserrat", sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px;
  font-family: var(--font-body);
  color: var(--ink);
}

/* ==========================================================
   BEREICH 1: Grid mit Gebeten (Box-Farben aus ACF)
   ========================================================== */

.container {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.links {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 158px;
  padding: 28px 16px 22px;
  background: var(--box-bg, #FFFFFF);
  border-radius: 28px;
  text-align: center;
  transition: background-color 0.25s ease;
}

.block:hover {
  background: var(--box-hover, #E7EAEC);
}

.block h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.block a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.text {
  flex: 0 0 260px;
}

.text h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.12;
  color: var(--ink);
}

.text p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

/* ==========================================================
   BEREICH 2: Text links, 2x2 Karten
   ========================================================== */

.info-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto 0;
  align-items: center;
}

.info-wrapper .info-text {
  flex: 0 0 35%;
}

.info-wrapper .info-text h2 {
  margin: 0 0 16px;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.info-wrapper .info-text p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
}

.info-wrapper .info-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.info-wrapper .info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  min-height: 150px;
  padding: 28px 16px 22px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-wrapper .info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.info-wrapper .info-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.info-wrapper .info-card a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

/* ==========================================================
   BEREICH 3: Glossar A–Z
   ========================================================== */

.glossar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  height: 400px;
  margin: 60px auto;
  overflow: hidden;
  border-radius: 20px;
  font-family: var(--font-body);
  color: var(--ink);
}

/* Linke Seite: Buchstaben-Grid, 6 Spalten x 4 Reihen */
.glossar-buchstaben {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 3px;
  background: #FFFFFF;
}

.glossar-buchstabe {
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--box-bg, #F3F9DA);
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.glossar-buchstabe:hover {
transform: translateY(1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.glossar-buchstabe:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: -3px;
}

.glossar-buchstabe.is-active {
  background: var(--akzent, #E3F4B8);
  font-weight: 600;
}

/* Rechte Seite: fester Bereich mit Scrollbar */
.glossar-inhalt {
  min-width: 0;
  width: 100%;
  height: 400px;
  overflow-y: scroll;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  padding: 32px 36px;
  background: var(--panel-bg, #D4ED63);
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  scrollbar-gutter: stable;
  scrollbar-width: auto;
  scrollbar-color: #414459 #FFFFFF;
}

.glossar-inhalt::-webkit-scrollbar {
  width: 14px;
  -webkit-appearance: none;
}

.glossar-inhalt::-webkit-scrollbar-track {
  background: #FFFFFF;
  border-radius: 10px;
}

.glossar-inhalt::-webkit-scrollbar-thumb {
  background-color: #414459 !important;
  border-radius: 10px;
  border: 3px solid #FFFFFF;
  min-height: 60px;
}

.glossar-panel[hidden] {
  display: none;
}

.glossar-begriff + .glossar-begriff {
  margin-top: 28px;
}

.glossar-begriff h3 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--ink);
}

.glossar-text p {
  margin: 0 0 12px;
}

/* ==========================================================
   MOBIL (unter 768 px): alles untereinander
   ========================================================== */

@media (max-width: 767px) {
  body {
    padding: 20px 16px;
  }

  /* Bereich 1 */
  .container {
    flex-direction: column;
  }

  .text {
    order: -1;
    flex: none;
  }

  .text h2 {
    font-size: 28px;
  }

  .links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .block {
    min-height: 110px;
    border-radius: 20px;
  }

  /* Bereich 2 */
  .info-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .info-wrapper .info-grid {
    grid-template-columns: 1fr;
  }

  /* Bereich 3 */
  .glossar {
    grid-template-columns: 1fr;
    height: auto;
  }

  .glossar-buchstaben {
    grid-template-rows: none;
  }

  .glossar-buchstabe {
    min-height: 52px;
    font-size: 20px;
  }

  .glossar-inhalt {
    height: 320px;
    padding: 24px;
  }
}

/* ==========================================================
   Barrierefreiheit: keine Animationen für Nutzer, die sie abschalten
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
  .block,
  .info-wrapper .info-card,
  .glossar-buchstabe {
    transition: none;
  }

  .info-wrapper .info-card:hover {
    transform: none;
  }
}
}
