
/* Шапка теперь sticky (см. header.html и theme.css), поэтому отступ body и position:fixed не нужны */

/* Стили для пагинации */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination a:hover {
    background-color: #007bff;
    color: #fff;
}

.pagination .current {
    font-weight: bold;
    background-color: #007bff;
    color: #fff;
}

.pagination a:disabled,
.pagination span:disabled {
    color: #aaa;
    pointer-events: none;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.pagination a:active {
    background-color: #0056b3;
}

.swiper {
    width: 100%;
    height: 50vh;
}

.swiper-slide {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение */
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 100%;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: bold;
}

.slide-subtitle {
    font-size: 1.5rem;
}


