/* 基础样式 */
.ht-training * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

.ht-training {
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
}

.ht-training .ht-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 轮播图样式 */
.ht-training .ht-slider {
    height: 500px;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.ht-training .ht-slides {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.8s ease;
}

.ht-training .ht-slide {
    width: 33.333%;
    height: 100%;
    position: relative;
}

.ht-training .ht-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ht-training .ht-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #ffffff;
    padding: 40px;
}

.ht-training .ht-slide-title {
    font-size: 32px;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: ht-fadeInUp 0.8s forwards 0.5s;
}

.ht-training .ht-slide-desc {
    font-size: 18px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    animation: ht-fadeInUp 0.8s forwards 0.8s;
}

.ht-training .ht-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.ht-training .ht-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.ht-training .ht-slider-dot.ht-active {
    background-color: #ffffff;
}

/* 内容区域样式 */
.ht-training .ht-section {
    padding: 80px 0;
}

.ht-training .ht-section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.ht-training .ht-section-title h2 {
    font-size: 36px;
    color: #333;
    display: inline-block;
    padding-bottom: 15px;
}

.ht-training .ht-section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: #a41626;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0px 0px -15px 0px;
}

.ht-training .ht-section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 20px auto 0;
}

/* 四大优势样式 */
.ht-training .ht-advantages {
    padding: 60px 0;
}

.ht-training .ht-advantages-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0;
}

.ht-training .ht-advantage-card {
    width: 290px;
    height: 150px;
    display: flex;
    align-items: center;
    padding: 20px;
    flex: 1;
    margin: 0 10px;
        padding-bottom: 15px;
}


.ht-training .ht-advantage-icon {
    width: 60px;
    height: 60px;
    background-color: #a41626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #ffffff;
    font-size: 24px;
}

.ht-training .ht-advantage-icon2 {
    width: 60px;
    height: 60px;
    background-color: #a41626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #ffffff;
    font-size: 24px;
    margin: 0 auto;

}

.ht-training .ht-advantage-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.ht-training .ht-advantage-content p {
    font-size: 14px;
    color: #666;
}

.ht-training .ht-advantage-divider {
    width: 1px;
    height: 80px;
    background-color: #e0e0e0;
    margin: 0 10px;
}

/* 线上教学权益样式 */
.ht-training .ht-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.ht-training .ht-benefit-card {
    padding: 30px 20px;
    text-align: center;
}

.ht-training .ht-benefit-icon {
    width: 70px;
    height: 70px;
    background-color: #a41626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 30px;
}

.ht-training .ht-benefit-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
        margin: 20px auto 0;
}

/* 视频列表样式 */
.ht-training .ht-video-section {
    background-color: #f9f9f9;
}

.ht-training .ht-video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.ht-training .ht-video-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    cursor: pointer;
}

.ht-training .ht-video-card:hover {
    transform: translateY(-5px);
}

.ht-training .ht-video-thumbnail {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.ht-training .ht-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ht-training .ht-video-card:hover .ht-video-thumbnail img {
    transform: scale(1.05);
}

.ht-training .ht-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: rgba(164, 22, 38, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
}

.ht-training .ht-video-logo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: rgba(164, 22, 38, 0.7);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.ht-training .ht-video-logo:after {
    content: "HT";
}

.ht-training .ht-video-content {
    padding: 15px;
}

.ht-training .ht-video-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.ht-training .ht-video-desc {
    font-size: 14px;
    color: #666;
}

/* 视频模态框样式 */
.ht-training .ht-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ht-training .ht-modal.ht-active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.ht-training .ht-modal-content {
    position: relative;
    width: 80%;
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 8px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.5s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.ht-training .ht-modal.ht-active .ht-modal-content {
    transform: scale(1);
}

.ht-training .ht-modal-video {
    width: 100%;
    height: auto;
    display: block;
    outline: none;
}

/* 修复视频进度条样式 */
.ht-training .ht-modal-video::-webkit-media-controls-panel {
    background: rgba(0, 0, 0, 0.5);
}

.ht-training .ht-modal-video::-webkit-media-controls-timeline {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    height: 4px;
}

.ht-training .ht-modal-video::-webkit-media-controls-current-time-display,
.ht-training .ht-modal-video::-webkit-media-controls-time-remaining-display {
    color: white;
    font-size: 12px;
}

/* 确保自定义控件显示 */
.ht-training .ht-modal-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1002;
}

.ht-training .ht-control-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ht-training .ht-control-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
    z-index: 1003;
}

.ht-training .ht-control-btn:hover {
    color: #a41626;
}

.ht-training .ht-volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ht-training .ht-volume-slider {
    width: 70px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
    z-index: 1003;
}

.ht-training .ht-volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #a41626;
    border-radius: 50%;
    cursor: pointer;
}

.ht-training .ht-time-display {
    color: white;
    font-size: 14px;
    font-family: monospace;
    z-index: 1003;
}

.ht-training .ht-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    z-index: 1004;
    transition: color 0.3s;
}

.ht-training .ht-close-modal:hover {
    color: #a41626;
}

/* 全屏样式 */
.ht-training .ht-modal.ht-fullscreen .ht-modal-content {
    width: 100%;
    height: 100%;
    max-width: none;
    border-radius: 0;
}

.ht-training .ht-modal.ht-fullscreen .ht-modal-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ht-training .ht-modal.ht-fullscreen .ht-fullscreen i {
    transform: rotate(180deg);
}

/* 未找到视频按钮样式 */
.ht-training .ht-not-found {
    text-align: center;
    margin-top: 40px;
}

.ht-training .ht-not-found-btn {
    display: inline-block;
    background-color: #a41626;
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.ht-training .ht-not-found-btn:hover {
    background-color: #d43f4d;
    transform: translateY(-3px);
}

/* 动画效果 */
@keyframes ht-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .ht-training .ht-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ht-training .ht-video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .ht-training .ht-advantages-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .ht-training .ht-advantage-card {
        width: 45%;
        margin-bottom: 20px;
    }
    
    .ht-training .ht-advantage-divider {
        display: none;
    }
    
    .ht-training .ht-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ht-training .ht-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ht-training .ht-slide-title {
        font-size: 24px;
    }
    
    .ht-training .ht-slide-desc {
        font-size: 16px;
    }
    
    .ht-training .ht-section-title h2 {
        font-size: 28px;
    }
    
    .ht-training .ht-advantage-card {
        width: 100%;
        max-width: 350px;
    }
    
    .ht-training .ht-benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .ht-training .ht-video-grid {
        grid-template-columns: 1fr;
    }
    
    .ht-training .ht-modal-content {
        width: 95%;
    }
    
    .ht-training .ht-control-left {
        gap: 10px;
    }
    
    .ht-training .ht-volume-slider {
        width: 50px;
    }
    
    .ht-training .ht-time-display {
        font-size: 12px;
    }
    
    .ht-training .ht-modal {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
}
/* 四大优势图片样式 */
.ht-advantage-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 将图片变为白色 */
}


.ht-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(164, 22, 38, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ht-video-play:hover {
    background-color: rgba(164, 22, 38, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.ht-play-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 将图片变为白色 */
    margin-left: 2px; /* 微调播放图标位置，使其看起来更居中 */
}

.ht-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.ht-fullscreen-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* 将图片变为白色 */
    transition: transform 0.3s ease;
}

.ht-modal.ht-fullscreen .ht-fullscreen-icon {
    transform: rotate(180deg);
}

.ht-fullscreen:hover .ht-fullscreen-icon {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(320deg); /* 悬停时变为红色 */
}
/* 人工指导弹窗样式 */
.ht-guidance-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ht-guidance-modal.ht-active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.ht-guidance-modal.ht-closing {
    opacity: 0;
}

.ht-guidance-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.8);
    transition: transform 0.5s ease, opacity 0.5s ease;
    overflow: hidden;
    border: 1px solid #e9ecef;
    opacity: 0;
}

.ht-guidance-modal.ht-active .ht-guidance-content {
    transform: scale(1);
    opacity: 1;
}

.ht-guidance-modal.ht-closing .ht-guidance-content {
    transform: scale(0.8);
    opacity: 0;
}

/* 其他样式保持不变 */
.ht-guidance-header {
    background: linear-gradient(135deg, #a41626 0%, #d43f4d 100%);
    color: white;
    padding: 20px;
    position: relative;
    text-align: center;
}

.ht-guidance-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.ht-guidance-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.ht-guidance-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ht-guidance-body {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.ht-guidance-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #a41626 0%, #d43f4d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(164, 22, 38, 0.3);
}

.ht-guidance-icon img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.ht-guidance-text h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

.ht-guidance-text p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
}

.ht-guidance-text ul {
    margin: 0;
    padding-left: 20px;
    color: #666;
    font-size: 14px;
}

.ht-guidance-text li {
    margin-bottom: 5px;
}

.ht-guidance-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    display: flex;
    gap: 15px;
    border-top: 1px solid #e9ecef;
}

.ht-guidance-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ht-guidance-primary {
    background: linear-gradient(135deg, #a41626 0%, #d43f4d 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(164, 22, 38, 0.3);
}

.ht-guidance-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(164, 22, 38, 0.4);
}

.ht-guidance-secondary {
    background: white;
    color: #666;
    border: 2px solid #e9ecef;
}

.ht-guidance-secondary:hover {
    background: #f8f9fa;
    border-color: #a41626;
    color: #a41626;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ht-guidance-body {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .ht-guidance-footer {
        flex-direction: column;
        padding: 20px;
    }
    
    .ht-guidance-content {
        width: 95%;
        margin: 20px;
    }
}