﻿/* Bootstrap 4.4 News Section Styles - Locked to #news ID */

#news .section-header {
    background-color: transparent;
    border-left: none;
    padding: 0.5rem 0;
    position: static;
}

#news .section-icon {
    display: none;
}

#news .section-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    position: static;
    padding-bottom: 0;
    margin-bottom: 0.5rem;
}

    #news .section-title::after {
        display: none;
    }

#news .section-description {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
    line-height: 1.5;
    margin-left: 0;
}

#news h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top:1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: none;
}

    #news h2::after {
        display: none;
    }

#news h3 {
    font-weight: 600;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
    margin-top: 1.5rem;
    border-bottom: none;
}

    #news h3::after {
        display: none;
    }

#news p {
    color: #333;
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

#news a {
    text-decoration: none;
}

    #news a:hover {
        color: #0056b3;
        text-decoration: underline;
    }

#news ul {
    list-style: square;
    padding-left: 2.5rem;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
}

    #news ul li {
        margin-bottom: 0.5rem;
        padding: 0;
        border-bottom: none;
        background: transparent;
        list-style-type: square;
    }

        #news ul li a:hover {
            color: #0056b3;
            text-decoration: underline;
        }

        #news ul li .medium {
            display: block;
            font-size: 0.875rem;
            color: #6c757d;
            margin-top: 0.25rem;
            font-weight: normal;
            line-height: 1.4;
        }

#news ol {
    list-style: decimal;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

    #news ol li {
        margin-bottom: 0.5rem;
        padding: 0;
        border-bottom: none;
        background: transparent;
        list-style-type: decimal;
    }

/* Bootstrap Components */
#news .alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

#news .alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

#news .alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

#news .alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

#news .alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#news .card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

#news .card-header {
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}

#news .card-body {
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

#news .card-title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
}

#news .card-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.5;
}

#news .badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

#news .badge-primary {
    color: #fff;
    background-color: #007bff;
}

#news .badge-secondary {
    color: #fff;
    background-color: #6c757d;
}

#news .badge-success {
    color: #fff;
    background-color: #28a745;
}

#news .badge-info {
    color: #fff;
    background-color: #17a2b8;
}

#news .badge-warning {
    color: #212529;
    background-color: #ffc107;
}

#news .badge-danger {
    color: #fff;
    background-color: #dc3545;
}

#news .btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    #news .btn:hover {
        text-decoration: none;
    }

#news .btn-primary {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
}

    #news .btn-primary:hover {
        color: #fff;
        background-color: #0069d9;
        border-color: #0062cc;
    }

#news .btn-outline-primary {
    color: #007bff;
    border-color: #007bff;
}

    #news .btn-outline-primary:hover {
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
    }

#news .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

#news .table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
}

    #news .table th,
    #news .table td {
        padding: 0.75rem;
        vertical-align: top;
        border-top: 1px solid #dee2e6;
    }

    #news .table thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #dee2e6;
        background-color: #f8f9fa;
        font-weight: 500;
    }

#news .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.05);
}

#news .table-hover tbody tr:hover {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

#news .form-group {
    margin-bottom: 1rem;
}

#news .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

    #news .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    }

/* Utility Classes */
#news .text-muted {
    color: #6c757d;
}

#news .text-primary {
    color: #007bff;
}

#news .text-success {
    color: #28a745;
}

#news .text-info {
    color: #17a2b8;
}

#news .text-warning {
    color: #ffc107;
}

#news .text-danger {
    color: #dc3545;
}

#news .text-center {
    text-align: center;
}

#news .text-left {
    text-align: left;
}

#news .text-right {
    text-align: right;
}

#news .mb-0 {
    margin-bottom: 0;
}

#news .mb-1 {
    margin-bottom: 0.25rem;
}

#news .mb-2 {
    margin-bottom: 0.5rem;
}

#news .mb-3 {
    margin-bottom: 1rem;
}

#news .mb-4 {
    margin-bottom: 1.5rem;
}

#news .mb-5 {
    margin-bottom: 3rem;
}

#news .mt-0 {
    margin-top: 0;
}

#news .mt-1 {
    margin-top: 0.25rem;
}

#news .mt-2 {
    margin-top: 0.5rem;
}

#news .mt-3 {
    margin-top: 1rem;
}

#news .mt-4 {
    margin-top: 1.5rem;
}

#news .mt-5 {
    margin-top: 3rem;
}

#news .bold{
    font-weight:600;
}

#news em{
    font-size:15px;
}

/* Article Structure Styles */
#news .subsection {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e74c3c;
    position: relative;
}

    #news .subsection::after {
        display: none;
    }

/* Single Article Content Styling */
#news div[id^="u-"],
#news .single-article-content {
    padding: 1rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

    #news div[id^="u-"] .grid-fluid,
    #news div[id^="u-"] .me-ui,
    #news div[id^="u-"] .grid-edge {
        background: transparent;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    #news div[id^="u-"] .sc {
        background: transparent;
        padding: 0;
        margin: 0;
    }

    #news div[id^="u-"] .row {
        margin: 0 0 1.5rem 0;
    }

        #news div[id^="u-"] .row:last-child {
            margin-bottom: 0;
        }

    #news div[id^="u-"] [class*="col-"] {
        padding: 0 0.75rem;
    }

    #news div[id^="u-"] .col-md-1 {
        padding: 0;
    }

    #news div[id^="u-"] .fullwidth {
        max-width: 100%;
        height: auto;
        margin-bottom: 1.5rem;
    }

    #news div[id^="u-"] .align-r {
        float: right;
    }

    #news div[id^="u-"] .ml-3 {
        margin-left: 1rem;
    }

    #news div[id^="u-"] .mt-5 {
        margin-top: 2rem;
    }

    #news div[id^="u-"] .clear {
        clear: both;
    }

    #news div[id^="u-"] .fa-ul {
        list-style: none;
        margin-left: 0;
        padding-left: 0;
    }

        #news div[id^="u-"] .fa-ul li {
            position: relative;
            padding-left: 3rem;
            margin-bottom: 1rem;
            line-height: 1.6;
        }

    #news div[id^="u-"] .fa-li {
        position: absolute;
        left: 0;
    }

        #news div[id^="u-"] .fa-li .fa {
            color: #27ae60;
            font-size: 1rem;
        }

    #news div[id^="u-"] .green {
        color: #27ae60;
    }

    #news div[id^="u-"] .caveat {
        font-size: 0.85rem;
        color: #6c757d;
        font-style: italic;
        margin-bottom: 1rem;
    }

        #news div[id^="u-"] .caveat i {
            font-style: italic;
        }

#news .medium {
    font-size: 0.85rem;
    color: #7f8c8d;
    font-weight: 500;
    font-style: normal;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    display: inline-block;
    margin-bottom: 0.75rem;
}

#news .red {
    color: #e74c3c;
    font-style: italic;
    font-weight: 500;
    background: #fdf2f2;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

#news .button_wrapper {
    margin: 1.5rem 0;
}

    #news .button_wrapper.left {
        text-align: left;
    }

#news .grey_button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    border: none;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

#news .pageright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
}

    #news .pageright img {
        max-width: 250px;
        height: auto;
    }

#news img{
    margin-bottom:0.5rem;
}

#news .full-width {
    width: 100%;
    max-width: 100%;
}

#news div[id^="u-"] .flex-sm-column {
    flex-direction: row !important;
}

#news div[id^="u-"] .tip-green {
    background-color: #e8f5e8;
    border: 1px solid #c3e6c3;
    display: flex;
    align-items: flex-start;
    padding: 0.5rem;
    margin: 1rem 0;
}

    #news div[id^="u-"] .tip-green .col-xs-3 {
        width: 25%;
        flex: 0 0 25%;
        padding-right: 1rem;
    }

    #news div[id^="u-"] .tip-green .col-xs-9 {
        width: 75%;
        flex: 0 0 75%;
    }

    #news div[id^="u-"] .tip-green img {
        height: auto;
    }

#news div[id^="u-"] .col-md-12.flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}

    #news div[id^="u-"] .col-md-12.flex a {
        flex: 1;
        min-width: 200px;
        max-width: calc(25% - 1rem);
        text-decoration: none;
        color: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

        #news div[id^="u-"] .col-md-12.flex a img {
            max-width: 80px;
            height: auto;
            margin-bottom: 1rem;
        }

        #news div[id^="u-"] .col-md-12.flex a p {
            margin: 0;
            text-align: center;
            font-size: 0.9rem;
            line-height: 1.3;
        }

#news div[id^="u-"] .m-2 {
    margin: 0.5rem;
}


/* News Controls */
#news .news-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

#news .result-count {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

#news .filter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#news .tag-filter-container,
#news .year-filter-container {
    position: relative;
}

#news .tag-filter,
#news .year-filter {
    appearance: none;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

    #news .tag-filter:hover,
    #news .year-filter:hover {
        border-color: #3498db;
        box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
    }

    #news .tag-filter:focus,
    #news .year-filter:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }

#news .tag-filter-icon,
#news .year-filter-icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 0.8rem;
    pointer-events: none;
}

#news .clear-filters-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

    #news .clear-filters-btn:hover {
        background: #c0392b;
        transform: translateY(-1px);
    }

/* Article Cards Grid */
#news .news-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

#news .article-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

    #news .article-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    }

#news .article-card-header {
    padding: 1rem 1rem 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#news .article-date {
    font-size: 0.8rem;
    color: #7f8c8d;
    font-weight: 500;
    background: #f8f9fa;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

#news .article-tags {
    background: #69a449;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

#news .article-card-image {
    width: 160px;
    height: 120px;
    overflow: hidden;
    margin: 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

    #news .article-card-image img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        object-position: center;
    }

#news .article-placeholder {
    color: #dee2e6;
    font-size: 3rem;
}

#news .article-card-content {
    padding: 0 1rem 1.5rem 1rem;
}

#news .article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#news .article-description {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Single Article View */
#news .single-article-header {
    text-align: right;
}

#news .back-to-articles-btn {
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

    #news .back-to-articles-btn:hover {
        background: #495057;
    }

#news .single-article-content div[id^="u-"] {
    margin: 0 auto;
}

    #news .content-block a.bg-lt-grey {
        flex: 0 0 calc(25% - 0.75rem);
        min-width: 200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        text-decoration: none;
        background: #f8f9fa;
        padding: 1rem;
        border-radius: 8px;
        border: 1px solid #e9ecef;
        transition: all 0.3s ease;
        margin-bottom: 1rem;
    }

        #news .content-block a.bg-lt-grey:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            text-decoration: none;
        }

        #news .content-block a.bg-lt-grey img {
            max-width: 80px;
            height: auto;
            margin-bottom: 0.75rem;
        }

        #news .content-block a.bg-lt-grey p {
            margin: 0;
            font-size: 0.9rem;
            font-weight: 500;
            color: #495057;
        }

#news #single-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: white;
    overflow: hidden;
}

    #news #single-article-content table th {
        background: #8EBD4F !important;
        color: white !important;
        padding: 1rem 0.75rem;
        font-weight: 600;
        text-align: center;
        font-size: 0.9rem;
        border-bottom: 2px solid #7BA043;
    }

    #news #single-article-content table td {
        padding: 1rem 0.75rem;
        border-bottom: 1px solid #e9ecef;
        vertical-align: top;
        line-height: 1.5;
    }

    #news #single-article-content table tr:last-child td {
        border-bottom: none;
    }

    #news #single-article-content table tr:nth-child(even) {
        background-color: #f8f9fa;
    }

    #news #single-article-content table tr:hover {
        background-color: #e8f5e8;
    }

    #news #single-article-content table td:first-child {
        font-weight: 500;
        background-color: #f1f8f1;
        border-right: 2px solid #8EBD4F;
    }

        #news #single-article-content table td:first-child b {
            color: #2d5016;
            display: block;
            margin-bottom: 0.25rem;
        }

    #news #single-article-content table td:not(:first-child) {
        text-align: center;
        font-family: 'Courier New', monospace;
        font-weight: 500;
        color: #333;
    }

@media (max-width: 992px) {
    #news .content-block a.bg-lt-grey {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 576px) {
    #news .content-block a.bg-lt-grey {
        flex: 0 0 100%;
    }
}

/* No Results Message */
#news .no-results-message {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
}

#news .no-results-content i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

#news .no-results-content h3 {
    color: #495057;
    margin-bottom: 0.5rem;
}

#news .no-results-content p {
    margin-bottom: 1.5rem;
}

#news .article-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    cursor: pointer; 
    position: relative;
    text-decoration: none; 
    color: inherit; 
}

#news img.img-fluid {
    display: block;
    margin: 0 auto;
    margin-bottom: 1.3rem;
    margin-top: 1.3rem;
}

.article-navigation {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid #e9ecef;
}

.nav-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

    .nav-btn:hover:not(:disabled) {
        background: var(--accent-color);
        color: var(--primary-dark);
        border-color: var(--accent-color);
        transform: translateY(-1px);
    }

    .nav-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
        background: #f8f9fa;
    }

.nav-btn-prev {
    justify-content: flex-start;
}

.nav-btn-next {
    justify-content: flex-end;
}

.nav-info {
    text-align: center;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

@media (max-width: 768px) {
    .nav-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        width: 100%;
        justify-content: center;
        min-width: auto;
    }

    .nav-info {
        order: -1;
    }

    #news div[id^="u-"],
    #news .single-article-content {
        padding: 0px;
    }


#news .article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db; /* Add blue border on hover */
    text-decoration: none; /* Ensure no underline on hover */
    color: inherit; /* Keep text color consistent */
}

    #news .article-card:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    }

    #news .article-card * {
        text-decoration: none;
    }

#news .read-more-text {
    color: #3498db;
    cursor: pointer;
    font-weight: 500;
    opacity: 0.8; 
}

    #news .read-more-text:hover {
        color: #2980b9;
        opacity: 1;
    }

#news .article-card:hover::after {
    opacity: 0.6;
}

#news .article-card,
#news .article-card:hover,
#news .article-card:focus,
#news .article-card:active {
    text-decoration: none !important;
    color: inherit !important;
}

#news a.article-card,
#news a.article-card:hover,
#news a.article-card:focus {
    text-decoration: none;
}

#news .featured-article p{
    font-size:1rem;
}
#news .featured-article {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    padding: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

    #news .featured-article .me-thumb {
        text-align: center;
    }

    #news .featured-article .me-btn {
        display: inline-block;
        text-decoration: none;
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 8px;
        padding: 0.75rem;
        transition: all 0.3s ease;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

        #news .featured-article .me-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            text-decoration: none;
        }

        #news .featured-article .me-btn img {
            max-width: 80px;
            height: auto;
            margin-bottom: 0.5rem;
        }

        #news .featured-article .me-btn div {
            font-size: 0.8rem;
            color: #495057;
            line-height: 1.3;
        }

    #news .featured-article h4 {
        color: #2c3e50;
        margin-bottom: 1rem;
    }

    #news .featured-article p {
        color: #495057;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

/* Responsive Design */
@media (max-width: 768px) {
    #news h2 {
        font-size: 1.125rem;
    }

    #news h3 {
        font-size: 1.2rem;
    }

    #news .card-body {
        padding: 1rem;
    }

    #news .table th,
    #news .table td {
        padding: 0.5rem;
        font-size: 0.875rem;
    }
    #news ul {
        font-size: 1.01rem;
    }
    #news ul,
    #news ol {
        padding-left: 1.5rem;
    }

    #news .collapse-item{
        padding:0px !important;
    }

    #news p {
        font-size: 1.01rem;
    }

    #news .pageright {
        float: none;
        text-align: center;
        margin: 1rem 0;
    }

        #news .pageright img {
            max-width: 100%;
        }

    #news .news-controls {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    #news .filter-controls {
        flex-direction: column;
        gap: 0.75rem;
    }

    #news .tag-filter,
    #news .year-filter {
        width: 100%;
    }

    #news .news-articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #news .article-card-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    #news div[id^="u-"] .flex-sm-column {
        flex-direction: column;
    }

    #news div[id^="u-"] .col-md-12.flex {
        flex-direction: column;
    }

        #news div[id^="u-"] .col-md-12.flex a {
            max-width: 100%;
            margin-bottom: 1rem;
        }

    #news .featured-article {
        padding: 1.25rem;
    }

        #news .featured-article .me-btn img {
            max-width: 60px;
        }

    #news #single-article-content table {
        font-size: 0.85rem;
    }

        #news #single-article-content table th,
        #news #single-article-content table td {
            padding: 0.75rem 0.5rem;
        }

            #news #single-article-content table td:first-child {
                font-size: 0.8rem;
            }
}

@media (max-width: 576px) {
   
    #news .card-body {
        padding: 0.75rem;
    }

    #news .btn {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }

    #news ul,
    #news ol {
        padding-left: 1.25rem;
    }

    #news .featured-article {
        padding: 1rem;
    }

        #news .featured-article .row {
            text-align: center;
        }

        #news .featured-article .me-btn {
            padding: 0.5rem;
        }

            #news .featured-article .me-btn img {
                max-width: 50px;
            }

            #news .featured-article .me-btn div {
                font-size: 0.7rem;
            }

    #news #single-article-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

        #news #single-article-content table th,
        #news #single-article-content table td {
            min-width: 120px;
        }
}
