/* 首页样式 */
.main-content {
    min-height: calc(100vh - 64px);
    padding: 0;
}

.content-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* 左侧分类导航 */
.sidebar {
    position: sticky;
    top: 0;
    width: 152px;
    flex-shrink: 0;
    z-index: 1;
}

.category-nav {
    background: #F5F6FA;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 27px 0;
    box-shadow: 13px 3px 40px 0px rgba(0,0,0,0.0196);
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.category-item {
    position: relative;
    padding: 12px 4px 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 18px;
}

.category-item:hover {
    background: #E8EDFF;
}

.category-item.active {
    background: #E8EDFF;
}

.category-indicator {
    width: 4px;
    height: 18px;
    background: linear-gradient( 180deg, #FF5198 0%, #FF94FD 100%);
    box-shadow: 7px 0px 10px 1px rgba(255,81,152,0.09), inset 0px 0px 1px 0px rgba(255,255,255,0.3);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}

.category-item.active .category-indicator {
    opacity: 1;
}

.category-name {
    font-weight: 400;
    font-size: 16px;
    color: #666666;
    line-height: 19px;
    transition: color 0.2s;
}

.category-item.active .category-name {
    font-size: 20px;
    color: #333333;
    line-height: 23px;
    font-weight: 700;
}

/* 主要内容区域 */
.main-section {
    flex: 1;
    min-width: 0;
}


/* 首页主要内容 */
.home-section {
    background: #FFFFFF;
    padding: 24px 0 0 0;
}

/* 置顶新闻 */
.top-news-wrapper {
    padding: 10px 6px 5px 26px;
    margin-bottom: 32px;
    background: #FFFFFF;
    box-shadow: 0px 1px 4px 0px rgba(53,56,63,0.102);
}

.top-news-container {
    display: flex;
    flex-wrap: wrap;
}

.top-news-item {
    position: relative;
    display: flex;
    align-items: center;
    width: 50%;
    height: 32px;
    padding-right: 26px;
    overflow: hidden;
    cursor: pointer;
}

.top-news-item-label {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #A4ABB7;
    margin-right: 5px;
}

.top-news-item-title-container {
    position: relative;
    flex: 1;
    align-items: center;
    height: 100%;
    overflow: hidden;
}

.top-news-item-title {
    position: absolute;
    display: inline-block;
    left: 0;
    white-space: nowrap;
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    line-height: 32px;
    transition: transform 0.3s ease;
    
}

/* 幻灯片新闻 */
.slider-wrapper {
    display: flex;
    gap: 16px;
    align-items: stretch;
    height: 340px;
    margin-bottom: 20px;
}

.slider-left {
    flex: 1;
    /* overflow: hidden; */
}

.slider {
    position: relative;    
    width: 100%;
    height: 100%;
    background: rgba(232, 237, 255, 0.3);
    border-radius: 12px;
    /* overflow: hidden; */
    cursor: pointer;
}

.slider-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 600px;
    height: 340px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-controls {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    color: #333;
}

.slider-controls.prev-btn {
    left: 20px;
}

.slider-controls.next-btn {
    right: 365px;

}

.slider-controls:hover {
    background: white;
}

.slider-dots {
    position: absolute;
    width: 345px;
    height: 340px;
    top:0;
    right: 0;
}

.dot {
    display: flex;
    align-items: center;
    width: 345px;
    height: 68px;
    padding: 13px 15px;
    font-weight: 300;
    font-size: 16px;
    color: #333333;
    line-height: 22px;
    cursor: pointer;
    transition: all 0.3s;
}
.dot-title {
    display: -webkit-box;
    width: 100%;
    max-height: 100%;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dot.active, .dot:hover {
    font-weight: 500;
    background: #FFFFFF;
    box-shadow: 0px 0px 10px 1px rgba(53,56,63,0.102);
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.slider-right {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    justify-content: space-between;
    width: 224px;
}

.zw-link-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 224px;
    height: 70px;
}

#dyxc-hxsj {
    height: 172px;
    cursor: pointer;
}

#dyxc-hxsj.active .download-qr {
    display: flex;
    top: 186px;
    left: 20px;
    height: 154px;
}
#dyxc-hxsj.active .download-qr-content {
    width: 106px;
    height: 106px;
}

.zw-link-content-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.zw-link-content-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zw-link-content-a {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 34px;
    padding: 0 0 0 15px;
}

.zw-link-content-a-icon {
    display: block;
    width: 34px;
    height: 34px;
    margin-right: 16px;
}

.zw-link-content-a-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.zw-link-content-a-title {
    font-weight: 500;
    font-size: 18px;
    color: #5A87AE;
    line-height: 18px
}


.zw-link-content-a-desc {
    margin-top: 4px;
    font-weight: 400;
    font-size: 12px;
    color: #5A87AE;
    line-height: 12px;
}

/* 新闻频道列表 */
.channel-list-wrapper {
    overflow: hidden;
}
.channel-list {
    margin: 0 -8px 24px -8px;
}

.channel-swiper-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 20px auto;
}

.channel-swiper-channel-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    min-height: 64px;
}

.channel-swiper-slide {
    flex: 0 0 20%; /* 默认每屏显示5个 */
    padding: 0 8px;
    height: 64px;
    user-select: none;
}

.channel-swiper-channel-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0 20px;
    cursor: pointer;
}

.channel-swiper-channel-item-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.channel-swiper-channel-item-name {
    position: relative;
    z-index: 1;
    font-weight: 500;
    font-size: 14px;
    color: #333333;
    line-height: 14px;
}

.channel-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    outline: none;
    cursor: pointer;
    z-index: 10;
    opacity: .8;
    transition: opacity 0.3s;
}

.channel-swiper-button:hover {
    opacity: 1;
}

.channel-swiper-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.channel-swiper-button-prev {
    left: 8px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.channel-swiper-button-next {
    right: 8px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.channel-swiper-button[disabled] {
    opacity: 0;
    cursor: not-allowed;
}

/* 新闻频率列表 */
.frequency-list {
    margin: 0 0 24px 0;
}
.frequency-swiper-container {

}
.frequency-swiper-wrapper {
    display: flex;
    gap: 16px;
}
.frequency-swiper-slide {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 10px 16px 10px 10px;
    height: 64px;
}
.frequency-swiper-slide-logo {
    display: block;
    width: 49px;
    height: 44px;
    margin-right: 8px;
}
.frequency-swiper-slide-text-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}
.frequency-swiper-slide-title {
    font-weight: 500;
    font-size: 12px;
    color: #3F3F45;
    line-height: 14px;
}
.frequency-swiper-slide-desc {
    margin-top: 6px;
    font-weight: 400;
    font-size: 10px;
    color: #717179;
    line-height: 12px;
}
.frequency-swiper-slide-play-icon {
    display: block;
    width: 22px;
    height: 22px;
}

.frequency-swiper-slide-more .frequency-swiper-slide-title{
    font-weight: 400;
    font-size: 14px;
    color: #3D3D3D;
    line-height: 14px;
}
.frequency-swiper-slide-more .frequency-swiper-slide-logo {
    width: 21px;
    height: 21px;
    margin-left: 57px;
    margin-right: 16px;
}

/* 新闻列表 */
.news-section {
    background: #ffffff;
    padding: 8px 0 14px 0;
}

/* 新闻网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}


/* 响应式设计 */
@media (max-width: 1200px) {
    
}

@media (max-width: 768px) {
    
}
