/* Style the post of photos */
.SinglePhotos {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;

    width: 100%;

    padding-left: 17px;
    padding-right: 17px;
}

    .SinglePhotos__Block {
        display: grid;
        align-items: center;
        justify-content: flex-start;

        grid-template-columns: repeat( auto-fit, minmax( 300px, 1fr ) );

        width: 100%;

        gap: 17px;
    }

    @media screen and (max-width: 651px){
        .SinglePhotos__Block {
            grid-template-columns: repeat( auto-fit, minmax( 250px, 1fr ) );
        }
    }

        @media screen and (max-width: 551px){
            .SinglePhotos__Block {
                grid-template-columns: repeat( auto-fit, minmax( 180px, 1fr ) );
            }
        }

            @media screen and (max-width: 411px){
                .SinglePhotos__Block {
                    grid-template-columns: repeat( auto-fit, minmax( 125px, 1fr ) );
                }
            }

        .SinglePhotos__Block > img {
            border-radius: 3px;

            width: 100%;
            height: auto;
            /* max-width: 512px; */

            transition: 0.4s;
            box-shadow: 0px 0px 37px rgba(255, 237, 177, 0.1);
        }

            .SinglePhotos__Block > img:hover {
                transition: 0.2s;
                box-shadow: 0px 0px 37px rgba(255, 237, 177, 0.3);
            }

        .SinglePhotos__Block > .PageOrderPromo {
            grid-column: 3 span;

            margin-top: 77px;
            margin-bottom: 77px;
        }

        @media screen and (max-width: 970px){
            .SinglePhotos__Block > .PageOrderPromo {
                grid-column: 2 span;
            }
        }

    .SinglePhotos__PreviewNews {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        width: 100%;

        margin-bottom: 47px;
    }

        .SinglePhotosPreviewNews__Header {
            display: flex;
            flex-direction: row;
            align-items: flex-start;
            justify-content: flex-start;

            width: 100%;

            margin-bottom: 17px;
        }

            .SinglePhotosPreviewNewsHeader__Icon {
                display: flex;
                flex-direction: row;
                align-items: center;
                justify-content: center;

                background: rgba(255, 237, 177, 0.1);
                border-radius: 100%;

                padding: 7px;
                margin-right: 17px;
            }

            @media screen and (max-width: 550px){
                .SinglePhotosPreviewNewsHeader__Icon {
                    display: none;
                }
            }

                .SinglePhotosPreviewNewsHeader__Icon > img {
                    background: rgb(60, 64, 68);
                    border-radius: 100%;

                    width: 36px;
                    height: auto;
                    max-width: 56px;

                    padding: 7px;
                }

            .SinglePhotosPreviewNewsHeader__Data {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: flex-start;

                width: 100%;
            }

                .SinglePhotosPreviewNewsHeaderData__DoubleTitul {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: space-between;

                    width: 100%;
                }

                    .SinglePhotosPreviewNewsHeaderDataDoubleTitul__Name {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: flex-start;

                        color: rgb(97, 107, 117);
                        font-size: 14px;
                        font-weight: 400;
                        text-align: left;

                        width: 100%;
                    }

                    @media screen and (max-width: 550px){
                        .SinglePhotosPreviewNewsHeaderDataDoubleTitul__Name {
                            display: none;
                        }
                    }

                    .SinglePhotosPreviewNewsHeaderDataDoubleTitul__Value {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: flex-end;

                        color: rgb(217, 221, 225);

                        width: 100%;
                    }

                    @media screen and (max-width: 550px){
                        .SinglePhotosPreviewNewsHeaderDataDoubleTitul__Value {
                            justify-content: center;
                            text-align: center;
                        }
                    }

                        .SinglePhotosPreviewNewsHeaderDataDoubleTitul__Value > span {
                            color: rgb(247, 197, 47);

                            margin-left: 4px;
                            margin-right: 4px;
                        }

                .SinglePhotosPreviewNewsHeaderData__Title {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    justify-content: flex-start;

                    width: 100%;
                    max-width: 700px;
                }

                @media screen and (max-width: 550px){
                    .SinglePhotosPreviewNewsHeaderData__Title {
                        justify-content: center;
                        
                        text-align: center;
                        word-break: break-word;
                        white-space: normal;
                    }
                }

        .SinglePhotosPreviewNews__Content {
            display: block;

            border-top: 1px solid rgb(64, 68, 72);
            border-bottom: 1px solid rgb(64, 68, 72);

            text-align: left;
            word-break: break-word;
            white-space: normal;

            width: 100%;

            padding-top: 17px;
            padding-bottom: 17px;
            margin-bottom: 17px;
        }

        .SinglePhotosPreviewNews__Functions {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;

            width: 100%;
        }