/*点击在线咨询客服号二维码*/
/* 桌面端图片尺寸（默认） */
.img-size {
    display: block;
    margin: 30px auto 0; /* 居中显示 */
    width: 300px;
    height: 400px;
    object-fit: contain; /* 保持图片比例 */
}

/* 移动端图片尺寸（屏幕宽度 ≤ 768px） */
@media (max-width: 768px) {
    .img-size {
        width: 240px; /* 移动端宽度减小 */
        height: 320px; /* 高度按比例调整 */
        margin-top: 20px; /* 减小顶部间距 */
    }
}

/* 在线咨询按钮 - 基础样式 */
.custom-btn {
    display: inline-block;
    padding: 10px 60px;
    font-size: 40px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    background-color: #B22222;
    color: white;
    border-radius: 40px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: absolute;
    left: 100px;
    top: 85%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

    /* 悬停效果 */
    .custom-btn:hover {
        background-color: #9a2525;
        transform: translateY(-50%) scale(1.02);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    /* 点击效果 */
    .custom-btn:active {
        transform: translateY(-50%) scale(0.98);
    }

/* 移动端适配 */
@media (max-width: 768px) {
    .custom-btn {
        /* 位置调整 */
        left: 15px !important; /* 向左移动15px（原30px） */
        top: 60% !important; /* 上边距（原80%） */
        transform: translateY(-50%); /* 保持垂直居中 */
        /* 整体尺寸缩小 */
        /* 统一尺寸参数（与.detail-btn保持一致） */
        padding: 0.75rem 3.5rem;    /* 对应12px（假设1rem=16px） */
        font-size: 1.5rem;          /* 24px */
        border-radius: 1.875rem;    /* 30px */
        /* 阴影减弱 */
        box-shadow: 0 3px 6px rgba(0,0,0,0.15);
        /* 尺寸过渡效果 */
        transition: all 0.2s ease;
    }

        /* 悬停效果调整 */
        .custom-btn:hover {
            transform: translateY(-50%) scale(1.01); /* 轻微缩放 */
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        /* 点击效果调整 */
        .custom-btn:active {
            transform: translateY(-50%) scale(0.97); /* 更小的点击缩放 */
        }
}



/*PC端查看详情 + 视频展示*/
/* 自定义容器系统 */
.custom-container {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8rem;
    align-items: flex-start;
    align-items: flex-start; /* 确保顶部对齐 */
}

.custom-col {
    flex-grow: 1;
    max-width: 600px;
}


/* 标题样式 */
.main-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
    padding-left: 5rem; /* 新增：向右偏移 */
}



/* 内容文本 */
.content-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 2rem;
    text-indent: 1em; /* 首行缩进一个字 */
    max-width: 90%; /* 缩短文本显示宽度（可选，根据需要调整百分比） */
    margin-left: auto;
    margin-right: auto;
    text-align: justify; /* 两端对齐 */
}

/* 自定义按钮 */

.detail-btn {
    display: inline-block;
    padding: 1rem 5rem;
    background: #dc3545;
    color: white;
    border-radius: 2.5rem;
    text-decoration: none;
    font-size: 1.875rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    margin-top: auto; /* 将按钮固定在容器底部 */
    margin-left: 2em; /* 右侧对齐 */
}

    .detail-btn:hover {
        background: #bb2d3b;
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    }

/* 视频容器 */
.video-container {
    position: relative;
    width: 100%;
    padding-top: 50%;
    /*width: 90%;
    padding-top: 56.25%;*/ /* 16:9 宽高比 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }
/* 移动端适配 */
@media (max-width: 768px) {
    .detail-btn {
        padding: 0.75rem 3.5rem; /* 缩小按钮尺寸 */
        font-size: 1.5rem;
        border-radius: 1.875rem;
    }
    .main-title {
        font-size: 1.5rem;
        font-weight: 600;
        
    }
}




