/* ==========================================================================
   9wickets — "Latest from the Blog" home page section (2026-08)
   --------------------------------------------------------------------------
   New section, home page, inserted right before the "বাংলাদেশ × 9WICKETS"
   video section (vp0017, inside container vp0018) — i.e. between the
   "শেষ কথা" premium CTA (vp0016) and vp0017. Widget: vp0020.

   Light/cream section (the site's default .vk-section skin, NOT overridden
   dark) — three slim horizontal cards (small thumbnail + title/excerpt/date)
   pulling the 3 latest published posts, plus a "সব পোস্ট দেখুন" button to
   /blog/. Deliberately compact ("slim card" per request) rather than the
   big magazine-style cards blog-premium.css uses on the /blog/ archive
   itself — this is a teaser, not the archive.

   `body.vk` prefix + !important kept only where it matters (image sizing —
   see .vk-blc-thumb img, same UA aspect-ratio-vs-explicit-height fight as
   cricket-section.css's photo). Text colors don't need it here since this
   is a light section and the site's dark-ink defaults already match what
   we want.
   ========================================================================== */

body.vk .vk-blc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: clamp(28px, 3.5vw, 40px);
}

body.vk .vk-blc-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid rgba(30, 27, 20, .09);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(30, 27, 20, .05);
    transition: transform .35s cubic-bezier(.2, .7, .15, 1), box-shadow .35s ease, border-color .35s ease;
}
body.vk .vk-blc-card:hover {
    transform: translateY(-4px);
    border-color: rgba(249, 233, 0, .5);
    box-shadow: 0 18px 36px -12px rgba(200, 134, 11, .22);
}

body.vk .vk-blc-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F2EEE4;
}
body.vk .vk-blc-thumb img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    max-width: none !important;
    object-fit: cover;
    display: block !important;
    transition: transform .5s cubic-bezier(.2, .7, .15, 1);
}
body.vk .vk-blc-card:hover .vk-blc-thumb img { transform: scale(1.06); }

body.vk .vk-blc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }

body.vk .vk-blc-date {
    font-family: var(--vk-font-bn);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--vk-gold-3);
    margin-bottom: 6px;
}

body.vk .vk-blc-title {
    font-family: var(--vk-font-en);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--vk-text);
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.vk .vk-blc-excerpt {
    font-family: var(--vk-font-en);
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--vk-text-mid);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.vk .vk-blc-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--vk-font-bn);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--vk-gold-3);
}
body.vk .vk-blc-more svg { width: 14px; height: 14px; transition: transform .3s ease; }
body.vk .vk-blc-card:hover .vk-blc-more svg { transform: translateX(4px); }

body.vk .vk-blc-cta { display: flex; justify-content: center; margin-top: clamp(28px, 3.5vw, 38px); }

/* ---------------------------- RESPONSIVE ---------------------------- */
@media (max-width: 860px) {
    body.vk .vk-blc-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
    body.vk .vk-blc-cta .vk-btn { width: 100%; text-align: center; justify-content: center; }
}
