* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

body {
    background: #f5f7fa;
    line-height: 1.6;
}

/* 顶部导航外层 */
.top-nav {
    background: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 8px 0;
    font-size: 14px;
    position: relative;
    z-index: 99;
}

/* 核心布局 */
.nav-wrap {
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
}

/* Logo */
.header-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
    color: #006633;
}
.logo-text a img {
    height: 38px;

}
.text-muted{
    font-size: 18px;
        font-weight: bold;
        color: #006633;
}

/* 主导航：修改为 260px 避开完整Logo宽度 */
.main-nav {
    position: absolute;
    left: 300px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
}

.main-nav .dropdown>a {
    color: #222;
    text-decoration: none;
    padding: 6px 8px;
    font-weight: 500;
    white-space: nowrap;
}

.main-nav .dropdown>a:hover {
    color: #006633;
}

/* 热门专题：绝对定位 紧贴最右侧 */
.desktop-hot {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 热门专题按钮样式 */
.hot-topic-btn {
    background-color: #ff6a00;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 16px;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.hot-topic-btn:hover {
    background-color: #e65f00;
    color: #fff;
}

/* 下拉菜单通用 */
.dropdown-menu {
    min-width: 140px;
    border: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.dropdown-item {
    padding: 7px 12px;
    font-size: 14px;
}

.dropdown-item:hover {
    background: #e6f4e6;
    color: #006633;
}

/* 移动端汉堡按钮 */
.mobile-menu-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 20px;
    color: #333;
    outline: none;
}

.mobile-menu-btn:focus {
    box-shadow: none;
}

/* 移动端导航面板 美化+左间距 */
.mobile-nav-wrap {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #eee;
    z-index: 100;
}

.mobile-nav-wrap.show {
    display: flex;
}

.mobile-nav-wrap .dropdown {
    width: 100%;
    margin: 2px 0;
}

.mobile-nav-wrap .dropdown>a {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-wrap .dropdown>a:hover {
    background-color: #f5f7fa;
    color: #006633;
}

/* PC端 大屏(≥992px) */
@media (min-width: 992px) {

    .mobile-menu-btn,
    .mobile-nav-wrap {
        display: none !important;
    }
}

/* 移动端 小屏(<992px) 全局适配 */
@media (max-width: 991px) {

    .main-nav,
    .desktop-hot {
        display: none !important;
    }

    .header-logo .logo-text {
        font-size: 16px;
    }

    .nav-wrap {
        position: static;
        justify-content: space-between;
    }

    .header-logo {
        position: static;
        transform: none;
    }

    /* 1.标杆案例：一行一条 */
    .case-wrap {
        grid-template-columns: 1fr !important;
    }

    /* 2.热门专题入口：一行两个 */
    .hot-entrance {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* 3.前沿技术/双碳先锋/双碳风采：图片+列表 上下排列 */
    .tech-pioneer-box {
        flex-direction: column !important;
    }

    .tech-pioneer-box .left-img {
        width: 100% !important;
        margin-bottom: 12px;
    }
        
}

/* 通用样式 */
.banner {
    background:url(banner.png) center center no-repeat;
    background-size:contain;
    /* background:url(banner.png) center center no-repeat linear-gradient(90deg, #009944, #66cc33); */
    padding: 50px 20px;
    text-align: center;
    height: 400px;
}

.banner h1 {
    display: none;
    font-size: 52px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 32px;
    }
}

.card-custom {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.right-card {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mod-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: linear-gradient(to right, #f0f9f3, #ffffff);
    border-left: 4px solid #009944;
    border-radius: 8px;
    margin-bottom: 18px;
    box-shadow: 0 1px 3px rgba(0, 153, 68, 0.08);
}

.mod-title h4 {
    font-size: 18px;
    font-weight: 600;
    color: #005522;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mod-title h4 i {
    color: #009944;
    font-size: 20px;
}

.mod-title a {
    font-size: 14px;
    color: #006633;
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid #009944;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.mod-title a:hover {
    background: #009944;
    color: #fff;
}

.carousel-section {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 240px;
    }
}

@media (max-width: 576px) {
    .carousel-item img {
        height: 200px;
    }
    .tech-pioneer-box .right-list {
        width: 100% !important;
    }
}

.carousel-caption {
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 16px;
    text-align: left;
    border-radius: 0 0 8px 8px;
}

.carousel-caption h5 {
    color: #fff;
    font-size: 16px;
    margin: 0;
}

.carousel-indicators {
    position: absolute;
    bottom: 16px;
    right: 16px;
    /* 距离右侧边距，可自行调整 */
    display: flex;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    /* 去掉居中，容器本身靠右 */
    justify-content: flex-end;
}

.carousel-indicators button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.6);
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    outline: none;
    flex: none !important;
}

.carousel-indicators button.active {
    background-color: #009944;
}

.hot-entrance {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.hot-entrance span {
    background: #f7f9fa;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    border: 1px solid #e8e8e8;
    cursor: pointer;
    transition: 0.2s;
}
.hot-entrance span a {
    font-size: 14px;
    color: #333;
    text-decoration: none;

}

.hot-entrance span:hover {
    background: #e6f4e6;
    color: #006633;
}

.tech-pioneer-box {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.tech-pioneer-box .left-img {
    width: 38%;
    flex-shrink: 0;
}

.tech-pioneer-box .left-img img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
}

.tech-pioneer-box .left-img .img-title {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    margin-top: 8px;
    color: #222;
}

.tech-pioneer-box .right-list {
    flex: 1;
    width: 62%;
}

.tech-pioneer-box .right-list ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

.tech-pioneer-box .right-list li {
    padding: 6px 0;
    font-size: 14px;
    width: 100%;
    color: #333;
    border-bottom: 1px dashed #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tech-pioneer-box .right-list li a {
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tech-pioneer-box .right-list li:last-child {
    border-bottom: none;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: #222;
    border-bottom: 1px solid #f2f2f2;
}

.news-list li span {
    color: #888;
    font-size: 13px;
}
.news-list li span a {
    color: #888;
    font-size: 13px;
    text-decoration: none;
}

.case-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.case-item {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #f2f2f2;
    transition: 0.2s;
}

.case-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.case-item img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.case-item p {
    text-align: center;
    padding: 10px 8px 6px;
    font-size: 14px;
    margin: 0;
    color: #222;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.case-item button {
    display: block;
    width: 90%;
    margin: 10px auto;
    background: #009944;
    color: #fff;
    border: none;
    padding: 6px;
    border-radius: 6px;
    font-size: 13px;
}

.video-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f2f2f2;
}

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

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 20px;
}

.full-ad {
    background: #e6f4e6;
    height: 140px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #006633;
    margin: 20px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.submit-btn {
    width: 100%;
    background: #009944;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    margin: 6px 0;
    font-size: 14px;
    font-weight: 500;
}

footer {
    background: #003322;
    color: #fff;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-col {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-col h5 {
    margin-bottom: 14px;
    font-size: 16px;
}

.footer-col p {
    line-height: 1.8;
    font-size: 14px;
    color: #ddd;
}

.copyright {
    text-align: center;
    color: #ccc;
    border-top: 1px solid #ffffff22;
    padding-top: 20px;
    margin-top: 20px;
    line-height: 1.8;
}