/**
 * @file
 * Light-DOM overrides for bike guide pages.
 *
 * Targets the node type body class added by Drupal for bike_guide nodes.
 * Ensures guide content fills the full viewport width.
 */

body.node--type-bike-guide #page-content #main.layout-container {
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.node--type-bike-guide #page-content {
  padding-top: 100px !important;
}

body.node--type-bike-guide #page-content > #main-wrapper:last-child {
  padding-bottom: 0 !important;
}

body.node--type-bike-guide #page-content #main #content.main-content {
  width: 100% !important;
}

body.node--type-bike-guide #page-content #main #block-blazingsaddles-content,
body.node--type-bike-guide #page-content #main #block-blazingsaddles-content > .content {
  width: 100% !important;
  max-width: none !important;
}

body.node--type-bike-guide .bg-svgs.one-tour-base,
body.node--type-bike-guide .bg-svgs.maintenance-svg {
  display: none !important;
}

body.node--type-bike-guide #block-blazingsaddles-breadcrumbs {
  display: none !important;
}

/**
 * The theme sets overflow:hidden on .dialog-off-canvas-main-canvas which
 * breaks CSS position:sticky for every descendant. Override it so the
 * guide sidebar TOC can use native sticky positioning.
 */
body.node--type-bike-guide .dialog-off-canvas-main-canvas {
  overflow: visible !important;
}
