/* 去掉主题默认给小工具套的灰色 theme-box 包装，让卡片铺满整个小工具区域 */
.widget_zibllchild_weekly_roam_widget {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.widget_zibllchild_weekly_roam_widget .widget-title,
.widget_zibllchild_weekly_roam_widget .title-theme {
    display: none;
}

.rw-swiper.rw-swiper,
.rw-swiper.swiper-container.rw-swiper {
    width: 100% !important;
    height: 140px !important;
    max-height: 140px !important;
    min-height: 140px !important;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}

/* 提高选择器优先级（重复class），确保赢过主题自带 swiper 样式表里的同名 !important 规则 */
.rw-swiper .swiper-wrapper.swiper-wrapper {
    height: 140px !important;
    max-height: 140px !important;
    min-height: 140px !important;
}

.rw-swiper .swiper-slide.swiper-slide {
    height: 140px !important;
    max-height: 140px !important;
    min-height: 140px !important;
}

.rw-slide.rw-slide {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 140px !important;
    max-height: 140px !important;
    min-height: 140px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-decoration: none;
    background: #1a1a1a;
}

/* 底层：整图铺满，10%透明度作为氛围底纹 */
.rw-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

/* 右侧挖空窗口：完全不透明，展示同一张图的清晰区域 */
.rw-window {
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    width: 32%;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    opacity: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* 日期：独立容器，固定钉在卡片左上角 */
.rw-date {
    position: absolute;
    top: 15px;
    left: 14px;
    z-index: 2;
    max-width: 62%;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

/* 标题+摘要：独立容器，固定钉在卡片左下角，与日期容器互不干扰 */
.rw-content {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 2;
    max-width: 62%;
    color: #fff;
}

.rw-title {
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rw-excerpt {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    line-height: 1.3;
    min-height: 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rw-pagination {
    position: absolute;
    bottom: 6px;
    left: 14px;
    z-index: 3;
    width: auto !important;
}

.rw-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.4);
    opacity: 1;
}
.rw-pagination .swiper-pagination-bullet-active {
    background: #fff;
}


/* 首页横向卡片标题底部间距和卡片底部间距 */
.zib-widget:has(.universal-widget) {
    margin-bottom: 5px !important;
    padding: 0 !important;
}

.widget-main-post.mb20.style-card {
    margin-bottom: 5px !important;
}

/* PC首页文章多列表上下间距 */
.widget-tab-post.style-mini.posts-mini-lists.zib-widget {
    margin-top: 15px !important;
    margin-bottom: 10px !important;
}

/* PC首页侧边个人信息卡片下间距 */
 .user-card .card-content {
    padding: 19px !important;
} 