/* ==========================================================================
   KHO VĂN BẢN GIÁO HỘI PHẬT GIÁO VIỆT NAM — NHIỆM KỲ X (2026–2031)
   Đồng bộ 100% hệ màu & vật liệu Liquid Glass của https://daihoiphatgiao.ghpgvn.vn/
   (--brand-blue: #0b5eaa | --brand-blue-deep: #08477f | --brand-red: #e01924 |
    --brand-green: #008348 | --brand-yellow: #ffd400 | Nền kính sáng #edf7fd -> #eef8f4)
   ========================================================================== */

/* 1. Thanh sự kiện & Header Liquid Glass */
.event-strip a.vbgh-top-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}
.event-strip a.vbgh-top-admin-link:hover {
    background: rgba(255, 212, 0, 0.26);
    border-color: rgba(255, 212, 0, 0.65);
    color: #fffef0 !important;
}

.vbgh-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: auto;
}
.vbgh-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
    box-shadow: 0 6px 16px -6px rgba(0, 104, 58, 0.38), 0 0 0 1.5px rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
    display: block;
}
.vbgh-brand-emblem {
    width: 46px;
    height: 46px;
    border-radius: 15px;
    background:
        radial-gradient(40px 26px at 28% 8%, rgba(255, 255, 255, 0.42), transparent 72%),
        linear-gradient(140deg, var(--brand-blue), var(--brand-blue-deep));
    color: var(--brand-yellow);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.45),
        0 10px 20px -12px rgba(8, 71, 127, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    flex-shrink: 0;
}
.vbgh-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.18;
}
.vbgh-brand-text strong {
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 900;
    color: var(--brand-blue-deep);
    letter-spacing: -0.015em;
}
.vbgh-brand-text small {
    margin-top: 2px;
    font-size: 10px;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.site-header .header-inner {
    gap: 10px;
}
.site-header .menu {
    gap: 3px;
    flex-wrap: nowrap;
}
.site-header .nav-link {
    padding: 9px 11px;
    font-size: 11.5px;
    white-space: nowrap;
}
.header-date.vbgh-qr-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}
.header-date.vbgh-qr-pill .icon {
    color: var(--brand-yellow);
}
.header-date.vbgh-qr-pill strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.countdown .vbgh-stat-pct {
    font-size: clamp(24px, 2.35vw, 33px) !important;
    letter-spacing: -0.04em !important;
}

@media (max-width: 1180px) {
    .site-header .header-search {
        flex-basis: 145px;
    }
    .site-header .nav-link {
        padding: 8px 8px;
        font-size: 11px;
    }
}

/* 2. Hero Trang chủ — Đồng bộ Liquid Glass Royal Blue + Emerald + Crimson */
.vbgh-home-hero-wrap {
    padding: 18px 0 0;
}
.vbgh-home-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(28px, 3.8vw, 46px) clamp(24px, 4vw, 48px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.85);
    background:
        radial-gradient(540px 260px at 8% -5%, rgba(255, 255, 255, 0.24), transparent 72%),
        radial-gradient(460px 300px at 95% 112%, rgba(0, 131, 72, 0.30), transparent 72%),
        radial-gradient(380px 240px at 55% 110%, rgba(255, 212, 0, 0.14), transparent 70%),
        linear-gradient(118deg, #06497f 0%, #0b5eaa 56%, #073d70 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 32px 68px -38px rgba(8, 71, 127, 0.65);
}
.vbgh-home-hero::before {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -210px;
    width: 460px;
    height: 460px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 58px rgba(255, 255, 255, 0.03), 0 0 0 116px rgba(255, 255, 255, 0.018);
    pointer-events: none;
}
.vbgh-home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 36px;
    align-items: center;
}
@media (max-width: 920px) {
    .vbgh-home-hero-grid {
        grid-template-columns: 1fr;
    }
}
.vbgh-home-hero h1 {
    margin: 0 0 12px;
    color: #fff !important;
    font: 900 clamp(30px, 4.1vw, 52px)/1.08 var(--serif);
    letter-spacing: -0.04em;
    text-shadow: 0 10px 24px rgba(0, 25, 51, 0.2);
}
.vbgh-home-hero h1 em {
    font-style: normal;
    color: var(--brand-yellow);
}
.vbgh-home-hero p.vbgh-hero-lead {
    margin: 0 0 22px;
    max-width: 720px;
    color: #e2f0fa;
    font-size: clamp(14px, 1.35vw, 16px);
    line-height: 1.68;
}

.vbgh-search-box {
    display: flex;
    align-items: center;
    max-width: 700px;
    padding: 5px 6px 5px 18px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(235, 246, 254, 0.88));
    box-shadow:
        inset 0 1px 0 #fff,
        0 20px 38px -22px rgba(0, 22, 46, 0.58);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.vbgh-search-box input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 10px 8px;
    font: 600 14.5px/1.3 var(--sans);
    color: var(--brand-blue-deep);
}
.vbgh-search-box input::placeholder {
    color: #5c7890;
}
.vbgh-search-box button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 22px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 13px;
    background: linear-gradient(135deg, var(--brand-red), #b80f19);
    color: #fff;
    font: 800 13.5px/1 var(--sans);
    letter-spacing: 0.02em;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 20px -12px rgba(184, 15, 25, 0.85);
    transition: transform 0.2s ease, filter 0.2s ease;
}
.vbgh-search-box button:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
}

.vbgh-hero-hints {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: #cae2f4;
}
.vbgh-hero-hints a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.11);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    text-decoration: none;
    backdrop-filter: blur(10px);
}
.vbgh-hero-hints a:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 212, 0, 0.6);
    color: var(--brand-yellow);
}

/* 3. Thanh Đối tượng Áp dụng — Liquid Glass Pill Strip */
.vbgh-audience-bar {
    margin: 22px auto 0;
    padding: 15px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    background:
        radial-gradient(280px 90px at 10% 0, rgba(255, 255, 255, 0.96), transparent 75%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.74), rgba(218, 239, 253, 0.44));
    box-shadow: inset 0 1px 0 #fff, 0 20px 42px -34px rgba(8, 71, 127, 0.55);
    backdrop-filter: blur(22px) saturate(175%);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
}
.vbgh-audience-bar strong {
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-blue-deep);
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.vbgh-audience-bar strong .icon {
    color: var(--brand-red);
}
.vbgh-aud-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: inset 0 1px 0 #fff, 0 8px 18px -14px rgba(8, 71, 127, 0.48);
    color: var(--brand-blue-deep);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.2s ease;
}
.vbgh-aud-pill:hover {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

/* 4. Bổ sung chu kỳ màu 4–5–6 cho thẻ Chuyên mục (.schedule-days) giống hệt Đại hội X */
.vbgh-schedule-cats li,
.vbgh-schedule-cats li.has-link {
    min-height: 295px;
}
.vbgh-schedule-cats li:nth-child(4)::after { background: var(--brand-red); }
.vbgh-schedule-cats li:nth-child(4)::before { background: rgba(224, 25, 36, 0.075); box-shadow: 0 0 0 28px rgba(224, 25, 36, 0.022); }
.vbgh-schedule-cats li:nth-child(4) time b,
.vbgh-schedule-cats li:nth-child(4) time span,
.vbgh-schedule-cats li:nth-child(4) .schedule-cta { color: var(--brand-red); }
.vbgh-schedule-cats li:nth-child(4) .schedule-card-icon {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 211, 214, 0.46));
    color: var(--brand-red);
}

.vbgh-schedule-cats li:nth-child(5) {
    background:
        radial-gradient(320px 150px at 14% -10%, rgba(255, 255, 255, 0.98), transparent 74%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 226, 228, 0.46));
}
.vbgh-schedule-cats li:nth-child(5)::after {
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-red), var(--brand-yellow));
    height: 4px;
}
.vbgh-schedule-cats li:nth-child(5) time b,
.vbgh-schedule-cats li:nth-child(5) time span,
.vbgh-schedule-cats li:nth-child(5) .schedule-cta { color: var(--brand-blue-deep); }

.vbgh-schedule-cats li:nth-child(6)::after { background: var(--brand-green); }
.vbgh-schedule-cats li:nth-child(6)::before { background: rgba(0, 131, 72, 0.08); box-shadow: 0 0 0 28px rgba(0, 131, 72, 0.025); }
.vbgh-schedule-cats li:nth-child(6) time b,
.vbgh-schedule-cats li:nth-child(6) time span,
.vbgh-schedule-cats li:nth-child(6) .schedule-cta { color: var(--brand-green); }
.vbgh-schedule-cats li:nth-child(6) .schedule-card-icon {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(195, 235, 214, 0.48));
    color: var(--brand-green);
}

/* 5. Danh sách Văn bản — Chuẩn Liquid Glass .toc-item của daihoiphatgiao.ghpgvn.vn */
.vbgh-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}
.vbgh-doc-row {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 22px 19px 25px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 22px;
    background:
        radial-gradient(320px 120px at 8% -20%, rgba(255, 255, 255, 0.96), transparent 74%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.74), rgba(216, 238, 252, 0.42));
    box-shadow:
        inset 0 1px 0 #fff,
        0 22px 44px -36px rgba(8, 71, 127, 0.62);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.vbgh-doc-row::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--brand-blue);
}
.vbgh-doc-row:nth-child(3n+2)::before { background: var(--brand-red); }
.vbgh-doc-row:nth-child(3n)::before { background: var(--brand-green); }

.vbgh-doc-row:hover {
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 #fff,
        0 30px 56px -35px rgba(8, 71, 127, 0.72);
}

.vbgh-doc-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
}
.vbgh-doc-num {
    width: 54px;
    height: 54px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 17px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(185, 222, 247, 0.46));
    box-shadow: inset 0 1px 0 #fff, 0 12px 22px -18px rgba(8, 71, 127, 0.55);
    color: var(--brand-blue);
    font: 900 21px/1 var(--serif);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.vbgh-doc-row:nth-child(3n+2) .vbgh-doc-num {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 211, 214, 0.44));
    color: var(--brand-red);
}
.vbgh-doc-row:nth-child(3n) .vbgh-doc-num {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(195, 235, 214, 0.46));
    color: var(--brand-green);
}

.vbgh-doc-info {
    min-width: 0;
    flex: 1;
}
.vbgh-doc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #5b7388;
}
.vbgh-doc-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.vbgh-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: inset 0 1px 0 #fff;
    color: var(--brand-blue);
}
.vbgh-badge-code {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 220, 222, 0.55));
    color: var(--brand-red);
}
.vbgh-doc-title {
    display: block;
    font: 800 clamp(15.5px, 1.45vw, 18px)/1.44 var(--serif);
    color: var(--brand-blue-deep);
    text-decoration: none;
    letter-spacing: -0.015em;
}
.vbgh-doc-title:hover {
    color: var(--brand-red);
}
.vbgh-doc-sub {
    margin: 6px 0 0;
    font-size: 13px;
    color: #5a7186;
    line-height: 1.56;
}
.vbgh-doc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
@media (max-width: 820px) {
    .vbgh-doc-row {
        flex-direction: column;
        align-items: stretch;
        padding: 17px 18px 17px 21px;
    }
    .vbgh-doc-main {
        align-items: flex-start;
    }
    .vbgh-doc-num {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
    .vbgh-doc-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
        padding-top: 12px;
        border-top: 1px solid rgba(93, 145, 184, 0.16);
    }
}

/* 6. Nhãn Tình trạng Hiệu lực & Nút kính màu (Liquid Glass Buttons) */
.st-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}
.st-effective { background: rgba(220, 252, 231, 0.88); color: #065f46; border: 1px solid rgba(16, 185, 129, 0.35); }
.st-upcoming { background: rgba(219, 234, 254, 0.88); color: #1e40af; border: 1px solid rgba(59, 130, 246, 0.35); }
.st-amended { background: rgba(254, 243, 199, 0.9); color: #92400e; border: 1px solid rgba(245, 158, 11, 0.38); }
.st-replaced { background: rgba(241, 245, 249, 0.9); color: #475569; border: 1px solid #cbd5e1; }
.st-revoked { background: rgba(254, 226, 226, 0.92); color: #991b1b; border: 1px solid rgba(239, 68, 68, 0.38); }
.st-pending { background: rgba(250, 232, 255, 0.9); color: #86198f; border: 1px solid #f0abfc; }

.btn-vbgh {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 13px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.88);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.btn-vbgh-view {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(214, 236, 251, 0.52));
    color: var(--brand-blue-deep);
    box-shadow: inset 0 1px 0 #fff, 0 12px 22px -18px rgba(8, 71, 127, 0.6);
}
.btn-vbgh-view:hover {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    transform: translateY(-1px);
}
.btn-vbgh-download {
    border-color: rgba(255, 255, 255, 0.45);
    background:
        radial-gradient(80px 40px at 25% 0, rgba(255, 255, 255, 0.28), transparent 72%),
        linear-gradient(135deg, var(--brand-red), #b80f19);
    color: #fff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.36), 0 13px 24px -15px rgba(224, 25, 36, 0.78);
}
.btn-vbgh-download:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
    color: #fff !important;
}
.btn-vbgh-gold {
    background: linear-gradient(145deg, #fffbeb, #fde68a);
    color: #78350f !important;
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow: inset 0 1px 0 #fff, 0 10px 20px -15px rgba(180, 83, 9, 0.5);
}

/* 7. Thanh Chip Chuyên mục & Khung Bộ lọc Đa tiêu chí — Liquid Glass */
.vbgh-chip-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: inset 0 1px 0 #fff, 0 20px 40px -34px rgba(8, 71, 127, 0.55);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.vbgh-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--brand-blue-deep);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.18s ease;
}
.vbgh-chip span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(11, 94, 170, 0.1);
    color: var(--brand-blue);
    font-size: 10.5px;
}
.vbgh-chip:hover,
.vbgh-chip.is-active {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}
.vbgh-chip:hover span,
.vbgh-chip.is-active span {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.vbgh-filter-panel {
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 24px;
    padding: 22px 24px;
    margin-bottom: 24px;
    background:
        radial-gradient(360px 140px at 8% -15%, rgba(255, 255, 255, 0.98), transparent 74%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.78), rgba(218, 239, 253, 0.45));
    box-shadow: inset 0 1px 0 #fff, 0 24px 50px -38px rgba(8, 71, 127, 0.6);
    backdrop-filter: blur(26px) saturate(175%);
    -webkit-backdrop-filter: blur(26px) saturate(175%);
}
.vbgh-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
@media (max-width: 960px) {
    .vbgh-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .vbgh-filter-grid { grid-template-columns: 1fr; }
}
.vbgh-filter-item label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-blue-deep);
    margin-bottom: 5px;
}
.vbgh-filter-item input,
.vbgh-filter-item select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid rgba(11, 94, 170, 0.18);
    border-radius: 12px;
    font: 600 13px/1.3 var(--sans);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 #fff;
    color: var(--ink);
}
.vbgh-filter-item input:focus,
.vbgh-filter-item select:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(11, 94, 170, 0.12);
}

/* 8. Trang Chi tiết Hồ sơ 2 Cột & Khung Đối chiếu QR — Liquid Glass */
.vbgh-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    align-items: start;
}
@media (max-width: 980px) {
    .vbgh-detail-grid {
        grid-template-columns: 1fr;
    }
}
.vbgh-meta-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.94);
    background:
        radial-gradient(420px 160px at 6% -5%, rgba(255, 255, 255, 0.98), transparent 75%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(226, 241, 251, 0.52));
    box-shadow: inset 0 1px 0 #fff, 0 28px 56px -42px rgba(8, 71, 127, 0.65);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}
.vbgh-meta-table th,
.vbgh-meta-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(105, 153, 188, 0.18);
    font-size: 14px;
    text-align: left;
    vertical-align: top;
}
.vbgh-meta-table th {
    width: 190px;
    background: rgba(225, 240, 252, 0.52);
    color: var(--brand-blue-deep);
    font-weight: 800;
    font-size: 12.5px;
}

.vbgh-qr-card {
    position: sticky;
    top: 102px;
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: 22px;
    background:
        radial-gradient(260px 110px at 12% -12%, rgba(255, 255, 255, 0.98), transparent 76%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(220, 238, 250, 0.5));
    box-shadow: inset 0 1px 0 #fff, 0 26px 52px -40px rgba(8, 71, 127, 0.68);
    backdrop-filter: blur(24px) saturate(170%);
    -webkit-backdrop-filter: blur(24px) saturate(170%);
}
.vbgh-qr-box {
    background: #ffffff;
    border: 1px solid rgba(11, 94, 170, 0.16);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    margin: 12px 0;
    box-shadow: 0 12px 24px -18px rgba(8, 71, 127, 0.35);
}
.vbgh-qr-box svg {
    width: 168px;
    height: 168px;
    display: block;
    margin: 0 auto;
}
.vbgh-hash-box {
    font-family: Consolas, monospace;
    font-size: 11px;
    word-break: break-all;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(11, 94, 170, 0.14);
    padding: 8px 10px;
    border-radius: 10px;
    color: #36536d;
}

/* 9. Khung đọc PDF trực tuyến & Hệ Quản trị — Liquid Glass */
.vbgh-pdf-viewer-box {
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: inset 0 1px 0 #fff, 0 26px 54px -40px rgba(8, 71, 127, 0.65);
}
.vbgh-pdf-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(222, 240, 253, 0.62));
    border-bottom: 1px solid rgba(105, 153, 188, 0.2);
    color: var(--brand-blue-deep);
}
.vbgh-pdf-frame {
    width: 100%;
    height: 820px;
    border: 0;
    display: block;
    background: #334155;
}
@media (max-width: 640px) {
    .vbgh-pdf-frame { height: 520px; }
}

.admin-card {
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 26px;
    padding: 28px;
    background:
        radial-gradient(440px 160px at 8% -12%, rgba(255, 255, 255, 0.98), transparent 75%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(222, 240, 252, 0.5));
    box-shadow: inset 0 1px 0 #fff, 0 28px 56px -42px rgba(8, 71, 127, 0.65);
    backdrop-filter: blur(26px) saturate(175%);
    -webkit-backdrop-filter: blur(26px) saturate(175%);
}
.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.admin-tab {
    padding: 10px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 #fff, 0 10px 20px -16px rgba(8, 71, 127, 0.5);
    color: var(--brand-blue-deep);
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.18s ease;
}
.admin-tab:hover {
    background: rgba(255, 255, 255, 0.92);
    transform: translateY(-1px);
}
.admin-tab.is-active {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 26px -16px rgba(8, 71, 127, 0.78);
}
.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}
@media (max-width: 860px) {
    .admin-form-grid { grid-template-columns: 1fr; }
}
.admin-field { display: flex; flex-direction: column; gap: 5px; }
.admin-field.span-2 { grid-column: span 2; }
.admin-field.full { grid-column: 1 / -1; }
@media (max-width: 860px) {
    .admin-field.span-2 { grid-column: span 1; }
}
.admin-field label {
    font-size: 12px;
    font-weight: 800;
    color: var(--brand-blue-deep);
}
.admin-field input,
.admin-field select,
.admin-field textarea {
    padding: 10px 13px;
    border: 1px solid rgba(11, 94, 170, 0.2);
    border-radius: 12px;
    font-size: 14px;
    font-family: var(--sans);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: inset 0 1px 0 #fff;
}
.admin-field input:focus,
.admin-field select:focus,
.admin-field textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(11, 94, 170, 0.12);
}


/* === Bố cục Toàn văn Biên tập & Điểm nhấn (Đồng bộ mô hình Tham luận / Văn kiện Đại hội X) === */
.vbgh-side-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 100px;
    align-self: start;
}
.vbgh-side-stack .vbgh-qr-card {
    position: static !important;
}
.vbgh-toc-card {
    padding: 22px 20px;
    border: 1px solid rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    background:
        radial-gradient(260px 110px at 12% -12%, rgba(255, 255, 255, 0.98), transparent 76%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(220, 238, 250, 0.52));
    box-shadow: inset 0 1px 0 #fff, 0 26px 52px -40px rgba(8, 71, 127, 0.65);
    backdrop-filter: blur(22px) saturate(165%);
    -webkit-backdrop-filter: blur(22px) saturate(165%);
}
.vbgh-toc-eyebrow {
    margin: 0 0 5px;
    color: var(--brand-red);
    font-size: 9.5px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}
.vbgh-toc-title {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(94, 143, 178, 0.22);
    color: var(--brand-blue-deep);
    font: 900 18.5px/1.25 var(--serif);
    letter-spacing: -0.015em;
}
.vbgh-toc-nav {
    display: grid;
    gap: 3px;
    max-height: 410px;
    overflow-y: auto;
    padding-right: 4px;
}
.vbgh-toc-nav a {
    position: relative;
    display: block;
    padding: 7px 10px 7px 18px;
    border-radius: 10px;
    color: #365670;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
}
.vbgh-toc-nav a::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 13px;
    width: 6px;
    height: 6px;
    border: 1.5px solid var(--brand-blue);
    border-radius: 50%;
    background: #fff;
}
.vbgh-toc-nav a.is-sub {
    padding-left: 28px;
    color: #5d768a;
    font-size: 11.8px;
    font-weight: 600;
}
.vbgh-toc-nav a.is-sub::before {
    left: 15px;
    width: 4px;
    height: 4px;
    border: 0;
    background: #93acc0;
}
.vbgh-toc-nav a:hover {
    background: rgba(255, 255, 255, 0.82);
    color: var(--brand-red);
    transform: translateX(2px);
}
.vbgh-toc-nav a:hover::before {
    border-color: var(--brand-red);
    background: var(--brand-red);
}

/* Khung bài viết toàn văn chuẩn biên tập Đại hội */
.vbgh-editorial-paper {
    margin-top: 26px;
    padding: clamp(24px, 3.4vw, 44px);
    border: 1px solid rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    background:
        radial-gradient(520px 190px at 6% -2%, rgba(255, 255, 255, 0.99), transparent 76%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(232, 244, 252, 0.68));
    box-shadow: inset 0 1px 0 #fff, 0 32px 68px -46px rgba(8, 71, 127, 0.68);
    backdrop-filter: blur(26px) saturate(165%);
    -webkit-backdrop-filter: blur(26px) saturate(165%);
}
.vbgh-ed-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(96, 142, 176, 0.2);
}
.vbgh-ed-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}
.vbgh-ed-kicker i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-red);
    box-shadow: 0 0 0 4px rgba(224, 25, 36, 0.12);
}
.vbgh-ed-search {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: min(330px, 100%);
    padding: 7px 14px;
    border-radius: 999px;
    border: 1.5px solid rgba(11, 94, 170, 0.2);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 1px 0 #fff;
}
.vbgh-ed-search input {
    flex: 1;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 13.5px;
    color: var(--brand-blue-deep);
    font-weight: 500;
}

/* Hộp Tóm tắt & Điểm nhấn trọng tâm */
.vbgh-highlight-summary {
    position: relative;
    margin: 0 0 30px;
    padding: 22px 26px 22px 28px;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-left: 4.5px solid var(--brand-red);
    border-radius: 6px 22px 22px 6px;
    background:
        radial-gradient(280px 120px at 95% 0%, rgba(255, 212, 0, 0.12), transparent 72%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(224, 240, 252, 0.62));
    box-shadow: inset 0 1px 0 #fff, 0 18px 38px -28px rgba(8, 71, 127, 0.45);
}
.vbgh-highlight-summary-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
    color: var(--brand-blue-deep);
    font: 900 17px/1.3 var(--serif);
}
.vbgh-highlight-summary-head span {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(224, 25, 36, 0.1);
    color: var(--brand-red);
    font: 800 10px/1.2 var(--sans);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.vbgh-highlight-summary p {
    margin: 0;
    color: #1c3952;
    font-size: 16px;
    line-height: 1.78;
    text-align: justify;
}
.vbgh-highlight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(11, 94, 170, 0.18);
}
.vbgh-highlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(11, 94, 170, 0.15);
    font-size: 12px;
    color: #35546e;
}
.vbgh-highlight-pill b {
    color: var(--brand-blue-deep);
}
.vbgh-highlight-related {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 248, 220, 0.85);
    border: 1px solid rgba(217, 155, 0, 0.28);
    color: #7c4d00;
    font-size: 13.5px;
    font-weight: 600;
}

/* Nội dung biên tập chi tiết */
.vbgh-ed-body {
    color: #243b50;
    font-size: 16.5px;
    line-height: 1.88;
}
.vbgh-ed-dochead {
    text-align: center;
    margin: 4px auto 28px;
    padding: 18px 20px 22px;
    border-bottom: 1px solid rgba(11, 94, 170, 0.14);
}
.vbgh-ed-dochead .vbgh-dochead-type {
    display: inline-block;
    margin-bottom: 6px;
    padding: 4px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(11, 94, 170, 0.1), rgba(224, 25, 36, 0.08));
    color: var(--brand-red);
    font: 900 12px/1.3 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.vbgh-ed-dochead h3 {
    margin: 4px 0 0 !important;
    color: var(--brand-blue-deep) !important;
    font: 900 clamp(19px, 2.1vw, 24px)/1.38 var(--serif) !important;
}
.vbgh-ed-dochead .vbgh-dochead-ornament {
    margin-top: 12px;
    color: var(--brand-red);
    font-size: 12px;
    letter-spacing: 0.3em;
    opacity: 0.75;
}

.vbgh-ed-h2 {
    position: relative;
    margin: 2.1em 0 0.85em !important;
    padding: 2px 0 12px 18px !important;
    border-bottom: 1px solid rgba(87, 139, 177, 0.22) !important;
    color: var(--brand-blue-deep) !important;
    font: 900 clamp(20px, 2.1vw, 25px)/1.34 var(--serif) !important;
    letter-spacing: -0.015em;
    scroll-margin-top: 115px;
}
.vbgh-ed-h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 5px;
    height: calc(100% - 14px);
    border-radius: 99px;
    background: linear-gradient(180deg, var(--brand-red), #ff8a4c);
}

.vbgh-ed-h3 {
    margin: 1.55em 0 0.6em !important;
    color: #0a5c94 !important;
    font: 800 18.5px/1.42 var(--serif) !important;
    scroll-margin-top: 115px;
}

.vbgh-ed-pivot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 26px 0 20px;
}
.vbgh-ed-pivot::before,
.vbgh-ed-pivot::after {
    content: "";
    flex: 1;
    max-width: 120px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(224, 25, 36, 0.45), transparent);
}
.vbgh-ed-pivot span {
    padding: 6px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-red), #b5121b);
    color: #fff;
    font: 900 13px/1.2 var(--serif);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px -10px rgba(217, 27, 36, 0.6);
}

.vbgh-preamble-line {
    margin: 0 0 10px !important;
    padding: 4px 0 4px 16px;
    border-left: 2.5px solid rgba(11, 94, 170, 0.22);
    color: #3b556d;
    font-style: italic;
    font-size: 15.8px;
    line-height: 1.78;
}

.vbgh-dieu-card {
    margin: 14px 0;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid rgba(11, 94, 170, 0.13);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: inset 0 1px 0 #fff, 0 10px 24px -20px rgba(8, 71, 127, 0.4);
    scroll-margin-top: 115px;
    text-align: justify;
}
.vbgh-dieu-card.is-prime {
    border-left: 4px solid var(--brand-blue);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(223, 241, 254, 0.62));
    box-shadow: inset 0 1px 0 #fff, 0 16px 32px -24px rgba(8, 71, 127, 0.55);
}
.vbgh-dieu-badge {
    display: inline-block;
    margin-right: 8px;
    padding: 3px 11px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-deep));
    color: #fff;
    font: 800 13.5px/1.35 var(--sans);
    letter-spacing: 0.02em;
    vertical-align: baseline;
}
.vbgh-dieu-card.is-prime .vbgh-dieu-badge {
    background: linear-gradient(135deg, var(--brand-red), #b5121b);
}
.vbgh-dieu-lead {
    color: var(--brand-blue-deep);
    font-weight: 800;
    font-family: var(--serif);
}

.vbgh-callout-quote {
    margin: 18px 0;
    padding: 18px 22px 18px 24px;
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-left: 4px solid var(--brand-green);
    border-radius: 4px 18px 18px 4px;
    background: linear-gradient(135deg, rgba(244, 253, 248, 0.92), rgba(221, 243, 232, 0.52));
    box-shadow: inset 0 1px 0 #fff;
    color: #154634;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.78;
}

.vbgh-ed-para {
    margin: 0 0 14px;
    text-align: justify;
}
.vbgh-ed-item {
    position: relative;
    margin: 0 0 11px;
    padding-left: 14px;
    text-align: justify;
}
.vbgh-ed-marker {
    display: inline-block;
    min-width: 22px;
    margin-right: 4px;
    color: var(--brand-blue);
    font-weight: 800;
}

/* Bảng danh sách nhân sự / biểu mẫu chuẩn Liquid Glass */
.vbgh-ed-table-wrap {
    margin: 18px 0 26px;
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid rgba(11, 94, 170, 0.18);
    background: #fff;
    box-shadow: 0 16px 36px -26px rgba(8, 71, 127, 0.45);
}
.vbgh-ed-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
    line-height: 1.55;
}
.vbgh-ed-table thead th {
    padding: 12px 14px;
    background: linear-gradient(135deg, #08477f, #0b5eaa);
    color: #fff;
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-align: left;
    border-bottom: 2px solid rgba(255, 212, 0, 0.55);
}
.vbgh-ed-table tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid rgba(11, 94, 170, 0.09);
    color: #213a50;
    vertical-align: top;
}
.vbgh-ed-table tbody tr:nth-child(even) td {
    background: rgba(235, 245, 253, 0.52);
}
.vbgh-ed-table tbody tr:hover td {
    background: rgba(255, 248, 224, 0.65);
}

/* Khung Nơi nhận & Người ký cuối văn bản */
.vbgh-ed-signbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 24px 0 28px;
    padding: 18px 22px;
    border-radius: 18px;
    border: 1px dashed rgba(11, 94, 170, 0.24);
    background: rgba(248, 252, 255, 0.85);
}
.vbgh-ed-sign-left {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4b6378;
    font-style: italic;
}
.vbgh-ed-sign-right {
    text-align: center;
    font-family: var(--serif);
    font-weight: 800;
    font-size: 15px;
    line-height: 1.6;
    color: var(--brand-blue-deep);
}
@media (max-width: 720px) {
    .vbgh-ed-signbox {
        grid-template-columns: 1fr;
    }
    .vbgh-ed-body {
        font-size: 15.5px;
    }
}
