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

    width: 100%;

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

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

        width: 100%;

        margin-bottom: 47px;
    }

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

        .PostNewsHeader__Titul {
            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){
            .PostNewsHeader__Titul {
                justify-content: center;
            }
        }

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

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

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

            width: 100%;
        }

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

            .PostNewsHeader__Title > h2 {
                text-align: left;
            }

            @media screen and (max-width: 550px){
                .PostNewsHeader__Title > h2 {
                    text-align: center;
                }
            }

    .PostNews__Block {
        display: grid;
        align-items: flex-start;
        justify-content: space-between;

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

        width: 100%;

        gap: 17px;
        margin-bottom: 47px;
    }

        .PostNewsBlock__Demo {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            border-radius: 3px;

            width: 100%;

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

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

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

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

                filter: grayscale(0.7);
                transition: 0.4s;
            }

                .PostNewsBlock__Demo:hover > img {
                    transition: 0.2s;
                    filter: grayscale(0.0);
                }

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

            width: 100%;
        }

            .PostNewsBlockData__Item {
                display: flex;
                flex-direction: row;
                align-items: flex-start;
                justify-content: space-between;

                border-top: 1px solid rgba(255, 237, 177, 0.1);

                width: 100%;

                padding-top: 14px;
                margin-top: 14px;
            }

                .PostNewsBlockData__Item:nth-of-type(1) {
                    border-top: unset;

                    padding-top: unset;
                    margin-top: unset;
                }

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

                    width: 100%;
                }

                    .PostNewsBlockDataItem__Name > i {
                        display: flex;
                        flex-direction: row;
                        align-items: center;
                        justify-content: center;

                        color: rgba(255, 237, 177, 0.1);

                        margin-right: 7px;
                        transition: 0.4s;
                    }

                    .PostNewsBlockData__Item:hover > .PostNewsBlockDataItem__Name > i {
                        transition: 0.2s;
                        color: rgba(255, 237, 177, 0.3);
                    }

                .PostNewsBlockDataItem__Value {
                    display: block;
                    text-align: right;
                    white-space: nowrap;
                }

    .PostNews__Content {
        display: block;

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

        width: 100%;

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

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

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

        width: 100%;

        gap: 17px;
    }

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

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

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

        .PostNewsGallery__Item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;

            background: url( '/wp-content/themes/sizif-app-version/assets/images/system/themes/sizif-themes-background-box-350x250-v1.svg' ), rgb(60, 64, 68);
            background-size: cover;
            background-position: top right;
            background-repeat: no-repeat;

            border-radius: 3px;
            width: 100%;
            height: 100%;

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

            .PostNewsGallery__Item:hover {
                transition: 0.2s;

                background: url( '/wp-content/themes/sizif-app-version/assets/images/system/themes/sizif-themes-background-box-350x250-v1.svg' ), rgb(64, 68, 72);
                background-size: cover;
                background-position: top right;
                background-repeat: no-repeat;

                box-shadow: 0px 0px 37px rgba(255, 237, 177, 0.3);
            }

            .PostNewsGallery__Item:nth-of-type(4) {
                box-shadow: unset;
            }

                .PostNewsGallery__Item:nth-of-type(4):hover {
                    transition: 0.2s;
                    box-shadow: unset;
                }

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

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

                filter: grayscale(0.7);
                transition: 0.4s;
            }

                .PostNewsGallery__Item:hover > img {
                    transition: 0.2s;
                    filter: grayscale(0);
                }

            .PostNewsGallery__Item > a {
                display: block;

                text-align: center;

                max-width: 150px;

                margin: 17px;
            }

                .PostNewsGallery__Item:nth-of-type(4):hover > a {
                    transition: 0.2s;
                    color: rgb(247, 197, 47);
                }