/* news.css — простые стили для страницы новостей */

/* выравниваем отступы в шапке как на главной */
.news-page .header-user-tools {
    gap: 12px;
}
.news-page .theme-switcher,
.news-page .notifications-trigger,
.news-page .user-menu-trigger {
    padding: 0.72rem 1.15rem;
    min-height: 46px;
}
.news-page .notifications-trigger {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-page .news-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.news-page .news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-page .news-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.news-page .news-header p {
    color: rgba(255,255,255,0.7);
}

.news-page .news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-page .news-item {
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.1);
}

.news-page .news-item-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #ff9db0;
}

.news-page .news-item-meta {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 15px;
}

.news-page .news-item-content {
    line-height: 1.6;
    color: rgba(255,255,255,0.85);
}

.news-page .news-item-author {
    margin-top: 15px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    text-align: right;
}

/* прижимаем футер */
.news-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.news-page .site-footer {
    margin-top: auto;
}

// Скролл
.news-page::-webkit-scrollbar {
    width: 10px;
}

.news-page::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.05);
    border-radius: 999px;
}

.news-page::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(111,136,255,0.8) 0%, rgba(138,97,212,0.8) 100%);
    border-radius: 999px;
    border: 2px solid rgba(10,12,30,0.5);
}

.news-page::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(111,136,255,1) 0%, rgba(138,97,212,1) 100%);
}

.news-page .news-container {
    min-height: calc(100vh - 200px); /* подберите под высоту шапки и футера */
}