/*Social Media Section*/
.sm-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.sm-grid {
    /* display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-gap: 10px;
    padding-top: var(--spacing-32);
    padding-bottom: var(--spacing-256); */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--column-width)), 1fr));
    grid-gap: var(--grid-gap);
    padding-top: var(--spacing-32);
    padding-bottom: var(--spacing-256);
    justify-content: center;
    max-width: calc(var(--column-width) * var(--max-columns) + (var(--max-columns) - 1) * var(--grid-gap));
    width: 100%;
    margin: 0 auto;
}

.sm-grid.sm-grid-6, .sm-grid.sm-grid-5 {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.sm-grid.sm-grid-1, .sm-grid.sm-grid-2, .sm-grid.sm-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 305px), 305px));
}

.sm-wrapper{

        overflow-x: scroll;
        width: 100%;
        padding: 0 5px;

}

.sm-item {
    width: 100%;
    aspect-ratio: 9/16;
    will-change: transform;
}

.sm-link {
    width: 100%;
    height: 100%;
    display: block;
}

.sm-link video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sm-wrapper.center-wrapper{
    display: flex;
    justify-content: center;
}

@media (max-width: 1080px) {
    /*social media section*/



    .sm-grid {
        grid-template-columns: unset;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 1vw;
        padding-bottom: 180px;
        margin:unset;
        justify-content:center;

        width: max-content !important;
        max-width: none !important;
    }

    .sm-item {
        flex-shrink: 0;
        width: 30vw;
    }



    .sm-grid::-webkit-scrollbar {
        display: none;
    }

    .sm-grid.sm-grid-3, .sm-grid.sm-grid-2, .sm-grid.sm-grid-1 {
        justify-content: center;
    }
}