/**
 * @file
 * Styles for breadcrumbs.
 */

.breadcrumb {
  padding-bottom: 0.5em;
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
}
[dir="rtl"] .breadcrumb ol {
  /* This is required to win over specificity of [dir="rtl"] ol */
  margin-right: 0;
}
.breadcrumb li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style-type: none;
}
/* IE8 does not support :not() and :last-child. */
.breadcrumb li::before {
  content: " \BB ";
}
.breadcrumb li:first-child::before {
  content: none;
}
/*=== Breadcrumb styles for JSMA ===*/
.breadcrumb li{
  font-family: var(--body-font);
  font-size: var(--body-font-size);
}
.breadcrumb li::before{
  content: " | ";
  font-weight: var(--light-weight);
}
.breadcrumb li:not(:last-child){
  font-weight: var(--semi-bold-weight);
}
.breadcrumb li:last-child{
  font-weight: var(--extra-light-weight);
  display: none;
}
.breadcrumb li a{
  text-decoration: none;
  color: inherit;
}
/*=== JSMA Theme Styles ===*/
.breadcrumb{
  margin-top: 0;
}
/* Don't show for certain content types */
body.page-node-type-page .region-breadcrumb,
.page-node-type-exhibition .region-breadcrumb
/*, .page-node-type-collection .region-breadcrumb*/ {
  display: none;
}
.page-node-type-exhibition .region-breadcrumb{
  padding-top: 3rem;
}
/*=== Sort out padding at top of pages ===*/ 
@media screen and (min-width:800px){
  /* body.page-node-type-page:not(.path-frontpage) .layout-content,
  .page-node-type-collection .layout-content,
  .page-node-type-shop .layout-content,
  .page-node-type-events .layout-content,
  .page-node-type-classes-workshops .layout-content,
  .path-taxonomy .layout-content,
  .page-node-type-article .layout-content{
    padding-top: 5rem;
  } */
  /* Pad breadcrumb for content-types not pages*/
  .page-node-type-exhibition .region-breadcrumb{
    padding-top: 3rem;
  }
}
.page-node-type-exhibition .exhibition-hero,
.page-node-type-events .exhibition-hero,
.page-node-type-classes-workshops .exhibition-hero,
.page-node-type-article .layout-content .node__content > .wp-block-group.alignwide:first-child{
  margin-top: 0;
}