/* --- Сброс базовых стилей и общий шрифт --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', Arial, sans-serif;
}

body {
    background-color: #f4f4f4;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
}

/* Контейнер */
.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

/* Левое меню */
.sidebar-left {
    width: 25%;
    background-color: #fff;
    padding: 20px;
    border-right: 1px solid #ddd;
}

.sidebar-left ul {
    list-style: none;
}

.sidebar-left ul li {
    margin-bottom: 10px;
}

.sidebar-left ul li a {
    text-decoration: none;
    color: #333;
}

.sidebar-left ul li a:hover {
    text-decoration: underline;
}

/* Основной контент */
.main-content {
    width: 50%;
    padding: 20px;
    background-color: #fafafa;
}

/* --- Пост --- */
.post {
    background-color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', Arial, sans-serif;
}

/* Ссылка на пост: текст + фото без подчеркивания */
.post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-link:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* Картинка поста 16:9 */
.post-image,
.post-image-full {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Превью поста: ограничение текста 7 строк */
.post-preview {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Нижняя часть поста: действия */
.post-footer {
    margin-top: 10px;
}

.post-footer .post-action {
    margin-right: 10px;
    text-decoration: none;
    font-size: 16px;
}

/* Правая колонка */
.sidebar-right {
    width: 25%;
    background-color: #fff;
    padding: 20px;
    border-left: 1px solid #ddd;
}

/* Лого в меню (3 раза меньше оригинала) */
.menu-logo {
    text-align: left;
    margin-bottom: 20px;
}

.menu-logo img {
    width: 20%;
    max-width: 120px;
    height: auto;
    display: inline-block;
}
