/* Bonus hub hero — lead on the left, documented houses on the right.
   Fraunces comes from sections.css. */

.bonus-hero-panel{
  background:linear-gradient(150deg,#07402E 0%,#042C21 74%);
  border-bottom:1px solid var(--line);
  padding:48px 0 38px;
}
.bonus-hero-panel + .section{padding-top:32px}

.bonus-hero-grid{
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.8fr);
  gap:52px;align-items:center;
}

.bh-kicker{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;font-weight:700}
.bh-kicker b{background:var(--gold);color:var(--forest-2);padding:4px 9px;border-radius:5px;font-size:11px}
.bh-kicker > span{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;font-size:11px}

.bh-title{
  margin:18px 0 0;
  font-family:Fraunces,Georgia,'Times New Roman',serif;
  font-variation-settings:'opsz' 120,'wght' 600,'SOFT' 40,'WONK' 1;
  font-weight:600;
  font-size:clamp(34px,4.1vw,56px);line-height:1.04;letter-spacing:-.02em;
}
.bh-title i{font-style:italic;color:var(--gold)}
.bonus-hero-panel .page-update-date{margin:12px 0 0;font-size:12px;color:var(--heromuted)}
.bh-lede{margin:14px 0 0;font-size:16.5px;color:#CFE3D7;max-width:52ch}

.bh-actions{margin-top:24px;display:flex;gap:12px;flex-wrap:wrap}
.bh-btn{
  display:inline-block;text-decoration:none;
  background:var(--button);color:var(--buttonink);
  font-weight:700;font-size:15px;padding:13px 24px;border-radius:12px;transition:filter .16s;
}
.bh-btn:hover{filter:brightness(1.08)}
.bh-btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.bh-btn.ghost:hover{border-color:var(--gold);color:var(--gold);filter:none}

.bh-stats{
  display:flex;flex-wrap:wrap;margin:30px 0 0;padding:0;
  border-top:1px solid rgba(255,255,255,.12);
}
.bh-stats > div{
  padding:18px 26px 16px 0;margin-right:26px;
  border-right:1px solid rgba(255,255,255,.12);
}
.bh-stats > div:last-child{border-right:0;margin-right:0}
.bh-stats dt{font-size:10.5px;letter-spacing:.13em;text-transform:uppercase;font-weight:800;color:var(--muted)}
.bh-stats dd{
  margin:5px 0 0;
  font-family:Fraunces,Georgia,serif;
  font-variation-settings:'opsz' 120,'wght' 700,'SOFT' 30,'WONK' 1;
  font-weight:700;font-size:34px;line-height:1;color:var(--gold);
}
.bh-meta{margin:16px 0 0;display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:#8FAFA0}
.bh-meta span::after{content:"·";margin-left:18px;color:var(--line)}
.bh-meta span:last-child::after{content:""}

/* ---------- the houses card ---------- */
.bh-card{
  border:1px solid var(--line);border-radius:18px;
  background:rgba(4,36,27,.62);padding:22px 22px 16px;
}
.bh-card-head{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:4px}
.bh-eyebrow{font-size:10.5px;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:var(--gold)}
.bh-card-head h2{
  margin:8px 0 0;
  font-family:Fraunces,Georgia,serif;
  font-variation-settings:'opsz' 120,'wght' 600,'SOFT' 40,'WONK' 1;
  font-weight:600;font-size:26px;line-height:1.12;
}
.bh-card-head p{margin:4px 0 0;font-size:12.5px;color:var(--muted)}

.bh-house{
  display:flex;align-items:center;gap:13px;
  padding:12px 0;border-bottom:1px solid rgba(255,255,255,.07);
  text-decoration:none;
}
.bh-house:last-of-type{border-bottom:0}
.bh-house .operator-logo{
  width:42px;height:42px;min-width:42px;min-height:42px;flex:0 0 42px;
  border-radius:11px;
}
.bh-house-name{flex:1;min-width:0}
.bh-house-name strong{display:block;font-size:15.5px;color:var(--ink)}
.bh-house-name small{
  display:block;font-size:11.5px;color:var(--muted);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.bh-house-count{
  flex:0 0 auto;min-width:30px;text-align:center;
  font-family:'JetBrains Mono',ui-monospace,monospace;
  font-size:14px;font-weight:700;color:var(--gold);
  border:1px solid var(--line);border-radius:9px;padding:4px 7px;
}
.bh-house:hover .bh-house-name strong,
.bh-house:focus-visible .bh-house-name strong{color:var(--gold)}
.bh-house:hover .bh-house-count{border-color:var(--gold)}
.bh-house.is-active .bh-house-count{background:var(--gold);color:var(--forest-2);border-color:var(--gold)}

.bh-card-foot{
  display:flex;justify-content:space-between;gap:12px;
  border-top:1px solid var(--line);margin-top:10px;padding-top:12px;
  font-size:11.5px;color:#8FAFA0;
}

@media (max-width:1080px){
  .bonus-hero-grid{grid-template-columns:1fr;gap:30px}
  .bh-lede{max-width:none}
}
@media (max-width:720px){
  .bonus-hero-panel{padding:32px 0 26px}
  .bonus-hero-panel + .section{padding-top:24px}
  .bh-title{font-size:clamp(28px,7.5vw,38px)}
  .bh-btn{flex:1 1 100%;text-align:center}
  /* Two per row on a phone, so the divider never hangs at the end of a row. */
  .bh-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .bh-stats > div{padding:16px 14px 14px 0;margin-right:14px}
  .bh-stats > div:nth-child(2n){border-right:0;margin-right:0}
  .bh-stats dd{font-size:27px}
  .bh-card{padding:18px 16px 14px}
  .bh-card-head h2{font-size:22px}
}
