/* CSS Document */

/* ============================================= */
/* 基础样式 */
/* ============================================= */
.tab-content {
    border-radius: 0;
}

/* 攻略专题内容区域宽度设置 */
#strategy-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* 资讯专题内容区域宽度设置 */
#news-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* ============================================= */
/* 专题分类标签样式 */
/* ============================================= */
.list_titles {
    padding: .26rem .3rem .2rem .3rem;
}

.list_titles ul {
    display: flex;
    border: .01rem solid #667eea;
    border-radius: .08rem;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.list_titles ul li {
    flex: 1;
    height: 0.64rem;
    line-height: 0.64rem;
    text-align: center;
    border: none;
    background-color: #ffffff;
    margin: 0;
}

.list_titles ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #667eea;
    background-color: transparent;
    border: none;
    margin: 0;
    box-sizing: border-box;
    line-height: normal;
    text-align: center;
}

.list_titles .current {
    background-color: #667eea;
    border: none;
}

.list_titles .current a {
    color: #ffffff;
}

.list_titles .current a:hover {
    background-color: transparent;
    text-decoration: none;
}

.list_titles .current span {
    background-color: transparent;
}

.list_titles ul li a h3 {
    color: #667eea;
    margin: 0;
}

.list_titles ul li.current a h3 {
    color: #ffffff;
}

/* ============================================= */
/* 专题轮播图样式 */
/* ============================================= */
.zhuanti-carousel {
    margin: 0;
    position: relative;
    overflow: hidden;
    height: 2.1rem;
    border-radius: 0;
    margin-bottom: 0.15rem;
}

.zhuanti-carousel .swiper-container {
    width: 100%;
    height: 100%;
}

.carousel-item {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: .2rem .3rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
}

.carousel-info * {
    color: #fff !important;
    opacity: 1 !important;
}

.carousel-info h3 {
    margin-bottom: .1rem;
    text-shadow: 0 .01rem .02rem rgba(0,0,0,0.5);
}

.carousel-info p {
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    overflow: hidden;
}

/* 轮播图分页器样式 */
.zhuanti-carousel .swiper-pagination-bullet {
    width: .2rem;
    height: .04rem;
    background: #fff;
    border-radius: 0;
}

.zhuanti-carousel .swiper-pagination-bullet-active {
    background: #ffaf13;
}

/* 隐藏默认导航按钮 */
.zhuanti-carousel .swiper-button-prev,
.zhuanti-carousel .swiper-button-next {
    display: none;
}

/* ============================================= */
/* 新闻卡片样式 */
/* ============================================= */

/* 新闻卡片网格容器 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .2rem;
    padding: .2rem 0;
}

/* 新闻卡片样式 */
.news-card {
    background-color: #fff;
    border-radius: .1rem;
    overflow: hidden;
    box-shadow: 0 .01rem .04rem rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-.03rem);
    box-shadow: 0 .04rem .12rem rgba(0,0,0,0.15);
}

.news-card a.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

/* 卡片图片样式 */
.card-image {
    position: relative;
    padding-top: 62.5%; /* 16:10 宽高比 */
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.08);
}

/* 卡片内容样式 */
.card-info {
    padding: .15rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-info h3 {
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    transition: color 0.3s ease;
}

.news-card:hover .card-info h3 {
    color: #e5004f;
}

.card-info p {
    color: #999;
    font-size: 0.20rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

/* 卡片元数据样式 */
.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: .20rem;
    color: #999;
    margin-top: .1rem;
}

.card-meta .count {
    display: inline-block;
    padding: .02rem .08rem;
    background-color: #e0f7fa;
    border-radius: .1rem;
    font-size: .20rem;
    color: #667eea;
    margin-right: .1rem;
    margin-bottom: .05rem;
}

.card-meta .time,
.card-meta .views {
    font-size: .20rem;
    color: #999;
    margin-right: .15rem;
    margin-bottom: .05rem;
}

.card-meta .views {
    display: inline-flex;
    align-items: center;
}

.card-meta .views::before,
.news-card .card-meta .views::before {
    content: '👁';
    margin-right: .04rem;
    font-size: .14rem;
}


/* ============================================= */
/* 间距控制 */
/* ============================================= */
.h20 {
    height: 0.15rem;
    clear: both;
}


/* 轮播图响应式 - 已移至main.js动态控制 */