/* Open Library Theme — Global Frontend Breadcrumb Removal — 2026-08-29 v2
 * Breadcrumbs are intentionally removed from all public-facing pages.
 */
html body .cmp_breadcrumbs,
html body nav.cmp_breadcrumbs,
html body .pkp_structure_main > .cmp_breadcrumbs,
html body .page > .cmp_breadcrumbs,
html body [class*="page_"] > .cmp_breadcrumbs,
html body [aria-label="Breadcrumb"],
html body [aria-label="breadcrumb"]{
  display:none!important;
  visibility:hidden!important;
  width:0!important;
  height:0!important;
  min-width:0!important;
  min-height:0!important;
  max-width:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

/* Prevent the hidden breadcrumb from leaving a visual gap before page content. */
html body .cmp_breadcrumbs + h1,
html body .cmp_breadcrumbs + h2,
html body .cmp_breadcrumbs + .page_title,
html body .cmp_breadcrumbs + .openlib_page_heading,
html body .cmp_breadcrumbs + .openlib_page_header,
html body .cmp_breadcrumbs + *{
  margin-top:0!important;
}
