@charset "utf-8";
/* CSS Document */

/* 第四栏基础样式 */
.text-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.text-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

/* 左侧栏目 (60%) */
.text-left {
    flex: 3;
}

/* 右侧栏目 (40%) */
.text-right {
    flex: 2;
}

/* 选项卡控制区 */
.tab-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-subtitle {
    margin: 0;
    font-size: 20px;
    color: #06487a;
    font-weight: 700;
    white-space: nowrap;
    margin-right: 30px;
}

.tab-group {
	float: left;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-grow: 1;
    justify-content: flex-end;
}

/* 选项卡按钮样式 */
.tab-buttons {
    display: flex;
    gap: 10px;
}

.text-tab-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background: #e0e0e0;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.text-tab-btn.active {
    background: linear-gradient(135deg, #06487a, #0a6aa5);
    color: white;
    box-shadow: 0 4px 12px rgba(6,72,122,0.2);
}

/* 更多按钮 */
.more-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #06487a, #0a6aa5);
    color: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    white-space: nowrap;
}

.more-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6,72,122,0.3);
}

/* 内容列表 */
.text-content {
    display: none;
    margin-top: 15px;
}

.text-content.active {
    display: block;
}

.text-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.text-list li {
    padding: 14px 20px;
    margin: 8px 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    font-size: 15px;
    color: #444;
}

.text-list li:hover {
    transform: translateX(8px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* 右侧联系信息 */
.contact-info {
    background: #06487a;
    padding: 30px;
    border-radius: 12px;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-title {
    font-size: 22px;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}

.contact-item {
    margin-bottom: 20px;
}

.contact-label {
    font-weight: 600;
    margin: 0 0 5px;
    font-size: 15px;
}

.contact-email {
    color: #a0d1ff;
    text-decoration: none;
    word-break: break-all;
    font-size: 14px;
    transition: color 0.2s;
}

.contact-email:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .text-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .tab-controls {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .section-subtitle {
        margin-right: 0;
    }
}

@media (max-width: 768px) {
    .text-container {
        width: 90%;
    }
    
    .tab-group {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .text-tab-btn {
        padding: 6px 15px;
        font-size: 13px;
    }
    
    .more-btn {
        padding: 6px 15px;
    }
}

@media (max-width: 480px) {
    .text-list li {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contact-info {
        padding: 25px;
    }
}
