/* ===== Дополнительные стили для новостей ===== */


/* Стили для текста в детальной странице */
.news-detail__text img {
    max-width: 100%;
    height: auto;
    border-radius: 0.375rem;
    margin: 1rem 0;
}

.news-detail__text blockquote {
    border-left: 4px solid #0d6efd;
    padding: 0.75rem 1.5rem;
    margin: 1rem 0;
    background: #f8f9fa;
    border-radius: 0 0.375rem 0.375rem 0;
}

.news-detail__text table {
    margin: 1rem 0;
}

.news-detail__text table td,
.news-detail__text table th {
    padding: 0.5rem 1rem;
}

/* Адаптивные правки для мобильных */
@media (max-width: 576px) {
    .display-6 {
        font-size: 1.75rem !important;
    }
    
    .news-detail__text {
        font-size: 0.95rem;
    }
    
    .card-img-top {
        height: 180px !important;
    }
}

/* Кастомная пагинация для Bootstrap */
.pagination .page-link {
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* Стили для тегов */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags-cloud .tag {
    background: #e9ecef;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tags-cloud .tag:hover {
    background: #0d6efd;
    color: #fff;
}

/* Для картинок в списке */
.news-list__image {
    object-fit: cover;
    width: 100%;
    height: 200px;
}