/* 基础样式 */
ol {
    margin-bottom: -2%;
}

.img-responsive {
    margin: 0 auto;
}

/* Banner样式 */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.banner-title {
    color: white;
    font-size: 3.2em;
    font-weight: 700;
    text-align: center;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
    line-height: 1.2;
    padding: 30px 40px;
    backdrop-filter: blur(8px);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* 轮播组件 */
.carousel .item {
    max-height: 450px;
    overflow: hidden;
    border-radius: 16px;
    margin: 5px auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.carousel-inner > .item > img {
    margin: 0 auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#mainCarousel {
    position: relative;
    margin: 20px auto;
    max-width: 90%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.8);
}

#mainCarousel .item {
    height: 450px;
    position: relative;
    overflow: hidden;
}

#mainCarousel .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 入口按钮 */
.indexButton {
    width: 100%;
}

.entryRow {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.entryRow a {
    text-decoration: none;
}

.entry {
    display: block;
    max-width: 320px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin: 25px;
    float: none;
    z-index: -1;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.entry:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.entry_image {
    display: block;
    position: relative;
    width: 100%;
    margin: auto;
}

.entry_BG {
    display: block;
    position: inherit;
    width: 100%;
    overflow-y: hidden;
    border-radius: 16px 16px 0px 0px;
    box-shadow: none;
}

.entry_parent {
    display: block;
    position: relative;
    height: 0px;
    width: 100%;
    top: -40px;
    z-index: 1;
    margin: auto;
    font-size: 24px;
    color: #fff;
    text-align: center;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.entry_name {
    display: block;
    position: relative;
    height: 65px;
    width: 100%;
    padding-top: 15px;
    margin: auto;
    font-size: 24px;
    color: #333;
    text-align: center;
    overflow: hidden;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    #mainCarousel .carousel-inner,
    #mainCarousel .item {
        height: 300px;
    }
    
    .banner-title {
        font-size: 2.2em;
        font-weight: 600;
        padding: 20px 25px;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    #mainCarousel .carousel-inner,
    #mainCarousel .item {
        height: 250px;
    }
    
    .banner-title {
        font-size: 1.6em;
        font-weight: 600;
        padding: 15px 20px;
        letter-spacing: 0.5px;
    }
}

@media screen and (max-width: 792px) {
    .entryRow {
        justify-content: center;
    }
    
    .entry {
        max-width: 160px;
        margin: 8px;
        flex: 0 0 auto;
    }
    
    .entry_parent {
        font-size: 14px;
        top: -25px;
    }
    
    .entry_name {
        height: 40px;
        font-size: 14px;
        padding-top: 6px;
    }
    
    #indexButton {
        padding-left: 5px;
        padding-right: 5px;
    }
}

@media screen and (max-width: 480px) {
    .entry {
        max-width: 140px;
        margin: 6px;
    }
    
    .entry_parent {
        font-size: 12px;
        top: -22px;
    }
    
    .entry_name {
        height: 35px;
        font-size: 12px;
        padding-top: 5px;
    }
    
    #indexButton {
        padding-left: 3px;
        padding-right: 3px;
    }
}

@media screen and (max-width: 320px) {
    .entry {
        max-width: 120px;
        margin: 4px;
    }
    
    .entry_parent {
        display: none;
    }
    
    .entry_name {
        height: 30px;
        font-size: 11px;
        padding-top: 4px;
    }
}

/* 工具类 */
.clear {
    clear: both;
}