@media screen and (min-width: 768px) {

    /* 第一部分：CASE STUDIES 1.5屏高度 */
    .case-banner {
        width: 100%;
        height: 150vh;
        /* 一屏半高度 */
        background: url('../img/case-bg-3.jpg') center/cover no-repeat;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #fff;
        padding: 20% 5%;
        position: relative;
    }

    .case-banner h1 {
        font-size: 66px;
        color: #ffffff;
        letter-spacing: 2px;
        margin-bottom: 24px;
    }

    .case-banner p {
        max-width: 900px;
        font-size: 24px;
        line-height: 1.5;
        color: #fff;
    }

    /* 第二部分：三卡片，上移-50vh（压入首屏一半高度） */
    .case-list {
        width: 96%;
        /* 左右各留2% → 100%-2%-2%=96% */
        margin: -50vh auto 80px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 固定3列均分 */
        gap: 30px;
        /* 卡片中间间距50px */
        position: relative;
        z-index: 2;
    }

    /* 第二部分：三卡片，正常 */
    .case-list-c {
        width: 96%;
        /* 左右各留2% → 100%-2%-2%=96% */
        margin: 80px auto 0;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 固定3列均分 */
        gap: 30px;
        /* 卡片中间间距50px */
        position: relative;
        z-index: 2;
    }

    /* 卡片样式 */
    .case-card {
        background: #fff;
        overflow: hidden;
    }

    .card-img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        display: block;
    }

    .card-text {
        padding: 24px;
    }

    .card-text h3 {
        font-size: 24px;
        color: #0a46dc;
        margin-bottom: 12px;
    }

    .card-case-desc {
        min-height: 450px;
        margin-top: 30px;
    }

    .card-case-desc p {
        font-size: 20px;
        color: #333;
        line-height: 1.5;
        margin-top: 30px;
    }

    .card-case-desc a {
        font-size: 44px;
        color: #333;
        line-height: 1.5;
    }

    .card-case-desc a:hover {
        color: #0a46dc;
    }

    .case-read-more {
        background: #000;
        color: #fff;
        border: none;
        padding: 12px 32px;
        border-radius: 8px;
        font-size: 1.05rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .case-read-more:hover {
        background: #0a46dc;
    }

    /*背景图+文字 */
    .case-screen-bg-text {
        width: 100%;
        height: 100vh;
        position: relative;
        /* 作为绝对定位父容器 */
        overflow: hidden;
    }

    /* 背景图片铺满整屏 */
    .case-screen-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* 文字盒子：底部+水平居中，距离底边5%高度 */
    .case-text {
        position: absolute;
        left: 5%;
        right: 5%;
        bottom: 5%;
        text-align: center;
        color: #fff;
    }

    .case-text .sub-title {
        font-size: 32px;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    .case-text .main-title {
        font-size: 54px;
        font-weight: bold;
        letter-spacing: 2px;
    }


    /* 标题加内容 */

    .case-screen-content {
        width: 60%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 0 20%;
    }

    .case-screen-content .title {
        font-size: 36px;
        margin-bottom: 60px;
        text-align: center;
        line-height: 1.2;
    }

    .case-screen-content .content {
        font-size: 18px;
        line-height: 1.6;
        color: #ccc;
        text-align: justify;
        /* 禁止单词、英文/数字内部换行，保证单词完整 */
        word-break: keep-all;
        /* 补充：优化换行规则，优先在单词间换行 */
        word-wrap: normal;
        /* 可选：处理长英文单词溢出，避免撑破容器 */
        overflow-wrap: break-word;
    }



    /* 黑色背景+引用+列表 */
    .case-screen-sp-quote {
        width: 60%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        margin: 0 20%;
    }

    .case-quote {
        font-size: 32px;
        line-height: 1.2;
        font-style: italic;
        text-align: center;
        /* 斜体 */
        /* text-decoration: underline; */
        /* 下划线 */
    }
     .case-quote span{
        /* 斜体 */
        text-decoration: underline;
        /* 下划线 */
    }

    .case-feature-list {
        width: 100%;
        align-items: left;
        text-align: left;
        margin-top: 30px;
        text-align: justify;
        /* 禁止单词、英文/数字内部换行，保证单词完整 */
        word-break: keep-all;
        /* 补充：优化换行规则，优先在单词间换行 */
        word-wrap: normal;
        /* 可选：处理长英文单词溢出，避免撑破容器 */
        overflow-wrap: break-word;
    }

    .case-feature-list p {
        font-size: 18px;
        line-height: 1.8;
        color: #ccc;
    }



    /* 纯黑背景+文字+蓝色按钮 */
    .black-bg-blue-btn {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        margin-top: 30px;
    }

    .black-bg-blue-btn .product-title {
        font-size: 18px;
        color: #fff;
    }

    .case-explore-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        max-width: 260px;
        background-color: #0a46dc;
        border: none;
        color: white;
        padding: 10px 15px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 50px;
        transition: all 0.3s ease;

    }

    .case-explore-btn:hover {
        background-color: white;
        color: #0a46dc;
    }





    /* 渐变背景+邀请语+按钮 */
    .case-screen-blue-jb-bg {
        height: 400px;
        background: linear-gradient(110deg, #00000000, #000000, #0a46dc);
        color: white;
        text-align: center;
        padding: 80px 0;
    }

    .section-content {
        max-width: 800px;
        margin: 0 auto;
    }

    .section-content h2 {
        font-size: 40px;
        line-height: 1.2;
        margin-bottom: 50px;
    }

    .booking-button {
        background-color: #0a46dc;
        border: none;
        color: white;
        padding: 10px 20px;
        font-size: 16px;
        cursor: pointer;
        border-radius: 50px;
        transition: all 0.3s ease;

    }

    .booking-button:hover {
        background-color: white;
        color: #0a46dc;
    }

    /* case-studies */

    .case-studies-content {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .case-studies-content h2 {
        font-size: 66px;
        line-height: 1.2;
        margin-bottom: 50px;

    }

    .case-studies-content p {
        font-size: 24px;
        line-height: 1.8;
        color: #fff;
    }



    /* 全屏图片展示 */
    .case-screen-img {
        /* 高度占满当前视口一屏 */
        /* 横向自适应，撑满父容器 */
        width: 60%;
        /* 清除默认边距，可选 */
        margin: 0 20%;
        padding: 0;
        /* 图片居中+裁剪适配，防止变形 */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    /* 图片：自适应容器，不变形 */
    .case-banner-img {
        width: 100%;
        height: 100%;
        /* 保持原图比例，铺满容器，超出部分裁剪 */
        object-fit: cover;
        /* 禁止图片下方默认间隙 */
        display: block;
    }

/* 全屏视频展示 */
    
    .case-section-video {
        width: 60%;
        margin-left: 20%;
        margin-right: 20%;
        overflow: hidden;
    }

    .case-video-container {
        width: 100%;
        height: auto;
        position: relative;
    }

    .case-background-video {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

}

@media screen and (max-width: 767px) {
    /* 第一部分：CASE STUDIES banner 手机适配 */
    .case-banner {
        width: 100%;
        height: auto;
        background: url('../img/case-bg-3.jpg') center/cover no-repeat;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #fff;
        padding: 120px 15px 60px;
        position: relative;
    }

    .case-banner h1 {
        font-size: 32px;
        color: #ffffff;
        letter-spacing: 1px;
        margin-bottom: 16px;
    }

    .case-banner p {
        max-width: 100%;
        font-size: 16px;
        line-height: 1.5;
        color: #fff;
    }

    /* 第二部分：三卡片 手机改成1列，取消负margin上移 */
    .case-list {
        width: 92%;
        margin: 30px auto 60px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        position: relative;
        z-index: 2;
    }

    .case-list-c {
        width: 92%;
        margin: 60px auto 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 24px;
        position: relative;
        z-index: 2;
    }

    /* 卡片样式 */
    .case-card {
        background: #fff;
        overflow: hidden;
    }

    .card-img {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        display: block;
    }

    .card-text {
        padding: 16px;
    }

    .card-text h3 {
        font-size: 20px;
        color: #0a46dc;
        margin-bottom: 8px;
    }

    .card-case-desc {
        min-height: auto;
        margin-top: 20px;
    }

    .card-case-desc p {
        font-size: 15px;
        color: #333;
        line-height: 1.5;
        margin-top: 20px;
    }

    .card-case-desc a {
        font-size: 28px;
        color: #333;
        line-height: 1.5;
    }

    .card-case-desc a:hover {
        color: #0a46dc;
    }

    .case-read-more {
        background: #000;
        color: #fff;
        border: none;
        padding: 10px 24px;
        border-radius: 8px;
        font-size: 1rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .case-read-more:hover {
        background: #0a46dc;
    }

    /*背景图+文字 */
    .case-screen-bg-text {
        width: 100%;
        height: 70vh;
        position: relative;
        overflow: hidden;
    }

    .case-screen-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .case-text {
        position: absolute;
        left: 4%;
        right: 4%;
        bottom: 8%;
        text-align: center;
        color: #fff;
    }

    .case-text .sub-title {
        font-size: 20px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .case-text .main-title {
        font-size: 28px;
        font-weight: bold;
        letter-spacing: 1px;
    }

    /* 标题加内容 */
    .case-screen-content {
        width: 92%;
        margin: 0 4%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .case-screen-content .title {
        font-size: 26px;
        margin-bottom: 30px;
        text-align: center;
        line-height: 1.2;
    }

    .case-screen-content .content {
        font-size: 15px;
        line-height: 1.6;
        color: #ccc;
        text-align: left;
    }

    /* 黑色背景+引用+列表 */
    .case-screen-sp-quote {
        width: 92%;
        margin: 0 4%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .case-quote {
        font-size: 22px;
        line-height: 1.3;
        font-style: italic;
        text-align: center;
    }
    .case-quote span{
        text-decoration: underline;
    }

    .case-feature-list {
        width: 100%;
        text-align: left;
        margin-top: 20px;
        text-align: left;
    }

    .case-feature-list p {
        font-size: 15px;
        line-height: 1.7;
        color: #ccc;
    }

    /* 纯黑背景+文字+蓝色按钮 */
    .black-bg-blue-btn {
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        margin-top: 20px;
    }

    .black-bg-blue-btn .product-title {
        font-size: 16px;
        color: #fff;
    }

    .case-explore-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        max-width: 220px;
        background-color: #0a46dc;
        border: none;
        color: white;
        padding: 10px 15px;
        font-size: 15px;
        cursor: pointer;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .case-explore-btn:hover {
        background-color: white;
        color: #0a46dc;
    }

    /* 渐变背景+邀请语+按钮 */
    .case-screen-blue-jb-bg {
        height: auto;
        background: linear-gradient(110deg, #00000000, #000000, #0a46dc);
        color: white;
        text-align: center;
        padding: 50px 15px;
    }

    .section-content {
        max-width: 100%;
        margin: 0 auto;
    }

    .section-content h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 30px;
    }

    .booking-button {
        background-color: #0a46dc;
        border: none;
        color: white;
        padding: 10px 20px;
        font-size: 15px;
        cursor: pointer;
        border-radius: 50px;
        transition: all 0.3s ease;
    }

    .booking-button:hover {
        background-color: white;
        color: #0a46dc;
    }

    /* case‑studies 头部内容 */
    .case-studies-content {
        width: 92%;
        margin-left: 4%;
        margin-right: 4%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .case-studies-content h2 {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .case-studies-content p {
        font-size: 16px;
        line-height: 1.7;
        color: #fff;
    }

    /* 全屏图片展示 手机宽度改为92% */
    .case-screen-img {
        width: 92%;
        margin: 0 4%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    .case-banner-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* 全屏视频展示 */
    .case-section-video {
        width: 92%;
        margin-left: 4%;
        margin-right: 4%;
        overflow: hidden;
    }

    .case-video-container {
        width: 100%;
        height: auto;
        position: relative;
    }

    .case-background-video {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}