/*
Theme Name: Autoparts - Child
Template: autoparts
Theme URI: http://autoparts.themerex.net/
Description: Autoparts - Car Parts - Child - excellent WordPress theme with many different blog and header layouts
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/* Motortuning Fotogalerie overview card */
.vrt-gallery-overview-row .wpb_text_column,
.vrt-gallery-album-card {
	margin-bottom: 0;
}

.vrt-gallery-album-card {
	max-width: 360px;
}

.vrt-gallery-album-card br,
.vrt-gallery-album-card p {
	display: none;
}

.vrt-gallery-album-card__link {
	background: #111;
	display: block;
	overflow: hidden;
	position: relative;
	text-decoration: none;
}

.vrt-gallery-album-card__image {
	aspect-ratio: 36 / 25;
	background: #fff;
	display: block;
	overflow: hidden;
}

.vrt-gallery-album-card__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease, opacity 0.35s ease;
	width: 100%;
}

.vrt-gallery-album-card__overlay {
	align-items: center;
	background: rgba(0, 0, 0, 0.55);
	bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 1.2em;
	justify-content: center;
	left: 0;
	opacity: 0;
	position: absolute;
	right: 0;
	text-align: center;
	top: 0;
	transition: opacity 0.35s ease;
}

.vrt-gallery-album-card__title {
	color: #fff;
	display: block;
	font-size: 1.45em;
	font-weight: 500;
	line-height: 1.2;
	padding: 0 1em;
	text-transform: uppercase;
}

.vrt-gallery-album-card__button {
	background: #d92d27;
	color: #fff;
	display: inline-block;
	font-size: 0.9em;
	line-height: 1;
	padding: 0.8em 1.1em;
}

.vrt-gallery-album-card__link:hover .vrt-gallery-album-card__overlay,
.vrt-gallery-album-card__link:focus .vrt-gallery-album-card__overlay {
	opacity: 1;
}

.vrt-gallery-album-card__link:hover .vrt-gallery-album-card__image img,
.vrt-gallery-album-card__link:focus .vrt-gallery-album-card__image img {
	transform: scale(1.06);
}
