/* ── BLOG DETAIL v3 — styles.css ── */

:root {
    --bd-vina: #E8341A;
    --bd-vina-2: #C4290F;
    --bd-vina-glow: rgba(232, 52, 26, .1);
    --bd-nz: #1E2D8F;
    --bd-nz-2: #2B50D0;
    --bd-nz-3: #3A64E8;
    --bd-nz-tint: #EEF1FB;
    --bd-nz-tint2: #E4E9F8;
    --bd-ink: #0D1117;
    --bd-ink2: #1F2937;
    --bd-text: #374151;
    --bd-muted: #6B7280;
    --bd-muted2: #9CA3AF;
    --bd-border: #E2E8F0;
    --bd-border2: #CBD5E1;
    --bd-bg: #F5F7FF;
    --bd-bg2: #EEF1FB;
    --bd-card: #FFFFFF;
    --bd-shadow-xs: 0 1px 2px rgba(30, 45, 143, .05);
    --bd-shadow-sm: 0 2px 8px rgba(30, 45, 143, .07), 0 1px 3px rgba(30, 45, 143, .04);
    --bd-shadow: 0 4px 20px rgba(30, 45, 143, .09), 0 2px 6px rgba(30, 45, 143, .05);
    --bd-shadow-lg: 0 12px 44px rgba(30, 45, 143, .13), 0 4px 14px rgba(30, 45, 143, .07);
}

html {
    scroll-behavior: smooth;
}

/* ── HERO ── */
.bd-hero {
    position: relative;
    overflow: hidden;
    height: 480px;
    background: var(--bd-nz);
}

.bd-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bd-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(10, 18, 80, .72) 0%, rgba(10, 18, 80, .55) 50%, rgba(10, 18, 80, .45) 100%);
}

.bd-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 600px 400px at -8% 115%, rgba(232, 52, 26, .25) 0%, transparent 55%),
        radial-gradient(ellipse 500px 350px at 105% -25%, rgba(43, 80, 208, .4) 0%, transparent 60%),
        radial-gradient(ellipse 300px 300px at 55% 105%, rgba(30, 45, 143, .6) 0%, transparent 55%);
}

.bd-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        radial-gradient(circle 2px at 12% 25%, rgba(255, 255, 255, .5) 100%, transparent),
        radial-gradient(circle 1.5px at 18% 60%, rgba(255, 255, 255, .35) 100%, transparent),
        radial-gradient(circle 2.5px at 25% 40%, rgba(255, 255, 255, .45) 100%, transparent),
        radial-gradient(circle 1px at 78% 22%, rgba(255, 255, 255, .4) 100%, transparent),
        radial-gradient(circle 2px at 85% 55%, rgba(255, 255, 255, .35) 100%, transparent),
        radial-gradient(circle 1.5px at 90% 35%, rgba(255, 255, 255, .45) 100%, transparent),
        radial-gradient(circle 2px at 92% 70%, rgba(255, 255, 255, .3) 100%, transparent);
}

.bd-hero-lines {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    background-image: repeating-linear-gradient(-52deg, transparent, transparent 40px, rgba(255, 255, 255, .018) 40px, rgba(255, 255, 255, .018) 41px);
}

.bd-hero-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.bd-hero-ring.bd-r1 {
    width: 460px;
    height: 460px;
    border: 56px solid rgba(255, 255, 255, .028);
    top: -200px;
    right: -100px;
}

.bd-hero-ring.bd-r2 {
    width: 200px;
    height: 200px;
    border: 26px solid rgba(232, 52, 26, .1);
    bottom: -80px;
    right: 320px;
}

.bd-hero-ring.bd-r3 {
    width: 60px;
    height: 60px;
    background: rgba(232, 52, 26, .12);
    top: 38px;
    left: 44%;
}

.bd-hero-inner {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 240px;
}

.bd-hero-content {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
}

/* Brand logo in hero */
.bd-hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.bd-hero-brand-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}

.bd-hero-title {
    font-size: clamp(22px, 3.2vw, 38px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -.6px;
    max-width: 720px;
    margin-bottom: 22px;
}

.bd-hero-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.bd-hero-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bd-hero-av {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; color: #fff;
    overflow: hidden; flex-shrink: 0;
}

.bd-hero-av img {
    width: 100%; height: 100%; object-fit: cover;
}

.bd-hero-aname {
    font-size: 14px; font-weight: 600; color: #fff;
}

.bd-hero-verified {
    color: #4ade80; font-size: 15px;
}

.bd-hero-dot {
    color: rgba(255,255,255,.35); font-size: 14px;
}

.bd-hm {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, .7);
    font-weight: 400;
}

.bd-hm i {
    color: rgba(255, 255, 255, .35);
    font-size: 12px;
}

/* Southern Cross deco */
.bd-sc-deco {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: .08;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bd-sc-star {
    color: #fff;
    font-size: 28px;
}

.bd-sc-star.bd-sm {
    font-size: 18px;
}

/* ── LAYOUT ── */
.bd-wrap {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

.bd-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    align-items: start;
    overflow: visible;
}

.bd-page-body {
    position: relative;
    z-index: 10;
    padding: 0 0 80px;
    overflow: visible;
}

.bd-page-body .bd-wrap {
    margin-top: -220px;
}

/* ── AUTHOR CARD ── */
.bd-author-card {
    background: var(--bd-card);
    border: 1px solid var(--bd-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(30, 45, 143, .18), 0 6px 20px rgba(30, 45, 143, .1);
    margin-bottom: 28px;
}

.bd-ac-cover {
    height: 96px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(118deg, #0b1560 0%, #122290 30%, #1a30b8 56%, #2240d0 76%, #2B50D0 100%);
    background-size: cover;
    background-position: center;
}

.bd-ac-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 20px 20px;
}

.bd-ac-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 200px 140px at -5% 120%, rgba(232, 52, 26, .32) 0%, transparent 60%),
        radial-gradient(ellipse 180px 100px at 105% -20%, rgba(58, 100, 232, .4) 0%, transparent 55%),
        radial-gradient(ellipse 100px 80px at 50% 130%, rgba(43, 80, 208, .3) 0%, transparent 60%);
}

.bd-ac-cover-rings {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.bd-ac-cover-rings::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 20px solid rgba(255, 255, 255, .05);
    top: -60px;
    right: -20px;
}

.bd-ac-cover-rings::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 10px solid rgba(232, 52, 26, .18);
    bottom: -25px;
    right: 120px;
}

.bd-ac-verified {
    position: absolute;
    top: 10px;
    right: 13px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, .88);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 4px 11px;
    border-radius: 7px;
}

.bd-ac-verified i {
    color: #4ade80;
    font-size: 9.5px;
}

.bd-ac-loc-chip {
    position: absolute;
    bottom: 10px;
    left: 74px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bd-ac-loc-chip i {
    color: rgba(255, 210, 180, .8);
    font-size: 9.5px;
}

.bd-ac-loc-chip span {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .5);
}

.bd-ac-body {
    padding: 0 20px 22px;
}

.bd-ac-top-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: -32px;
    margin-bottom: 14px;
    position: relative;
    z-index: 4;
}

.bd-ac-ava {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--bd-nz), var(--bd-nz-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    border: 3.5px solid var(--bd-card);
    box-shadow: 0 0 0 2.5px var(--bd-nz), 0 6px 20px rgba(30, 45, 143, .3);
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.bd-ac-ava img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-follow-btn {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--bd-nz);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 11.5px;
    font-weight: 700;
    padding: 9px 17px;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(30, 45, 143, .3);
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none;
}

.bd-follow-btn:hover {
    background: var(--bd-nz-2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 45, 143, .35);
    color: #fff;
}

.bd-follow-btn.bd-following {
    background: #e8eaf6;
    color: var(--bd-nz);
    box-shadow: none;
}

.bd-follow-btn.bd-following:hover {
    background: #ffcdd2;
    color: #c62828;
}

.bd-ac-name {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--bd-nz);
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 2px;
}

.bd-ac-name .bi-patch-check-fill {
    color: var(--bd-nz-2);
    font-size: 14px;
}

.bd-ac-sub {
    font-size: 12px;
    color: var(--bd-muted);
    font-weight: 400;
    margin-bottom: 14px;
}

.bd-ac-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--bd-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.bd-astat {
    background: var(--bd-bg);
    padding: 10px 6px;
    text-align: center;
}

.bd-astat-n {
    font-size: 16px;
    font-weight: 800;
    color: var(--bd-nz);
}

.bd-astat-l {
    font-size: 10px;
    color: var(--bd-muted2);
    font-weight: 500;
    margin-top: 1px;
}

.bd-ac-bio {
    font-size: 12.5px;
    color: var(--bd-text);
    line-height: 1.7;
    padding-top: 14px;
    border-top: 1px solid var(--bd-border);
}

/* ── BODY TEXT ── */
.bd-body-text {
    font-size: 15.5px;
    color: var(--bd-text);
    line-height: 1.9;
}

.bd-body-text p {
    margin-bottom: 22px;
}

.bd-body-text h2 {
    font-size: 19.5px;
    font-weight: 800;
    color: var(--bd-nz);
    margin: 40px 0 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.bd-body-text h2 .bd-h2-bar {
    display: block;
    width: 4px;
    min-width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, var(--bd-vina), var(--bd-vina-2));
    border-radius: 2px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bd-body-text > ul {
    list-style: none;
    padding: 0;
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bd-body-text > ul > li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 16px;
    background: var(--bd-bg2);
    border: 1px solid var(--bd-nz-tint2);
    border-radius: 10px;
    font-size: 14.5px;
    line-height: 1.65;
}

.bd-body-text > ul > li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--bd-vina);
    flex-shrink: 0;
    margin-top: 8px;
}

.bd-callout {
    background: linear-gradient(135deg, var(--bd-nz-tint), #e0e8fb);
    border: 1px solid var(--bd-nz-tint2);
    border-left: 3px solid var(--bd-nz-2);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    gap: 14px;
    margin: 28px 0;
}

.bd-callout i {
    color: var(--bd-nz-2);
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bd-callout p {
    margin: 0;
    font-size: 13.5px;
    color: var(--bd-ink2);
    line-height: 1.75;
}

/* ── SIDEBAR ── */
.bd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 140px;
}

.bd-sc {
    background: var(--bd-card);
    border: 1px solid var(--bd-border);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(30, 45, 143, .12), 0 2px 8px rgba(30, 45, 143, .06);
}

.bd-sc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 12px;
    border-bottom: 1px solid var(--bd-border);
}

.bd-sc-head h3 {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bd-nz);
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

.bd-sc-head h3 i {
    font-size: 13px;
}

.bd-sc-head a {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--bd-vina);
    text-decoration: none;
}

.bd-sc-head a:hover {
    text-decoration: underline;
}

/* Related mini items */
.bd-rmi {
    display: flex;
    flex-direction: column;
}

.bd-rmi-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--bd-border);
    text-decoration: none;
    transition: background .15s;
}

.bd-rmi-item:last-child {
    border-bottom: none;
}

.bd-rmi-item:hover {
    background: var(--bd-bg);
}

.bd-rmi-item:hover .bd-rmi-title {
    color: var(--bd-vina);
}

.bd-rmi-thumb {
    width: 46px;
    height: 46px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bd-rmi-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-rmi-thumb i {
    font-size: 17px;
    color: rgba(255, 255, 255, .3);
}

.bd-rmi-thumb.bd-t1 {
    background: linear-gradient(135deg, var(--bd-nz), var(--bd-nz-2));
}

.bd-rmi-thumb.bd-t2 {
    background: linear-gradient(135deg, #064e3b, #059669);
}

.bd-rmi-thumb.bd-t3 {
    background: linear-gradient(135deg, #4c1d95, #7c3aed);
}

.bd-rmi-thumb.bd-t4 {
    background: linear-gradient(135deg, #78350f, #d97706);
}

.bd-rmi-cat {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .9px;
    color: var(--bd-vina);
    margin-bottom: 3px;
}

.bd-rmi-title {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--bd-nz);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .18s;
}

.bd-rmi-date {
    font-size: 10.5px;
    color: var(--bd-muted2);
    margin-top: 4px;
}

/* ── SHARE ── */
.bd-share-list {
    display: flex;
    flex-direction: column;
    padding: 10px 12px 13px;
    gap: 6px;
}

.bd-shr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 13px;
    border-radius: 12px;
    border: 1.5px solid var(--bd-border);
    background: var(--bd-card);
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    width: 100%;
    transition: all .22s;
}

.bd-shr:hover {
    transform: translateX(4px);
}

.bd-shr.bd-fb {
    background: #f0f5ff;
    border-color: rgba(24, 119, 242, .2);
}

.bd-shr.bd-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.bd-shr.bd-zl {
    background: #f0f5ff;
    border-color: rgba(0, 104, 255, .2);
}

.bd-shr.bd-zl:hover {
    background: #0068FF;
    border-color: #0068FF;
}

.bd-shr.bd-cp {
    background: var(--bd-nz-tint);
    border-color: rgba(30, 45, 143, .15);
}

.bd-shr.bd-cp:hover {
    background: var(--bd-nz);
    border-color: var(--bd-nz);
}

.bd-shr:hover .bd-sico,
.bd-shr:hover .bd-stitle,
.bd-shr:hover .bd-sdesc {
    color: #fff;
}

.bd-sbox {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.bd-fb .bd-sbox {
    background: rgba(24, 119, 242, .12);
}

.bd-fb .bd-sico {
    color: #1877F2;
}

.bd-zl .bd-sbox {
    background: rgba(0, 104, 255, .12);
}

.bd-zl .bd-sico {
    color: #0068FF;
}

.bd-cp .bd-sbox {
    background: rgba(30, 45, 143, .1);
}

.bd-cp .bd-sico {
    color: var(--bd-nz);
}

.bd-shr:hover .bd-sbox {
    background: rgba(255, 255, 255, .18);
}

.bd-stitle {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--bd-ink2);
    display: block;
    transition: color .2s;
}

.bd-sdesc {
    font-size: 10.5px;
    color: var(--bd-muted2);
    display: block;
    margin-top: 1px;
    transition: color .2s;
}

.bd-sarr {
    color: var(--bd-border2);
    font-size: 12px;
    flex-shrink: 0;
    transition: color .2s;
}

.bd-shr:hover .bd-sarr {
    color: rgba(255, 255, 255, .4);
}

/* ── TOAST ── */
.bd-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: var(--bd-nz);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 24px;
    border-radius: 11px;
    box-shadow: 0 6px 28px rgba(30, 45, 143, .3);
    opacity: 0;
    transition: all .3s;
    pointer-events: none;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bd-toast.bd-on {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.bd-toast i {
    color: #4ade80;
}

/* ── RELATED SECTION ── */
.bd-rel-wrap {
    background: linear-gradient(180deg, var(--bd-bg) 0%, var(--bd-card) 100%);
    padding: 52px 0 44px;
    border-top: 1px solid var(--bd-border);
}

.bd-rel-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.bd-rel-title {
    font-size: 21px;
    font-weight: 900;
    color: var(--bd-nz);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.bd-rel-title .bd-bar-wrap {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bd-rel-title .bd-bar1 {
    width: 22px;
    height: 3px;
    background: var(--bd-vina);
    border-radius: 2px;
}

.bd-rel-title .bd-bar2 {
    width: 14px;
    height: 3px;
    background: var(--bd-nz-2);
    border-radius: 2px;
}

.bd-rel-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--bd-vina);
    text-decoration: none;
    border: 1.5px solid rgba(232, 52, 26, .22);
    padding: 7px 15px;
    border-radius: 9px;
    transition: all .2s;
}

.bd-rel-more:hover {
    background: var(--bd-vina);
    color: #fff;
    border-color: var(--bd-vina);
}

.bd-rel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.bd-pcard {
    background: var(--bd-card);
    border: 1px solid var(--bd-border);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--bd-shadow-sm);
    text-decoration: none;
    transition: transform .24s cubic-bezier(.22, 1, .36, 1), box-shadow .24s;
}

.bd-pcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--bd-shadow-lg);
}

.bd-pcard-img {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #050c30, var(--bd-nz));
}

.bd-pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-pcard-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 18, 70, .55) 0%, rgba(0, 0, 0, .05) 55%, transparent 100%);
}

.bd-pcard-img .bd-ph {
    font-size: 34px;
    color: rgba(255, 255, 255, .12);
    z-index: 1;
}

.bd-pcard-badge {
    position: absolute;
    bottom: 10px;
    left: 12px;
    z-index: 2;
    background: rgba(255, 255, 255, .14);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 8.5px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 5px;
}

.bd-pcard-body {
    padding: 14px 16px 17px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bd-pcard-cat {
    font-size: 9.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bd-vina);
    margin-bottom: 7px;
}

.bd-pcard-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--bd-nz);
    line-height: 1.44;
    flex: 1;
    margin-bottom: 9px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bd-pcard-excerpt {
    font-size: 12px;
    color: var(--bd-muted);
    line-height: 1.65;
    margin-bottom: 13px;
}

.bd-pcard-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 11px;
    border-top: 1px solid var(--bd-border);
}

.bd-pcard-auth {
    display: flex;
    align-items: center;
    gap: 7px;
}

.bd-pcard-auth .bd-pcard-date {
    margin-left: auto;
}

.bd-pcard-av {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--bd-nz), var(--bd-nz-2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    overflow: hidden;
}

.bd-pcard-av img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-pcard-aname {
    font-size: 11px;
    font-weight: 500;
    color: var(--bd-muted);
}

.bd-pcard-date {
    font-size: 10.5px;
    color: var(--bd-muted2);
}

.bd-pcard-verified {
    color: #4ade80;
    font-size: 13px;
    flex-shrink: 0;
}

/* ── TAGS ── */
.bd-tags-wrap {
    background: var(--bd-card);
    border-top: 1px solid var(--bd-border);
    padding: 22px 0;
}

.bd-tags-inner {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.bd-tags-lbl {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--bd-nz);
    white-space: nowrap;
    padding-top: 5px;
}

.bd-tags-lbl i {
    color: var(--bd-vina);
}

.bd-tags-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bd-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--bd-bg);
    border: 1.5px solid var(--bd-border);
    color: var(--bd-nz);
    font-size: 11.5px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}

.bd-tag:hover {
    background: var(--bd-nz);
    border-color: var(--bd-nz);
    color: #fff;
}

.bd-tag .bd-hash {
    color: var(--bd-vina);
    font-size: 11px;
    font-weight: 800;
}

.bd-tag:hover .bd-hash {
    color: rgba(255, 150, 130, .8);
}

/* ── ANIMATIONS ── */
@keyframes bdFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.bd-fi {
    animation: bdFadeUp .55s cubic-bezier(.22, 1, .36, 1) both;
}

.bd-fi:nth-child(1) {
    animation-delay: .04s;
}

.bd-fi:nth-child(2) {
    animation-delay: .12s;
}

.bd-fi:nth-child(3) {
    animation-delay: .20s;
}

.bd-fi:nth-child(4) {
    animation-delay: .28s;
}

.bd-fi:nth-child(5) {
    animation-delay: .36s;
}

.bd-fi:nth-child(6) {
    animation-delay: .44s;
}

@keyframes bdFadeLeft {
    from {
        opacity: 0;
        transform: translateX(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.bd-fl {
    animation: bdFadeLeft .52s cubic-bezier(.22, 1, .36, 1) .08s both;
}

/* ── PRIVATE CONTENT ── */
.bd-private-box {
    text-align: center;
    padding: 40px 24px;
    border: 1px solid var(--bd-border);
    border-radius: 14px;
    background: var(--bd-card);
    margin-top: 20px;
}

.bd-private-box h5 {
    font-weight: 800;
    color: var(--bd-nz);
    margin-bottom: 12px;
}

.bd-private-box p {
    color: var(--bd-muted);
    margin-bottom: 16px;
}

.bd-private-box .btn {
    background: var(--bd-nz);
    border: none;
    border-radius: 10px;
    padding: 10px 24px;
    font-weight: 700;
}

.bd-private-box .btn:hover {
    background: var(--bd-nz-2);
}

/* ── TOC overrides ── */
.builder-toc {
    border: 1px solid var(--bd-border);
    border-radius: 12px;
    background: var(--bd-card);
    margin: 20px 0;
}

.toc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
}

.toc-title {
    font-weight: 600;
}

.toc-toggle {
    background: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 4px 8px;
    cursor: pointer;
}

.toc-body {
    padding: 0 16px 12px;
    display: block;
}

.toc-list {
    list-style: none;
    padding-left: 0;
}

.toc-level-2 {
    padding-left: 0;
    font-weight: 800;
}

.toc-level-3 {
    padding-left: 16px;
    font-weight: 500;
}

.toc-level-4 {
    padding-left: 32px;
    font-weight: 300;
}

.builder-toc.toc-closed .toc-body {
    display: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .bd-layout {
        grid-template-columns: 1fr;
    }

    .bd-rel-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bd-hero {
        height: 400px;
    }

    .bd-page-body .bd-wrap {
        margin-top: -180px;
    }
}

@media (max-width: 575px) {
    .bd-rel-grid {
        grid-template-columns: 1fr;
    }

    .bd-hero {
        height: 340px;
    }

    .bd-hero-title {
        font-size: 20px;
    }

    .bd-page-body .bd-wrap {
        margin-top: -140px;
    }

    .bd-hm {
        font-size: 11px;
        padding: 0 10px 0 0;
        margin-right: 10px;
    }

    .bd-tags-inner {
        flex-direction: column;
        gap: 10px;
    }

    .bd-sc-deco {
        display: none;
    }

    .bd-hero-inner {
        padding-bottom: 160px;
    }

    .bd-hero-content {
        padding: 0 16px;
    }

    .bd-wrap {
        padding: 0 16px;
    }

    .bd-hero-ring.bd-r1 {
        width: 220px;
        height: 220px;
        border-width: 28px;
    }

    .bd-hero-ring.bd-r2 {
        display: none;
    }

    .bd-callout {
        padding: 14px 16px;
        gap: 10px;
    }

    .bd-rel-wrap {
        padding: 32px 0 28px;
    }
}

/* ── MISC ── */
tbody {
    border-width: 2px;
}

article.fck_detail {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.title-detail {
    overflow-wrap: break-word;
}

.author-box img {
    border: 1px solid #dddddd64;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}