.ec-category-posts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.ec-category-posts-item {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    overflow: hidden;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/*.ec-category-posts-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
}*/

.ec-category-posts-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.ec-category-posts-item img {
    width: 250px;
    height: 250px;
    object-fit: contain;
    display: block;
    margin-bottom: 18px;
}

.ec-category-post-title {
    display: inline-block;
    padding:10px 3px;
    width: 100%;
    text-align: center;
    font-size: 14px !important;
    line-height: 1.5;
    font-weight: 500;
    color: #222;
    transition: color .3s ease;
}

/*.ec-category-posts-item:hover .ec-category-post-title {
    color: #0066cc;
}*/

.ec-load-more-wrap {
    text-align: center;
    margin-top: 30px;
}

.ec-load-more-button {
    display: inline-block;
    padding: 14px 24px;
    min-width: 120px;
    border: none;
    border-radius: 4px;
    background: #19a9e5 !important;
    color: #fff !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

.ec-load-more-button:hover {
    background: #1299d0 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.ec-load-more-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.ec-load-more-button:focus {
    outline: none;
}

.ec-no-posts-found {
    max-width: 400px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
}

.ec-no-posts-found p {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
}

@media (max-width:1200px){

    .ec-category-posts{
        grid-template-columns:repeat(4,1fr);
    }

}

@media (max-width:992px){

    .ec-category-posts{
        grid-template-columns:repeat(3,1fr);
    }

}

@media (max-width:768px){

    .ec-category-posts{
        grid-template-columns:repeat(2,1fr);
    }

    .ec-category-posts-item img{
        width:140px;
        height:140px;
    }

}

@media (max-width:576px){

    .ec-category-posts{
        grid-template-columns:1fr 1fr;
    }

}


/* Search Form Style */

.logo-search-wrapper {
    width: 100%;
}

.logo-search-form {
    display: flex;
    align-items: stretch;
    max-width: 50%;
    margin:auto;
}
.home .logo-search-form {
    max-width: 69%;
    box-shadow: 0px 0px 43px 0px rgba(0, 0, 0, 0.22);
}
.home .logo-search-form .logo-search-field {
    border:2px solid rgba(0, 148, 222, 1);
}
.logo-search-field {
    flex: 1;
    border: 2px solid #10a8e5;
    border-right: none;
    padding: 0 20px;
    font-size: 18px;
    outline: none;
    background: #fff;
    border-radius: 2px;
    border: 1px solid #00b8ff;
}
.home .logo-search-field {
    height: 62px;
}

.logo-search-field:focus {
    border-color: #10a8e5;
}

.logo-search-btn {
    width: 60px;
    min-width: 60px;
    border: 2px solid #10a8e5;
    background: #10a8e5;
    color: #000000 !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    padding: 0;
    border: none !important;
}

.logo-search-btn:hover {
    opacity: 0.9;
}
.logo-search-btn svg {
    width:18px;
    height:18px;
    fill:#ffffff;
}
.home .logo-search-btn svg {
    width: 24px;
    height: 24px;
}
.logo-taxonomy-boxes {
    display: flex;
    max-width: 60%;
    margin:auto;
    text-align: center;
}
.logo-taxonomy-boxes a {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media screen and (max-width:767px) {
    .home .logo-search-form {
        max-width: 100%;
    }
    .logo-taxonomy-boxes a:nth-child(4),
    .logo-taxonomy-boxes a:nth-child(5),
    .logo-taxonomy-boxes a:nth-child(6) {
        display: none;
    }
}

@media screen and ( max-width: 580px ) {
    .home .logo-search-field {
        height:50px;
    }
    .logo-search-btn svg {
        width: 18px;
        height:18px;
    }
}

/* tooltip */

.lvm-reset-filters-btn {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.lvm-reset-filters-btn:hover {
    background: #27B1E81A;
}


.tooltiptext {
    font-size: 12px;
    font-weight: 500;
  display: inline-block;
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 6px 0px;
  position: absolute;
  z-index: 1;
  bottom: 110%;
  left: 10%;
  right:10%;
  opacity: 0;
  transition: opacity 2s;
}

.lvm-reset-filters-btn:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 767px) {
    .logo-search-field {
        font-size: 16px;
        padding: 0 15px;
    }

    .logo-search-btn {
        width: 52px;
        min-width: 52px;
    }
}

@media screen and ( max-width:500px ) {
    .logo-search-form {
        max-width: 100%;
    }
}

/* Filter Widget */

.lvm-formats-group {
    margin-left:auto !important;
}

@media screen and (max-width:600px) {
    .lvm-widget-wrap {
         position: fixed;
        top: 0px;
        right: 0px;
        background: #fff;
        width: 60%;
        border-radius: 0px !important;
        z-index: 99 !important;
        padding-top:70px !important;
        height:100%;
    }
    .lvm-widget-wrap .lvm-row {
         flex-direction: column;
         gap: 50px !important;
         padding-top:30px !important;
         align-items: flex-start !important;
    }
    .lvm-widget-wrap .lvm-row > div {
        flex-direction: column;
        align-items: flex-start !important;
    }
    .lvm-widget-wrap .lvm-row .lvm-formats-group {
        margin-left:0px !important;
    }

    /* Filter Style */
    .lvm-widget-wrap .lvm-filter-close {
     right:90% !important;
     color: #000;
     font-size: 35px;
     top:7px !important;
    }
    .lvm-widget-wrap .lvm-heading {
        position: absolute;
        top: 4%;
        left: 16%;
        color:#000 !important;
        font-size:16px !important;
    }
    .lvm-widget-wrap .lvm-reset-filters-btn {
        position: absolute;
        top: 2%;
        right: 0%;
        text-decoration: underline !important;
        font-size: 14px !important;
    }
    .lvm-widget-wrap .lvm-brand-colors-group {
        border-top:1px solid rgba(0,0,0,.5);
        max-width: 100% !important;
        padding-top:24px;
        margin-right: 0px !important;
    }
    .lvm-widget-wrap .lvm-row {
        padding-top:0px !important;
    }
    .lvm-widget-wrap .lvm-row {
        padding-top:0px !important;
    }
    .lvm-widget-wrap .lvm-formats-prefix,
    .lvm-widget-wrap .lvm-sort-label,
    .lvm-widget-wrap .lvm-brand-label {
        font-size: 18px !important;
        font-weight: 600 !important;
        margin-bottom: 14px !important;
    }
    .lvm-widget-wrap .lvm-sort-group,
    .lvm-widget-wrap .lvm-formats-group {
        border-top:1px solid rgba(0,0,0,.5);
        padding-top:24px;
    }
}

/* Extra scripts */

.lvm-brand-colors-group {
    width:auto;
    max-width:30%;
    align-items: flex-start;
}
.lvm-brand-colors-group .lvm-swatches {
    width:100%;
    flex-wrap: wrap;
}

/* Category Filter Mobile Responsive Style */

.lvm-filter-toggle-btn {
    background: #fff !important;
    border-radius: 0px !important;
    padding: 16px !important;
    border: 1px solid #27b1e8 !important;
}
.lvm-filter-toggle-btn svg {
    width: 20px;
}