/*
Theme Name:     Kalitys-theme
Description:    Hello-elementor child theme.
Author:         Kalitys
Author URI:     https://www.kalitys.com/
Template:       hello-elementor
Version:        0.1.0
*/
nav#quadmenu {
display:none;
}
/* 折叠容器 */
.yiban {
    position: relative;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 底部渐隐遮罩 */
.yiban::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    transition: opacity 0.4s ease;
    pointer-events: none;
}

/* 展开后隐藏遮罩 */
.yiban.expanded::after {
    opacity: 0;
}
#xianshi{cursor:pointer;}


/* 只处理主轮播，不处理缩略图 */
.ybhd .elementor-main-swiper:not(.elementor-thumbnails-swiper) .elementor-carousel-image {
    cursor: zoom-in;
    background-repeat: no-repeat;
    background-position: center center;
    transition: background-size 0.2s ease, background-position 0.08s linear;
}

/* 仅当前激活主图启用放大 */
.ybhd .elementor-main-swiper:not(.elementor-thumbnails-swiper) .swiper-slide-active .elementor-carousel-image.is-zooming {
    background-size: 200% !important;
}

/* 非悬停时恢复 Elementor 默认视觉 */
.ybhd .elementor-main-swiper:not(.elementor-thumbnails-swiper) .elementor-carousel-image:not(.is-zooming) {
    background-position: center center !important;
}

#breadcrumbs {
    visibility: hidden;
}

 /* Styles pour la liste des actualités - Style dB Vib */
    .dbvib-news-list {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin: 30px 0;
    }
    
    .dbvib-news-item {
        display: grid;
        grid-template-columns: 370px 1fr;
        gap: 30px;
        background: #ffffff;
        border-radius: 8px;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .dbvib-news-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .news-image {
        position: relative;
        overflow: hidden;
        
    }
    
    .news-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .news-image:hover img {
        transform: scale(1.1);
    }
    
    .news-content {
        padding: 30px 30px 30px 0;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .news-title {
        margin: 0 0 15px 0;
        font-size: 28px;
        font-weight: 700;
        line-height: 1.3;
    }
    
    .news-title a {
        color: #1a1a1a;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .news-title a:hover {
        color: #0066cc;
    }
    
    .news-excerpt {
        color: #666;
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 25px;
    }
    
    .news-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .news-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        font-size: 13px;
        font-weight: 700;
        text-decoration: none;
        text-transform: uppercase;
        border-radius: 4px;
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
    }
    
    .news-btn-primary {
        background: #0066cc;
        color: #ffffff;
    }
    
    .news-btn-primary:hover {
        background: #0052a3;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }
    
    .news-btn-secondary {
        background: #ffffff;
        color: #0066cc;
        border: 2px solid #0066cc;
    }
    
    .news-btn-secondary:hover {
        background: #0066cc;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    }
    
    .news-btn-pdf {
        background: #28a745;
        color: #ffffff;
    }
    
    .news-btn-pdf:hover {
        background: #218838;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    }
    
    .btn-icon {
        font-size: 16px;
    }
    
    .no-posts-found {
        text-align: center;
        padding: 40px;
        color: #666;
        font-size: 18px;
    }
    
    /* Responsive */
    @media (max-width: 992px) {
        .dbvib-news-item {
            grid-template-columns: 1fr;
        }
        
        .news-image {
            height: 250px;
        }
        
        .news-content {
            padding: 30px;
        }
    }
    
    @media (max-width: 768px) {
        .news-title {
            font-size: 22px;
        }
        
        .news-actions {
            flex-direction: column;
        }
        
        .news-btn {
            width: 100%;
            justify-content: center;
        }
    }
