/* Authentic localhost WordPress category blocks — no guessed categories. */
.bt-local-categories{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px;align-items:start;padding:0 0 26px;min-width:0}
.bt-local-categories-intro{grid-column:1/-1;border-top:2px solid var(--rule);padding-top:22px;margin-top:5px}
.bt-local-categories-intro span{font-size:10px;font-weight:900;letter-spacing:1px;color:var(--accent)}
.bt-local-categories-intro h2{font-size:29px;line-height:1.45;margin:5px 0}
.bt-local-categories-intro p{color:var(--muted);font-size:11px;line-height:1.7}
.bt-local-cat{grid-column:span 12;min-width:0;padding-top:8px;margin:0;content-visibility:auto;contain-intrinsic-size:auto 420px}
.bt-local-cat-head{display:flex;gap:14px;align-items:center;justify-content:space-between;margin-bottom:13px;padding-bottom:9px;border-bottom:1px solid var(--rule);position:relative}
.bt-local-cat-head:after{content:"";width:5px;height:26px;position:absolute;right:0;top:6px;background:var(--accent);border-radius:1px}
.bt-local-cat-head>div{padding-right:15px}
.bt-local-cat-head h2{font-size:clamp(20px,2.2vw,29px);line-height:1.4;font-weight:900;margin:0}
.bt-local-kicker{display:block;color:var(--muted);font-size:9px;letter-spacing:.6px;margin-bottom:2px;direction:ltr;text-align:right}
.bt-local-cat-head>a{color:var(--muted);font-size:11px;font-weight:800;white-space:nowrap}
.bt-local-cat-stories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;min-width:0}
.bt-cat-story{min-width:0;border-radius:14px;overflow:hidden;background:var(--surface);border:1px solid var(--rule);box-shadow:0 2px 12px #182f3b08}
.bt-cat-story>a{display:block;height:100%;color:var(--ink);text-decoration:none}
.bt-cat-media{position:relative;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(125deg,#22354b,#536985)}
.bt-cat-media img{width:100%;height:100%;object-fit:cover;display:block}
.bt-cat-photo-missing{display:flex;justify-content:center;align-items:center;width:100%;height:100%;color:#eaf0f9;font-size:11px;font-weight:800;letter-spacing:0;min-height:60px}
.bt-cat-caption{padding:12px 13px;min-width:0}
.bt-cat-caption small{display:block;color:var(--accent);font-size:10px;font-weight:900;margin-bottom:6px}
.bt-cat-caption h3{font-size:15px;line-height:1.65;font-weight:850;margin:0 0 8px;overflow-wrap:break-word}
.bt-cat-caption time{font-size:10px;color:var(--muted);direction:ltr;display:block;text-align:right}
.bt-cat-story:hover .bt-cat-media img{transform:scale(1.03);transition:transform .2s}
.bt-cat-story[hidden],.bt-local-cat[hidden]{display:none!important}

/* Large main photo and list of compact cards, matching screenshot reference. */
.bt-local-cat--feature .bt-local-cat-stories{grid-template-columns:minmax(0,2fr) minmax(0,1fr);grid-template-rows:repeat(5,minmax(80px,auto));gap:10px 18px}
.bt-local-cat--feature .bt-cat-story:first-child{grid-column:1;grid-row:1/6;position:relative;background:#142338}
.bt-local-cat--feature .bt-cat-story:first-child>a{position:relative;min-height:100%;display:block}
.bt-local-cat--feature .bt-cat-story:first-child .bt-cat-media{position:absolute;inset:0;aspect-ratio:auto;height:100%}
.bt-local-cat--feature .bt-cat-story:first-child .bt-cat-media:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#101b2bee)}
.bt-local-cat--feature .bt-cat-story:first-child .bt-cat-caption{position:absolute;bottom:0;right:0;left:0;color:#fff;z-index:2;padding:22px}
.bt-local-cat--feature .bt-cat-story:first-child h3{color:#fff;font-size:clamp(22px,2.3vw,33px);line-height:1.45}
.bt-local-cat--feature .bt-cat-story:first-child small,.bt-local-cat--feature .bt-cat-story:first-child time{color:#e3e8f0}
.bt-local-cat--feature .bt-cat-story:not(:first-child){display:grid;min-height:0}
.bt-local-cat--feature .bt-cat-story:not(:first-child)>a{display:grid;grid-template-columns:120px minmax(0,1fr);align-items:stretch}
.bt-local-cat--feature .bt-cat-story:not(:first-child) .bt-cat-media{aspect-ratio:auto;min-height:85px}
.bt-local-cat--feature .bt-cat-story:not(:first-child) .bt-cat-caption{padding:8px}
.bt-local-cat--feature .bt-cat-story:not(:first-child) h3{font-size:12px;line-height:1.5;margin-bottom:3px}

/* Four separate category blocks fit in one balanced editorial row. */
.bt-local-cat--quad{grid-column:span 3;padding-top:0}
.bt-local-cat--quad .bt-local-cat-head h2{font-size:20px}
.bt-local-cat--quad .bt-local-kicker{font-size:8px}
.bt-local-cat--quad .bt-local-cat-stories{grid-template-columns:1fr;gap:10px}
.bt-local-cat--quad .bt-cat-story{border-radius:12px}
.bt-local-cat--quad .bt-cat-story:first-child{position:relative;min-height:206px;background:#152132}
.bt-local-cat--quad .bt-cat-story:first-child .bt-cat-media{position:absolute;inset:0;height:100%;aspect-ratio:auto}
.bt-local-cat--quad .bt-cat-story:first-child .bt-cat-media:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#071121df)}
.bt-local-cat--quad .bt-cat-story:first-child .bt-cat-caption{position:absolute;bottom:0;right:0;left:0;z-index:1;padding:10px}
.bt-local-cat--quad .bt-cat-story:first-child .bt-cat-caption h3{color:#fff;font-size:15px;line-height:1.5}
.bt-local-cat--quad .bt-cat-story:first-child .bt-cat-caption small{color:#f9d9df}
.bt-local-cat--quad .bt-cat-story:first-child .bt-cat-caption time{display:none}
.bt-local-cat--quad .bt-cat-story:not(:first-child)>a{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.bt-local-cat--quad .bt-cat-story:not(:first-child) .bt-cat-media{aspect-ratio:4/3;grid-column:2;grid-row:1}
.bt-local-cat--quad .bt-cat-story:not(:first-child) .bt-cat-caption{padding:8px;grid-column:1;grid-row:1}
.bt-local-cat--quad .bt-cat-story:not(:first-child) h3{font-size:11px;line-height:1.45;margin:0}
.bt-local-cat--quad .bt-cat-story:not(:first-child) small{font-size:9px}
.bt-local-cat--quad .bt-cat-story:not(:first-child) time{display:none}

/* Dark photo/video news section: lead on right, related headlines left. */
.bt-local-cat--video{padding:21px;border-radius:13px;background:#202329;color:#fff}
.bt-local-cat--video .bt-local-cat-head{border-color:#41454e}
.bt-local-cat--video .bt-local-cat-head h2{color:#fff}
.bt-local-cat--video .bt-local-kicker,.bt-local-cat--video .bt-local-cat-head>a{color:#c7cbd2}
.bt-local-cat--video .bt-local-cat-stories{grid-template-columns:2fr 1fr;grid-template-rows:repeat(5,minmax(75px,auto));gap:10px}
.bt-local-cat--video .bt-cat-story{background:#31353c;border:0}
.bt-local-cat--video .bt-cat-story:first-child{grid-column:1;grid-row:1/6;position:relative}
.bt-local-cat--video .bt-cat-story:first-child>a{position:relative}
.bt-local-cat--video .bt-cat-story:first-child .bt-cat-media{position:absolute;inset:0;height:100%;aspect-ratio:auto}
.bt-local-cat--video .bt-cat-story:first-child .bt-cat-caption{position:absolute;bottom:0;right:0;left:0;z-index:1;background:linear-gradient(transparent,#080b0ce8);padding:24px}
.bt-local-cat--video .bt-cat-story:first-child h3{font-size:26px}
.bt-local-cat--video .bt-cat-story:not(:first-child)>a{display:grid;grid-template-columns:110px minmax(0,1fr)}
.bt-local-cat--video .bt-cat-story:not(:first-child) .bt-cat-media{grid-column:1;grid-row:1;aspect-ratio:auto;min-height:70px}
.bt-local-cat--video .bt-cat-story:not(:first-child) .bt-cat-caption{grid-column:2;grid-row:1}
.bt-local-cat--video .bt-cat-story:not(:first-child) h3{font-size:12px}
.bt-local-cat--video .bt-cat-caption h3{color:#fff}
.bt-local-cat--video .bt-cat-caption small{color:#ff9fae}
.bt-local-cat--video .bt-cat-caption time{color:#b9bec6}

/* Text-led two-column lists. */
.bt-local-cat--horizontal .bt-local-cat-stories{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px 20px}
.bt-local-cat--horizontal .bt-cat-story>a{display:grid;grid-template-columns:38% minmax(0,1fr)}
.bt-local-cat--horizontal .bt-cat-media{aspect-ratio:4/3;height:100%;grid-column:1;grid-row:1}
.bt-local-cat--horizontal .bt-cat-caption{grid-column:2;grid-row:1}
.bt-local-cat--horizontal .bt-cat-caption h3{font-size:13px}

@media(max-width:1240px){
 .bt-local-cat--quad{grid-column:span 6}
 .bt-local-cat--quad .bt-local-cat-head h2{font-size:20px}
 .bt-local-cat--feature .bt-local-cat-stories{grid-template-columns:1.5fr 1fr}
}
@media(max-width:750px){
 .bt-local-categories{gap:15px;padding-bottom:17px}
 .bt-local-cat,.bt-local-cat--quad{grid-column:1/-1}
 .bt-local-cat-stories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .bt-cat-story{border-radius:10px}
 .bt-cat-caption{padding:10px}
 .bt-cat-caption h3{font-size:13px}
 .bt-local-cat--feature .bt-local-cat-stories,.bt-local-cat--video .bt-local-cat-stories{grid-template-columns:1fr;grid-template-rows:auto}
 .bt-local-cat--feature .bt-cat-story:first-child,.bt-local-cat--video .bt-cat-story:first-child{grid-row:auto;grid-column:auto;min-height:240px}
 .bt-local-cat--feature .bt-cat-story:not(:first-child)>a,.bt-local-cat--video .bt-cat-story:not(:first-child)>a{grid-template-columns:125px minmax(0,1fr)}
 .bt-local-cat--feature .bt-cat-story:not(:first-child),.bt-local-cat--video .bt-cat-story:not(:first-child){min-height:95px}
 .bt-local-cat--quad .bt-local-cat-stories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bt-local-cat--quad .bt-cat-story:first-child{grid-column:1/-1}
 .bt-local-cat--quad .bt-cat-story:not(:first-child)>a{display:block}
 .bt-local-cat--quad .bt-cat-story:not(:first-child) .bt-cat-media{aspect-ratio:16/9}
 .bt-local-cat--quad .bt-cat-story:not(:first-child) h3{font-size:12px}
 .bt-local-cat--quad .bt-cat-story:not(:first-child) time{display:block}
 .bt-local-cat--video{padding:14px}
 .bt-local-cat--horizontal .bt-local-cat-stories{grid-template-columns:1fr}
}
@media(max-width:410px){
 .bt-local-cat-head h2{font-size:21px}
 .bt-local-cat-stories{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bt-cat-caption h3{font-size:12px}
 .bt-cat-caption small{font-size:9px}
 .bt-local-cat--feature .bt-cat-story:first-child,.bt-local-cat--video .bt-cat-story:first-child{min-height:220px}
 .bt-local-cat--feature .bt-cat-story:first-child h3,.bt-local-cat--video .bt-cat-story:first-child h3{font-size:20px}
}
@media(prefers-reduced-motion:reduce){.bt-cat-story:hover img{transform:none}}
