﻿ .carousel .tns-nav > [aria-selected="true"] {
    background: var(--color-primary);
    width: 20px !important;
    height: 10px !important;
    border-radius: 50px !important;
} 

.ut-CardContainer{
    align-items: start;
    display: flex;
    height: 420px;
    flex-wrap: wrap;
    margin-right: -32px;
}


.ar-AE .ut-CardContainer{
    flex-direction: row-reverse;
    margin-left: -32px;
    margin-right:0;
}

.ut-NewsImageContainer{
    height: 100%;
}

.ut-NewsImageContainer img{
    width:100%;
    height: 100%!important;
    border-radius: 10px 0px 0px 10px;
}

.ar-AE .ut-NewsImageContainer img{
    border-radius: 0px 10px 10px 0px;
}



.ut-NewsAllDetailsContainer{
    height: 100%;
    align-items: center;
    background: var(--white, #FFF);
    display: flex;
    flex-direction: column;
    gap: 10%;
    padding: 32px;
    justify-content: space-between;
    border-radius: 0px 10px 10px 0px;
}

.ar-AE .ut-NewsAllDetailsContainer{
    border-radius: 10px 0px 0px 10px;
}

.ut-UpperDetailsContainer{
    align-items: flex-start;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ar-AE .ut-UpperDetailsContainer{
    align-items: flex-end;
    text-align: right;
}

.ut-LowerDetailsContainer{
    align-items: center;
    align-self: stretch;
    display: flex;
    justify-content: space-between;
}

.ar-AE .ut-LowerDetailsContainer{
    flex-direction: row-reverse;
}


.ut-NewsTypeContainer{
    align-items: center;
    justify-content: center;
    background: var(--card_hover, #F9ECEA);
    border-radius: var(--Roundness-Full-Inside, 128px);
    display: flex;
    gap: var(--Main-System-4px, 4px);
    height: 26px;
    padding: var(--Main-System-2px, 2px) var(--Main-System-8px, 8px);
    ---comment-1: /* Caption */;
    ---comment-7: /* 15.6px */;
    color: var(--primary, #C0392B);
    font-family: var(--font-family, Dubai);
    font-size: var(--font-size-caption, 13px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.ar-AE .ut-NewsTypeContainer{
    flex-direction: row-reverse; /* reverse the order */
}

.ut-NewsTitle a:visited,.ut-NewsTitle a{
    font-family: Dubai;
    color: var(--dark-gray, #20272D) !important;
    font-size: var(--font-size-h4, 26px);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.ut-NewsDescription{
    ---comment-3: /* Body */;
    ---comment-9: /* 19.2px */;
    color: var(--description, #40484F);
    font-family: var(--font-family, Dubai);
    font-size: var(--font-size-body, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.ut-WriterDetailsContainer{
    align-items: center;
    display: flex;
    gap: 10px;
}

.ar-AE .ut-WriterDetailsContainer {
    flex-direction: row-reverse;
}

.ut-WriterImageContainer{
    align-items: center;
    display: flex;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.ut-WriterImage{
    border-radius: 50px;
    width: 100%;
}

.ut-WriterDetails{
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ar-AE .ut-WriterDetails {
    align-items: flex-end;
}

.ut-DayDate{
    color: var(--description, #40484F);
    font-family: var(--font-family, Dubai);
    font-size: var(--font-size-body, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%; /* 19.2px */
}

.ar-AE .ut-DayDate {
    text-align: right;
}

.ut-WriterName{
    ---comment-7: /* 19.2px */;
    color: var(--dark-gray, #20272D);
    font-family: var(--font-family, Dubai);
    font-size: var(--font-size-body, 16px);
    font-style: normal;
    font-weight: 500;
    line-height: 120%;
}

.ut-WriterJob{
    ---comment-2: /* Caption */;
    ---comment-8: /* 15.6px */;
    color: var(--description, #40484F);
    font-family: var(--font-family, Dubai);
    font-size: var(--font-size-caption, 13px);
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.ut-NewsDate{
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    font-size: 13px;
}

.ar-AE .ut-NewsDate{
    flex-direction: row-reverse;
}

.ar-AE .ut-NewsDate div{
    direction: rtl;
}

.ut-newsTitle_Latest_MobileView,
.ut-newsDescription_Latest_MobileView{
    display: none !important;
}

/* Tablet */
@media (max-width: 1440px) {
    .ut-CardContainer{
        margin-right: -20px;
    }

    .ar-AE .ut-CardContainer{
        margin-left: -20px;
        margin-right:0;
    }
}
/* Tablet */
@media (max-width: 1024px) {

    .ut-NewsAllDetailsContainer{
        padding: 14px;
    }

    .ut-NewsCardImage{
        flex: 1 1 calc(25% - 10px); /* 3 columns */
    }

    .ut-NewsCardDetails{
        flex: 1 1 calc(75% - 10px); /* 9 columns */
    }

    .ut-DetailsContainer{
        padding: 16px 32px;
    }
    .ut-NewsTitle{
        font-size:  16px;
    }

    .ut-NewsDescription{
        font-size:  13px !important;
    }

    .ut-NewsDate{
        font-size:  10px;
    }

    .ut-DayDate{
        font-size:  14px;
    }

    .ut-WriterName{
        font-size:  14px;
    }

    .ut-WriterJob{
        font-size:  11px;
    }

    .ut-NewsTitle{
        line-height: 100%;

    }

    .ut-CardContainer{
        margin-right: -18px;
    }

    .ar-AE .ut-CardContainer{
        margin-left: -18px;
        margin-right:0;
    }
    
    .ut-newsTitle_Latest_MobileView,
    .ut-newsDescription_Latest_MobileView{
        display: none ;
    }
     .ut-newsTitle_DesktopView,
    .ut-newsDescription_DesktopView{
        display: block ;
    }
}



/* Mobile */
@media (max-width: 768px) {

    .ut-NewsImageContainer, .ut-NewsAllDetailsContainer{
        flex: 1 1 100%; /* 1 column */
        height: 50% !important;
    }

    .ut-NewsImageContainer img, .ar-AE .ut-NewsImageContainer img{
        border-radius: 10px 10px 0px 0px !important;
    }

   

    .ut-NewsAllDetailsContainer , .ar-AE .ut-NewsAllDetailsContainer{
        border-radius: 0px 0px 10px 10px !important;
        gap:2% !important;
        margin: 0px !important;
    }

    .ut-TypeText{
        font-size: var(--font-size-xs, 8px) !important;
    }

    
    .ut-NewsTitle{
        line-height: 100% !important;

    }

    .ut-NewsTitle a{
        font-size:  16px !important;
        font-weight: bold !important;
    }

    .ut-NewsTitle a:visited,.ut-NewsTitle a{
        
    font-size:  16px !important;
    }

    .ut-NewsDescription{
        font-size:  13px !important;
        line-height: 100% !important;
    }
    
    .ut-DayDate{
        font-size:  10px !important;
    }
    
    .ut-WriterName{
        font-size:  9px !important;
    }

    .ut-WriterJob{
        font-size:  8px !important;
    }

    .ut-CardContainer{
        margin-right: 0 !important;
        height: 460px !important;
    }

    .ar-AE .ut-CardContainer{
        margin-left: 0 !important;
        margin-right:0 !important;
    }

    .ut-UpperDetailsContainer
    {
        gap:8px !important;
    }

    .ut-NewsTypeContainer{
        font-size: 10px !important;
    }

    .ut-newsTitle_Latest_MobileView,
    .ut-newsDescription_Latest_MobileView{
        display: block !important;
    }

    .ut-newsTitle_Latest_DesktopView,
    .ut-newsDescription_Latest_DesktopView{
        display: none !important;
    }
}





