.elementor-6297 .elementor-element.elementor-element-219b0e7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-widget-loop-grid .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-loop-grid .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-loop-grid .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-6297 .elementor-element.elementor-element-95f0f9e{--grid-columns:4;}.elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-pagination{text-align:center;}body:not(.rtl) .elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}@media(max-width:1024px){.elementor-6297 .elementor-element.elementor-element-95f0f9e{--grid-columns:2;}}@media(max-width:767px){.elementor-6297 .elementor-element.elementor-element-95f0f9e{--grid-columns:1;}}/* Start custom CSS for loop-grid, class: .elementor-element-95f0f9e *//* --- 保持卡片代码不动 --- */
.elementor-6297 .elementor-element.elementor-element-95f0f9e {
    --radius: 24px;
    background: #ffffff;
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid #f2f2f7;
    transition: all 0.5s cubic-bezier(0.15, 0, 0.15, 1);
    height: 100%;
}

.elementor-6297 .elementor-element.elementor-element-95f0f9e:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-widget-image img,
.elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-widget-theme-post-featured-image img {
    border-radius: 16px;
    aspect-ratio: 16 / 10 !important;
    object-fit: cover !important;
    width: 100% !important;
}

.elementor-6297 .elementor-element.elementor-element-95f0f9e h2, .elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-heading-title {
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #1d1d1f !important;
    margin: 20px 0 10px 0 !important;
    letter-spacing: -0.01em !important;
}

.elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-widget-text-editor, 
.elementor-6297 .elementor-element.elementor-element-95f0f9e .elementor-widget-theme-post-excerpt {
    font-size: 15px !important;
    color: #86868b !important;
    line-height: 1.5 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- 升级版翻页美化 --- */

/* 1. 翻页容器：增加上下间距，允许自动换行但保持整齐 */
.elementor-widget-loop-grid .elementor-pagination {
    margin: 60px auto 20px !important;
    text-align: center !important;
    border: none !important;
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap !important; /* 允许在小屏幕自动换行 */
    gap: 8px !important; /* 统一按钮之间的间距 */
}

/* 2. 按钮样式：增加内边距解决“贴得太近”的问题 */
.elementor-widget-loop-grid .elementor-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 0 20px !important; /* 增加左右内边距，给 Previous/Next 留出空间 */
    border-radius: 12px !important;
    background-color: #f5f5f7 !important;
    color: #1d1d1f !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    transition: all 0.3s ease;
}

/* 特别针对数字按钮：保持正方形，看起来更整齐 */
.elementor-widget-loop-grid .elementor-pagination .page-numbers:not(.prev):not(.next) {
    padding: 0 !important;
    width: 44px !important;
}

/* 3. 悬停与当前页码 */
.elementor-widget-loop-grid .elementor-pagination .page-numbers:hover {
    background-color: #e8e8ed !important;
    color: #0066cc !important;
}

.elementor-widget-loop-grid .elementor-pagination .page-numbers.current {
    background-color: #1d1d1f !important;
    color: #ffffff !important;
}

/* 4. 📱 移动端专项适配 (屏幕宽度小于 768px) */
@media (max-width: 767px) {
    .elementor-widget-loop-grid .elementor-pagination {
        margin-top: 40px !important;
        gap: 6px !important;
    }
    
    .elementor-widget-loop-grid .elementor-pagination .page-numbers {
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 12px !important; /* 缩小内边距以节省空间 */
        font-size: 13px !important;
        border-radius: 10px !important;
    }

    .elementor-widget-loop-grid .elementor-pagination .page-numbers:not(.prev):not(.next) {
        width: 38px !important;
    }
    
    /* 隐藏部分中间页码，防止手机端太长（可选，根据页数自动调整） */
    .elementor-widget-loop-grid .elementor-pagination .dots {
        display: none !important;
    }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-219b0e7 */<style>
/* 苹果杂志感核心样式 */
.apple-magazine-card {
    position: relative;
    background: #ffffff;
    border-radius: 32px; /* 更大的圆角 */
    padding: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03); /* 平时几乎看不见阴影 */
}

/* 悬停效果：整个卡片浮起，阴影变深 */
.apple-magazine-card:hover {
    transform: scale(1.015) translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.magazine-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.1; /* 类似 App Store 的长方形比例 */
    border-radius: 24px;
    overflow: hidden;
    background: #f5f5f7;
}

.magazine-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.apple-magazine-card:hover .magazine-thumb img {
    transform: scale(1.08); /* 悬停时图片缓慢放大 */
}

/* 分类标签：浮动在图片左上角 */
.category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    color: #1d1d1f;
    z-index: 2;
}

/* 文字区 */
.magazine-info {
    padding: 24px 12px 12px 12px;
    text-align: left;
}

.magazine-title {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.magazine-excerpt {
    font-size: 16px;
    color: #86868b;
    line-height: 1.4;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 只留两行，极其简洁 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 底部交互区 */
.magazine-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.read-action {
    font-size: 15px;
    font-weight: 600;
    color: #0066cc;
}

.arrow-circle {
    width: 24px;
    height: 24px;
    background: #f5f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: background 0.3s;
}

.apple-magazine-card:hover .arrow-circle {
    background: #0066cc;
    color: #fff;
}
</style>/* End custom CSS */