@media only screen and (max-width: 1023px) {
.accordion-container {
    perspective: 1500px;
    width: 100%;
    height: 6rem;
}

}

@media only screen and (min-width: 1024px) {
.accordion-container {
    perspective: 1500px;
    overflow: hidden;
    padding: 0 5%;
    margin: auto auto 0.72rem;
    width: 13.2rem;
   /* height: 6rem;*/
}

}

.accordion-container .title {
	font-size: 0.4rem;
        line-height: 0.48rem;
        font-weight: bold;
        margin: auto auto 0.4rem;
}

.accordion {
    display: flex;
    height: 100%;
    gap: 15px;
    transition: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.accordion-item {
    position: relative;
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
    filter: brightness(0.8);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    height: 6rem;
}

.accordion-item:not(.active) {
    transform: rotateY(25deg) translateZ(-50px);
    margin-left: -2%;
}

.accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
    transition: transform 0.6s;
}

/* 激活状态 */
.accordion-item.active {
    flex: 3;
    z-index: 2;
    filter: brightness(1);
    transform: rotateY(0) translateZ(0);
}

.accordion-item:hover {
    flex: 3.5;
    z-index: 3;
}

.accordion-item:hover img {
    transform: scale(1.1);
}
