/* News Page Generic Styles */
.news-hero {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0 60px;
    text-align: center;
}

.news-hero h1 {
    color: var(--white);
    margin-bottom: 15px;
}

/* Layout */
.news-layout {
    display: grid;
    grid-template-columns: 3fr 1fr; /* Content : Sidebar - Expanded main content */
    gap: 50px;
    padding: 60px 0;
    align-items: start;
}

/* Sidebar Styles */
.sidebar-widget {
    background: var(--white);
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.search-form {
    position: relative;
}

.search-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
}

.search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
}

.category-list, .archive-list {
    list-style: none;
}

.category-list li, .archive-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.category-list li:last-child, .archive-list li:last-child {
    border: none;
}

.category-list a, .archive-list a {
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    transition: color 0.3s;
}

.category-list a:hover, .archive-list a:hover {
    color: var(--accent-color);
}

.count {
    background: #f0f4f8;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* News Grid Override for News Listing Page */
.news-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.news-grid-page .card-body {
    padding: 15px;
}

.news-grid-page .card-title {
    font-size: 0.95rem;
}

.news-grid-page .card-title-mm {
    font-size: 0.95rem;
}

/* Pagination */
.pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s;
}

.page-link:hover, .page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* --- Article Details Specific Styles --- */
.article-container {
    background: var(--white);
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}

.article-header {
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
    align-items: center;
}

.article-meta i { 
    color: #cca43b; /* Official gold color */
    margin-right: 8px; 
}

.article-title {
    font-size: 1.5rem;
    color: #1b365d; /* Deeper official blue */
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}

.article-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 35px;
    border: 1px solid #eaeaea;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content p { 
    margin-bottom: 20px; 
}

.article-content h3 { 
    font-size: 1.5rem; 
    margin: 30px 0 15px; 
    color: var(--primary-color); 
}

.blockquote {
    background: #f9f9f9;
    border-left: 5px solid var(--accent-color);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-family: 'Merriweather', serif;
    color: #555;
}

/* Share & Tags */
.article-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #eee;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
}

.share-btn:hover {
    background: var(--accent-color);
    color: var(--white);
}

.tags-list span {
    display: inline-block;
    background: #f0f4f8;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 5px;
    color: var(--text-gray);
}

/* Recent Posts Small (for Sidebar) */
.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.recent-post-img {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    object-fit: cover;
}

.recent-post-info h5 {
    font-size: 0.85rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.recent-post-info h5 a {
    text-decoration: none;
    color: #1b365d; /* Official Blue */
    font-weight: 600;
    transition: color 0.3s;
}

.recent-post-info h5 a:hover {
    color: var(--accent-color);
}

.recent-post-info .date {
    font-size: 0.8rem;
    color: var(--text-gray);
}



@media (max-width: 900px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
    .news-grid-page {
        grid-template-columns: 1fr;
    }
    .sidebar-area {
        order: 2; /* Put sidebar below content on mobile */
    }
    .article-title {
        font-size: 1.5rem;
    }
}
