/* Featured Categories */

.featuredCategories a {
    display:block;
    position:relative;
    margin-bottom: 20px;
    border-radius: var(--global--border-radius);
}

.featuredCategories .image-wrapper{
    display:block;
    position:relative;
    padding-bottom: 60%;
    overflow:hidden;
    border-radius: var(--global--border-radius);
}

.featuredCategoryBg {
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-size:cover;
    background-position:center;
    background-repeat: no-repeat;
    transition-duration: 400ms;
    z-index:1;
}

.featuredCategories .image-wrapper::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    right:0;
    bottom:0;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0.4+0,0.1+100 */
    background: -moz-linear-gradient(45deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(45deg, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(45deg, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0.1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#1a000000',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
    opacity:0;
    z-index:2;
    -webkit-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
}

.featuredCategories .image-wrapper:hover::before{
    opacity:1;
}

.featuredCategories .image-wrapper:hover .featuredCategoryBg {
    transform:scale(1.1);
}

.featuredCategories .image-wrapper .name {
    position:absolute;
    bottom: 15px;
    left:15px;
    width: 90%;
    width: calc(100% - 20px);
    color:#fff;
    font-weight: var(--heading--font-weight);
    font-size: var(--global--font-size-sm);
    z-index: 3;
}

@media only screen and (min-width: 768px) {
 .featuredCategories .image-wrapper { 
        padding-bottom: 100%
    }
}

@media only screen and (min-width: 992px) {
    .featuredCategories .image-wrapper { 
        padding-bottom: 150%
    }
}