/**
 * Giao diện public — Be Vietnam Pro, thẻ bo tròn, navbar trắng.
 * Màu chủ đạo: xanh dương.
 */
:root {
    --vh-font: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    /* Chủ đạo xanh dương */
    --vh-primary: #2563eb;
    --vh-primary-dark: #1d4ed8;
    --vh-primary-light: #3b82f6;
    --vh-primary-soft: rgba(37, 99, 235, 0.12);
    --vh-primary-glow: rgba(37, 99, 235, 0.28);
    /* Phụ trợ */
    --vh-blue-deep: #1e40af;
    --vh-blue-soft: #e8f0fe;
    --vh-navy: #1a2b4a;
    --vh-slate: #334155;
    --vh-cream: #f8fafc;
    --vh-ice: #eff6ff;
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
    --bs-link-color: #1d4ed8;
    --bs-link-hover-color: #1e3a8a;
}

body.vh-site {
    font-family: var(--vh-font);
    color: #1e293b;
    background: linear-gradient(165deg, var(--vh-cream) 0%, var(--vh-ice) 38%, #ffffff 72%);
    background-attachment: fixed;
    min-height: 100vh;
}

body.vh-site .vh-main {
    flex: 1;
}

/* —— Preheader —— */
.vh-preheader {
    background: var(--vh-navy);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 0.35rem 0;
    border-bottom: 3px solid var(--vh-primary);
}

/* —— Navbar —— */
.vh-navbar {
    background: #fff !important;
    box-shadow: 0 4px 28px rgba(26, 43, 74, 0.09);
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
}

.vh-navbar .navbar-brand {
    font-weight: 800;
    font-size: 1.28rem;
    color: var(--vh-navy) !important;
    letter-spacing: -0.03em;
    min-width: 0;
    max-width: calc(100% - 3.25rem);
}

.vh-navbar .navbar-brand.navbar-brand--logo {
    max-width: none;
    flex-shrink: 0;
}

.vh-navbar .navbar-brand .vh-brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vh-navbar .navbar-brand .vh-brand-logo {
    display: block;
    height: 2.5rem;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: left center;
}

.vh-navbar .navbar-brand .vh-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--vh-primary) 0%, var(--vh-primary-light) 100%);
    color: #fff;
    font-size: 1.1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
    box-shadow: 0 4px 14px var(--vh-primary-glow);
}

.vh-navbar .nav-link {
    color: var(--vh-slate) !important;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 10px;
    transition: color 0.15s, background 0.15s;
}

.vh-navbar .nav-link:hover,
.vh-navbar .nav-link:focus {
    color: var(--vh-primary) !important;
    background: var(--vh-primary-soft);
}

.vh-navbar .navbar-toggler {
    border-color: rgba(37, 99, 235, 0.35);
    border-radius: 10px;
}

.vh-navbar .navbar-toggler-icon {
    filter: brightness(0.35);
}

.vh-navbar .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(26, 43, 74, 0.12);
    padding: 0.5rem;
}

.vh-navbar .dropdown-item {
    border-radius: 10px;
    font-weight: 500;
}

.vh-navbar .dropdown-item:hover {
    background: var(--vh-primary-soft);
    color: var(--vh-primary-dark);
}

/* Nút CTA navbar */
body.vh-site .vh-navbar .btn-vh-outline {
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.45rem 1.15rem;
    border: 2px solid var(--vh-primary);
    color: var(--vh-primary);
    background: transparent;
}

body.vh-site .vh-navbar .btn-vh-outline:hover {
    background: var(--vh-primary-soft);
    color: var(--vh-primary-dark);
}

body.vh-site .vh-navbar .btn-vh-primary {
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.45rem 1.15rem;
    background: linear-gradient(135deg, var(--vh-primary) 0%, var(--vh-primary-light) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 16px var(--vh-primary-glow);
}

body.vh-site .vh-navbar .btn-vh-primary:hover {
    background: linear-gradient(135deg, var(--vh-primary-dark) 0%, var(--vh-primary) 100%);
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 576px) {
    .vh-navbar .navbar-brand {
        font-size: 1.05rem;
        max-width: calc(100% - 3rem);
    }

    .vh-navbar .navbar-brand.navbar-brand--logo {
        max-width: calc(100% - 3rem);
        flex-shrink: 1;
        min-width: 0;
    }

    .vh-navbar .navbar-brand .vh-brand-logo {
        height: 2rem;
        max-width: min(150px, 42vw);
    }
}

/* —— Buttons (trang nội dung) —— */
body.vh-site .btn-primary {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.5rem 1.35rem;
    background: linear-gradient(135deg, var(--vh-primary) 0%, var(--vh-primary-light) 100%);
    border: none;
    box-shadow: 0 4px 16px var(--vh-primary-glow);
}

body.vh-site .btn-primary:hover {
    background: linear-gradient(135deg, var(--vh-primary-dark) 0%, var(--vh-primary) 100%);
}

body.vh-site .btn-outline-primary {
    border-radius: 999px;
    font-weight: 700;
    border-width: 2px;
    border-color: var(--vh-primary);
    color: var(--vh-primary);
}

body.vh-site .btn-outline-primary:hover {
    background: var(--vh-primary);
    border-color: var(--vh-primary);
    color: #fff;
}

body.vh-site .btn-outline-secondary {
    border-radius: 999px;
    font-weight: 600;
}

/* —— Hero / cards trang chủ —— */
.vh-hero {
    position: relative;
}

.vh-hero-inner {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 45%, #eff6ff 100%);
    border-radius: 24px;
    padding: 2rem 2rem;
    box-shadow: 0 20px 56px rgba(37, 99, 235, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.08);
}

@media (min-width: 768px) {
    .vh-hero-inner {
        padding: 2.5rem 3rem;
    }
}

.vh-hero-inner h1 {
    color: var(--vh-navy);
    letter-spacing: -0.03em;
}

.vh-hero-inner .lead {
    color: #64748b;
    font-weight: 500;
}

.vh-card {
    border-radius: 20px !important;
    border: 1px solid rgba(26, 43, 74, 0.06) !important;
    box-shadow: 0 10px 36px rgba(26, 43, 74, 0.07) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff !important;
}

.vh-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(26, 43, 74, 0.1) !important;
}

.vh-card .card-title {
    color: var(--vh-navy);
    font-weight: 800;
}

.vh-card .card-title i {
    color: var(--vh-primary);
}

.vh-note {
    border-radius: 14px;
    border-left: 4px solid var(--vh-primary) !important;
    background: rgba(255, 255, 255, 0.75);
    padding: 1rem 1.25rem !important;
}

.vh-quick-links {
    border-radius: 18px !important;
    border: 1px solid rgba(37, 99, 235, 0.18) !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--vh-blue-soft) 100%) !important;
}

.vh-quick-links a {
    font-weight: 600;
    color: var(--vh-blue-deep);
    text-decoration: none;
}

.vh-quick-links a:hover {
    color: var(--vh-primary);
    text-decoration: underline;
}

/* —— Alerts —— */
body.vh-site .alert {
    border-radius: 14px;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* —— Footer —— */
.vh-footer {
    background: linear-gradient(180deg, var(--vh-navy) 0%, #121d33 100%);
    color: rgba(255, 255, 255, 0.88);
    padding: 2rem 0 1.5rem;
    margin-top: 2rem;
    border-top: 4px solid var(--vh-primary);
}

.vh-footer .vh-footer-brand {
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.vh-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
}

.vh-footer a:hover {
    color: #bfdbfe;
}

/* —— Trang danh sách thi / card Bootstrap chung —— */
body.vh-site .card {
    border-radius: 16px;
}

body.vh-site .shadow-sm {
    box-shadow: 0 6px 24px rgba(26, 43, 74, 0.07) !important;
}

body.vh-site .text-primary {
    color: var(--vh-primary) !important;
}

/* Form đăng nhập / thẻ có header primary */
body.vh-site .card-header.bg-primary {
    background: linear-gradient(135deg, var(--vh-primary) 0%, var(--vh-primary-light) 100%) !important;
    border: none;
    border-radius: 16px 16px 0 0 !important;
}

body.vh-site .card.shadow,
body.vh-site .card.shadow-sm {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(26, 43, 74, 0.06);
}

body.vh-site .border-primary {
    border-color: var(--vh-primary) !important;
}

/* —— Trang chủ: slideshow —— */
.vh-home-carousel-wrap {
    border-radius: 16px;
    overflow: hidden;
}

.vh-home-carousel {
    border-radius: 16px;
    overflow: hidden;
}

.vh-home-carousel .carousel-inner {
    border-radius: 16px;
}

.vh-home-carousel .carousel-item {
    background: #eef2f7;
}

.vh-carousel-slide {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f7;
}

.vh-carousel-slide-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
}

.vh-carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 2rem 2rem;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.35) 55%, transparent 100%);
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.vh-home-carousel .carousel-control-prev-icon,
.vh-home-carousel .carousel-control-next-icon {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

/* —— Trang chủ: khối kỳ thi / khóa học (carousel) —— */
.vh-showcase-main-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--vh-navy, #1a2b4a);
}

.vh-public-exams-block {
    margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
    padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
    padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.vh-showcase-title {
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    color: var(--vh-navy, #1a2b4a);
    line-height: 1.25;
}

.vh-showcase-title-accent {
    position: relative;
    display: inline-block;
    padding-bottom: 0.15rem;
}

.vh-showcase-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--vh-primary, #2563eb) 0%, #60a5fa 100%);
}

.vh-showcase-title-tag {
    margin-left: 0.35rem;
    color: #64748b;
    font-weight: 700;
}

.vh-showcase-nav {
    display: flex;
    gap: 0.5rem;
}

.vh-showcase-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #fff;
    color: var(--vh-primary, #2563eb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.vh-showcase-arrow:hover:not(:disabled) {
    background: #eff6ff;
    border-color: #93c5fd;
}

.vh-showcase-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.vh-showcase-track-wrap {
    overflow: hidden;
    padding-bottom: 0.25rem;
}

.vh-showcase-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0.25rem 0.15rem 0.75rem;
    -webkit-overflow-scrolling: touch;
}

.vh-showcase-track::-webkit-scrollbar {
    display: none;
}

.vh-showcase-intro,
.vh-course-card {
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.vh-showcase-intro {
    width: min(220px, 72vw);
    min-height: 300px;
    border-radius: 18px;
    background: var(--intro-bg, #ffd54f);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(26, 43, 74, 0.12);
}

.vh-showcase-intro-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        radial-gradient(circle at 20% 30%, #fff 0 6px, transparent 7px),
        radial-gradient(circle at 70% 20%, #fff 0 4px, transparent 5px),
        radial-gradient(circle at 40% 80%, #fff 0 5px, transparent 6px);
}

.vh-showcase-intro-body {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 1.25rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.vh-showcase-intro-label {
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.25;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.vh-showcase-intro-list {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.75);
}

.vh-showcase-intro-list li + li {
    margin-top: 0.35rem;
}

.vh-showcase-intro-list li::before {
    content: '•';
    margin-right: 0.35rem;
    color: var(--intro-accent, #f59e0b);
}

.vh-showcase-intro-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.72);
    margin: 0 0 auto;
}

.vh-showcase-intro-mascot {
    align-self: center;
    margin-top: 0.75rem;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: var(--intro-accent, #2563eb);
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.65);
}

.vh-course-card {
    width: min(280px, 78vw);
    min-height: 300px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(26, 43, 74, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.vh-course-card-head {
    position: relative;
    min-height: 118px;
    padding: 0.85rem 0.9rem 0.65rem;
    overflow: hidden;
}

.vh-course-card-has-img .vh-course-card-head {
    min-height: 140px;
}

.vh-course-card-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.vh-course-card-has-img .vh-course-card-brand,
.vh-course-card-has-img .vh-course-card-badge-row,
.vh-course-card-has-img .vh-course-status {
    position: relative;
    z-index: 2;
}

.vh-course-card-has-img .vh-course-card-head::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
    z-index: 1;
    pointer-events: none;
}

.vh-showcase-intro-has-img {
    padding: 0;
    overflow: hidden;
}

.vh-showcase-intro-photo {
    position: absolute;
    inset: 0;
}

.vh-showcase-intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vh-showcase-intro-has-img .vh-showcase-intro-body {
    position: relative;
    z-index: 2;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.25) 45%, transparent 100%);
    color: #fff;
    margin-top: auto;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.vh-showcase-intro-has-img .vh-showcase-intro-label,
.vh-showcase-intro-has-img .vh-showcase-intro-list,
.vh-showcase-intro-has-img .vh-showcase-intro-meta {
    color: #fff;
}

.vh-showcase-intro-has-img .vh-showcase-intro-mascot {
    display: none;
}

.vh-course-card-sky {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, #dbeafe 0%, #eff6ff 55%, #fff 100%),
        radial-gradient(circle at 15% 35%, rgba(255, 255, 255, 0.95) 0 18px, transparent 19px),
        radial-gradient(circle at 55% 22%, rgba(255, 255, 255, 0.9) 0 24px, transparent 25px),
        radial-gradient(circle at 82% 40%, rgba(255, 255, 255, 0.85) 0 16px, transparent 17px);
}

.vh-course-card-brand,
.vh-course-card-badge-row,
.vh-course-status {
    position: relative;
    z-index: 1;
}

.vh-course-card-brand {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 0.55rem;
}

.vh-course-card-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
    padding-right: 4.5rem;
}

.vh-course-pill {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #bfdbfe;
    font-size: 0.68rem;
    font-weight: 700;
    color: #1d4ed8;
}

.vh-course-label {
    display: inline-block;
    padding: 0.35rem 0.65rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(191, 219, 254, 0.9);
    font-size: 0.72rem;
    font-weight: 800;
    color: #1e40af;
    letter-spacing: 0.02em;
}

.vh-course-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    text-transform: uppercase;
}

.vh-course-status-active {
    background: #dcfce7;
    color: #15803d;
}

.vh-course-status-upcoming {
    background: #fef3c7;
    color: #b45309;
}

.vh-course-status-ended {
    background: #e2e8f0;
    color: #475569;
}

.vh-course-card-body {
    flex: 1 1 auto;
    padding: 0.85rem 1rem 0.5rem;
}

.vh-course-card-title {
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin: 0 0 0.55rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vh-course-card-meta {
    display: flex;
    gap: 0.45rem;
    align-items: flex-start;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.vh-course-card-meta i {
    color: #94a3b8;
    margin-top: 0.1rem;
}

.vh-course-card-meta p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vh-course-card-foot {
    padding: 0.35rem 1rem 1rem;
    display: flex;
    justify-content: flex-end;
}

.vh-course-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: none;
    background: #76c043;
    color: #fff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(118, 192, 67, 0.35);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.vh-course-btn:hover {
    background: #68ad3a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(118, 192, 67, 0.4);
}

.vh-course-btn-warning {
    background: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.vh-course-btn-warning:hover {
    background: #d97706;
}

.vh-course-btn-muted {
    background: #e2e8f0;
    color: #64748b !important;
    box-shadow: none;
    cursor: default;
    font-size: 0.72rem;
    max-width: 100%;
    white-space: normal;
    text-align: right;
}

.vh-course-btn-muted:hover {
    transform: none;
    background: #e2e8f0;
}

.vh-showcase-dots {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.vh-showcase-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 999px;
    padding: 0;
    background: #cbd5e1;
    transition: width 0.2s, background 0.2s;
}

.vh-showcase-dot.is-active {
    width: 22px;
    background: #f97316;
}

/* —— Blog / tin tức —— */
.vh-blog-section {
    padding-top: 0.5rem;
}

.vh-blog-view-all {
    font-weight: 700;
    color: var(--vh-primary, #2563eb);
    text-decoration: none;
    font-size: 0.92rem;
}

.vh-blog-view-all:hover {
    text-decoration: underline;
}

.vh-blog-meta {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.vh-blog-meta i {
    margin-right: 0.2rem;
}

.vh-blog-excerpt {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.55;
}

.vh-blog-featured-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.vh-blog-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vh-blog-featured-title {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.vh-blog-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vh-blog-list-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.25rem;
}

.vh-blog-divider {
    border-color: #e2e8f0;
    margin: 1rem 0;
    opacity: 1;
}

.vh-blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(26, 43, 74, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: transform 0.15s, box-shadow 0.15s;
}

.vh-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 43, 74, 0.12);
}

.vh-blog-card-img {
    aspect-ratio: 16 / 10;
    background: #eef2f7;
    overflow: hidden;
}

.vh-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vh-blog-card-body {
    padding: 1rem 1.1rem 1.15rem;
}

.vh-blog-card-title {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.35rem;
}

.vh-blog-article-body {
    line-height: 1.75;
    color: #334155;
}

.vh-blog-article-img img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.vh-blog-cat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vh-blog-cat-pill {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #fff;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.vh-blog-cat-pill:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.vh-blog-cat-pill.is-active {
    background: var(--vh-primary, #2563eb);
    border-color: var(--vh-primary, #2563eb);
    color: #fff;
}

.vh-blog-cat-badge {
    display: inline-block;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

