.new-solutions-container {
    width: 100%;
    padding: 80px 40px 60px; /* 上右左下都留白 */

    padding-top: 50px;
    margin-top: -50px;
    /* display: flex;
    min-height: 100vh;
    font-family: Arial, sans-serif; */
    font-family: "Microsoft YaHei", sans-serif;
}

.new-solutions-container .solutions-header {
    margin-top: 1em;
    padding: 1em;
    /* border-bottom: 1px solid #ddd;*/
}

.new-solutions-container .solutions-header h1 {
    /* line-height: 5em; */
    line-height: 2em;
    font-size: 36px;
    color: #181f24;
    text-align: center;
    box-sizing: border-box;
    margin: 0;
    margin-top: 0.25em;
    padding: 0;
    font-weight: bold;
}

.new-solutions-container .solutions-body {
    display: flex;
    align-items: flex-start;

    top: 20px;

    /* border: 3px solid #e0e0e0;           
    border-radius: 8px;                  
    background-color: #fff;             
    padding: 16px;                     
    padding-top: 0;
    padding-bottom: 0; */
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);  */

    background-color: #fafafa;
    border-radius: 8px;
    /* padding: 24px; */
}

.new-solutions-container .sidebar {
    flex-shrink: 0;
    
    width: 200px;
    min-width: 200px;
    max-width: 280px;
    padding: 20px;
    padding-top: 80px;
    position: sticky;
    top: 30px;
    height: 100vh;

    background-color: #ffffff;
    /* border-right: 1px solid #e0e0e0; */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, 0.05);

    overflow-y: auto;
    overflow-anchor: none; /* ⭐ 阻止锚点导致 sidebar 自动滚动 */
}

.new-solutions-container .sidebar ul {
    margin-top: 55px;
list-style: none;
padding: 0;
margin: 0;
}

.new-solutions-container .sidebar li {
margin-bottom: 10px;
}

.new-solutions-container .sidebar a {
text-decoration: none;
color: #333;
font-size: 16px;
display: block;
transition: color 0.3s;
cursor: pointer;
}

.new-solutions-container .sidebar a:hover,
.new-solutions-container .sidebar a.active {
color: #007bff;
font-weight: bold;
}

.new-solutions-container .content {
    flex-grow: 1;
    padding: 20px;

    /* 给内容区加一个左侧边框（和 sidebar 边框对称） */
    border-left: 1px solid #e0e0e0;
    background-color: #fafafa; /* 稍微给个浅灰背景，让它和 sidebar 做区分 */

    /* 可选：设置圆角或内阴影，增加层次感
    border-radius: 0 4px 4px 0;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.02);
    */
}

.new-solutions-container .content section {
    margin-bottom: 100px;
    margin-top: 20px;
    scroll-margin-top: 100px; /* navbar高度 + 额外间距 */
}

.new-solutions-container .content h2 {
    margin-bottom: 10px;
    font-size: 24px;
}

.new-solutions-container .content img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
    margin: 0 auto;
    
    /* 预设图片尺寸，防止加载时页面跳动 */
    width: 100%;
    height: auto;
    aspect-ratio: 578 / 361; /* 根据实际渲染尺寸 1156×722 计算的比例 */
    min-height: 300px;
    
    /* 移除占位符背景，避免hover时出现灰色 */
    
    /* 确保图片加载时不会影响布局 */
    object-fit: contain;
    object-position: center;
    
    /* 图片加载完成后的过渡效果 */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* 图片加载完成后的样式 */
.new-solutions-container .content img.loaded {
    opacity: 1;
}



@media screen and (max-width: 800px) {
    .new-solutions-container {
        padding: 20px 0px;
        margin-top: 0;
    }

    .new-solutions-container .sidebar {
        padding: 20px 15px;
        width: 120px;
        min-width: 120px;
    }

    .new-solutions-container .sidebar li {
        margin-bottom: 5px;
    }

    .new-solutions-container .sidebar a {
        font-size: 12px;
    }
    .new-solutions-container .content img {
        min-height: 100px;
        /* 移动端保持相同的防跳动设置 */
        width: 100%;
        height: auto;
        aspect-ratio: 578 / 361; /* 根据实际渲染尺寸 1156×722 计算的比例 */
        object-fit: contain;
        object-position: center;
    }
}


.new-solutions-container .content h2 {
    text-indent: 20px;
}

.new-solutions-container .content p {
    text-indent: 20px;
    
    display: none;
}

/* 800px 到 1299px：字体略大 */
@media screen and (min-width: 801px) and (max-width: 1299px) {
  .new-solutions-container .content h2 {
    font-size: 26px;
    /* text-align: left; */
    margin-bottom: 1em;
    /* text-align: center; */
    font-weight: 700;
  }

  .new-solutions-container .content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 1.5em;
  }
}

/* 1000px 以上：p 字体微调放大 */
@media screen and (min-width: 1000px) {
  .new-solutions-container .content p {
    font-size: 19px;
    line-height: 1.85;
    margin-bottom: 2em;
  }
}

/* 1300px 及以上：字体更大 + 居中 */
@media screen and (min-width: 1300px) {
  .new-solutions-container .content h2 {
    font-size: 32px;
    /* text-align: center; */
    margin-bottom: 1em;
    font-weight: 700;
  }

  .new-solutions-container .content p {
    font-size: 22px;
    line-height: 1.9;
    /* max-width: 800px; */
    /* margin-left: auto;
    margin-right: auto; */
    margin-bottom: 2em;
  }
    .new-solutions-container .sidebar a {
        font-size: 18px;
    }
}
