
* {
margin: 0;
  padding:0;
}
.footerbg {
    margin-top: 70px;
    height: 345px;
    border-top: 1px solid #dddddd;
    background: none repeat-x scroll 0 0 #f8f8f8;
}

/* ==================== 弹窗样式 ==================== */
/* 模态框遮罩层 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

/* 模态框主体 */
.modal-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

/* 模态框头部 */
.modal-header {
    padding: 16px 20px;
    background: #f8f8f8;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    transition: color 0.2s;
    line-height: 1;
    padding: 0 8px;
}

.modal-close:hover {
    color: #333;
}

/* 模态框内容区域 */
.modal-body {
    padding: 20px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.modal-links a {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f0f0;
    border-radius: 20px;
    color: #337ab7;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.modal-links a:hover {
    background: #337ab7;
    color: #fff;
    text-decoration: none;
}

/* 动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 热门推荐区域 - 折叠内容与更多按钮放在同一行 */
.hot-recommend-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 12px;
}

.hot-recommend-links {
    flex: 1;
    overflow: hidden;
    max-height: 85px; /* 固定折叠状态，只显示部分内容 */
}

.hot-recommend-links p {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 灰色竖版按钮样式 - 简洁竖排风格 */
.more-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #e8e8e8;
    color: #555;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    padding: 8px 12px;
    min-width: 52px;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
    letter-spacing: 0.5px;
    box-shadow: none;
}

/* 竖版风格：上下结构，更像一个竖条按钮 */
.more-btn::after {
    content: "∨";
    display: inline-block;
    font-size: 12px;
    margin-top: 2px;
    font-weight: normal;
}

.more-btn:hover {
    background-color: #d0d0d0;
    color: #333;
    transform: translateY(-1px);
}

.more-btn:active {
    transform: translateY(0);
}

/* 确保合作电话区域正常显示 */
.other-channels.footer-module-coo {
    overflow: visible;
}
