.kcg-gallery-wrapper {
    width: 100%;
}

/* FILTER MENU */

.kcg-filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}

.kcg-filter-buttons button {
    background: #f3f3f3;
    border: none;
    padding: 14px 26px;
    margin: 5px;
    cursor: pointer;
    transition: 0.3s;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kcg-filter-buttons button.active,
.kcg-filter-buttons button:hover {
    background: #ff9900;
    color: #fff;
}

/* GRID */

.kcg-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.kcg-gallery-item {
    width: 25%;
    padding: 10px;
    box-sizing: border-box;
}

/* IMAGE BOX */

.kcg-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #000;
}

/* FORCE SQUARE IMAGE */

.kcg-image-wrapper::before {
    content: "";
    display: block;
    padding-top: 100%;
}

.kcg-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* OVERLAY */

.kcg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    padding: 20px;
    text-align: center;
}

.kcg-image-wrapper:hover img {
    transform: scale(1.1);
}

.kcg-image-wrapper:hover .kcg-overlay {
    opacity: 1;
}

/* CONTENT */

.kcg-content h3 {
    color: #fff;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.4;
}

.kcg-category {
    display: inline-block;
    background: #ff9900;
    color: #fff;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: bold;
    border-radius: 0;
    text-transform: uppercase;
}

/* BUTTON */

.kcg-view-btn {
    display: inline-block;
    margin-top: 15px;
    background: #fff;
    color: #000;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0;
    transition: 0.3s;
}

.kcg-view-btn:hover {
    background: #ff9900;
    color: #fff;
}

/* VIDEO ICON */

.kcg-video-icon{
    position:absolute;
    top:15px;
    right:15px;
    width:50px;
    height:50px;
    background:#ff9900;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    z-index:2;
    font-weight:bold;
}

/* RESPONSIVE */

@media(max-width: 991px) {

    .kcg-gallery-item {
        width: 50%;
    }

}

@media(max-width: 576px) {

    .kcg-gallery-item {
        width: 100%;
    }

}