.gallery-grid-item.hide {
    display: none;
}

.gallery-grid {
    position: relative;
}

.gallery-grid {
    flex: 0 0 calc(25% - 15px);
    box-sizing: border-box;
    position: relative;
}

.gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.blog-pagination {
    margin: 0px auto;
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.blog-pagination .current {
    font-weight: bold;
}

.gallery-grid .gallery-grid-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    color: white;
    background: #00000077;
    pointer-events: none;
    opacity: 0;
    transition: all .5s ease;
}

.gallery-grid-item {
    width: 100%;
    height: 100%;
}

.gallery-grid-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1/1;
}

.gallery-grid-item.hide {
    display: none;
}

.gallery-fold {
    padding: 70px 0px;
    background: whitesmoke;
}

.gallery-grid:hover .gallery-grid-content {
    opacity: 1;
}

.gallery-filters select, .gallery-filters option {
    text-transform: capitalize;
}

.no-results {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
}

.gallery-filters {
    padding: 40px 0px;
    display: flex;
    width: 100%;
}

.gallery-filters form {
    display: flex;
    gap: 10px;
    width: 100%;
    justify-content: center;
}

.gallery-filters form select {
    flex: 0 0 20%;
    background: whitesmoke;
    padding: 10px;
    box-sizing: border-box;
    border: 0;
    font-family: 'Open Sans';
}

.gallery-filters .row-container {
    width: 100%;
}

.gallery-filters form button {
    background: #333;
    border: 0;
    color: white;
    width: 100px;
    font-family: 'Open Sans';
}
