/* 核心成员详情页专属样式 */
.list-detail-banner {
    /* height: 10px; */
    position: relative;
    /* overflow: hidden; */
    margin-bottom: 40px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url(images/member-banner.jpg) center/cover no-repeat;
    /* transition: background 0.3s ease; */ 
}

body.night-mode .list-detail-banner {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url(images/member-banner-night.jpg) center/cover no-repeat;
}


/* 详情内容容器 */
.list-detail-banner-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(22,93,255,0.08);
    padding: 24px;
    margin-bottom: 80px;
}
body.night-mode .list-detail-container {
    background-color: #2C3036;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.md-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    /* break-inside: avoid;
    page-break-inside: avoid;
    white-space: normal; */
}

.list-detail-banner-container>.md-h1{
    /* font-size: 10px; */
    /* text-align: right; */
    background-color: #e82828;
}

.md-span{
    font-size: 15px;
}
.md-img {
    max-width: 600px;  /* 限制图片最大宽度，可根据页面调整 */
    width: 100%;       /* 保证在小屏幕上自动适配 */
    height: auto;      /* 保持图片原始比例，不变形 */
    display: block;    /* 让 margin: auto 生效，实现水平居中 */
    margin: 16px auto; /* 上下留白，左右居中 */
    border-radius: 8px;/* 可选：添加圆角更美观 */
}
.md-video-container {
    max-width: 800px; /* 和图片最大宽度保持一致 */
    width: 100%;
    margin: 16px auto; /* 上下留白，水平居中 */
    border-radius: 8px;
    overflow: hidden; /* 让圆角生效 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 视频标签样式 */
.md-video {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .md-content {
        padding: 15px 20px;
        font-size: 15px;
        line-height: 1.5;
    }
    
    .md-content h1 {
        font-size: 24px;
        margin: 15px 0 8px;
    }
    
    .md-content h2 {
        font-size: 20px;
        margin: 12px 0 6px;
    }
    
    .md-content p {
        margin: 4px 0;
    }

    .md-img {
        max-width: 100%; /* 移动端占满容器宽度 */
        margin: 12px auto;
    }

     .md-video-container {
        max-width: 100%;
        margin: 12px auto;
    }
}