/* === Custom Block Styling === */
.renderCategories{
    padding: var(--CB-padding-top) var(--CB-padding-right) var(--CB-padding-bottom) var(--CB-padding-left);
    margin-top: var(--CB-margin-top);
    margin-bottom: var(--CB-margin-bottom);
    background-color: var(--CB-background-color);
    background-image: var(--CB-background-image);
    background-position: var(--CB-background-position);
    background-size: cover;
}

.renderCategories__blockHeading{
    text-align: center;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
}
.renderCategories__blockHeading::after{
    content: '';
    background-color: var(--FC-primary-color);
    width: 75%;
    height: 2px;
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
}
.renderCategories__categoryThumbnail{
    background-size: cover;
    background-position: center;
    height: 250px;
    overflow: hidden;
}
.renderCategories__categoryThumbnail img{
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    transition: var(--FC-default-transition);
}
.renderCategories__categoryName{
    background-color: var(--FC-secondary-color);
    color: var(--FC-white);
    text-align: center;
    margin-bottom: 0px;
    padding-top: 16px;
    padding-bottom: 16px;
    font-size: var(--FC-font-size-18)
}

.renderCategories__link:hover .renderCategories__categoryThumbnail img{
    scale: 1.05;
}

@media screen and (max-width: 1199.98px){
    .renderCategories__categoryThumbnail{
        height: 300px;
    }
}
@media screen and (max-width: 768px){
    .renderCategories__categoryThumbnail{
        height: 200px;
    }
}