.portfolioe-list.row {
    padding-top: 50px;
    padding-bottom: 50px;
    margin: 0 20px;
}

.portfolio-item {
    padding-bottom: 40px;
}

.portfolio-item:last-child {
    padding-bottom: 0;
}

.portfolio-title h2 {
    font-family: 'Montserrat';
    text-align: center;
    font-size: 32px;
    line-height: 48px;
    position: relative;
    margin-bottom: 40px !important;
    font-weight: 400;
}

.portfolio-title h2:before {
    position: absolute;
    width: 300px;
    left: calc(50% - 150px);
    bottom: -5px;
    height: 2px;
    content: "";
    background-color: #D72027;
    z-index: 4;
}

.portfolio-item .image-top {
    display: flex;
    gap: 30px;
}

.portfolio-item .image-top img {
    width: calc(50% - 15px);
    height: 450px;
    object-fit: cover;
    box-shadow: 0 0 5px #959595;
    border-radius: 10px;
}

.portfolio-item .image-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.portfolio-item .image-preview img {
    width: 100%;
    height: auto;
    box-shadow: 0 0 5px #959595;
    border-radius: 8px;
}

a.see-more {
    display: block;
    padding: 8px 20px;
    width: 200px;
    background-color: #D72027;
    border: 1px solid #D72027;
    text-align: center;
    color: #fff;
    margin: 30px auto 0;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 500;
    transition: all 500ms ease;
}

a.see-more:hover {
    text-decoration: unset;
    background-color: #fff;
    color: #D72027;
}

.image-preview-2 {
    column-count: 3;
    column-gap: 10px;
    row-gap: 10px;
}

@media (max-width: 576px) {
    .image-preview-2 {
        column-count: 1;
    }
}

.image-preview-2 img{
    width: 100%;
    height: auto;
    margin-top: 10px;
    border-radius: 10px;
}
.pn-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.pn-pagination .page-numbers {
    width: 45px;
    height: 45px;
    border: 1px solid #444444;
    text-align: center;
    line-height: 44px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    color: #444444;
    transition: all 500ms ease;
}

.pn-pagination .page-numbers svg {
    max-height: 20px;
}

.pn-pagination .page-numbers:first-child,
.pn-pagination .page-numbers:last-child {
    display: flex;
    align-items: center;
    justify-content: center;
}
.pn-pagination .page-numbers.current,
.pn-pagination .page-numbers:hover{
    background: #d62127;
    color: #fff;
    border-color: #d62127;
    text-decoration: none;
}
.pn-pagination .page-numbers:hover svg {
    fill: #fff;
}