/* 内容页样式 */
.article-container {
    margin: 30px auto;
    width: 1380px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    padding: 40px;
}

.article-header {
    text-align: center;
    /*padding-bottom: 30px;*/
    border-bottom: 1px solid #eee;
    margin-bottom: 40px;
}

.article-title {
    font-size: 32px;
    color: #222;
    /*margin-bottom: 25px;*/
    line-height: 1.4;
    font-weight: bold;
    padding: 0 50px;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
    position: relative;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #555;
    position: relative;
}

.meta-item i {
    margin-right: 8px;
    color: #bd1a2d;
    font-size: 16px;
}

/* 优化后的点击率样式 */
.read-count {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}

.read-count i {
    font-size: 18px;
    color: #888;
    position: relative;
}

.count-badge {
    position: absolute;
    top: -10px;
    right: -12px;
    background: #bd1a2d;
    color: white;
    font-size: 11px;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.article-content {
    display: flex;
    justify-content: center;
    font-size: 17px;
    line-height: 1.85;
    color: #444;
}

.article-content p {
    margin-bottom: 28px;
    text-indent: 2em;
}

.article-content img {
    max-width: 100%;
    display: block;
    margin: 30px auto;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    font-size: 15px;
}

.article-nav {
    display: flex;
    justify-content: space-between;
}

.article-nav a {
    color: #1a5276;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s;
    max-width: 45%;
}

.article-nav a:hover {
    background: #e8f0ff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.article-nav a.prev i {
    margin-right: 10px;
    font-size: 20px;
}

.article-nav a.next i {
    margin-left: 10px;
    font-size: 20px;
}

.img-desc {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: -15px;
    margin-bottom: 30px;
    font-style: italic;
}

.m-txt-dtt {
    line-height: 36px;
    text-align: center;
    font-weight: normal;
    font-size: 24px;
    padding: 15px 0px;
}

/* 新增视频播放器样式 */
.video-container {
    position: relative;
    width: 996px;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 40px;
}

.video-player {
    width: 100%;
    height: 560px;
    object-fit: cover;
    outline: none;
}

.video-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    opacity: 0.8;
    z-index: 10;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: opacity 0.3s;
}

.play-icon {
    font-size: 100px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.video-overlay:hover .play-icon {
    transform: scale(1.1);
    color: white;
}

.video-title {
    position: absolute;
    top: 20px;
    left: 20px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    z-index: 10;
    max-width: 80%;
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    display: flex;
    align-items: center;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-container {
    flex-grow: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin: 0 10px;
    cursor: pointer;
    position: relative;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: #bd1a2d;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    color: white;
    font-size: 14px;
    margin: 0 10px;
    min-width: 100px;
    text-align: center;
}

/*适配手机*/
@media (max-width: 768px) {
    .video-player {
        width: 100%;
        height: 240px;
    }

    .article-container {
        width: 100%;
    }

    .article-title {
        font-size: 18px;
        margin: 0;
    }

    .article-meta {
        gap: 10px;
               flex-direction: column;
               align-items: center;
    }

    .article-container {
        margin: 0;
        padding: 0;
    }

    .video-container {
        margin-bottom: 0;
    }

    .article-content img {
        margin: 20px auto;
    }

    .video-logo {
        top: 0px;
        right: 10px;
        width: 30px;
        height: 30px;
    }
}