body.sp1, .gx-section-bg-black {
  --button-border-color: black !important;
  --gx-sidebar-width: 100pt !important;
  --gx-content-min-width: 50%;
}
html,
body,
.pdf-root, .pdf-root p{
  font-size: 12pt !important;
  line-height: 1.4 !important;
}

.pdf-root, body.sp1 *{
  --wp--preset--font-size--h-2-above: var(--h2-above-fs);
  --wp--preset--font-size--h-2: var(--h2-fs);
  --wp--preset--font-size--h-3: var(--h3-fs);
  --wp--preset--font-size--h-3i: var(--h3i-fs);
  --wp--preset--font-size--h-1: var(--h1-fs);
  --wp--preset--font-size--h-4: var(--h4-fs);
  --wp--preset--font-size--tl: var(--tl-fs);
  --wp--preset--font-size--tm: var(--tm-fs);
  --wp--preset--font-size--ts: var(--ts-fs);
  --wp--preset--font-size--buttons: var(--buttons-fs);

  --h1-fs: 24pt;
  --h1-ls: -0.36pt;
  --h1-lh: 28pt;
  --h1-fw: 600;
  --h2-fs: 20pt;
  --h2-ls: 0pt;
  --h2-lh: 25pt;
  --h2-fw: 600;
  --h2-above-fs: 20pt;
  --h2-above-ls: 0pt;
  --h2-above-lh: 24pt;
  --h2-above-fw: 400;
  --h3-fs: 17pt;
  --h3-ls: 0pt;
  --h3-lh: 22pt;
  --h3-fw: 500;
  --h3i-fs: 17pt;
  --h3i-ls: 0pt;
  --h3i-lh: 22pt;
  --h3i-fw: 400;
  --buttons-fs: 12pt;
  --buttons-ls: 0.12pt;
  --buttons-lh: 14pt;
  --buttons-fw: 400;
  --tl-fs: 13pt;
  --tl-ls: 0pt;
  --tl-lh: 18pt;
  --tl-fw: 400;
  --tm-fs: 12pt;
  --tm-ls: 0pt;
  --tm-lh: 17pt;
  --tm-fw: 400;
  --ts-fs: 10pt;
  --ts-ls: 0.4pt;
  --ts-lh: 13pt;
  --ts-fw: 400;
}
body.sp1 .tm,
body.sp1 .is-style-view-as-tm {
  font-size: 12pt !important;
  line-height: 1.4 !important;
}


body.sp1 * {
  font-size: inherit;
  text-decoration: none !important;
}

body.sp1 h1,
body.sp1 .is-style-view-as-h1 {
  font-size: 24pt !important;
  line-height: 1.2 !important;
  margin: 0 0 0.5em !important;
}

body.sp1 h2,
body.sp1 .is-style-view-as-h2 {
  font-size: 20pt !important;
  line-height: 1.25 !important;
  margin: 0 0 0.55em !important;
}

body.sp1 h3,
body.sp1 .is-style-view-as-h3 {
  font-size: 17pt !important;
  line-height: 1.3 !important;
  margin: 0 0 0.6em !important;
}

body.sp1 h4,
body.sp1 .is-style-view-as-h4 {
  font-size: 15pt !important;
  line-height: 1.35 !important;
  margin: 0 0 0.65em !important;
}

body.sp1 h5,
body.sp1 .is-style-view-as-h5 {
  font-size: 13pt !important;
  line-height: 1.35 !important;
  margin: 0 0 0.7em !important;
}

body.sp1 h6,
body.sp1 .is-style-view-as-h6 {
  font-size: 12pt !important;
  font-weight: 700;
  line-height: 1.4 !important;
  margin: 0 0 0.75em !important;
}

body.sp1 .tl,
body.sp1 .is-style-view-as-tl {
  font-size: 13pt !important;
  line-height: 1.4 !important;
}

body.sp1 .ts,
body.sp1 .is-style-view-as-ts {
  font-size: 10pt !important;
  line-height: 1.35 !important;
}

.xgrid,
.mediathek-items {
  display: block !important;
  grid-template-columns: 170pt 170pt 170pt !important;
  column-gap: 12pt !important;
  row-gap: 12pt !important;
  align-items: start !important;
}

.xgrid > *,
.mediathek-items > * {
  break-inside: avoid;
  display: inline-block !important;
  margin-right: 12pt !important;
  margin-bottom: 12pt !important;
  width: 160pt !important;
}

/* Hide UI you don’t want in the PDF */
.no-print, nav, button {
  display: none !important;
}
.is-style-styles-contour {
  border: 1pt solid black !important;
}

/* Control page breaks */
h1, h2 {
  break-after: avoid;
}

p,
li,
blockquote,
.tm,
.tl,
.ts,
.xgrid > *,
.mediathek-items > * {
  break-inside: avoid-page;
  page-break-inside: avoid;
}

p,
li {
  orphans: 3;
  widows: 3;
}

.page-break {
  break-before: page;
}

/* old alias: page-break-before */

#wpadminbar {
  display: none !important;
}

.header-design-wrapper{
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
}

.akademie2-design-two-links {
  display: none !important;
}

.no-print {
  display: none !important;
}

.header-design-image {
  width: 250pt !important;
  height: auto !important;
}

.header-design-wrapper {
  background-color: white !important;
  height: auto !important;

}
.sp1 .archiv-eintrag-content {
  margin: 0 !important;
  padding: 0 !important;

}
.eintrag-root {
  display: flex !important;
  flex-direction: row !important;
  gap: 40pt !important;
  background-color: white !important;
  padding-right: var(--wp--style--root--padding-right) !important;
  padding-left: var(--wp--style--root--padding-left) !important;
  margin: 0 !important;
  margin-bottom: var(--s80) !important;
}


.eintrag-image {
  flex-basis: 150pt;
  overflow: hidden !important;
  * {
    width: 100% !important;
  }
}

.sp1.sp2 * {
  background-color: transparent !important;
  color: black !important;
  box-shadow: none !important;
}

.has-global-padding {
  /*padding: 0 !important;*/
}
.alignwide {
  margin: 0 !important;
  max-width: 100% !important;
}

header {
  margin-bottom: 40pt !important;
}

.hunderline {
  border-bottom: 1pt solid black !important;
}


.gx-box-surfaced-yes .wp-block-post-featured-image {
  flex-basis: 100pt !important;

}
.has-section-sidebar{
  display: flex !important;
  flex-direction: row !important;
  /*gap: 50pt !important;*/
  background-color: white !important;
  padding-right: var(--wp--style--root--padding-right) !important;
  padding-left: var(--wp--style--root--padding-left) !important;
  margin: 0 !important;

}

.modul-overview {
  display: flex !important;
  flex-direction: row !important;
  gap: 50pt !important;
  background-color: white !important;

  .modul-image {
    width: 200pt !important;
    height: auto !important;
    margin: 0 !important;
  }
  .modul-text {
    flex-basis: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

body.sp1 .gx-box-m, img, figure {
  page-break-inside: avoid !important;
  display: block !important;
}

body.sp1 .gx-margin-top-80 {
  margin-top: 0pt !important;
  margin-block-start: 0pt !important;
}
body *{
  --wp--style--root--padding-right: 0 !important;
  --wp--style--root--padding-left: 0 !important;
  --s80: 20pt;
  --s40: 10pt;
  --s20: 5pt;
  --wp--preset--spacing--80: var(--s80);
  --wp--preset--spacing--40: var(--s40);
  --wp--preset--spacing--20: var(--s20);
}
