.newsHeader {
    width: 100%;


    /* background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 20em;
    background: url("../images/news/press_header.jpg") ;

    display: flex;
    flex-direction: column;

    justify-content: end; */

    width: 100%;
    position: relative;
    padding-top: 60px;
}

.newsHeader .hide-on-mobile {
    width: 100%;
}

.newsHeader .hide-on-desktop {
    display: none;
}

.newsHeading {
    margin-top: -145px;


}

/* .newsHeader div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
} */

.newsHeader h2 {
    font-size: 60px;
    font-family: 'Myriad Pro Semibold';
    color: #ffffff;
    margin-top: 45px;
    margin-bottom: 25px;
}



.newsSection {
    height: auto;
    width: 100%;
    background: url("../images/news/press_bg.jpg") #016ABD;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: background-image 0.5s ease, opacity 0.5s ease;
    /* z-index: -1; */

    padding-bottom: 10em;

}

/* Full-page view for the left panel */

/* Back button */



/* Container */
#container {
    display: flex;
    width: 100%;
    /* height: 100vh; */
    padding-top: 150px;
}

/* Left Panel */
#left-panel {
    display: flex;
    flex-direction: column;
    width: 65%;
    padding-right: 10%;
}

#left-panel img {
    height: auto;
    margin-bottom: 20px;
}

#news-date {
    color: #ffffff;
    font-size: 16px;
}

#news-title {
    font-size: 28px;
    font-family: 'Myriad Pro Bold';
    color: #ffffff;
}

#news-description {
    font-size: 20px;
    color: #ffffff;
}

.readMore {
    text-align: right;
}

#read-more {
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    /* width: 80%; */
    /* text-align: end; */
    cursor: pointer;
}


#read-more:hover {
    text-decoration: underline;
}

.backButtonClass{
  display: flex;
  justify-content: end;
}

#back-button {
    color: #ffffff;

    font-size: 20px;
    /* text-align: end; */
    border: none;
    background-color: transparent;
    /* margin-right: 10em; */
}

#back-button:hover {
    text-decoration: underline;
}



/* Right Panel */
#right-panel {
    color: white;
    /* padding: 20px; */
    /* For positioning the arrow */
    overflow-y: auto;
    /* Enable scrolling */
    direction: rtl;
    /* Flip the content direction to move the scrollbar left */
    width: 30%;
    position: relative;

    /* height: 100%; */

}


/* Content inside the right panel */
#right-panel * {
    direction: ltr;
    /* Reset the content direction to normal */
}


#right-panel::-webkit-scrollbar {
    width: 30px;
    /* Make the scrollbar track wide enough for a circle */
}

#right-panel::-webkit-scrollbar-track {
    background: linear-gradient(to right, transparent 0, transparent 45%, #ffffff 45%, #ffffff 55%, transparent 55%, transparent 100%);
}

#right-panel::-webkit-scrollbar-thumb {
    background: radial-gradient(circle farthest-corner, white 0%, white 50%, transparent 50%, transparent 100%) no-repeat;
    background-size: auto 30px;
    background-position: center;
}





/* Headlines Styling */
#right-panel ul {
    list-style: none;
    padding: 0;
}

#right-panel li {
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.5;
    /* Default opacity for all items */
    transition: opacity 0.3s ease;
    /* Smooth transition */
}



#right-panel li.visible {
    opacity: 1;
    /* Fully visible items have full opacity */
}

#right-panel .headline-item {
    cursor: pointer;
}

#right-panel .headline-item p {
    font-size: 18px;
    font-family: 'Myriad Pro Regular';
    color: #ffffff;
}

#right-panel .headline-item h4 {
    font-size: 23px;
    font-family: 'Myriad Pro Bold';
    color: #ffffff;
}







@media (max-width: 1366px) {




    #left-panel {
        width: 55%;
    }

    #right-panel {
        width: 45%;
    }

    #back-button {
        padding-bottom: 200px;
        /* margin-right: 8em; */

    }

}



@media (max-width: 1024px) {

    .newsSection {
        padding-top: 2em;
    }


    .newsHeader img {
        height: 12em;
    }

    #left-panel {
        width: 55%;
    }

    #right-panel {
        width: 45%;
    }

}





@media only screen and (width: 1180px) and (height: 820px) and (orientation: landscape) {

    #back-button {
        padding-bottom: 200px;
        /* margin-right: 8em; */

    }
}

@media (max-width: 992px) {

    .newsHeading {
        margin-top: -125px;
    }

    .newsHeader h2 {
        font-size: 45px;
        margin-top: 45px;
        margin-bottom: 25px;
    }

    #container {
        padding-top: 100px;
    }

}

@media (max-width: 768px) {

    .newsHeading {
        margin-top: -125px;
        text-align: center;
    }

    .newsHeader h2 {
        font-size: 35px;
        margin-top: 70px;
        margin-bottom: 10px;
    }

    .newsHeader .hide-on-mobile {

        display: none;
    }

    .newsHeader .hide-on-desktop {
        width: 100%;
        display: block;
        height: auto;
    }

    #container {
        padding-top: 0em;
        width: 100%;
        flex-direction: column;
    }

    #left-panel {
        width: 100%;
        padding-right: 0%;
    }

    #right-panel {
        width: 100%;
    }

    #container {
        padding-top: 50px;
    }

}





/* mobile view */
@media (max-width: 480px) {

    .newsHeading {
        margin-top: -145px;
    }

    #right-panel{
        width: 90%;
        margin: 0 auto;
    }

}