.filter-block {
    padding: 60px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-row {
    display: flex;
    gap: 20px;
}

.filter-group {
    flex: 1;
    min-width: 440px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.search-group label,
.filter-group label {
    position: absolute;
    font-family: "Instrument Sans", Sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
    top: 5px;
    left: 15px;
    color: #000 !important;
}

.filter-select,
.search-input {
    font-size: 15px;
    border-radius: 4px;
    font-family: "Instrument Sans", Sans-serif !important;
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    background-color: #fff;
    color: #9B9B9B !important;
    height: 68px;
    border: 1px solid #E3E3E3 !important;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.search-input,
.filter-select {
    padding: 30px 15px 10px 15px !important;
}

.filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7' fill='none'><path d='M10.24 1L6.43667 4.80333C5.9875 5.2525 5.2525 5.2525 4.80333 4.80333L1 1' stroke='black' stroke-width='2' stroke-miterlimit='10' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 25px center;
    background-size: 12px 8px;
}

.search-input:focus-visible,
select:focus-visible {
    box-shadow: none !important;
    outline: none !important;
}

.search-group {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    min-width: 440px;
}

.search-input {
    width: 100%;
    padding-right: 40px;
}

.search-group::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    font-size: 18px;
}

.reset-filter {
    position: relative;
    margin: 10px 0 0 20px !important;
    cursor: pointer;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Host Grotesk", Sans-serif !important;
    font-size: 20px !important;
    line-height: 120% !important;
    font-weight: 400 !important;
    color: #050505 !important;
    padding-left: 30px;
}

.reset-filter::after {
    position: absolute;
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><circle cx='12' cy='12' r='10' stroke='%23916CD5' stroke-width='1.5'/><path d='M14.5 9.50002L9.5 14.5M9.49998 9.5L14.5 14.5' stroke='%23916CD5' stroke-width='1.5' stroke-linecap='round'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: inline-block;
    left: 0;
}

.reset-filter:hover {
    color: #050505 !important;
}

.filter-main-title * {
    font-family: "Host Grotesk", Sans-serif !important;
    font-size: 64px !important;
    line-height: 120% !important;
    font-weight: 400 !important;
    color: #050505 !important;
}

.filter-category-title * {
    font-family: "Host Grotesk", Sans-serif !important;
    font-size: 35px !important;
    line-height: 120% !important;
    font-weight: 400 !important;
    color: #050505 !important;
}

.search-result-title * {
    font-family: "Host Grotesk", Sans-serif !important;
    font-size: 35px !important;
    line-height: 120% !important;
    font-weight: 400 !important;
    color: #818181 !important;
}

.search-result-title span span {
    color: #000 !important;
}

.filter-post {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.filter-item-post {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 31%;
}

.filter-image {
    display: block;
    height: 305px;
}

.filter-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    border-radius: 20px !important;
    -webkit-border-radius: 20px !important;
    -moz-border-radius: 20px !important;
    -ms-border-radius: 20px !important;
    -o-border-radius: 20px !important;
}

.filter-post-title * {
    color: #000000 !important;
    font-family: "Host Grotesk", Sans-serif !important;
    font-size: 30px !important;
    font-weight: 500 !important;
    line-height: 1.1em !important;
    letter-spacing: -0.5px !important;
}

.filter-post-date * {
    color: gray !important;
    font-family: "Host Grotesk", Sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    line-height: 1.1em !important;
    letter-spacing: -0.5px !important;
}

.search-group .search-input {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'><g clip-path='url(%23clip0_101_531)'><circle cx='11.5' cy='11.5' r='9.5' stroke='black' stroke-width='1.5'/><path d='M20 20L24 24' stroke='black' stroke-width='1.5' stroke-linecap='round'/></g><defs><clipPath id='clip0_101_531'><rect width='24' height='24' fill='white'/></clipPath></defs></svg>");
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: right 20px center;
    display: inline-block;
}

.load-more-wrapper button {
    background-color: #2E1857 !important;
    font-family: "Host Grotesk", Sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    font-style: normal !important;
    text-decoration: none !important;
    letter-spacing: 0px !important;
    fill: #FFFFFF !important;
    color: #FFFFFF !important;
    border-style: solid !important;
    border-width: 1px 1px 1px 1px !important;
    border-color: #2E1857 !important;
    border-radius: 100px 100px 100px 100px !important;
    padding: 15px 24px 15px 24px !important;
}

.load-more-wrapper button:hover {
    background-color: #ACEBFE !important;
    color: #000000 !important;
    border-color: #ACEBFE !important;
}

body.mega-menu-open {
    overflow: hidden !important;
}

@media (max-width: 1499px) {
    .filter-main-title * {
        font-size: 40px !important;
    }

    .filter-group {
        min-width: auto;
        width: 350px;
    }

    .search-group {
        min-width: auto;
        width: 350px;
    }

    .search-result-title *,
    .filter-category-title * {
        font-size: 28px !important;
    }

    .filter-post-title * {
        font-size: 24px !important;
    }
}

@media (max-width: 1199px) {
    .filter-group {
        min-width: auto;
        width: 300px;
    }

    .search-group {
        min-width: auto;
        width: 300px;
    }
}

@media (max-width: 1024px) {
    .h-menu .drop-down-menu-block {

        height: 100% !important;
        overflow-y: unset !important;
    }

    .h-menu .elementor-widget-n-menu .e-n-menu[data-layout=dropdown] .e-n-menu-wrapper {
        height: 100vh;
        background: #ffffff;
        padding-top: 30px;
        padding-bottom: 30px !important;
    }

    /* .mega-menu-block nav .e-n-menu-heading .e-n-menu-item:last-child a {
        display: inline-flex !important;
        background-color: #2E1857 !important;
        font-family: "Host Grotesk", Sans-serif !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        text-transform: none !important;
        font-style: normal !important;
        text-decoration: none !important;
        letter-spacing: 0px !important;
        fill: #FFFFFF !important;
        color: #FFFFFF !important;
        border-style: solid !important;
        border-width: 1px 1px 1px 1px !important;
        border-color: #2E1857 !important;
        border-radius: 100px 100px 100px 100px !important;
        padding: 10px 24px 10px 24px !important;
        -webkit-border-radius: 100px 100px 100px 100px !important;
        -moz-border-radius: 100px 100px 100px 100px !important;
        -ms-border-radius: 100px 100px 100px 100px !important;
        -o-border-radius: 100px 100px 100px 100px !important;
    }

    .mega-menu-block nav .e-n-menu-heading .e-n-menu-item:last-child a *{
        fill: #FFFFFF !important;
        color: #FFFFFF !important;
    } */
}

@media(min-width: 1025px) {
    .h-menu nav ul li:last-child {
        display: none !important;
    }
}

@media (max-width: 1024px) {}

@media (max-width: 991px) {
    .filter-block {
        flex-direction: column !important;
        text-align: center !important;
    }

    .reset-filter {
        text-align: left !important;
    }

    .filter-item-post {
        width: 46%;
    }

    .filter-row {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .filter-group {
        min-width: auto;
        width: 250px;
    }

    .search-group {
        min-width: auto;
        width: 250px;
    }

    .h-menu {

        --align-self: center !important;

    }
}

@media (max-width: 575px) {
    .filter-row {
        flex-direction: column !important;
    }

    .search-result-title *,
    .filter-category-title * {
        font-size: 24px !important;
    }

    .filter-item-post {
        width: 100%;
    }

    .filter-group,
    .search-group {
        width: 100%;
    }
}