/* ═══════════════════════════════════════════════════════════
   Body 2 – 7 Premium Styles (layouts mới hoàn toàn)
   Màu = CSS vars, thay đổi qua Customizer
   ═══════════════════════════════════════════════════════════ */

/* ── Global resets ── */
.b2-hero a:hover,
.b2-ribbon__card:hover,
.b2-stack__item:hover,
.b2-bento__card:hover,
.b2-bento__wide:hover,
.b2-timeline__item:hover,
.b2-zigzag__item:hover,
.b2-marquee__card:hover,
.b2-overlap__card:hover {
    text-decoration: none;
}

/* Badge chung */
.b2-badge {
    display: inline-block; padding: 3px 10px;
    background: var(--color-primary); color: var(--color-btn-text);
    font-size: .62rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: .1em; border-radius: 2px; text-decoration: none;
    width: fit-content; flex-shrink: 0;
}
.b2-sep { color: rgba(255,255,255,.4); margin: 0 4px; }
.b2-sep--dark { color: var(--color-border); margin: 0 4px; }

/* ══════════════════════════════════════════════════════════
   HERO 2 – Full-bleed horizontal scroll strip
   Ảnh nền cố định, tiêu đề to trái, cuộn ngang 5 preview cards
   ══════════════════════════════════════════════════════════ */
.b2-hero {
    position: relative; background: #000;
    overflow: hidden; min-height: 560px;
    display: grid; grid-template-rows: 1fr auto;
}

.b2-hero__bg {
    position: absolute; inset: 0;
    background: center/cover no-repeat;
    filter: brightness(.35) saturate(1.2);
    transform: scale(1.03);
    transition: transform 8s ease;
}

/* Diagonal split overlay */
.b2-hero__split {
    position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(
        115deg,
        rgba(0,0,0,.85) 0%,
        rgba(0,0,0,.6) 40%,
        transparent 65%
    );
}

/* Noise texture overlay */
.b2-hero__noise {
    position: absolute; inset: 0; z-index: 2;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-size: 200px;
}

.b2-hero__inner {
    position: relative; z-index: 3;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; padding: 60px 6% 32px; gap: 40px;
}

.b2-hero__left { display: flex; flex-direction: column; }

.b2-hero__kicker {
    display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.b2-hero__kicker-line {
    width: 40px; height: 2px; background: var(--color-primary); flex-shrink: 0;
}
.b2-hero__kicker span {
    font-size: .65rem; font-weight: 900; letter-spacing: .2em;
    text-transform: uppercase; color: rgba(255,255,255,.6);
}

.b2-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.8rem); font-weight: 900; line-height: 1;
    color: #fff; margin-bottom: 20px;
    text-transform: uppercase; letter-spacing: -.03em;
}
/* Highlight word */
.b2-hero__title em {
    font-style: normal; color: var(--color-primary);
    -webkit-text-stroke: 0px; text-stroke: 0px;
}

.b2-hero__excerpt {
    font-size: .88rem; color: rgba(255,255,255,.6);
    line-height: 1.7; max-width: 480px; margin-bottom: 28px;
}

.b2-hero__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.b2-hero__btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 28px; background: var(--color-primary);
    color: var(--color-btn-text); font-weight: 800; font-size: .82rem;
    letter-spacing: .06em; border-radius: 4px; text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 24px rgba(0,0,0,.3);
}
.b2-hero__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.b2-hero__btn-primary:hover { text-decoration: none; }

.b2-hero__btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.7);
    letter-spacing: .05em; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3);
    padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.b2-hero__btn-ghost:hover { color: #fff; border-color: var(--color-primary); text-decoration: none; }

/* Right side: Featured card */
.b2-hero__featured {
    position: relative; aspect-ratio: 4/3; border-radius: 20px;
    overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
    box-shadow: 0 32px 64px rgba(0,0,0,.6); text-decoration: none;
    background: var(--color-secondary) center/cover no-repeat;
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275);
}
.b2-hero__featured:hover { transform: scale(1.02) translateY(-4px); }
.b2-hero__featured-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.b2-hero__featured-body {
    position: relative; z-index: 1; padding: 24px 28px; color: #fff;
    display: flex; flex-direction: column; gap: 8px;
}
.b2-hero__featured-body h2 {
    font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 900; line-height: 1.2; color: #fff; margin: 0;
}
.b2-hero__featured-meta {
    display: flex; align-items: center; gap: 4px;
    font-size: .65rem; color: rgba(255,255,255,.5);
}

/* Bottom: Horizontal scroll strip */
.b2-hero__strip {
    position: relative; z-index: 3;
    display: flex; gap: 12px; padding: 0 6% 28px;
    overflow-x: auto; scrollbar-width: none;
}
.b2-hero__strip::-webkit-scrollbar { display: none; }

.b2-hero__strip-item {
    flex: 0 0 220px; height: 110px; border-radius: 12px;
    overflow: hidden; position: relative; text-decoration: none;
    background: rgba(255,255,255,.1) center/cover no-repeat;
    border: 1px solid rgba(255,255,255,.1);
    transition: border-color .3s, transform .3s;
}
.b2-hero__strip-item:hover { border-color: var(--color-primary); transform: translateY(-4px); text-decoration: none; }
.b2-hero__strip-item-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.2));
}
.b2-hero__strip-item-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 12px; z-index: 1; color: #fff;
}
.b2-hero__strip-item-body span {
    display: block; font-size: .65rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--color-primary); margin-bottom: 3px;
}
.b2-hero__strip-item-body p {
    font-size: .72rem; font-weight: 700; line-height: 1.3; margin: 0; color: #fff;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ══════════════════════════════════════════════════════════
   STYLE 1: RIBBON – Full-width cards xếp ngang cuộn được
   Header bên trái cố định, cards kéo dài sang phải
   ══════════════════════════════════════════════════════════ */
.b2-ribbon {
    background: var(--color-surface); margin-top: 8px;
    display: grid; grid-template-columns: 260px 1fr;
    border-top: 3px solid var(--color-primary); min-height: 360px;
}

.b2-ribbon__header {
    padding: 40px 32px; border-right: 2px solid var(--color-border);
    display: flex; flex-direction: column; justify-content: center;
    position: sticky; left: 0; z-index: 2;
    background: var(--color-surface);
}
.b2-ribbon__label {
    font-size: .65rem; font-weight: 900; letter-spacing: .2em;
    text-transform: uppercase; color: var(--color-primary);
    margin-bottom: 12px; display: flex; align-items: center; gap: 8px;
}
.b2-ribbon__label::before {
    content: ''; display: block;
    width: 20px; height: 2px; background: var(--color-primary);
}
.b2-ribbon__title {
    font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 900; line-height: 1;
    text-transform: uppercase; color: var(--color-text); margin-bottom: 12px;
    letter-spacing: -.03em;
}
.b2-ribbon__title span { color: var(--color-primary); }
.b2-ribbon__desc { font-size: .82rem; color: var(--color-muted); line-height: 1.6; margin-bottom: 22px; }
.b2-ribbon__btn {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    padding: 8px 18px; background: var(--color-primary);
    color: var(--color-btn-text); font-size: .72rem; font-weight: 800;
    letter-spacing: .07em; border-radius: 3px; text-decoration: none;
    transition: opacity .2s;
}
.b2-ribbon__btn:hover { opacity: .85; text-decoration: none; }

.b2-ribbon__cards {
    display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
    align-items: stretch;
}
.b2-ribbon__cards::-webkit-scrollbar { display: none; }

.b2-ribbon__card {
    flex: 0 0 280px; display: flex; flex-direction: column;
    border-right: 1px solid var(--color-border);
    text-decoration: none; color: var(--color-text);
    transition: background .25s; position: relative; overflow: hidden;
}
.b2-ribbon__card:hover { background: color-mix(in srgb, var(--color-surface) 85%, var(--color-primary)); }
.b2-ribbon__card-img {
    width: 100%; aspect-ratio: 16/10; overflow: hidden; flex-shrink: 0;
    background: var(--color-border) center/cover no-repeat;
    position: relative;
}
.b2-ribbon__card-img::after {
    content: ''; position: absolute; inset: 0;
    background: color-mix(in srgb, var(--color-primary) 10%, transparent);
    opacity: 0; transition: opacity .3s;
}
.b2-ribbon__card:hover .b2-ribbon__card-img::after { opacity: 1; }
.b2-ribbon__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.b2-ribbon__card:hover .b2-ribbon__card-img img { transform: scale(1.06); }

.b2-ribbon__card-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.b2-ribbon__card-body h3 {
    font-size: .95rem; font-weight: 800; line-height: 1.4; color: var(--color-text);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-ribbon__card:hover h3 { color: var(--color-primary); }
.b2-ribbon__card-excerpt {
    font-size: .78rem; color: var(--color-muted); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-ribbon__card-meta {
    display: flex; align-items: center; gap: 4px;
    font-size: .65rem; color: var(--color-muted); margin-top: auto;
    border-top: 1px solid var(--color-border); padding-top: 12px;
}

/* ══════════════════════════════════════════════════════════
   STYLE 2: STACKED – Danh sách dọc lớn, featured ảnh trái
   Thiết kế báo in, chữ to, line divider
   ══════════════════════════════════════════════════════════ */
.b2-stack {
    background: var(--color-bg); margin-top: 8px;
}
.b2-stack__header {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 22px 5% 18px;
    border-bottom: 3px solid var(--color-text);
}
.b2-stack__header-left { display: flex; align-items: baseline; gap: 16px; }
.b2-stack__title {
    font-size: 1.4rem; font-weight: 900; text-transform: uppercase;
    color: var(--color-text); letter-spacing: -.02em; margin: 0; line-height: 1;
}
.b2-stack__count {
    font-size: .68rem; font-weight: 800; color: var(--color-primary);
    letter-spacing: .1em;
}
.b2-stack__viewall {
    font-size: .75rem; font-weight: 900; color: var(--color-text);
    text-decoration: none; letter-spacing: .08em; text-transform: uppercase;
    border-bottom: 2px solid var(--color-primary); padding-bottom: 1px;
    transition: color .2s;
}
.b2-stack__viewall:hover { color: var(--color-primary); text-decoration: none; }

.b2-stack__list { padding: 0 5%; }

.b2-stack__item {
    display: grid; grid-template-columns: 28px 180px 1fr auto;
    align-items: center; gap: 0;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none; color: var(--color-text);
    transition: background .2s;
    min-height: 90px;
}
.b2-stack__item:hover { background: color-mix(in srgb, var(--color-bg) 90%, var(--color-primary)); }

.b2-stack__item-rank {
    font-size: .62rem; font-weight: 900; color: rgba(0,0,0,.15);
    writing-mode: vertical-rl; text-orientation: mixed;
    letter-spacing: .08em; padding: 0 8px; align-self: stretch;
    display: flex; align-items: center; justify-content: center;
    border-right: 1px solid var(--color-border);
}
.b2-stack__item:hover .b2-stack__item-rank { background: var(--color-primary); color: var(--color-btn-text); }

.b2-stack__item-img {
    height: 100%; min-height: 90px; overflow: hidden;
    background: var(--color-border) center/cover no-repeat; flex-shrink: 0;
}
.b2-stack__item-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.b2-stack__item:hover .b2-stack__item-img img { transform: scale(1.07); }

.b2-stack__item-body { padding: 16px 24px; display: flex; flex-direction: column; gap: 6px; }
.b2-stack__item-body h3 {
    font-size: 1.05rem; font-weight: 800; line-height: 1.3; color: var(--color-text);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-stack__item:hover h3 { color: var(--color-primary); }
.b2-stack__item-excerpt {
    font-size: .78rem; color: var(--color-muted); line-height: 1.55;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-stack__item-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: .65rem; color: var(--color-muted);
}

.b2-stack__item-arrow {
    padding: 0 24px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.b2-stack__item-arrow svg {
    opacity: .2; transition: opacity .2s, transform .2s; color: var(--color-text);
}
.b2-stack__item:hover .b2-stack__item-arrow svg { opacity: 1; transform: translateX(4px); color: var(--color-primary); }

/* ══════════════════════════════════════════════════════════
   STYLE 3: BENTO – Lưới bento box không đều
   Nhiều ô kích thước khác nhau, 1 ô lớn + nhiều ô nhỏ
   ══════════════════════════════════════════════════════════ */
.b2-bento {
    background: var(--color-bg); margin-top: 8px; padding: 24px 5%;
}
.b2-bento__top {
    display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px;
}
.b2-bento__heading {
    display: flex; align-items: center; gap: 12px;
}
.b2-bento__heading-accent {
    width: 3px; height: 28px; background: var(--color-primary); border-radius: 2px;
}
.b2-bento__heading h2 {
    font-size: 1.05rem; font-weight: 900; text-transform: uppercase;
    color: var(--color-text); letter-spacing: .05em; margin: 0;
}
.b2-bento__viewall {
    font-size: .72rem; font-weight: 800; text-decoration: none;
    color: var(--color-muted); letter-spacing: .06em;
    border: 1.5px solid var(--color-border); padding: 6px 16px; border-radius: 30px;
    transition: border-color .2s, color .2s;
}
.b2-bento__viewall:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }

/* Bento grid: 3 cols, 2 rows */
.b2-bento__grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
}

/* Card chung */
.b2-bento__card, .b2-bento__wide {
    position: relative; overflow: hidden; border-radius: 16px;
    display: flex; flex-direction: column; justify-content: flex-end;
    text-decoration: none;
    background: var(--color-secondary) center/cover no-repeat;
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s;
}
.b2-bento__card:hover, .b2-bento__wide:hover {
    transform: scale(1.02); box-shadow: 0 16px 40px rgba(0,0,0,.2);
}
.b2-bento__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.25) 55%, transparent 100%);
}
.b2-bento__body { position: relative; z-index: 1; padding: 18px 20px; color: #fff; display: flex; flex-direction: column; gap: 6px; }
.b2-bento__body h3 { font-size: .9rem; font-weight: 800; line-height: 1.35; color: #fff; margin: 0; }
.b2-bento__body h2 { font-size: clamp(1rem, 1.6vw, 1.5rem); font-weight: 900; line-height: 1.2; color: #fff; margin: 0; }
.b2-bento__meta { display: flex; align-items: center; gap: 4px; font-size: .65rem; color: rgba(255,255,255,.5); }
.b2-bento__excerpt { font-size: .78rem; color: rgba(255,255,255,.65); line-height: 1.5; margin: 0; }

/* Wide card (spans 2 rows) */
.b2-bento__wide { grid-row: span 2; min-height: 400px; }

/* Regular cards */
.b2-bento__card { min-height: 190px; }

/* ══════════════════════════════════════════════════════════
   STYLE 4: TIMELINE – Dòng thời gian ngang
   Dots + Cards lên/xuống xen kẽ theo timeline
   ══════════════════════════════════════════════════════════ */
.b2-timeline {
    background: var(--color-secondary); margin-top: 8px;
    padding: 0 0 40px; overflow: hidden;
}
.b2-timeline__header {
    padding: 28px 5% 24px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.b2-timeline__header-left { display: flex; align-items: center; gap: 12px; }
.b2-timeline__dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--color-primary); flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(255,255,255,.1);
    animation: b2-pulse 2s ease-in-out infinite;
}
@keyframes b2-pulse { 0%,100%{box-shadow:0 0 0 4px rgba(255,255,255,.1)} 50%{box-shadow:0 0 0 8px rgba(255,255,255,.04)} }
.b2-timeline__header h2 {
    font-size: 1.05rem; font-weight: 900; text-transform: uppercase;
    color: #fff; letter-spacing: .06em; margin: 0;
}
.b2-timeline__viewall {
    font-size: .68rem; font-weight: 800; color: var(--color-primary);
    text-decoration: none; letter-spacing: .06em;
}
.b2-timeline__viewall:hover { text-decoration: underline; }

/* Timeline track */
.b2-timeline__track {
    position: relative; padding: 40px 5%; margin-top: 0;
}
/* Center line */
.b2-timeline__line {
    position: absolute; left: 5%; right: 5%; top: 68px; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 10%, rgba(255,255,255,.12) 90%, transparent);
}

.b2-timeline__items {
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; position: relative; z-index: 1;
}

.b2-timeline__item {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: #fff; padding: 0 10px;
    transition: transform .35s;
}
.b2-timeline__item:nth-child(even) { flex-direction: column-reverse; padding-top: 0; }
.b2-timeline__item:hover { transform: translateY(-6px); text-decoration: none; }
.b2-timeline__item:nth-child(even):hover { transform: translateY(6px); }

/* Dot on line */
.b2-timeline__item-dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--color-secondary); border: 3px solid rgba(255,255,255,.2);
    flex-shrink: 0; position: relative; z-index: 2; margin: 0;
    transition: border-color .3s, background .3s;
}
.b2-timeline__item:hover .b2-timeline__item-dot { border-color: var(--color-primary); background: var(--color-primary); }

/* Connector line */
.b2-timeline__item-connector {
    width: 1px; height: 28px; background: rgba(255,255,255,.15); flex-shrink: 0;
}

/* Card */
.b2-timeline__card {
    border-radius: 14px; overflow: hidden;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
    transition: border-color .3s;
    width: 100%;
}
.b2-timeline__item:hover .b2-timeline__card { border-color: var(--color-primary); }
.b2-timeline__card-img {
    width: 100%; aspect-ratio: 16/10;
    background: rgba(255,255,255,.08) center/cover no-repeat;
}
.b2-timeline__card-body { padding: 12px 14px; display: flex; flex-direction: column; gap: 5px; }
.b2-timeline__card-body .b2-badge { margin-bottom: 0; }
.b2-timeline__card-body h3 {
    font-size: .82rem; font-weight: 800; line-height: 1.35; color: #fff; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-timeline__card-meta { font-size: .62rem; color: rgba(255,255,255,.45); }

/* Date label */
.b2-timeline__item-date {
    font-size: .6rem; font-weight: 800; letter-spacing: .12em;
    color: rgba(255,255,255,.35); text-transform: uppercase; text-align: center;
}

/* ══════════════════════════════════════════════════════════
   STYLE 5: ZIGZAG – Xếp chữ Z, 1 bài to xen 2 bài nhỏ
   Alternating: ảnh trái / ảnh phải
   ══════════════════════════════════════════════════════════ */
.b2-zigzag { background: var(--color-bg); margin-top: 8px; }

.b2-zigzag__header {
    padding: 24px 5% 20px;
    display: grid; grid-template-columns: 1fr auto;
    align-items: center; border-bottom: 1px solid var(--color-border);
}
.b2-zigzag__header-text {}
.b2-zigzag__header h2 {
    font-size: 1rem; font-weight: 900; text-transform: uppercase;
    color: var(--color-text); letter-spacing: .05em; margin: 0 0 2px;
}
.b2-zigzag__header p { font-size: .78rem; color: var(--color-muted); margin: 0; }
.b2-zigzag__viewall {
    font-size: .72rem; font-weight: 900; color: var(--color-btn-text);
    background: var(--color-primary); padding: 8px 20px; border-radius: 3px;
    text-decoration: none; letter-spacing: .06em; transition: opacity .2s;
}
.b2-zigzag__viewall:hover { opacity: .85; text-decoration: none; }

.b2-zigzag__list { padding: 0 5%; }

.b2-zigzag__item {
    display: grid; grid-template-columns: 260px 1fr;
    border-bottom: 1px solid var(--color-border);
    text-decoration: none; color: var(--color-text);
    transition: background .2s; overflow: hidden;
}
.b2-zigzag__item:last-child { border-bottom: none; }
.b2-zigzag__item:nth-child(even) { grid-template-columns: 1fr 260px; }
.b2-zigzag__item:nth-child(even) .b2-zigzag__img { order: 2; }
.b2-zigzag__item:nth-child(even) .b2-zigzag__body { order: 1; }
.b2-zigzag__item:hover { background: color-mix(in srgb, var(--color-bg) 92%, var(--color-primary)); }

.b2-zigzag__img {
    overflow: hidden; background: var(--color-border) center/cover no-repeat;
    width: 260px; height: 160px; flex-shrink: 0; align-self: stretch;
}
.b2-zigzag__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.b2-zigzag__item:hover .b2-zigzag__img img { transform: scale(1.05); }

.b2-zigzag__body {
    padding: 18px 24px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.b2-zigzag__body h3 {
    font-size: clamp(.88rem, 1.3vw, 1.1rem); font-weight: 800; line-height: 1.3; color: var(--color-text); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-zigzag__item:hover h3 { color: var(--color-primary); }
.b2-zigzag__body p {
    font-size: .78rem; color: var(--color-muted); line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-zigzag__body-meta {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    font-size: .65rem; color: var(--color-muted);
    padding-top: 8px; margin-top: 2px;
}
.b2-zigzag__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s; }
.b2-zigzag__item:hover .b2-zigzag__img img { transform: scale(1.05); }

.b2-zigzag__body {
    padding: 20px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px;
}
.b2-zigzag__body h3 {
    font-size: clamp(.9rem, 1.4vw, 1.2rem); font-weight: 900; line-height: 1.25; color: var(--color-text);
}
.b2-zigzag__item:hover h3 { color: var(--color-primary); }
.b2-zigzag__body p {
    font-size: .8rem; color: var(--color-muted); line-height: 1.6;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-zigzag__body-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: .65rem; color: var(--color-muted);
    border-top: 1px solid var(--color-border); padding-top: 10px; margin-top: 2px;
}
.b2-zigzag__read {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .72rem; font-weight: 800; color: var(--color-primary);
    letter-spacing: .06em;
}
.b2-zigzag__read svg { transition: transform .2s; }
.b2-zigzag__item:hover .b2-zigzag__read svg { transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════
   STYLE 6: MARQUEE CARDS – Header lớn + cards nổi bật
   Nền tối, cards có drop shadow mạnh, offset asymmetric
   ══════════════════════════════════════════════════════════ */
.b2-marquee {
    background: var(--color-secondary); margin-top: 8px;
    padding-bottom: 40px;
}
.b2-marquee__top {
    padding: 32px 5% 28px;
    display: flex; align-items: flex-end; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.b2-marquee__top-left {}
.b2-marquee__eyebrow {
    font-size: .62rem; font-weight: 900; letter-spacing: .2em;
    text-transform: uppercase; color: var(--color-primary); margin-bottom: 8px;
    display: block;
}
.b2-marquee__top-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; line-height: .95;
    text-transform: uppercase; color: #fff; margin: 0; letter-spacing: -.03em;
}
.b2-marquee__top-title em {
    font-style: normal;
    -webkit-text-stroke: 1.5px rgba(255,255,255,.3); color: transparent;
}
.b2-marquee__top-right {
    display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.b2-marquee__top-desc {
    font-size: .82rem; color: rgba(255,255,255,.45); line-height: 1.6;
    max-width: 280px; text-align: right;
}
.b2-marquee__viewall {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .68rem; font-weight: 900; color: #fff;
    letter-spacing: .1em; text-decoration: none;
    border: 1px solid rgba(255,255,255,.2); padding: 7px 18px; border-radius: 30px;
    transition: background .2s, border-color .2s;
}
.b2-marquee__viewall:hover { background: var(--color-primary); border-color: var(--color-primary); text-decoration: none; }

/* Cards grid: 4 cols × 2 rows, staggered vertical */
.b2-marquee__grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 16px; padding: 36px 5% 0;
    align-items: start;
}

/* Odd cards push down */
.b2-marquee__card:nth-child(even) { margin-top: 32px; }

.b2-marquee__card {
    display: flex; flex-direction: column; text-decoration: none; color: #fff;
    border-radius: 18px; overflow: hidden;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 8px 32px rgba(0,0,0,.4);
    transition: transform .4s cubic-bezier(.175,.885,.32,1.275), box-shadow .4s, border-color .3s;
}
.b2-marquee__card:hover {
    transform: translateY(-10px); border-color: var(--color-primary);
    box-shadow: 0 20px 48px rgba(0,0,0,.6);
}
.b2-marquee__card-img {
    width: 100%; aspect-ratio: 4/3;
    background: rgba(255,255,255,.08) center/cover no-repeat;
    position: relative; overflow: hidden;
}
.b2-marquee__card-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,.7));
    opacity: .6; transition: opacity .3s;
}
.b2-marquee__card:hover .b2-marquee__card-img-overlay { opacity: .3; }
.b2-marquee__card-cat {
    position: absolute; top: 14px; left: 14px; z-index: 1;
}
.b2-marquee__card-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 7px; }
.b2-marquee__card-body h3 {
    font-size: .9rem; font-weight: 800; line-height: 1.35; color: #fff; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-marquee__card:hover h3 { color: var(--color-primary); }
.b2-marquee__card-meta {
    display: flex; align-items: center; gap: 4px;
    font-size: .62rem; color: rgba(255,255,255,.4);
    border-top: 1px solid rgba(255,255,255,.07); padding-top: 10px; margin-top: 2px;
}

/* ══════════════════════════════════════════════════════════
   STYLE 7: OVERLAP – Featured lớn + cards nhỏ chồng lên
   Kiểu magazine châu Âu, typography mạnh
   ══════════════════════════════════════════════════════════ */
.b2-overlap {
    background: var(--color-secondary); margin-top: 8px;
    display: grid; grid-template-columns: 1.2fr 1fr;
    min-height: 520px; position: relative;
}

.b2-overlap__main {
    position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
    text-decoration: none; min-height: 520px;
    background: var(--color-secondary) center/cover no-repeat;
    transition: filter .35s;
}
.b2-overlap__main:hover { filter: brightness(1.06); }
.b2-overlap__main-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,.96) 0%,
        rgba(0,0,0,.55) 45%,
        rgba(0,0,0,.1) 100%
    );
}
.b2-overlap__main-body {
    position: relative; z-index: 1; padding: 36px 40px; color: #fff;
}
/* Big serif-style number */
.b2-overlap__main-num {
    font-size: 8rem; font-weight: 900; line-height: .85; letter-spacing: -.05em;
    color: rgba(255,255,255,.06); display: block; margin-bottom: -24px;
    pointer-events: none;
}
.b2-overlap__main-body .b2-badge { margin-bottom: 10px; }
.b2-overlap__main-title {
    font-size: clamp(1.3rem, 2.5vw, 2.2rem); font-weight: 900; line-height: 1.15;
    color: #fff; margin-bottom: 10px; letter-spacing: -.02em;
}
.b2-overlap__main-body a { color: inherit; text-decoration: none; }
.b2-overlap__main-body a:hover { color: var(--color-primary); }
.b2-overlap__main-desc {
    font-size: .85rem; color: rgba(255,255,255,.6); line-height: 1.65; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.b2-overlap__main-meta {
    display: flex; align-items: center; gap: 6px;
    font-size: .68rem; color: rgba(255,255,255,.4);
}

/* Right: header + stacked list */
.b2-overlap__side {
    display: flex; flex-direction: column;
    border-left: 1px solid rgba(255,255,255,.07);
}
.b2-overlap__side-header {
    padding: 24px 28px; border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,.02);
}
.b2-overlap__side-header h3 {
    font-size: .7rem; font-weight: 900; letter-spacing: .16em;
    color: var(--color-primary); text-transform: uppercase; margin: 0;
}
.b2-overlap__side-header a {
    font-size: .68rem; font-weight: 800; color: rgba(255,255,255,.4);
    text-decoration: none; letter-spacing: .06em; transition: color .2s;
}
.b2-overlap__side-header a:hover { color: var(--color-primary); }

.b2-overlap__cards { flex: 1; display: flex; flex-direction: column; }

.b2-overlap__card {
    flex: 1; display: flex; gap: 0; text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: #fff; transition: background .25s; overflow: hidden;
}
.b2-overlap__card:last-child { border-bottom: none; }
.b2-overlap__card:hover { background: rgba(255,255,255,.04); }

.b2-overlap__card-num {
    flex: 0 0 44px; display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 900; color: rgba(255,255,255,.07);
    border-right: 1px solid rgba(255,255,255,.05); transition: color .2s;
    flex-shrink: 0;
}
.b2-overlap__card:hover .b2-overlap__card-num { color: var(--color-primary); }

.b2-overlap__card-img {
    flex: 0 0 100px; background: rgba(255,255,255,.1) center/cover no-repeat;
    overflow: hidden; flex-shrink: 0;
}
.b2-overlap__card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.b2-overlap__card:hover .b2-overlap__card-img img { transform: scale(1.08); }

.b2-overlap__card-body {
    flex: 1; padding: 16px 18px; display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.b2-overlap__card-body h4 {
    font-size: .85rem; font-weight: 800; line-height: 1.35; color: #fff; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    transition: color .2s;
}
.b2-overlap__card:hover h4 { color: var(--color-primary); }
.b2-overlap__card-meta {
    display: flex; align-items: center; gap: 4px;
    font-size: .62rem; color: rgba(255,255,255,.4);
}

/* ═══════════════════════════════════════════════════════════
   Global – tắt text-decoration
   ═══════════════════════════════════════════════════════════ */
.b2-hero a, .b2-ribbon a, .b2-stack a, .b2-bento a,
.b2-timeline a, .b2-zigzag a, .b2-marquee a, .b2-overlap a {
    text-decoration: none;
}
.b2-hero a:hover, .b2-ribbon a:hover, .b2-stack a:hover, .b2-bento a:hover,
.b2-timeline a:hover, .b2-zigzag a:hover, .b2-marquee a:hover, .b2-overlap a:hover {
    text-decoration: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE – Tablet 1200px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1200px) {
    /* Hero */
    .b2-hero__inner { grid-template-columns: 1fr; }
    .b2-hero__featured { max-width: 480px; }
    /* Ribbon */
    .b2-ribbon__cards { gap: 0; }
    .b2-ribbon__card { flex: 0 0 240px; }
    /* Stack */
    .b2-stack__item { grid-template-columns: 28px 150px 1fr auto; }
    /* Bento */
    .b2-bento__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    /* Timeline: 8 cols → 4 cols */
    .b2-timeline__items { grid-template-columns: repeat(4, 1fr); }
    /* Marquee */
    .b2-marquee__grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .b2-marquee__card:nth-child(even) { margin-top: 24px; }
    /* Overlap */
    .b2-overlap { grid-template-columns: 1fr 1fr; }
    .b2-overlap__main-num { font-size: 6rem; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE – Tablet 900px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    /* Hero */
    .b2-hero__inner { grid-template-columns: 1fr; padding: 40px 5% 24px; }
    .b2-hero__featured { max-width: 100%; }
    .b2-hero__strip { padding: 0 5% 24px; }
    /* Ribbon */
    .b2-ribbon { grid-template-columns: 200px 1fr; }
    .b2-ribbon__card { flex: 0 0 220px; }
    /* Stack */
    .b2-stack__item { grid-template-columns: 24px 130px 1fr; min-height: 80px; }
    .b2-stack__item-arrow { display: none; }
    .b2-stack__item-img { min-height: 80px; }
    /* Bento */
    .b2-bento__grid { grid-template-columns: 1fr 1fr; }
    .b2-bento__wide { grid-column: span 2; grid-row: span 1; min-height: 260px; }
    /* Timeline: 4 cols → 2 cols */
    .b2-timeline__items { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .b2-timeline__line { display: none; }
    .b2-timeline__item { flex-direction: column; }
    .b2-timeline__item:nth-child(even) { flex-direction: column; }
    .b2-timeline__item-connector { display: none; }
    .b2-timeline__item-dot { margin: 0 auto 12px; }
    .b2-timeline__item-date { margin-bottom: 8px; }
    /* Zigzag */
    .b2-zigzag__item,
    .b2-zigzag__item:nth-child(even) { grid-template-columns: 1fr; }
    .b2-zigzag__item:nth-child(even) .b2-zigzag__img { order: 0; }
    .b2-zigzag__item:nth-child(even) .b2-zigzag__body { order: 1; }
    .b2-zigzag__img { width: 100%; height: 180px; }
    /* Marquee: 4 cols → 2 cols */
    .b2-marquee__top { flex-direction: column; align-items: flex-start; gap: 16px; }
    .b2-marquee__top-right { align-items: flex-start; }
    .b2-marquee__top-desc { text-align: left; max-width: 100%; }
    .b2-marquee__grid { grid-template-columns: repeat(2, 1fr); }
    .b2-marquee__card:nth-child(even) { margin-top: 20px; }
    /* Overlap */
    .b2-overlap { grid-template-columns: 1fr; }
    .b2-overlap__main { min-height: 320px; }
    .b2-overlap__side { border-left: none; border-top: 1px solid rgba(255,255,255,.07); }
    .b2-overlap__cards { flex-direction: row; flex-wrap: wrap; }
    .b2-overlap__card { flex: 1 1 50%; border-right: 1px solid rgba(255,255,255,.06); }
    .b2-overlap__card:nth-child(even) { border-right: none; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE – Mobile 600px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
    /* Hero */
    .b2-hero__title { font-size: 1.8rem; }
    .b2-hero__excerpt { display: none; }
    .b2-hero__strip-item { flex: 0 0 170px; height: 90px; }
    /* Ribbon */
    .b2-ribbon { grid-template-columns: 1fr; }
    .b2-ribbon__header { border-right: none; border-bottom: 2px solid var(--color-border); }
    .b2-ribbon__cards { padding: 0; }
    .b2-ribbon__card { flex: 0 0 200px; }
    /* Stack */
    .b2-stack__item { grid-template-columns: 24px 100px 1fr; }
    .b2-stack__item-body { padding: 12px 14px; }
    .b2-stack__item-body h3 { font-size: .88rem; }
    .b2-stack__item-excerpt { display: none; }
    /* Bento */
    .b2-bento { padding: 20px 4%; }
    .b2-bento__grid { grid-template-columns: 1fr; }
    .b2-bento__wide { min-height: 220px; grid-column: auto; grid-row: auto; }
    .b2-bento__card { min-height: 160px; }
    /* Timeline: 2 cols → 1 col */
    .b2-timeline__items { grid-template-columns: 1fr; gap: 12px; }
    .b2-timeline__track { padding: 20px 4%; }
    .b2-timeline__item { flex-direction: row; align-items: center; gap: 14px; padding: 0; }
    .b2-timeline__item:nth-child(even) { flex-direction: row; }
    .b2-timeline__item-dot { margin: 0; flex-shrink: 0; }
    .b2-timeline__item-date { display: none; }
    .b2-timeline__card { flex: 1; }
    .b2-timeline__card-img { aspect-ratio: 16/9; }
    /* Zigzag */
    .b2-zigzag__body { padding: 20px 18px; }
    .b2-zigzag__body h3 { font-size: .95rem; }
    .b2-zigzag__body p { display: none; }
    /* Marquee: 2 cols */
    .b2-marquee__grid { grid-template-columns: 1fr 1fr; gap: 10px; padding: 24px 4% 0; }
    .b2-marquee__card:nth-child(even) { margin-top: 16px; }
    .b2-marquee__card-img { aspect-ratio: 4/3; }
    .b2-marquee__top { padding: 24px 4% 20px; }
    /* Overlap */
    .b2-overlap__main-num { font-size: 4rem; }
    .b2-overlap__main-body { padding: 24px; }
    .b2-overlap__main-title { font-size: 1.2rem; }
    .b2-overlap__cards { flex-direction: column; }
    .b2-overlap__card { border-right: none; }
    .b2-overlap__card-img { flex: 0 0 80px; }
    .b2-overlap__card-body { padding: 12px 14px; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE – Mobile nhỏ 400px
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
    .b2-hero__title { font-size: 1.5rem; }
    .b2-hero__actions { flex-direction: column; align-items: flex-start; }
    .b2-ribbon__card { flex: 0 0 180px; }
    .b2-stack__header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .b2-bento__grid { gap: 10px; }
    .b2-timeline__header { flex-direction: column; align-items: flex-start; gap: 8px; }
    .b2-timeline__card-body h3 { font-size: .75rem; }
    .b2-marquee__grid { grid-template-columns: 1fr; }
    .b2-marquee__card:nth-child(even) { margin-top: 0; }
    .b2-overlap__main { min-height: 260px; }
    .b2-overlap__card-num { flex: 0 0 36px; font-size: 1.1rem; }
}