.textNews {
    padding: 5px 10px;
    display: inline-block;
}

.linkNews {
    padding: 10px;
    max-width: 240px;
    cursor: pointer;
}

.imgNews {
    display: inline-block;
    overflow: hidden;
    position: relative;

    &>div {
        .img {
            min-width: 40px;
            min-height: 40px;
            max-width: 160px;
            max-height: 160px;
            cursor: pointer;
        }
    }

    .mask {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        background-color: rgba(0, 0, 0, .3);
        display: flex;
        justify-content: center;
        align-items: center;

        &>img {
            width: 20px;
            height: 20px;
            display: inline-block;
            cursor: pointer;
        }
    }
}

.miniprogramNews {
    width: 80%;
    max-width: 220px !important;
    box-sizing: border-box;

    &>.imgBack {
        position: relative;

        &>img {
            width: 100%;
            display: inline-block;
        }

        &>.details {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: all 0.5s;
            &:hover {
                opacity: 1;
            }

            &>div {
                width: 100%;
                word-break: break-all;
                text-align: center;
            }
        }
    }

    .footer {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}

.video {
    width: 100%;
    max-width: 320px;
    max-height: 600px;
    display: block;
    margin: auto;
}

.fileNews {
    padding: 10px;
    display: flex;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;

    .file_detail {
        width: calc(100% - 60px);
        position: relative;
    }

    .file_download {
        position: absolute;
        top: 50%;
        right: 0px;
        transform: translateY(-50%);
        z-index: 6;
        display: none;
        background-color: #ebebeb;
        padding: 2px;
        border-radius: 50%;
    }

    &:hover .file_download {
        display: block;
    }
}

.audioNews {

    display: flex;
    align-items: center;
    gap: 10px;

    .weap {
        width: 81px;
        height: 38px;
        cursor: pointer;
        position: relative;

        &::before {
            content: "";
            position: absolute;
            left: 15px;
            top: 10px;
            width: 14px;
            height: 18px;
            background-image: url(../../../../public/image/audio-left.png);
            background-size: 42px 18px;
            background-repeat: no-repeat;
            background-position: -28px 0;
        }
    }

    .play::before {
        animation: audioLeft 1.5s step-start infinite
    }

}

@keyframes audioLeft {

    0%,
    to {
        background-position: -28px 0
    }

    33% {
        background-position: 0
    }

    66% {
        background-position: -14px 0
    }
}

@keyframes audioRight {

    0%,
    to {
        background-position: 0
    }

    33% {
        background-position: -28px 0
    }

    66% {
        background-position: -14px 0
    }
}