/* Shared story navigation; all rules are scoped to these two blocks. */

header.hb-story-header,footer.hb-story-footer {
  box-sizing: border-box;
  position: relative;
  inset: auto;
  float: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #222520;
  background: #f7f5ef;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: 14px/1.4 Arial,Helvetica,sans-serif;
  text-align: left;
  letter-spacing: normal;
  white-space: normal;
  overflow: visible;
  opacity: 1;
  transform: none;
}

header.hb-story-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid #d7d6cd;
  background: #f7f5eff2;
  backdrop-filter: blur(15px);
}

.hb-story-header .hb-chrome-inner,.hb-story-footer .hb-chrome-inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px 5vw;
}

.hb-story-header a,.hb-story-footer a {
  color: inherit;
  text-decoration: none;
  font-family: Arial,Helvetica,sans-serif;
}

.hb-story-header .hb-brand,.hb-story-footer .hb-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  font-size: 23px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -.8px;
}

.hb-story-header .hb-brand i,.hb-story-footer .hb-brand i {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #bb452b;
  border-radius: 50%;
}

.hb-story-header .hb-topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0;
  padding: 0;
  color: #686159;
  font: 15px/1.4 Arial,Helvetica,sans-serif;
}

.hb-story-header .hb-topnav a {
  display: inline-block;
  margin: 0;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  font: inherit;
  letter-spacing: normal;
  white-space: nowrap;
}

.hb-story-header .hb-languages {
  display: inline-flex;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid #d7d6cd;
  white-space: nowrap;
}

.hb-story-header .hb-languages a[aria-current=page] {
  font-weight: 700;
  color: #222520;
  border-bottom-color: currentColor;
}

.hb-story-header a:hover,.hb-story-footer a:hover {
  color: #bb452b;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hb-story-header a:focus-visible,.hb-story-footer a:focus-visible {
  outline: 3px solid #bb452b;
  outline-offset: 5px;
}

footer.hb-story-footer {
  display: block;
  border-top: 1px solid #d7d6cd;
  margin-top: 40px;
}

.hb-story-footer .hb-chrome-inner {
  flex-wrap: wrap;
  padding-top: 25px;
  padding-bottom: 25px;
  color: #696b61;
  font-size: 11px;
  line-height: 1.7;
}

.hb-story-footer .hb-brand {
  font-size: 18px;
  letter-spacing: -.02em;
}

.hb-story-footer .hb-legal {
  margin-left: auto;
  white-space: nowrap;
}

@media (max-width:560px) {
  .hb-story-header .hb-chrome-inner {
    flex-wrap: wrap;
    gap: 12px;
    padding: 15px 12px;
  }
  
  .hb-story-header .hb-brand {
    font-size: 21px;
  }
  
  .hb-story-header .hb-topnav {
    flex-wrap: wrap;
    gap: 11px;
    font-size: 13px;
  }
  
  .hb-story-header .hb-languages {
    gap: 9px;
    padding-left: 11px;
  }
  
  .hb-story-footer .hb-chrome-inner {
    gap: 14px;
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .hb-story-footer .hb-credit {
    flex-basis: 100%;
    order: 3;
  }
}
