.vp-blog-index {
    padding: 56px 0;
}

.vp-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 40px;
    align-items: start;
}

.vp-blog-main,
.vp-blog-article,
.vp-blog-sidebar {
    min-width: 0;
}

.vp-blog-eyebrow {
    margin-bottom: 18px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.vp-blog-list {
    display: grid;
    gap: 22px;
}

.vp-blog-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid #dee2e6;
}

.vp-blog-card-image {
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #eef1f4;
}

.vp-blog-card-image img,
.vp-blog-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vp-blog-card h2 {
    margin: 8px 0 10px;
    font-size: 24px;
    line-height: 1.25;
}

.vp-blog-card h2 a,
.vp-blog-category-list a {
    color: inherit;
    text-decoration: none;
}

.vp-blog-card p {
    margin-bottom: 12px;
    color: #495057;
}

.vp-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: #6c757d;
    font-size: 13px;
}

.vp-blog-readmore {
    color: #0d6efd;
    font-weight: 700;
    text-decoration: none;
}

.vp-blog-sidebar {
    display: grid;
    gap: 20px;
}

.vp-blog-panel {
    padding: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

.vp-blog-panel h2 {
    margin: 0 0 14px;
    font-size: 18px;
}

.vp-blog-search {
    display: grid;
    gap: 10px;
}

.vp-blog-search input {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
}

.vp-blog-search button,
.vp-blog-pagination a {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid #0d6efd;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    text-decoration: none;
}

.vp-blog-category-list {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.vp-blog-category-list a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.vp-blog-muted,
.vp-blog-empty {
    color: #6c757d;
}

.vp-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 28px;
}

.vp-blog-article {
    max-width: 820px;
}

.vp-blog-article-image {
    display: block;
    max-height: 460px;
    margin-bottom: 24px;
}

.vp-blog-article h1 {
    margin: 12px 0 22px;
    font-size: 38px;
    line-height: 1.15;
}

.vp-blog-article-content {
    color: #343a40;
    line-height: 1.75;
}

.vp-blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.vp-blog-tags a {
    padding: 6px 10px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
}

.vp-comments-section {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #dee2e6;
}

.vp-comments-section h2 {
    margin-bottom: 18px;
    font-size: 26px;
}

.vp-comment-login,
.vp-comment-form {
    padding: 18px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

.vp-comment-login div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.vp-comment-login a,
.vp-comment-form button,
.vp-comment-reply-button {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #0d6efd;
    border-radius: 6px;
    background: #0d6efd;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.vp-comment-form {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.vp-comment-form label {
    font-weight: 700;
}

.vp-comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    resize: vertical;
}

.vp-comments-list {
    display: grid;
    gap: 18px;
}

.vp-comment {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
}

.vp-comment-avatar {
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    background: #6c757d;
}

.vp-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vp-comment-avatar span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-weight: 700;
}

.vp-comment-body {
    min-width: 0;
    padding: 16px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #fff;
}

.vp-comment-body header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.vp-comment-body time {
    color: #6c757d;
    font-size: 13px;
}

.vp-comment-body p {
    margin-bottom: 12px;
    white-space: normal;
}

.vp-comment-reply-button {
    border-color: #6c757d;
    background: #fff;
    color: #495057;
}

.vp-comment-reply-form {
    margin-top: 12px;
}

.vp-comment-replies {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

@media (max-width: 991.98px) {
    .vp-blog-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .vp-blog-index {
        padding: 36px 0;
    }

    .vp-blog-card {
        grid-template-columns: 1fr;
    }

    .vp-blog-card h2 {
        font-size: 21px;
    }

    .vp-blog-article h1 {
        font-size: 30px;
    }

    .vp-comment {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .vp-comment-avatar {
        width: 40px;
        height: 40px;
    }
}
