/* Aapolix Shorts */

.apx-shorts{
    display:grid;
    gap:20px;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
}

.apx-short-card{

    background:#fff;

    border:1px solid #e5e5e5;

    border-radius:12px;

    overflow:hidden;

}

.apx-short-video-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.apx-short-player {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    background: #000;
}

.apx-short-category {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 999;

    display: inline-block;
    padding: 6px 12px;

    background: rgba(0, 0, 0, 0.75);
    color: #fff;

    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
}

.apx-short-title{

    padding:6px 16px 16px;

    margin:0;

    font-size:16px;

    line-height:1.4;

}

.apx-short-card .apx-btn{

    display:block;

    margin:0 16px 16px;

    text-align:center;
	 border-radius: 20px;
	 background: rgba(0, 0, 0, 0.75);
    color: #fff;

}
.apx-short-player{
    width:100%;
    aspect-ratio:9 / 16;
    object-fit:cover;
    display:block;
    background:#000;
    border-radius:12px 12px 0 0;
}

/* Tablet */

@media (max-width:991px){

    .apx-shorts{

        grid-template-columns:repeat(2,1fr);

    }

}

/* Mobile */

@media (max-width:640px){

    .apx-shorts{

        grid-template-columns:1fr;

    }

}