#lgrelatedcategories .section-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#lgrelatedcategories .related-category-element {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 15px;
    background-color: #f8f9f9;
    margin-bottom: 1rem;
}

#lgrelatedcategories .related-category-element .info-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    text-align: center;
    width: 66%;
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    color: #6c7474;
}

#lgrelatedcategories .related-category-element .image-container {
    max-width: 33%;
}

@media (min-width: 768px) {
    #lgrelatedcategories .section-content {
        gap: 10px;
    }

    #lgrelatedcategories .related-category-element {
        margin-bottom: 0;
        flex-wrap: wrap;
        min-height: 310px;
        max-width: 310px;
    }

    #lgrelatedcategories .related-category-element .info-container {
        width: 100%;
    }
    
    #lgrelatedcategories .related-category-element .image-container {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 0;
        max-width: 100%;
        text-align: center;
        width: 100%;
    }

    #lgrelatedcategories .related-category-element img {
        max-width: 200px;
    }
}