.brand-section{
    padding-left: 31px !important;
}

/*NEWS FEED SECTION*/
#newsfeed, #press-releases, #in-the-news, #events{
    padding-top: 60px;
    padding-bottom: 120px;
    width: 100%;
}

#latest-news-section{
    padding-bottom: 120px;
}

.latest-new{
    height: 470px;
    display: flex!important;
    flex-direction: column;
    justify-content: space-between;
    border: solid 1px #ececec;
    background-color: #ffffff;
}

.new-resume-container{
    height: auto;
    padding: 39px 22px 26px 22px;
    display: flex;
    flex-direction: column;
}

.new-image{
    height: 226px;
}

.new-image img{
    object-fit: cover;
}

.new-date{
    font-size: 14px;
    font-weight: 500;
    line-height: 1.21;
    color: #e63946;
}

.new-title{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.22;
    color: #1d3557;
}

.new-resume{
    font-size: 14px;
    line-height: 1.21;
    color: #424141;
    margin-bottom: 1rem;
    font-weight: 500;
}


.learn-more-link{
    font-size: 14px;
    font-weight: 500;
    color: #e63946;
    margin-top: auto;
}

.slick-slider{
    display: flex;
    flex-direction: column;
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before{
    font-size: 10px;
}

.slick-list{
    width: 100%;
    order: 1;
}

.slick-slide{
    margin: 0px 10px;
    float: none; /* Reset any float that might be affecting the layout */
    display: block; /* Ensure block-level display */
    width: auto; /* Allow auto width based on parent container */
    height: inherit!important; /* Ensure it adjusts based on content */
    box-sizing: border-box; /* Ensure padding/margins don't affect width */
}

.slick-arrow{
    background-color: rgba(255, 255, 255, 0);
    position: absolute;
    bottom: -100px;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
}

.slick-next{
    background-image: url('/dist/images/next-arrow.svg');
    right: 0px;
    left: 50px;
    margin: auto;
}

.slick-prev{
    background-image: url('/dist/images/next-arrow.svg');
    transform: rotateY(180deg);
    bottom: -80px;
    right: 50px;
    left: 0px;
    margin: auto;
}

a:not([href]):not([tabindex]) {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.22;
    color: #1d3557;
    opacity: 0.5;
}

.slick-dots .slick-active .dot{
    opacity: 1;
}

.slick-dots li {
    width: auto;
}

.slick-dots {
    bottom: -50px;
    text-align: center;
    padding-right: 15px;
}

.dot-arrow, .dot-double-arrow, .dot{
    margin-left: 10px;
}

.dot-double-arrow-back{
    margin-right: 10px
}


.slick-track{
    display: flex!important;
    /*justify-content: space-between;*/
    width: 1180px;
    transform: translate3d(0px, 0px, 0px);
}

.slick-list::-webkit-scrollbar { width: 0 !important }

/*NEWS LETTER SECTION*/
#newsletter{
    background-image: url("/dist/images/about-ean-img.jpg");
}

#newsletter .section-title::after{
    border-color: #e63946;
}

.learn-more-button{
    max-width: 160px;
    height: 45px;
    background-color: #e63946;
    margin: auto;
    font-size: 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 36px;
}


/*EVENTS SECTION*/
.event-container{
    position: relative;
    display: flex !important;
    height: 226px;
    cursor: pointer;
}

.event-img{
    position: absolute;
    object-fit: cover;
    z-index: -1;
    top: 0;
}

.event-info-container{
    padding: 0px 8px 8px;
    margin-top: auto;
    bottom: 0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.82));
}

.event-date{
    font-size: 14px;
    line-height: 1.21;
    color: #ffffff;
}

.event-title{
    font-size: 18px;
    font-weight: 600;
    line-height: 1.17;
    color: #ffffff;
}

.custom-padding{
    padding-left: 10px;
}

@media (max-width: 1439px) {

    .new-resume-container{
        padding: 10px;
    }

}


@media (max-width: 479px) {

    .new-resume-container {
        height: 290px;
    }

    #latest-news-section{
        padding: 50px;
        padding-bottom: 115px;
    }

    .dot-double-arrow-back, .dot-arrow-back,
    .dot-double-arrow, .dot-arrow{
        font-size: 12px;
    }

    a:not([href]):not([tabindex]) {
        font-size: 14px;
    }

}
.new-slider {
    display: flex; /* Align items side by side */
    overflow: hidden; /* Prevent overflow issues */
    /*overflow-x: auto; !* Allow horizontal scrolling *!*/
    scroll-snap-type: x mandatory; /* Optional: for snapping effect */
}

.latest-new {
    min-width: auto; /* Adjust based on your design */
    margin-right: 20px; /* Space between items */
    scroll-snap-align: start; /* Optional: for snapping effect */
    flex: 0 0 auto; /* Prevent flex items from shrinking */
}

.new-image img {
    width: 100%; /* Ensure the image covers the container */
    height: auto; /* Maintain aspect ratio */
}