/* =======================================
    顶部横幅轮播样式
======================================= */
.top-banner {
    width: 1200px;
    height: 650px;
    margin: 0 auto;
    background: linear-gradient(135deg, #E50015 0%, #c70012 50%, #a5000f 100%);
    position: relative;
    overflow: hidden;
}

.top-banner .swiper-container {
    width: 1200px;
    height: 100%;
    position: relative;
}

.top-banner .swiper-slide {
    width: 1200px;
    height: 650px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.top-banner .banner-image-wrapper {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f5f5f5;
    overflow: hidden;
}

.top-banner .banner-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-banner .slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* 轮播分页器样式 - 点状分页 */
.top-banner-pagination {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    padding: 0 30px;
    height: 54px;
    z-index: 20;
    pointer-events: none;
}

.top-banner-pagination span {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    pointer-events: auto;
}
span.swiper-pagination-switch.swiper-visible-switch.swiper-active-switch {
    background: rgb(255 255 255);
    width: 30px;
}
.top-banner-pagination .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 28px;
}

/* 分页器容器样式 - 已移除，分页器直接定位 */

/* 标题区域样式 */
.top-banner .banner-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    background: #E50015;
    position: relative;
}

.top-banner .banner-title {
    font-size: 24px;
    font-weight: bold;
    text-align: left;
    margin: 0;
    color: #fff;
    opacity: 1;
    transform: none;
    line-height: 1.4;
    flex: 1;
    padding: 0 30px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-banner .banner-title a {
    color: #fff;
}

.top-banner .banner-nav-buttons {
    display: none;
}

.top-banner .banner-nav-buttons button {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #E50015;
}

.top-banner .banner-nav-buttons button:hover {
    background: #fff;
    transform: scale(1.1);
}

.top-banner .banner-nav-buttons button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.top-banner .banner-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 1;
    transform: none;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0 30px 15px 30px;
}

/* 轮播内容区域 */
.top-banner .banner-content {
    width: 100%;
    flex-shrink: 0;
    z-index: 15;
}

/* 红色渐变遮罩 */
.top-banner .banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 5;
    pointer-events: none;
}

/* 装饰性元素 */
.top-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 70%,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%
    );
    z-index: 1;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

/* =======================================
    轮播内容列表样式
======================================= */
.content-slide .jklist li {
    height: 40px;
}

/* =======================================
    滚动列表容器样式
======================================= */
.scrolllist {
    overflow: hidden;
    height: 220px;
}

/* =======================================
    捐赠列表样式
======================================= */
.jklist {
    height: auto !important;
}

.jklist .jkf {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.jklist .jkyt {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* =======================================
    银行转账项目样式
======================================= */
.yhzz_item {
    height: 60px !important;
    line-height: 60px !important;
    margin-top: 2px;
    margin-bottom: 18px !important;
}

/* =======================================
    在线捐赠样式
======================================= */
.zxzz {
    height: 220px !important;
}