#search-result-section article {
    height: 575px;
    width: 650px;
    margin: auto;
}

#search-result-section .elementor-post__card {
    height: 100%;
    justify-content: flex-end;
}

#search-result-section .elementor-post__thumbnail__link {
    height: 67%;
    margin: 0;
}

#search-result-section .elementor-post__thumbnail {
    padding: 0;
    height: 100%;
}

#search-result-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* #search-result-section .elementor-post__card:not(.elementor-post__thumbnail__link) */

#search-result-section .elementor-post__text {
    height: 33%;
    max-height: 33%;
    margin-top: 0;
    padding: 10px;
}

#search-result-section .elementor-post__title {
    margin-bottom: 15px;
}

#search-result-section .elementor-post__title a {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*  */

#search-result-section .page-numbers {
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: black;
    display: inline-block;
    background: transparent;
    border: 2px solid #012F6B;
    border-radius: 100%;
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
}

#search-result-section .page-numbers:hover {
    background-color: #012f6bbe;
    border-color: #012F6B;
    transition: 0.3s;
    color: white;
}

#search-result-section .page-numbers.current {
    background: #FFD800;
    border-color: #FFD800;
    color: black;
    font-weight: bold;
}

@media only screen and (max-width: 1499px) {
    #search-result-section .elementor-grid-2 .elementor-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #search-result-section article {
        width: 320px;
        height: 600px;
    }

    #search-result-section .elementor-post__thumbnail__link {
        height: 40%;
    }

    #search-result-section .elementor-post__text {
        display: flex;
        flex-direction: column;
        height: 60%;
        max-height: 60%;
    }

    #search-result-section .elementor-post__read-more{
        margin-top: auto;
    }
}

@media only screen and (max-width: 1199px) {
    #search-result-section .elementor-grid-2 .elementor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 819px) {
    #search-result-section .elementor-grid-2 .elementor-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}