/*
  REGELWERK – verkürzte Mobilansicht
  Aktiv bis einschließlich 768 px.
*/

.rw-mobile-more-button,
.rw-mobile-full-toggle {
  display: none;
}

@media (max-width: 768px) {
  body.rw-mobile-short {
    overflow-x: hidden;
  }

  body.rw-mobile-short section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  body.rw-mobile-short:not(.rw-show-full) .rw-mobile-hide-section,
  body.rw-mobile-short:not(.rw-show-full) .rw-mobile-extra-text,
  body.rw-mobile-short:not(.rw-show-all-references)
    .rw-mobile-reference-hidden {
    display: none !important;
  }

  .rw-mobile-more-button,
  .rw-mobile-full-toggle {
    display: block;
    width: min(92%, 420px);
    margin: 24px auto 0;
    padding: 14px 18px;
    border: 1px solid currentColor;
    border-radius: var(--button-radius, 8px);
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }

  .rw-mobile-full-toggle {
    margin-top: 30px;
    margin-bottom: 10px;
  }

  .rw-mobile-more-button:focus-visible,
  .rw-mobile-full-toggle:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
  }
}
