/* Vendor profile: articles from the vendor's own blog (partials/vendor-articles.php).
   Same card shell as the shop catalog section above it. */
.vba-section {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 28px;
    margin: 32px 0 40px;
    scroll-margin-top: 90px;
}

.vba-section-head {
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 2px solid #F3F4F6;
}

.vba-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #1F2937;
    text-align: left;
}

.vba-section-title i {
    color: #7B1E3A;
    font-size: 21px;
}

.vba-section-sub {
    margin: 6px 0 0;
    font-size: 14px;
    color: #6B7280;
}

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

.vba-post {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    transition: box-shadow .2s, transform .2s;
}

.vba-post[hidden] {
    display: none;
}

.vba-post:hover {
    box-shadow: 0 8px 22px rgba(18, 41, 63, .12);
    transform: translateY(-2px);
}

.vba-post-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    background: #f7f4ef;
    color: #c9a98b;
    font-size: 30px;
    overflow: hidden;
}

.vba-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vba-post-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: #7B1E3A;
    font-size: 11px;
    font-weight: 700;
}

.vba-post-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    padding: 14px 16px 16px;
}

.vba-post-date {
    color: #8494a6;
    font-size: 12px;
}

.vba-post-title {
    color: #1F2937;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.vba-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #6B7280;
    font-size: 13.5px;
    line-height: 1.5;
}

.vba-post-read {
    margin-top: auto;
    padding-top: 6px;
    color: #7B1E3A;
    font-size: 13.5px;
    font-weight: 700;
}

.vba-toggle {
    display: block;
    margin: 20px auto 0;
    padding: 11px 22px;
    border: 1px solid #7B1E3A;
    border-radius: 10px;
    background: #fff;
    color: #7B1E3A;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.vba-toggle:hover {
    background: #7B1E3A;
    color: #fff;
}

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

@media (max-width: 600px) {
    .vba-section {
        padding: 18px 16px;
        margin: 20px 0 28px;
    }

    .vba-section-title {
        font-size: 20px;
    }

    .vba-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }
}
