/*
 * Home [from_the_blog] carousel — vertical card layout (image full width, title/excerpt below).
 * Overrides Retailer Extender from-the-blog.css (float 45% image + content beside).
 *
 * Markup: .from-the-blog-wrapper > .swiper-wrapper > .swiper-slide.from_the_blog_item
 *   > a.from_the_blog_img (+ img | .from_the_blog_noimg, .from_the_blog_date)
 *   > .from_the_blog_content (.from_the_blog_title, .from_the_blog_excerpt, .from_the_blog_comments)
 */
body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	box-sizing: border-box;
}

body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item::after {
	content: "";
	display: table;
	clear: both;
}

body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_img {
	float: none;
	display: block;
	width: 100% !important;
	max-width: 100%;
	margin-right: 0 !important;
	margin-bottom: 12px;
	height: 160px;
	overflow: hidden;
	position: relative;
}

body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_img img {
	width: 100% !important;
	height: 100% !important;
	display: block;
	object-fit: cover;
	object-position: center;
}

@media (min-width: 640px) {
	body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_img,
	body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_noimg {
		height: 180px;
	}
}

@media (min-width: 992px) {
	body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_img,
	body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_noimg {
		height: 200px;
	}
}

body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_noimg {
	float: none;
	width: 100%;
	margin-right: 0 !important;
	height: 160px;
}

body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_content {
	float: none;
	width: 100%;
	clear: both;
	flex: 1 1 auto;
}

body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item .from_the_blog_title {
	display: block;
	width: 100%;
}

/* v1.1.6 — Title link hover: CNC red (#b31736); Retailer Kirki accent (#b39964) on h3:hover. */
body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item a.from_the_blog_title:hover,
body.home.wp-child-theme-wecolab-cnc-retailer-child .from-the-blog-wrapper.swiper-container .from_the_blog_item a.from_the_blog_title:hover h3 {
	color: #b31736 !important;
}
