/* 轮播图容器样式 */
.tax-carousel {
    width: 100%;
    margin: 20px 0;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

/* Swiper容器样式 */
.swiper-container {
    width: 100%;
    height: auto;
    overflow: visible;
    position: relative;
}

/* 幻灯片基础样式 */
.swiper-slide {
    width: 100%; /* 移动端默认占满宽度 */
    height: auto;
    transition: all 0.3s ease;
    opacity: 1; /* 移动端默认完全不透明 */
    transform: scale(1); /* 移动端默认不缩放 */
    z-index: 1;
}

/* 幻灯片图片样式 */
.swiper-slide img {
    width: 100%;
    height: 233px;
    object-fit: fill !important;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 分页器样式 */
.swiper-pagination {
    position: absolute;
    bottom: 10px;
    text-align: center;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    opacity: 1;
    margin: 0 4px;
}

.swiper-pagination-bullet-active {
    background: #007bff;
    transform: scale(1.2);
}

/* 导航按钮样式 */
.swiper-button-prev,
.swiper-button-next {
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.9) !important; /* 半透明白色背景 */
    border-radius: 50%;
    color: #333;
    opacity: 0;
    transition: all 0.3s ease;
    /* 确保图标居中显示 */
    display: flex;
    align-items: center;
    justify-content: center;
    
}
.swiper-button-prev:after,
.swiper-button-next:after {
    font-size: 15px !important; /* 调整箭头大小 */
    font-weight: bold;
}
.swiper-container:hover .swiper-button-prev,
.swiper-container:hover .swiper-button-next {
    opacity: 1;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 媒体查询 - 桌面端样式 */
@media screen and (min-width: 768px) {
    .swiper-slide {
        width: 33.33%;
        opacity: 0.5;
        transform: scale(0.8);
    }

    .swiper-slide-active {
        transform: scale(1.2) !important;
        opacity: 1;
        z-index: 2;
    }

    .swiper-slide-prev,
    .swiper-slide-next {
        opacity: 0.8;
        transform: scale(0.95) !important;
        z-index: 1;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    }
}

.post-list-meta-event-time span{
    display: flex !important;
    align-items: center !important;margin-right: 2px;
    gap: 2px;
    margin-left: 0 !important;
}

.post-list-meta-event-location span{
    display: flex !important;
    align-items: center !important;margin-right: 2px;
    gap: 2px;
    margin-left: 0 !important;
}
.event-info-wrapper{
    display: flex;
    flex-direction: column;
    gap:10px;
}

.registration-button {
    display: inline-block;
    font-size: 12px;
    padding: 3px 6px;
    background-color: #005cff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    position: absolute;
    right: 15px;
    bottom: 13px;
}

.registration-button:hover {
    background-color: #8c9ef7;
}
