/* 
 * LOOP ITEM - SKIN 1
 */
.custom-loop-templates {
	height: 100%;
}

.custom-loop-templates .loop-item {
	display: flex;
	flex-direction: column;
    overflow: hidden;
	border-radius: 16px;
	border: 1px solid var(--bricks-bg-dark);
	height: 100%;
}

.custom-loop-templates .image-wrapper {
	width: 100%;
    aspect-ratio: 4 / 3;
    background-image: linear-gradient(#21d4de, #0da2e7);
    position: relative;
	overflow: hidden;
}

.custom-loop-templates .image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease-in-out;
}

.custom-loop-templates .image-wrapper:hover img {
	transform: scale(1.1);
}

.custom-loop-templates .info-wrapper {
	display: flex;
	flex-direction: column;
	row-gap: 8px;
	padding: 20px;
	height: 100%;
}

.custom-loop-templates .info__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.custom-loop-templates .info__tag {
	font-size: 12px;
	font-weight: 500;
	color: var(--bricks-color-primary);
}

.custom-loop-templates .info__tags .info__tag:not(:last-child) {
	display: flex;
	flex-wrap: nowrap;
}

.custom-loop-templates .info__tags .info__tag:not(:last-child)::after {
	content: ', ';
	display: block;
	position: static;
	color: inherit;
	font-size: inherit;
}

.custom-loop-templates .info__title {
	font-size: 16px;
}

.custom-loop-templates .info__excerpt {
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-loop-templates .info__meta {
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
	margin-top: auto;
}

.custom-loop-templates .info__meta > * {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	column-gap: 4px;
	font-size: 12px;
}

.custom-loop-templates .info__meta img {
	width: auto;
	height: 12px;
	object-fit: contain;
	display: block;
}