/* Issue 4/2026 only: inherited by its native article pages. */
#maincontent figure figcaption.image-caption {
  font-style: italic;
}

/* Allow this long article to flow below its photo, rather than form a column. */
#maincontent #c6249 .ce-bodytext {
  overflow: visible;
}

#maincontent #c6249 .ce-bodytext > figure.table {
  margin: 1.45em 0;
}
#maincontent #c6249 .ce-bodytext > figure.table + p {
  margin: 0 0 1.45em;
}
/* Last H3: Zeit beim Arzt und Lücken im Unterstützungssystem. */
#maincontent #c6249 .ce-bodytext > h3:last-of-type {
  margin-bottom: 1.45em;
}

@media (max-width: 640px) {
  #maincontent .ce-textpic.ce-intext .ce-gallery,
  #maincontent .frame.frame-epikurier-compact-photo .ce-textpic.ce-intext .ce-gallery {
    float: none;
    max-width: 100%;
    margin: 0 0 1rem;
  }
  /* Stack on narrow screens, while keeping the native right alignment. */
  #maincontent .frame .ce-textpic.ce-intext.ce-right .ce-gallery {
    margin-inline-start: auto;
    margin-inline-end: 0;
  }
  #maincontent table {
    width: 100%;
    table-layout: fixed;
  }
  #maincontent th, #maincontent td {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #maincontent th:first-child, #maincontent td:first-child {
    width: 2.8em;
  }
  /* This compact logo stays in the running text, including narrow views. */
  #maincontent #c6276 .ce-textpic.ce-intext.ce-right .ce-gallery {
    float: right;
    width: 120px;
    max-width: 40%;
    margin: 0 0 .75rem .75rem;
  }
  #maincontent #c6276 .ce-gallery figure.image {
    width: 100%;
    max-width: 100%;
  }
  #maincontent #c6276 .ce-gallery img {
    width: 100%;
    height: auto;
  }
  #maincontent #c6249 .ce-textpic.ce-intext.ce-right .ce-gallery {
    float: right;
    width: 140px;
    max-width: 42%;
    margin: 0 0 .75rem .75rem;
  }
  #maincontent #c6249 .ce-gallery figure.image {
    width: 100%;
    max-width: 100%;
  }
  #maincontent #c6249 .ce-gallery img {
    width: 100%;
    height: auto;
  }
}

/* Semantic top-level interview sections keep their accepted compact question role. */
#maincontent .grauer-titel-rahmen .frame .ce-bodytext h2.epikurier-interview-question {
  font-size: 14px; font-weight: 700; color: #555; line-height: 1.45;
  margin: 1.45em 0 0; padding: 0;
}

/* WM 30 November: printed-table grid and a native postcard/QR end gallery. */
#maincontent #c6249 .table table { border-collapse: collapse; width: 100%; }
#maincontent #c6249 .table th, #maincontent #c6249 .table td { border: 1px solid #777; padding: .45em .6em; text-align: left; }
#maincontent .frame-epikurier-end-images .ce-gallery { float: none; margin: 1rem 0 0; max-width: 100%; }
#maincontent .frame-epikurier-end-images .ce-row { display: flex; align-items: flex-start; flex-wrap: nowrap; gap: 1.25rem; }
#maincontent .frame-epikurier-end-images .ce-column { float: none; margin: 0; min-width: 0; max-width: calc(65% - .625rem); }
#maincontent .frame-epikurier-end-images .ce-column + .ce-column { max-width: calc(35% - .625rem); }
#maincontent .frame-epikurier-end-images figure, #maincontent .frame-epikurier-end-images img { max-width: 100%; height: auto; }
