﻿.short-page {
    padding: 40px 0;
    background: linear-gradient(#000000CC, #000000CC), url('../../images/category-swiper-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.short-video {
    position: relative;
    width: calc((100vh - 128px) * 9 / 16);
    margin: 0 auto;
    height: calc(100vh - 128px);
}

.short-video__asp {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    background-color: red;
    border-radius: 16px;
}

.swiper {
    height: calc(100vh - 128px);
    /* overflow: hidden; */
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.short-video__asp::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 28.85%, rgba(0, 0, 0, 0.8) 115.23%);
}

.short-video__inner {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
}

.short-control {
    position: absolute;
    top: 5%;
    left: 100%;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
}

    .short-control > * {
        border: none;
        background-color: transparent;
        cursor: pointer;
    }

    .short-control .desktop-btn {
        width: 75px;
        height: 56px;
        margin-top: unset;
        position: relative;
        right: 0;
        left: 0;
    }

        .short-control .desktop-btn svg {
            width: 24px;
            height: 24px;
        }

.short-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 10;
}

.short-info__title {
    font: 700 18px/28px var(--serif-font);
    color: #fff;
}

.short-info__description, .short-info__post-time {
    display: none;
}

.short-tool {
    position: absolute;
    left: 100%;
    bottom: 10%;
    padding: 0 16px;
}

    .short-tool > * {
        width: 75px;
        height: 65px;
        border: none;
        background-color: transparent;
        color: #fff;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        line-height: 149%;
        font-family: var(--roboto-font), sans-serif;
    }

        .short-tool > * span {
            white-space: nowrap;
            margin-top: 3px;
        }

        .short-tool > *:nth-last-child(n+2) {
            margin-bottom: 8px;
        }

.mobile-btn {
    display: none;
}

.swiper-button-next, .swiper-button-prev {
    position: relative;
}

    .swiper-button-next::after, .swiper-button-prev::after {
        display: none;
    }

@media screen and (max-width: 578px) {
    menu {
        display: none;
    }

    .short-page {
        padding: 0;
        background: none;
        height: 100vh;
    }

    .short-video {
        width: 100%;
        height: 100%;
    }

    .short-video__asp {
        padding-top: unset;
        height: 100%;
        border-radius: 0;
    }

    .short-video__inner {
        width: 100%;
        height: 100%;
    }

    .short-info__title {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 8px;
    }

    .short-info__description {
        display: block;
        font-size: 14px;
        line-height: 20px;
        color: #fff;
        margin-bottom: 8px;
        font-family: var(--inter-font);
    }

    .short-info__post-time {
        display: block;
        font-family: var(--roboto-font);
        font-size: 12px;
        line-height: 16px;
        color: #fff;
    }

    .short-tool {
        left: unset;
        right: 0;
        bottom: 220px;
        z-index: 11;
    }

        .short-tool > * {
            width: 54px;
            height: 60px;
            font-size: 10px;
            line-height: 16px;
        }

            .short-tool > *:nth-last-child(n+2) {
                margin-bottom: 0;
            }

    .short-control {
        top: 36px;
        width: 100%;
        left: unset;
        right: 0;
        z-index: 11;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

        .short-control .desktop-btn {
            display: none;
        }

    .mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: #FFFFFF33;
    }

        .mobile-btn svg {
            width: 24px;
            height: 24px;
        }

    .short-control > *:last-child {
        margin-right: 6px;
    }

    .swiper {
        height: 100%;
    }
}
