/* ============================================
   直播详情页面公共样式（新闻发布会、在线访谈）
   ============================================ */

   .live-detail-page {
    background-color: #fff;
    padding: 20px 0 60px;
}

/* 页面标题 */
.live-detail-header {
    margin-bottom: 30px;
}

.live-detail-title {
    font-size: 38px;
    font-weight: 400;
    text-align: center;
    color: #115A94;
    margin-bottom: 20px;
    /* font-family: 'GovWF_FZ', "Microsoft YaHei", "SimHei", Arial, sans-serif; */
}

.live-detail-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
    color: #333;
    line-height: 1.8;
}

.meta-item {
    display: flex;
    align-items: flex-start;
}

.meta-label {
    color: #333;
    font-weight: 500;
    min-width: 60px;
    flex-shrink: 0;
    font-size: 20px;
}

.meta-value {
    font-size: 20px;
    color: #333;
    flex: 1;
}

/* 主要内容区域 */
.live-detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

/* 视频区域 */
.live-video-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.video-player-wrapper {
    position: relative;
    width: 100%;
    background-color: #000;
    /* border-radius: 8px; */
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(255, 0, 0, 0.9), rgba(255, 0, 0, 0.7));
    color: #fff;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: bold;
}

.live-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* 发言人轮播 */
.speaker-carousel-wrapper {
    position: relative;
    width: 100%;
    padding: 30px 0;
    border-top: 1px solid #E3E3E3;
    border-bottom: 1px solid #E3E3E3;
}

.speaker-carousel {
    width: 100%;
    /* padding: 0 40px; */
    overflow: hidden;
}

.speaker-carousel .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.speaker-carousel .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.speaker-item {
    width: 100%;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.speaker-item img{
    width: 100%;
}


.speaker-image {
    width: 100%;
    object-fit: cover;
    transition: border-color 0.3s;
    display: block;
}

.speaker-label {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 2px 0 4px 0;
}

/* 轮播箭头样式 */
.speaker-carousel-prev,
.speaker-carousel-next {
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    color: #333;
    transition: all 0.3s;
}

.speaker-carousel-prev:hover,
.speaker-carousel-next:hover {
    background-color: #115A94;
    color: #fff;
}

.speaker-carousel-prev:after,
.speaker-carousel-next:after {
    font-size: 14px;
    font-weight: bold;
}

.speaker-carousel-prev {
    left: 0;
}

.speaker-carousel-next {
    right: 0;
}

/* 内容区域 */
.live-content-section {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

/* 标签页 */
.content-tabs {
    display: flex;
    gap: 0;
    /* border-bottom: 2px solid #e0e0e0; */
    margin-bottom: 10px;
}

.content-tab {
    padding: 12px 0;
    background: none;
    border: none;
    /* border-bottom: 2px solid transparent; */
    cursor: pointer;
    font-size: 24px;
    color: #333;
    transition: all 0.3s;
    /* font-family: 'GovWF_FZ', "Microsoft YaHei", "SimHei", Arial, sans-serif; */
    margin-bottom: -2px;
    white-space: nowrap;
    margin-right: 30px;
}

.content-tab:hover {
    color: #115A94;
}

.content-tab.active {
    color: #115A94;
    /* border-bottom-color: #115A94; */
    font-size: 26px;
    /* font-weight: bold; */
}

/* 内容区域 */
.tab-content {
    display: none;
    flex: 1;
    overflow: hidden;
}

.tab-content.active {
    display: flex;
    flex-direction: column;
}

/* 直播实录内容 */
.transcript-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    max-height: 600px;
    min-height: 400px;
    scrollbar-width: thin;
    scrollbar-color: #d2d2d2 transparent;
    border: 1px solid #E3E3E3;
}

.transcript-content::-webkit-scrollbar {
    width: 6px;
}

.transcript-content::-webkit-scrollbar-track {
    background: transparent;
}

.transcript-content::-webkit-scrollbar-thumb {
    background-color: #d2d2d2;
    border-radius: 3px;
}

.transcript-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.transcript-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.transcript-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.transcript-speaker {
    font-size: 20px;
    /* font-weight: bold; */
    color: #333;
}

.transcript-date {
    font-size: 18px;
    color: #333;
}

.transcript-text {
    font-size: 20px;
    color: #333;
    line-height: 1.8;
    text-align: justify;
    word-break: break-word;
}

.trs_web p {
    padding: 5px 0px;
}

.trs_web p span {
    font-weight: bolder;
    line-height: 2em;
}

/* 相关资料列表 */
.materials-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 600px;
    min-height: 400px;
}

.material-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 4px;
    border-left: 3px solid #115A94;
    transition: all 0.3s;
}

.material-item:hover {
    background-color: #f0f0f0;
    transform: translateX(5px);
}

.material-item a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
    line-height: 1.6;
    transition: color 0.3s;
}

.material-item:hover a {
    color: #115A94;
}

/* 微视频列表 */
.video-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    /* max-height: 600px; */
    min-height: 200px;
    align-content: start;
}

.video-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
    border: 1px solid #ddd;
}


.video-item img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.video-play-btn:hover {
    background-color: rgba(17, 90, 148, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
    opacity: 0.8;
}

.video-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    padding: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.news-card-content{
    padding: 16px 10px 10px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-card-title {
    font-size: 20px;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}
.news-card-date {
    font-size: 16px;
    color: #B3B3B3;
    text-align: right;
    padding-right: 10px;
    line-height:1;
}
.news-row:not(.news-row-1) {
    color: #333;
    padding-right: 0;
}

.news-card-meta {
    font-family: '黑体';
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    padding-top: 5px 0 5px;
}
.news-card-source {
    font-size: 16px;
    color: #B3B3B3;
}

/* 响应式设计 - 平板 */
@media screen and (max-width: 1024px) {
    .live-content-section {
        height: auto;
    }

    .transcript-content,
    .materials-list,
    .video-list {
        max-height: none;
        min-height: auto;
    }

    .video-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 响应式设计 - 移动端 */
@media screen and (max-width: 768px) {
    .live-detail-page {
        padding: 20px 0 40px;
    }

    .live-detail-title {
        font-size: 24px;
    }
    .content-tab.active{
        font-size: 22px;
    }
    .live-detail-meta {
        font-size: 14px;
    }

    .live-detail-content {
        gap: 20px;
    }

    .live-content-section {
        height: auto;
    }

    .content-tabs {
        flex-wrap: wrap;
    }

    .content-tab {
        padding: 10px 8px;
        font-size: 18px;
    }

    .transcript-content,
    .materials-list{
        max-height: 400px;
        min-height: 300px;
    }
    .video-list {
        min-height: 100px;
    }
    .speaker-item {
        width: 100%;
    }

    .video-list {
        grid-template-columns: 1fr;
    }
}

