/**
 * UEditor内容预定义样式类
 * 编辑人员可以在UEditor中使用这些class，而不是写内联样式
 * 使用方法：在UEditor源码模式中给元素添加对应的class
 */

/* ========== 标题样式 ========== */
.ue-title-main {
    font-size: 36px;
    font-weight: 500;
    text-align: center;
    margin: 40px 0 20px;
    font-family: "Source Han Sans SC", PingFangSC-Medium, PingFang SC, "Microsoft YaHei", sans-serif;
    color: #1a1a2e;
}

.ue-title-sub {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 20px;
    color: #666;
    letter-spacing: 2px;
}

.ue-title-section {
    font-size: 30px;
    font-weight: 400;
    text-align: center;
    margin: 50px auto 20px;
    color: #000;
}

/* 标题下划线装饰 */
.ue-title-line {
    width: 326px;
    max-width: 100%;
    height: 2px;
    background-color: #C9C9C9;
    margin: 22px auto;
    position: relative;
}

.ue-title-line::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 116px;
    height: 2px;
    background-color: #0040B3;
}

/* ========== 容器布局 ========== */
.ue-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.ue-flex-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ue-flex-between {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.ue-flex-reverse {
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    gap: 30px;
}

/* ========== 特色卡片（优势展示）========== */
.ue-feature-card {
    width: 290px;
    min-width: 260px;
    max-width: 100%;
    height: 360px;
    background-size: cover;
    background-position: center;
    color: white;
    border-radius: 8px;
    overflow: hidden;
    margin: 10px;
    flex: 0 1 290px;
}

.ue-feature-card-inner {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 55px 33px 30px;
    box-sizing: border-box;
}

.ue-feature-card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 21px;
}

.ue-feature-card-title {
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 15px;
}

.ue-feature-card-desc {
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    line-height: 1.8;
}

/* ========== 内容区块（图文混排）========== */
.ue-content-block {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

.ue-content-block-reverse {
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

.ue-content-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.ue-content-text h3 {
    font-size: 22px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.ue-content-text p {
    font-size: 14px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 15px;
}

.ue-content-image {
    flex: 0 1 400px;
    max-width: 100%;
    text-align: center;
}

.ue-content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ========== 视频展示区域 ========== */
.ue-video-section {
    display: flex;
    flex-wrap: wrap-reverse;
    align-items: center;
    padding: 21px 0;
    max-width: 1107px;
    margin: 0 auto;
    gap: 30px;
}

.ue-video-wrapper {
    flex: 0 1 447px;
    max-width: 100%;
}

.ue-video-wrapper video,
.ue-video-wrapper .video-js {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.ue-video-content {
    flex: 1;
    min-width: 280px;
    max-width: 540px;
}

.ue-video-content h4 {
    font-size: 20px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.ue-video-content p {
    font-size: 12px;
    color: #000;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ========== 列表样式 ========== */
.ue-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.ue-list li {
    font-size: 14px;
    line-height: 2;
    padding-left: 20px;
    position: relative;
}

.ue-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #0040B3;
}

/* ========== 信息卡片 ========== */
.ue-info-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 10px;
    padding: 25px;
    margin: 10px;
    flex: 1;
    min-width: 280px;
    max-width: 550px;
}

.ue-info-card-gray {
    background-color: #7E7E7E;
    color: white;
    border-radius: 8px;
    padding: 20px;
}

.ue-info-card h4 {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

/* ========== 工具/功能展示 ========== */
.ue-tool-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    max-width: 459px;
    margin: 45px 0;
    padding: 0 15px;
}

.ue-tool-item img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.ue-tool-item h5 {
    font-size: 24px;
    font-weight: 500;
    color: #000;
    margin-bottom: 15px;
}

.ue-tool-item p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

/* ========== 轮播/幻灯片 ========== */
.ue-slide-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ue-slide-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.ue-slide-nav a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.ue-slide-nav a:hover,
.ue-slide-nav a.active {
    background: #0040B3;
    color: white;
}

.ue-slide-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.ue-slide-images img {
    max-width: 48%;
    min-width: 280px;
    height: auto;
    border-radius: 8px;
}

/* ========== 响应式优化 ========== */
@media screen and (max-width: 768px) {
    .ue-title-main {
        font-size: 24px;
    }
    
    .ue-feature-card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
        height: auto;
        min-height: 280px;
    }
    
    .ue-content-block,
    .ue-content-block-reverse {
        flex-direction: column;
        padding: 30px 0;
    }
    
    .ue-content-text,
    .ue-content-image {
        max-width: 100%;
    }
    
    .ue-video-section {
        flex-direction: column;
    }
    
    .ue-video-wrapper,
    .ue-video-content {
        max-width: 100%;
    }
    
    .ue-tool-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .ue-slide-images img {
        max-width: 100%;
    }
    
    .ue-info-card {
        max-width: 100%;
    }
}

