/* TOPFORM Paket 050d – gezielte Korrektur der CMS-Lesebreite */

/* Reine Textblöcke: ruhige Lesebreite, aber an der normalen Inhaltskante. */
.public-body main.cms44-page:not(.tf-page--application) .cms44-reading {
  width: min(100%, 960px) !important;
  max-width: 960px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Überschriften innerhalb redaktioneller Inhaltsblöcke nicht wie Hero-Titel skalieren. */
.public-body main.cms44-page:not(.tf-page--application) .cms44-reading > h2,
.public-body main.cms44-page:not(.tf-page--application) .cms44-text-image h2 {
  font-size: clamp(2rem, 3.2vw, 3rem) !important;
  line-height: 1.08 !important;
  max-width: 100%;
  margin: 0 0 1.5rem !important;
}

/* Text-mit-Bild ohne gewähltes Bild: kein leeres Zweispaltenraster. */
.public-body main.cms44-page:not(.tf-page--application) .cms44-text-image.no-image {
  display: block !important;
}

.public-body main.cms44-page:not(.tf-page--application) .cms44-text-image.no-image > div {
  width: min(100%, 960px);
  max-width: 960px;
  margin-left: 0;
  margin-right: auto;
}

/* Blockabstände nach der Überkorrektur wieder auf ein harmonisches Maß bringen. */
.public-body main.cms44-page:not(.tf-page--application) .tf-page-section {
  padding-top: clamp(3.25rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.25rem, 6vw, 5.5rem);
}

.public-body main.cms44-page:not(.tf-page--application) .tf-page-section + .tf-page-section {
  margin-top: 0 !important;
}

@media (max-width: 720px) {
  .public-body main.cms44-page:not(.tf-page--application) .cms44-reading > h2,
  .public-body main.cms44-page:not(.tf-page--application) .cms44-text-image h2 {
    font-size: clamp(1.8rem, 8vw, 2.35rem) !important;
  }
}
