:root {
    --yubang-gold: #e6c26e;
    --yubang-dark: #222222;
    --yubang-light: #f5f5f5;
}
.video-section{
    background: #f5f5f7;
}
.container-custom {
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom:100px;
}

.container-custom .content{
    border: 1px solid #69696b;
    margin: 0 auto;
    border-top-style: dashed;
    border-bottom-style: dashed;
    border-right:none;
}

/* Main Content */
.section-title {
    font-family: 'Georgia', serif;
    text-align: left;
    padding-top:150px;
    position: relative;
}

.product-row {
    border-bottom: 1px dashed #ccc;
    padding: 2rem;
}
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.product-card img {
    width: 300px;
    height: auto;
    object-fit: cover;
    border:1px solid #b1b1b3;
}
.product-name {
    color: #000;
    text-align: center;
    padding: 0.5rem;
}
.product-desc {
    color: #000;
    text-align: center;
    padding: 0 0.5rem 0.5rem;
    height: calc(1.5em * 2);
    line-height: 1.5em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    word-break: break-all;
    white-space: normal;
}
.video-placeholder {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;

}

/* 固定高度+宽度自适应+完整显示不变形 */
.img-fixed-height {
    /* 固定高度（按需修改，比如200px） */
    height: 200px !important;
    /* 宽度自适应父容器 */
    width: 100% !important;
    /* 关键：完整显示图片，不裁剪，自动留空白（不会变形） */
    object-fit: contain;
    /* 图片在容器内居中显示（优化空白分布） */
    object-position: center;
    /* 移除默认最大高度限制 */
    max-height: none !important;
    /* 可选：设置图片背景色，避免空白处太突兀（按需调整） */
    background-color: #f5f5f5;
}

/* 给图片容器也固定高度，和图片高度一致，避免布局错乱 */
.pdf-img {
    height: 200px; /* 和图片固定高度保持一致 */
    width: 100%;
    /* 让图片在容器内垂直居中（可选，优化视觉） */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 50px;
    margin-top: 30px;
}

.pdf-img div{
    text-align: center;
}
.play-btn {
    width: 40px;
    height: 40px;
    background-color: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}


/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.4rem;
        margin-left:0;
        padding-top:50px;
    }
    .product-row {
        padding: 1rem 0;
    }
    .video-placeholder {
        margin-bottom: 0.5rem;
    }

    .container-custom .content{
        margin:0;
    }
    .video-list{
        padding:20px
    }

}