/* Search Results — light background, filter pills, 3-col card grid, mobile stack */
.exl-search-results {
    padding: 60px 0 6cqh;
    background: linear-gradient(112deg, #f5eeeb 0%, #eee5e1 56%, #e2d9d4 100%);
}

.exl-search-results .exl-shell {
    padding-right: 68px;
    padding-left: 68px;
}

.exl-search-rule {
    display: block;
    width: 120px;
    height: 4px;
    margin-bottom: 18px;
    background: #ff4b0b;
}

.exl-search-heading {
    color: #172F50;
    font-size: 44px;
    font-weight: 700;
    line-height: 38px;
    margin: 0 0 40px;
    text-transform: uppercase;
}

.exl-search-heading .accent {
    color: #ff4b0b;
}

.exl-search-toolbar {
    align-items: center;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%) 1;
    display: flex;
    gap: 15px;
    justify-content: space-between;
    padding-bottom: 40px;
}

.exl-search-sort {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 9px 16px;
    border: 1px solid rgba(27, 52, 88, .3);
    border-radius: 10px;
    background: transparent;
    color: #1b3458;
    font-size: 13px;
}

.exl-search-sort svg {
    width: 12px;
    height: 12px;
    stroke: #ff4b0b;
    fill: none;
    stroke-width: 2;
}

.exl-search-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 75%;
    width: 100%;
}
.exl-search-select {
    align-items: center;
    background: transparent;
    border-radius: 12px;
    border: 1px solid #FB4E0B;
    color: #001632;
    display: flex;
    font-size: 14px;
    font-weight: 400;
    gap: 12px;
    justify-content: space-between;
    line-height: 16px;
    min-width: 230px;
    padding: 11px 16px;
}

.exl-search-filters .btn {
    background: transparent;
    border-radius: 999px;
    border: 1px solid #384D6A;
    color: #384D6A;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 24px;
    text-transform: uppercase;
}

.exl-search-filters .btn.active,
.exl-search-filters .btn:hover {
    border-radius: 999px;
    border: 1px solid #F74D0C;
    background: linear-gradient(72deg, #F74D0C 20.4%, #FFA82B 163.56%);
    color: var(--exl-white);
}

.exl-search-grid {
    margin-top: 30px;
}

.exl-search-card {
    display: flex;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(27, 52, 88, .08);
    border-radius: 14px;
    background: #fff;
    transition: box-shadow .2s ease;
}

.exl-search-card-img {
    aspect-ratio: 16 / 9;
    flex: 0 0 212px;
    height: 212px;
    overflow: hidden;
    position: relative;
}

.exl-search-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.exl-search-card:hover .exl-search-card-img img {
    transform: scale(1.05);
}

.exl-search-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 18px 20px 16px;
    position: relative;
}

.exl-search-tags {
    align-items: center;
    color: #FB4E0B;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    line-height: 18px;
    margin: 0 0 28px;
}

.exl-search-tags i {
    width: 1px;
    height: 13px;
    background: #aab3bd;
}

.exl-search-card h3 {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #102847;
    display: -webkit-box;
    font-size: 20px;
    font-weight: 500;
    line-clamp: 2;
    line-height: 22px;
    margin: 0 0 12px;
    min-height: 44px;
    overflow: hidden;
}

.exl-search-meta {
    color: #64768C;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.exl-search-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.exl-search-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.exl-search-author .who {
    font-size: 20px;
    font-weight: 500;
    line-height: 22px;
    overflow: hidden;
    padding-right: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.exl-search-author .who small {
    color: #384D6A;
    display: block;
    font-size: 16px;
    font-weight: 300;
    line-height: 18px;
    text-transform: uppercase;
}

.exl-search-author .arrow {
    margin-left: auto;
    color: #ff4b0b;
}

.exl-search-author .arrow svg {
    width: 12px;
    height: 32px;
    fill: none;
    stroke: currentColor;
}

.exl-search-card .bookmark {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--exl-white);
    color: #1b3458;
}

.exl-search-card .bookmark svg {
    width: 18px;
    height: 25px;
    fill: none;
    stroke: currentColor;
}

.exl-search-load {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.exl-search-load .btn {
    background: linear-gradient(89deg, #F74D0C 1.1%, #FFA82B 212.29%);
    border-radius: 40px;
    color: var(--exl-white);
    font-size: 16px;
    font-weight: 700;
    min-width: 280px;
    padding: 12px 34px;
    text-transform: uppercase;
}

.exl-search-load .btn:hover {
    background: linear-gradient(89deg, #FFA82B 1.1%, #F74D0C 200.29%);
}

.exl-search-dropdown {
    position: relative;
}

.exl-search-dropdown .dropdown-menu.show {
    width: 100%;
}

.exl-search-dropdown .dropdown-item:hover {
    background: linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%);
    color: var(--exl-white);
}

.bookmark-icon {
    position: relative;
    display: inline-flex;
    width: 18px;
    height: 25px;
}

.bookmark-icon svg {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.3s ease;
}

.bookmark-icon .icon-hover {
    opacity: 0;
}

.bookmark-icon:hover .icon-default {
    opacity: 0;
}

.bookmark-icon:hover .icon-hover, .bookmark-icon.active .icon-hover {
    opacity: 1;
    stroke-width: 0;
}

@media (max-width: 1199.98px) {
    .exl-search-results .exl-shell {
        padding-right: 32px;
        padding-left: 32px;
    }
}

@media (max-width: 991.98px) {
    .exl-search-sort {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .exl-search-results {
        padding: 44px 20px;
    }

    .exl-search-results .exl-shell {
        padding: 0;
    }

    .exl-search-tags {
        font-size: 14px;
        line-height: 16px;
        margin-bottom: 16px;
    }

    .exl-search-rule {
        width: 100px;
        height: 3px;
        margin-bottom: 14px;
    }

    .exl-search-heading {
        margin-bottom: 22px;
        font-size: 34px;
    }

    .exl-search-dropdown .dropdown-menu.show {
        width: calc(100% - 20px);
    }

    .exl-search-toolbar {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 24px;
        margin-right: -20px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .exl-search-sort {
        width: 100%;
    }

    .row.exl-search-grid>* {
        padding: 0;
        margin-top: 20px;
    }

    .exl-search-filters {
        gap: 16px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .exl-search-filters .btn {
        font-size: 15px;
        padding: 8px 24px;
        white-space: nowrap;
    }

    .exl-search-card-img {
        flex: 0 0 125px;
        height: 125px;
    }

    .exl-search-grid {
        border-image: linear-gradient(90deg, #F74D0C 0%, #FFA82B 100%) 1;
        border-top: 1px solid;
        margin: 24px 0;
    }

    .exl-search-card-body {
        padding: 14px 16px 16px;
    }

    .exl-search-card h3 {
        display: flex;
        font-size: 16px;
        line-height: 18px;
        min-height: auto;
        overflow: visible;
        white-space: normal;
    }

    .exl-search-meta {
        margin-bottom: 5px;
    }

    .exl-search-load {
        margin-top: 26px;
    }

    .exl-search-select, .exl-search-dropdown {
        width: 100%;
    }
    .exl-search-dropdown {
        padding-right: 20px;
    }
}

#views-exposed-form-wm-search-results-page-1{
    display: none;
}
#edit-submit-wm-search-results{
    bottom: 51px;
    position: relative;
    float: right;
}
#views-exposed-form-wm-search-results-search-block-form{
    width: 100%;
}
.wm-search-form{
    margin-top: 44px;
}
