﻿.search-page {
    padding: 32px 0;
}

    .search-page .header {
        --space: 32px;
        padding-bottom: var(--space);
        margin-bottom: var(--space);
        border-bottom: 1px solid #383F42;
    }

    .search-page .search-box {
        width: 100%;
        background-color: #EEF4F6;
        border-radius: 29px;
        display: flex;
        align-items: center;
        padding: 0px 12px;
        margin-bottom: 20px;
    }

        .search-page .search-box .btn {
            border: none;
            background-color: transparent;
            cursor: pointer;
        }

        .search-page .search-box .text {
            flex: 1;
            margin: 0 8px;
            padding: 8px 0;
            background-color: transparent;
            border: none;
            outline: none;
            font-family: Roboto Condensed;
            font-weight: 400;
            font-size: 16px;
            line-height: 24px;
        }

    .search-page .result {
        font-family: Source Serif;
        font-weight: 700;
        font-size: 16px;
        line-height: 100%;
        color: #656C6F;
        margin-bottom: 20px;
    }

    .search-page .content {
        display: flex;
        justify-content: space-between;
    }

        .search-page .content .story {
            width: 71%;
        }

        .search-page .content .taTabs__content .mobile-title {
            display: none;
        }

        .search-page .content .taTabs__content > * {
            flex-direction: row-reverse;
        }

            .search-page .content .taTabs__content > *:nth-last-child(n+2) {
                margin-bottom: 16px;
                padding-bottom: 16px;
                border-bottom: 1px solid #BFC6C9;
            }

            .search-page .content .taTabs__content > * .thumb {
                width: 27.97%;
                margin-bottom: 0px;
                margin-left: 32px;
                min-width: 240px;
            }

            .search-page .content .taTabs__content > * .info-wrapper {
                flex: 1;
            }

            .search-page .content .taTabs__content > * .title {
                font-size: 20px;
                line-height: 25px;
                margin-bottom: 8px;
            }

            .search-page .content .taTabs__content > * .info .text {
                font-size: 16px;
                line-height: 24px;
            }

                .search-page .content .taTabs__content > * .info .text > * {
                    --line-num: 2;
                }

        .search-page .content .banner {
            width: 22.79%;
            position: relative;
        }

            .search-page .content .banner a > * {
                width: 100%;
                object-fit: cover;
                border-radius: 8px;
            }

.taTabs {
    width: 100%;
}

.taTabs__navWap {
    list-style: none;
    display: flex;
    color: #4B5565;
}

.taTabs__nav {
    text-align: center;
    cursor: pointer;
    font-family: Helvetica;
    font-size: 14px;
    line-height: 20px;
    color: #0B1215;
}

    .taTabs__nav:nth-last-child(n+2) {
        margin-right: 16px;
    }

.taTabs__nav--active {
    padding-bottom: 12px;
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
}

.taTabs__content {
    display: none;
}

.taTabs__content--active {
    display: block;
}

.search-page .pagination-container {
    display: flex;
    align-items: center;
    padding: 18px 24px;
    margin-top: 16px;
    border-top: 1px solid #BFC6C9;
    margin-bottom: 0px;
}

.search-page .showing-text {
    font-family: Inter;
    font-size: 14px;
    line-height: 20px;
}

.search-page .pagination-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-page .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    color: #0B1215;
}

.search-page .page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #EEF4F6;
    background: white;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: Inter;
    font-size: 14px;
    line-height: 20px;
    color: #0B1215;
    text-decoration: none;
}

    .search-page .page-btn:hover:not(.active) {
        background-color: #f0f0f0;
        border-color: #bbb;
    }

    .search-page .page-btn.active {
        background-color: var(--color-primary);
        border-color: var(--color-primary);
        color: white;
    }

.search-page .ellipsis {
    padding: 0 8px;
    color: #666;
    font-size: 14px;
}

.search-page .per-page-controls {
    margin-left: auto;
}

.search-page .per-page-select {
    padding: 6px 0px 6px 10px;
    border: 1px solid #C7C9D3;
    border-radius: 6px;
    font-family: Helvetica;
    font-size: 14px;
    line-height: 20px;
    background: white;
    color: var(--color-primary);
    cursor: pointer;
}

.search-page .goto-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 12px;
    font-family: Inter;
    font-size: 14px;
    line-height: 20px;
}

.search-page .goto-input {
    width: 56px;
    padding: 6px 8px;
    border: 1px solid #EEF4F6;
    border-radius: 6px;
    font-family: Inter;
    line-height: 20px;
    font-size: 14px;
    text-align: center;
}

.search-page .sticky-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.search-page .sticky-content {
    position: sticky;
    top: 75px;
}

    .search-page .sticky-content img {
        width: 100%;
    }

@media screen and (max-width: 1200px) {
    .search-page .pagination-container {
        padding: 18px 0px;
    }

    .search-page .showing-text {
        display: none;
    }
}

@media screen and (max-width: 996px) {
    .search-page .content .story {
        width: 100%;
    }

    .search-page .content .banner {
        display: none;
    }

    .search-page .pagination-container {
        justify-content: center;
    }

        .search-page .pagination-container > *:not(.pagination-nav) {
            display: none;
        }

    .search-page .content .taTabs__content > * {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .search-page .content .taTabs__content .mobile-title {
        display: flex;
        width: 100%;
        margin-bottom: 8px;
    }

        .search-page .content .taTabs__content .mobile-title .title {
            margin-bottom: 0px;
            font-size: 18px;
            line-height: 23px;
        }

    .search-page .content .taTabs__content > * .info .text {
        font-size: 14px;
        line-height: 20px;
    }

    .search-page .content .taTabs__content > * .info-wrapper .title-wrap {
        display: none;
    }

    .search-page .content .taTabs__content > * .info .text > * {
        --line-num: 2;
    }

    .search-page .content .taTabs__content > * .thumb {
        width: 35%;
        min-width: 120px;
        margin-left: 0px;
        margin-right: 8px;
    }
}

@media screen and (max-width: 576px) {
    .search-page .pagination-container {
        display: none;
    }

    .search-page {
        padding: 16px 0 24px;
    }
}
