.hg-grid {
    margin: 20px 0 0;
    display: grid;
    grid-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.hg-thumbnail a {
    position: relative;
    line-height: 0;
    display: block;
    padding: 0 0 66.666666%;
    overflow: hidden;
}

.hg-thumbnail img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.hg-title {
    font-size: 16px;
    font-weight: 700;
    margin: 10px 0 0;
}

.hg-title a {
    color: #717171;
}

.hg-title a:hover {
    color: #ea9629;
}

.single-gallery .featured-image {
    display: none;
}

.hg-swiper-main {
    margin: 20px 0 0;
}

.hg-swiper-main img {
    width: 100%;
}

.hg-swiper-thumb {
    margin: 10px 0 0;
}

.hg-swiper-item {
    line-height: 0;
}

.hg-swiper-thumb .swiper-button-prev::after,
.hg-swiper-thumb .swiper-button-next::after {
    font-size: 28px;
}

.hg-entry-title {
    margin: 30px 0 0;
}

.project-name {
    margin: 3px 0 0;
}

#right-sidebar {
    display: none;
}

@media only screen and (min-width: 1150px) {
    #main {
        width: 100%;
    }
}

@media only screen and (min-width: 1025px) {
    #primary {
        width: 80%;
    }

    #left-sidebar {
        left: -80%;
    }
}

@media only screen and (max-width: 991px) {
    .hg-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 575px) {
    .hg-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}