.UINewestNewsInDetail {
        margin-bottom: 20px;
}
.UINewestNewsInDetail .news-same-category,
.UINewestNewsInDetail .news-other{
        display: block;
        margin-top: 20px;
        box-shadow: var(--box-category);
        /*! width: 840px; */
        border-radius: 4px;
        padding: 5px;
}
.UINewestNewsInDetail .news-same-category .title,
.UINewestNewsInDetail .news-other .title{
        display: flex;
        justify-content: space-between;
        margin-bottom: 5px;
        width: 100%;
        height: 40px;
        position: relative;
        padding-right: 10px;
}
.UINewestNewsInDetail .news-same-category .title:after,
.UINewestNewsInDetail .news-other .title:after{
        content: '';
        position:absolute;
        width: 120px;
        height: 1.5px;
        background-color: var(--color-primary);
        bottom: 5px;
        left: 30px;
}
.UINewestNewsInDetail .news-same-category .title-left,
.UINewestNewsInDetail .news-other .title{
        font-family: "Inter";
        font-size: 16px;
        font-weight: 700;
        line-height: 40px;
        text-align: left;
        color: #031739;
        text-transform: uppercase;
        padding-left: 30px;
        background: url(images/logo.png) no-repeat left;
        background-size: 20px;
        background-position-x: 5px;
}
.UINewestNewsInDetail .news-same-category .title-right{
        display: flex;
        gap: 10px;
        align-items: center;
}
.UINewestNewsInDetail .news-same-category .title-right .desc{
        font-family: "Inter";
        font-size: 14px;
        font-weight: 500;
        line-height: 21px;
        letter-spacing: 0.02em;
        text-align: left;
        color: #3C3B43;
}
.UINewestNewsInDetail .news-same-category .title-right .search-box-date input{
        background: url(images/calendar.png) no-repeat right;
        background-position-x: 95px;
        background-color: #F2F5F8;
        width: 120px;
        padding: 9px 20px 9px 12px;
        height: 30px;
        border-radius: 8px;
        border: 0;
        font-family: "Roboto";
        cursor: pointer;
}
.UINewestNewsInDetail .news-same-category .title-right .search-box-button a{
        padding: 4px 8px;
        height: 29px;
        border-radius: 4px;
        background: var(--color-primary);
        font-family: Inter;
        font-size: 14px;
        font-weight: 500;
        line-height: 21px;
        letter-spacing: 0.02em;
        text-align: left;
        color: #ffffff;
}
.UINewestNewsInDetail .news-same-category .content-top{
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
}
.UINewestNewsInDetail .news-same-category .content-top .item{
        width: calc((1180px - 60px) / 4 );
        padding: 10px;
        border-radius: 4px;
        border: 1px solid #f2f2f2;
}
.UINewestNewsInDetail .news-same-category .content-top .item.no-img .image-wrapper{
        display: none;
}
.UINewestNewsInDetail .news-same-category .content-top .item .item-image{
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        height: 175px;
}
.UINewestNewsInDetail .news-same-category .content-top .item .item-title{
        /* margin-top: 10px; */
        font-size: 16px;
        font-weight: 700;
        line-height: 23px;
        letter-spacing: 0.002em;
        text-align: left;
        color: #212529;
        /* height: 69px; */
        /* overflow: hidden; */
        /* display: -webkit-box; */
        /* -webkit-line-clamp: 3; */
        /* number of lines to show */
        line-clamp: 3;
        /* -webkit-box-orient: vertical; */
        font-family: 'Merriweather';
        margin-bottom: 10px;
}
.UINewestNewsInDetail .news-same-category .content-top .item .item-title:hover{
        color: #DA251C;
}
.UINewestNewsInDetail .news-same-category .content-top .item .item-sapo,
.UINewestNewsInDetail .news-same-category .content-top .item .item-date{
        display: none;
}
.UINewestNewsInDetail .news-same-category .content-top .item.no-img .item-sapo{
        display: inline-block;
        font-family: "Roboto";
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        color: #484848;
}
.UINewestNewsInDetail .news-other .content-bottom{
        margin: 5px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        /* margin-bottom: 20px; */
}
.UINewestNewsInDetail .news-other .content-bottom .item{
        display: grid;
        row-gap: 10px;
        column-gap: 20px;
        grid-template-columns: 280px auto;
        grid-template-rows: 60px 105px;
        /* margin-bottom: 10px; */
        width: calc(50% - 10px);
        padding: 10px;
        border-radius: 4px;
        box-shadow: rgb(0 0 0 / 8%) 0px 10px 6px 0px, rgb(0 0 0 / 3%) 0px 0px 0px 1px;
}
.UINewestNewsInDetail .news-other .content-bottom .item.no-img{
        display: block;
        padding: 20px 10px;
}
.UINewestNewsInDetail .news-other .content-bottom .item:hover,
.UINewestNewsInDetail .news-same-category .content-top .item:hover{
        background: #f2f2f240;
}
.UINewestNewsInDetail .news-other .content-bottom .item.no-img .image-wrapper{
        display: none;
}
.UINewestNewsInDetail .news-other .content-bottom .item .image-wrapper{
        grid-column: 1/1;
        grid-row: 1/2;
        height: 175px;
}
.UINewestNewsInDetail .news-other .content-bottom .item .item-image {
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border: 1px solid #eeeeee;
        grid-column: 1/1;
        grid-row: 1/2;
        height: 175px;
}
.UINewestNewsInDetail .news-other .content-bottom .item .item-title{
        grid-column: 2/2;
        grid-row: 1/1;
}
.UINewestNewsInDetail .news-other .content-bottom .item.no-img .item-title{
        grid-column: 1/3;
}
.UINewestNewsInDetail .news-other .content-bottom .item .item-title .title-wrapper{
        color: #212529;
        font-family: 'Merriweather';
        font-size: 18px;
        font-weight: 700;
        line-height: 25px;
        text-align: left;
        margin-bottom: 10px;
}
.UINewestNewsInDetail .news-other .content-bottom .item .item-title .title-wrapper:hover{
        color: #DA251C;
}
.UINewestNewsInDetail .news-other .content-bottom .item .item-sapo{
        grid-column: 2/2;
        grid-row: 2/2;
}
.UINewestNewsInDetail .news-other .content-bottom .item.no-img .item-sapo{
        grid-column: 1/3;
}
.UINewestNewsInDetail .news-other .content-bottom .item .item-sapo .sapo-wrapper{
        font-family: 'Roboto';
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        text-align: left;
        color: #484848;
}
.UINewestNewsInDetail .news-other .content-bottom .item .item-date{
        display: none;
}
.UINewestNewsInDetail .news-other .view-more{
        width: 100%;
        text-align: center;
}
.UINewestNewsInDetail .news-other .view-more a{
        display: block;
        width: 100%;
        border: 1px solid #EEEEEE;
        background: #F9F9F9;
        color: #7D92AE;
        font-family: "Inter";
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        padding: 8px 0;
        cursor: pointer;
        margin: 20px 0;
}
.ui-datepicker{
        border-radius: 0;
        width: 250px;
}
.ui-datepicker-header{
        background: var(--color-primary);
        border-radius: 0;
        color: #ffffff;
        font-family: "Merriweather";
        border: 1px solid #f9f9f9;
}
.ui-datepicker-prev, .ui-datepicker-next{
        border-radius: 0;
        margin-top: 5px;
}
.ui-datepicker-prev:hover, .ui-datepicker-next:hover{
        background: #ffffff;
}
.ui-datepicker-calendar{
        font-family: "Roboto";
}
.ui-state-default{
        background: var(--color-primary) !important;
        color: #ffffff !important;
        opacity: 0.8;
}
.ui-state-default:hover{
        opacity: 1;
}
@media only screen and (max-width: 768px){
        .UINewestNewsInDetail{
                padding: var(--padding-res);
                max-width: 100vw;
                margin: 0;
        }
        .UINewestNewsInDetail .news-other{
                padding: 10px 0;
        }
        .UINewestNewsInDetail .news-same-category{
                display: none;
        }
        .UINewestNewsInDetail .news-same-category .title{
                flex-wrap: wrap;
                gap: 10px;
        }
        .UINewestNewsInDetail .news-same-category .content-top .item{
                width: 100%;
                margin-bottom: 20px;
                padding-bottom: 20px;
                border-bottom: 1px solid #F1F3F4;
        }
        .UINewestNewsInDetail .news-same-category .content-top .item .item-title{
                font-family: Merriweather;
                font-size: 20px;
                font-weight: 700;
                line-height: 28px;
                text-align: left;
                color: #031739;
                height: auto;
        }
        .UINewestNewsInDetail .news-same-category .content-top .item .item-sapo{
                font-family: Roboto;
                font-size: 15px;
                font-weight: 400;
                line-height: 22px;
                text-align: left;
                color: #62748D;
                display: block;
        }
        .UINewestNewsInDetail .news-other .content-bottom .item{
                display: flex;
                flex-direction: column;
                width: 100%;
        }
        .UINewestNewsInDetail .news-other .content-bottom .item .item-title .title-wrapper{
                /* font-family: Merriweather; */
                font-size: 20px;
                font-weight: 700;
                line-height: 28px;
                text-align: left;
                color: #031739;
        }
        .UINewestNewsInDetail .news-other .content-bottom .item .item-sapo .sapo-wrapper{
                /* font-family: Roboto; */
                font-size: 14px;
                font-weight: 400;
                line-height: 22px;
                text-align: left;
                color: #62748D;
                display: block;
        }
        .UINewestNewsInDetail .news-other .view-more a{
                font-family: "Roboto";
                font-size: 14px;
                font-weight: 500;
                line-height: 20px;
                text-align: center;
                color: #2A58A0;
        }
        .UINewestNewsInDetail .news-other .title{
                /* font-family: Merriweather; */
                font-size: 18px;
                font-weight: 700;
                /* line-height: 26px; */
                text-align: left;
                color: #031739;
                /* margin-left: 16px; */
        }
        .UINewestNewsInDetail .news-other .content-bottom{
                flex-direction: column;
        }
        .UINewestNewsInDetail .news-other .content-bottom .item .item-image{
                height: calc((100vw - 53px) / 16 * 10);
        }
        .UINewestNewsInDetail .news-other .content-bottom .item .image-wrapper{
                height: auto;
        }
}
