/* Hab & Bewahr 0.1.157 — CENTRAL breadcrumb vertical alignment.
 * Consistent first text line after the existing main navigation.
 * No rule targets header, navigation, footer, forms, hero or banners.
 * Native HivePress/account pages are intentionally NOT loaded here.
 */
body.hbdp-body .hbdp {
  --hbdp-breadcrumb-top: 14px;
}

/* Templates with breadcrumb directly at the beginning of their main content. */
body.hbdp-body .hbdp :is(
  main.hbdp-service.hbdp-section,
  main.hbdp-hub.hbdp-section,
  main.hbdp-article.hbdp-section,
  main.hbdp-glossary.hbdp-section,
  main.hbdp-market,
  div.hbdp-market,
  main.hbdp-search-page,
  main.hbdp-detail-category
) {
  padding-top: var(--hbdp-breadcrumb-top) !important;
}

/* Templates where the breadcrumb has its own dedicated top row. */
body.hbdp-body .hbdp :is(
  .hbdp-world-breadcrumb-top,
  .hbdp-area-demo-breadcrumb-top
) {
  padding-top: var(--hbdp-breadcrumb-top) !important;
}

/* Templates whose breadcrumb itself carries the upper spacing. */
body.hbdp-body .hbdp :is(
  .hbdp-faq .hbdp-crumb,
  .hbdp-magazine .hbdp-crumb,
  .hbdp-compass .hbdp-crumb
) {
  padding-top: var(--hbdp-breadcrumb-top) !important;
}

/* Identical first-line typography; keep each page's spacing BELOW unchanged. */
body.hbdp-body .hbdp .hbdp-crumb {
  margin-top: 0 !important;
  font: 12px/1.5 Arial, Helvetica, sans-serif !important;
  align-items: center;
}

@media (max-width: 760px) {
  body.hbdp-body .hbdp { --hbdp-breadcrumb-top: 10px; }
}
