/*
Platform Color (deep blue):
#1f487c
*/


.news-container {
    display: flex;
    width: 100%;
    height: calc(100vh - 15rem);
    background-color: white;
    overflow: hidden;
	margin-left: -18px;
	margin-right: -18px;
	margin-top: 18px;
}

.news-left-pane {
    width: 50%;
    background-color: #f9f9f9;
    color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
	overflow: hidden;
}

.news-right-pane {
    width: 50%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
	overflow-y: auto;
	scrollbar-width: auto;
}

/* Displayed abot the news list */
.news-title {
	font-size: 24px;
    margin-bottom: 30px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #1f487c !important;
    color: #1f487c;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


.news-item-list {
	padding-left: 15px !important;
	flex: 1;
    list-style-type: none;
	overflow-y: auto; /* Enables vertical scrolling when needed */
	scrollbar-width: auto;
}

.news-item {
    padding: 10px 15px;
    margin-bottom: 2px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 15px;
	color: black;
}

.inews-tem:hover {
    background-color: rgba(52, 152, 219, 0.2);
    transform: translateX(5px);
}

.news-item.active {
	background: linear-gradient(180deg, #e5e7ea 0%, #d5d7da 100%);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.news-content-text {
    font-size: 14px;
    color: #34495e;
    background-color: white;
    padding: 10px;
    margin-top: 0px;
    display: flex;
	width: 100%;
    flex-direction: column;
    align-items: left;
    text-align: left;
}

.news-content-text h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
}

.news-content-text p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-content-text ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.news-content-text li {
    margin-bottom: 8px;
}

.news-loading-spinner {
    color: #3498db;
    font-size: 18px;
}

.news-loading-spinner i {
    margin-right: 10px;
    font-size: 24px;
}

.news-highlight {
    color: #3498db;
    font-weight: bold;
}

.news-url-info {
    margin-top: 20px;
    color: #7f8c8d;
    font-size: 14px;
    text-align: center;
    padding: 10px;
    background-color: #f1f8ff;
    border-radius: 6px;
    border: 1px dashed #3498db;
    max-width: 500px;
    word-break: break-all;
}

.news-date {
    display: inline-block;
    background-color: #1f487c;
    color: white;
    width: 120px;
    height: 25px;
    border-radius: 0%;
    text-align: center;
    line-height: 25px;
    margin-right: 10px;
	flex-shrink: 0;
}

/* Hide templates from display */
template {
    display: none;
}
