
/*基础样式*/
main {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    font-family: Arial, sans-serif;
}

a {
    text-decoration: none;
    color: #fff;
}

/*轮播图*/
.carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 0;
    cursor: pointer; /* 鼠标悬停时显示手型指针 */
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
}

.slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 轮播图项容器 */
.slide.carousel-bg {
    display: flex;
    align-items: center;
    /* 垂直居中 */
    justify-content: center;
    /* 水平居中 */
}


/* 统一按钮容器基本样式 */
.carousel-button-container {
    position: absolute;
    width: 8.646%;
    height: 4.815vh;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    /*justify-content: center;*/
    z-index: 10;
    transition: left 0.3s ease, top 0.3s ease;
}

.carousel-button-container a {
    display: block;
    font-size:0.9375rem;
    color: #fff;
    text-align: center;
    width: 89%;
    padding: 0;
    text-decoration: none;
}


.carousel-button-link {
    display: block;
    font-size: 1rem;
    text-align: center;
    padding: 10px;
    color: #fff;
}


.indicator {
    position: absolute;
    bottom: 30px;
    left: 13.54%;
    /* transform: translateX(-50%); */
    display: flex;
    gap: 16px;
}

.indicator div {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    opacity: 0.2;
    cursor: pointer;
}

.indicator div.active {
    opacity: 1;
    background: #fff;
    /* 激活状态的光圈更大 */
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1);
}


.tsgd {
    position: absolute;
    bottom: 20px;
    /* 与 indicator 相同的底部位置 */
    left: 50%;
    transform: translateX(-50%);
    /* 精确水平居中 */
    width: auto;
    z-index: 10;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* ==================== 企业动态全局容器样式 ==================== */
/* 企业动态主容器 - 全屏布局 */
.CorporateDynamics {
    width: 100%;
    height: calc(91.85vh); /* 全屏高度，留0.8vh边距 */
    margin: 0;
    padding: 0;
    background-repeat: no-repeat;
    background-size: 100% 100%; /* 背景图拉伸填充 */
}

/* ==================== 标题区域 ==================== */
/* 主标题容器 - 左侧对齐 */
.CorporateDynamicstitle {
    width: 86.46%; /* 宽度占87.5% */
    margin-left: auto; /* 右侧留白 */
    display: flex;
    align-items: center;
    justify-content: left; /* 左对齐 */
    padding: 16.13vh 0 0 0; /* 上内边距 */
}

/* 主标题文字 - 大号加粗 */
.Dynamicstitle {
    font-size: 3rem;
    font-weight: 500;
    font-style: normal;
    text-transform: none;
}

/* 副标题容器 - 右侧小字 */
.titles {
    margin-left: 1.35%;  /*与主标题间距 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 副标题文字 - 蓝色文字 */
.title-with-line {
    color: #082B78;
    font-size: 1rem;
    display: inline-block;
}

/* 副标题下划线 - 装饰线 */
.titles img {
    padding: 3% 0 0 0; /* 上内边距3% */
}

/* ==================== 控制区域 ==================== */
/* 更多内容区域 - 包含按钮 */
.CorporateDynamicsmore {
    display: flex;
    align-items: center;
    justify-content: left;
    height: calc(4vh); /* 固定高度 */
    width: 86.46%;
    margin-left: auto;
    margin-bottom: 1%;
    margin-top: 1%;
}

/* 查看更多按钮 - 可点击区域 */
.Seemore {
    display: flex;
    align-items: center;
    width: 8.646%;
    height: 4.815vh;
}

/* 查看更多链接 - 灰色文字 */
.Seemore a {
    color: #888;
    width: 90%;
    text-align: center;
    font-size: 0.9375rem;
}

/* 导航按钮容器 - 右侧对齐 */
.timeline-controls {
    display: flex;
    justify-content: right;
    gap: 20px; /* 按钮间距 */
    margin: 0 0 0 75%; /* 靠右定位 */
}

/* 导航按钮 - 圆形蓝色 */
.timeline-nav {
    background: #082B78;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* 圆形 */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease; /* 平滑过渡 */
}

/* 按钮悬停效果 - 颜色加深放大 */
.timeline-nav:hover {
    background: #0056b3;
    /* transform: scale(1.1);*/
}

/* ==================== 时间轴容器 ==================== */
/* 时间轴外层容器 - 隐藏滚动条 */
.timeline-container {
    overflow: hidden;
    width: 86.46%;
    margin-left: auto;
    height: calc(60vh - 5rem); /* 动态高度 */
}

/* 时间轴轨道 - 横向滚动 */
.timeline-track {
    width: 100%;
    height: calc(60vh - 5rem);
    overflow: hidden;
}

/* 时间轴包装器 - 清除浮动 */
.timeline-wrapper {
    width: 100%;
    overflow: hidden;
}

/* 清除浮动伪元素 */
.timeline-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* ==================== 时间轴项目 ==================== */
/* 时间轴整体布局 - 横向排列 */
.timeline {
    width: 100%;
    height: calc(60vh - 5rem);
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    scroll-snap-type: x mandatory;
}

/* 单个时间轴项目 - 基础样式 */
.timeline-item {
    display: flex;
    width: 30%;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex: 0 0 20%; /* 默认宽度20% */
    opacity: 0.85;
    transition: all 0.3s ease;
    padding: 0;
    scroll-snap-align: center;
}

/* 第一个项目 - 特殊处理 */
.timeline-item:first-child {
    padding: 0;
}

/* 活跃状态项目 - 放大突出 */
.timeline-item.active {
    flex: 0 0 30%; /* 激活时宽度35% */
}

/* 日期文字 - 居中显示 */
.timeline-date {
    font-size: 14px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    padding: 1% 0;
}

/* 时间轴圆点 - 蓝色标记 */
.timeline-dot {
    width: 8px;
    height: 8px;
    background: #082B78;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-bottom: 3%;
    margin-top: 2%;
    margin-left: 50%; /* 水平居中 */
}

/* 圆点外圈 - 半透明效果 */
.timeline-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    background: #082b781f; /* 浅蓝色 */
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

/* 活跃状态圆点 - 外圈加深 */
.timeline-item.active .timeline-dot::after {
    background: #082b7866; /* 更明显的蓝色 */
}

/* ==================== 内容区域 ==================== */
/* 时间轴内容 - 网格布局 */
.timeline-content {
    width: 100%;
    height: calc(47vh - 5rem);
    flex-direction: column;
    display: grid;
    grid-template-rows: 70% auto; /* 图片占70%，文字30% */
    min-height: 0; /* 允许内容收缩 */
}

/* 图片区域 - 保持比例 */
.timeline-image {
    grid-row: 1;
    height: 100%;
    overflow: hidden;
}

/* 图片样式 - 自适应填充 */
.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持比例填充 */
}

/* 文字区域 - 弹性布局 */
.timeline-text {
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    width: 90%;
    overflow: hidden;
}

/* 通用文本样式 - 多行省略 */
.timeline-text p,
.timeline-text span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    padding: 0;
    word-break: break-word; /* 长单词换行 */
}

/* 标题文字 - 基础样式 */
.timeline-text p {
    font-size: 1rem;
    margin: 0 0 10px 0;
}

/* 正文文字 - 基础样式 */
.timeline-text span {
    font-size: 0.9rem;
    text-overflow: ellipsis;
    flex-grow: 1; /* 填充剩余空间 */
}

/* ==================== 活跃状态特殊样式 ==================== */
/* 活跃状态日期颜色 */
.timeline-item.active .timeline-date {
    color: #082B78;
}

/* 活跃状态内容区域 */
.timeline-item.active .timeline-content {
    position: relative;
    display: block;
}

/* 活跃状态图片区域 */
.timeline-item.active .timeline-image {
    grid-row: 1;
    height: 100%;
}

/* 活跃状态文字区域 - 渐变背景 */
.timeline-item.active .timeline-text {
    margin-top: -85px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #0000008a 52%);
}

/* 活跃状态标题 - 单行白字 */
.timeline-item.active .timeline-text p {
    -webkit-line-clamp: 1; /* 限制1行 */
    font-size: 1.25rem;
    color: white;
    font-weight: bold;
    line-height: 1.5;
    max-height: 1.5em;
    margin-bottom: 8px;
    margin-top: auto;
}

/* 活跃状态正文 - 双行浅色 */
.timeline-item.active .timeline-text span {
    -webkit-line-clamp: 2; /* 限制2行 */
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    max-height: 2.8em;
}

/* ==================== 非活跃状态样式 ==================== */
/* 非活跃状态项目 */
.timeline-item:not(.active) {
    flex: 0 0 20%;
}

/* 非活跃状态日期 */
.timeline-item:not(.active) .timeline-date {
    color: #666666;
}

/* 非活跃状态图片 */
.timeline-item:not(.active) .timeline-image {
    width: 92%;
    height: 90%;
    display: flex;
    margin: auto;
    justify-items: center;
}

/* 非活跃状态文字区域 */
.timeline-item:not(.active) .timeline-text {
    width: 90%;
    height: 100%;
}

/* 非活跃状态标题 - 双行深色 */
.timeline-item:not(.active) .timeline-text p {
    -webkit-line-clamp: 2; /* 限制2行 */
    font-size: 1.125rem;
    color: #222222;
    font-weight: normal;
    line-height: 1.3;
    max-height: 2.6em;
    margin-bottom: 6px;
}

/* 非活跃状态正文 - 三行灰色 */
.timeline-item:not(.active) .timeline-text span {
    -webkit-line-clamp: 3; /* 限制3行 */
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.4;
    max-height: 4.2em;
}

/* ==================== 响应式设计 ==================== */
/* 平板设备 (768px以上) */
@media (min-width: 768px) {
    .timeline-item:not(.active),
    .timeline-item {
        flex: 0 0 45%; /* 每行显示2个 */
    }
}

/* 小型桌面 (992px以上) */
@media (min-width: 992px) {
    .timeline-item:not(.active),
    .timeline-item {
        flex: 0 0 30%; /* 每行显示3个 */
    }
}

/* 大型桌面 (1200px以上) */
@media (min-width: 1200px) {
    .timeline-item:not(.active),
    .timeline-item {
        flex: 0 0 20%; /* 每行显示4个 */
    }
}


/* ==================== 业务能力 ==================== */
/*业务能力*/
/* 主容器 - 业务能力区块 */
.Businesscapability {
    width: 87.5%;
    height: 898px; /* 使用min-height确保内容可以撑开容器 */
    display: flex; /* 弹性布局 */
    flex-direction: row; /* 垂直布局更适合内容自适应 */
}

/* 左侧装饰区域 */
.Businesscapability-left {
    width: 12.5%;
}

/* 右侧内容区域 */
.Businesscapability-right {
    width: 100%;
    flex: 1;
    padding: 160px 0 0 0;
    margin: 0 0 0 3%;
    overflow: none;
}

/* 标题区域容器 */
.Businesscapabilitytitle {
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex; /* 弹性布局 */
}

/* 主标题样式 */
.Capabilitytitle {
    font-size: 3rem;
    font-weight: 500;
    display: flex;
    align-items: center; /* 垂直居中 */
}

/* 查看更多按钮 */
.Seemore1 {
    display: flex;
    justify-content: space-around;
    padding: 0.5% 0.5%;
    color: #888888;
    margin: 0;
    width: 10%;
    height: 3.8vh;
    flex-direction: column-reverse;
    flex-wrap: wrap;
    align-content: space-between;
    margin-left: auto;
}

.Seemore1_a {
    width: 90%;
    text-align: center;
    font-size: 0.9375rem;
    color: #888 !important; /* 链接文字颜色 */
}

/* 业务能力卡片容器 */
.BusinesscapabilityContent {
    width: 100%;
    display: flex;
    margin: 3% 0 0 0; /* 顶部3%外边距 */
}

/* 卡片基础样式 */
.CapabilityContent {
    flex: 0 0 15%; /* 初始宽度15% */
    height: 506px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    margin: 0 0.85%; /* 左右各0.52%，合计1.04%间距 */
}

/* 第一个和最后一个取消外侧边距 */
.CapabilityContent:first-child {
    margin-left: 0;
}
.CapabilityContent:last-child {
    margin-right: 0;
}

/* 激活卡片样式 */
.active1 {
    flex: 0 0 50%; /* 激活时宽度55% */
    color: #fff;
}

/* 背景图片通用样式 */
.carousel-bg {
    background-repeat: no-repeat;
    background-size: 100% 100%; /* 完全覆盖背景 */
}

/* 卡片内容区域 */
.CapabilityContents {
    display: flex;
    width: 90%;
    margin: 0 auto;
    padding: 50px 0 0 9.88%;
}


/* 卡片标题 */
.capability-title {
    margin: 8% 0 0 0;
    font-size: 1.625rem;
}

/* 卡片副标题 */
.capability-subtitle {
    margin: 0;
    font-size: 0.875rem;
}

/* 功能列表样式 */
.capability-list {
    margin: 0 auto;
    margin-top: 60px;
    margin-bottom: 1%;
    width: 85%;
    height: 20vh;
}

.capability-list li {
    width: auto;
    list-style: none; /* 去除列表样式 */
}

.capability-list li a {
    text-decoration: none;
    color: #ffffff7a; /* 半透明白色 */
    font-size: 1rem;
    letter-spacing: 0.15rem; /* 字符间距 */
}

/* 更多按钮容器 */
.more-button-container {
    width: 23%;
    height: 5vh;
    position: absolute; /* 改为绝对定位 */
    bottom: 30px; /* 距离底部30px */
    right: 30px; /* 距离右侧30px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0; /* 移除原有的右侧外边距 */
    z-index: 10; /* 确保在最上层 */
    top:435px
}

.more-button-container a {
    text-decoration: none;
    color: #fff;
}

/* 图标区域 */
.capability-icon {
    display: flex;
}

/* 未激活卡片内容样式 */
.noCapabilityContents {
    text-align: center;
    width: 85%;
    margin: 5% auto;
    color: #888888;
}

.noCapabilityContentsdiv {
    margin-left: 2%;
}

.noCapabilityContentsdivp1 {
    margin: 50px 0 0 0;
    font-size: 1.625rem;
}

.noCapabilityContentsdivp2 {
    margin: 0;
    font-size: 0.875rem;
}

/* 产品选项卡容器 */
.cptab {
    width: 90%;
    margin: 0 auto;
    height: 36vh;
    padding: 1% 0 0 1%;
}

.cptab .tab-content {
    height: calc(100% - 80px); /* 计算高度 */
}

/* 选项卡导航 */
.tab-nav {
    display: flex;
    margin-bottom: 20px;
    border-top: 1px solid #dddddd1f; /* 半透明边框 */
    width: 100%; /* 确保宽度100% */
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: #ffffff7a; /* 半透明白色 */
    border-bottom: 2px solid transparent;
    flex: 1; /* 新增：使每个按钮平均分配空间 */
    text-align: center; /* 新增：文字居中 */
}

.tab-btn.active {
    color: #fff; /* 激活状态白色 */
    border-top: 2px solid #378dff; /* 蓝色上边框 */
}

/* 选项卡内容面板 */
.tab-pane {
    margin: 2% 0;
    display: none; /* 默认隐藏 */
}

.tab-pane.active {
    display: block; /* 激活时显示 */
}

/* 产品详情区域 */
.product-detail {
    display: flex;
    gap: 20px;
}


.product-desc {
    width: 50%;
    display: flex;
    flex-direction: column; /* 垂直排列 */
}

.productfilstdiv{
    height: 180px;
}

.product-desc h3 {
    margin-top: 0;
    color: #fff;
}

.product-desc p,
.product-desc ul {
    color: #ffffff7a;
    font-size: 0.9rem;
}

/* 产品背景图片容器 */
.cptabbakimg {
    width: 45%;
    min-height: 3.8vh;
    padding: 1%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cptabbakimg a {
    color: #fff;
    text-decoration: none;
}

.product-poto{
    width: 50%;
}



/*行业领域相关样式已删除*/

/* Responsive Styles for Tablets */
@media (max-width: 1024px) and (min-width: 769px) {

    .CorporateDynamicstitle,
    .Businesscapabilitytitle {
        padding-top: 6%;
    }

    .timeline-item {
        flex: 0 0 45%;
        /* 2 items per row */
    }

    .BusinesscapabilityContent {
        flex-wrap: wrap;
        justify-content: center;
    }

    .CapabilityContent {
        flex: 0 0 48%;
        /* 2 cards per row */
        margin-bottom: 20px;
    }

    .active1 {
        flex: 0 0 100%;
        /* Active card takes full width */
    }
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
    main {
        padding: 0;
    }

    .CorporateDynamics,
    .Businesscapability {
        height: auto;
        padding: 20px 15px;
    }

    .CorporateDynamicstitle,
    .CorporateDynamicsmore,
    .timeline-container,
    .Businesscapabilitytitle {
        width: 100%;
        margin-left: 0;
        padding: 0;
    }

    .CorporateDynamicstitle,
    .Businesscapabilitytitle {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        margin-bottom: 20px;
    }

    .Dynamicstitle,
    .Capabilitytitle {
        font-size: 2.2rem;
    }

    .titles {
        width: auto;
        margin-left: 0;
        margin-top: 10px;
    }

    /* Timeline */
    .timeline-container {
        height: auto;
        overflow: visible;
    }

    .timeline-track,
    .timeline-wrapper {
        overflow: visible;
        height: auto;
    }

    .timeline {
        flex-direction: column;
        gap: 30px;
        height: auto;
        width: 100%;
    }

    .timeline-item,
    .timeline-item.active {
        width: 100%;
        flex: 1 1 auto;
        opacity: 1;
        transform: none;
        padding: 0;
    }

    .timeline-content {
        height: auto;
    }

    .timeline-controls {
        width: 100%;
        margin: 20px 0 0 0;
        justify-content: center;
        gap: 10px;
    }

    .timeline-nav {
        transform: none !important;
    }

    /* Business Capability */
    .Businesscapability {
        flex-direction: column;
    }

    .Businesscapability>div:first-child {
        display: none;
        /* Hide side image */
    }

    .Businesscapability>div:last-child {
        width: 100%;
        height: auto;
        padding-top: 0;
    }

    .Seemore1 {
        width: auto;
        margin: 15px 0 0 0;
    }

    .BusinesscapabilityContent {
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
    }

    .CapabilityContent,
    .active1 {
        flex-basis: auto;
        height: auto;
    }

    .active1 {
        color: #fff;
    }

    /* 行业领域响应式样式已删除 */
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 2% auto 0 auto;
    padding: 0;
    border-radius: 0;
    width: 1000px;
    max-width: 1000px;
    height: calc(98vh);
    max-height: calc(98vh);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-left: 1px solid #e0e0e0;
    z-index: 10000;
}

/* 防止模态框打开时背景内容滚动 */
body.modal-open {
    overflow: hidden;
    pointer-events: none;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    right: 0;
}

/* 只允许模态框内容区域点击 */
body.modal-open .modal,
body.modal-open .modal .modal-content,
body.modal-open .modal .modal-inner,
body.modal-open .modal .close-btn,
body.modal-open .modal .modal-body,
body.modal-open .modal .navigation,
body.modal-open .modal .navigation span {
    pointer-events: auto;
}

.modal-inner {
    display: flex;
    flex-direction: column;
    padding: 0;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* 创建一个可滚动的容器，包含标题、时间、分割线和内容 */
.modal-scroll-container {
    position: absolute;
    top: 90px; /* 从标题位置开始，不再从弹窗顶部开始 */
    left: 0;
    right: 0;
    bottom: 60px; /* 为底部导航预留空间 */
    overflow-y: auto;
    padding: 0 100px 30px 100px; /* 移除顶部内边距，只保留左右和底部内边距 */
}

/* 响应式样式调整 */
@media (min-width: 1920px) {
    .modal-content {
        width: 1000px;
        max-width: 1000px;
    }

    .modal-inner {
        padding: 0;
    }

    .modal-header {
        font-size: 28px;
    }

    .modal-meta {
        font-size: 16px;
    }
}

@media (max-width: 1366px) {
    .modal-content {
        width: 1000px;
        max-width: 1000px;
    }

    .modal-inner {
        padding: 0;
    }
}

@media (max-width: 1024px) {
    .modal-content {
        width: 1000px;
        margin: 2% auto;
    }

    .modal-inner {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }

    .modal-inner {
        padding: 0;
    }

    .modal-header {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .modal-meta {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .modal-body {
        padding-right: 10px;
    }
}

.modal-header {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: bold;
    font-size: 24px;
    color: #333333;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 20px; /* 标题下方间距 */
    padding-right: 40px;
}

.modal-meta {
    font-family: Source Han Sans CN, Source Han Sans CN;
    font-weight: 400;
    font-size: 14px;
    color: #888888;
    line-height: 24px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    margin-bottom: 20px; /* 时间下方间距 */
}

.modal-content hr {
    margin: 0 0 30px 0; /* 分割线下方间距30px */
    border: none;
    border-top: 1px solid #e8e8e8;
    width: 100%;
}

.modal-body {
    line-height: 1.8;
    overflow-wrap: break-word;
    word-wrap: break-word;
    color: #333333;
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.modal-body p,
.modal-body span,
.modal-body div,
.modal-body li,
.modal-body a,
.modal-body td,
.modal-body th,
.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body h5,
.modal-body h6 {
    font-size: 16px !important;
    line-height: 180%;
    margin-bottom: 16px;
}

/* 自定义滚动条样式 */
.modal-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.modal-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.modal-scroll-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.modal-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.modal-body img {
    max-width: 100%;
    height: auto !important;
    /* 移除了固定的margin和display设置，保留原有样式 */
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 30px;
    cursor: pointer;
    font-size: 24px;
    font-weight: normal;
    color: #999;
    background: none;
    border: none;
    outline: none;
    z-index: 10;
}

.close-btn:hover {
    color: #666;
}
