

/* Start:/local/components/vk.wall.last/templates/.default/style.css?17665098815463*/
/* Основные стили компонента */
.vk-posts-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Пост ВКонтакте */
.vk-post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 24px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e7e8ec;
    max-height: 500px;
    overflow-y: scroll;
}

.vk-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Заголовок поста */
.vk-post-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f2f5;
}

.vk-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #5b88bd, #4a76a8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-right: 12px;
}

.vk-post-info {
    flex: 1;
}

.vk-group-name {
    font-weight: 600;
    color: #2a5885;
    font-size: 15px;
    margin-bottom: 4px;
}

.vk-group-name:hover {
    text-decoration: underline;
}

.vk-post-date {
    font-size: 13px;
    color: #818c99;
}

/* Текст поста */
.vk-post-text {
    font-size: 15px;
    line-height: 1.5;
    color: #000;
    margin-bottom: 16px;
}

.vk-post-text a {
    color: #2a5885;
    text-decoration: none;
}

.vk-post-text a:hover {
    text-decoration: underline;
}

/* Вложения */
.vk-post-attachments {
    margin: 16px 0;
}

/* Фото */
.vk-attachment-photo {
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
}

.vk-attachment-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.vk-attachment-photo:hover img {
    transform: scale(1.02);
}

/* Видео */
.vk-attachment-video {
    background: #f0f2f5;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.vk-video-title {
    font-weight: 600;
    margin-bottom: 10px;
    color: #2a5885;
}

.vk-attachment-video iframe {
    border-radius: 6px;
}

/* Ссылки */
.vk-attachment-link {
    background: #f5f7fa;
    border: 1px solid #e7e8ec;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.vk-attachment-link a {
    color: #2a5885;
    text-decoration: none;
    display: block;
}

.vk-attachment-link a:hover {
    opacity: 0.9;
}

.vk-attachment-link strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.vk-attachment-link small {
    color: #818c99;
    font-size: 13px;
}

/* Статистика */
.vk-post-stats {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
    font-size: 14px;
    color: #818c99;
}

.vk-stat-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.vk-stat-icon {
    margin-right: 6px;
    font-size: 16px;
}

.vk-post-link {
    background: #5b88bd;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.vk-post-link:hover {
    background: #4a76a8;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

.vk-post-link:before {
    content: "➔";
    margin-right: 6px;
}

/* Кнопки действий */
.vk-post-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.vk-action-btn {
    background: none;
    border: 1px solid #d3d9de;
    border-radius: 16px;
    padding: 6px 16px;
    font-size: 14px;
    color: #818c99;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.vk-action-btn:hover {
    background: #f0f2f5;
    color: #2a5885;
}

.vk-action-btn i {
    margin-right: 6px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .vk-post {
        padding: 16px;
        margin-bottom: 16px;
    }

    .vk-post-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .vk-stats-container {
        display: flex;
        gap: 20px;
    }

    .vk-post-link {
        align-self: flex-end;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vk-post {
    animation: fadeIn 0.5s ease forwards;
}

/* Загрузка/ошибки */
.vk-loading {
    text-align: center;
    padding: 40px;
    color: #818c99;
}

.vk-error {
    background: #fff2f2;
    border: 1px solid #ffcccc;
    border-radius: 8px;
    padding: 16px;
    color: #ff3333;
    margin: 16px 0;
}

.vk-empty {
    text-align: center;
    padding: 40px;
    color: #818c99;
    font-size: 16px;
}

/* Иконки Font Awesome (если подключены) */
.vk-icon {
    display: inline-block;
    margin-right: 6px;
}
/* End */
/* /local/components/vk.wall.last/templates/.default/style.css?17665098815463 */
