

/* Start:/local/templates/stars/components/bitrix/news.list/community/style.css?17641649471983*/
    .community {
    padding: 40px 0;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
}

.community__image img {
    width: 100%;
    border-radius: 30px;
    margin-bottom: 25px;
    max-height: 750px;
    object-fit: cover;
    object-position: top;
}

.community__text {
    font-size: 24px;
    line-height: 1.5;
    margin-bottom: 40px;
    font-weight: 300;
    font-family: 'Unbounded', sans-serif;
}
.community__text h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 500;line-height: 1.5;}
.community-spisok h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 500;
    color: #CAE400;line-height: 1.5;}
.community__btn {
    font-family: 'Unbounded', sans-serif;
    text-transform: uppercase;
    text-align: center;
    margin-left: 0!important;
    width: 100%;
    line-height: normal;
    font-weight: 500;

}




.community__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
    padding-top: 10px;
}

.community-item {
    background: #0a0a0a;
    border-radius: 14px;
    padding: 20px;
    height: 400px;
    border: 1px solid #fff;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.community-item__media {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.community-item__media img {
    max-width: 90%;
    max-height: 100%;
    height: auto;
    width: 100%;
    object-fit: contain;
    display: block;
}

.community-item__name {
    margin-top: 12px;
    font-size: 24px;
    opacity: .9;
    line-height: 1.2;
    font-weight: 300;
    font-family: 'Unbounded', sans-serif;
    text-align: center;
    flex: 0 0 auto;
    padding-top: 6px;
}



/* End */


/* Start:/local/templates/stars/components/bitrix/news.list/retro_comunna/style.css?17703926617714*/
/* РЕТРОСПЕКТИВА СЛАЙДЕР - ПОЛНЫЙ CSS С ИСПРАВЛЕНИЯМИ */
.retro-text, .retro-text .section-title {
    text-align: center;
}

.retro-text p {
    text-align: left;
    margin: 0 auto;
    line-height: 1.6;
}

.retro-text h3 {
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.6;
    font-size: 160%;
}

.retro-container {
    padding: 50px 0;
    overflow: hidden;
}

/* ФИКС ДЛЯ КОНТЕЙНЕРА SWIPER */
.retro-container .swiper-container {
    padding: 50px 0; /* Убираем боковые паддинги */
    overflow: visible !important; /* Меняем на visible */
    position: relative;
    width: 100%;
}

/* ВАЖНО: Добавляем контейнеру дополнительный внутренний паддинг */
.retro-container .swiper-container::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 100px; /* Отступ для последнего слайда */
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.retro-container .swiper-wrapper {
    overflow: visible !important;
    display: flex;
    gap: 10px;
    padding: 50px 40px; /* Паддинги переносим в wrapper */
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: auto; /* Позволяем wrapper быть шире контейнера */
}

/* ФИКС ДЛЯ СЛАЙДОВ - УБИРАЕМ FIXED WIDTH */
.retro-container .swiper-slide {
    width: 350px !important; /* Фиксированная ширина вместо calc */
    height: 400px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

/* ДОБАВЛЯЕМ ОТСТУП ДЛЯ ПОСЛЕДНЕГО СЛАЙДА */
.retro-container .swiper-slide:last-child {
    margin-right: 40px; /* Дополнительный отступ справа */
}

/* КАРТОЧКА - ВСЕГДА ОТКРЫТА */
.card {
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: none;
    background: none;
    height: 100%;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transform: scale(1);
    z-index: 1;
}

.card-img, .placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 30px;
}

.placeholder-img {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
}

/* НАЛАДКА - ВСЕГДА ВИДИМА */
.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 20%, transparent 80%);
    z-index: 1;
}

.content-block-text {position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
display: flex;
flex-direction: column;
min-height: 70px;
    justify-content: flex-start;
}
/* НАЗВАНИЕ - ВСЕГДА ОТКРЫТО */
.title {
    position: relative;
    /* left: 20px; */
    /* bottom: 80px; */
    font-weight: bold;
    font-size: 16px;
    color: white;
    z-index: 2;
    text-shadow: 0 2px 4px rgb(0 0 0 / 80%);
/*    white-space: nowrap;*/
    max-width: 320px;
    line-height: 1.2;
    margin-bottom: 10px;
    /* transform: rotate(0deg);*/
}

/* ГОД */
.retro-year {
    display: inline-flex;
    font-weight: 300;
    font-size: 14px;
    margin-left: 10px;
    opacity: 0.9;
}

/* ОПИСАНИЕ - ВСЕГДА ОТКРЫТО */
.description {
position: relative;
    /* bottom: 20px; */
    /* left: 20px; */
    /* right: 20px; */
    line-height: 1.4;
    color: white;
    z-index: 2;
    text-shadow: 0 2px 4px rgb(0 0 0 / 50%);
    font-size: 14px;
    max-height: 100px;
    overflow: hidden;
    opacity: 1;
    /* transform: translateY(0);*/
}

/* ЛОГОТИП */
.content-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: auto;
    z-index: 3;
    opacity: 0.9;
}

.content-logo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* СКРОЛЛБАР */
.retro-container .swiper-scrollbar {
    width: calc(100% - 80px); /* Учитываем паддинги */
    height: 6px;
    margin: 30px auto 0;
    background: rgba(255,255,255,0.2);
    border-radius: 3px;
    position: relative;
    left: 40px; /* Центрируем с учетом паддингов */
}

.retro-container .swiper-scrollbar-drag {
    background: rgba(255,255,255,0.9);
    border-radius: 3px;
    cursor: pointer;
}

/* ✅ СТРЕЛКИ НАВИГАЦИИ */
.retro-container .swiper-button-next,
.retro-container .swiper-button-prev {
    color: white !important;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
    z-index: 10;
    background: #b4ff00!important;
    opacity: 0; 
    transform: scale(0.8); 
    visibility: hidden; 
}
.retro-container .swiper-container:hover .swiper-button-next,
.retro-container .swiper-container:hover .swiper-button-prev {
    opacity: 1; 
    transform: scale(1); 
    visibility: visible; 
}
.swiper-button-next {
    right: 10px; /* Позиция стрелок */
}

.swiper-button-prev {
    left: 10px;
}

.retro-container .swiper-button-next:hover,
.retro-container .swiper-button-prev:hover {
    background: #b4ff009e!important;;
    transform: scale(1.1);
}

.retro-container .swiper-button-next:after,
.retro-container .swiper-button-prev:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border: 2px solid #000;
    border-left: none;
    border-bottom: none;
    top: 20px;
}
.retro-container .swiper-button-prev::after {left: 20px;}
.retro-container .swiper-button-next::after {right: 20px;}
/* АДАПТИВНОСТЬ */
@media (max-width: 1400px) {
    .retro-container .swiper-slide {
        width: 300px !important;
        height: 380px;
    }
}

@media (max-width: 1300px) {
    .retro-container .swiper-slide {
        width: 280px !important;
    }
}

@media (max-width: 1100px) {
    .retro-container .swiper-slide {
        width: 250px !important;
    }
}

@media (max-width: 850px) {
    .retro-container .swiper-slide {
        width: 320px !important;
    }
    .retro-container .swiper-wrapper {
        padding: 40px 20px;
    }
    .retro-container .swiper-scrollbar {
        width: calc(100% - 40px);
        left: 20px;
    }


}

@media (max-width: 600px) {
    .retro-container {
        padding: 30px 0;
    }
    
    .retro-container .swiper-container {
        padding: 20px 0;
    }
    
    .retro-container .swiper-wrapper {
        padding: 20px 20px;
    }
    
    .retro-container .swiper-slide {
        width: 280px !important;
        height: 320px;
    }
    
    .retro-container .swiper-slide:last-child {
        margin-right: 20px;
    }
    
/*    .title {
        font-size: 18px;
        bottom: 70px;
        left: 15px;
        max-width: 280px;
    }
    
    .description {
        font-size: 14px;
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-height: 80px;
    }*/
    
    .content-logo {
        width: 50px;
        top: 15px;
        right: 15px;
    }
    
    /* СКРЫВАЕМ СТРЕЛКИ НА МОБИЛКЕ */
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .retro-container .swiper-scrollbar {
        width: calc(100% - 40px);
        left: 20px;
    }
}

/* ФИКС ДЛЯ ОГРАНИЧЕНИЯ МАКСИМАЛЬНОЙ ШИРИНЫ */
@media (min-width: 1920px) {
    .retro-container .swiper-container {
        max-width: 1920px;
        margin: 0 auto;
    }
}
/* End */
/* /local/templates/stars/components/bitrix/news.list/community/style.css?17641649471983 */
/* /local/templates/stars/components/bitrix/news.list/retro_comunna/style.css?17703926617714 */
