.search-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.search-footer {
    margin-top: auto;
}

@media screen and (max-width: 575px) {
    .search-message {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .search-message-image {
        width: 550px;
        height: 550px;
    }

    .search-message-title {
        font-family: "ZCOOL XiaoWei", sans-serif !important;
        font-size: 15pt;
        font-weight: bold;
        color: darkslategrey;
    }

    .search-message-subtitle {
        font-size: 13pt;
        color: slategrey;
        text-align: center;
    }

    .search-instant-input {
        width: calc(100% - 140px);
        height: fit-content;
        outline: 0;
        display: inline-block;
        vertical-align: top;
        padding: .5rem 1rem;
        font-size: 17px;
        border: 0;
        border-radius: 6px;
        color: darkslategrey;
    }

    .search-container {
        max-width: 980px;
        margin: 1.5rem auto 0;
        border: 1px solid #bebebe;
        display: flex;
        justify-content: space-between;
        border-radius: 6px;
        height: 46px;
    }

    .search-clear {
        cursor: pointer;
        line-height: 38px;
        width: 90px;
        padding: 0;
        margin: 0;
        background: 0 0;
        border: 0;
        font-size: 11pt;
        color: #737373;
    }

    .search-clear-icon {
        fill: #737373;
        width: 20px;
        display: inline-block;
        left: 5px;
        top: 6px;
        transform: rotate(45deg);
        position: relative;
    }

    .search-red-button {
        cursor: pointer;
        display: inline-block;
        vertical-align: top;
        background-color: darkslategrey;
        padding: 0;
        width: 44px;
        height: 44px;
        line-height: 32px;
        border: 0;
        font-size: 28px;
        color: #fefefe;
        border-radius: 0 4px 4px 0;
        transition: opacity .2s ease 0s;
    }

    .search-red-button-icon {
        fill: #fff;
        width: 26px;
        height: 26px;
        padding: 4px 0 0;
    }

    .search-links {
        display: flex;
        justify-content: center;
        max-width: 980px;
        margin: 0 auto;
        margin-top: 18px;
        padding-bottom: 15px;
        margin-bottom: 8x;
        gap: 8px;
    }

    .search-query-block {
        border-bottom: 1px lightgrey solid;
        margin-bottom: 10px;
    }

    .search-link-innactive {
        font-size: 11pt;
        color: black;
        text-decoration: none;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-innactive:hover {
        color: darkslategray;
    }

    .search-link-active {
        font-size: 11pt;
        color: black;
        font-weight: bold;
        border-bottom: 2px solid darkslategray;
        padding-bottom: 3px;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-active:hover {
        color: darkslategray;
    }

    .search-result-container {
        max-width: 980px;
        margin: 0 auto;
        display: block;
        padding-top: 20px;
    }

    .search-result-subheader {
        display: flex;
        flex-direction: column;
        align-items:left;
        gap:5px;
        justify-content: left;
    }

    .search-result-count {
        max-width: 1100px;
        color: darkslategray;
        font-size: 12pt;
    }

    .search-result-sort {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        width: fit-content;
        gap: 10px;
        align-items: center;
    }

    .search-sort-small{
        font-size: 10pt;
        font-weight: normal;
        color:darkslategray;
    }

    .search-sort-link-inactive {
        color: darkslategray;
        text-decoration: none;
        border: 1px solid #2f4f4f;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 10pt;
    }

    .search-sort-link-active {
        color: white;
        background-color: darkslategrey;
        text-decoration: none;
        border: 1px solid darkslategray;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 10pt;
        font-weight: bold;
    }
}

@media screen and (min-width: 576px) {
    .search-message {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .search-message-image {
        width: 550px;
        height: 550px;
    }

    .search-message-title {
        font-family: "ZCOOL XiaoWei", sans-serif !important;
        font-size: 15pt;
        font-weight: bold;
        color: darkslategrey;
    }

    .search-message-subtitle {
        font-size: 13pt;
        color: slategrey;
    }

    .search-instant-input {
        width: calc(100% - 140px);
        height: fit-content;
        outline: 0;
        display: inline-block;
        vertical-align: top;
        padding: .5rem 1rem;
        font-size: 17px;
        border: 0;
        border-radius: 6px;
        color: darkslategrey;
    }

    .search-container {
        max-width: 980px;
        margin: 1.5rem auto 0;
        border: 1px solid #bebebe;
        display: flex;
        justify-content: space-between;
        border-radius: 6px;
        height: 46px;
    }

    .search-clear {
        cursor: pointer;
        line-height: 38px;
        width: 90px;
        padding: 0;
        margin: 0;
        background: 0 0;
        border: 0;
        font-size: 11pt;
        color: #737373;
    }

    .search-clear-icon {
        fill: #737373;
        width: 20px;
        display: inline-block;
        left: 5px;
        top: 6px;
        transform: rotate(45deg);
        position: relative;
    }

    .search-red-button {
        cursor: pointer;
        display: inline-block;
        vertical-align: top;
        background-color: darkslategrey;
        padding: 0;
        width: 44px;
        height: 44px;
        line-height: 32px;
        border: 0;
        font-size: 28px;
        color: #fefefe;
        border-radius: 0 4px 4px 0;
        transition: opacity .2s ease 0s;
    }

    .search-red-button-icon {
        fill: #fff;
        width: 26px;
        height: 26px;
        padding: 4px 0 0;
    }

    .search-links {
        display: flex;
        justify-content: center;
        max-width: 980px;
        margin: 0 auto;
        margin-top: 18px;
        padding-bottom: 15px;
        margin-bottom: 8x;
        gap: 10px;
    }

    .search-query-block {
        border-bottom: 1px lightgrey solid;
        margin-bottom: 10px;
    }

    .search-link-innactive {
        font-size: 11pt;
        color: black;
        text-decoration: none;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-innactive:hover {
        color: darkslategray;
    }

    .search-link-active {
        font-size: 11pt;
        color: black;
        font-weight: bold;
        border-bottom: 2px solid darkslategray;
        padding-bottom: 3px;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-active:hover {
        color: darkslategray;
    }

    .search-result-container {
        max-width: 980px;
        margin: 0 auto;
        display: block;
        padding-top: 20px;
    }

    .search-result-subheader {
        display: flex;
        flex-direction: column;
        align-items:left;
        gap:5px;
        justify-content: left;
    }

    .search-result-count {
        max-width: 1100px;
        color: darkslategray;
        font-size: 12pt;
    }

    .search-result-sort {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        width: fit-content;
        gap: 10px;
        align-items: center;
    }

    .search-sort-small{
        font-size: 10pt;
        font-weight: normal;
        color:darkslategray;
    }

    .search-sort-link-inactive {
        color: darkslategray;
        text-decoration: none;
        border: 1px solid #2f4f4f;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 10pt;
    }

    .search-sort-link-active {
        color: white;
        background-color: darkslategrey;
        text-decoration: none;
        border: 1px solid darkslategray;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 10pt;
        font-weight: bold;
    }
}

@media screen and (min-width: 640px) {
    .search-message {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .search-message-image {
        width: 550px;
        height: 550px;
    }

    .search-message-title {
        font-family: "ZCOOL XiaoWei", sans-serif !important;
        font-size: 15pt;
        font-weight: bold;
        color: darkslategrey;
    }

    .search-message-subtitle {
        font-size: 13pt;
        color: slategrey;
    }

    .search-instant-input {
        width: calc(100% - 140px);
        height: fit-content;
        outline: 0;
        display: inline-block;
        vertical-align: top;
        padding: .5rem 1rem;
        font-size: 17px;
        border: 0;
        border-radius: 6px;
        color: darkslategrey;
    }

    .search-container {
        max-width: 980px;
        margin: 1.5rem auto 0;
        border: 1px solid #bebebe;
        display: flex;
        justify-content: space-between;
        border-radius: 6px;
        height: 46px;
    }

    .search-clear {
        cursor: pointer;
        line-height: 38px;
        width: 90px;
        padding: 0;
        margin: 0;
        background: 0 0;
        border: 0;
        font-size: 11pt;
        color: #737373;
    }

    .search-clear-icon {
        fill: #737373;
        width: 20px;
        display: inline-block;
        left: 5px;
        top: 6px;
        transform: rotate(45deg);
        position: relative;
    }

    .search-red-button {
        cursor: pointer;
        display: inline-block;
        vertical-align: top;
        background-color: darkslategrey;
        padding: 0;
        width: 44px;
        height: 44px;
        line-height: 32px;
        border: 0;
        font-size: 28px;
        color: #fefefe;
        border-radius: 0 4px 4px 0;
        transition: opacity .2s ease 0s;
    }

    .search-red-button-icon {
        fill: #fff;
        width: 26px;
        height: 26px;
        padding: 4px 0 0;
    }

    .search-links {
        display: flex;
        justify-content: center;
        max-width: 980px;
        margin: 0 auto;
        margin-top: 18px;
        padding-bottom: 15px;
        margin-bottom: 8x;
        gap: 10px;
    }

    .search-query-block {
        border-bottom: 1px lightgrey solid;
        margin-bottom: 10px;
    }

    .search-link-innactive {
        font-size: 12pt;
        color: black;
        text-decoration: none;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-innactive:hover {
        color: darkslategray;
    }

    .search-link-active {
        font-size: 12pt;
        color: black;
        font-weight: bold;
        border-bottom: 2px solid darkslategray;
        padding-bottom: 3px;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-active:hover {
        color: darkslategray;
    }

    .search-result-container {
        max-width: 980px;
        margin: 0 auto;
        display: block;
        padding-top: 20px;
    }

    .search-result-subheader {
        display: flex;
        flex-direction: column;
        align-items:left;
        gap:5px;
        justify-content: left;
    }

    .search-result-count {
        max-width: 1100px;
        color: darkslategray;
        font-size: 14pt;
    }

    .search-result-sort {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        width: fit-content;
        gap: 10px;
        align-items: center;
    }

    .search-sort-small{
        font-size: 10pt;
        font-weight: normal;
        color:darkslategray;
    }

    .search-sort-link-inactive {
        color: darkslategray;
        text-decoration: none;
        border: 1px solid #2f4f4f;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 11pt;
    }

    .search-sort-link-active {
        color: white;
        background-color: darkslategrey;
        text-decoration: none;
        border: 1px solid darkslategray;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 11pt;
        font-weight: bold;
    }

}

@media screen and (min-width: 992px) {

    .search-message {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .search-message-image {
        width: 550px;
        height: 550px;
    }

    .search-message-title {
        font-family: "ZCOOL XiaoWei", sans-serif !important;
        font-size: 15pt;
        font-weight: bold;
        color: darkslategrey;
    }

    .search-message-subtitle {
        font-size: 13pt;
        color: slategrey;
    }

    .search-instant-input {
        width: calc(100% - 140px);
        height: fit-content;
        outline: 0;
        display: inline-block;
        vertical-align: top;
        padding: .5rem 1rem;
        font-size: 17px;
        border: 0;
        border-radius: 6px;
        color: darkslategrey;
    }

    .search-container {
        max-width: 980px;
        margin: 1.5rem auto 0;
        border: 1px solid #bebebe;
        display: flex;
        justify-content: space-between;
        border-radius: 6px;
        height: 46px;
    }

    .search-clear {
        cursor: pointer;
        line-height: 38px;
        width: 90px;
        padding: 0;
        margin: 0;
        background: 0 0;
        border: 0;
        font-size: 11pt;
        color: #737373;
    }

    .search-clear-icon {
        fill: #737373;
        width: 20px;
        display: inline-block;
        left: 5px;
        top: 6px;
        transform: rotate(45deg);
        position: relative;
    }

    .search-red-button {
        cursor: pointer;
        display: inline-block;
        vertical-align: top;
        background-color: darkslategrey;
        padding: 0;
        width: 44px;
        height: 44px;
        line-height: 32px;
        border: 0;
        font-size: 28px;
        color: #fefefe;
        border-radius: 0 4px 4px 0;
        transition: opacity .2s ease 0s;
    }

    .search-red-button-icon {
        fill: #fff;
        width: 26px;
        height: 26px;
        padding: 4px 0 0;
    }

    .search-links {
        display: flex;
        max-width: 980px;
        margin: 0 auto;
        margin-top: 18px;
        padding-bottom: 15px;
        margin-bottom: 8x;
        gap: 10px;
    }

    .search-query-block {
        border-bottom: 1px lightgrey solid;
        margin-bottom: 10px;
    }

    .search-link-innactive {
        font-size: 12pt;
        color: black;
        text-decoration: none;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-innactive:hover {
        color: darkslategray;
    }

    .search-link-active {
        font-size: 12pt;
        color: black;
        font-weight: bold;
        border-bottom: 2px solid darkslategray;
        padding-bottom: 3px;
        cursor: pointer;
        text-decoration: none;
    }

    .search-link-active:hover {
        color: darkslategray;
    }

    .search-result-container {
        max-width: 980px;
        margin: 0 auto;
        display: block;
        padding-top: 20px;
    }

    .search-result-subheader {
        display: flex;
        flex-direction: row;
        align-items:center;
        justify-content: space-between;
    }

    .search-result-count {
        max-width: 1100px;
        color: darkslategray;
        font-size: 14pt;
    }

    .search-result-sort {
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: space-between;
        width: fit-content;
        gap: 10px;
        align-items: center;
    }

    .search-sort-small{
        font-size: 10pt;
        font-weight: normal;
        color:darkslategray;
    }

    .search-sort-link-inactive {
        color: darkslategray;
        text-decoration: none;
        border: 1px solid #2f4f4f;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 11pt;
    }

    .search-sort-link-active {
        color: white;
        background-color: darkslategrey;
        text-decoration: none;
        border: 1px solid darkslategray;
        border-radius: 3px;
        padding-right: 5px;
        padding-left: 5px;
        padding-bottom: 2px;
        font-size: 11pt;
        font-weight: bold;
    }
}