/* Open (card-free) page heroes: copy on the left, transparent cutout art on the right, both sitting on the
   page background, side by side at every width. Opt-in via .br-open-hero (see directoryHeader in
   homepage-v281.js), so heroes whose art is not a transparent cutout keep the shared card look. */
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero,
html[data-theme] body #app .br-page-title-card.br-directory-hero.hero.br-open-hero{
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;
  grid-template-rows:auto!important;
  align-items:center!important;
  align-content:center!important;
  gap:clamp(4px,2.5vw,32px)!important;
  width:100%!important;
  max-width:1100px!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  margin-top:6px!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  background:transparent!important;
}
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero>div:first-child,
html[data-theme] body #app .br-page-title-card.br-directory-hero.hero.br-open-hero>div:first-child{
  grid-column:1!important;grid-row:1!important;
  width:auto!important;height:auto!important;
  padding:0!important;
  background:transparent!important;border:0!important;
}
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero>div:first-child h1{
  font-size:clamp(30px,8vw,58px)!important;line-height:1.05!important;
}
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero>div:first-child .br-directory-blurb{
  font-size:clamp(14px,3.7vw,20px)!important;line-height:1.4!important;max-width:30ch;
}
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero>.br-directory-art,
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero>.br-directory-art>picture{
  grid-column:2!important;grid-row:1!important;
  width:100%!important;height:auto!important;min-height:0!important;
  aspect-ratio:1200/675!important;
  background:transparent!important;border-radius:0!important;overflow:visible!important;
}
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero>.br-directory-art img{
  width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;
  background:transparent!important;
}
/* Bigger art variant (Relax, About): wider art column. Stays inside the page width on every screen,
   because a hero wider than its container made iOS Safari show a stray scroll bar. */
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero.br-open-hero--big,
html[data-theme] body #app .br-page-title-card.br-directory-hero.hero.br-open-hero.br-open-hero--big{
  grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr)!important;
}
@media(max-width:560px){
  html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero.br-open-hero--big,
  html[data-theme] body #app .br-page-title-card.br-directory-hero.hero.br-open-hero.br-open-hero--big{
    grid-template-columns:minmax(0,.78fr) minmax(0,1.45fr)!important;
    gap:2px!important;
  }
}
/* Hairlines: one under "Back to Home" (above the eyebrow) and one under the hero, so the open header block
   still reads as a header without a card. Soft green in light, soft sage in dark. */
html body #app .br-page-title-card.br-directory-hero.hero.br-open-hero,
html[data-theme] body #app .br-page-title-card.br-directory-hero.hero.br-open-hero{
  border-top:1px solid rgba(54,91,59,.28)!important;
  border-bottom:1px solid rgba(54,91,59,.28)!important;
  padding:clamp(14px,3vw,26px) 0!important;
  margin:10px auto 18px!important;
}
html[data-theme=dark] body #app .br-page-title-card.br-directory-hero.hero.br-open-hero{
  border-color:rgba(173,198,173,.28)!important;
}
