/**
 * 天域-活动报名系统 - 活动前端样式
 */

/* 活动列表页轮播图 */
.activity-coverflow-banner {
    overflow: hidden;
    max-width: 1408.58px;
    margin: 0 auto;
}
#activity-coverflow-swiper {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 40px;
    position: relative;
}
#activity-coverflow-swiper .swiper-slide {
    width: 50%;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    transition: opacity 0.3s ease;
    opacity: 0;
}
#activity-coverflow-swiper .swiper-slide-active,
#activity-coverflow-swiper .swiper-slide-prev,
#activity-coverflow-swiper .swiper-slide-next {
    opacity: 1;
}
#activity-coverflow-swiper .swiper-slide a {
    display: block;
}
#activity-coverflow-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    /* aspect-ratio 由后台配置动态输出 */
    object-fit: cover;
    display: block;
}
#activity-coverflow-swiper .swiper-pagination {
    bottom: 50px;
}
#activity-coverflow-swiper .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    opacity: 1;
    transition: all 0.3s ease;
}
#activity-coverflow-swiper .swiper-pagination-bullet-active {
    background: #fff;
    width: 18px;
    border-radius: 3px;
}
@media (max-width: 768px) {
    #activity-coverflow-swiper .swiper-slide {
        width: 70%;
    }
}

/*隐藏 子比标题竖线*/
.title-theme.tianyu-widget-header:before {
    display: none!important;
}

/* 天域标题样式 */
.title-theme.tianyu-widget-header {
    display: flex!important;
    align-items: center!important;
    gap: 10px!important;
    flex-wrap: nowrap!important;
    padding-left: 0!important;
}
.tianyu-title-icon {
    height: 35px!important;
    width: auto!important;
    vertical-align: middle!important;
}
.tianyu-title-text {
    display: flex!important;
    flex-direction: row!important;
    align-items: flex-end!important;
    font-size: 25px!important;
    font-weight: 600!important;
    line-height: 25px!important;
}

/* 文章标题*/
.posts-item.card .item-heading, .posts-mini-con .item-heading {
    font-size: 18px !important;
}

/* 横向滚动导航箭头 */
.tianyu-swiper-nav {
    display: flex;
    gap: 16px;
    align-items: center;
}
.tianyu-swiper-nav span {
    cursor: pointer;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.tianyu-swiper-nav span::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    transition: border-color 0.2s;
}
.tianyu-swiper-nav .tianyu-nav-prev::before {
    transform: rotate(-135deg);
    margin-left: 4px;
}
.tianyu-swiper-nav .tianyu-nav-next::before {
    transform: rotate(45deg);
    margin-right: 4px;
}
/* 禁用状态 - 灰色 */
.tianyu-swiper-nav span.disabled::before {
    border-color: #ccc;
}
.tianyu-swiper-nav span.disabled {
    cursor: default;
}
/* 可用状态 hover */
.tianyu-swiper-nav span:not(.disabled):hover::before {
    border-color: #000;
}
