body {
    min-height: 100vh;
    margin: 0;
    padding-top: 80px; /* Отступ для фиксированного header */
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.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;
}

/* Стили для пустых карточек */
.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: 40px 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;
}

/* Остальные стили остаются без изменений */
.program-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.btn-custom {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    margin-top: 2rem;
    background-color: white;
    color: #333;
    font-weight: 500;
}

.divider {
    width: 100px;
    height: 2px;
    background-color: white;
    margin: 1.5rem auto;
    opacity: 0.7;
}

.news-carousel {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 0 60px;
    max-width: 1400px;
    margin: 0;
}

.news-image-container {
    height: 200px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    border-radius: 50px 50px 0 0;
}

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

.swiper-slide {
    background: transparent;
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    margin: 30px 20px;
    max-width: 290px;
}

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

body .swiper-button-prev,
body .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    min-width: 40px;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    --swiper-navigation-size: 20px;
    color: white;
    margin: 0;
    box-sizing: border-box;
}

body .swiper-button-prev {
    left: 5px;
}

body .swiper-button-next {
    right: 5px;
}

.news-title,
.news-content,
.news-date {
    width: 100%;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.text-content-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.news-header {
    margin-top: 5rem;
    margin-bottom: 5rem;
    font-size: 42px;
    font-family: 'Roboto', sans-serif;
}

.button-section {
    margin-top: 10rem;
    background-color: #1e3a8a;
    color: white;
    text-align: center;
}

.button-section .row {
    justify-content: center;
    gap: 20px;
}

.button-section .col-md-4 {
    flex: 0 0 auto;
    max-width: none;
}

.btn-outline-light {
    border-width: 2px;
    font-size: 18px;
    padding: 15px 30px;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 250px;
}

.btn-outline-light:hover {
    background-color: white;
    color: #1e3a8a;
}

/* Адаптивность для пустых карточек */
@media (max-width: 768px) {
    .empty-card {
        padding: 30px;
        margin: 30px auto;
    }
    .empty-icon {
        font-size: 2.5rem;
    }
    .empty-title {
        font-size: 1.5rem;
    }
    .empty-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .empty-card {
        padding: 25px 20px;
        border-radius: 15px;
        margin: 20px auto;
    }
    .empty-icon {
        font-size: 2rem;
    }
    .empty-title {
        font-size: 1.3rem;
    }
}

/* Остальные медиа-запросы */
@media (max-width: 1200px) {
    .program-title {
        font-size: 2.2rem;
    }
    .news-carousel {
        padding: 0 40px;
    }
    .news-header {
        font-size: 36px;
    }
    .btn-outline-light {
        min-width: 220px;
        font-size: 16px;
        padding: 12px 25px;
    }
}

@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;
    }
    .news-header {
        font-size: 32px;
    }
    .btn-outline-light {
        min-width: 280px;
    }
}

@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;
    }
    .news-header {
        font-size: 28px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
        --swiper-navigation-size: 16px;
    }
    .btn-outline-light {
        min-width: 250px;
    }
}

@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;
    }
    .news-header {
        font-size: 24px;
    }
    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
        --swiper-navigation-size: 14px;
    }
    .btn-outline-light {
        min-width: 200px;
        font-size: 14px;
        padding: 10px 20px;
    }
}