.work-categories {
    font-family: Arial, sans-serif;
    color: #E66E41;
}

.work-categories ul {
    list-style: none;
    margin: 0;
}
li.child-category {
    margin-bottom: 29px;
}

.work-categories .parent-category > .category-toggle {
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    color: #F06724;
    font-family: "Brandon Grotesque", Sans-serif;
    font-size: 18px;
    line-height: 24px;
    justify-content: space-between;
    max-width: 170px;
    margin-bottom: 29px;
}

.work-categories .toggle-icon {
    transition: transform 0.3s ease;
}

.work-categories .child-categories {
    display: none;
}

.work-categories input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    position: relative;
    width: 15px;
    height: 15px;
    border: 1px solid #EB5C21;
    background: #fff;
    cursor: pointer;
    margin-right: 8px;
}
li.child-category span {
    font-size: 14px;
    font-family: 'Lato';
}

.work-categories input[type="checkbox"]:checked, .work-categories input[type="checkbox"]:focus:checked {
    background-color: #EB5C21;
    border-color: #EB5C21;
}

.work-categories input[type="checkbox"]:checked:before {
    content: "";
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="8.337" height="6.217" viewBox="0 0 8.337 6.217"><path id="Icon_awesome-check" data-name="Icon awesome-check" d="M2.832,10.672.122,7.963a.417.417,0,0,1,0-.59l.589-.59a.417.417,0,0,1,.59,0L3.126,8.609,7.036,4.7a.417.417,0,0,1,.59,0l.589.59a.417.417,0,0,1,0,.59L3.421,10.672A.417.417,0,0,1,2.832,10.672Z" transform="translate(0 -4.577)" fill="%23fff"/></svg>');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
}





@keyframes fade {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        opacity: 1;
    }
}

/* Add this class to stop the animation */
.work-grid.loading {
    animation: fade 2s infinite;
}

@media (max-width:1024px){
    div#work-grid {
        gap: 20px;
    }
}

@media (max-width:550px){
    div#work-grid{
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .work-image img {
        width: 100%;
    }
    .work-categories .parent-category > .category-toggle {
        max-width: 100%;
    }
}