.search-header {
    padding-bottom: 48px;
}

.search-clear {
    display: none;
}

.search-header .total-results {
    color: #5F6368;
}

.search-page .seperator {
    width: 100%;
    height: 1px;
    background: #DADCE0;
    margin-bottom: 25px;
}

.search-results {
    min-height: 80vh;
    display: flex;

    .search-results__results-wrapper {
        width: 100%;
    }
}

.search-results ul {
    width: 100%;
    margin: unset;
}

.search-results ul li:not(:first-child) {
    padding-top: 25px;
}

.search-results ul li {
    padding-bottom: 25px;
}

.search-result {
    list-style: none;
    border-bottom: 1px #DADCE0 solid;
}

.search-result__wrapper {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 5px;
}

.search-result__featured-img {
    width: 100%;
    height: auto;
    flex-shrink: 0;
    margin-left: auto;
    margin-bottom: 20px;
}

.search-result__eyebrow {
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px; /* 142.857% */
    letter-spacing: 0.25px;
    color: #5F6368;
}

.search-result__title {
    font-family: Google Sans;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 133.333% */
    color: #202124;
}

.search-result__title a {
    text-decoration: none;
}

.search-result__summary {
    display: none;
    color: #202124;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px; /* 162.5% */
    letter-spacing: 0.1px;
    padding-bottom: 20px;
    padding-right: 12%;
}

.search-page .clear-button {
    color: #1A73E8;
    border-color: transparent;
}

.search-results .sidebar {
    display: none;
    width: 287px;
    min-height: 1034px;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid #DADCE0;
}

.search-results .sidebar .sidebar__filter-header p {
    padding: 18px 20px;
}

.search-results .sidebar .sidebar__filter-section {
    padding: 18px 20px;
}

.search-results .sidebar .sidebar__filter-section ul {
    list-style: none;
    margin-left: 0;
    margin-top: 18px;
}

.search-results .sidebar .sidebar__filter-section ul li {
    margin-left: 0;
    padding-top: 0;
    margin-bottom: 15px;
    display: flex;
    align-items: center;

    color: #5F6368;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: 0.2px;
}

.search-results .sidebar .sidebar__filter-section ul li .filter-checkbox {
    margin-right: 10px;
    display: flex;
}

.search-results .sidebar .sidebar__section-title {
    color: #202124;
    font-feature-settings: 'clig' off, 'liga' off;
    font-family: Google Sans;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0.1px;
    margin-bottom: 18px;
}

.search-results .sidebar .sidebar__select-all {
    color: #1A73E8;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
    text-decoration: none;
    padding-top: 18px;
    padding-bottom: 18px;
}

.no-results, .no-query  {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.no-results p {
    padding-bottom: 50px;
}

.fab-wrapper {
    z-index: 10;
    display: block;
    position: fixed;
    bottom: 1rem;
    right: 0.5rem;

    .fab {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 10px 14px;
        position: static;
        height: 36px;
        background: #1a73e8;
        border: 2px solid #202124;
        box-sizing: border-box;
        border-radius: 50px;
        margin: 0px 6px;

        .glue-icon {
            margin-right: 10px;
            fill: #fff;
        }

        .text {
            font-weight: 500;
            color: #fff;
        }
    }
}

.filter-drawer {
    .filter-wrapper {
        .clear-button {
            padding-inline-start: 14px;
            margin-top: 28px;
            margin-left: 5px;
        }
        .filter-drawer__section {
            .title {
                font-family: Google Sans,Sans-Serif;
                line-height: 24px;
                font-weight: 500;
                margin-top: 1.25rem;
                margin-left: 1.25rem;
                margin-bottom: 1rem;
            }
            .select-all {
                margin-inline-start: 20px;
                text-decoration: none;
            }
            .filter-item {
                color: black;
                display: flex;
                align-items: center;
                margin-bottom: 17px;
                position: relative;
            }
            .filter-checkbox {
                border-color: black;
                border-width: 2px;
                width: 1.25rem;
                margin-top: 2px;
            }
            .items {
                display: flex;
                flex-direction: column;
                padding-top: 10px;
                padding-bottom: 10px;
                overflow-y: auto;
                list-style: none;
            }
        }
    }
}

/* Navigation Buttons */

.nav-buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin: 30px 30px;

    .nav-buttons__left,
    .nav-buttons__right {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 22px;
        
        span {
            display: none;
            font-weight: 500;
            letter-spacing: 1.5px;
            text-transform: uppercase;

            &.disabled {
                color: #ccc;
                pointer-events: none;
            }
        }

        @media (min-width: 600px) {
            span {
                display: inline-flex;
            }
        }
    }

    a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
        padding: 0;
        width: 64px;
        height: 64px;
        border-radius: 50px;

        svg {
            width: 24px;
            height: 24px;
            margin: 0;
        }

        &.disabled {
            color: #ccc;
            pointer-events: none;
        }
    }

    @media (min-width: 600px) {
        margin: 50px 30px;
    }

    @media (min-width: 1024px) {
        margin: 50px 100px;
    }
}

@media screen and (min-width: 1024px) {
    .search-results .sidebar,
    .search-clear,
    .search-result__summary {
        display: block;
    }

    .search-page .seperator {
        margin-bottom: unset;
    }
    .search-results ul {
        margin-left: 20px;
    }

    .search-results ul li {
        padding-bottom: unset;
    }

    .fab-wrapper {
        display: none;
    }
    .search-result__featured-img {
        width: 164px;
        height: 92px;
        margin-left: auto;
        margin-bottom: auto;
    }

    .search-result__wrapper {
        flex-direction: row;
    }
}
