.left-section {
    height: 542px;
    flex: 1 1 0;
}
.right-section {
    height: 542px;
    flex: 1 1 0;
    overflow: hidden;
}

/* ===== 二级标题栏优化 ===== */
.second-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    padding: 0 4px;
    margin-bottom: 12px;
}
.title-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.title-group img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}
.title-text {
    font-size: 20px;
    font-weight: bold;
    color: #009944;
    line-height: 28px;
    letter-spacing: 2px;
}
.more-message {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-size: 14px;
    color: #999;
    transition: color 0.25s ease;
    cursor: pointer;
}
.more-message:hover {
    color: #009944;
}
.more-message .more-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
    transition: transform 0.25s ease;
}
.more-message:hover .more-icon {
    transform: translateX(3px);
}

/* 板块标题样式 */
.section-heading {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.section-heading-title {
    display: flex;
    justify-content: center;
    align-content: center;
}
.section-heading-title span {
    color:#009944;
    font-family: "PingFang SC";
    font-size: 24px;
}
.more-link {
    font-family: "PingFang SC";
    font-size: 14px;
    color: #999999;
}
.zsdt-list{
    width: 100%;
    height: 463px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
/* 导航栏样式 */
.tab-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #009944 0%, #007a35 100%);
    height: 46px;
    box-shadow: 0 2px 6px rgba(0, 153, 68, 0.2);
}
.tab-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.tab-nav ul li {
    width: auto;
    padding: 10px 14px 14px 14px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;

    position: relative;
}
.tab-nav ul li span{
    display: block;
    width: 100%;
    text-align: center;
    font-size: 15px;
    line-height: 22px;
}
.tab-nav ul li.active,
.tab-nav ul li:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
.tab-nav ul li.active:after{
    content: ''; 
  position: absolute; /* 绝对定位，相对于父元素 */
  bottom: 0; 
  left: 50%; /* 水平居中 */
  transform: translateX(-50%); /* 精确居中 */
  
  /* 箭头样式（宽高为0，通过边框实现三角形） */
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-bottom: 4px solid #ffffff; /* 箭头颜色与父元素一致 */
}
.tab-nav .more-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

/* 项目表格样式 */

/* 表格容器样式 */
.project-table {
    width: 100%;
    padding: 12px;
    border-collapse: collapse;
}

/* 表头样式 */
.table-header {
    display: flex;
    width: 100%;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    height: 36px;
    padding: 6px 0px 6px 12px ;
    gap: 8px;
    border-bottom: 1px solid #e8e8e8;
}

.table-header .table-cell:nth-child(2) {
    width: 60px;
    text-align: center;
}
.table-row:hover{
    background-color: #f0faf5 !important;
    cursor: pointer;
    box-shadow: inset 3px 0 0 #009944;
}

/* 数据行的属地列同步右移，保持对齐 */

/* 表头所有单元格居中 */
.table-header .table-cell {
    text-align: left;
    padding: 0;
    font-size: 14px;
    line-height: 24px;
    color: #666666;
}


/* 滚动容器 - 负责裁剪超出内容 */
.table-scroll-wrapper {
    height: 378px; /* 固定高度，控制可见区域 */
    overflow: hidden; /* 隐藏超出部分 */
    position: relative;;
}

/* 动画容器 - 负责滚动 */
.table-croll-container {
    width: 100%;
    animation: tableScrollUp 15s linear infinite;
}

/* 内容容器 */
.table-croll-content {
    width: 100%;
}
.table-croll-container:has(.table-croll-content:hover) {
    animation-play-state: paused; /* 暂停动画 */
}
/* 行样式 */
.table-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #f5f5f5;
    gap: 8px;
    transition: all 0.2s ease;
}
.table-row:nth-child(even) {
    background-color: #fafbfc;
}
.table-cell-name {
    font-family: "PingFang SC";
    font-size: 16px;
}
.table-row.hidden {
    display: none;
}
/* 单元格样式 */
.table-cell {
    padding: 10px;
    white-space: nowrap; /* 防止内容换行 */
    overflow: hidden; /* 隐藏单元格内超出内容 */
    text-overflow: ellipsis; /* 超出部分显示省略号 */
}

.table-cell.table-title{
    flex: 1 1 0;
}
.table-cell.table-location{
    width: 60px;
}
.table-cell.table-price{
    width: 90px;
    text-align: center;
}
.table-cell.table-endtime{
    width: 90px;
    text-align: center;
}
.table-row .table-cell{
    /* height: 48px; */
    font-size: 16px;
    line-height: 24px;
    padding: 12px 0;
}
.table-row .table-title{
    color: #1e1e1e;
    text-align: left;
}
.table-row:hover .table-title{
    color: #009944;
}
.table-row .table-location{
    font-size: 14px;
    line-height: 24px;
    color: #666;
    text-align: center;
}
.table-row .table-price{
    font-size: 14px;
    line-height: 24px;
    color: #F74A35;
}
.table-row .table-endtime{
    text-align: right;
    font-size: 14px;
    line-height: 24px;
    color: #999;
}
/* 从下到上滚动动画 */
@keyframes tableScrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%); /* 滚动高度为内容的一半（因为复制了一份数据） */
    }
}

/* 自动滚动公告栏样式 */
.auto-scroll-container {
    height: 463px;
    overflow: hidden;
    position: relative;;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.auto-scroll-container .project-cardlist{
    animation: gydtConent 15s linear infinite;
}

/* 优质项目卡片布局 */
.project-cardlist{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-start;
}
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}
/*悬停暂停动画*/
.project-cardlist:has(.card-zstj:hover) {
    animation-play-state: paused; /* 暂停动画 */
}
.card-zstj {
    position: relative;;
    width: calc(33.333% - 10px);
    box-sizing: border-box;
    border-radius: 8px;
    overflow: hidden;
    border-style: solid;
    border-color: transparent;
    border-width: 1px;
    cursor: pointer;
    background-color: #ffffff;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.card-zstj:hover {
    cursor: pointer;
    border: 1px solid #009944;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 153, 68, 0.15);
}
.card-zstj .card-img {
    width: 100%;
    height: 158px;
    overflow: hidden;
    position: relative;
}
.card-zstj .card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.03));
    pointer-events: none;
}
.card-zstj .card-img .fill-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card-zstj:hover .card-img .fill-img{
    transform: scale(1.06);
}
.card-zstj .card-content{
    padding: 12px 10px;
    box-sizing: border-box;
}
.card-zstj .card-content p {
    font-size: 14px;
    line-height: 22px;
    color: #333;
    width: 100%;
    height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
    transition: color 0.25s ease;
}
.card-zstj:hover .card-content p {
    color: #009944;
}

/* ==================== 响应式布局 ==================== */

/* 大屏幕笔记本 (1200px - 1400px) */
@media (max-width: 1400px) {
    .left-section {
        flex: 1 1 0;
    }
    .right-section {
        flex: 1 1 0;
    }
}

/* 中等屏幕笔记本 (1200px以下) */
@media (max-width: 1200px) {
    .left-section,
    .right-section {
        flex: none;
        width: 100%;
        height: auto;
    }

    .zs-cards {
        flex-direction: column;
        gap: 16px;
    }

    .zsdt-list {
        height: 380px;
    }

    .table-scroll-wrapper {
        height: 300px;
    }

    .auto-scroll-container {
        height: 350px;
    }

    .project-cardlist {
        gap: 12px;
    }

    .card-zstj {
        width: calc(33.333% - 8px);
    }

    .card-zstj .card-img {
        height: 130px;
    }

    /* 调整父容器高度 */
    section.zs-section,
    section.zs-section .main-container {
        height: auto;
        min-height: auto;
    }
}

/* 平板设备 (768px - 992px) */
@media (max-width: 992px) {
    .left-section {
        flex: none;
        width: 100%;
        height: auto;
    }

    .right-section {
        flex: none;
        width: 100%;
        height: auto;
    }

    .zs-cards {
        flex-direction: column;
        gap: 20px;
    }

    .zsdt-list {
        height: 350px;
    }

    .table-scroll-wrapper {
        height: 280px;
    }

    .auto-scroll-container {
        height: 400px;
    }

    .project-cardlist {
        gap: 12px;
    }

    .card-zstj {
        width: calc(33.333% - 8px);
    }

    .card-zstj .card-img {
        height: 120px;
    }
}

/* 移动端设备 (576px - 768px) */
@media (max-width: 767px) {
    .left-section,
    .right-section {
        height: auto;
    }

    .zs-cards {
        gap: 16px;
    }

    .second-title-bar {
        padding: 0 8px;
    }

    .title-text {
        font-size: 16px;
    }

    .zsdt-list {
        height: 300px;
    }

    .table-scroll-wrapper {
        height: 230px;
    }

    .table-header {
        padding: 4px 8px;
    }

    .table-header .table-cell {
        font-size: 12px;
    }

    .table-row .table-cell {
        font-size: 13px;
        padding: 10px 0;
    }

    .table-cell.table-location {
        width: 50px;
        font-size: 12px;
    }

    .table-cell.table-price {
        width: 70px;
        font-size: 12px;
    }

    .table-cell.table-endtime {
        width: 70px;
        font-size: 12px;
    }

    .tab-nav ul li span {
        font-size: 13px;
        padding: 8px 10px;
    }

    .auto-scroll-container {
        height: 350px;
    }

    .project-cardlist {
        gap: 10px;
    }

    .card-zstj {
        width: calc(50% - 5px);
    }

    .card-zstj .card-img {
        height: 100px;
    }

    .card-zstj .card-content p {
        font-size: 14px;
        height: 36px;
        line-height: 18px;
    }
}

/* 小屏幕移动端 (小于576px) */
@media (max-width: 575px) {
    .title-group img {
        width: 22px;
        height: 22px;
    }

    .title-text {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .more-message {
        font-size: 12px;
    }

    .zsdt-list {
        height: 280px;
    }

    .table-scroll-wrapper {
        height: 210px;
    }

    .table-header .table-cell {
        font-size: 11px;
    }

    .table-row .table-cell {
        font-size: 12px;
        padding: 8px 0;
    }

    .table-cell.table-location {
        width: 45px;
        font-size: 11px;
    }

    .table-cell.table-price {
        width: 60px;
        font-size: 11px;
    }

    .table-cell.table-endtime {
        width: 60px;
        font-size: 11px;
    }

    .tab-nav {
        height: 40px;
    }

    .tab-nav ul li span {
        font-size: 12px;
        padding: 6px 8px;
    }

    .auto-scroll-container {
        height: 320px;
    }

    .card-zstj {
        width: calc(50% - 5px);
    }

    .card-zstj .card-img {
        height: 90px;
    }

    .card-zstj .card-content {
        padding: 8px 6px;
    }

    .card-zstj .card-content p {
        font-size: 14px;
        line-height: 16px;
        height: 32px;
    }

    .card-zstj .card-content .tags .tag {
        font-size: 10px;
        padding: 2px 4px;
    }
    .tab-nav ul li {
        padding: 0;
    }
    .tab-nav ul li span {
        padding:9px 7px;
    }
}
/*智慧政务*/
.zhzw-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* 卡片样式 */
.zhzw-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.zhzw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 153, 68, 0.15);
    border-color: #86efac;
}

.zhzw-card-img {
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.zhzw-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    pointer-events: none;
}

.zhzw-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.zhzw-card:hover .zhzw-card-img img {
    /*transform: scale(1.08);*/
}

.zhzw-card-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    left: 10%;
    top: 30%;
    z-index: 999;
}

.zhzw-card-title {
    font-size: 25px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.zhzw-card:hover .zhzw-card-title {

}

.zhzw-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.zhzw-btn {
    background: linear-gradient(135deg, rgba(0, 153, 68, 1) 0%, rgba(0, 200, 83, 0.8) 100%);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 999px;
    width: 120px;
    font-size: 15px;
}