/*
 * Stand-ins for the two Extensive VC Addons elements the site used, built
 * from stock WPBakery elements with these classes (el_class):
 *   .ss-iwt-image   Single Image (linked): hover zoom + dark overlay
 *   .ss-iwt-content Text Block under it: h4 title + p blurb
 *   .ss-counter     Text Block: p.ss-counter-digit + p.ss-counter-text
 * Sizes and colors match the old evc_image_with_text / evc_counter output;
 * the font is the site's own (EVC loaded Raleway just for these).
 */

/* Image with text */
.ss-iwt-image.wpb_content_element {
	margin-bottom: 0;
}
.ss-iwt-image .vc_figure,
.ss-iwt-image .vc_single_image-wrapper {
	display: block;
	width: 100%;
}
.ss-iwt-image .vc_single_image-wrapper {
	position: relative;
	overflow: hidden;
}
.ss-iwt-image img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease-in-out;
}
.ss-iwt-image .vc_single_image-wrapper::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(48, 48, 48, 0.3);
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}
.ss-iwt-image a:hover img {
	transform: scale(1.04);
}
.ss-iwt-image a:hover::after {
	opacity: 1;
}

.ss-iwt-content.wpb_content_element {
	margin-bottom: 0;
}
.ss-iwt-content h4 {
	margin: 25px 0 0;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 700;
	color: #303030;
}
.ss-iwt-content p {
	margin: 14px 0 0;
	font-size: 14px;
	line-height: 26px;
	color: #808080;
}

/* Counter */
.ss-counter.wpb_content_element {
	margin-bottom: 0;
	text-align: center;
}
.ss-counter .ss-counter-digit {
	margin: 0;
	font-size: 45px;
	line-height: 1;
	font-weight: 700;
	color: #dd9933;
}
.ss-counter .ss-counter-text {
	margin: 8px 0 0;
	font-size: 14px;
	line-height: 26px;
	text-transform: uppercase;
}
