.thumbnail {
    position: relative;
    display: block;
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #ccc;
}

.col-lg-4 .thumbnail {
    height: 260px;
}

.thumbnail-img {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
    -webkit-transition: -webkit-transform .3s;
    -moz-transition: -moz-transform .3s;
    -o-transition: -o-transform .3s;
    transition: transform .3s;
}

.thumbnail:before {
    position: absolute;
    z-index: 2;
    content: "";
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.thumbnail:not(.no-hover):hover .thumbnail-img,
.thumbnail:not(.no-hover):focus .thumbnail-img {
    -ms-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.thumbnail:not(.no-hover):hover::before {
    opacity: 1;
}

.post-date {
    font-size: 1rem;
    color: black;
}

.post-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: black !important;
}

.btn-grey {
    background-color: #ebebeb;
    color: #333 !important;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}

.btn-grey:hover {
    background-color: #dbdbdbff;
    color: #333 !important;
}

@media only screen and (max-width : 767px) {
    .col-lg-4 .thumbnail {
        height: 300px;
    }
}

.custom-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.custom-pagination a,
.custom-pagination span {
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid #ddd;
    text-decoration: none;
    font-size: 15px;
    color: #333;
    transition: all 0.2s ease;
}

.custom-pagination a:hover {
    background-color: #193762;
    color: #fff;
    border-color: #193762;
}

.custom-pagination .current {
    background-color: #193762;
    color: #fff;
    border-color: #193762;
    font-weight: 600;
    cursor: default;
}