#textfield_all1 { width: 560px; }

.searchinput {
    width: 600px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
#textfield_all1 { background: transparent; color: #333; }
.searchbox h2 { font-weight: bold; }
.searchlist{text-align: left;}

           /* AI 推荐栏 */
.inBox:first-of-type {
    text-align: center;
}
.ai-bar {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 24px;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
    margin-top: 16px;
    pointer-events: auto;
    text-align: left;
}
.rec-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #444;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
    pointer-events: auto;
}
.arrow-wrap {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .4s cubic-bezier(0.34,1.56,0.64,1);
}
.arrow-wrap svg { width: 10px; height: 10px; stroke: #666; stroke-width: 2; fill: none; }
.rec-toggle.open .arrow-wrap { transform: rotate(180deg); }
.ai-text {
    font-size: 15px;
    color: #555;
    letter-spacing: 0.5px;
}
.ai-highlight {
    display: inline-block;
    vertical-align: middle;
    margin-right: 2px;
    line-height: 1;
}
.ai-highlight svg { display: block; }
.exp-btn {
    font-size: 13px;
    color: #777;
    border: 1px solid rgba(0,0,0,0.12);
    background: rgba(255,255,255,0.6);
    padding: 4px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all .3s;
}
.exp-btn:hover {
    background: rgba(255,255,255,0.9);
    border-color: rgba(0,0,0,0.2);
}
/* 搜索框下推荐内容 */
.rec-panel {
    width: 100%;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    text-align: left;
    transition: max-height .6s cubic-bezier(0.22,1,0.36,1), opacity .5s ease, margin-top .3s ease;
}
.rec-panel.open {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
    pointer-events: auto;
}
.rec-panel .rec-card {
    opacity: 0;
    transform: scale(0.6) translateY(40px);
    transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1), opacity 0.5s ease;
}
.rec-panel.open .rec-card {
    opacity: 1;
    transform: scale(1) translateY(0);
}
.rec-panel.open .rec-card:nth-child(1) { transition-delay: 0.05s; }
.rec-panel.open .rec-card:nth-child(2) { transition-delay: 0.12s; }
.rec-panel.open .rec-card:nth-child(3) { transition-delay: 0.19s; }
.rec-panel.open .rec-card:nth-child(4) { transition-delay: 0.26s; }
.rec-panel .rec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    width: 100%;
}
.rec-panel .rec-card {
    position: relative;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.8);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    min-height: 0;
}
.rec-panel .rec-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(140, 77, 127, 0.1) 45%, rgba(152, 108, 143, 0.1) 55%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.9s ease;
    pointer-events: none;
    border-radius: 16px;
}
.rec-panel .rec-card:hover::before {
    transform: translateX(100%);
}
.rec-panel .rec-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}
.rec-panel .rec-title-text {
    display: flex;
    align-items: center;
    gap: 8px;
}
.rec-panel .rec-card-more {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .3s;
    font-weight: normal;
    flex-shrink: 0;
}
.rec-panel .rec-card-more:hover {
    color: #8c4d7f;
}
.rec-panel .rec-card-more svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}
.rec-panel .rec-card-title .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid #8c4d7f;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 4px #8c4d7f;
}
.rec-panel .rec-card-title .dot.primary {
    background: #8c4d7f;
}
.rec-panel .rec-card-body {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    flex: 1;
}
.rec-panel .rec-card-body a {
    color: #444;
    text-decoration: none;
    transition: color .3s;
}
.rec-panel .rec-card-body a:hover {
    color: #8c4d7f;
}
.rec-panel .rec-card-body li {
    list-style: none;
    position: relative;
    padding-left: 14px;
    margin-bottom: 6px;
}
.rec-panel .rec-card-body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #8c4d7f;
}
.rec-panel .rec-card-body .inline-arrow {
    color: #888;
    margin-left: 2px;
}
.rec-panel .rec-card-footer {
    margin-top: 14px;
    text-align: right;
}
.rec-panel .rec-card-footer a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .3s;
}
.rec-panel .rec-card-footer a:hover {
    color: #8c4d7f;
}
.rec-panel .rec-card-footer a svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}
/* 内容区域 */
.content-section {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border-top: 1px solid rgba(255,255,255,0.5);
    padding: 40px 24px;
    transform: translateY(60px);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.22,1,0.36,1), opacity 0.8s ease;
}
.content-section.visible {
    transform: translateY(0);
    opacity: 1;
}
.content-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.content-card {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    min-width: 0;
    overflow: hidden;
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding-bottom: 12px;
}
.card-header h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}
.card-tabs {
    display: flex;
    gap: 24px;
}
.card-tabs .tab {
    font-size: 16px;
    color: #666;
    cursor: pointer;
    padding-bottom: 8px;
    position: relative;
    transition: color .3s;
}
.card-tabs .tab:hover { color: #333; }
.card-tabs .tab.active {
    font-weight: 600;
    color: #1a1a1a;
}
.card-tabs .tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0; right: 0;
    height: 3px;
    background: #8c4d7f;
    border-radius: 2px;
}
.icon-btn {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: all .3s;
    flex-shrink: 0;
    padding: 0;
}
.icon-btn:hover {
    background: #8c4d7f;
    border-color: #8c4d7f;
    color: #fff;
}
.icon-btn svg {
    width: 14px; height: 14px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}
.news-panel {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}
.news-panel .news-list,
.news-panel .panel-zscd {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}
.news-panel .news-list.active,
.news-panel .panel-zscd.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.news-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    padding: 12px 0 12px 16px;
    position: relative;
    border-bottom: 1px dashed rgba(0,0,0,0.12);
}
.news-list li a {
    color: #444;
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-list li a:hover { color: #8c4d7f; }
.news-list li .news-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: auto;
}
.news-list li:last-child { border-bottom: none; }
.news-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: #8c4d7f;
    border-radius: 50%;
}
.panel-zscd .zscd-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.panel-zscd .zscd-news-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
    padding: 12px 0 12px 16px;
    position: relative;
    border-bottom: 1px dashed rgba(0,0,0,0.12);
}
.panel-zscd .zscd-news-list li a {
    color: #444;
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.panel-zscd .zscd-news-list li a:hover { color: #8c4d7f; }
.panel-zscd .zscd-news-list li .news-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    margin-left: auto;
}
.panel-zscd .zscd-news-list li:last-child { border-bottom: none; }
.panel-zscd .zscd-news-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 6px; height: 6px;
    background: #8c4d7f;
    border-radius: 50%;
}
.service-swiper {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.service-swiper .service-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}
.service-swiper .service-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}
.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.service-item {
    background: #f8f5f7;
    border: 1px solid #e8dde5;
    border-radius: 12px;
    padding: 18px;
    color: #2c3e50;
    min-height: 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .3s, box-shadow .3s, background .3s;
    text-decoration: none;
}
.service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(140, 77, 127, 0.18);
    background: #f0e8ed;
}
.service-item-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 4px;
}
.service-item-desc {
    font-size: 12px;
    opacity: 0.9;
}
@media screen and (min-width: 300px) and (max-width: 1024px){
    .searchinput{width: 100%;}
    .card-tabs .tab{font-size: 14px;}
    .rec-panel .rec-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }
    .rec-panel .rec-card {
        padding: 15px;
    }
    .ai-bar {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 16px;
        margin-top: 12px;
    }
    .content-inner {
        grid-template-columns: 1fr;
    }
    .content-section {
        padding: 24px 15px;
    }
    .service-grid {
        grid-template-columns: 1fr;
    }
}

            /* 视频集锦展示 */
            .video-showcase { width: 100%; }
            .video-showcase .video-hd { height: 40px; line-height: 38px; border-bottom: 2px solid #eee; margin-bottom: 15px; }
            .video-showcase .video-hd h3 { float: left; font-size: 18px; font-weight: bold; color: #333; margin: 0; }
            .video-showcase .video-hd a { float: right; font-size: 14px; color: #666; }
            .video-showcase .video-hd a:hover { color: #986c8f; }
            .video-showcase .video-list { width: 100%; }
            .video-card { display: block; text-decoration: none; color: #333; }
            .video-card:hover { color: #986c8f; }
            .video-card .video-cover { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; border-radius: 4px; background-color: #f5f5f5; }
            .video-card .video-cover::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-image: var(--bg-img); background-size: cover; background-position: center; transition: transform .3s ease; }
            .video-card:hover .video-cover::before { transform: scale(1.05); }
            .video-card .video-cover img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; }
            .video-card .video-play { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(0,0,0,0.6); border-radius: 50%; border: 2px solid rgba(255,255,255,0.8); }
            .video-card .video-play i { position: absolute; left: 50%; top: 50%; margin: -7px 0 0 -4px; width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }
            .video-row { display: flex; gap: 12px; margin-bottom: 18px; }
            .video-row .video-card { flex: 1;     width: 228px;}
            .video-card .video-title { margin: 10px 0 0;  line-height: 1.4; height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #815b7d;}
            .video-records { border-top: 1px dashed #ddd; padding-top: 4px; }
            .video-records li { height: 40px; line-height: 40px; background: url(http://zjj.sz.gov.cn/main-images/chan_dian22.png) no-repeat left center; padding-left: 10px; }
            .video-records li a { display: inline-block; float: left; width: 390px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
            .video-records li i { display: inline-block; float: right; color: #999; font-size: 14px; }
            @media screen and (max-width: 1024px) {
                .video-row { gap: 10px; flex-direction: column;margin-bottom: 0;}
                .video-card .video-play { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
                .video-card .video-play i { margin: -6px 0 0 -3px; border-width: 6px 0 6px 10px; }
                .video-card .video-title {  height: 18px; }
                .video-row .video-card{margin-bottom: 15px;width: 100%;}
                .video-records li a { width: calc(100% - 50px); }
            }
            /* 清除inBox浮动，防止infoleft/inforight高度不一致导致错位 */
            .inBox:after { content: ""; display: block; clear: both; }
            .inBox { zoom: 1; }