/* ==========================================================================
   Doctor Template
   ========================================================================== */

/* Rechter Bereich */
.awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-right,
.awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-content-right {
  background: #f7f3ee;
}

/* Gesamtes Overlay */
.awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-content {
  padding: 0 !important;
  margin: 0 !important;
}

/* Linke Bildseite */
.awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-left.awx-panel-image-bg {
  width: 50% !important;
  height: 100vh !important;
  min-height: 100vh !important;

  padding: 0 !important;
  margin: 0 !important;

  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* Rechte Seite */
.awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-right {
  width: 50% !important;
  min-height: 100vh !important;
}

/* Textcontainer */
.awx-fullscreen-overlay.awx-panel-template-doctor .awx-panel-content {
  max-width: 760px;
  color: #303030;
}

.awx-fullscreen-overlay.awx-panel-template-doctor .awx-panel-content p {
  font-size: 17px;
  line-height: 1.75;
}

.awx-fullscreen-overlay.awx-panel-template-doctor .awx-quote-author {
  text-align: right;
}

/* ==========================================================================
   Product Template
   ========================================================================== */

/* Mobile: Product-Bild oben zuverlässig sichtbar halten */
@media (max-width: 991px) {
  .awx-fullscreen-overlay.awx-panel-template-product .awx-overlay-left.awx-panel-image-bg {
    position: relative !important;
    top: auto !important;
    left: auto !important;

    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;

    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    z-index: 1 !important;
  }
}

/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 991px) {

  /* Bild oben, Text unten */
  .awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-content {
    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;
    height: auto !important;
    min-height: 100vh !important;

    padding: 0 !important;
    margin: 0 !important;

    overflow: visible !important;
  }

  /* Bild */
  .awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-left.awx-panel-image-bg {
    position: relative !important;
    order: 1;

    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;

    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  /* Textbereich */
  .awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-right {
    position: relative !important;
    order: 2;

    width: 100% !important;
    min-height: auto !important;

    padding: 0 !important;
    margin: 0 !important;
  }

  .awx-fullscreen-overlay.awx-panel-template-doctor .awx-overlay-content-right {
    width: 100% !important;
    max-width: 100% !important;

    padding: 32px 28px 180px 28px !important;
    margin: 0 !important;
  }

  .awx-fullscreen-overlay.awx-panel-template-doctor .elementor-widget__width-initial,
  .awx-fullscreen-overlay.awx-panel-template-doctor .elementor-widget-html,
  .awx-fullscreen-overlay.awx-panel-template-doctor .elementor-widget-text-editor,
  .awx-fullscreen-overlay.awx-panel-template-doctor .awx-panel-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  .awx-fullscreen-overlay.awx-panel-template-doctor .awx-panel-content p {
    font-size: 20px;
    line-height: 1.6;
  }

  .awx-fullscreen-overlay.awx-panel-template-doctor .awx-quote-author {
    text-align: right;
  }
}
