.news-height{
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    height: auto;
    margin: 0 auto;
    padding: 0 1rem;
    margin-bottom: 20px;
    overflow: hidden;
    background-color: #EDEFF4;
    border: 1px solid rgba(0,0,0,0.1);
    h2{
        font-size: 23px;
        font-weight: bold;
        margin-bottom: 20px;
        color:#282828;
    }

    @media screen and (max-width:849px) {
            h2 {
                padding-left:6px;
                font-size: 2.5rem;
            }
    }



    .first-items{
        width: 100%;
        height: 100%;
        overflow: hidden;
        .image{
            width: 100%;
            height: 520px;
            border-radius: 5px;
            overflow: hidden;
            position: relative;
            flex-grow: 1;
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center top;
                z-index: 50;
                position: absolute;

            }
        }
        .message {
            color:rgba(235, 228, 228, 0.959);
            position: absolute;
            z-index: 50;
            background-color: #222326;
            /* background-color: #323336;; */
            /* background-color: rgba(65, 67, 68, 0.979); */
            width: 100%;
            min-height: 70px;
            padding:20px;
            padding-left:20px;
            padding-right: 20px;
            font-weight: bold;
            font-size: 20px;
            align-items: center;
            bottom: 0;

        }
    }

    @media screen and (max-width:950px) {
      

        .first-items{
            width: 100%;
            height: 290px;
            .image{
                width: 100%;
                height: 100%;
                img{
                    position: relative;
                }
            }

            .message{
                font-size: 1.7rem;
            }
        }
    }

    .last-items-height{
        display: flex;
        flex-direction: row;
        flex-wrap:wrap;
        width: 100%;
        height: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        gap:10px;
        .items {
            width: 23.7%;
            overflow: hidden;
            height: 100%;
            /* margin-left: 20px; */
            /* margin-bottom: 20px; */
            color: #ebe8e8;
            background-color: rgba(33, 50, 61, 0.979);
            border-top-left-radius: 10px;
            border-top-right-radius: 10px;
            flex-grow: 1;
            line-height: 1.6rem;
            .image{
                width: 100%;
                height: 100%;
                border-top-left-radius: 10px;
                border-top-right-radius: 10px;
                overflow: hidden;
                img {
                    object-fit: cover;
                    width: 100%;
                    height: 100%;
                    object-position: center top;
       
                }
            }
            .title{
                font-size: 15px;
                padding:10px;
                font-weight: 500;
                word-wrap: break-word;
                line-height: 2.5rem;
                /* font-weight: bold; */
            }

            @media  screen and (max-width:1024px) {
                .title{
                    font-size: 1.7rem;
                }
            }

            .timer {
                width: 100%;
                padding-left:10px;
                padding-right:10px;
                padding-top: 10px;
                display: flex;
                flex-direction: row;
                color: rgba(255, 255, 255, 0.925);
                .icon {
                    width: 12px;
                    height: auto;
                    margin-top:-2px;
                }
                .label {
                    font-size: 12px;
                    color: rgba(255, 255, 255, 0.925);
                }

            }
        }
   
        .items:nth-last-child(1):nth-child(odd),
        .items:only-child
        {
            width: 100%;
            .image {
                height:auto;
            }
            .title{
                font-size: 20px;
            }
        }
    }

    @media screen and (max-width:1200px) {
        .last-items-height{
            flex-direction: row;
            flex-wrap: wrap;
            justify-content: center;
            .items{
                width: 45%;
                /* margin-bottom:20px; */
                flex-grow: 1;
                .image{
                    height: 220px;
                }

                @media screen and (max-width:310px) {
                        .image {
                            height: 145px;
                        }
                }
            }
        }
    }

    @media screen and (max-width:620px) {
        .last-items-height{
            flex-direction: column;
            margin-left: 0;
            .items{
                width: 100%;
                margin-left:0;
                /* margin-bottom:20px; */
                flex-grow: 1;
                .image{
                    height: 220px;
                }

                @media screen and (max-width:310px) {
                        .image {
                            height: 145px;
                        }
                }
            }
        }
    }
}

