/* === Новости в стиле account.html === */

.news-section {
    padding: 60px 0;
}

.section-title {
    position: relative;
    margin-bottom: 50px;
    font-weight: 700;
    color: #cbd5e1;
    font-family: "Orbitron", monospace;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-subheading {
    font-family: "Orbitron", monospace;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(125deg, #fff, #c8a355, #8b6914);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 2rem;
}

.news-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(200, 163, 85, 0.15);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(18, 25, 45, 0.7);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 163, 85, 0.4);
    box-shadow:
        0 16px 35px rgba(0, 0, 0, 0.45),
        0 0 25px rgba(200, 163, 85, 0.08);
}

.img-wrapper {
    overflow: hidden;
    position: relative;
    background: rgba(15, 20, 40, 0.5);
    min-height: 60px;
}

.category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: rgba(200, 163, 85, 0.8);
    backdrop-filter: blur(8px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: #e2e8f0;
}

.card-text {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #6b7a99;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(200, 163, 85, 0.1);
}

.news-meta i {
    margin-right: 4px;
    color: #d4b86a;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    color: #d4b86a;
    transition:
        gap 0.2s ease,
        color 0.2s;
}

.read-more:hover {
    gap: 12px;
    color: #93c5fd;
}

.read-more-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 163, 85, 0.1);
    border: 1px solid rgba(200, 163, 85, 0.25);
    color: #d4b86a;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.read-more-all:hover {
    background: rgba(200, 163, 85, 0.2);
    border-color: rgba(200, 163, 85, 0.5);
    color: #c4b5fd;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .news-section {
        padding: 40px 0;
    }
    .section-subheading {
        font-size: 1.25rem;
    }
}

/* === Тёмная пагинация === */
.dark-pagination .page-link {
    background: rgba(15, 20, 40, 0.6);
    border: 1px solid rgba(200, 163, 85, 0.15);
    color: #94a3b8;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    margin: 0 2px;
}

.dark-pagination .page-link:hover {
    background: rgba(200, 163, 85, 0.15);
    border-color: rgba(200, 163, 85, 0.4);
    color: #fff;
}

.dark-pagination .page-item.active .page-link {
    background: linear-gradient(95deg, #8b6914, #c8a355, #8b6914);
    border-color: transparent;
    color: #fff;
    font-weight: 600;
}

.dark-pagination .page-item.disabled .page-link {
    background: rgba(15, 20, 40, 0.3);
    border-color: transparent;
    color: #4a5568;
}
@media (max-width: 575.98px) {
    .dark-pagination .page-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
        border-radius: 6px;
        margin: 0 1px;
    }
    .dark-pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px 0;
    }
}
