/* Home hero v2: lead story plus top stories. Reuses tbd.css tokens. New classes all start hh-
   Copied from design_mockups/home-hero-v2/spec/home-hero.css (no mockup-only rules in that file to strip).
   Enqueued on is_front_page() only, after bd-theme (functions.php). */
.hh{padding:40px 0 0}
.hh-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:var(--s6);align-items:start}
.hh-lead{position:relative;display:flex;flex-direction:column}
.hh-ph{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:var(--ink-2);border-radius:var(--radius)}
.hh-ph img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.hh-lead:hover .hh-ph img{transform:scale(1.02)}
.hh-body{position:relative;z-index:2;margin:-160px 48px 0 0;padding:28px 32px;background:var(--ink-1);border-left:2px solid var(--accent);border-radius:0 var(--radius) var(--radius) 0}
.hh-h1{font-size:40px;line-height:46px;margin:16px 0}
.hh-h1 a{display:block;min-height:48px;color:var(--text-1);text-decoration:none}
.hh-h1 a:hover{text-decoration:underline;text-decoration-thickness:2px;text-decoration-color:var(--accent);text-underline-offset:6px}
.hh-dek{max-width:600px;color:var(--text-1);opacity:.9;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.hh-by{color:var(--text-1);opacity:.85}
.hh-btns{margin-top:24px}
.hh-credit{font-size:13px;line-height:20px;color:var(--text-2);margin-top:20px}
.hh-side{display:flex;flex-direction:column;min-width:0}
.hh-side-h{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-bottom:8px;min-height:48px}
.hh-arrows{display:none;gap:8px}
.hh-arrows .icon-btn{width:48px;height:48px;border:1px solid var(--line-strong);border-radius:var(--radius);background:transparent;color:var(--text-1);display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.hh-arrows .icon-btn svg{width:20px;height:20px}
.hh-arrows .icon-btn:hover{border-color:var(--text-1)}
.hh-arrows .icon-btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.hh-arrows .icon-btn[disabled]{opacity:.4;cursor:default}
.hh-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.hh-list:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.hh-top{border-bottom:1px solid var(--line)}
.hh-top:last-child{border-bottom:0}
.hh-tcard{display:grid;grid-template-columns:128px minmax(0,1fr);gap:16px;padding:18px 0;position:relative}
.hh-tcard .ph{display:block;aspect-ratio:3/2;overflow:hidden;background:var(--ink-2);border-radius:var(--radius)}
.hh-tcard .ph img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.hh-tcard:hover .ph img{transform:scale(1.04)}
.hh-tbody{display:flex;flex-direction:column;gap:6px;min-width:0}
.hh-tt{font-size:18px;line-height:25px}
.hh-tt a{display:block;min-height:48px;color:var(--text-1);text-decoration:none}
.hh-tt a:after{content:"";position:absolute;inset:0}
.hh-tcard:hover .hh-tt a{text-decoration:underline;text-decoration-color:var(--accent);text-underline-offset:4px}
.hh-tt a:focus-visible{outline:none}
.hh-tcard:focus-within{outline:3px solid var(--accent);outline-offset:3px}
.hh-cap{margin-top:2px}
.hh + .sec.row .sec-head{margin-top:0}
.hh .eyebrow,.hh .cat{font-size:13px}
.hh .btn{font-size:13px}
/* Breaking strip on this page only: 13px floor (site-wide tbd.css stays 11/10/12px, SPEC.md section 5) */
.brk .nlabel{font-size:13px}
.brk .brk-time{font-size:13px}
/* Desktop 1360 and up (not is-few): split lead, text left on 6 of 12 columns, 4:5 photo right on 6, no overlap */
@media (min-width:1360px){
 .hh:not(.is-few) .hh-lead{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:32px;align-items:start}
 .hh:not(.is-few) .hh-ph{grid-column:7 / span 6;grid-row:1;aspect-ratio:4/5}
 .hh:not(.is-few) .hh-body{grid-column:1 / span 6;grid-row:1;margin:0;padding:4px 0 0 24px;background:none}
 .hh:not(.is-few) .hh-h1{font-size:40px;line-height:46px;margin:16px 0 18px}
}
/* Fewer than 3 top stories: lead spans full width at 21:9, side becomes a row */
.hh.is-few .hh-grid{grid-template-columns:minmax(0,1fr)}
.hh.is-few .hh-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.hh.is-few .hh-top{border-bottom:0}
@media (min-width:768px){
 .hh.is-few .hh-lead{display:flex}
 .hh.is-few .hh-ph{aspect-ratio:21/9}
 .hh.is-few .hh-body{margin:-160px 48px 0 0;padding:28px 32px;background:var(--ink-1);max-width:760px}
}
@media (min-width:1360px){.hh.is-few .hh-h1{font-size:44px;line-height:50px}}
@media (max-width:1199px){.hh-h1{font-size:38px;line-height:44px}}
/* Tablet: lead full width, top stories 2x2 */
@media (max-width:1023px){
 .hh-grid{grid-template-columns:minmax(0,1fr);gap:24px}
 .hh-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}
 .hh-top:nth-last-child(2){border-bottom:0}
}
/* Mobile: photo on top, text below on ink, swipe row */
@media (max-width:767px){
 .hh{padding:24px 0 0}
 .hh-ph{aspect-ratio:4/5}
 .hh-body{margin:0;padding:20px 0 0;background:none;border:0;border-radius:0}
 .hh-h1{font-size:32px;line-height:38px;margin:16px 0}
 .hh-dek{font-size:17px;line-height:26px}
 .hh-btns .btn{width:100%}
 .hh-arrows{display:flex}
 .hh-list,.hh.is-few .hh-list{display:flex;flex-direction:row;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:0;padding-bottom:8px;margin-right:calc(-1*var(--side));padding-right:var(--side);scrollbar-width:none;overscroll-behavior-x:contain}
 .hh-list::-webkit-scrollbar{display:none}
 .hh-top{flex:0 0 78%;scroll-snap-align:start;border-bottom:0;display:flex}
 .hh-tcard{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;gap:12px;padding:8px 0;width:100%}
 .hh-tt{font-size:19px;line-height:26px;min-height:78px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
 .hh-cap{line-height:20px;min-height:40px}
}
@media (max-width:359px){.hh-h1{font-size:28px;line-height:34px}.hh-top{flex-basis:84%}}
@media (prefers-reduced-motion:reduce){.hh-ph img,.hh-tcard .ph img{transition:none!important;transform:none!important}.hh-list{scroll-behavior:auto}}
/* Lead image focal point: bd_focal sets --hh-focal inline; default keeps the left/front of wide photos in the 4:5 crop */
.hh-ph img{object-position:var(--hh-focal,20% 50%)}
/* Lead byline: each item nowrap; the dot sits in each item's left padding and the row is shifted left and clipped,
   so the dot of whichever item starts a line is hidden (no leading dot at any width) */
.hh-by{overflow:hidden}
.hh-byin{display:flex;flex-wrap:wrap;margin-left:-1.25em}
.hh-bi{white-space:nowrap;position:relative;padding-left:1.25em}
.hh-bi::before{content:"\00B7";position:absolute;left:.45em;top:0}

/* 11/5/2026 hero visibility fix (design only): wide photos were cut to a 4:5 portrait crop, and below 1360px the headline card covered about half of the photo. Now square on the desktop split, 4:3 on phone, centered focal point, smaller card overlap on tablet and small laptops. bd_focal still overrides the focal point per story. */
.hh-ph img{object-position:var(--hh-focal,40% 50%)}
@media (min-width:1360px){
 .hh:not(.is-few) .hh-ph{aspect-ratio:1/1}
}
@media (min-width:768px) and (max-width:1359px){
 .hh:not(.is-few) .hh-body{margin-top:-40px}
}
@media (max-width:767px){
 .hh-ph{aspect-ratio:4/3}
}
/* 11/5/2026 small phones (up to 400px wide and 700px tall, plus any 320 to 359px phone): wider, shorter photo and a slightly smaller headline so the headline clears the cookie bar on first load. */
@media (max-width:359px),(max-width:400px) and (max-height:700px){
 .hh-ph{aspect-ratio:16/9}
 .hh-body{padding-top:14px}
 .hh-h1{font-size:24px;line-height:29px;margin:10px 0}
}
