﻿.category-wall {
    border-bottom: 1px solid var(--home-section-divider-color);
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.wall-item {
    display: block;
    text-decoration: none;
    height: 130px;
    margin-bottom: 20px;
}

.category-inner {
    display: block;
    min-height: 130px;
    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    padding: 15px;
    text-decoration: none;
    margin-bottom: 20px;
    line-height: 0;
    transition: all 0.2s ease-in-out;
}

.category-wall .wall-item:hover .category-inner {
    text-decoration: none;
    color: #FFFFFF;
    background-color: var(--main-red-color);
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.30), 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease-in-out;
    position: relative;
    z-index: 1;
}

.category-wall .wall-item:hover img {
    filter: brightness(0) saturate(100%) invert(96%) sepia(100%) saturate(12%) hue-rotate(237deg) brightness(103%) contrast(103%);
    transition: all 0.2s ease-in-out;
}

.wall-image {
    display: block;
    margin-bottom: 15px;
}

.wall-image img {
    width: 50px;
    height: 50px;
}

.wall-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.5px;
    overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}

.wall-banner {
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid transparent;

    background: #FFFFFF;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.15), 0px 0px 0px 1px rgba(0, 0, 0, 0.04);
    border-radius: 10px;
    transition: all .2s ease-in-out;
	
	height: auto;
	max-width:420px;
}

.wall-banner:hover {
    border: 2px solid #f8c630;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.30), 0px 0px 0px 1px rgba(0, 0, 0, 0.08);
    transition: all .2s ease-in-out;
}

.wall-banner.wall-item:hover {
    background-color: transparent;
}

.wall-banner .wall-image {
    height: 100%;
    width: 100%;
    margin-bottom: 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
}

.wall-banner .wall-image > span {
    position: absolute;
    right: 15px;
    bottom: 15px;
    transition: all .2s ease-in-out;
	font-size: 14px;
}

.wall-banner:hover .wall-image > span {
    color: var(--main-red-color);
    transition: all .2s ease-in-out;
}

.wall-banner img{
    filter: none !important;
    width: 416px;
    max-width: 100%;
    height: auto;
    /* object-fit: none; */
}

@media screen and (max-width: 991px) {
    .category-wall .row {
        margin-right: -10px;
        margin-left: -10px;
    }
    
    .category-wall [class^=col-] {
        padding-left: 10px;
        padding-right: 10px;        
    }
}

@media screen and (min-width: 768px) {
    .wall-banner .wall-image > span {
		font-size: 16px;
	}
}

@media screen and (min-width: 992px) {

    .category-wall {
        padding-top: 20px;
        padding-bottom: 20px;
        margin-bottom: 40px;
    }

    .wall-item {
        height: 135px;
        margin-bottom: 30px;
    }

    .category-inner {
        min-height: 130px;
		padding: 12px;
    }

    .wall-banner {
        height: 130px;
    }

    .wall-title {
        font-size: 16px;
    }
}
