/*
Theme Name: Astra Child
Template: astra
Version: 1.0.0
*/

/* 或者只针对 Elementor 页面 */
.ast-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}


.single-post-width {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;

}
.single-post-head {
    position: relative;
    background-image: url("default-img.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    min-height: 60vh;
}
.single-post-head::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #1E293B80;
    z-index: 0;
    min-height: 60vh;
}
.single-post-head .single-post-head-block {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 60vh;
    color:#fff;
    box-sizing: border-box;
}
.single-post-head .single-post-head-block h1{
    color: #fff;
}

.single-post-block {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.single-post-body-content {
    padding: 40px 0;
}
@media (max-width: 1024px) {
    .single-post-block {
        width: 90%;
    }
}
@media (max-width: 768px) {
    .single-post-block {
        width: 95%;
    }
}

.single-post-head-meta{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    /*align-items: center;*/
    justify-content: center;
    margin-bottom: 16px;

}

.single-post-cate{
    padding:2px 20px;
    background-color:#046BD2;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 900;
}

.single-post-date{
    display: flex;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    font-size: 12px;
    font-weight: 900;
}

.single-post-author{
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 40px;
}

.single-post-author-avatar img{
    border-radius: 999px;
}
.single-post-divider {
    width: 100%;
    height: 1px;
    background: #e6e6e6;
    margin: 24px 0;
}
.single-post-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.single-post-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    background: #f1f3f5;
    color: #555;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}
.single-post-tag:hover {
    background: #1f7ae0;
    color: #fff;
}
.post-nav {
    display: flex;
    gap: 16px;
    margin: 24px 0 32px;
}
.post-nav-link {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.post-nav-link:hover:not(.post-nav-disabled) {
    background: #f5f7ff;
    border-color: #cbd9ff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}
.post-nav-disabled {
    background: #f5f5f5;
    border-color: #ededed;
    color: #9a9a9a;
    box-shadow: none;
    pointer-events: none;
}
.post-nav-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}
.post-nav-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}
.post-nav-next {
    text-align: right;
    align-items: flex-end;
}
.post-nav-next .post-nav-label {
    justify-content: flex-end;
}
.post-nav-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .post-nav {
        flex-direction: column;
    }
    .post-nav-next {
        text-align: left;
        align-items: flex-start;
    }
    .post-nav-next .post-nav-label {
        justify-content: flex-start;
    }
}

.single-post-recommend-wrap{
    background-color:#fff;
    padding: 32px 0 40px;
}
.post-recommend {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.post-recommend-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}
.post-recommend-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.post-recommend-item {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e6e6;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.post-recommend-item:hover {
    border-color: #cfd6e4;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.post-recommend-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f3f5;
    overflow: hidden;
    display: block;
}
.post-recommend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.post-recommend-item:hover .post-recommend-thumb img {
    transform: scale(1.06);
}
.post-recommend-body {
    padding: 12px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.post-recommend-meta {
    font-size: 12px;
    color: #8a8a8a;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.post-recommend-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .post-recommend-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .post-recommend-list {
        grid-template-columns: minmax(0, 1fr);
    }
}




/* ===========================================
   分类切换文章列表短代码样式
   对应短代码：[category_tabs]
   ⬇️
   =========================================== */
/* ================= ==================================== */
/* ================= ==================================== */
/* ================= ==================================== */
/* ================= ==================================== */
/* ================= ==================================== */
/* ================= ==================================== */
/* ================= ==================================== */
/* ================= ==================================== */
/* ================= ==================================== */

/* ===========================================
   分类文章TAB页面完整样式 - 全浏览器兼容
   对应短代码：[category_tabs]
   =========================================== */

/* 容器样式 */
.cate_tab_container {
    margin: 30px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* -------------------------------------------
   父级分类信息样式
   ------------------------------------------- */
.cate_tab_parent_info {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.cate_tab_parent_title {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.cate_tab_parent_desc {
    margin: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* -------------------------------------------
   分类选项卡样式
   ------------------------------------------- */
.cate_tab_wrapper {
    margin-bottom: 30px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin; /* Firefox */
    -ms-overflow-style: -ms-autohiding-scrollbar; /* IE/Edge */
}

.cate_tab_list {
    display: flex;
    display: -ms-flexbox;
    flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0 0 5px 0;
}

.cate_tab_item {
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    -ms-flex-negative: 0;
}

.cate_tab_link {
    display: inline-flex;
    display: -ms-inline-flexbox;
    align-items: center;
    -ms-flex-align: center;
    gap: 6px;
    padding: 10px 20px;
    background-color: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    border: none;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
}

/* Hover状态 */
.cate_tab_item:hover .cate_tab_link {
    background-color: #046BD2;
    color: #fff;
}

/* 选中状态 */
.cate_tab_item.active .cate_tab_link {
    background-color: #046BD2;
    color: #fff;
    box-shadow: 0 4px 10px rgba(4, 107, 210, 0.2);
}

/* 分类计数样式 */
.cate_tab_count {
    display: inline-flex;
    display: -ms-inline-flexbox;
    align-items: center;
    -ms-flex-align: center;
    justify-content: center;
    -ms-flex-pack: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    background-color: rgba(255, 255, 255, 0.2);
    color: inherit;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

/* -------------------------------------------
   加载动画 - 全浏览器兼容
   ------------------------------------------- */
.cate_tab_loading {
    text-align: center;
    padding: 50px;
}

.cate_tab_spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top-color: #046BD2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    -moz-animation: spin 1s linear infinite;
    -webkit-animation: spin 1s linear infinite;
    -o-animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@-moz-keyframes spin {
    to { -moz-transform: rotate(360deg); }
}

@-webkit-keyframes spin {
    to { -webkit-transform: rotate(360deg); }
}

@-o-keyframes spin {
    to { -o-transform: rotate(360deg); }
}

/* -------------------------------------------
   文章网格布局
   ------------------------------------------- */
.cate_tab_grid {
    display: grid;
    display: -ms-grid;
    grid-template-columns: repeat(3, 1fr);
    -ms-grid-columns: 1fr 25px 1fr 25px 1fr;
    gap: 25px;
}

/* 文章卡片样式 */
.cate_tab_post_card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    -ms-flex-direction: column;
    height: 100%;
    position: relative;
    word-wrap: break-word;
}

/* 移除所有下划线 */
.cate_tab_post_card,
.cate_tab_post_card *,
.cate_tab_post_card a,
.cate_tab_post_card a:hover {
    text-decoration: none !important;
}

/* Hover效果 */
.cate_tab_post_card:hover {
    transform: translateY(-6px);
    -ms-transform: translateY(-6px);
    -webkit-transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.cate_tab_post_card:hover .cate_tab_thumbnail img {
    transform: scale(1.1);
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
}

.cate_tab_post_card:hover .cate_tab_title {
    color: #046BD2;
}

/* 缩略图容器 */
.cate_tab_thumbnail {
    overflow: hidden;
    height: 200px;
    flex-shrink: 0;
    -ms-flex-negative: 0;
    background-color: #f5f5f5;
}

.cate_tab_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.5s ease;
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    -o-transition: -o-transform 0.5s ease;
}

/* 文章详情区域 */
.cate_tab_content {
    padding: 20px;
    flex: 1;
    -ms-flex: 1;
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    -ms-flex-direction: column;
}

/* ===========================================
   多行省略 - 全浏览器兼容方案
   =========================================== */

/* 标题样式 - 最多两行 */
.cate_tab_title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
    font-weight: 600;

    /* 标准多行省略 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;

    /* 后备方案 */
    max-height: calc(1.4em * 2);

    /* 标准属性 */
    line-clamp: 2;

    word-break: break-word;
}

/* 摘要样式 - 最多三行 */
.cate_tab_excerpt {
    color: #555;
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 0;

    /* 标准多行省略 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;

    /* 后备方案 */
    max-height: calc(1.6em * 3);

    /* 标准属性 */
    line-clamp: 3;

    /* 确保文字换行正常 */
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Firefox 特定修复 */
@-moz-document url-prefix() {
    .cate_tab_title {
        max-height: calc(1.4em * 2);
        overflow: hidden;
        position: relative;
    }

    .cate_tab_excerpt {
        max-height: calc(1.6em * 3);
        overflow: hidden;
        position: relative;
    }

    .cate_tab_excerpt::after {
        content: '...';
        position: absolute;
        bottom: 0;
        right: 0;
        background: inherit;
        padding-left: 2px;
    }
}

/* Safari 特定修复 */
@media not all and (min-resolution:.001dpcm) {
    @supports (-webkit-appearance:none) {
        .cate_tab_title,
        .cate_tab_excerpt {
            display: -webkit-box !important;
            -webkit-box-orient: vertical !important;
        }

        .cate_tab_title {
            -webkit-line-clamp: 2 !important;
            max-height: calc(1.4em * 2) !important;
        }

        .cate_tab_excerpt {
            -webkit-line-clamp: 3 !important;
            max-height: calc(1.6em * 3) !important;
        }
    }
}

/* IE 10-11 特定修复 */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .cate_tab_title {
        overflow: hidden;
        max-height: calc(1.4em * 2);
        word-break: break-word;
    }

    .cate_tab_excerpt {
        overflow: hidden;
        max-height: calc(1.6em * 3);
        word-break: break-word;
    }
}

/* -------------------------------------------
   元信息
   ------------------------------------------- */
.cate_tab_meta {
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.cate_tab_date {
    display: inline-flex;
    display: -ms-inline-flexbox;
    align-items: center;
    -ms-flex-align: center;
    gap: 5px;
}

.cate_tab_date svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
    filter: alpha(opacity=60); /* IE */
}

/* -------------------------------------------
   无文章提示
   ------------------------------------------- */
.cate_tab_no_posts {
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 12px;
    color: #999;
    font-size: 16px;
}

/* -------------------------------------------
   分页样式
   ------------------------------------------- */
.cate_tab_pagination {
    margin-top: 40px;
    text-align: center;
}

.cate_tab_pagination_links {
    display: inline-flex;
    display: -ms-inline-flexbox;
    gap: 8px;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    align-items: center;
    -ms-flex-align: center;
}

.cate_tab_page_num {
    display: inline-flex;
    display: -ms-inline-flexbox;
    align-items: center;
    -ms-flex-align: center;
    justify-content: center;
    -ms-flex-pack: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.cate_tab_page_num.current {
    background-color: #046BD2;
    color: #fff;
    cursor: default;
}

.cate_tab_page_num:hover:not(.current) {
    background-color: #046BD2;
    color: #fff;
    transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -webkit-transform: translateY(-2px);
}

.cate_tab_page_num.prev,
.cate_tab_page_num.next {
    background-color: #f0f0f0;
    font-weight: 500;
    padding: 0 16px;
}

.cate_tab_page_num.prev::before {
    content: "←";
    margin-right: 6px;
    font-size: 16px;
    display: inline-block;
}

.cate_tab_page_num.next::after {
    content: "→";
    margin-left: 6px;
    font-size: 16px;
    display: inline-block;
}

.cate_tab_page_num.prev span,
.cate_tab_page_num.next span {
    display: none;
}

/* 省略号样式 */
.cate_tab_page_num.dots {
    background-color: transparent;
    color: #999;
    cursor: default;
    min-width: auto;
    padding: 0 8px;
    box-shadow: none;
    font-weight: normal;
}

.cate_tab_page_num.dots:hover {
    background-color: transparent;
    color: #999;
    transform: none;
    -ms-transform: none;
    -webkit-transform: none;
}

/* 默认图片样式 */
.cate_tab_default_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
}

/* -------------------------------------------
   触摸反馈
   ------------------------------------------- */
.cate_tab_post_card:active {
    opacity: 0.95;
    transform: translateY(-3px);
    -ms-transform: translateY(-3px);
    -webkit-transform: translateY(-3px);
}

/* -------------------------------------------
   响应式设计
   ------------------------------------------- */
@media (max-width: 992px) {
    .cate_tab_grid {
        grid-template-columns: repeat(2, 1fr);
        -ms-grid-columns: 1fr 20px 1fr;
        gap: 20px;
    }

    .cate_tab_parent_title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .cate_tab_list {
        gap: 6px;
    }

    .cate_tab_link {
        padding: 8px 16px;
        font-size: 13px;
    }

    .cate_tab_grid {
        grid-template-columns: 1fr;
        -ms-grid-columns: 1fr;
        gap: 20px;
    }

    .cate_tab_thumbnail {
        height: 180px;
    }

    .cate_tab_page_num {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
    }

    .cate_tab_page_num.dots {
        padding: 0 5px;
        min-width: auto;
    }

    .cate_tab_parent_title {
        font-size: 22px;
    }

    /* 移动端调整摘要行数 */
    .cate_tab_excerpt {
        -webkit-line-clamp: 2;
        max-height: calc(1.6em * 2);
        line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .cate_tab_content {
        padding: 15px;
    }

    .cate_tab_title {
        font-size: 16px;
        -webkit-line-clamp: 2;
        max-height: calc(1.4em * 2);
    }
}

/* -------------------------------------------
   打印样式
   ------------------------------------------- */
@media print {
    .cate_tab_wrapper,
    .cate_tab_pagination,
    .cate_tab_loading {
        display: none;
    }

    .cate_tab_post_card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}



/* ========    ===================   =========================*/
/* ========    ===================   =========================*/
/* ========    ===================   =========================*/
/* ========    ===================   =========================*/
/* ========    ===================   =========================*/
/* ========    ===================   =========================*/
/* ========    ===================   =========================*/
/* ========    ===================   =========================*/



/* ===========================================
   分类切换文章列表短代码样式
   对应短代码：[category_tabs]
   ⬆️
   =========================================== */
   
   
/* ===========================================
   Embedded Cards 短代码样式
   对应短代码：[embedded_cards]
   ⬇️
   =========================================== */

/* 容器样式 */
.embedded-cards-container {
    margin: 30px 0;
    font-family: inherit;
}

/* 网格布局 */
.embedded-cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--embedded-grid-cols, 3), 1fr);
    gap: 25px;
}

/* 卡片基础样式 - 确保指针样式 */
.embedded-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer !important;  /* 强制使用指针光标 */
    text-decoration: none;
    color: inherit;
    display: flex;
    height: 100%;
    position: relative;  /* 确保点击区域正确 */
}

/* 移除所有下划线 */
.embedded-card,
.embedded-card *,
.embedded-card a,
.embedded-card a:hover {
    text-decoration: none !important;
}

/* Hover效果 */
.embedded-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.embedded-card:hover .embedded-card-thumbnail img {
    transform: scale(1.08);
}

.embedded-card:hover .embedded-card-title {
    color: #046BD2;
}

/* 缩略图容器 */
.embedded-card-thumbnail {
    overflow: hidden;
    flex-shrink: 0;
}

.embedded-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* 卡片内容区域 */
.embedded-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 标题样式 - 最多两行，无最小高度 */
.embedded-card-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    line-height: 1.4;
    color: #333;
    transition: color 0.3s ease;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 元信息 */
.embedded-card-meta {
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
}

.embedded-card-date {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.embedded-card-date svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

/* 摘要 - 最多三行 */
.embedded-card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* -------------------------------------------
   垂直布局（上下图文）
   ------------------------------------------- */
.embedded-layout-vertical .embedded-card {
    flex-direction: column;
}

.embedded-layout-vertical .embedded-card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f3f5;
    overflow: hidden;
    display: block;
}

/* 垂直布局下grid为3列 */
.embedded-layout-vertical .embedded-cards-grid {
    --embedded-grid-cols: 3;
}

/* -------------------------------------------
   水平布局（左右图文）
   ------------------------------------------- */
.embedded-layout-horizontal .embedded-card {
    flex-direction: row;
    gap: 20px;
    padding: 15px;
}

.embedded-layout-horizontal .embedded-card-thumbnail {
    flex: 0 0 200px;
    height: 150px;
}

.embedded-layout-horizontal .embedded-card-content {
    padding: 0;
}

/* 水平布局下grid为2列 */
.embedded-layout-horizontal .embedded-cards-grid {
    --embedded-grid-cols: 2;
}

/* -------------------------------------------
   无文章提示
   ------------------------------------------- */
.embedded-no-products {
    text-align: center;
    padding: 50px;
    border-radius: 8px;
}

/* -------------------------------------------
   移动端适配
   ------------------------------------------- */
@media (max-width: 768px) {
    .embedded-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    /* 水平布局在移动端改为垂直 */
    .embedded-layout-horizontal .embedded-card {
        flex-direction: column;
    }
    
    .embedded-layout-horizontal .embedded-card-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    
    .embedded-layout-horizontal .embedded-card-content {
        padding: 0 15px 15px 15px;
    }
}

/* 触摸反馈 */
.embedded-card:active {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 焦点状态 */
.embedded-card:focus-visible {
    outline: 2px solid #046BD2;
    outline-offset: 2px;
}
/* ===========================================
   Embedded Cards 短代码样式
   对应短代码：[embedded_cards]
   ⬇️
   =========================================== */