/**
 * 首页特定样式 - home.css
 * 包含首页专有的组件和区块样式
 */

/* ========== 轮播图样式 (Slideshow) ========== */
.slideshow {
    height: 750px;
    object-fit: cover;
}

.swiper-container:not(.exhibition-swiper) {
    height: 750px;
    position: relative;
}

.swiper-container:not(.exhibition-swiper) .swiper-slide {
    height: 750px;
    position: relative;
}

.swiper-container:not(.exhibition-swiper) .swiper-slide img {
    height: 750px;
    object-fit: cover;
}

.swiper-container:not(.exhibition-swiper) .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.swiper-container:not(.exhibition-swiper) .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}

.swiper-container:not(.exhibition-swiper) .slide-title {
    color: #ffffff !important;
    font-weight: bold;
    font-size: clamp(1.5rem, 4vw, 3.5rem);
    text-align: center;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.swiper-container:not(.exhibition-swiper) .slide-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 50%;
    width: 100%;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
}
