/* 修复导航栏菜单间距 - 确保新闻资讯和人才招聘之间的间距正常 */
.p_navBox1 > li.p_navItem1 {
    margin: 0 15px !important;
    padding: 0 !important;
}

.p_navBox1 > li.p_navItem1:first-child {
    margin-left: 0 !important;
}

.p_navBox1 > li.p_navItem1:last-child {
    margin-right: 0 !important;
}

/* 移动端菜单按钮样式 */
.p_navButton {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    padding: 5px;
    z-index: 1001;
}

.p_navButton p {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.p_navButton span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.p_navButton.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.p_navButton.active span:nth-child(2) {
    opacity: 0;
}

.p_navButton.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* 确保导航始终位于最上层，避免被后续模块覆盖 */
#c_navigation_126-1685133183773 {
    z-index: 2000 !important;
}

@media screen and (max-width: 768px) {
    #c_navigation_126-1685133183773 .p_navButton {
        position: relative;
        z-index: 2002 !important;
        pointer-events: auto !important;
        touch-action: manipulation;
    }
    
    #c_navigation_126-1685133183773 .p_navButton > p {
        pointer-events: none;
    }
}

/* 移动端菜单显示/隐藏 */
@media screen and (max-width: 768px) {
    .p_navButton {
        display: flex !important;
    }
    
    .p_navBox1 {
        position: fixed;
        top: 0;
        left: -100%;
        width: 75%;
        max-width: 280px;
        height: 100vh;
        background: #ffffff !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1001 !important;
        transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0;
        flex-direction: column;
        align-items: stretch;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
        transform: translateZ(0);
        will-change: transform;
        pointer-events: auto !important;
    }
    
    
    .p_navBox1.mobile-menu-open {
        left: 0 !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    
    /* 确保菜单在移动端默认隐藏，但展开时完全可见 */
    .p_navBox1:not(.mobile-menu-open) {
        left: -100% !important;
    }
    
    /* 主菜单项样式优化 */
    .p_navBox1 > li.p_navItem1 {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .p_navBox1 > li.p_navItem1:first-child {
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .p_navBox1 > li.p_navItem1 > p {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .p_navBox1 > li.p_navItem1 > p > a {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        padding: 16px 20px !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: #2c3e50 !important;
        text-decoration: none !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.5 !important;
        transition: all 0.2s ease !important;
        background-color: transparent !important;
        position: relative !important;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .p_navBox1 > li.p_navItem1 > p > a:hover,
    .p_navBox1 > li.p_navItem1 > p > a:active {
        background-color: rgba(211, 47, 47, 0.08) !important;
        color: #d32f2f !important;
    }
    
    .p_navBox1 > li.p_navItem1 > p > a span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
        color: inherit !important;
        flex: 0 0 auto !important;
    }
    
    /* 箭头图标样式 - 确保与文字在同一行 */
    .p_navBox1 > li.p_navItem1 > p > svg.p_jtIcon {
        width: 16px !important;
        height: 16px !important;
        fill: #95a5a6 !important;
        transition: all 0.2s ease !important;
        flex-shrink: 0 !important;
        margin-right: 20px !important;
        display: inline-block !important;
        vertical-align: middle !important;
        align-self: center !important;
    }
    
    .p_navBox1 > li.p_navItem1:hover > p > svg.p_jtIcon,
    .p_navBox1 > li.p_navItem1 > p:hover > svg.p_jtIcon {
        fill: #d32f2f !important;
    }
    
    /* 确保有子菜单的菜单项，整个p元素可点击 */
    .p_navBox1 > li.p_navItem1 > p.js_editor_click {
        cursor: pointer !important;
    }
    
    .p_navBox1 > li.p_navItem1 > p.js_editor_click:hover {
        background-color: rgba(211, 47, 47, 0.08) !important;
    }
    
    .p_navBox1 > li.p_navItem1 > p.js_editor_click:hover > a {
        background-color: transparent !important;
    }
    
    /* 确保菜单显示正确 */
    .p_navBox1.mobile-menu-open {
        z-index: 1001 !important;
        pointer-events: auto !important;
        background: #ffffff !important;
        opacity: 1 !important;
    }
    
    /* 确保菜单项不透明 */
    .p_navBox1.mobile-menu-open > li,
    .p_navBox1.mobile-menu-open > li > p,
    .p_navBox1.mobile-menu-open > li > p > a {
        background: transparent !important;
        opacity: 1 !important;
    }
    
    /* 下拉菜单（子菜单）样式优化 */
    .p_navBox1 > li.p_navItem1 .p_navBox2 {
        position: static !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        box-shadow: none !important;
        background: rgba(248, 249, 250, 0.8) !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .warp {
        display: none !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .left {
        display: block !important;
        padding: 0 !important;
        width: 100% !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .left .title,
    .p_navBox1 > li.p_navItem1 .p_navBox2 .left .jieshao {
        display: none !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .left > ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 8px 0 !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 > p {
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 > p > a {
        display: flex !important;
        align-items: center !important;
        padding: 12px 20px 12px 40px !important;
        color: #5a6c7d !important;
        text-decoration: none !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.5 !important;
        transition: all 0.2s ease !important;
        background-color: transparent !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 > p > a:hover,
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 > p > a:active {
        background-color: rgba(211, 47, 47, 0.1) !important;
        color: #d32f2f !important;
        padding-left: 45px !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 > p > a span {
        color: inherit !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 > p > a span.p_img {
        display: none !important;
    }
    
    .p_navBox1 > li.p_navItem1 .p_navBox2 .p_navItem2 > p > svg {
        display: none !important;
    }
    
    /* 强制显示所有菜单内容 */
    .p_navBox1.mobile-menu-open * {
        visibility: visible !important;
    }
    
    .p_navBox1.mobile-menu-open li {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .p_navBox1.mobile-menu-open p {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .p_navBox1.mobile-menu-open a {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        text-decoration: none !important;
    }
    
    .p_navBox1.mobile-menu-open a span {
        display: inline-block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 确保菜单容器本身可见 */
    .e_navigationF-24 .p_navBox1.mobile-menu-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 覆盖可能隐藏菜单的样式 */
    #c_navigation_126-1685133183773 .p_navBox1.mobile-menu-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 确保导航容器不隐藏菜单 */
    .e_navigationF-24 .p_navBox1.mobile-menu-open,
    .e_container-21 .p_navBox1.mobile-menu-open {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* 自定义滚动条样式 */
    .p_navBox1::-webkit-scrollbar {
        width: 4px;
    }
    
    .p_navBox1::-webkit-scrollbar-track {
        background: transparent;
    }
    
    .p_navBox1::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.2);
        border-radius: 2px;
    }
    
    .p_navBox1::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, 0.3);
    }
}

.cms-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    align-items: center;
    padding: 40px 0;
}

.cms-about-text h2 {
    font-size: 32px;
    margin: 0 0 16px;
}

.cms-about-content p {
    margin: 0 0 12px;
    line-height: 1.8;
}

.cms-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.cms-about-image img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.cms-project-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

@media screen and (max-width: 1200px) {
    .cms-project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .cms-project-grid {
        grid-template-columns: 1fr;
    }
}

.cms-project-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cms-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.12);
}

.cms-project-card a {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.cms-project-image {
    width: 100%;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
    background-repeat: no-repeat;
    position: relative;
    flex-shrink: 0;
}

.cms-project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 100%);
}

.cms-project-info {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cms-project-info h3 {
    margin: 0 0 10px;
    font-size: 20px;
    flex-shrink: 0;
}

.cms-project-info p {
    margin: 0 0 12px;
    color: #5f6270;
    line-height: 1.6;
    flex: 1;
    min-height: 48px;
}

.cms-project-info .cms-link {
    margin-top: auto;
    flex-shrink: 0;
}

.cms-link {
    font-weight: 600;
    color: #ad7446;
}

.cms-page-wrapper {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

.cms-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.cms-page-header h1 {
    margin-bottom: 10px;
    font-size: 32px;
}

.cms-breadcrumb {
    font-size: 14px;
    color: #888;
}

.cms-detail-cover img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
}

.cms-detail-content {
    line-height: 1.9;
    font-size: 16px;
}

.cms-detail-content p {
    margin-bottom: 16px;
}

.cms-card-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.cms-card-list article {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.cms-card-list article h3 {
    margin-top: 0;
}

.cms-card-list article a {
    color: #ad7446;
    text-decoration: none;
    font-weight: 600;
}

.cms-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 16px;
}

/* Logo自适应样式 - 防止logo撑得太大 */
.cbox-21-0 {
    max-width: 200px;
    max-height: 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cbox-21-0 .e_image-16 {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.cbox-21-0 .e_image-16 a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}

.cbox-21-0 .e_image-16 img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* 新闻资讯模块样式 */
.cms-news-section {
    padding: 60px 0;
    background: #fff;
}

.cms-news-section .e_container-1 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cms-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cms-news-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.cms-news-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cms-news-more:hover {
    background: #d32f2f;
    transform: scale(1.1);
}

.cms-news-more:hover svg path {
    fill: #fff;
}

.cms-news-content {
    margin-top: 0;
    width: 100%;
}

.cms-news-featured {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cms-news-featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.cms-news-featured-link {
    display: flex;
    text-decoration: none;
    color: inherit;
    gap: 24px;
    align-items: center;
}

.cms-news-featured-image {
    flex: 0 0 300px;
    height: 200px;
    overflow: hidden;
}

.cms-news-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cms-news-featured:hover .cms-news-featured-image img {
    transform: scale(1.05);
}

.cms-news-featured-text {
    flex: 1;
    padding: 24px;
}

.cms-news-featured-title {
    font-size: 24px;
    font-weight: 600;
    color: #d32f2f;
    margin: 0 0 12px;
    display: block;
    line-height: 1.4;
}

.cms-news-featured-summary {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.cms-news-list {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cms-news-item {
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
}

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

.cms-news-item:hover {
    background: #fafafa;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 8px;
}

.cms-news-item-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    gap: 20px;
}

.cms-news-item-title {
    flex: 1;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.cms-news-item:hover .cms-news-item-title {
    color: #d32f2f;
}

.cms-news-item-date {
    flex: 0 0 auto;
    font-size: 14px;
    color: #999;
    white-space: nowrap;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
    .cbox-21-0 {
        max-width: 150px;
        max-height: 60px;
    }
    
    .cbox-21-0 .e_image-16 img {
        max-height: 60px;
    }
    
    .cms-news-featured-link {
        flex-direction: column;
    }
    
    .cms-news-featured-image {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    
    .cms-news-item-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .cms-news-item-date {
        align-self: flex-end;
    }
}

/* 底部内容优化 - 参考图片布局 */
.cms-footer {
    background: #2c2c2c;
    color: #fff;
    padding: 40px 0 30px;
}

.cms-footer-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航链接区域 */
.cms-footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

.cms-footer-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.cms-footer-nav a:hover {
    color: #d32f2f;
}

/* 分隔线 */
.cms-footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0 30px;
    width: 100%;
}

/* 主要内容区域 */
.cms-footer-main {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: start;
}

/* 左侧文本内容 */
.cms-footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cms-footer-about {
    margin-bottom: 10px;
}

.cms-footer-about p {
    margin: 0;
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
    text-align: left;
}

.cms-footer-links {
    margin: 0;
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.cms-footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cms-footer-links a:hover {
    color: #d32f2f;
}

.cms-footer-copyright {
    margin-top: 10px;
}

.cms-footer-copyright p {
    margin: 0;
    color: #999;
    font-size: 13px;
    line-height: 1.6;
}

/* 右侧联系信息和二维码 */
.cms-footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.cms-footer-contact {
    text-align: right;
}

.cms-footer-contact p {
    margin: 6px 0;
    color: #ccc;
    font-size: 14px;
    line-height: 1.8;
}

.cms-footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cms-footer-contact a:hover {
    color: #d32f2f;
}

.cms-footer-qrcode {
    display: flex;
    justify-content: flex-end;
}

.cms-footer .e_image-19 {
    width: 120px;
    height: 120px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cms-footer .e_image-19 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .cms-footer-nav {
        gap: 20px;
        font-size: 13px;
    }
    
    .cms-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cms-footer-right {
        align-items: center;
    }
    
    .cms-footer-contact {
        text-align: center;
    }
    
    .cms-footer-left {
        text-align: center;
    }
}

/* 轮播图修复 */
#c_banner_028-1685132868546 .special_a {
    position: relative;
}

#c_banner_028-1685132868546 .p_btn_next,
#c_banner_028-1685132868546 .p_btn_prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    transition: all 0.3s ease;
    opacity: 0.7;
}

#c_banner_028-1685132868546 .p_btn_next:hover,
#c_banner_028-1685132868546 .p_btn_prev:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
}

#c_banner_028-1685132868546 .p_btn_next {
    right: 20px;
}

#c_banner_028-1685132868546 .p_btn_prev {
    left: 20px;
}

#c_banner_028-1685132868546 .p_btn_next svg,
#c_banner_028-1685132868546 .p_btn_prev svg {
    width: 24px;
    height: 24px;
}

#c_banner_028-1685132868546 .p_pagenation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

#c_banner_028-1685132868546 .p_pagenation .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#c_banner_028-1685132868546 .p_pagenation .swiper-pagination-bullet-active {
    background: #fff;
    width: 24px;
    border-radius: 6px;
}

/* 新闻列表三列布局样式 */
.e_loopFocus-1 .p_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
    grid-auto-flow: row dense;
    align-items: start;
}

.e_loopFocus-1 .p_list .p_loopItem {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 0;
}

/* 隐藏空的新闻项 - 多种方式确保兼容性 */
.e_loopFocus-1 .p_list .p_loopItem:empty {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* 确保只有包含内容的新闻项才显示 */
.e_loopFocus-1 .p_list .p_loopItem:not(:has(.e_container-32)) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* 隐藏没有内容的新闻项（通过类名） */
.e_loopFocus-1 .p_list .p_loopItem.hidden-empty {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* 隐藏没有标题的新闻项 */
.e_loopFocus-1 .p_list .p_loopItem:not(:has(.e_text-34)) {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* 确保空项不占用空间 */
.e_loopFocus-1 .p_list .p_loopItem[style*="display: none"],
.e_loopFocus-1 .p_list .p_loopItem[style*="display:none"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.e_loopFocus-1 .p_list .p_loopItem:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.e_loopFocus-1 .p_list .p_loopItem .e_container-32 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.e_loopFocus-1 .p_list .p_loopItem .e_text-34 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #333;
}

.e_loopFocus-1 .p_list .p_loopItem .e_text-34 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.e_loopFocus-1 .p_list .p_loopItem .e_text-34 a:hover {
    color: #d32f2f;
}

.e_loopFocus-1 .p_list .p_loopItem .e_text-6 {
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    margin: 0;
    flex: 1;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
    .e_loopFocus-1 .p_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    /* 移动端主容器占满宽度 */
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    .main {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    /* 所有grid容器占满宽度 */
    .p_gridbox,
    #c_grid-116273709439191,
    #c_grid-116273709439190 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    .d_gridCell_0 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    /* 新闻列表容器占满宽度 */
    #c_static_001_P_18692-1685356453015,
    .e_loopFocus-1 {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }
    
    .e_loopFocus-1 .p_data {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    /* 移动端改为两列布局（一行显示两条） */
    .e_loopFocus-1 .p_list {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    .e_loopFocus-1 .p_list .p_loopItem {
        padding: 12px !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        min-height: auto;
    }
    
    .e_loopFocus-1 .p_list .p_loopItem .e_container-32 {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .e_loopFocus-1 .p_list .p_loopItem .e_text-34 {
        font-size: 14px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .e_loopFocus-1 .p_list .p_loopItem .e_text-6 {
        font-size: 12px !important;
        line-height: 1.5 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        color: #666;
    }
    
    /* 移动端特色新闻样式 - 修复与顶部内容重叠问题 */
    .e_loopFocus-1 .p_focus {
        margin-top: 20px !important;
        margin-bottom: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
    }
    
    .e_loopFocus-1 .p_focus .p_focusItem {
        margin-bottom: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }
    
    .e_loopFocus-1 .p_focus .e_container-2 {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    
    .e_loopFocus-1 .p_focus .cbox-2-0 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
        padding: 0;
    }
    
    .e_loopFocus-1 .p_focus .cbox-2-1 {
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
    
    .e_loopFocus-1 .p_focus .e_text-5 {
        font-size: 18px;
        line-height: 1.5;
        margin-bottom: 10px;
        word-wrap: break-word;
    }
    
    .e_loopFocus-1 .p_focus .e_text-6 {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 15px;
        word-wrap: break-word;
    }
    
    /* 新闻分类和标题区域 */
    #c_category_310_P_001-1685301760369,
    #c_static_00116364228397170 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
        margin: 0 !important;
        margin-bottom: 15px !important;
    }
    
    /* 确保新闻列表容器有足够的顶部间距 */
    #c_static_001_P_18692-1685356453015 {
        margin-top: 15px !important;
        padding-top: 15px !important;
    }
    
    .e_container-1,
    .e_container-2,
    .e_container-21,
    /* 修复导航栏菜单间距 */
    .p_navBox1 .p_navItem1 {
        margin-right: 0 !important;
        padding-right: 0 !important;
    }
    
    .p_navBox1 .p_navItem1 + .p_navItem1 {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }
    
    /* 确保导航菜单项之间的间距一致 */
    .p_navBox1 > li.p_navItem1 {
        margin: 0 8px !important;
    }
    
    .e_container-38 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    /* 确保所有容器内的项目占满宽度 */
    .e_container-1 .cbox-1-0,
    .e_container-1 .cbox-1-1,
    .e_container-2 .cbox-2-0,
    .e_container-2 .cbox-2-1 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
        margin: 0 !important;
    }
    
    /* 新闻分类列表 */
    .e_loop-5 .p_list {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box;
    }
    
    /* 面包屑导航 */
    .e_breadcrumb-2 {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
        padding-bottom: 15px !important;
        box-sizing: border-box;
        margin: 0 !important;
        margin-bottom: 10px !important;
    }
    
    .e_breadcrumb-2 .p_breadcrumb {
        margin-bottom: 15px !important;
    }
    
    /* 确保没有固定宽度限制 */
    * {
        box-sizing: border-box;
        max-width: 100vw;
    }
    
    /* 移除可能导致空白的margin和padding */
    .e_loopFocus-1,
    .e_loopFocus-1 .p_data,
    .e_loopFocus-1 .p_list {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* 确保所有可能的容器都占满宽度 */
    [class*="grid"],
    [class*="container"],
    [id*="grid"],
    [id*="container"] {
        max-width: 100% !important;
    }
}
