/* Vendor blog article (views/public/vendors/article.php), scoped under .vba-* */

.vba-page {
    background: #eef3f9;
}

.vba-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    box-sizing: border-box;
}

/* Breadcrumbs */
.vba-crumbs {
    padding: 14px 0;
    font-size: 13px;
    color: #8494a6;
}

.vba-crumbs .vba-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.vba-crumbs a {
    color: #647589;
    text-decoration: none;
}

.vba-crumbs a:hover {
    color: #2d7a8c;
}

.vba-crumbs i {
    font-size: 9px;
}

/* Layout: article + sticky side column */
.vba-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 24px;
    align-items: start;
    padding-bottom: 48px;
}

.vba-article {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 36px 44px 28px;
    box-shadow: 0 2px 10px rgba(18, 41, 63, .06);
    min-width: 0;
}

.vba-head {
    max-width: 780px;
    margin: 0 auto 22px;
}

.vba-by {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #2d7a8c;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 14px;
}

.vba-by img,
.vba-by-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #e4ebf3;
}

.vba-by-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f1f4;
}

.vba-title {
    margin: 0 0 12px;
    color: #12293f;
    font-size: clamp(26px, 3.2vw, 38px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.01em;
}

.vba-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    margin: 0;
    color: #647589;
    font-size: 13.5px;
}

.vba-chip {
    padding: 3px 10px;
    border-radius: 999px;
    background: #e7f1f4;
    color: #2d7a8c;
    font-weight: 700;
    font-size: 12px;
}

.vba-cover {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    margin: 0 auto 28px;
    border-radius: 14px;
}

/* Article text */
.vba-prose {
    max-width: 780px;
    margin: 0 auto;
    color: #1c2b3a;
    font-size: 17px;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.vba-prose h2 {
    margin: 34px 0 12px;
    color: #12293f;
    font-size: 25px;
    line-height: 1.3;
    font-weight: 800;
}

.vba-prose h3 {
    margin: 26px 0 10px;
    color: #12293f;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 700;
}

.vba-prose h4 {
    margin: 22px 0 8px;
    color: #1e3a5f;
    font-size: 17px;
    font-weight: 700;
}

.vba-prose p {
    margin: 0 0 16px;
}

.vba-prose ul,
.vba-prose ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.vba-prose li {
    margin-bottom: 6px;
}

.vba-prose a {
    color: #2d7a8c;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.vba-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.vba-prose blockquote {
    margin: 20px 0;
    padding: 14px 20px;
    border-left: 4px solid #2d7a8c;
    background: #f4f8fb;
    border-radius: 0 10px 10px 0;
    color: #1e3a5f;
}

.vba-prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 18px;
    font-size: 15px;
}

.vba-prose th,
.vba-prose td {
    padding: 8px 10px;
    border: 1px solid #e4ebf3;
    text-align: left;
}

/* Shop products inside the article (cards from shop-catalog.css) */
.vba-shop {
    margin: 26px 0 30px;
    padding: 16px;
    background: #f7f4ef;
    border: 1px solid #ece4d8;
    border-radius: 14px;
}

.vba-shop-label {
    margin: 0 0 12px !important;
    color: #7a4a24;
    font-size: 13px !important;
    font-weight: 700;
    line-height: 1.4 !important;
}

.vba-shop .shop-catalog-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.vba-shop--one .shop-catalog-grid {
    grid-template-columns: minmax(0, 240px);
}

.vba-prose .vba-shop a {
    font-weight: inherit;
    text-decoration: none;
    color: inherit;
}

/* Credit to the original */
.vba-source {
    display: flex;
    gap: 12px;
    max-width: 780px;
    margin: 30px auto 0;
    padding: 14px 16px;
    background: #f4f8fb;
    border: 1px solid #e4ebf3;
    border-radius: 12px;
    color: #647589;
    font-size: 13.5px;
    line-height: 1.55;
}

.vba-source > i {
    margin-top: 3px;
    color: #2d7a8c;
}

.vba-source p {
    margin: 0;
}

.vba-source a {
    color: #2d7a8c;
    font-weight: 700;
    white-space: nowrap;
}

/* Side column */
.vba-side {
    position: sticky;
    top: 130px;
    display: grid;
    gap: 18px;
}

.vba-card {
    background: #fff;
    border: 1px solid #e4ebf3;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 2px 10px rgba(18, 41, 63, .06);
}

.vba-card-label {
    margin: 0 0 12px;
    color: #8494a6;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vba-vendor-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #12293f;
    font-size: 16px;
    text-decoration: none;
}

.vba-vendor-head img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    object-fit: contain;
    border: 1px solid #e4ebf3;
}

.vba-vendor-text {
    margin: 12px 0 14px;
    color: #647589;
    font-size: 13.5px;
    line-height: 1.55;
}

.vba-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    background: #ff6b35;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.vba-btn:hover {
    background: #ec5828;
    color: #fff;
}

.vba-more {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.vba-more a {
    display: flex;
    gap: 12px;
    align-items: center;
    color: #1c2b3a;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.vba-more a:hover span {
    color: #2d7a8c;
}

.vba-more img {
    flex: 0 0 72px;
    width: 72px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
}

.vba-all {
    display: block;
    margin-top: 14px;
    color: #2d7a8c;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .vba-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .vba-side {
        position: static;
    }
}

@media (max-width: 600px) {
    .vba-wrap {
        padding: 0 16px;
    }

    .vba-article {
        padding: 22px 18px 20px;
        border-radius: 14px;
    }

    .vba-prose {
        font-size: 16px;
    }

    .vba-prose h2 {
        font-size: 21px;
    }

    .vba-prose h3 {
        font-size: 18px;
    }

    .vba-shop {
        padding: 12px;
    }

    .vba-shop .shop-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vba-shop--one .shop-catalog-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
