/* 安装指南文章容器基础样式 */

    /* 全局样式重置 */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: "Microsoft Yahei", sans-serif;
    }

    /* 卡片容器 - 控制一行3个卡片 */
    .guide-container {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        width: 100%;
        margin: 20px auto;
        gap: 20px; /* 卡片之间的间距 */
    }

    /* 单个卡片样式 */
    .tutorial-guide {
        flex: 1; /* 让3个卡片平分宽度 */
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 0 5px rgba(0,0,0,0.05);
        padding: 40px 20px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    /* 卡片内图标样式 */
    .guide-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
        transition: transform 0.3s ease; /* 放大特效过渡 */
    }

    /* 卡片标题样式 */
    .guide-title {
        font-size: 16px;
        color: #333;
        margin-bottom: 20px;
    }

    /* 查看链接样式 */
    .guide-link {
        font-size: 14px;
        color: #ff7a45;
        text-decoration: none;
        display: inline-block;
    }

    .guide-link:hover {
        text-decoration: underline;
    }

    /* 悬停时图标放大特效 */
    .tutorial-guide:hover .guide-icon {
        transform: scale(1.1); /* 放大1.1倍 */
    }

    /* 响应式适配 - 小屏幕时堆叠显示 */
    @media (max-width: 768px) {
        .guide-container {
            flex-direction: column;
        }
        .tutorial-guide {
            margin-bottom: 15px;
        }
    }

/* 特色图片样式 */
.guide-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 20px;
    transition: transform 0.3s ease; /* 放大特效过渡 */
    
}

/* 悬停时图标放大特效 */
.tutorial-guide:hover .guide-thumbnail {
    transform: scale(1.1); /* 放大1.1倍 */
}

/* 无图片占位图 */
.guide-thumbnail-placeholder {
    width: 60px;
    height: 60px;
    background-color: #f5f5f5;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}


/* ========== 弹窗核心样式 ========== */
.wp-video{
    width: 100% !important;
}

.modal-body{
    padding:0px !important;
    align-content: center;
    padding-bottom:10px;
}

.modal-content{
    top: 100px;
}

/* ========== 原有卡片样式（保留） ========== */

.acf-video-cards__wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1rem 0;
    padding: 0;
    justify-content: space-between; /* 核心：左右对齐，自动分配间距 */
}
.acf-video-cards__card {
    /* 一行4个：宽度=25% - 间距补偿（gap总宽度/4） */
    flex: 1 1 calc(25% - 1.125rem); /* 一行4个，减去间距 */
    max-width: calc(25% - 1.125rem);
    box-sizing: border-box;
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    background: #fff;
}
.acf-video-cards__card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.acf-video-cards__link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.acf-video-cards__image-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
}
.acf-video-cards__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 关键：保持比例并覆盖容器，高清不拉伸 */
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast; /* 优化webkit内核图片渲染 */
    image-rendering: crisp-edges; /* 提升清晰度 */
}
.acf-video-cards__card:hover .acf-video-cards__image {
    transform: scale(1.05);
}
.acf-video-cards__title {
    padding: 1rem;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 500;
}
.acf-video-cards__empty {
    color: #666;
    padding: 2rem;
    text-align: center;
}
/* 响应式适配 */
@media (max-width: 1024px) {
    .acf-video-cards__card {
        flex: 1 1 calc(33.33% - 1.5rem);
        max-width: calc(33.33% - 1.5rem);
    }
}
@media (max-width: 768px) {
    .acf-video-cards__card {
        flex: 1 1 calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }
}
@media (max-width: 480px) {
    .acf-video-cards__card {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .acf-video-cards__image-wrap {
        height: 220px; /* 移动端适当加高图片容器，提升高清展示效果 */
    }
}