* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    margin: 0 auto;
    position: relative;
}

a {
    text-decoration: none;
}

/* 状态栏 */
.status-bar {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    color: #333;
    font-weight: 600;
    font-size: 17px;
    transition: transform 0.3s ease;
}

.status-left {
    font-weight: 600;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 5px;
}

.signal-bars {
    display: flex;
    gap: 2px;
}

.bar {
    width: 3px;
    background: #333;
    border-radius: 1px;
}

.bar:nth-child(1) {
    height: 4px;
}

.bar:nth-child(2) {
    height: 6px;
}

.bar:nth-child(3) {
    height: 8px;
}

.bar:nth-child(4) {
    height: 10px;
}

.wifi-icon {
    width: 15px;
    height: 15px;
    background: #333;
    border-radius: 50%;
    position: relative;
}

.battery {
    width: 24px;
    height: 12px;
    border: 1px solid #333;
    border-radius: 2px;
    position: relative;
    background: #333;
}

.battery::after {
    content: '';
    position: absolute;
    right: -3px;
    top: 3px;
    width: 2px;
    height: 6px;
    background: #333;
    border-radius: 0 1px 1px 0;
}

/* 头部区域 */
.header {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    padding: 80px 20px 80px;
    position: relative;
    overflow: hidden;
}

.header .back {
    position: absolute;
    left: 20px;
    top: 20px;
    width: 30px;
    height: 30px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.header .back img {
    width: 18px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/*案例直播间*/
.header-alzbj:before {
    background: url("/assets2021/img/yhyshj25/banner-alzbj.jpg") no-repeat center center;
    background-size: 100% auto;
}

/*工作动态*/
.header-gzdt::before {
    background: url("/assets2021/img/yhyshj25/banner-gzdt.png") no-repeat center center;
    background-size: 100% auto;
}

/*绩效公开*/
.header-jxgk::before {
    background: url("/assets2021/img/yhyshj25/banner-jxgk.png") no-repeat center center;
    background-size: 100% auto;
}

/*一图读懂*/
.header-ytdd::before {
    background: url("/assets2021/img/yhyshj25/banner-ytdd.jpg") no-repeat center center;
    background-size: 100% auto;
}

/*政策工具箱*/
.header-zcgjx::before {
    background: url("/assets2021/img/yhyshj25/banner-zcgjx.jpg") no-repeat center center;
    background-size: 100% auto;
}

/*政策文件*/
.header-zcwj::before {
    background: url("/assets2021/img/yhyshj25/banner-zcwj.jpg") no-repeat center top;
    background-size: 100% auto;
}

.header-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-start;
}

.header-title {
    font-size: 32px;
    font-weight: 700;
    color: #268afe;
    position: relative;
}

.header-title:before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    height: 10px;
    background: linear-gradient(to right, rgba(243, 182, 74, 0.4), rgba(243, 182, 74, 0.8), rgba(243, 182, 74, 0.4));
    border-radius: 50px;
    z-index: -1;
}

.header-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 80px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* 标签页 */
.tabs-container {
    background: #f4f9ff;
    padding: 20px 16px;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px 20px 0 0;
    margin-top: -20px;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 10px rgba(140, 199, 255, 0.6);
}

.header-content {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.tab {
    padding: 8px 20px;
    border-radius: 50px;
    flex: 1;
    text-align: center;
    border: 1px solid #268afe;
    background: white;
    color: #268afe;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.tab.active {
    background: linear-gradient(to right, #3297ff, #7de6ff);
    border: 0;
    color: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.tab.active span {
    color: white;
}

.tab span {
    color: #268afe;
}

.tab::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #3b82f6;
}

.tab.active::after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #3b82f6;
    bottom: -10px;
}

/* 内容区域 */
.content {
    background: white;
    min-height: calc(100vh - 200px);
    padding: 0 16px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.content-img {
    padding: 0;
    box-shadow: none;
    background: none;
}

.content-img img {
    width: 100%;
    border-radius: 10px;
}

.article-list {
    list-style: none;
    display: none;
    flex-wrap: wrap;
}

.article-list.active {
    display: flex;
}

.article-item {
    padding: 20px 10px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 50%;
}

.article-item video {
    width: 100%;
}

.article-item a {
    display: flex;
    align-items: stretch;
    gap: 10px;
    text-decoration: none;
}

.article-item a>div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-item a>img {
    width: 210px;
    height: 140px;
    border-radius: 10px;
    object-fit: cover;
}

.article-item:hover {
    background-color: #f9fafb;
}

.article-item:last-child {
    border-bottom: none;
}

.article-title {
    font-size: 16px;
    color: #111827;
    line-height: 1.5;
    margin-bottom: 8px;
    font-weight: 500;
}

.article-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 13px;
    color: #9ca3af;
}

.article-date {
    color: #9ca3af;
}

.article-browse {
    color: #909090;
    border-radius: 12px;
    font-size: 12px;
}

.article-list-video {
    padding-top: 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.article-list-video li {
    width: 33.33%;
    padding: 5px;
    position: relative;
}

.article-list-video li img.video-img {
    width: 100%;
    height: 40vw;
    object-fit: contain;
    background: #000;
    border-radius: 10px;
}

.article-list-video li img.video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
}

/* 底部指示器 */
.bottom-indicator {
    position: fixed;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 134px;
    height: 5px;
    background: #000;
    border-radius: 3px;
    z-index: 1000;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 1000;
    display: none;
}

.video-modal.active {
    display: block;
}

.video-modal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
}

.video-back-btn {
    border: none;
    background: none;
    color: white;
    cursor: pointer;
}

.video-back-btn img {
    width: 50px;
    height: auto;
}

.video-back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.video-player-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-player-container video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 767px) {
    .article-item a>img {
        width: 190px;
        height: 100px;
    }

    .article-item {
        width: 100%;
        padding: 20px 0;
    }

    /*案例直播间*/
    .header-alzbj:before {
        background: url("/assets2021/img/yhyshj25/banner-alzbj.jpg") no-repeat center top;
        background-size: 100% auto;
    }

    /*工作动态*/
    .header-gzdt::before {
        background: url("/assets2021/img/yhyshj25/banner-gzdt.png") no-repeat center top;
        background-size: 100% auto;
    }

    /*绩效公开*/
    .header-jxgk::before {
        background: url("/assets2021/img/yhyshj25/banner-jxgk.png") no-repeat center top;
        background-size: 100% auto;
    }

    /*一图读懂*/
    .header-ytdd::before {
        background: url("/assets2021/img/yhyshj25/banner-ytdd.jpg") no-repeat center top;
        background-size: 100% auto;
    }

    /*政策工具箱*/
    .header-zcgjx::before {
        background: url("/assets2021/img/yhyshj25/banner-zcgjx.jpg") no-repeat center top;
        background-size: 100% auto;
    }

    /*政策文件*/
    .header-zcwj::before {
        background: url("/assets2021/img/yhyshj25/banner-zcwj.jpg") no-repeat center top;
        background-size: 100% auto;
    }
}

/* 响应式调整 */
@media (max-width: 480px) {
    .header-title {
        font-size: 28px;
    }

    .header-icon {
        width: 100px;
        height: 70px;
        font-size: 35px;
    }

    .tabs {
        gap: 10px;
    }

    .tab {
        padding: 6px 16px;
        font-size: 13px;
    }
}

.hidden {
    display: none;
}