/* /public/css/news.css */

.news-main-container {
    height: calc(100vh - 180px);
    min-height: 600px;
    margin-bottom: 40px;
    align-items: stretch !important;
}

/* Sidebar (1/3) */
.news-sidebar-flex {
    width: 33.33% !important;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e5e5;
    padding-right: 20px;
}

/* Filter Row */
.news-filter-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.news-filter-row .toolbar-select {
    flex: 1;
    position: relative;
}

/* Thinner borders (0.5px or 1px light) and Gray Font */
.news-filter-row .toolbar-select select {
    width: 100%;
    border: 1px solid #e5e5e5 !important; /* Thinner/Lighter border */
    color: #a3a3a3 !important;            /* Breadcrumb Gray Font */
    font-family: "PT Sans", sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    padding: 5px 25px 5px 8px;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

/* Match arrow color to font */
.news-filter-row .toolbar-select-arrow::before {
    border-right: 1px solid #a3a3a3; /* Thinner arrow lines */
    border-bottom: 1px solid #a3a3a3;
}

/* Headline List */
.article-list-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-scroll-list {
    flex: 1;
    overflow-y: auto;
}

/* Sidebar Preview Cards */
.news-preview-card {
    padding: 15px 25px 15px 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.1s ease;
}

.news-preview-card:hover {
    background: #fcfcfc;
}

/* Changed active border and background to #d5ae3c */
.news-preview-card.active {
    background: #fffef9; /* Very subtle warm tint */
    border-left: 3px solid #d5ae3c;
}

.news-date-label {
    font-family: "PT Sans", sans-serif;
    font-size: 11px;
    color: #a3a3a3;
    text-transform: uppercase;
}

/* Title turns gold when active */
.news-preview-card.active .news-preview-title {
    color: #d5ae3c;
}

.news-preview-title {
    font-family: "PT Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin: 4px 0;
    line-height: 1.3;
}

.news-preview-excerpt {
    font-family: "PT Sans", sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Reader Pane (2/3) */
.news-reader-pane {
    flex: 1;
    overflow-y: auto;
    padding-left: 35px;
    background: #fff;
}

.reader-content-wrapper {
    padding-right: 20px;
}

.reader-meta {
    font-family: "PT Sans", sans-serif;
    font-size: 12px;
    color: #a3a3a3;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.reader-full-title {
    font-size: 26px !important;
    line-height: 1.2;
    margin-bottom: 20px !important;
    text-transform: none !important;
    color: #000;
    font-family: "PT Sans", sans-serif;
}

.reader-image img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 1px solid #f0f0f0;
    margin-bottom: 25px;
}

.reader-text {
    font-family: "PT Sans", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    padding-bottom: 60px;
}

/* Custom Scrollbar */
.news-scroll-list::-webkit-scrollbar,
.news-reader-pane::-webkit-scrollbar {
    width: 6px;
}

.news-scroll-list::-webkit-scrollbar-thumb,
.news-reader-pane::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 10px;
}