/* ═══════════════════════════════════════════════════════════════
   Body 5 – Minimal Bold News  |  All colors via CSS vars
   ═══════════════════════════════════════════════════════════════ */

/* ── Global reset ── */
.b5-hero a,.b5-ticker a,.b5-spotlight a,.b5-darkgrid a,
.b5-rows a,.b5-accent a,.b5-numlist a,.b5-bento a { text-decoration:none; }
.b5-hero a:hover,.b5-ticker a:hover,.b5-spotlight a:hover,.b5-darkgrid a:hover,
.b5-rows a:hover,.b5-accent a:hover,.cb5-numlist a:hover,.b5-bento a:hover { text-decoration:none; }

/* ── Shared atoms ── */
.b5-tag {
    display:inline-block; padding:3px 10px;
    background:var(--color-primary); color:var(--color-btn-text);
    font-size:.6rem; font-weight:800; text-transform:uppercase;
    letter-spacing:.1em; border-radius:2px; margin-bottom:8px;
    width:fit-content; align-self:flex-start;
}
.b5-sep { opacity:.4; margin:0 4px; }
.b5-meta { display:flex; align-items:center; gap:2px; font-size:.7rem; color:var(--color-muted); flex-wrap:wrap; }
.b5-meta--light { color:var(--color-footer-text); }

.b5-viewall {
    font-size:.72rem; font-weight:800; letter-spacing:.06em;
    color:var(--color-primary); border:1.5px solid var(--color-primary);
    padding:7px 18px; border-radius:4px; white-space:nowrap;
    transition:background .2s,color .2s; flex-shrink:0;
}
.b5-viewall:hover { background:var(--color-primary); color:var(--color-btn-text); }
.b5-viewall--sm { font-size:.68rem; padding:5px 14px; }
.b5-viewall--dark {
    color:var(--color-nav-text); border-color:var(--color-footer-border);
}
.b5-viewall--dark:hover { background:var(--color-primary); border-color:var(--color-primary); color:var(--color-btn-text); }

/* ══════════════════════════════════════════════════════════
   HERO – Split: text left, image right
   ══════════════════════════════════════════════════════════ */
.b5-hero {
    display:grid; grid-template-columns:1fr 1fr;
    min-height:580px; background:var(--color-secondary);
    border-bottom:3px solid var(--color-primary);
}
.b5-hero__left {
    padding:52px 48px; display:flex; flex-direction:column;
    justify-content:center; gap:20px;
    background:var(--color-secondary);
}
.b5-hero__top { display:flex; align-items:center; gap:12px; }
.b5-hero__live {
    display:inline-flex; align-items:center; gap:6px;
    background:var(--color-primary); color:var(--color-btn-text);
    font-size:.6rem; font-weight:900; letter-spacing:.12em;
    padding:4px 12px; border-radius:20px;
}
.b5-hero__live-dot {
    width:6px; height:6px; border-radius:50%; background:var(--color-btn-text);
    animation:b5-blink 1.2s step-start infinite;
}
@keyframes b5-blink { 0%,100%{opacity:1} 50%{opacity:0} }
.b5-hero__eyebrow {
    font-size:.65rem; font-weight:800; letter-spacing:.18em;
    text-transform:uppercase; color:var(--color-footer-text);
}
.b5-hero__title {
    font-size:clamp(1.75rem,3vw,2.8rem); font-weight:900; line-height:1.1;
    color:var(--color-nav-text); letter-spacing:-.02em; margin:0;
}
.b5-hero__title a { color:inherit; }
.b5-hero__title a:hover { color:var(--color-primary); }
.b5-hero__excerpt {
    font-size:.92rem; color:var(--color-footer-text); line-height:1.7; margin:0;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}
.b5-hero__meta {
    display:flex; align-items:center; gap:2px;
    font-size:.78rem; color:var(--color-footer-text);
}
.b5-hero__author { font-weight:700; color:var(--color-footer-heading); }
.b5-hero__btn {
    display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
    background:var(--color-primary); color:var(--color-btn-text);
    font-size:.82rem; font-weight:800; letter-spacing:.04em;
    padding:12px 24px; border-radius:5px; transition:filter .2s;
}
.b5-hero__btn:hover { filter:brightness(1.12); }

/* Strip – 3 mini stories */
.b5-hero__strip {
    display:flex; flex-direction:column; gap:0;
    border-top:1px solid var(--color-footer-border); margin-top:4px;
}
.b5-hero__strip-item {
    display:flex; align-items:center; gap:14px;
    padding:12px 0; border-bottom:1px solid var(--color-footer-border);
    color:var(--color-nav-text); transition:background .2s;
}
.b5-hero__strip-item:last-child { border-bottom:none; }
.b5-hero__strip-item:hover { color:var(--color-primary); }
.b5-hero__strip-num {
    font-size:1.4rem; font-weight:900; color:var(--color-primary);
    opacity:.4; line-height:1; flex-shrink:0; min-width:2rem;
}
.b5-hero__strip-body { flex:1; min-width:0; }
.b5-hero__strip-cat {
    display:block; font-size:.58rem; font-weight:800; letter-spacing:.1em;
    text-transform:uppercase; color:var(--color-primary); margin-bottom:3px;
}
.b5-hero__strip-body h4 {
    font-size:.82rem; font-weight:700; line-height:1.35;
    color:var(--color-footer-heading); margin:0;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.b5-hero__strip-item:hover h4 { color:var(--color-primary); }

/* Image right */
.b5-hero__right { position:relative; overflow:hidden; }
.b5-hero__img {
    position:absolute; inset:0;
    background:var(--color-secondary) center/cover no-repeat;
    transition:transform .6s ease;
}
.b5-hero:hover .b5-hero__img { transform:scale(1.03); }
.b5-hero__img-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to right, var(--color-secondary) 0%, transparent 30%);
}

/* ══════════════════════════════════════════════════════════
   STYLE 1 – TICKER ROW
   4-col card grid with numbered images
   ══════════════════════════════════════════════════════════ */
.b5-ticker { background:var(--color-bg); }
.b5-ticker__header {
    display:flex; align-items:flex-start; justify-content:space-between; gap:20px;
    padding:28px 4% 20px;
}
.b5-ticker__header-left { display:flex; align-items:flex-start; gap:16px; }
.b5-ticker__num {
    font-size:3rem; font-weight:900; color:var(--color-primary);
    opacity:.15; line-height:1; flex-shrink:0;
}
.b5-ticker__header-left h2 {
    font-size:clamp(1rem,1.8vw,1.3rem); font-weight:900;
    color:var(--color-text); margin:0 0 4px; letter-spacing:-.01em;
}
.b5-ticker__header-left p { font-size:.78rem; color:var(--color-muted); margin:0; }
.b5-ticker__grid {
    display:grid; grid-template-columns:repeat(4,1fr);
    border-top:1px solid var(--color-border);
}
.b5-ticker__card {
    display:flex; flex-direction:column; color:var(--color-text);
    overflow:hidden; transition:background .2s;
}
.b5-ticker__card:hover { background:color-mix(in srgb,var(--color-surface) 88%,var(--color-primary)); }
.b5-ticker__card-img {
    width:100%; aspect-ratio:16/9; flex-shrink:0;
    background:var(--color-border) center/cover no-repeat;
    position:relative; overflow:hidden; transition:transform .4s;
}
.b5-ticker__card:hover .b5-ticker__card-img { transform:scale(1.04); }
.b5-ticker__card-num {
    position:absolute; top:10px; left:10px;
    font-size:.7rem; font-weight:900; letter-spacing:.08em;
    color:var(--color-btn-text); background:var(--color-primary);
    padding:3px 8px; border-radius:2px;
}
.b5-ticker__card-body { padding:14px 16px; display:flex; flex-direction:column; gap:6px; flex:1; }
.b5-ticker__card-body h3 {
    font-size:.9rem; font-weight:800; line-height:1.35; color:var(--color-text); margin:0;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.b5-ticker__card:hover h3 { color:var(--color-primary); }

/* ══════════════════════════════════════════════════════════
   STYLE 2 – SPOTLIGHT
   List bài viết bên trái + 1 bài lớn bên phải
   ══════════════════════════════════════════════════════════ */
.b5-spotlight { background:var(--color-surface); }
.b5-spotlight__header {
    display:flex; align-items:center; gap:16px; padding:24px 4% 0;
}
.b5-spotlight__cat-label {
    font-size:.7rem; font-weight:900; letter-spacing:.2em;
    text-transform:uppercase; color:var(--color-primary); white-space:nowrap;
}
.b5-spotlight__rule { flex:1; height:1px; background:var(--color-border); }

/* Layout: list trái + featured phải */
.b5-spotlight__body {
    display:grid; grid-template-columns:1fr 1.6fr;
    margin-top:16px; gap:0;
}

/* List bên trái */
.b5-spotlight__list {
    display:flex; flex-direction:column;
}
.b5-spotlight__item {
    display:flex; align-items:flex-start; gap:14px;
    padding:16px 20px; border-bottom:1px solid var(--color-border);
    color:var(--color-text); transition:background .2s;
}
.b5-spotlight__item:last-child { border-bottom:none; }
.b5-spotlight__item:hover { background:color-mix(in srgb,var(--color-surface) 88%,var(--color-primary)); }
.b5-spotlight__item-img {
    flex:0 0 130px; width:130px; height:90px; border-radius:5px;
    background:var(--color-border) center/cover no-repeat;
    flex-shrink:0; transition:transform .3s;
}
.b5-spotlight__item:hover .b5-spotlight__item-img { transform:scale(1.04); }
.b5-spotlight__item-body { flex:1; min-width:0; padding-top:2px; }
.b5-spotlight__item-body h3 {
    font-size:.88rem; font-weight:800; line-height:1.4;
    color:var(--color-text); margin:0 0 6px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.b5-spotlight__item:hover h3 { color:var(--color-primary); }

/* Featured bên phải */
.b5-spotlight__feat {
    position:relative; background:var(--color-secondary) center/cover no-repeat;
    display:flex; flex-direction:column; justify-content:flex-end;
    overflow:hidden; transition:filter .3s; min-height:420px;
}
.b5-spotlight__feat:hover { filter:brightness(1.06); }
.b5-spotlight__feat-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.3) 55%,transparent 100%);
}
.b5-spotlight__feat-body {
    position:relative; z-index:1; padding:28px 28px;
    color:var(--color-nav-text); display:flex; flex-direction:column; gap:10px;
}
.b5-spotlight__feat-body h2 {
    font-size:clamp(1.2rem,2.2vw,1.75rem); font-weight:900; line-height:1.2;
    color:var(--color-nav-text); margin:0; transition:color .2s;
}
.b5-spotlight__feat:hover h2 { color:var(--color-primary); }
.b5-spotlight__feat-body p {
    font-size:.88rem; color:var(--color-footer-text); line-height:1.65; margin:0;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}

/* ══════════════════════════════════════════════════════════
   STYLE 3 – DARK GRID
   Dark bg, 3-col grid with numbered cards
   ══════════════════════════════════════════════════════════ */
.b5-darkgrid { background:var(--color-secondary); }
.b5-darkgrid__header {
    display:flex; align-items:center; gap:16px; flex-wrap:wrap;
    padding:28px 4% 20px;
}
.b5-darkgrid__header h2 {
    font-size:clamp(1rem,1.8vw,1.3rem); font-weight:900;
    color:var(--color-nav-text); margin:0; letter-spacing:-.01em;
}
.b5-darkgrid__header p { font-size:.78rem; color:var(--color-footer-text); margin:0; flex:1; }
.b5-darkgrid__grid {
    display:grid; grid-template-columns:repeat(3,1fr); gap:2px;
    background:var(--color-footer-border);
}
.b5-darkgrid__card {
    display:flex; flex-direction:column; color:var(--color-nav-text);
    overflow:hidden; transition:background .2s;
    background:var(--color-secondary);
}
.b5-darkgrid__card:hover { background:color-mix(in srgb,var(--color-secondary) 85%,var(--color-primary)); }
.b5-darkgrid__card-img {
    width:100%; aspect-ratio:16/9; flex-shrink:0;
    background:var(--color-secondary-dark) center/cover no-repeat;
    position:relative; overflow:hidden; transition:transform .4s;
}
.b5-darkgrid__card:hover .b5-darkgrid__card-img { transform:scale(1.04); }
.b5-darkgrid__card-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to bottom,transparent 50%,rgba(0,0,0,.4));
}
.b5-darkgrid__card-body {
    padding:16px 20px; display:flex; flex-direction:column; gap:7px; flex:1;
}
.b5-darkgrid__card-num {
    font-size:2.5rem; font-weight:900; color:var(--color-primary);
    opacity:.2; line-height:1; margin-bottom:2px;
}
.b5-darkgrid__card-body h3 {
    font-size:.92rem; font-weight:800; line-height:1.35;
    color:var(--color-nav-text); margin:0;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.b5-darkgrid__card:hover h3 { color:var(--color-primary); }

/* ══════════════════════════════════════════════════════════
   STYLE 4 – MAGAZINE ROWS
   Alternating horizontal rows: image + text
   ══════════════════════════════════════════════════════════ */
.b5-rows { background:var(--color-bg); }
.b5-rows__header {
    display:flex; align-items:center; gap:14px; padding:24px 4% 16px;
}
.b5-rows__accent {
    display:block; width:4px; height:28px; border-radius:2px;
    background:var(--color-primary); flex-shrink:0;
}
.b5-rows__header h2 {
    font-size:clamp(1rem,1.8vw,1.3rem); font-weight:900;
    color:var(--color-text); margin:0; flex:1; letter-spacing:-.01em;
}
.b5-rows__item {
    display:grid; grid-template-columns:280px 1fr;
    overflow:hidden;
}
.b5-rows__item--alt { grid-template-columns:1fr 280px; }
.b5-rows__item--alt .b5-rows__item-img { order:2; }
.b5-rows__item--alt .b5-rows__item-body { order:1; }
.b5-rows__item-img {
    background:var(--color-border) center/cover no-repeat;
    aspect-ratio:16/9; transition:transform .4s;
    flex-shrink:0;
}
.b5-rows__item:hover .b5-rows__item-img { transform:scale(1.03); }
.b5-rows__item-body {
    padding:24px 28px; display:flex; flex-direction:column; justify-content:center; gap:10px;
    background:var(--color-surface); transition:background .2s;
}
.b5-rows__item:hover .b5-rows__item-body { background:color-mix(in srgb,var(--color-surface) 88%,var(--color-primary)); }
.b5-rows__item--alt .b5-rows__item-body { background:var(--color-bg); }
.b5-rows__item--alt:hover .b5-rows__item-body { background:color-mix(in srgb,var(--color-bg) 88%,var(--color-primary)); }
.b5-rows__item-body h3 {
    font-size:clamp(1rem,1.8vw,1.35rem); font-weight:900; line-height:1.25;
    color:var(--color-text); margin:0; transition:color .2s;
}
.b5-rows__item:hover h3 { color:var(--color-primary); }
.b5-rows__item-body p { font-size:.85rem; color:var(--color-muted); line-height:1.65; margin:0; }
.b5-rows__footer { padding:20px 4%; text-align:center; }

/* ══════════════════════════════════════════════════════════
   STYLE 5 – ACCENT FEATURE
   Primary bar header + featured + 3 cards
   ══════════════════════════════════════════════════════════ */
.b5-accent { background:var(--color-bg); }
.b5-accent__bar {
    display:flex; align-items:center; gap:16px;
    background:var(--color-primary); padding:14px 4%;
}
.b5-accent__bar h2 {
    font-size:.95rem; font-weight:900; text-transform:uppercase;
    color:var(--color-btn-text); letter-spacing:.06em; margin:0;
}
.b5-accent__bar-rule { flex:1; height:1px; background:rgba(255,255,255,.3); }
.b5-accent__bar a {
    font-size:.68rem; font-weight:800; letter-spacing:.08em;
    color:var(--color-btn-text); white-space:nowrap; opacity:.85;
    transition:opacity .2s;
}
.b5-accent__bar a:hover { opacity:1; }
.b5-accent__body {
    display:grid; grid-template-columns:1.4fr 1fr;
}
.b5-accent__feat {
    position:relative; background:var(--color-secondary) center/cover no-repeat;
    display:flex; flex-direction:column; justify-content:flex-end;
    overflow:hidden; aspect-ratio:16/9; transition:filter .3s;
}
.b5-accent__feat:hover { filter:brightness(1.06); }
.b5-accent__feat-overlay {
    position:absolute; inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.3) 55%,rgba(0,0,0,.05) 100%);
}
.b5-accent__feat-body {
    position:relative; z-index:1; padding:28px 32px;
    color:var(--color-nav-text); display:flex; flex-direction:column; gap:10px;
}
.b5-accent__feat-body h2 {
    font-size:clamp(1.15rem,2vw,1.7rem); font-weight:900; line-height:1.2;
    color:var(--color-nav-text); margin:0; transition:color .2s;
}
.b5-accent__feat:hover h2 { color:var(--color-primary); }
.b5-accent__cards {
    display:flex; flex-direction:column;
}
.b5-accent__card {
    display:flex; align-items:center; gap:0;
    border-bottom:1px solid var(--color-border);
    color:var(--color-text); overflow:hidden; transition:background .2s; flex:1;
}
.b5-accent__card:last-child { border-bottom:none; }
.b5-accent__card:hover { background:color-mix(in srgb,var(--color-surface) 88%,var(--color-primary)); }
.b5-accent__card-img {
    flex:0 0 110px; width:110px; align-self:stretch;
    background:var(--color-border) center/cover no-repeat; flex-shrink:0; transition:transform .4s;
}
.b5-accent__card:hover .b5-accent__card-img { transform:scale(1.05); }
.b5-accent__card-body { padding:14px 18px; flex:1; min-width:0; }
.b5-accent__card-body h3 {
    font-size:.88rem; font-weight:800; line-height:1.35; color:var(--color-text); margin:0 0 6px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.b5-accent__card:hover h3 { color:var(--color-primary); }

/* ══════════════════════════════════════════════════════════
   STYLE 6 – NUMBERED LIST
   Clean list with large numbers + image right
   ══════════════════════════════════════════════════════════ */
.b5-numlist { background:var(--color-surface); }
.b5-numlist__header {
    display:flex; align-items:flex-start; justify-content:space-between; gap:20px;
    padding:28px 4% 20px;
}
.b5-numlist__header-left h2 {
    font-size:clamp(1rem,1.8vw,1.3rem); font-weight:900;
    color:var(--color-text); margin:0 0 4px; letter-spacing:-.01em;
}
.b5-numlist__header-left p { font-size:.78rem; color:var(--color-muted); margin:0; }
.b5-numlist__list { display:flex; flex-direction:column; border-top:1px solid var(--color-border); }
.b5-numlist__item {
    display:grid; grid-template-columns:64px 1fr 120px;
    align-items:center; border-bottom:1px solid var(--color-border);
    color:var(--color-text); overflow:hidden; transition:background .2s;
}
.b5-numlist__item:last-child { border-bottom:none; }
.b5-numlist__item:hover { background:color-mix(in srgb,var(--color-surface) 88%,var(--color-primary)); }
.b5-numlist__item-num {
    font-size:2rem; font-weight:900; text-align:center;
    color:var(--color-primary); opacity:.3; line-height:1; padding:0 8px;
    transition:opacity .2s;
}
.b5-numlist__item:hover .b5-numlist__item-num { opacity:.7; }
.b5-numlist__item-body { padding:16px 20px; min-width:0; }
.b5-numlist__item-body h3 {
    font-size:.95rem; font-weight:800; line-height:1.35; color:var(--color-text); margin:0 0 6px;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
    transition:color .2s;
}
.b5-numlist__item:hover h3 { color:var(--color-primary); }
.b5-numlist__item-img {
    height:80px; background:var(--color-border) center/cover no-repeat;
    transition:transform .4s;
}
.b5-numlist__item:hover .b5-numlist__item-img { transform:scale(1.06); }

/* ══════════════════════════════════════════════════════════
   STYLE 7 – BENTO GRID
   1 large + 3 small overlay cards
   ══════════════════════════════════════════════════════════ */
.b5-bento { background:var(--color-bg); border-top:1px solid var(--color-border); }
.b5-bento__header {
    display:flex; align-items:center; gap:14px; flex-wrap:wrap;
    padding:24px 4% 20px;
}
.b5-bento__accent {
    display:block; width:4px; height:28px; border-radius:2px;
    background:var(--color-primary); flex-shrink:0;
}
.b5-bento__header h2 {
    font-size:clamp(1rem,1.8vw,1.3rem); font-weight:900;
    color:var(--color-text); margin:0; letter-spacing:-.01em;
}
.b5-bento__header p { font-size:.78rem; color:var(--color-muted); margin:0; flex:1; }
.b5-bento__grid {
    display:grid; grid-template-columns:1.6fr 1fr;
    padding:0 4% 32px; gap:12px;
}
.b5-bento__big {
    position:relative; background:var(--color-secondary) center/cover no-repeat;
    display:flex; flex-direction:column; justify-content:flex-end;
    overflow:hidden; border-radius:8px; aspect-ratio:16/10; transition:transform .3s;
}
.b5-bento__big:hover { transform:scale(1.01); }
.b5-bento__overlay {
    position:absolute; inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.88) 0%,rgba(0,0,0,.3) 55%,rgba(0,0,0,.05) 100%);
}
.b5-bento__big-body {
    position:relative; z-index:1; padding:24px 28px;
    color:var(--color-nav-text); display:flex; flex-direction:column; gap:10px;
}
.b5-bento__big-body h2 {
    font-size:clamp(1.1rem,2vw,1.7rem); font-weight:900; line-height:1.2;
    color:var(--color-nav-text); margin:0; transition:color .2s;
}
.b5-bento__big:hover h2 { color:var(--color-primary); }
.b5-bento__big-body p { font-size:.85rem; color:var(--color-footer-text); line-height:1.6; margin:0; }
.b5-bento__smalls {
    display:flex; flex-direction:column; gap:12px;
}
.b5-bento__small {
    position:relative; background:var(--color-secondary) center/cover no-repeat;
    display:flex; flex-direction:column; justify-content:flex-end;
    overflow:hidden; border-radius:8px; flex:1; transition:transform .3s;
}
.b5-bento__small:hover { transform:scale(1.01); }
.b5-bento__small-body {
    position:relative; z-index:1; padding:14px 18px;
    color:var(--color-nav-text); display:flex; flex-direction:column; gap:6px;
}
.b5-bento__small-body h3 {
    font-size:.88rem; font-weight:800; line-height:1.3;
    color:var(--color-nav-text); margin:0; transition:color .2s;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.b5-bento__small:hover h3 { color:var(--color-primary); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */

/* ── 1280px ── */
@media (max-width:1280px) {
    .b5-ticker__grid { grid-template-columns:repeat(3,1fr); }
    .b5-numlist__item { grid-template-columns:56px 1fr 100px; }
}

/* ── 1024px – tablet landscape ── */
@media (max-width:1024px) {
    /* Hero */
    .b5-hero { grid-template-columns:1fr; min-height:auto; }
    .b5-hero__right { display:none; }
    .b5-hero__left { padding:40px 5%; }
    .b5-hero__title { font-size:2rem; }

    /* Ticker */
    .b5-ticker__grid { grid-template-columns:repeat(2,1fr); }

    /* Spotlight */
    .b5-spotlight__body { grid-template-columns:1fr; }
    .b5-spotlight__list { border-bottom:1px solid var(--color-border); flex-direction:row; flex-wrap:wrap; }
    .b5-spotlight__item { flex:1 1 50%; }
    .b5-spotlight__item:nth-child(odd) { border-right:1px solid var(--color-border); }
    .b5-spotlight__feat { min-height:280px; }

    /* Dark grid */
    .b5-darkgrid__grid { grid-template-columns:repeat(2,1fr); }
    /* Rows */
    .b5-rows__item,
    .b5-rows__item--alt { grid-template-columns:220px 1fr; }
    .b5-rows__item--alt .b5-rows__item-img { order:0; }
    .b5-rows__item--alt .b5-rows__item-body { order:1; }

    /* Accent */
    .b5-accent__body { grid-template-columns:1fr; }
    .b5-accent__cards { flex-direction:row; }
    .b5-accent__card { flex:1; border-right:1px solid var(--color-border); border-bottom:none; }
    .b5-accent__card:last-child { border-right:none; }
    .b5-accent__card-img { flex:0 0 80px; width:80px; }

    /* Numlist */
    .b5-numlist__item { grid-template-columns:52px 1fr 90px; }

    /* Bento */
    .b5-bento__grid { grid-template-columns:1fr; }
    .b5-bento__smalls { flex-direction:row; }
    .b5-bento__small { flex:1; }
}

/* ── 768px – tablet portrait ── */
@media (max-width:768px) {
    /* Hero */
    .b5-hero__left { padding:28px 5%; gap:14px; }
    .b5-hero__title { font-size:1.6rem; }
    .b5-hero__excerpt { display:none; }
    .b5-hero__strip { display:none; }

    /* Ticker */
    .b5-ticker__header { flex-direction:column; align-items:flex-start; gap:12px; }
    .b5-ticker__grid { grid-template-columns:repeat(2,1fr); }

    /* Spotlight */
    .b5-spotlight__feat { min-height:240px; }
    .b5-spotlight__feat-body { padding:20px 22px; }
    .b5-spotlight__feat-body p { display:none; }
    .b5-spotlight__list { flex-direction:column; }
    .b5-spotlight__item { flex:none; border-right:none; }
    .b5-spotlight__item-img { flex:0 0 72px; width:72px; height:56px; }

    /* Dark grid */
    .b5-darkgrid__grid { grid-template-columns:1fr; }
    .b5-darkgrid__card { background:var(--color-secondary); }
    .b5-darkgrid__card-num { font-size:1.8rem; }

    /* Rows */
    .b5-rows__item,
    .b5-rows__item--alt { grid-template-columns:1fr; }
    .b5-rows__item--alt .b5-rows__item-img { order:0; }
    .b5-rows__item--alt .b5-rows__item-body { order:1; }
    .b5-rows__item-body { padding:16px 18px; }
    .b5-rows__item-body p { display:none; }

    /* Accent */
    .b5-accent__cards { flex-direction:column; }
    .b5-accent__card { border-right:none; border-bottom:1px solid var(--color-border); }
    .b5-accent__card:last-child { border-bottom:none; }

    /* Numlist */
    .b5-numlist__item { grid-template-columns:44px 1fr; }
    .b5-numlist__item-img { display:none; }
    .b5-numlist__item-num { font-size:1.5rem; }

    /* Bento */
    .b5-bento__grid { padding:0 4% 24px; }
    .b5-bento__smalls { flex-direction:column; }
    .b5-bento__big-body p { display:none; }
}

/* ── 480px – mobile ── */
@media (max-width:480px) {
    /* Hero */
    .b5-hero__left { padding:22px 4%; gap:12px; }
    .b5-hero__title { font-size:1.3rem; }
    .b5-hero__meta { display:none; }
    .b5-hero__btn { padding:10px 18px; font-size:.78rem; }

    /* Ticker */
    .b5-ticker__header { padding:18px 4% 14px; }
    .b5-ticker__grid { grid-template-columns:1fr; }
    .b5-ticker__card { border-right:none; border-bottom:1px solid var(--color-border); }
    .b5-ticker__card:last-child { border-bottom:none; }
    .b5-ticker__card-body { padding:12px 14px; }
    .b5-ticker__card-body h3 { font-size:.85rem; }

    /* Spotlight */
    .b5-spotlight__header { padding:16px 4% 0; }
    .b5-spotlight__feat { min-height:200px; }
    .b5-spotlight__feat-body { padding:16px 18px; gap:8px; }
    .b5-spotlight__feat-body h2 { font-size:1.1rem; }
    .b5-spotlight__item { border-right:none; }
    .b5-spotlight__item-img { flex:0 0 60px; width:60px; height:48px; }
    .b5-spotlight__item-body { padding:10px 14px; }
    .b5-spotlight__item-body h3 { font-size:.82rem; }

    /* Dark grid */
    .b5-darkgrid__header { padding:18px 4% 14px; }
    .b5-darkgrid__card-body { padding:12px 14px; }
    .b5-darkgrid__card-body h3 { font-size:.85rem; }

    /* Rows */
    .b5-rows__header { padding:16px 4% 12px; }
    .b5-rows__item-body { padding:14px 16px; gap:8px; }
    .b5-rows__item-body h3 { font-size:.95rem; }

    /* Accent */
    .b5-accent__bar { padding:12px 4%; }
    .b5-accent__feat-body { padding:20px 22px; }
    .b5-accent__card-img { flex:0 0 80px; width:80px; }
    .b5-accent__card-body { padding:12px 14px; }
    .b5-accent__card-body h3 { font-size:.82rem; }

    /* Numlist */
    .b5-numlist__header { padding:18px 4% 14px; }
    .b5-numlist__item-body { padding:12px 14px; }
    .b5-numlist__item-body h3 { font-size:.88rem; }
    .b5-numlist__item-num { font-size:1.3rem; }

    /* Bento */
    .b5-bento__header { padding:18px 4% 14px; }
    .b5-bento__grid { padding:0 4% 20px; gap:8px; }
    .b5-bento__big-body { padding:18px 18px; }
    .b5-bento__big-body h2 { font-size:1.1rem; }
    .b5-bento__small-body { padding:12px 14px; }
    .b5-bento__small-body h3 { font-size:.82rem; }
}
