/* Добавить в /css/news-page.css */

/* Страница отдельной новости */
.news-article-page {
    padding: 40px 0;
    background: #ffffff;
}

.news-breadcrumbs {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: var(--secondary);
}

.news-breadcrumbs a {
    color: var(--secondary);
    text-decoration: none;
}

.news-breadcrumbs a:hover {
    color: var(--primary);
}

.news-article-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}

/* Заголовок новости */
.news-header {
    margin-bottom: 30px;
}

.news-header h1 {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 15px;
}

.news-header-meta {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eef2f6;
}

.news-header-date {
    position: relative;
    padding-left: 24px;
    color: var(--secondary);
    font-size: 1rem;
}

.news-header-date::before {
    content: '📅';
    position: absolute;
    left: 0;
    top: 0;
}

.news-header-category {
    position: relative;
    padding-left: 24px;
    color: var(--secondary);
    font-size: 1rem;
}

.news-header-category::before {
    content: '🏷️';
    position: absolute;
    left: 0;
    top: 0;
}

.news-header-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Контент новости */
.news-article-content {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid #eef2f6;
}

.news-article-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e50;
}

.news-article-text p {
    margin-bottom: 20px;
}

.news-article-text h2 {
    font-size: 1.6rem;
    color: var(--dark);
    margin: 30px 0 15px;
}

.news-article-text h3 {
    font-size: 1.3rem;
    color: var(--dark);
    margin: 25px 0 12px;
}

.news-article-text ul, 
.news-article-text ol {
    margin-bottom: 20px;
    padding-left: 24px;
}

.news-article-text li {
    margin-bottom: 8px;
}

.news-article-text blockquote {
    border-left: 4px solid var(--primary);
    padding: 16px 24px;
    background: #f8fafc;
    margin: 24px 0;
    font-style: italic;
    color: #4a5a6a;
}

/* Блок поделиться */
.news-share {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #eef2f6;
    display: flex;
    gap: 20px;
    align-items: center;
}

.share-link {
    color: var(--primary);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid var(--primary);
    border-radius: 30px;
    transition: all 0.2s;
}

.share-link:hover {
    background: var(--primary);
    color: white;
}

/* Сайдбар */
.news-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #f8fafc;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
}

/* Другие новости */
.other-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #d0d9e5;
}

.other-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.other-news-image {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.other-news-content {
    flex: 1;
}

.other-news-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
    line-height: 1.3;
}

.other-news-content a {
    color: var(--dark);
    text-decoration: none;
}

.other-news-content a:hover {
    color: var(--primary);
}

.other-news-date {
    font-size: 0.8rem;
    color: var(--secondary);
}

/* Виджет с консультацией */
.cta-widget {
    text-align: center;
}

.cta-widget p {
    margin-bottom: 20px;
    color: #4a5a6a;
}

.widget-phone {
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.btn--primary {
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}

.btn--primary:hover {
    background: #2ea09e;
}

/* Индикаторы загрузки */
.loading-indicator {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
}

.loading-indicator-small {
    text-align: center;
    padding: 20px;
    font-size: 0.95rem;
    color: #999;
}

.error-message {
    text-align: center;
    padding: 60px 20px;
}

.error-message h2 {
    color: #d32f2f;
    margin-bottom: 15px;
}

/* Адаптивность */
@media (max-width: 900px) {
    .news-article-grid {
        grid-template-columns: 1fr;
    }
    
    .news-sidebar {
        position: static;
    }
    
    .news-header h1 {
        font-size: 1.8rem;
    }
    
    .news-article-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .news-header-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-share {
        flex-wrap: wrap;
    }
}
.news-header-meta, .other-news-date, .news-share {display:none;}