/* 侧栏「资源下载信息」小工具缩略图：竖版 2:3，与「最新更新」缩略图同款比例。
   覆盖 main.min.css 的 max-height:220px 横版裁剪。
   文件名带 zb- 前缀：旧 down-thumb.css 已被 CDN 长期缓存，改内容无法生效，
   换新文件名后更新无需清缓存。 */

.sidebar .post-down-widget .down-thumb,
.menu-sidebar .post-down-widget .down-thumb {
	max-height: none;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	/* 人像照片主体偏上，裁剪窗口锚定偏上，避免切脸 */
	object-position: 50% 22%;
	border-radius: 8px;
}

/* 18+ 模糊的外层 span：同步圆角，把模糊溢出和图标一起裁进圆角里 */
.sidebar .post-down-widget .zb-age18-wrap,
.menu-sidebar .post-down-widget .zb-age18-wrap {
	border-radius: 8px;
}

/* 文章标题不在下载区重复展示（正文和下载落地页都有，这里只占地方） */
.sidebar .post-down-widget .down-title,
.menu-sidebar .post-down-widget .down-title {
	display: none;
}

/* 缩略图适当缩小：80% 宽居中，比例不变 */
.sidebar .post-down-widget .down-thumb,
.menu-sidebar .post-down-widget .down-thumb {
	width: 80%;
	display: block;
	margin: 0 auto 14px;
}
.sidebar .post-down-widget .zb-age18-wrap,
.menu-sidebar .post-down-widget .zb-age18-wrap {
	display: block;
	width: 80%;
	margin: 0 auto 14px;
}
.sidebar .post-down-widget .zb-age18-wrap .down-thumb,
.menu-sidebar .post-down-widget .zb-age18-wrap .down-thumb {
	width: 100%;
	margin: 0;
}

/* 手机端侧栏会拉通栏，2:3 会顶得太高，限一下高度（超出部分仍居中裁掉） */
@media (max-width: 768px) {
	.sidebar .post-down-widget .down-thumb,
	.menu-sidebar .post-down-widget .down-thumb {
		max-height: 420px;
	}
}
