/* Основные стили для страницы мероприятий */
body {
    min-height: 100vh;
    margin: 0;
    padding-top: 80px;
    background-color: #f8f9fa;
    color: #333;
}

.none-decoration {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
}

.fullscreen-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    padding: 60px;
    box-sizing: border-box;
}

.background-image {
    width: calc(100% - 60px);
    height: calc(100% - 60px);
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    left: 20px;
    top: 20px;
    filter: brightness(0.6);
}

.content-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    text-align: center;
    color: white;
    z-index: 2;
}

.program-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.btn-custom {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-top: 2rem;
    background-color: white;
    color: #333;
    font-weight: 500;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Стили карточек мероприятий */
.events-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 0 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.event-card {
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    max-width: 290px;
    width: 100%;
}

.event-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.event-image-container {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-radius: 50px 50px 0 0;
}

.event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image {
    transform: scale(1.05);
}

.event-content-wrapper {
    padding: 20px;
}

.event-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.event-description {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.event-date {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

/* Пустые состояния (только изменены отступы) */
.empty-state {
    background-color: #f8f9fa;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.empty-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 600px;
    margin: 20px auto;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.empty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.empty-icon {
    font-size: 3rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.8rem;
    color: #343a40;
    margin-bottom: 1rem;
    font-weight: 600;
}

.empty-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Адаптивные стили */
@media (max-width: 1200px) {
    .program-title {
        font-size: 2.2rem;
    }
    .events-list {
        padding: 0 40px;
    }
}

@media (max-width: 992px) {
    .fullscreen-container {
        padding: 30px;
        height: 80vh;
    }
    .background-image {
        width: calc(100% - 60px);
        height: calc(100% - 60px);
        left: 30px;
        top: 30px;
        border-radius: 18px;
    }
    .program-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .fullscreen-container {
        padding: 20px;
        height: 70vh;
    }
    .background-image {
        width: calc(100% - 40px);
        height: calc(100% - 40px);
        left: 20px;
        top: 20px;
        border-radius: 15px;
    }
    .program-title {
        font-size: 1.8rem;
    }
    .events-list {
        padding: 0 20px;
        gap: 20px;
    }
    .empty-card {
        margin: 15px auto;
    }
}

@media (max-width: 576px) {
    .fullscreen-container {
        padding: 15px;
        height: 60vh;
    }
    .background-image {
        width: calc(100% - 30px);
        height: calc(100% - 30px);
        left: 15px;
        top: 15px;
        border-radius: 12px;
    }
    .program-title {
        font-size: 1.5rem;
    }
    .empty-state {
        padding: 15px;
    }
    .empty-card {
        margin: 10px auto;
        padding: 25px 20px;
    }
}

/* Стили для пагинации */
.pagination-container {
    margin-top: 40px;
    padding: 20px 0;
}

.pagination {
    margin-bottom: 0;
}

.page-link {
    color: #1e3a8a;
    border: 1px solid #e9ecef;
    padding: 12px 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 2px;
}

.page-link:hover {
    background-color: #f8f9fa;
    color: #1e3a8a;
    border-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(30, 58, 138, 0.15);
}

.page-item.active .page-link {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #e9ecef;
    cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Адаптивность для пагинации */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-link {
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .pagination-container {
        margin-top: 30px;
        padding: 15px 0;
    }
    
    .page-link {
        padding: 8px 12px;
        font-size: 13px;
        margin: 0 1px;
    }
}