

/* Start:/local/templates/general/components/bitrix/news/cases_template/bitrix/news.list/mainblog/style.css?17492074076556*/
/* style.css */

    .banner{
    display: none;
}
.cases .page_13.preim .box .left {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;    
}
.cases-section {
    padding: 60px 0;
}

.cases-grid {
    display: grid;
/*    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));*/
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    position: relative;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.slide-container {
    position: relative;
    width: 100%;
    height: 350px;
}

.slide-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s;
}


.case-card:hover .slider-overlay {background: linear-gradient(to bottom, rgb(0 0 0 / 0%), rgb(0 0 0 / 40%));transition: all 0.5s;}
*/
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: white;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
    overflow: hidden;
}

/* Псевдоэлемент с градиентом */
.slider-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7));
    z-index: -1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* При ховере — уменьшаем прозрачность градиента */
.case-card:hover .slider-overlay::before {
    opacity: 0.3;
}

.slider-overlay .top-overlay {
    display: flex;
    justify-content: space-between;
/*    align-items: center;*/
}
.detail-type .text{
    background: #ffffffcf;
    padding: 5px 10px;
/*    border-radius: 15px;*/
    color: #383639;
}

.logo-overlay {
/*    margin-bottom: 20px;*/
    width: 100px;
    height: 100px;
/*    background-color: #383639;*/
    display: flex;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.case-card:hover .logo-overlay {
opacity: 0;
}

.logo-overlay .logo-img {
    max-width: 100px;
    max-height: 100px;
    height: auto;
    background-color: white;

}

.slider-content {
    position: relative;
    z-index: 2;
}

.case-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.case-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.detail-item .icon {
    margin-right: 10px;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
}

.detail-item .icon img {
    /*width: 20px;
    height: 20px;*/
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #0056b3;
}

.slick-dots {
    bottom: 10px;
}

.slick-dots li button:before {
    color: #fff !important;
}


.cases-section .slide-container {height: 500px;}
.cases .nav {
    padding: 59px 0;
}
@media (max-width: 768px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-container {
        height: 250px;
    }
    
    .logo-img {
        max-width: 120px;
    }
}











/* Стили для кнопок prev/next */
.cases-section .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 0;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cases-section .slick-arrow:hover {
    background: rgba(255,255,255,1);
}

.cases-section .slick-prev {
    left: 15px;
}

.cases-section .slick-next {
    right: 15px;
}

/* Стрелки с использованием псевдоэлементов */
.cases-section .slick-prev::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-left: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}

.cases-section .slick-next::before {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    border-right: 2px solid #333;
    border-top: 2px solid #333;
    transform: translateY(-50%) rotate(45deg);
}
.cases-section .slick-dots .slick-active button {
    background: #ff3366; /* Активный цвет точек */
}

.cases-section .slick-arrow {
    background: rgba(0,0,0,0.5); /* Темные кнопки */
}

.cases-section .slick-arrow::before {
    border-color: #bf94a0; /* Белые стрелки */
}

.cases-section .slick-arrow {
    transition: all 0.3s ease;
}

.cases-section .slick-dots button {
    transition: transform 0.2s, background 0.3s;
}

.cases-section .slick-dots button:hover {
    transform: scale(1.2);
}
.cases .btn {border-radius: 8px;
    padding: 10px 30px;}

@media (max-width: 768px) {
    .cases-section .slick-arrow {
        width: 30px;
        height: 30px;
    }
    
    .cases-section .slick-prev::before {
        left: 10px;
        width: 10px;
        height: 10px;
    }
    
    .cases-section .slick-next::before {
        right: 10px;
        width: 10px;
        height: 10px;
    }
}


/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

/* Стили для кнопки */
.show-more-wrapper {
    text-align: center;
    margin-top: 40px;
}

.btn.btn-secondary {
    background: #f0f0f0;
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn.btn-secondary:hover {
    background: #e0e0e0;
}
/* End */
/* /local/templates/general/components/bitrix/news/cases_template/bitrix/news.list/mainblog/style.css?17492074076556 */
