/**
 * Block: Logo Carousel
 */
.my-corp-logo-carousel {
    padding: 40px 0;
    overflow: hidden;
    width: 100%;
    background: transparent; /* 背景透明，适应父级群组颜色 */
}

/* 无缝匀速滚动必须使用 linear 线性过渡 */
.my-corp-logo-carousel .swiper-wrapper {
    transition-timing-function: linear !important;
}

.my-corp-logo-carousel .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    padding: 0 15px;
}

.my-corp-logo-carousel figure.wp-block-image {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    height: 100%;
}

.my-corp-logo-carousel img {
    max-width: 100%;
    max-height: 70px;
    width: auto; 
    height: auto;
    object-fit: contain;
    
    /* 【关键修改】：去掉了变灰 (grayscale) 和半透明，保持原图色彩 */
    filter: none; 
    opacity: 1;
    
    /* 悬停动画过渡 */
    transition: transform 0.4s ease, filter 0.4s ease;
    cursor: pointer;
}

.my-corp-logo-carousel img:hover {
    /* 悬停时微微放大，并加一点点柔和的阴影提升立体感 */
    transform: scale(1.1); 
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

/* 移动端适配 */
@media (max-width: 768px) {
    .my-corp-logo-carousel { padding: 20px 0; }
    .my-corp-logo-carousel .swiper-slide { height: 80px; }
}