/* Общие правила лент и пагинации */

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-subtitle {
    text-align: center;
    color: var(--grey-text);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 100;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.pagination .current {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
}

.pagination .disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.no-news {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--grey-text);
}

.no-news p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}
