/* 页脚样式 - 基于14388_i3kp设计风格 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix::after {
    clear: both;
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
}

/* 页脚样式 */
.footer-box {
    background-color: transparent;
    color: #333;
    padding: 0 0 0;
    margin-top: -15px;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* 五个元素均匀分布容器 - Logo在左侧第一个 */
.footer-five-items-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    gap: 15px;
    padding: 5px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 五个元素均匀分布项目 */
.footer-five-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    flex-shrink: 0;
}

/* Logo项目特殊样式 */
.footer-five-item.logo-item {
    flex: 0 0 auto;
    min-width: 120px;
    justify-content: flex-start;
}

/* Logo区域样式 - 完全融入背景 */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    background: transparent;
    border: none;
}

/* Logo图片样式 - 去掉轮廓 */
.footer-logo img {
    outline: none;
    border: none;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    max-width: 150px;
    height: auto;
}

/* 导航组样式 - 优化均匀分布 */
.nav-group {
    text-align: center;
    width: 100%;
    padding: 0 10px;
}

.nav-title {
    font-weight: bold;
    display: block;
    margin-bottom: 12px;
    font-size: 16px;
    color: #333;
}

.nav-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-group li {
    margin-bottom: 8px;
}

.nav-group a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.nav-group a:hover {
    color: #1a73e8;
}

/* 二维码样式 - 优化均匀分布 */
.wechat-qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.qrcode-text {
    margin-bottom: 12px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
}

.qrcode-image {
    background-color: white;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 120px;
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.qrcode-image img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.qrcode-image:hover {
    transform: translateY(-2px);
}

/* 五个元素始终在同一排上 - 移除响应式切换 */

/* 服务项目区域 */
.footer-service {
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0 20px;
    width: 100%;
}

.footer-service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-service-item i {
    font-size: 28px;
    color: #1a73e8;
    margin-bottom: 10px;
}

.footer-service-item span {
    font-size: 14px;
    color: #666;
}

/* 分割线 */
.footer-line {
    width: 100%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0 0 30px;
}

/* 内容区域样式，确保内容均匀分布在整个页面底部 */
.footer-links,
.footer-friend,
.footer-copyright {
    margin: 0;
    padding: 0 20px;
    width: 100%;
}

/* 版权信息区域 - 上方间距10px */
.footer-copyright {
    margin-top: 10px;
}

/* 链接区域 */
.footer-links {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-links dl {
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

.footer-links dt {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f0f0;
}

.footer-links dd {
    margin-bottom: 10px;
    font-size: 14px;
}

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

.footer-links a:hover {
    color: #1a73e8;
}

/* 友情链接区域 */
.footer-friend {
    margin-bottom: 20px;
    text-align: center;
}

.footer-friend h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.friend-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.friend-list a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.friend-list a:hover {
    color: #1a73e8;
}

/* 版权信息区域 */
.footer-copyright {
        text-align: center;
        padding-top: 20px;
        border-top: 1px solid #f0f0f0;
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0;
        margin-top: 15px;
    }

.footer-copyright p {
    font-size: 14px;
    color: #999;
    margin: 0 0 5px;
    line-height: 1.4;
}

.footer-copyright a {
    color: #1a73e8;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

/* 警告提示 */
.warning {
    font-size: 14px;
    color: #ff9800 !important;
    font-weight: 500;
}

.warning i {
    margin-right: 5px;
}

/* 微信二维码样式 */
.radio-resources-container {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.radio-resources-container dl {
    flex: 1;
    margin: 0;
}

/* 确保官网微信文字与无线电资源标题样式一致 */
/* 官网微信文字样式 */
.qrcode-text {
    font-size: 16px;
    color: #333;
    text-align: center;
    margin-bottom: 8px;
    font-weight: 600;
}

.wechat-qrcode {
    margin: 0;
}

.qrcode-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qrcode-image {
    background-color: white;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 移动端切换 */
.mobile-switch {
    text-align: center;
    margin-top: -15px;
    padding-bottom: 0;
    width: 100%;
}

.mobile-switch a {
    display: inline-block;
    padding: 5px 15px;
    background-color: #f5f5f5;
    color: #1a73e8;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}

.mobile-switch a:hover {
    background-color: #e3f2fd;
    color: #0d47a1;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .footer-links dl {
        width: calc(50% - 10px);
        margin: 0;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-box {
        padding: 0 0 0;
        margin-top: -15px;
    }
    
    .footer-links,
    .footer-copyright {
        padding: 0 15px;
    }
    
    .footer-links dl {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
    
    .warning {
        font-size: 12px;
    }
}