/* ==========================================================
   Heartlines Theme v1.6.11 – Herzleser-Profil Hinweisblock
   Kundenwunsch: Aktuellen Hinweis als eigene Sektion nach dem
   Profil/Tabs und direkt vor „Liebes Herz!“ darstellen.
   ========================================================== */

.advisor-detail-template .hl-v1611-notice-section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 28px;
}

.advisor-detail-template .hl-v1611-notice-section .advisor-notice {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
}

/* Detailseite gegen horizontales Verschieben absichern. */
body.single-hl_herzleser {
  overflow-x: hidden;
}

/* Wichtig: Die äußere .advisor-detail-template ist gleichzeitig die globale
   .wrap mit max-width:1280px. Diese Maximalbreite darf hier NICHT überschrieben
   werden, sonst zieht sich die komplette Profilseite über den ganzen Viewport. */
body.single-hl_herzleser .advisor-detail-template,
body.single-hl_herzleser .advisor-detail-template .layout,
body.single-hl_herzleser .advisor-detail-template .col-main,
body.single-hl_herzleser .advisor-detail-template .col-side,
body.single-hl_herzleser .advisor-detail-template section,
body.single-hl_herzleser .advisor-detail-template .d-hero,
body.single-hl_herzleser .advisor-detail-template .tabs-wrap {
  min-width: 0;
  box-sizing: border-box;
}

@media (max-width: 920px) {
  /* Die mobile Detailseite wird per Flex-Order linearisiert.
     Der neue Hinweis erhält deshalb ausdrücklich seinen Platz
     zwischen Tabs und „Liebes Herz!“. */
  .advisor-detail-template .d-hero { order: 1 !important; }
  .advisor-detail-template .avail-card { order: 2 !important; }
  .advisor-detail-template .tabs-wrap { order: 3 !important; }
  .advisor-detail-template .hl-v1611-notice-section { order: 4 !important; }
  .advisor-detail-template .about { order: 5 !important; }
  .advisor-detail-template .schwerpunkte { order: 6 !important; }
  .advisor-detail-template .recall { order: 7 !important; }
  .advisor-detail-template .leistungen { order: 8 !important; }
  .advisor-detail-template #exp { order: 9 !important; }
  .advisor-detail-template .email-offers { order: 10 !important; }
  .advisor-detail-template .reviews { order: 11 !important; }
  .advisor-detail-template .cert { order: 12 !important; }
  .advisor-detail-template .share { order: 13 !important; }

  .advisor-detail-template .hl-v1611-notice-section {
    margin: 0;
    padding: 0;
  }

  .advisor-detail-template .hl-v1611-notice-section .advisor-notice {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .advisor-detail-template .hl-v1611-notice-section .qheart {
    flex: 0 0 auto;
    max-width: 46px;
  }

  .advisor-detail-template .hl-v1611-notice-section .qtext,
  .advisor-detail-template .hl-v1611-notice-section .qby {
    overflow-wrap: anywhere;
  }
}
