.vs-author-container {
    color: #1f2937;
}

.vs-author-profile-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 40px;
}

.vs-author-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.vs-author-info {
    flex: 1;
    min-width: 0;
}
.vs-author-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 12px;
}
.vs-author-heading-main { min-width: 0; }
.vs-author-name { font-size: 2rem; font-weight: 800; margin: 0 0 8px; color: #1f2937; }
.vs-author-title { font-size: 1.1rem; color: var(--color-primary, #0056a9); font-weight: 700; }
.vs-author-bio { font-size: 1rem; line-height: 1.65; color: #4b5563; margin-bottom: 20px; }
.vs-author-bio p:last-child { margin-bottom: 0; }

.vs-author-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.vs-author-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.vs-author-socials a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 7px 11px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}
.vs-author-socials a:hover {
    color: var(--color-primary, #0056a9);
    border-color: rgba(0, 86, 169, .25);
    background: rgba(0, 86, 169, .05);
}
.vs-author-socials i { font-size: 14px; line-height: 1; }

.vs-author-stats {
    display: flex;
    gap: 18px;
    flex-shrink: 0;
}
.vs-author-stat-item { text-align: center; text-decoration: none; color: inherit; }
.vs-author-stat-number { font-size: 1.25rem; font-weight: 800; color: #1f2937; }
.vs-author-stat-label { font-size: .85rem; color: #4b5563; }

.vs-author-stats-section,
.vs-author-articles-section { margin-top: 40px; }

.vs-author-tabs { margin-top: 40px; }

.vs-author-tab-list {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
}

.vs-author-tab-button {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #4b5563;
    cursor: pointer;
    font-weight: 800;
    padding: 9px 16px;
    white-space: nowrap;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.vs-author-tab-button:hover,
.vs-author-tab-button.is-active {
    background: var(--color-primary, #0056a9);
    border-color: var(--color-primary, #0056a9);
    color: #fff;
}

.vs-author-tabs .vs-author-articles-section { margin-top: 24px; }

.vs-author-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 24px;
    position: relative;
    padding-bottom: 8px;
}

.vs-author-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary, #0056a9);
}

.vs-author-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.vs-author-articles-grid,
.vs-author-news-grid,
.vs-author-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.vs-author-news-grid.news-list,
.vs-author-product-grid.product-grid {
    margin-top: 0;
}

.vs-author-product-grid.product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vs-author-type-card,
.vs-author-article-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    text-decoration: none;
}

.vs-author-type-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    color: #1f2937;
    font-weight: 700;
}

.vs-author-type-card strong { font-size: 1.35rem; color: var(--color-primary, #0056a9); }
.vs-author-article-img-link { display: block; overflow: hidden; }
.vs-author-article-img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .25s ease; }
.vs-author-article-card:hover .vs-author-article-img { transform: scale(1.04); }
.vs-author-article-content { padding: 20px; }
.vs-author-article-date { font-size: .85rem; color: #4b5563; margin-bottom: 8px; }
.vs-author-article-title { font-size: 1.1rem; font-weight: 800; margin: 0; line-height: 1.4; }
.vs-author-article-title a { color: #1f2937; text-decoration: none; }
.vs-author-article-title a:hover { color: var(--color-primary, #0056a9); }

@media (max-width: 768px) {
    .vs-author-container { margin: 24px auto; }
    .vs-author-profile-card { flex-direction: column; text-align: center; padding: 24px; }
    .vs-author-head-row { flex-direction: column; align-items: center; gap: 14px; }
    .vs-author-meta { flex-direction: column; gap: 16px; }
    .vs-author-stats { justify-content: center; }
    .vs-author-section-title { text-align: center; }
    .vs-author-section-title::after { left: 50%; transform: translateX(-50%); }
}

@media (max-width: 1024px) {
    .vs-author-articles-grid,
    .vs-author-news-grid,
    .vs-author-product-grid.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
    .vs-author-articles-grid,
    .vs-author-news-grid,
    .vs-author-product-grid { grid-template-columns: 1fr; }
}
