﻿.trend-page {
    padding: 32px 0;
}

    .trend-page > .title {
        font-family: Source Serif;
        font-weight: 600;
        font-size: 32px;
        line-height: 40px;
    }

    .trend-page .content {
        padding-top: 32px;
        margin-top: 32px;
        border-top: 1px solid #383F42;
        display: flex;
        justify-content: space-between;
    }

        .trend-page .content .story {
            width: 71%;
        }

        .trend-page .content .list .mobile-title {
            display: none;
        }

        .trend-page .content .list > * {
            flex-direction: row-reverse;
        }

            .trend-page .content .list > *:nth-last-child(n+2) {
                margin-bottom: 16px;
                padding-bottom: 16px;
                border-bottom: 1px solid #BFC6C9;
            }

            .trend-page .content .list > * .thumb {
                width: 27.97%;
                margin-bottom: 0px;
                margin-left: 32px;
                min-width: 240px;
            }

            .trend-page .content .list > * .info-wrapper {
                flex: 1;
            }

            .trend-page .content .list > * .title {
                font-size: 20px;
                line-height: 25px;
                margin-bottom: 8px;
            }

            .trend-page .content .list > * .info .text {
                font-size: 16px;
                line-height: 24px;
            }

                .trend-page .content .list > * .info .text > * {
                    --line-num: 2;
                }

        .trend-page .content .banner {
            width: 22.79%;
            position: relative;
        }

            .trend-page .content .banner a > * {
                width: 100%;
                object-fit: cover;
                border-radius: 8px;
            }

    .trend-page .pagination-container {
        display: flex;
        align-items: center;
        padding: 18px 24px;
        margin-top: 16px;
        border-top: 1px solid #BFC6C9;
        margin-bottom: 58px;
    }

    .trend-page .showing-text {
        font-family: Inter;
        font-size: 14px;
        line-height: 20px;
    }

    .trend-page .pagination-nav {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .trend-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;
    }

    .trend-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;
    }

        .trend-page .page-btn:hover:not(.active) {
            background-color: #f0f0f0;
            border-color: #bbb;
        }

        .trend-page .page-btn.active {
            background-color: var(--color-primary);
            border-color: var(--color-primary);
            color: white;
        }

    .trend-page .ellipsis {
        padding: 0 8px;
        color: #666;
        font-size: 14px;
    }

    .trend-page .per-page-controls {
        margin-left: auto;
    }

    .trend-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;
    }

    .trend-page .goto-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        padding-left: 12px;
        font-family: Inter;
        font-size: 14px;
        line-height: 20px;
    }

    .trend-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;
    }

    .trend-page .sticky-wrap {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .trend-page .sticky-content {
        position: sticky;
        top: 75px;
    }

        .trend-page .sticky-content img {
            width: 100%;
        }

@media screen and (max-width: 1200px) {
    .trend-page .pagination-container {
        padding: 18px 0px;
    }

    .trend-page .showing-text {
        display: none;
    }
}

@media screen and (max-width: 996px) {
    .trend-page {
        padding: 16px 0 24px;
    }

        .trend-page .content .story {
            width: 100%;
        }

        .trend-page .content .banner {
            display: none;
        }

        .trend-page .pagination-container {
            justify-content: center;
            margin-bottom: 0px;
        }

            .trend-page .pagination-container > *:not(.pagination-nav) {
                display: none;
            }

        .trend-page .content .list > * {
            flex-direction: row;
            flex-wrap: wrap;
        }

        .trend-page .content .list .mobile-title {
            display: flex;
            width: 100%;
            margin-bottom: 8px;
        }

            .trend-page .content .list .mobile-title .title {
                margin-bottom: 0px;
                font-size: 18px;
                line-height: 23px;
            }

        .trend-page .content .list > * .info .text {
            font-size: 14px;
            line-height: 20px;
        }

        .trend-page .content .list > * .info-wrapper .title-wrap {
            display: none;
        }

        .trend-page .content .list > * .info .text > * {
            --line-num: 2;
        }

        .trend-page .content .list > * .thumb {
            width: 35%;
            min-width: 120px;
            margin-left: 0px;
            margin-right: 8px;
        }
}

@media screen and (max-width: 576px) {
    .trend-page .pagination-container {
        display: none;
    }

    .trend-page {
        padding: 16px 0 24px;
    }
}
