.vkagg-author-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    margin: 0 0 28px;
    border: 1px solid #d8dee8;
    background: #f7f9fc;
}

.vkagg-author-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vkagg-author-label {
    font-size: 0.95em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #5f6b7a;
}

.vkagg-author-name {
    font-size: 1.2em;
    font-weight: 700;
    color: #1f2a3d;
    text-decoration: none;
}

.vkagg-author-name:hover,
.vkagg-author-name:focus {
    text-decoration: underline;
}

.vkagg-author-button {
    display: inline-block;
    padding: 12px 18px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    background: #2d6cdf;
    color: #ffffff !important;
}

.vkagg-author-button:hover,
.vkagg-author-button:focus {
    background: #1f59c7;
    color: #ffffff !important;
}

.vkagg-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.vkagg-gallery-item {
    margin: 0;
    padding: 0;
}

.vkagg-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 !important;
    box-shadow: none !important;
}


.vkagg-social-box {
    margin: 28px 0 0;
    padding: 20px;
    border: 1px solid #d8dee8;
    background: #f7f9fc;
}

.vkagg-social-title {
    margin: 0 0 14px;
    font-size: 1.05em;
    font-weight: 700;
    color: #1f2a3d;
}

.vkagg-social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.vkagg-social-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff !important;
}

.vkagg-social-button-max {
    background: #3a2ddf;
}

.vkagg-social-button-telegram {
    background: #229ed9;
}

.vkagg-social-button-vk {
    background: #0077ff;
}

.vkagg-social-button:hover,
.vkagg-social-button:focus {
    opacity: 0.9;
    color: #ffffff !important;
}

@media (max-width: 767px) {
    .vkagg-author-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .vkagg-author-button {
        width: 100%;
        text-align: center;
    }

    .vkagg-social-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .vkagg-social-button {
        width: 100%;
    }
}
