
/* 1. 彻底清空方块的背景色、边框、阴影和圆角，让它完全隐形 */
.carousel_info.text_position_center {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    position: relative;
    z-index: 2;
}

/* 2. 给整张 Banner 注入一层高级的、中心向四周扩散的自然暗晕（径向渐变） */
/* 这样能保证有字的地方刚好暗下去衬托白字，而四周的试管和烧杯依然明亮、看得清 */
.carousel_info.text_position_center::before {
    content: "";
    position: absolute;
    /* 放大遮罩范围，覆盖整张图 */
    top: -200px; 
    bottom: -200px;
    left: -100%;
    right: -100%;
    margin: auto;
    width: 300vw;
    height: 300vh;
    /* 中心深、四周变透明的渐变滤镜 */
    background: radial-gradient(circle, rgba(15, 32, 67, 0.55) 0%, rgba(15, 32, 67, 0.2) 50%, rgba(0, 0, 0, 0) 100%) !important;
    z-index: -1;
    pointer-events: none;
}

/* 3. 让标题更有厚重感 */
.carousel_title a {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    letter-spacing: 1px !important;
    /* 加一层极淡的文字阴影，保证在白底处绝对清晰 */
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4) !important; 
}

/* 4. 提升副标题的可读性 */
.carousel_content {
    color: #f3f4f6 !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4) !important;
}

/* 5. 按钮全大写（增加欧美 B2B 严肃感） */
.carousel_btn.themes_box_button {
    text-transform: uppercase !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}
@media (max-width: 768px) {
    
    /* 1. 缩小整个文字容器内部的上下安全边距 */
    .carousel_info.text_position_center {
        padding-top: 25px !important;    /* 缩小顶部留白 */
        padding-bottom: 25px !important; /* 缩小底部留白 */
    }

    /* 2. 缩小大标题（H1）下方的间距，让它离副标题更近 */
    .carousel_title {
        margin-top: 0 !important;
        margin-bottom: 10px !important;  /* 强制定为 10px 紧凑间距 */
        line-height: 1.25 !important;    /* 优化大标题自身的行间距 */
    }

    /* 3. 缩小副标题（P）的上下间距，让它往上提，同时给下方的按钮留出合适距离 */
    .carousel_content {
        margin-top: 0 !important;
        margin-bottom: 15px !important;  /* 缩短与下方按钮的距离，15px 刚好不拥挤 */
        line-height: 1.4 !important;     /* 稍微抓紧副标题自身的行高 */
    }

    /* 4. 微调按钮在手机端的外边距，确保整体比例协调 */
    .carousel_btn.themes_box_button {
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
}
