.previous-posts .elementor-widget-image a {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

/* Blog Search */
.custom-search {
    position: relative;
    display: flex;
    align-items: end;
    justify-content: center;
}

.custom-search::before {
    content: "";
    background-image: url("https://jamiesternmedia.nyc3.digitaloceanspaces.com/wp-content/uploads/20260402044249/search-Icon.svg");
    width: 25px;
    height: 25px;
    display: flex;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 21px;
}

input#search-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid #000000;
    border-radius: 0;
    padding: 5px 0;
    max-width: 592px;
    font-weight: 300;
}

input#search-input::placeholder {
    color: #000;
    font-weight: 300;
}

input#search-input:focus {
    outline: none;
}

.grid-blogs .elementor-widget-theme-post-featured-image img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    object-fit: cover;
}

/* 13-04-2026 start */
:root {
    --grid-row-gap: 4rem;
    --grid-column-gap: 4rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: var(--grid-column-gap, 30px);
    grid-row-gap: var(--grid-row-gap, 30px);
}

.blog-grid .blog-item img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    object-fit: cover;
    display: inline-block;
    vertical-align: middle;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.blog-grid .blog-item h3 {
    /* font-family: "Roboto", Sans-serif; */
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 120%;
    color: #000000;
    margin: 0;
    text-align: center;
}

.blog-item,
.blog-item a {
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
}

.blog-item p {
    margin: 0;
}

.custom-search {
    margin-bottom: 2rem;
}

.blog-item a:hover {
    text-decoration: underline;
}

.custom-search span.clear-search {
    cursor: pointer;
    font-size: 2.5rem;
}

@media (max-width: 991px) {
    .blog-grid {
        gap: 2rem;
    }

    .blog-grid .blog-item h3 {
        text-align: start;
    }

    .custom-search span.clear-search {
        cursor: pointer;
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-column-gap: 1rem;
        grid-row-gap: 2rem;
    }

}



.custom-search div#search-loader {
    text-align: center;
    padding-top: 50px;
}
/* 13-04-2026  end*/

/* Blog Loader */
.search-loader-wrap {
  /* position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);  */
  padding-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Loader Container */
#search-loader {
  position: relative;
  width: 80px;
  height: 80px;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}