/* Footer 优化样式 */
.footer {
    background: #222222;
    position: relative;
}

.footer #mydiv {
    position: absolute;
    z-index: 5;
    opacity: 0.2;
}

.footer .footer_content {
    max-width: 1200px; /* 从 1500px 改为 1200px，内容更紧凑 */
    margin: 0 auto;
    position: relative;
    z-index: 6;
    padding: 0 40px; /* 添加左右内边距，两边留白 */
}

.footer .footer_content .footer_content_top {
    padding: 50px 0 35px; /* 从 60px 改为 50px，更紧凑 */
}

/* Logo 和分享区域 */
.footer .footer_content .footer_content_top .content_top_share {
    width: 20%; /* 从 21% 改为 20% */
}

.footer .footer_content .footer_content_top .content_top_share img {
    max-width: 140px; /* 限制 logo 大小 */
}

.footer .footer_content .footer_content_top .content_top_share .top_share_content {
    margin-top: 30px; /* 从 40px 改为 30px */
}

.footer .footer_content .footer_content_top .content_top_share .top_share_content dd {
    color: #777777;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer .footer_content .footer_content_top .content_top_share .top_share_content dt a {
    width: 45px !important; /* 从 50px 改为 45px */
    height: 45px !important;
    margin: 0 !important;
    padding-left: 0 !important;
    text-align: center;
    color: #fff;
    font-size: 18px; /* 从 20px 改为 18px */
    line-height: 45px;
    border: 1px solid #363636;
    margin-right: -1px !important;
    transition: all 0.3s ease;
}

.footer .footer_content .footer_content_top .content_top_share .top_share_content dt a:hover {
    background: #252525 !important;
    opacity: 1 !important;
    color: #ff7019;
}

/* 左侧菜单区域 */
.footer .footer_content .footer_content_top .content_top_left {
    width: 56%; /* 从 55% 改为 56% */
}

.footer .footer_content .footer_content_top .content_top_left .top_left_list {
    width: 25%;
}

.footer .footer_content .footer_content_top .content_top_left .top_left_list dd {
    margin-bottom: 18px; /* 从 20px 改为 18px */
}

.footer .footer_content .footer_content_top .content_top_left .top_left_list dd a {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.footer .footer_content .footer_content_top .content_top_left .top_left_list dt a {
    font-size: 13px; /* 从 14px 改为 13px */
    color: #777777;
    display: inline-block;
    width: 100%;
    margin-bottom: 10px; /* 从 12px 改为 10px */
    transition: all 0.3s ease;
}

.footer .footer_content .footer_content_top .content_top_left .top_left_list dt a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer .footer_content .footer_content_top .content_top_left .top_left_list dt a:last-child {
    margin-bottom: 0;
}

/* 右侧联系方式区域 */
.footer .footer_content .footer_content_top .content_top_right {
    width: 24%; /* 从 23% 改为 24% */
}

.footer .footer_content .footer_content_top .content_top_right .top_right_title {
    font-size: 15px; /* 从 16px 改为 15px */
    color: #fff;
    margin-bottom: 18px; /* 从 20px 改为 18px */
    font-weight: 500;
}

.footer .footer_content .footer_content_top .content_top_right .top_right_content .right_content_list {
    color: #777777;
    font-size: 13px; /* 从 14px 改为 13px */
    margin-bottom: 12px; /* 从 15px 改为 12px */
}

.footer .footer_content .footer_content_top .content_top_right .top_right_content .right_content_list dd {
    position: relative;
    line-height: 20px;
    margin-right: 12px; /* 从 15px 改为 12px */
    font-size: 16px; /* icon 大小 */
}

.footer .footer_content .footer_content_top .content_top_right .top_right_content .right_content_list dt {
    width: 85%;
    line-height: 1.6;
}

/* 友情链接区域 */
.footer .footer_content .footer_content_bottom {
    margin-bottom: 18px; /* 从 20px 改为 18px */
    padding-top: 25px; /* 添加上边距 */
    border-top: 1px solid #333333; /* 添加分隔线 */
}

.footer .footer_content .footer_content_bottom .content_bottom_left {
    font-size: 13px; /* 从 14px 改为 13px */
    color: #777777;
    width: auto; /* 从 5% 改为 auto */
    padding-right: 15px;
}

.footer .footer_content .footer_content_bottom .content_bottom_right {
    width: auto; /* 从 95% 改为 auto */
    flex: 1;
}

.footer .footer_content .footer_content_bottom .content_bottom_right a {
    font-size: 12px;
    color: #666666; /* 从 #555555 改为 #666666，稍微亮一点 */
    display: inline-block;
    width: auto;
    margin-left: 0;
    margin-right: 20px; /* 从 2% 改为固定 20px */
    margin-bottom: 8px; /* 从 0.8% 改为固定 8px */
    padding: 0 5px;
    transition: all 0.3s ease;
}

.footer .footer_content .footer_content_bottom .content_bottom_right a:hover {
    color: #fff;
}

/* 版权信息区域 */
.footer_content_copyright {
    padding: 20px 0; /* 从 24px 改为 20px */
    text-align: center;
    border-top: 1px solid #333333;
    font-size: 12px; /* 从 13px 改为 12px */
    color: #666666;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 40px;
    padding-right: 40px;
}

.footer_content_copyright a {
    color: #666666;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.footer_content_copyright a:hover {
    color: #ff7019;
}

/* 响应式优化 */
@media (max-width: 1280px) {
    .footer .footer_content {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .footer .footer_content {
        padding: 0 20px;
    }
    
    .footer .footer_content .footer_content_top {
        padding: 30px 0 20px;
    }
    
    .footer .footer_content .footer_content_top .content_top_share,
    .footer .footer_content .footer_content_top .content_top_left,
    .footer .footer_content .footer_content_top .content_top_right {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .footer .footer_content .footer_content_bottom .content_bottom_left,
    .footer .footer_content .footer_content_bottom .content_bottom_right {
        width: 100%;
    }
}
