/*
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;
}
