/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.2
*/

/* Keep blog card images visually consistent without stretching them. */
.posts_group.grid .post-item .post-photo-wrapper .image_wrapper,
.posts_group.masonry:not(.tiles) .post-item .post-photo-wrapper .image_wrapper {
	aspect-ratio: 2.2 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #f5f5f5;
}

.posts_group.grid .post-item .post-photo-wrapper .image_wrapper > a,
.posts_group.masonry:not(.tiles) .post-item .post-photo-wrapper .image_wrapper > a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.posts_group.grid .post-item .post-photo-wrapper .image_wrapper img:not(.ls-l),
.posts_group.masonry:not(.tiles) .post-item .post-photo-wrapper .image_wrapper img:not(.ls-l) {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	top: 0 !important;
	transform: none !important;
	margin-bottom: 0 !important;
}
