@import '../../../style/variables.scss';

.protected-event-details{
    .protected-head{
        .card-action{
            .link{
                font-size: 16px;
                padding: 8px 10px;
                @media only screen and (min-width: 1441px) {
                    font-size: 22px;
                    gap: 10px;
                    padding: 15px 10px;
                }
                i{
                    font-size: 16px;
                    @media only screen and (min-width: 1441px) {
                        font-size: 22px;
                    }
                }
            }
        }
    }
    .event-details-wrapper{
        padding: 16px;
        @media only screen and (min-width: 640px) {
            padding: 20px;
        }
        .event-details-body{
            padding-top: 20px;
            border-top: 1px solid $mainBorder;
            @media only screen and (min-width: 768px) {
                padding-left: 20px;
                padding-top: 0;
                border-left: 1px solid $mainBorder;
                border-top: none;
            }
            .event-list-wrapper{
                margin-bottom: 30px !important;
                &:last-child{
                    margin: 0 !important;
                }
            }
        }
        .stock-list{
            margin: 0 -10px 14px;
            grid-row-gap: 20px;
            margin-bottom: 14px;
            align-items: stretch;
            @media only screen and (min-width: 1024px) {
                margin: 0 -10px 20px;
            }
            li{
                padding: 0 10px;

                .inner{
                    background: $LightCream;
                    border: 1px solid $mainBorder;
                    padding: 16px;
                    width: 100%;
                    height: 100%;
                    @media only screen and (min-width: 1441px) {
                        padding: 20px;
                    }
                    .count{
                        font-size: 18px;
                        line-height: 1;
                        color: $btnText;
                        margin-bottom: 12px;
                        @media only screen and (min-width: 640px) {
                            font-size: 20px;
                        }
                        @media only screen and (min-width: 1441px) {
                            font-size: 36px;
                            margin-bottom: 20px;
                        }
                    }
                    p{
                        line-height: 1;
                        // word-break: break-all;
                        @media only screen and (min-width: 1441px) {
                            font-size: 24px;
                        }
                    }
                }
            }
        }
        .status-label{
            gap: 0;
            margin-bottom: 14px;
            @media only screen and (min-width: 1024px) {
                margin-bottom: 16px;
            }
            .link{
                margin-right: 12px;
            }
        }
        .title{
            font-size: 18px;
            color: $btnText;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 10px;
            @media only screen and (min-width: 1441px) {
                font-size: 20px;
                margin-bottom: 20px;
            }
        }
        .event-caption{
            font-size: 16px;
            line-height: 22px;
            color: $primary;
            margin-bottom: 10px;
            @media only screen and (min-width: 1441px) {
                font-size: 18px;
                margin-bottom: 16px;
            }
        }
        .description{
            font-size: 14px;
            line-height: 1.5;
            color: $darkGrey;
            font-family: "Forum";
            white-space: break-spaces;
            margin-bottom: 14px;
            font-family: '__Forum_26cbd8', '__Forum_Fallback_26cbd8';
            font-weight: 400;
            font-style: normal;
            &:last-child{
                margin: 0;
            }
            @media only screen and (min-width: 1024px) {
                margin-bottom: 20px;
            }
            @media only screen and (min-width: 1441px) {
                font-size: 22px;
            }
        }
        .slider-wrapper{
            padding-bottom: 20px;
            @media only screen and (min-width: 768px) {
                padding-right: 20px;
            }
            .static-image{
                img,video{
                    width: 100%;
                    max-height: 400px;
                    object-fit: cover;
                }
            }
            .slider-thumbnail{
                margin: 14px -7px 0;
                @media only screen and (min-width: 640px) {
                    margin: 20px -10px 0;
                }
                .thumbnail-image{
                    margin: 0 7px;
                    @media only screen and (min-width: 640px) {
                        margin: 0 10px;
                    }
                    &:first-child{
                        width: 100%;
                        img,video{
                            height: 300px;
                            @media only screen and (max-width: 480px){
                                height: 230px;
                            }
                            @media only screen and (min-width: 640px) {
                                height: 320px;
                            }
                            @media only screen and (min-width: 1441px) {
                                height: 350px;
                            }
                        }
                    }
                    img,video{
                        width: 100%;
                        object-fit: cover;
                        border: 1px solid $primary;
                        cursor: pointer;
                        height: 40px;
                        @media only screen and (min-width: 480px){
                            height: 80px;
                        }
                        @media only screen and (min-width: 1441px) {
                            height: 100px;
                        }
                    }
                    cursor: pointer;
                    .count{
                        position: relative;
                        .count-text{
                            position: absolute;
                            top: 0;
                            left: 0;
                            margin: 0;
                            color: $white;
                            width: 100%;
                            height: 100%;
                            background: #00000094;
                        }
                    }
                }
            }
        }
    }
}
