body.elementor-page-7707 .rl-inhaltsseite-standard .rl-inhalt-deko{display:block !important;}body.elementor-page-7707 .rl-inhaltsseite-standard .rl-inhalt-deko-links{display:block !important;--rl-deko-links-basis:var(--inhalt-deko-breite, 160px);}body.elementor-page-7707 .rl-inhaltsseite-standard .rl-inhalt-deko-rechts{display:none !important;--rl-deko-rechts-basis:var(--inhalt-deko-breite, 160px);}body.elementor-page-7707 .rl-inhaltsseite-standard{--rl-deko-mobil-opacity:var(--inhalt-deko-deckkraft-mobil, 18%);--rl-deko-links-mobil-opacity:var(--inhalt-deko-deckkraft-mobil, 18%);--rl-deko-rechts-mobil-opacity:var(--inhalt-deko-deckkraft-mobil, 18%);}/* Start custom CSS *//* Layout für Schulstaffellauf (Post 7707). */
.elementor-7707 > .rl-inhaltsseite:has(> header) {
  --staffel-inset: var(--inhalt-start-links, 222px);
  --staffel-end: max(24px, 15.4vw);
  --staffel-bild-ueberstand: 64px;
  --staffel-dunkelgruen: #0b350f;
  --staffel-hellgruen: #a5c618;
  padding: 0 !important;
  overflow: visible;
}
body:has(.elementor-7707 > .rl-inhaltsseite > header) .rl-breadcrumbs-7218 {
  position: relative;
  z-index: 2;
  color: #fff;
}
body:has(.elementor-7707 > .rl-inhaltsseite > header) .rl-breadcrumbs-7218 .rank-math-breadcrumb {
  position: relative;
  top: -10px;
}
body:has(.elementor-7707 > .rl-inhaltsseite > header) .rl-breadcrumbs-7218 a {
  color: inherit;
}
body:has(.elementor-7707 > .rl-inhaltsseite > header) .rl-breadcrumbs-7218 a:focus-visible {
  outline-color: #fff;
}
.elementor-7707 > .rl-inhaltsseite > header {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(108px, calc(12.3vw - 61px), 260px);
  padding: 8px var(--staffel-end) 20px var(--staffel-inset);
  background: var(--staffel-dunkelgruen);
}
.elementor-7707 > .rl-inhaltsseite > header > img,
.elementor-7707 > .rl-inhaltsseite > header::after {
  position: absolute;
  inset: calc(-1 * var(--staffel-bild-ueberstand)) 0 0;
  pointer-events: none;
}
.elementor-7707 > .rl-inhaltsseite > header > img {
  width: 100%;
  height: calc(100% + var(--staffel-bild-ueberstand));
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.elementor-7707 > .rl-inhaltsseite > header::after {
  content: "";
  background: transparent;
  z-index: -1;
}
.elementor-7707 > .rl-inhaltsseite > header > h1 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: clamp(32px, 3.75vw, 72px);
  line-height: 1.12;
  overflow-wrap: normal;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type,
.elementor-7707 > .rl-inhaltsseite > section:last-of-type {
  padding-inline: var(--staffel-inset) var(--staffel-end);
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type {
  background: #fbfaf8;
  padding-block: clamp(48px, 5.2vw, 100px) clamp(72px, 7.1vw, 136px);
  z-index: 1;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base,
.elementor-7707 > .rl-inhaltsseite > section:last-of-type > .e-flexbox-base {
  max-width: 1320px;
  padding: 0;
  z-index: 1;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(var(--staffel-ortslinks-min, 0px), 1fr);
  align-items: start;
  gap: clamp(22px, 4vw, 77px);
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:first-child {
  flex-direction: column;
  gap: .6em;
  padding: 0;
  font-size: clamp(16px, 1.15vw, 22px);
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:first-child > p {
  margin: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: 1.4;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:first-child > h2 {
  margin: 0;
  padding: 0;
  color: var(--staffel-dunkelgruen);
  font-size: 1.14em;
  line-height: 1.25;
  text-transform: uppercase;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child {
  margin-block-start: clamp(16px, 1.4vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2.5vw, 48px);
  padding: 0;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: .24em;
  aspect-ratio: 1.62;
  min-height: 98px;
  padding: 10px 6px;
  border-radius: clamp(12px, 1.2vw, 22px);
  background: var(--staffel-hellgruen);
  color: var(--staffel-dunkelgruen);
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(16px, 1.5vw, 29px);
  line-height: 1.16;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a:hover {
  background: #b7d53b;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a:focus-visible {
  outline: 3px solid var(--staffel-dunkelgruen);
  outline-offset: 3px;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a span {
  color: inherit;
  font: inherit;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a span:last-child {
  color: #fff;
  font-weight: 700;
}
.elementor-7707 > .rl-inhaltsseite > section:last-of-type {
  overflow: hidden;
  background: var(--staffel-dunkelgruen);
  padding-block: clamp(40px, 4.7vw, 90px) clamp(60px, 7vw, 135px);
}
.elementor-7707 > .rl-inhaltsseite > section:last-of-type > .e-flexbox-base {
  flex-direction: column;
  gap: clamp(24px, 2.9vw, 56px);
}
.elementor-7707 > .rl-inhaltsseite > section:last-of-type > .e-flexbox-base > h2 {
  margin: 0;
  padding: 0;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(31px, 3.65vw, 70px);
  line-height: 1.1;
}
.elementor-7707 > .rl-inhaltsseite > section:last-of-type > .e-flexbox-base > .rl-galerieraster {
  grid-template-columns: minmax(0, 671fr) minmax(0, 670fr) minmax(0, 508fr);
  grid-template-rows: auto;
  align-items: start;
  gap: clamp(10px, 1.2vw, 23px);
  padding: 0;
}
.elementor-7707 > .rl-inhaltsseite > section:last-of-type > .e-flexbox-base > .rl-galerieraster img {
  display: block;
  width: 100%;
  height: auto;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > img,
.elementor-7707 > .rl-inhaltsseite > section:last-of-type > img {
  position: absolute;
  display: block;
  height: auto;
  pointer-events: none;
}
.elementor-7707 > .rl-inhaltsseite > section:first-of-type > img {
  width: clamp(112px, 14vw, 268px);
  inset-inline-start: clamp(-64px, -3.35vw, -22px);
  inset-block-end: clamp(-102px, -5.4vw, -39px);
}
.elementor-7707 > .rl-inhaltsseite > section:last-of-type > img {
  width: clamp(126px, 14vw, 268px);
  inset-inline-end: clamp(-108px, -5.6vw, -46px);
  inset-block-end: clamp(-150px, -7.8vw, -65px);
}
@media (max-width: 900px) {
  .elementor-7707 > .rl-inhaltsseite:has(> header) {
    --staffel-end: max(24px, 7vw);
  }
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base {
    grid-template-columns: minmax(0, 1fr);
  }
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child {
    max-width: 480px;
    margin-block-start: 0;
  }
}
@media (max-width: 767px) {
  .elementor-7707 > .rl-inhaltsseite:has(> header) {
    --staffel-inset: 20px;
    --staffel-end: 20px;
    --staffel-bild-ueberstand: 98px;
  }
  body:has(.elementor-7707 > .rl-inhaltsseite > header) .rl-breadcrumbs-7218 .rank-math-breadcrumb {
    font-size: 13px;
    line-height: 20px;
  }
  .elementor-7707 > .rl-inhaltsseite > header {
    min-height: 96px;
    padding-block: 8px 24px;
  }
  .elementor-7707 > .rl-inhaltsseite > header > img {
    object-position: 48% center;
  }
  .elementor-7707 > .rl-inhaltsseite > header > h1 {
    font-size: clamp(24px, 8.1vw, 42px);
  }
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > img,
  .elementor-7707 > .rl-inhaltsseite > section:last-of-type > img {
    opacity: .4;
  }
}
@media (max-width: 640px) {
  .elementor-7707 > .rl-inhaltsseite > section:last-of-type > .e-flexbox-base > .rl-galerieraster {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
}
@media (max-width: 340px) {
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (min-width: 744px) and (max-width: 1024px) and (orientation: portrait) {
  /* Der Impressionen-Bereich füllt den freien Platz bis zum Footer. */
  body:has(.elementor-7707 > .rl-inhaltsseite > header) #content,
  body:has(.elementor-7707 > .rl-inhaltsseite > header) #content > .ast-container,
  .elementor-7707 {
    display: flex;
    flex-direction: column;
  }
  .elementor-7707 > .rl-inhaltsseite:has(> header) {
    display: flex !important;
    flex-direction: column;
  }
  body:has(.elementor-7707 > .rl-inhaltsseite > header) #content > .ast-container,
  .elementor-7707,
  .elementor-7707 > .rl-inhaltsseite,
  .elementor-7707 > .rl-inhaltsseite > section:last-of-type {
    flex: 1 0 auto;
  }
  .elementor-7707 > .rl-inhaltsseite {
    --staffel-ortslinks-min: calc(408px + 2.5vw);
  }
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type {
    padding-inline-end: min(var(--staffel-end), 9vw);
  }
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a {
    font-size: 23px;
  }
}
@media (min-width: 1023px) and (max-width: 1367px) and (orientation: landscape) and (max-aspect-ratio: 7/4) {
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type {
    padding-inline-end: 0;
  }
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base {
    --staffel-quer-textbreite: calc(33.15vw - 2px);
    --staffel-quer-spaltenabstand: clamp(22px, 4vw, 77px);
    --staffel-quer-kachelabstand: clamp(12px, 2.5vw, 48px);
    /* Breite aus dem bisherigen Raster plus zehn Prozent je Kachel. */
    --staffel-quer-kachelbreite: calc(((100% - var(--staffel-end) - var(--staffel-quer-spaltenabstand)) / 1.9 - var(--staffel-quer-kachelabstand)) * .55);
    grid-template-columns:
      var(--staffel-quer-textbreite)
      calc(2 * var(--staffel-quer-kachelbreite) + var(--staffel-quer-kachelabstand));
    grid-template-columns:
      round(nearest, var(--staffel-quer-textbreite), 1px)
      calc(2 * round(nearest, var(--staffel-quer-kachelbreite), 1px) + var(--staffel-quer-kachelabstand));
  }
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a {
    min-height: 108px;
    font-size: max(18px, 1.65vw);
    font-size: round(nearest, max(18px, 1.65vw), 1px);
  }
}

/* Suhler Schulstaffellauf: Kachel auf Smartphones zentrieren. */
@media (max-width: 767px) {
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child {
    width: 100%;
    margin-inline: auto;
  }
}
@media (min-width: 341px) and (max-width: 767px) {
  .elementor-7707 > .rl-inhaltsseite > section:first-of-type > .e-flexbox-base > .e-flexbox-base:last-child > a:first-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - clamp(12px, 2.5vw, 48px)) / 2);
  }
}/* End custom CSS */