/*
Theme Name: LensNews
Theme URI: https://yfdxs.com
Author: 萨龙龙
Author URI: https://salongweb.com
Description: 萨龙网络原创主题：LensNews，集成新闻、画廊、视频、商城、积分和用户中心的多功能WordPress主题！
Version: 3.3
Tags: 萨龙网络,新闻,画廊,视频,商城,积分,用户中心,简约主题,干净,HTML5,CSS3,响应式
Time: 2021.04.02
*/

article.postgrid > figure {
	aspect-ratio: 16 / 9;
	background: #f8f8f8;
	overflow: hidden;
}

article.postgrid > figure > a {
	height: 100%;
	width: 100%;
}

article.postgrid > figure img,
article.postgrid > figure img.thumb {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

article.post_main.has_thumb > figure {
	aspect-ratio: 16 / 9;
	background: #f8f8f8;
	overflow: hidden;
	width: 250px;
}

article.post_main.has_thumb > figure > a {
	height: 100%;
	width: 100%;
}

article.post_main.has_thumb > figure img,
article.post_main.has_thumb > figure img.thumb {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

article.postlist:not(.no_thumb) > figure {
	aspect-ratio: 16 / 9;
	background: #f8f8f8;
	overflow: hidden;
	width: 128px;
}

article.postlist:not(.no_thumb) > figure > a {
	height: 100%;
	width: 100%;
}

article.postlist:not(.no_thumb) > figure img,
article.postlist:not(.no_thumb) > figure img.thumb {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

article.gallery_grid {
	aspect-ratio: 16 / 9;
	background: #f8f8f8;
	overflow: hidden;
}

article.gallery_grid > img,
article.gallery_grid > img.thumb {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.widget_salong_gallery figure {
	aspect-ratio: 16 / 9;
	background: #f8f8f8;
	overflow: hidden;
}

.widget_salong_gallery figure > a {
	height: 100%;
	width: 100%;
}

.widget_salong_gallery figure img,
.widget_salong_gallery figure img.thumb {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
}

.widget_salong_slide .swiper-slidepost .swiper-wrapper {
	align-items: flex-start;
	min-height: 0;
	transition-property: transform, height;
}

.widget_salong_slide .swiper-slidepost .swiper-slide {
	height: auto !important;
}

.widget_salong_slide .slidepost_main .excerpt {
	max-height: 72px;
	overflow: hidden;
}

.salong_theme_img.jackchen-empty-ad {
	display: none;
}

.home .slides-sticky .slide-home .swiper-container .swiper-button {
	align-items: center;
	display: flex;
	height: 42px;
	justify-content: center;
	line-height: 42px;
	margin-top: 0;
	padding: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
}

.home .slides-sticky .slide-home .swiper-container .swiper-button:before {
	line-height: 1;
}
