/* Broken Zine 1.8.1: restores compact two-column header and a single-row
   department menu with accessible overflow. Deliberately scoped to BZ UI. */

/* Never make the tagline and menus two rows merely because an arbitrary
   1160px breakpoint was crossed. Reserve row stacking for truly narrow CSS
   viewports. The SELECT is compact so the headline still has room. */
html body #brxe-f9a008 .tagline-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) max-content !important;
  align-items: center !important;
  column-gap: clamp(10px, 1.35vw, 20px) !important;
  row-gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
}
html body #brxe-f9a008 .tagline-secret {
  min-width: 0 !important;
  max-width: 100% !important;
}
html body #brxe-f9a008 .tagline-secret > summary {
  max-width: 100% !important;
  white-space: normal !important;
}
html body #brxe-f9a008 .mini-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  justify-self: end !important;
  flex-wrap: nowrap !important;
  gap: 0 clamp(8px, 1vw, 15px) !important;
  width: max-content !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
html body #brxe-f9a008 .mini-nav > a,
html body #brxe-f9a008 .mini-more-trigger {
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
html body #brxe-f9a008 .mini-nav .bz-type-control--select {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 0 0 2px !important;
  padding: 2px 0 2px 11px !important;
  border-left: 2px solid rgba(17,17,17,.30) !important;
  position: static !important;
  white-space: nowrap !important;
  color: #111 !important;
  font: 800 11px/1.2 'Courier New',monospace !important;
}
html body #brxe-f9a008 .bz-type-control__label {
  display: inline !important;
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  font: inherit !important;
  letter-spacing: .035em !important;
}
html body #brxe-f9a008 .bz-type-control__select {
  appearance: auto !important;
  display: block !important;
  flex: 0 0 122px !important;
  width: 122px !important;
  min-width: 122px !important;
  max-width: 122px !important;
  min-height: 38px !important;
  border: 2px solid #111 !important;
  border-radius: 0 !important;
  background: #faf7ee !important;
  color: #111 !important;
  box-shadow: 2px 2px 0 rgba(17,17,17,.12) !important;
  padding: 6px 19px 6px 8px !important;
  cursor: pointer !important;
  font: 800 12px/1.2 'Courier New',monospace !important;
}
html body #brxe-f9a008 .bz-type-control__select:focus-visible,
html body #brxe-f9a008 .mini-more-menu a:focus-visible,
html body #brxe-f9a008 .mini-more-trigger:focus-visible {
  outline: 3px solid #c02d24 !important;
  outline-offset: 3px !important;
}
html body #brx-header,
html body #brxe-f9a001,
html body #brxe-f9a008,
html body #brxe-f9a008 .tagline-row { overflow: visible !important; }
html body #brx-header { position: relative !important; z-index: 90 !important; }
html body #brxe-f9a008 .mini-more-menu {
  z-index: 260 !important;
  min-width: 210px !important;
  max-height: min(74vh,640px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}

/* At CSS widths where the two-column layout is genuinely cramped, stack once,
   keeping the links on one row for as long as their total width allows. */
@media (max-width: 960px) {
  html body #brxe-f9a008 .tagline-row {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 3px !important;
  }
  html body #brxe-f9a008 .mini-nav {
    justify-self: start !important;
    justify-content: flex-start !important;
  }
}
@media (max-width: 680px) {
  html body #brxe-f9a008 .mini-nav {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    column-gap: 12px !important;
  }
  html body #brxe-f9a008 .mini-nav .bz-type-control--select {
    margin-left: auto !important;
    padding-left: 8px !important;
  }
  html body #brxe-f9a008 .bz-type-control__select { min-height: 44px !important; }
}
@media (max-width: 400px) {
  html body #brxe-f9a008 .bz-type-control__label { font-size: 10px !important; }
  html body #brxe-f9a008 .bz-type-control__select {
    width: 114px !important;
    min-width: 114px !important;
    max-width: 114px !important;
    flex-basis: 114px !important;
  }
}

/* No three-line departments and no invisible links off-screen. A responsive
   MORE control presents everything that doesn't fit into the primary strip. */
html body .bzfp .bzfp-departments {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  overflow: visible !important;
  position: relative !important;
  isolation: isolate;
  z-index: 25 !important;
  gap: 0 !important;
  padding: 9px 0 11px !important;
  white-space: nowrap !important;
  scrollbar-width: auto !important;
}
html body .bzfp .bzfp-departments__label {
  flex: 0 0 auto !important;
  margin: 0 10px 0 0 !important;
  padding: 8px 10px !important;
  line-height: 1.15 !important;
}
html body .bzfp .bzfp-departments a {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  min-height: 32px !important;
  padding: 5px clamp(6px,.8vw,13px) !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}
/* Without JavaScript, visitors can scroll sideways to reach all sections. */
html body .bzfp .bzfp-departments:not(.bzfp-departments--enhanced) {
  overflow-x: auto !important;
}
html body .bzfp .bzfp-departments--enhanced .bzfp-departments__track {
  display: flex !important;
  flex: 1 1 auto !important;
  align-items: center !important;
  min-width: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}
html body .bzfp .bzfp-departments--enhanced .bzfp-departments__more {
  position: relative !important;
  z-index: 40 !important;
  display: block !important;
  flex: 0 0 auto !important;
  margin-left: 3px !important;
}
html body .bzfp .bzfp-departments--enhanced .bzfp-departments__more[hidden] { display: none !important; }
html body .bzfp .bzfp-departments__more-button {
  display: inline-flex !important;
  gap: 5px !important;
  min-height: 38px !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 7px 9px !important;
  border: 2px solid #111 !important;
  border-radius: 0 !important;
  background: #111 !important;
  color: #fff !important;
  font: 900 12px/1 'Source Sans 3',Arial,sans-serif !important;
  letter-spacing: .07em !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
html body .bzfp .bzfp-departments__more-button:hover,
html body .bzfp .bzfp-departments__more-button:focus-visible {
  background: #c02d24 !important;
}
html body .bzfp .bzfp-departments__more-button:focus-visible,
html body .bzfp .bzfp-departments__menu a:focus-visible {
  outline: 3px solid #c02d24 !important;
  outline-offset: 2px !important;
}
html body .bzfp .bzfp-departments__menu {
  position: absolute !important;
  display: none !important;
  top: calc(100% + 4px) !important;
  right: 0 !important;
  z-index: 100 !important;
  width: max-content !important;
  min-width: 205px !important;
  max-width: min(94vw,350px) !important;
  max-height: min(70vh,500px) !important;
  overflow-y: auto !important;
  padding: 5px !important;
  border: 3px solid #111 !important;
  background: #fff9ed !important;
  box-shadow: 5px 5px 0 #c02d24 !important;
}
html body .bzfp .bzfp-departments__more.is-open .bzfp-departments__menu {
  display: grid !important;
}
html body .bzfp .bzfp-departments__menu a {
  display: block !important;
  min-height: 40px !important;
  padding: 12px !important;
  border-bottom: 1px solid rgba(17,17,17,.2) !important;
  font-size: 13px !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}
html body .bzfp .bzfp-departments__menu a:last-child { border-bottom: 0 !important; }
html body .bzfp .bzfp-departments a:hover,
html body .bzfp .bzfp-departments a:focus-visible {
  background: #111 !important;
  color: #fff !important;
}
@media (max-width: 760px) {
  html body .bzfp .bzfp-departments { padding: 8px 0 10px !important; }
  html body .bzfp .bzfp-departments a { min-height: 38px !important; padding: 8px 7px !important; }
  html body .bzfp .bzfp-departments__menu a { padding: 12px !important; }
}
@media (max-width: 420px) {
  html body .bzfp .bzfp-departments__label { padding: 8px 7px !important; margin-right: 5px !important; font-size: 11px !important; }
  html body .bzfp .bzfp-departments__more-button { font-size: 11px !important; padding: 7px !important; }
}

/* 1.8.2 — WordPress fallback-content spacing.
   Bricks page-builder pages use <main>; WordPress-rendered pages use
   <article id="brx-content" class="wordpress">. Only the latter need a
   content gutter. This fixes author bios, Supporters, Privacy and similar
   pages without moving the homepage, category archives or Bricks layouts. */
body.page article#brx-content.wordpress {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1440px !important;
  margin-inline: auto !important;
  padding: clamp(24px, 2.9vw, 42px) clamp(20px, 3.1vw, 46px) clamp(56px, 5.5vw, 86px) !important;
  min-width: 0 !important;
}
body.page article#brx-content.wordpress > h1 {
  margin-block: 0 clamp(22px, 2.7vw, 36px) !important;
  max-width: 100%;
  overflow-wrap: break-word;
}
body.page article#brx-content.wordpress > :is(p, ul, ol, blockquote) {
  max-width: 78ch;
}
/* Match profile heading and content edges without changing stored biographies. */
body.page.page-child.parent-pageid-444 article#brx-content.wordpress > h1,
body.page.page-child.parent-pageid-444 article#brx-content.wordpress > .bz-author-profile {
  width: 100%;
  max-width: 1100px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.page.page-child.parent-pageid-444 article#brx-content.wordpress > .bz-author-profile {
  min-width: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
@media (max-width: 700px) {
  body.page article#brx-content.wordpress {
    padding: 24px clamp(16px, 4.5vw, 26px) 56px !important;
  }
}
