/* ToolsEngg Page Banner 1.2.0: a white / light green marble title band, then the breadcrumb bar, at the same height as before for category, brand, search and information pages.
   Replaces the grey stripe picture behind the title and the checkered strip behind the breadcrumb. Colours only: nothing is added, removed or moved
   in the page, no link or text changes. Scoped to the title and breadcrumb that Journal puts directly in the page wrapper. */

html:not(.popup) .site-wrapper > ul.breadcrumb {
  box-sizing: border-box;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  row-gap: 0;
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 3px max(16px, calc((100% - 1240px) / 2)) !important;
  min-height: 41px;
  background: #fff;
  border-bottom: 1px solid #e3eee7;
  text-align: center !important;
  white-space: normal;
  overflow: visible;
}
html:not(.popup) .site-wrapper > ul.breadcrumb::before { display: none !important; }

html:not(.popup) .site-wrapper > ul.breadcrumb > li {
  display: inline-flex;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
  word-break: normal;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.2;
  color: #1d2b36;
}
html:not(.popup) .site-wrapper > ul.breadcrumb > li + li::before {
  content: "" !important;
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  margin: 0 11px 0 9px;
  padding: 0;
  border-top: 1.5px solid #9bb5a6;
  border-right: 1.5px solid #9bb5a6;
  transform: rotate(45deg);
}
html:not(.popup) .site-wrapper > ul.breadcrumb a {
  display: inline-flex;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
  font-weight: 500;
  color: #587064;
  text-decoration: none;
  transition: color .12s ease;
}
html:not(.popup) .site-wrapper > ul.breadcrumb a:hover { color: #0b6b3d; text-decoration: underline; text-underline-offset: 3px; }
html:not(.popup) .site-wrapper > ul.breadcrumb > li:first-child a { width: 28px; height: 28px; justify-content: center; padding: 0; border-radius: 8px; background: #eef8f2; color: #0b6b3d; }
html:not(.popup) .site-wrapper > ul.breadcrumb > li:first-child a:hover { background: #dff1e7; text-decoration: none; }
html:not(.popup) .site-wrapper > ul.breadcrumb > li:last-child a { font-weight: 600; color: #1d2b36; }

/* The title band: white marble with soft green veining. Three tiny SVG noise layers (veins, fine hairlines, soft clouds) drawn in the browser (no picture
   file to download, sharp on every screen), a pale centre so the title stays easy to read, and a gentle diagonal sheen. */
html:not(.popup) .site-wrapper > h1.page-title {
  box-sizing: border-box;
  position: relative;
  margin: 0 !important;
  padding: 8px max(16px, calc((100% - 1240px) / 2)) 12px !important;
  text-align: center;
  text-transform: none;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.005em;
  color: #0e2a3b;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
  background-color: #fafdfb;
  background-image:
    radial-gradient(ellipse 34% 130% at 50% 50%, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0)),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='64'%3E%3Cfilter id='a' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005 0.012' numOctaves='3' seed='31' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0' result='a'/%3E%3CfeComponentTransfer in='a' result='v'%3E%3CfeFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.087 0.360 0.087 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix in='v' type='matrix' values='0 0 0 0 0.56  0 0 0 0 0.78  0 0 0 0 0.67  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23a)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='64'%3E%3Cfilter id='b' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.011 0.02' numOctaves='4' seed='81' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0' result='a'/%3E%3CfeComponentTransfer in='a' result='v'%3E%3CfeFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.300 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix in='v' type='matrix' values='0 0 0 0 0.64  0 0 0 0 0.83  0 0 0 0 0.74  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23b)'/%3E%3C/svg%3E"),
    url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='2400' height='64'%3E%3Cfilter id='c' x='0' y='0' width='100%' height='100%' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.004 0.009' numOctaves='4' seed='38' result='n'/%3E%3CfeColorMatrix in='n' type='matrix' values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 1 0' result='a'/%3E%3CfeComponentTransfer in='a' result='v'%3E%3CfeFuncA type='table' tableValues='0.000 0.000 0.000 0.000 0.000 0.028 0.057 0.085 0.113 0.142 0.170'/%3E%3C/feComponentTransfer%3E%3CfeColorMatrix in='v' type='matrix' values='0 0 0 0 0.78  0 0 0 0 0.92  0 0 0 0 0.85  0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23c)'/%3E%3C/svg%3E"),
    linear-gradient(105deg, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .4));
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 100%;
  border-bottom: 1px solid #e0eee6;
}
html:not(.popup) .site-wrapper > h1.page-title > span {
  display: block;
  margin: 0 !important;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  color: inherit;
}
html:not(.popup) .site-wrapper > h1.page-title > span::after,
html:not(.popup) .site-wrapper > h1.page-title::after { display: none !important; }

/* tablets and phones: a long breadcrumb wraps onto more lines at every width and each line stays centred (nothing is cut off or scrolls sideways). */
html:not(.popup) .site-wrapper > ul.breadcrumb a { text-align: center; }

@media (max-width: 1023px) {
  html:not(.popup) .site-wrapper > ul.breadcrumb { padding-top: 6px !important; padding-bottom: 6px !important; }
}

@media (max-width: 767px) {
  html:not(.popup) .site-wrapper > ul.breadcrumb { min-height: 38px; }
  html:not(.popup) .site-wrapper > ul.breadcrumb > li, html:not(.popup) .site-wrapper > ul.breadcrumb a { font-size: 12px; }
  html:not(.popup) .site-wrapper > h1.page-title { padding: 7px max(16px, calc((100% - 1240px) / 2)) 11px !important; font-size: 22px; }
}
