.alloy-editor-container .mbp-accordion,
.alloy-editor-container .mbp-carousel,
.alloy-editor-container .mbp-desktoponly,
.alloy-editor-container .mbp-mobileonly {
  display: block;
  margin: 0.2rem;
  border: 1px solid red;
  border-radius: 0.25rem;
  padding: 0 0.5rem 0.5rem 0.5rem;
}
.alloy-editor-container .mbp-accordion::before,
.alloy-editor-container .mbp-carousel::before,
.alloy-editor-container .mbp-desktoponly::before,
.alloy-editor-container .mbp-mobileonly::before {
  display: block;
  color: white;
  font-size: 0.75rem;
  background-color: #990000;
  border-radius: 0.25rem;
  padding: 0 0.5rem;
  width: calc(100% - 2rem);
  position: relative;
  top: -0.25rem;
  left: -1rem;
}
.alloy-editor-container .mbp-accordion::before {
  content: "Akkordeon-Sektion. Jede Überschrift wird als Akkordion-Überschrift angezeigt, mit der die darunter stehenden Elemente ausgeklappt werden können.";
}
.alloy-editor-container .mbp-carousel {
  max-width: 20rem;
}
.alloy-editor-container .mbp-carousel::before {
  content: "Bild-Karussell im 16:9 Querformat. Jedes eingefügte Bild wird als eigene Seite in einem Karussell dargestellt.";
}
.alloy-editor-container .mbp-carousel.mbp-carousel-4-3::before {
  content: "Bild-Karussell im 4:3 Querformat. Jedes eingefügte Bild wird als eigene Seite in einem Karussell dargestellt.";
}
.alloy-editor-container .mbp-carousel.mbp-carousel-3-4::before {
  content: "Bild-Karussell im 3:4 Hochformat. Jedes eingefügte Bild wird als eigene Seite in einem Karussell dargestellt.";
}
.alloy-editor-container .mbp-carousel > p {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 56.25%; /* default 16:9 */
}
.alloy-editor-container .mbp-carousel.mbp-carousel-4-3 > p {
  padding-top: 75%;
}
.alloy-editor-container .mbp-carousel.mbp-carousel-3-4 > p {
  padding-top: 133.33%;
}
.alloy-editor-container .mbp-carousel > p > img {
  position: absolute;
  top: 0;
  border: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.alloy-editor-container .mbp-desktoponly::before {
  content: "DesktopOnly-Sektion: Nur auf Desktop-Auflösungen sichtbar.";
}
.alloy-editor-container .mbp-mobileonly::before {
  content: "MobileOnly-Sektion: Nur auf Mobil-Auflösungen sichtbar.";
}

.journal-content-article .mbp-carousel {
  display: none;
}
.journal-content-article .mbp-input-default-hidden {
  display: none;
}
.journal-content-article .mbp-mobileonly, .journal-content-article .mbp-desktoponly {
  display: none;
}

@media (min-width: 992px) {
  .journal-content-article .mbp-desktoponly {
    display: initial;
  }
}
@media (max-width: 991.98px) {
  .journal-content-article .mbp-mobileonly {
    display: initial;
  }
}
h1 .mbp-anchor, h2 .mbp-anchor, h3 .mbp-anchor, h4 .mbp-anchor, h5 .mbp-anchor, h6 .mbp-anchor {
  opacity: 0;
  min-width: 1em;
  display: inline-block;
  text-align: right;
  position: relative;
  left: 0;
}
h1:hover .mbp-anchor, h1:active .mbp-anchor, h1:focus .mbp-anchor, h1:focus-within .mbp-anchor, h2:hover .mbp-anchor, h2:active .mbp-anchor, h2:focus .mbp-anchor, h2:focus-within .mbp-anchor, h3:hover .mbp-anchor, h3:active .mbp-anchor, h3:focus .mbp-anchor, h3:focus-within .mbp-anchor, h4:hover .mbp-anchor, h4:active .mbp-anchor, h4:focus .mbp-anchor, h4:focus-within .mbp-anchor, h5:hover .mbp-anchor, h5:active .mbp-anchor, h5:focus .mbp-anchor, h5:focus-within .mbp-anchor, h6:hover .mbp-anchor, h6:active .mbp-anchor, h6:focus .mbp-anchor, h6:focus-within .mbp-anchor {
  opacity: 0.1;
}

.label-primary {
  background-color: var(--primary, #c21b17);
  border-color: #ec6562;
  color: #fff;
}

.label-primary.premium {
  background-color: var(--premium, #b69336);
  border-color: #b69336;
  color: #fff;
}

.ae-editable .label-primary::selection {
  background-color: #c21b17 !important;
}
.ae-editable .label-primary.premium::selection {
  background-color: var(--premium, #b69336) !important;
}

.p-primary {
  color: var(--primary, #c21b17);
  font-weight: 500;
}

.p-premium {
  color: var(--premium, #cc9933);
  font-weight: 500;
}

.portlet-msg-premium {
  background-color: #f5ebd6;
  border-color: var(--premium, #cc9933);
  color: var(--premium, #cc9933);
  border-style: solid;
  border-width: 0.0625rem;
  display: block;
  font-size: 0.875rem;
  word-wrap: break-word;
  position: relative;
  padding: 1.09375rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
}