/*
* Copyright IBM Corp. 2025, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

$css--plex: true !default;

/* Other Carbon settings. */
@use 'sass:map';
@use '@carbon/styles';
@use '@carbon/styles/scss/themes';
@use '@carbon/styles/scss/type';
@use '@carbon/styles/scss/breakpoint' as *;
@use '@carbon/styles/scss/spacing' as *;

$prefix: 'c4p';
$carbon-prefix: 'cds';

$block-class: #{$prefix}--page-header-breadcrumbs-set;

:host {
  display: block;
  inline-size: 100%;

  // Suppress custom elements until styles are loaded
  #{$carbon-prefix}-breadcrumb:not(:defined),
  #{$carbon-prefix}-overflow-menu:not(:defined) {
    display: none;
  }

  /* stylelint-disable-next-line selector-type-no-unknown */
  cds-breadcrumb-item {
    flex: none;
  }

  [data-hidden]:not([data-fixed]) {
    display: none;
  }
}
