/**
 * Газета FA13 - Стили
 * Интеграция с основным сайтом FA13
 */

/* ==========================================
   Навигация газеты
   ========================================== */

.newspaper-nav-wrapper {
    background: #fff;
    border-bottom: 1px solid #ddd;
    padding: 5px 15px;
    margin-bottom: 20px;
}

.newspaper-nav-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.newspaper-nav-title a {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.newspaper-nav-title a:hover {
    color: #1a5f8b;
}

.newspaper-nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.newspaper-nav-links a {
    display: inline-block;
    padding: 5px 12px;
    color: #555;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}

.newspaper-nav-links a:hover {
    background: #e0e0e0;
    color: #333;
}

.newspaper-nav-links a.active {
    background: #1a5f8b;
    color: #fff;
}

.newspaper-nav-search {
    margin-left: auto;
}

.newspaper-nav-search form {
    display: flex;
    gap: 5px;
}

.newspaper-nav-search input {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 200px;
}

.newspaper-nav-search button {
    padding: 5px 12px;
    background: #1a5f8b;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.newspaper-nav-search button:hover {
    background: #154a6e;
}

/* ==========================================
   Контейнер газеты
   ========================================== */

.newspaper-container {
    display: flex;
    gap: 20px;
}

.newspaper-container.newspaper-full-width {
    display: block;
}

.newspaper-main {
    flex: 1;
    min-width: 0;
}

.newspaper-sidebar {
    width: 280px;
    flex-shrink: 0;
}

/* ==========================================
   Алерты
   ========================================== */

.newspaper-alert {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.newspaper-alert-success {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.newspaper-alert-error,
.newspaper-alert-danger {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.newspaper-alert-warning {
    background: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.newspaper-alert-info {
    background: #d9edf7;
    color: #31708f;
    border: 1px solid #bce8f1;
}

/* ==========================================
   Карточка статьи
   ========================================== */

.article-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.2s ease;
}

.article-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-card .article-title {
    margin: 0 0 10px;
    font-size: 1.3em;
    line-height: 1.3;
}

.article-card .article-title a {
    color: #333;
    text-decoration: none;
}

.article-card .article-title a:hover {
    color: #1a5f8b;
}

.article-card .article-meta {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #777;
}

.article-card .article-meta span {
    margin-right: 15px;
}

.article-card .article-meta a {
    color: #666;
}

.article-card .article-meta a:hover {
    color: #1a5f8b;
}

.article-card .article-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 12px;
}

.article-card .article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.article-card .article-stats {
    color: #888;
    font-size: 0.9em;
}

.article-card .article-stats span {
    margin-right: 15px;
}

/* ==========================================
   Полная статья
   ========================================== */

.article-full {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.article-full .article-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.article-full .article-header h1 {
    margin: 0 0 15px;
    font-size: 1.8em;
    line-height: 1.3;
    color: #333;
}

.article-full .article-meta {
    color: #777;
    font-size: 0.9em;
}

.article-full .article-meta span {
    margin-right: 20px;
}

.article-full .article-category,
.article-full .article-tags {
    margin-top: 10px;
}

.article-full .article-tags .tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f0f0;
    color: #555;
    border-radius: 3px;
    margin-right: 5px;
    font-size: 0.85em;
    text-decoration: none;
}

.article-full .article-tags .tag:hover {
    background: #e0e0e0;
}

.article-full .article-content {
    font-size: 1.05em;
    line-height: 1.8;
    color: #333;
}

.article-full .article-content p {
    margin-bottom: 1em;
}

.article-full .article-content img {
    max-width: 100%;
    height: auto;
}

.article-full .article-content blockquote {
    border-left: 4px solid #1a5f8b;
    padding-left: 15px;
    margin: 15px 0;
    color: #666;
    font-style: italic;
}

.article-full .article-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.article-full .article-stats {
    color: #888;
}

.article-full .article-stats span {
    margin-right: 20px;
}

/* ==========================================
   Рейтинг
   ========================================== */

.article-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-rating .rating-score {
    font-size: 1.4em;
    font-weight: bold;
    min-width: 50px;
    text-align: center;
}

.article-rating .rating-score.text-success {
    color: #3c763d;
}

.article-rating .rating-score.text-danger {
    color: #a94442;
}

.article-rating button {
    padding: 5px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.article-rating .btn-rate-like:hover,
.article-rating .btn-rate-like.active {
    background: #5cb85c;
    border-color: #4cae4c;
    color: #fff;
}

.article-rating .btn-rate-dislike:hover,
.article-rating .btn-rate-dislike.active {
    background: #d9534f;
    border-color: #d43f3a;
    color: #fff;
}

/* ==========================================
   Комментарии
   ========================================== */

.article-comments {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-top: 20px;
}

.article-comments h3 {
    margin: 0 0 20px;
    font-size: 1.2em;
    color: #333;
}

.comment-form {
    margin-bottom: 25px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    resize: vertical;
    min-height: 80px;
}

.comment-form button {
    margin-top: 10px;
    padding: 8px 20px;
    background: #1a5f8b;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.comment-form button:hover {
    background: #154a6e;
}

.comments-list .comment {
    padding: 12px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 3px;
}

.comments-list .comment-meta {
    margin-bottom: 8px;
    font-size: 0.9em;
}

.comments-list .comment-meta strong {
    color: #1a5f8b;
}

.comments-list .comment-meta .text-muted {
    color: #999;
    margin-left: 10px;
}

.comments-list .comment-content {
    color: #333;
    line-height: 1.5;
}

/* ==========================================
   Сайдбар
   ========================================== */

.newspaper-sidebar .sidebar-block {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.newspaper-sidebar .sidebar-block-title {
    padding: 12px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
    color: #333;
}

.newspaper-sidebar .sidebar-block-content {
    padding: 10px 0;
}

.newspaper-sidebar .sidebar-item {
    display: block;
    padding: 8px 15px;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
}

.newspaper-sidebar .sidebar-item:last-child {
    border-bottom: none;
}

.newspaper-sidebar .sidebar-item:hover {
    background: #f9f9f9;
    color: #1a5f8b;
}

.newspaper-sidebar .sidebar-item small {
    display: block;
    color: #999;
    margin-top: 3px;
    font-size: 0.85em;
}

/* ==========================================
   Категории
   ========================================== */

/* Полноширинная страница (без сайдбара) */
.newspaper-sidebar:empty {
    display: none;
}

.newspaper-sidebar:empty + .newspaper-main,
.newspaper-main:only-child {
    max-width: 100%;
}

.categories-section {
    margin-bottom: 30px;
}

.categories-section h2 {
    font-size: 1.3em;
    color: #333;
    margin: 0 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a5f8b;
}

/* Список категорий (минималистичный) */
.category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.category-list li {
    margin: 0;
    padding: 0;
}

.category-list a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    padding: 4px 0;
    display: inline-block;
    transition: color 0.15s ease;
}

.category-list a:hover {
    color: #1a5f8b;
    text-decoration: none;
}

.category-list .count {
    color: #999;
    font-size: 13px;
}

.category-list a:hover .count {
    color: #1a5f8b;
}

/* Чемпионаты стран - больше колонок */
.category-list-countries {
    column-count: 4;
    column-gap: 30px;
    display: block;
}

.category-list-countries li {
    break-inside: avoid;
    padding: 3px 0;
}

/* Адаптивность категорий */
@media (max-width: 1200px) {
    .category-list-countries {
        column-count: 3;
    }
}

@media (max-width: 900px) {
    .category-list-countries {
        column-count: 2;
    }
}

@media (max-width: 600px) {
    .category-list-countries {
        column-count: 1;
    }
}

/* ==========================================
   Авторы
   ========================================== */

.author-profile {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.author-profile h1 {
    margin: 0 0 15px;
    font-size: 1.6em;
}

.author-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.author-stats .stat-item {
    text-align: center;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 4px;
}

.author-stats .stat-item h3 {
    margin: 0;
    font-size: 1.8em;
    color: #1a5f8b;
}

.author-stats .stat-item p {
    margin: 5px 0 0;
    color: #666;
    font-size: 0.9em;
}

.authors-table {
    width: 100%;
    border-collapse: collapse;
}

.authors-table th,
.authors-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.authors-table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.authors-table tr:hover {
    background: #f9f9f9;
}

/* ==========================================
   Форма статьи
   ========================================== */

.article-form {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px;
    max-width: 900px;
}

.article-form .form-group {
    margin-bottom: 18px;
}

.article-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.article-form input[type="text"],
.article-form select,
.article-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.article-form textarea {
    min-height: 300px;
    resize: vertical;
}

.article-form .form-actions {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.article-form .btn {
    padding: 10px 25px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 10px;
}

.article-form .btn-primary {
    background: #1a5f8b;
    color: #fff;
}

.article-form .btn-primary:hover {
    background: #154a6e;
}

.article-form .btn-default {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ccc;
}

.article-form .btn-default:hover {
    background: #e0e0e0;
}

/* ==========================================
   Похожие статьи
   ========================================== */

.similar-articles {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-top: 20px;
}

.similar-articles h4 {
    margin: 0 0 12px;
    font-size: 1.1em;
    color: #333;
}

.similar-articles ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.similar-articles li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.similar-articles li:last-child {
    border-bottom: none;
}

.similar-articles a {
    color: #555;
    text-decoration: none;
}

.similar-articles a:hover {
    color: #1a5f8b;
}

/* ==========================================
   Пагинация (старые стили - перемещены в namespace)
   ========================================== */

/* Стили пагинации теперь только в .newspaper-bundle namespace - см. секцию ГАЗЕТНЫЙ СТИЛЬ */

/* ==========================================
   Кнопки
   ========================================== */

.btn-read-more {
    display: inline-block;
    padding: 6px 15px;
    background: #1a5f8b;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9em;
}

.btn-read-more:hover {
    background: #154a6e;
    color: #fff;
}

/* ==========================================
   Админка газеты
   ========================================== */

.newspaper-admin-wrapper {
    display: flex;
    gap: 20px;
}

.newspaper-admin-sidebar {
    width: 200px;
    flex-shrink: 0;
}

.newspaper-admin-menu {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.newspaper-admin-menu-header {
    padding: 12px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.newspaper-admin-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.newspaper-admin-menu-list li {
    border-bottom: 1px solid #eee;
}

.newspaper-admin-menu-list li:last-child {
    border-bottom: none;
}

.newspaper-admin-menu-list li a {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
}

.newspaper-admin-menu-list li a:hover {
    background: #f9f9f9;
    color: #1a5f8b;
}

.newspaper-admin-menu-list li.active a {
    background: #1a5f8b;
    color: #fff;
}

.newspaper-admin-content {
    flex: 1;
    min-width: 0;
}

.newspaper-admin-content h1 {
    margin: 0 0 20px;
    font-size: 1.5em;
    color: #333;
}

/* Алерты в админке */
.newspaper-admin-content .alert {
    padding: 12px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.newspaper-admin-content .alert-success {
    background: #dff0d8;
    color: #3c763d;
    border: 1px solid #d6e9c6;
}

.newspaper-admin-content .alert-danger {
    background: #f2dede;
    color: #a94442;
    border: 1px solid #ebccd1;
}

.newspaper-admin-content .alert-warning {
    background: #fcf8e3;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.newspaper-admin-content .alert-info {
    background: #d9edf7;
    color: #31708f;
    border: 1px solid #bce8f1;
}

/* Статистика в админке */
.stats-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.stats-row .panel {
    flex: 1;
    min-width: 150px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    padding: 15px;
}

.stats-row .panel h3 {
    margin: 0 0 5px;
    font-size: 2em;
}

.stats-row .panel p {
    margin: 0;
    color: #666;
}

.stats-row .panel-info {
    border-color: #bce8f1;
}

.stats-row .panel-info h3 {
    color: #31708f;
}

.stats-row .panel-warning {
    border-color: #faebcc;
}

.stats-row .panel-warning h3 {
    color: #8a6d3b;
}

.stats-row .panel-success {
    border-color: #d6e9c6;
}

.stats-row .panel-success h3 {
    color: #3c763d;
}

.stats-row .panel-danger {
    border-color: #ebccd1;
}

.stats-row .panel-danger h3 {
    color: #a94442;
}

/* Фильтры в админке */
.btn-group {
    display: inline-flex;
    gap: 0;
    margin-bottom: 15px;
}

.btn-group .btn {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid #ccc;
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.btn-group .btn:first-child {
    border-radius: 3px 0 0 3px;
}

.btn-group .btn:last-child {
    border-radius: 0 3px 3px 0;
}

.btn-group .btn:not(:first-child) {
    border-left: none;
}

.btn-group .btn:hover {
    background: #f5f5f5;
}

.btn-group .btn.active {
    background: #1a5f8b;
    border-color: #1a5f8b;
    color: #fff;
}

/* Таблица в админке */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.table th,
.table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.table th {
    background: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.table-striped tbody tr:nth-child(odd) {
    background: #f9f9f9;
}

.table-hover tbody tr:hover {
    background: #f0f0f0;
}

/* Лейблы */
.label {
    display: inline-block;
    padding: 3px 8px;
    font-size: 0.85em;
    border-radius: 3px;
}

.label-warning {
    background: #f0ad4e;
    color: #fff;
}

.label-success {
    background: #5cb85c;
    color: #fff;
}

.label-danger {
    background: #d9534f;
    color: #fff;
}

/* Кнопки действий */
.btn-xs {
    padding: 3px 8px;
    font-size: 0.85em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-right: 3px;
}

.btn-info {
    background: #5bc0de;
    color: #fff;
}

.btn-success {
    background: #5cb85c;
    color: #fff;
}

.btn-warning {
    background: #f0ad4e;
    color: #fff;
}

.btn-danger {
    background: #d9534f;
    color: #fff;
}

.btn-xs:hover {
    opacity: 0.8;
}

/* Текстовые цвета */
.text-success {
    color: #3c763d;
}

.text-muted {
    color: #999;
}

.text-center {
    text-align: center;
}

/* ==========================================
   Адаптивность
   ========================================== */

@media (max-width: 900px) {
    .newspaper-container {
        flex-direction: column;
    }

    .newspaper-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .newspaper-nav-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .newspaper-nav-search {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }

    .newspaper-nav-search input {
        flex: 1;
    }

    .article-card .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-full .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* ==========================================
   ГАЗЕТНЫЙ СТИЛЬ (Newspaper Layout)
   ИЗОЛИРОВАННЫЙ NAMESPACE: .newspaper-bundle
   Все стили используют !important для гарантии
   переопределения стилей основного сайта
   ========================================== */

/* --- КОНТЕЙНЕР ИЗОЛЯЦИИ --- */
.newspaper-bundle {
    background: #fff !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 60px !important;
}

/* --- Переопределение конфликтующих классов --- */
.newspaper-bundle .label {
    display: inline-block !important;
    padding: 3px 8px !important;
    font-size: 0.85em !important;
    font-weight: normal !important;
    width: auto !important;
    background: #e8e8e8 !important;
    color: #555 !important;
    border-radius: 3px !important;
    text-transform: none !important;
}

.newspaper-bundle .label-default {
    background: #e0e0e0;
}

.newspaper-bundle .btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.9em;
    font-weight: normal;
    background: #1a5f8b;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    text-transform: none !important;
}

.newspaper-bundle .btn:hover {
    background: #154a6e;
    color: #fff;
    text-decoration: none;
}

.newspaper-bundle .btn-sm {
    padding: 5px 12px;
    font-size: 0.85em;
}

.newspaper-bundle .btn-default {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.newspaper-bundle .btn-default:hover {
    background: #e8e8e8;
}

.newspaper-bundle .btn-primary {
    background: #1a5f8b;
}

.newspaper-bundle .btn-success {
    background: #5cb85c;
}

.newspaper-bundle .btn-danger {
    background: #d9534f;
}

/* Переопределение текстовых классов */
.newspaper-bundle .text-muted {
    color: #888 !important;
}

.newspaper-bundle .text-success {
    color: #3c763d !important;
}

.newspaper-bundle .text-danger {
    color: #a94442 !important;
}

/* Переопределение panel (Bootstrap) */
.newspaper-bundle .panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.newspaper-bundle .panel-default {
    border-color: #ddd;
}

.newspaper-bundle .panel-body {
    padding: 15px;
}

.newspaper-bundle .panel-heading {
    padding: 10px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}

/* Переопределение alert */
.newspaper-bundle .alert {
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.newspaper-bundle .alert-info {
    background: #d9edf7;
    color: #31708f;
    border: 1px solid #bce8f1;
}

/* --- Газетная секция --- */
.newspaper-bundle .np-section {
    margin-bottom: 30px !important;
}

.newspaper-bundle .np-section__header {
    border-top: 4px solid #1a1a1a !important;
    border-bottom: 2px solid #999 !important;
    padding: 15px 0 !important;
    margin-bottom: 25px !important;
    background: transparent !important;
}

.newspaper-bundle .np-section__title {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 2.8em !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    line-height: 1.1 !important;
}

.newspaper-bundle .np-section__subtitle {
    color: #555 !important;
    font-size: 0.95em !important;
    font-style: italic !important;
    margin: 8px 0 0 !important;
}

/* --- Газетная сетка (CSS Grid) --- */
.newspaper-bundle .np-grid {
    display: grid !important;
    gap: 0 !important;
    align-items: start !important;
}

/* 2 колонки */
.newspaper-bundle .np-grid--cols-2 {
    grid-template-columns: 1fr 1fr !important;
}

/* 3 колонки */
.newspaper-bundle .np-grid--cols-3 {
    grid-template-columns: 1fr 1fr 1fr !important;
}

/* Колонка с вертикальным разделителем */
.newspaper-bundle .np-grid__column {
    padding: 0 25px !important;
    border-right: 1px solid #bbb !important;
    position: relative !important;
}

.newspaper-bundle .np-grid__column:last-child {
    border-right: none !important;
}

.newspaper-bundle .np-grid__column:first-child {
    padding-left: 0 !important;
}

.newspaper-bundle .np-grid__column:last-child {
    padding-right: 0 !important;
}

/* --- Газетный анонс статьи --- */
.newspaper-bundle .np-item {
    padding: 18px 0 !important;
    border-bottom: 1px solid #ddd !important;
    margin: 0 !important;
    background: transparent !important;
}

.newspaper-bundle .np-item:last-child {
    border-bottom: none !important;
}

.newspaper-bundle .np-item__title {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 1.5em !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 14px !important;
    color: #1a1a1a !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.newspaper-bundle .np-item__title a {
    color: #1a1a1a !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
}

.newspaper-bundle .np-item__title a:hover {
    color: #8b1a1a !important;
    text-decoration: none !important;
}

.newspaper-bundle .np-item__excerpt {
    font-family: Georgia, 'Times New Roman', Times, serif !important;
    font-size: 1.05em !important;
    line-height: 1.65 !important;
    color: #2a2a2a !important;
    margin: 0 0 14px !important;
    text-align: justify !important;
}

.newspaper-bundle .np-item__meta {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 0.75em !important;
    color: #666 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.newspaper-bundle .np-item__author {
    color: #8b1a1a !important;
    font-weight: 600 !important;
}

.newspaper-bundle .np-item__separator {
    margin: 0 8px !important;
    color: #999 !important;
}

.newspaper-bundle .np-item__date {
    color: #666 !important;
}

.newspaper-bundle .np-item__category a {
    color: #1a5f8b !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.newspaper-bundle .np-item__category a:hover {
    text-decoration: underline !important;
}

/* --- Разделители --- */
.newspaper-bundle .np-divider {
    border: none;
    margin: 25px 0;
}

.newspaper-bundle .np-divider--single {
    border-top: 1px solid #ddd;
}

.newspaper-bundle .np-divider--double {
    border-top: 3px double #ccc;
}

.newspaper-bundle .np-divider--thick {
    border-top: 3px solid #333;
}

/* --- Пагинация газеты --- */
.newspaper-bundle .np-pagination {
    margin-top: 30px !important;
    margin-bottom: 40px !important;
    border-top: 1px solid #ddd !important;
    padding-top: 20px !important;
    text-align: center !important;
}

.newspaper-bundle .np-pagination .pagination {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: inline-flex !important;
    gap: 3px !important;
    justify-content: center !important;
}

.newspaper-bundle .np-pagination .pagination li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.newspaper-bundle .np-pagination .pagination li a,
.newspaper-bundle .np-pagination .pagination li span {
    display: block !important;
    padding: 6px 12px !important;
    border: 1px solid #ccc !important;
    color: #333 !important;
    text-decoration: none !important;
    background: #fff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    min-width: 32px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

.newspaper-bundle .np-pagination .pagination li.active a,
.newspaper-bundle .np-pagination .pagination li.active span {
    background: #333 !important;
    color: #fff !important;
    border-color: #333 !important;
    font-weight: 600 !important;
}

.newspaper-bundle .np-pagination .pagination li a:hover {
    background: #f0f0f0 !important;
    border-color: #999 !important;
}

/* ==========================================
   АДАПТИВНОСТЬ ГАЗЕТНОГО СТИЛЯ
   ========================================== */

/* Планшеты: 3 колонки -> 2 колонки */
@media (max-width: 992px) {
    .newspaper-bundle .np-grid--cols-3 {
        grid-template-columns: 1fr 1fr !important;
    }

    .newspaper-bundle .np-grid--cols-3 .np-grid__column:nth-child(2n) {
        border-right: none !important;
    }

    .newspaper-bundle .np-grid--cols-3 .np-grid__column:nth-child(2n+1) {
        border-right: 1px solid #bbb !important;
        padding-left: 0 !important;
    }
}

/* Мобильные: все в 1 колонку */
@media (max-width: 768px) {
    .newspaper-bundle .np-grid--cols-2,
    .newspaper-bundle .np-grid--cols-3 {
        grid-template-columns: 1fr !important;
    }

    .newspaper-bundle .np-grid__column {
        padding: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid #ddd !important;
        padding-bottom: 15px !important;
        margin-bottom: 15px !important;
    }

    .newspaper-bundle .np-grid__column:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .newspaper-bundle .np-item {
        padding: 12px 0 !important;
    }

    .newspaper-bundle .np-section__title {
        font-size: 1.8em !important;
        letter-spacing: 2px !important;
    }

    .newspaper-bundle .np-item__title {
        font-size: 1.2em !important;
        letter-spacing: 0.5px !important;
    }

    .newspaper-bundle .np-item__excerpt {
        font-size: 1em !important;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .newspaper-bundle .np-item__title {
        font-size: 1.1em !important;
        letter-spacing: 0 !important;
    }

    .newspaper-bundle .np-item__excerpt {
        font-size: 0.95em !important;
        text-align: left !important;
    }

    .newspaper-bundle .np-section__header {
        padding: 12px 0 !important;
    }

    .newspaper-bundle .np-section__title {
        font-size: 1.5em !important;
        letter-spacing: 1px !important;
    }
}
