@media (max-width: 768px) {
    .nav-menu {
        display: none;
        flex-direction: column;
        align-items: center;
        background-color: #000;
        position: fixed;
        /* 固定在页面顶层 */
        top: 60px;
        left: 0;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        z-index: 1001;
        /* 确保导航菜单在图片上方 */
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    /* 让整个内容区按列排列 */
    .hero-content {
        display: flex;
        flex-direction: column;
        /* 将子元素纵向堆叠 */
        align-items: center;
        /* 让子元素居中 */
    }

    /* 让轮播图宽度在移动端时占 80%，并居中 */
    .hero-image-slider {
        width: 90% !important;
        /* 强制覆盖原有 50% 宽度 */
        margin: 0 auto 20px auto;
        /* 底部留一些间距 */
    }

    /* 如果新闻内容在 .hero-info 中，让它独占一行 */
    .hero-info {
        width: 95%;
        /* 也可设置成 100%，视需要而定 */
        margin: 0 auto;
        /* 居中 */
        margin-bottom: 20px;
        /* 底部空白，用于分隔 */
        /* 其他需要的样式可在此继续调整 */
    }

    .hero-image {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .accordion {
        width: 100%;
        /* 父容器宽度设置为100% */
        max-width: 100%;
        /* 确保最大宽度不会超出屏幕 */
    }

    .accordion-header {
        width: 100%;
        box-sizing: border-box;
    }

    .accordion-content {
        width: 100%;
        box-sizing: border-box;
    }

}

/* 英雄部分样式 */
.hero-section {
    padding: 40px 0;
    position: relative;
}

.hero-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    margin-right: 40px;
}

/* 更新英雄图片的样式 */
.hero-image img {
    width: 100%;
    height: auto;
    /* 保持宽度自适应 */
    max-height: 500px;
    /* 调整图片的最大高度，使其变窄 */
    border-radius: 60px;
    /* 圆角设置为30px，您可以调整这个值以达到期望的效果 */
    object-fit: cover;
    /* 保证图片适应容器，同时裁剪多余部分 */
}

.hero-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 轮播图样式 */
.hero-image-slider {
    position: relative;
    overflow: hidden;
    width: 50%;
    /* 控制宽度，与原来的静态图像宽度一致 */
    margin-right: 40px;
    /* 与右侧内容保持间距 */
    flex-shrink: 0;
    /* 防止在flex布局中被压缩 */
}

.slider-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* 调整为4:3宽高比，使图片更高 */
    /* 修改为4:3的宽高比（75%=3/4） */
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 60px; /* 统一圆角为60px */
    max-height: 500px; /* 重新引入最大高度限制 */
    /* 增加圆角半径，使四角更加圆润 */
    display: block;
}

.slider-navigation {
    position: relative;
    /* 改为相对定位 */
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    /* 居中显示 */
    gap: 10px;
    margin-top: 10px;
    /* 在图片下方添加间距 */
    padding: 5px 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dot.active {
    background-color: #a83232;
}

/* Whitepaper download button styles */
.whitepaper-download {
    margin-top: 20px;
    text-align: left;
}

.download-btn {
    display: inline-block;
    padding: 10px 15px;
    background-color: #f5f5f5;
    color: #333;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    font-size: 14px;
}

.download-btn:hover {
    background-color: #e9e9e9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: #a83232;
}

.download-btn i {
    margin-right: 8px;
    color: #a83232;
}

/* Responsive styles for whitepaper downloads */
@media (max-width: 768px) {
    .whitepaper-download {
        text-align: center;
    }

    .download-btn {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
    }
}

.footer-contact-info {
    flex: 1 1 50%;
    /* Contact Info占60%宽度 */
    max-width: 50%;
    /* 限制最大宽度为60% */
    box-sizing: border-box;
    /* 包括内边距和边框在内 */
    padding-right: 20px;
    /* 添加内边距 */
}

.footer-social {
    flex: 1 1 50%;
    /* CTA占40%宽度 */
    max-width: 50%;
    /* 限制最大宽度为40% */
    text-align: left;
    /* 右对齐 */
    box-sizing: border-box;
    /* 包括内边距和边框在内 */
}

/* Footer Social Links */
.footer-social .rednav ul li a {
    color: #000000;
    /* 链接的初始颜色为黑色 */
    text-decoration: none;
    transition: color 0.3s ease;
    /* 添加平滑的颜色过渡效果 */
}

.footer-social .rednav ul li a:hover {
    color: #e8491d;
    /* 鼠标指向时变为红色 */
}

/* Footer Social Links */
.footer-contact-info .rednav ul li a {
    color: #000000;
    /* 链接的初始颜色为黑色 */
    text-decoration: none;
    transition: color 0.3s ease;
    /* 添加平滑的颜色过渡效果 */
}

.footer-contact-info .rednav ul li a:hover {
    color: #e8491d;
    /* 鼠标指向时变为红色 */
}

/* CTA 按钮样式 */
.cta-button {
    background-color: #000000;
    /* 按钮背景颜色改为黑色 */
    color: #c9b18c;
    /* 按钮文本颜色改为金色 */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    white-space: nowrap;
    /* 防止按钮文本换行 */
    display: inline-block;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    /* 添加平滑的颜色过渡效果 */
}

.cta-button:hover {
    background-color: #333333;
    /* 悬停时背景颜色稍微变浅 */
    color: #ffffff;
    /* 悬停时文本颜色改为白色 */
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        /* 垂直排列 */
        align-items: flex-start;
        /* 确保左对齐 */
        text-align: left;
        /* 确保标题左对齐 */
        padding: 10px;
        /* 适度减少内边距 */
    }

    .footer-contact-info,
    .footer-cta {
        max-width: 100%;
        /* 确保两者都占满全屏 */
        margin-bottom: 15px;
        /* 添加一些间距，避免内容紧贴 */
    }

    .footer-social {
        text-align: left;
        /* 确保标题左对齐 */
        max-width: 100%;
        /* 确保两者都占满全屏 */
        margin-bottom: 15px;
        /* 添加一些间距，避免内容紧贴 */
    }

    .cta-button {
        width: 100%;
        /* 让按钮在小屏幕上占满整行 */
        padding: 15px 0;
        /* 增加按钮内边距，确保点击区域足够大 */
        text-align: center;
        box-sizing: border-box;
    }
}

/* 调整下载按钮在手风琴外的样式 */
.accordion-item .whitepaper-download {
    margin: 10px 0;
    padding: 0 10px;
}

/* 确保下载按钮在手风琴标题下方有适当间距 */
.accordion-header+.whitepaper-download {
    margin-top: 15px;
}

/* 确保下载按钮与手风琴内容之间有适当间距 */
.whitepaper-download+.accordion-content {
    margin-top: 5px;
}