/* Infinite Scroll Spinner */
#infinite-loader {
    display: none;
    text-align: center;
    padding: 30px 0;
}

/* Spinner circle */
.infinite-spinner {
    width: 32px;
    height: 32px;
    display: inline-block;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #1A75BB;
    border-radius: 50%;
    animation: infiniteSpin 0.8s linear infinite;
}

/* Animation */
@keyframes infiniteSpin {
    to {
        transform: rotate(360deg);
    }
}


/* .king-grid-01 .entry-image,
.king-grid-01 .entry-no-thumb {
    border-radius: 10px;
    height: 200px !important;
} */

/* Banner */
.search-title-banner {
    background-image: url("/wp-content/themes/king-child/assets/images/testimonial.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-title-banner h4 {
    color: white;
    font-size: 28px;
    font-weight: bold;
}

/* Grid Layout */
.king-posts-search-by-tag {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 25px;
}

/* Thumbnail */
.entry-image {
    position: relative;
}

.king-box-bg {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: 0.25s ease;
}

/* Icon in middle */
.post-format-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25px;
    color: white;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
}

/* Hover effects */
.king-post-item:hover .post-format-icon {
    opacity: 1;
}

.king-box-bg {
    transition: 0.25s ease;
}

.king-post-item:hover .king-box-bg {
    filter: brightness(0.7);
}


.king-post-item {
    width: 100% !important;
}

/* RESPONSIVE */
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .king-posts-search-by-tag {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 961px) {
    .king-posts-search-by-tag {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .king-post-item {
        padding: 0;
    }

    .king-posts-search-by-tag {
        padding: 10px;
        grid-template-columns: repeat(1, 1fr);
    }

    .king-box-bg {
        height: 180px;
    }

    .search-title-banner h4 {
        font-size: 20px;
    }
}