
.fullwidth-dropdown {
    position: fixed;
    top: 108px; /* 导航栏高度 + top_wrap高度 */
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    padding: 36px 0;
}

.fullwidth-dropdown.show {
    display: block;
}

.dropdown-container {
    margin: 0 auto;
    padding: 0 20px;
}

/* 响应式容器宽度设置 */
@media (min-width: 1024px) {
    .dropdown-container {
        width: 1000px;
    }
}

@media (min-width: 1200px) {
    .dropdown-container {
        width: 1180px;
    }
}

@media (min-width: 1280px) {
    .dropdown-container {
        width: 1260px;
    }
}

@media (min-width: 1440px) {
    .dropdown-container {
        width: 1320px;
    }
}

.dropdown-content {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* About Us菜单的Grid布局 - 3-3-2排列 */
.about-us-dropdown .dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
    justify-content: start;
    margin-left: 0;
    padding-left: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 让第7和第8个项目换行到第三行，并居中显示 */
.about-us-dropdown .dropdown-section:nth-child(7) {
    grid-column: 1;
}

.about-us-dropdown .dropdown-section:nth-child(8) {
    grid-column: 2;
}

/* Material菜单的Grid布局 - 两列布局，让两个部分挨得更近 */
.material-dropdown .dropdown-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    align-items: start;
    justify-content: start;
    margin-left: 0;
    padding-left: 0;
    max-width: 800px;
}

/* Industries菜单的Grid布局 - 四列布局，6个项目 */
.industries-dropdown .dropdown-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    align-items: start;
    justify-content: start;
    margin-left: 0;
    padding-left: 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* 让第5和第6个项目换行到第二行 */
.industries-dropdown .dropdown-section:nth-child(5) {
    grid-column: 1;
}

.industries-dropdown .dropdown-section:nth-child(6) {
    grid-column: 2;
}

/* 确保About Us菜单与导航项对齐 */
.about-us-dropdown {
    padding-left: 0;
}

.about-us-dropdown .dropdown-container {
    padding-left: 0;
}

/* 确保Material菜单与导航项对齐 */
.material-dropdown {
    padding-left: 0;
}

.material-dropdown .dropdown-container {
    padding-left: 0;
}

/* 确保Industries菜单与导航项对齐 */
.industries-dropdown {
    padding-left: 0;
}

.industries-dropdown .dropdown-container {
    padding-left: 0;
}

/* About Us菜单section样式 */
.about-us-dropdown .dropdown-section {
    flex: none;
    min-width: auto;
    max-width: none;
    width: 100%;
}

.material-dropdown .dropdown-section {
    flex: none;
    min-width: auto;
    max-width: none;
    width: 100%;
}

.industries-dropdown .dropdown-section {
    flex: none;
    min-width: auto;
    max-width: none;
    width: 100%;
}

/* About Us菜单section-content样式 */
.about-us-dropdown .dropdown-section-content {
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.industries-dropdown .dropdown-section-content {
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* About Us菜单标题样式 */
.about-us-dropdown .dropdown-section-title {
    font-size: 17px;
    font-weight: normal;
    color: #333;
    line-height: 1.4;
    padding: 0;
    margin: 0;
    border-bottom: none;
    white-space: normal;
    transition: all 0.2s ease;
    cursor: pointer;
}

.material-dropdown .dropdown-section-title {
    font-size: 17px;
    font-weight: normal;
    color: #e63946;
    line-height: 1.4;
    padding: 0 0 10px 0;
    margin: 0 0 4px 0;
    border-bottom: 1px solid #d0d3d4;
    white-space: normal;
    transition: all 0.2s ease;
    cursor: pointer;
}

.industries-dropdown .dropdown-section-title {
    font-size: 17px;
    font-weight: normal;
    color: #e63946;
    line-height: 1.4;
    padding: 0;
    margin: 0;
    border-bottom: none;
    white-space: normal;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* About Us菜单标题悬停效果 */
.about-us-dropdown .dropdown-section-title:hover {
    color: #e50012;
}

.material-dropdown .dropdown-section-title:hover {
    color: #e50012;
}

.industries-dropdown .dropdown-section-title:hover {
    color: #e50012;
}

/* About Us菜单描述文字样式 */
.about-us-dropdown .menu-description {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    max-width: 100%;
    word-wrap: break-word;
}

/* Material菜单描述文字样式 */
.material-dropdown .menu-description {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    max-width: 100%;
    word-wrap: break-word;
}

/* Industries菜单描述文字样式 */
.industries-dropdown .menu-description {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    max-width: 100%;
    word-wrap: break-word;
}

/* 改善About Us菜单的整体视觉效果 */
.about-us-dropdown .dropdown-section {
    position: relative;
    overflow: hidden;
}

/* 改善Material菜单的整体视觉效果 */
.material-dropdown .dropdown-section {
    position: relative;
    overflow: hidden;
}

/* 改善Industries菜单的整体视觉效果 */
.industries-dropdown .dropdown-section {
    position: relative;
    overflow: hidden;
}

/* 移除空的::before规则 */

/* 移除空的hover::before规则 */

.dropdown-section {
    flex: 1;
    min-width: 180px;
    /* max-width: 250px; */
    max-width: 500px;
}

.dropdown-section-title {
    font-size: 17px;
    font-weight: normal;
    color: #e63946;
    margin-bottom: 4px;
    /* letter-spacing: 0.5px; */
    /* height: 45px; */
    /* font-size: 1.7rem; */
    line-height: 18px;
    /* line-height: 2rem; */
    border-bottom: 1px solid #d0d3d4;
    /* margin-bottom: 10px; */
    padding: 0 0 10px 0;
}

/* 下拉菜单标题悬停效果 */
.dropdown-section-title:hover {
    color: #e50012;
}

.dropdown-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-section ul li {
    margin-bottom: 8px;
}

.dropdown-section ul li a {
    color: #343741;
    text-decoration: none;
    /* font-size: 1.4rem; */
    font-size: 14px;
    /* line-height: 1.8rem; */
    line-height: 18px;
    display: block;
    padding: 8px 0 !important; 
    transition: all 0.2s ease;
    font-weight: normal;
}

.dropdown-section ul li a:hover {
    color: #e50012 !important;
}

/* 菜单描述文本样式 */
.menu-description {
    margin-bottom: 14px;
    font-size: 14px;
    /* font-size: 1.4rem; */
    line-height: 18px;
    /* line-height: 2rem; */
    color: #6f6e6e;
    font-weight: normal !important;
}

.main-nav .menu-item{
    font-size: 16px;
    color: #212529;
    font-weight: normal;
}

/* 主导航hover效果 */
.nav-bar .main-nav > li:hover > a {
    color: #e63946 !important;
}

/* 显示下拉菜单的触发 */
.nav-bar .main-nav > li:hover .fullwidth-dropdown {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .dropdown-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .dropdown-section {
        min-width: auto;
    }
    
    .fullwidth-dropdown {
        top: 48px; /* 移动端导航栏高度 */
        padding: 20px 0;
        position: fixed;
        left: 0;
        width: 100%;
        height: calc(100vh - 48px);
        overflow-y: auto;
        background: #fff;
        z-index: 1001;
    }
    
    .dropdown-container {
        padding: 0 15px;
        width: 100%;
    }
    
    .dropdown-section-title {
        font-size: 16px;
        padding: 15px 0 10px 0;
        border-bottom: 2px solid #e50012;
        margin-bottom: 15px;
    }
    
    .dropdown-section ul li {
        margin-bottom: 12px;
    }
    
    .dropdown-section ul li a {
        font-size: 15px;
        padding: 8px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .menu-description {
        font-size: 13px;
        margin-bottom: 10px;
        color: #888;
    }
}

/* About Us菜单响应式Grid布局 */
@media (max-width: 1200px) {
    .about-us-dropdown .dropdown-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    /* 保持3-3-2布局 */
    .about-us-dropdown .dropdown-section:nth-child(7) {
        grid-column: 1;
    }
    
    .about-us-dropdown .dropdown-section:nth-child(8) {
        grid-column: 2;
    }
}

/* Material菜单响应式Grid布局 */
@media (max-width: 1200px) {
    .material-dropdown .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 700px;
    }
}

/* Industries菜单响应式Grid布局 */
@media (max-width: 1200px) {
    .industries-dropdown .dropdown-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .about-us-dropdown .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    /* 在2列布局下，第7和第8个项目会自然换行 */
    .about-us-dropdown .dropdown-section:nth-child(7) {
        grid-column: auto;
    }
    
    .about-us-dropdown .dropdown-section:nth-child(8) {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .material-dropdown .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 600px;
    }
}

@media (max-width: 900px) {
    .industries-dropdown .dropdown-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .about-us-dropdown .dropdown-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* 在单列布局下，所有项目都自动排列 */
    .about-us-dropdown .dropdown-section:nth-child(7) {
        grid-column: auto;
    }
    
    .about-us-dropdown .dropdown-section:nth-child(8) {
        grid-column: auto;
    }
    
    .about-us-dropdown .dropdown-section-title {
        font-size: 16px;
        padding: 15px 0 10px 0;
        border-bottom: 2px solid #e50012;
        margin-bottom: 10px;
    }
    
    .about-us-dropdown .menu-description {
        font-size: 14px;
        margin-bottom: 15px;
        color: #666;
        line-height: 1.4;
    }
    
    .about-us-dropdown .dropdown-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .about-us-dropdown .dropdown-section:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .material-dropdown .dropdown-content {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100%;
    }
    
    .material-dropdown .dropdown-section-title {
        font-size: 16px;
        padding: 15px 0 10px 0;
        border-bottom: 2px solid #e50012;
        margin-bottom: 10px;
    }
    
    .material-dropdown .menu-description {
        font-size: 14px;
        margin-bottom: 15px;
        color: #666;
        line-height: 1.4;
    }
    
    .material-dropdown .dropdown-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .material-dropdown .dropdown-section:last-child {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .industries-dropdown .dropdown-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .industries-dropdown .dropdown-section-title {
        font-size: 16px;
        padding: 15px 0 10px 0;
        border-bottom: 2px solid #e50012;
        margin-bottom: 10px;
    }
    
    .industries-dropdown .menu-description {
        font-size: 14px;
        margin-bottom: 15px;
        color: #666;
        line-height: 1.4;
    }
    
    .industries-dropdown .dropdown-section {
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #eee;
    }
    
    .industries-dropdown .dropdown-section:last-child {
        border-bottom: none;
    }
}

@media (max-width: 480px) {
    .about-us-dropdown .dropdown-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 在单列布局下，所有项目都自动排列 */
    .about-us-dropdown .dropdown-section:nth-child(7) {
        grid-column: auto;
    }
    
    .about-us-dropdown .dropdown-section:nth-child(8) {
        grid-column: auto;
    }
    
    .about-us-dropdown .dropdown-section-title {
        font-size: 14px;
    }
    
    .about-us-dropdown .menu-description {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .material-dropdown .dropdown-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .material-dropdown .dropdown-section-title {
        font-size: 14px;
    }
    
    .material-dropdown .menu-description {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .industries-dropdown .dropdown-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .industries-dropdown .dropdown-section-title {
        font-size: 14px;
    }
    
    .industries-dropdown .menu-description {
        font-size: 12px;
    }
}
/* 下拉菜单背景遮罩 */
.dropdown-backdrop {
    position: fixed;
    top: 108px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.1);
    z-index: 999;
    display: none;
}

@media (max-width: 768px) {
    .dropdown-backdrop {
        top: 48px;
        background: rgba(0,0,0,0.3);
    }
}

.dropdown-backdrop.show {
    display: block;
}

/* 动画效果 */
.fullwidth-dropdown {
    transform: translateY(-10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.fullwidth-dropdown.show {
    transform: translateY(0);
    opacity: 1;
}

/* 关闭按钮 */
.dropdown-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    display: none;
}

.dropdown-close:hover {
    color: #e50012;
}

@media (max-width: 768px) {
    .dropdown-close {
        display: block;
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 24px;
        background: #e50012;
        color: #fff;
        border-radius: 50%;
        line-height: 40px;
        text-align: center;
    }
    
    .dropdown-close:hover {
        background: #c4000f;
        color: #fff;
    }
} 