﻿/* Global Styles */
:root {
    --primary-color: #1a365d;
    --primary-light: #2d4a8a;
    --secondary-color: #d53f8c;
    --accent-color: #3182ce;
    --text-color: #2d3748;
    --text-light: #718096;
    --background-color: #ffffff;
    --background-alt: #f7fafc;
    --border-color: #e2e8f0;
    --success-color: #38a169;
    --warning-color: #d69e2e;
    --error-color: #e53e3e;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-serif: Georgia, 'Times New Roman', Times, serif;
    --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.line-clamp-3 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.line-clamp-4 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
li {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.section {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    margin-top: 0.5rem;
}

.view-all {
    font-weight: 600;
    color: var(--accent-color);
    display: inline-flex;
    align-items: center;
}

.view-all:hover {
    color: var(--primary-light);
}

/* Main Header with Scroll Effect */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 0.75rem 0;
    transition: all 0.3s ease;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    letter-spacing: 0.5px;
    margin-top: 0.125rem;
}

.main-nav {
    /* flex: 1; */
    /* margin-left: 3rem; */
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-weight: 600;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}

.nav-list a.active {
    color: var(--accent-color);
}

.nav-list a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 1px;
}

.nav-list a:hover {
    color: var(--accent-color);
}

/* Dropdown Styles - CSS only, no JS */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: white;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.dropdown-content a:hover {
    background-color: var(--background-alt);
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-toggle {
    color: var(--text-light);
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle:hover {
    color: var(--accent-color);
    background-color: var(--background-alt);
}

.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-menu span {
    width: 24px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 0;
    margin-top: 70px;
}

.announcement-bar a {
    color: white;
    font-weight: 600;
    text-decoration: underline;
}

.announcement-bar a:hover {
    color: #e2e8f0;
}

/* Latest News Section */
.latest-news {
    background-color: var(--background-alt);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.news-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-card.featured {
    grid-column: span 7;
    display: flex;
    flex-direction: column;
}

.news-card.horizontal {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.news-card.vertical {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
}

.news-card.minimal {
    grid-column: span 4;
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.news-card.minimal:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-color);
}

.card-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .card-image img {
    transform: scale(1.05);
}

.card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card.horizontal .card-content {
    padding: 1.25rem;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card.featured .card-title {
    font-size: 1.5rem;
}

.card-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author {
    font-weight: 600;
    font-size: 0.875rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
}

.comment-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.category-card p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.article-count {
    display: inline-block;
    background-color: var(--background-alt);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Special Reports Section */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.report-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.report-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.report-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.report-card:hover .report-image img {
    transform: scale(1.05);
}

.report-content {
    padding: 1.5rem;
}

.report-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-excerpt {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.report-series {
    background-color: var(--background-alt);
    color: var(--accent-color);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-weight: 600;
}

/* Popular News Section */
.popular-news {
    background-color: var(--background-alt);
}

.filter-tabs {
    display: flex;
    gap: 0.5rem;
    background-color: white;
    padding: 0.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.filter-tab {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.filter-tab.active {
    background-color: var(--accent-color);
    color: white;
}

.filter-tab:not(.active):hover {
    color: var(--accent-color);
    background-color: var(--background-alt);
}

.popular-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.popular-card {
    background-color: white;
    border-radius: var(--radius);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.popular-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
    background-color: #f8fbff;
}

.popular-rank {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-color);
    min-width: 2rem;
}

.popular-content {
    flex: 1;
}

.popular-title {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.popular-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.popular-category {
    font-weight: 600;
    color: var(--accent-color);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto 1.5rem;
}

.form-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.submit-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.submit-button:hover {
    background-color: var(--primary-light);
}

.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.form-note input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.newsletter-note {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: #cbd5e0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

.footer-heading {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e0;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-apps {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.app-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.app-link:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.app-link svg {
    flex-shrink: 0;
}

.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #cbd5e0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #cbd5e0;
}

.footer-legal a:hover {
    color: white;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==================== List Page Specific Styles ==================== */
.breadcrumb-wrapper {
    background-color: var(--background-alt);
    padding: 2rem 0 1.5rem;
    margin-top: 50px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-item svg {
    color: var(--text-light);
}

.breadcrumb-item a {
    color: var(--text-light);
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--text-color);
    font-weight: 600;
}



.category-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
}

.sort-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-select {
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background-color: white;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text-color);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.list-page-content {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 3rem;
    padding: 2rem 0 4rem;
}

/* Filter Section */
.filter-section {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.filter-section h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: var(--background-alt);
    color: var(--text-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.tag:hover {
    background-color: var(--accent-color);
    color: white;
}

.tag.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.date-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.date-btn {
    padding: 0.5rem 1rem;
    background-color: var(--background-alt);
    color: var(--text-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.date-btn:hover {
    background-color: #e2e8f0;
}

.date-btn.active {
    background-color: var(--accent-color);
    color: white;
}

/* Articles Grid */
.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.article-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-card.featured {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.article-card.horizontal {
    display: flex;
}

.article-card.vertical {
    display: flex;
    flex-direction: column;
}

.article-card.minimal {
    box-shadow: none;
    border: 1px solid var(--border-color);
}

.article-card.minimal:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
    border-color: var(--accent-color);
}

.article-card.featured-secondary {
    display: grid;
    grid-template-columns: 2fr 3fr;
}

.article-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    width: 100%;
}

.article-card.horizontal .article-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.article-card.vertical .article-image {
    flex: 0 0 auto;
}

.article-card.featured .article-image,
.article-card.featured-secondary .article-image {
    height: 100%;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.article-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card.horizontal .article-content {
    padding: 1.25rem;
}

.article-list-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.article-category {
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card.featured .article-title {
    font-size: 1.5rem;
}

.article-excerpt {
    color: var(--text-color);
    line-height: 1.6;

}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.article-author {
    font-weight: 600;
    font-size: 0.875rem;
}

.article-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Pagination */
.pagination {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.pagination-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-item {
    display: flex;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.pagination-link:hover {
    background-color: var(--background-alt);
    color: var(--accent-color);
}

.pagination-link.active {
    background-color: var(--accent-color);
    color: white;
}

.pagination-link.prev,
.pagination-link.next {
    gap: 0.5rem;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    color: var(--text-light);
}

.pagination-info {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Sidebar */
.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.recommended-articles {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.recommended-article {
    display: flex;
    gap: 1rem;
    transition: transform 0.2s ease;
}

.recommended-article:hover {
    transform: translateX(5px);
}

.recommended-image {
    flex: 0 0 80px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
}

.recommended-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommended-article:hover .recommended-image img {
    transform: scale(1.1);
}

.recommended-content {
    flex: 1;
}

.recommended-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-light);
}

.recommended-category {
    font-weight: 600;
    color: var(--accent-color);
}

.author-byline {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.author-mini-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-byline .author-name {
    font-weight: 600;
    color: #0b1c2f;
    font-size: 1rem;
    margin: 0;
}

.author-widget .author-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
    margin-top: 0;
    padding: 0;
    border: none;
}

.author-widget .author-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.author-widget .author-name-title h3 {
    font-size: 1.2rem;
    margin: 0 0 0.2rem;
    border: none;
    padding: 0;
}

.author-name-title p {
    font-size: 0.9rem;
    color: #6b7f94;
}

.author-bio {
    font-size: 0.95rem;
    color: #34495e;
    line-height: 1.5;
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-cloud-item {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: var(--background-alt);
    color: var(--text-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.tag-cloud-item:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Newsletter Widget */
.newsletter-widget p {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.sidebar-newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
}

.sidebar-submit-button {
    background-color: var(--accent-color);
    color: white;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.sidebar-submit-button:hover {
    background-color: var(--primary-light);
}

.newsletter-note {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

/* Recent Comments */
.recent-comments {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    padding: 1rem;
    background-color: var(--background-alt);
    border-radius: var(--radius);
    font-size: 0.875rem;
}

.comment-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.comment-preview {
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comment-meta {
    font-size: 0.75rem;
    color: var(--text-light);
}

.comment-meta a {
    color: var(--accent-color);
}

/* ==================== Article Detail Page Specific Styles ==================== */
.article-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.article-categories {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.article-category {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.article-category:hover {
    background-color: var(--primary-light);
    color: white;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.article-author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.author-title {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.article-dates {
    display: flex;
    gap: 0.5rem;
    font-size: 0.875rem;
    align-items: center;
}

.publish-date,
.update-date {
    display: flex;
    gap: 0.5rem;
}

.date-label {
    font-weight: 600;
    color: var(--primary-color);
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Article Featured Image */
.article-featured-image {
    margin-bottom: 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    padding: 0.75rem 1rem;
    background-color: var(--background-alt);
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    border-top: 1px solid var(--border-color);
}

/* Article Content */
.article-content {
    font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.75;
}



.article-lead {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.article-highlight {
    background-color: var(--background-alt);
    border-left: 4px solid var(--accent-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-highlight h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.article-highlight ul {
    margin-left: 1.5rem;
    margin-bottom: 0;
}

.article-highlight li {
    margin-bottom: 0.5rem;
}

.article-highlight li:last-child {
    margin-bottom: 0;
}

.article-quote {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.article-quote blockquote {
    margin: 0;
    padding: 0;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--primary-color);
}

.article-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    font-style: normal;
    color: var(--text-light);
    font-weight: 600;
}

.article-quote cite:before {
    content: "— ";
}

.article-inline-image {
    margin: 2.5rem 0;
    text-align: center;
}

.article-inline-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-inline-image figcaption {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.article-timeline {
    margin: 2.5rem 0;
}

.timeline-item {
    display: flex;
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-color);
}

.timeline-date {
    flex: 0 0 120px;
    padding-right: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1rem;
    position: relative;
}

.timeline-date:before {
    content: '';
    position: absolute;
    right: 0;
    top: 0.25rem;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translateX(50%);
}

.timeline-content {
    flex: 1;
    padding-left: 1.5rem;
}

.timeline-content h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.article-conclusion {
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 3rem 0;
    border-top: 4px solid var(--accent-color);
}

.article-conclusion h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Article Tags */
.article-tags {
    margin: 2.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.article-tags h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Article Footer */
.article-footer {
    margin: 3rem 0;
}

.author-bio {
    display: flex;
    gap: 2rem;
    background-color: var(--background-alt);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.author-avatar-large {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-bio-content {
    flex: 1;
}

.author-bio-content h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.author-bio-content .author-name {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.author-bio-content .author-title {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.author-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-social a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.author-social a:hover {
    color: var(--accent-color);
}

.author-social svg {
    flex-shrink: 0;
}

/* Share Widget */
.share-widget {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.share-widget h3 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background-color: var(--background-alt);
    color: #6b7587;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.share-button i {
    font-size: 24px;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.share-button[data-platform="twitter"]:hover {
    background-color: #1da1f2;
    color: white;
}

.share-button[data-platform="facebook"]:hover {
    background-color: #1877f2;
    color: white;
}

.share-button[data-platform="linkedin"]:hover {
    background-color: #0077b5;
    color: white;
}

.share-button[data-platform="pinterest"]:hover {
    background-color: #ea4335;
    color: white;
}

.share-button[data-platform="email"]:hover {
    background-color: var(--accent-color);
    color: white;
}

.share-button.copy-link:hover {
    background-color: var(--success-color);
    color: white;
}

/* Comments Section */
.comments-section {
    margin: 4rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.comments-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.comment-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    color: var(--text-color);
    transition: all 0.2s ease;
}

.comment-sort:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Comment Form */
.comment-form {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 3rem;
}

.comment-form h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.comment-form p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.comment-form-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.comment-form .submit-button {
    align-self: flex-start;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Comments List */
.comments-list {
    margin-bottom: 2rem;
}

.comment {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background-color: var(--background-alt);
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-avatar-initial {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.comment-author {
    font-weight: 700;
    color: var(--primary-color);
}

.comment-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-text {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-footer {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.comment-like {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background-color: var(--background-alt);
    color: var(--text-light);
    border-radius: var(--radius);
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.comment-like:hover {
    background-color: #fee2e2;
    color: #dc2626;
}

.comment-like svg {
    width: 14px;
    height: 14px;
}

.comment-reply {
    padding: 0.25rem 0.75rem;
    background-color: var(--background-alt);
    color: var(--text-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.comment-reply:hover {
    background-color: var(--accent-color);
    color: white;
}

/* Comments Load More */
.comments-load-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.load-more-button {
    padding: 0.875rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s ease;
}

.load-more-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.comments-load-more .pagination {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.comments-load-more .pagination-link {
    padding: 0.5rem 0.75rem;
    background-color: var(--background-alt);
    color: var(--text-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.comments-load-more .pagination-link:hover {
    background-color: var(--accent-color);
    color: white;
}

.comments-load-more .pagination-link.active {
    background-color: var(--accent-color);
    color: white;
}

/* Related Articles */
.related-articles {
    margin: 4rem 0;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.related-articles h2 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.related-article {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-article:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.related-category {
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-title {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-excerpt {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==================== Author Profile Page Specific Styles ==================== */
.author-profile {
    padding: 7rem 0 4rem;
}

/* Author Header */
.author-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}



.author-avatar-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.author-title {
    font-size: 1.25rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.author-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.author-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.author-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--background-alt);
    color: var(--text-color);
    transition: all 0.2s ease;
}

.social-link:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.author-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background-color: rgba(49, 130, 206, 0.1);
    color: var(--accent-color);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
}

/* Section Titles */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

/* Author Bio Section */
.author-bio-section {
    margin-bottom: 3rem;
}

.author-bio-content {
    line-height: 1.7;
}


.bio-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.bio-column h3:first-child {
    margin-top: 0;
}

.bio-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.bio-list li {
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.expertise-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.expertise-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.expertise-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-alt);
    border-radius: 50%;
}

.expertise-content h4 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.expertise-content p {
    margin-bottom: 0;
    font-size: 0.9375rem;
    color: var(--text-light);
}

/* Career Highlights */
.career-highlights {
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--accent-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-year {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.timeline-organization {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Publications & Recognition */
.publications-section {
    margin-bottom: 3rem;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.publication-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.publication-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.publication-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.publication-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.publication-list {
    margin-left: 0;
    padding-left: 0;
}

.publication-list li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.publication-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.publication-list li:last-child {
    margin-bottom: 0;
}

/* Recent Articles */
.recent-articles {
    margin-bottom: 3rem;
}

.recent-articles .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.recent-articles .view-all {
    font-weight: 600;
    color: var(--accent-color);
}

.recent-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.view-all-container {
    text-align: center;
    margin-top: 2rem;
}

.view-all-button {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s ease;
}

.view-all-button:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Contact Author */
.contact-author {
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--background-alt);
    border-radius: 50%;
}

.contact-details h3 {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-link {
    font-weight: 600;
    color: var(--accent-color);
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-details address {
    font-style: normal;
    color: var(--text-color);
}

/* Contact Form */
.contact-form {
    background-color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.message-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.message-form .form-group {
    display: flex;
    flex-direction: column;
}

.message-form label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.message-form input,
.message-form select,
.message-form textarea {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s ease;
}

.message-form input:focus,
.message-form select:focus,
.message-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.message-form .checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.message-form .checkbox-group input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
}

.message-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.875rem;
}

.message-form .submit-button {
    align-self: flex-start;
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Other Authors */
.other-authors {
    margin-bottom: 3rem;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.author-card {
    background-color: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
}

.author-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.author-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 4px solid white;
    box-shadow: var(--shadow);
}

.author-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.author-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.author-card-title {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.author-card-bio {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
    flex: 1;
}

.author-card-link {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.875rem;
}

.author-card-link:hover {
    color: var(--primary-light);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .news-card.featured,
    .news-card.horizontal,
    .news-card.vertical,
    .news-card.minimal {
        grid-column: span 1;
    }

    .news-card.horizontal {
        flex-direction: column;
        grid-template-columns: 100%;
    }

    .reports-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .list-page-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .article-card.featured,
    .article-card.featured-secondary {
        grid-template-columns: 1fr;
    }

    .article-card.horizontal {
        flex-direction: column;
    }

    .article-card.horizontal .article-image {
        flex: 0 0 auto;
        max-width: 100%;
    }

    .bio-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .publications-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .authors-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-header {
        position: relative;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: 55px;
        left: 0;
        right: 0;
        background-color: white;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        margin-left: 0;
        z-index: 1000;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 1rem;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .hamburger-menu {
        display: flex;
    }

    .nav-actions .cta-button {
        display: none;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 20px;
    }

    .filter-tabs {
        align-self: flex-start;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
    }

    .category-title {
        font-size: 2rem;
    }

    .category-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sort-filter {
        align-self: flex-start;
    }

    .filter-section {
        padding: 1.25rem;
    }

    .date-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .date-btn {
        text-align: center;
    }

    .pagination-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tag-cloud {
        justify-content: center;
    }

    .author-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .author-meta {
        justify-content: center;
    }

    .author-social {
        justify-content: center;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item:before {
        left: -1.5rem;
    }

    .message-form .form-row {
        grid-template-columns: 1fr;
    }

    .recent-articles .articles-grid {
        grid-template-columns: 1fr;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.125rem;
    }

    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-social {
        justify-content: center;
    }

    .comments-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .comment {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .comment-avatar {
        width: 40px;
        height: 40px;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .related-grid {
        grid-template-columns: 100%;
    }

    .list-page-content {
        grid-template-columns: 100%;
    }

    .form-row {
        grid-template-columns: 100%;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .latest-news {
        padding-top: 1rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .card-title {
        font-size: 1.125rem;
    }

    .news-card.featured .card-title {
        font-size: 1.25rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .form-group {
        flex-direction: column;
    }

    .submit-button {
        width: 100%;
    }

    .breadcrumb-wrapper {
        padding: 1.5rem 0 1rem;
        margin-top: 0;
    }

    .breadcrumb-list {
        margin-bottom: 0;
    }

    .category-title {
        font-size: 1.45rem;
        margin: 0;
    }

    .list-page-content {
        padding: 1.5rem 0 3rem;
    }

    .article-content {
        padding: 1.25rem;
    }

    .article-card.featured .article-title {
        font-size: 1.25rem;
    }

    .article-title {
        font-size: 1.125rem;
    }

    .article-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .pagination-info {
        text-align: center;
    }

    .article-title {
        font-size: 1.4rem;
    }

    .article-dates ,.author-byline .author-name{
        font-size: 0.7rem;
    }

    .author-mini-avatar {
        width: 30px;
        height: 30px;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.25rem;
    }

    .article-lead {
        font-size: 1.125rem;
    }

    .article-quote blockquote {
        font-size: 1.125rem;
    }

    .article-quote {
        padding: 1.5rem;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-date {
        flex: none;
        padding-right: 0;
        padding-bottom: 0.5rem;
        margin-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-color);
    }

    .timeline-date:before {
        display: none;
    }

    .timeline-content {
        padding-left: 0;
    }

    .comment-form {
        padding: 1.5rem;
    }

    .share-button span {
        display: none;
    }

    .share-button {
        padding: 0.75rem;
        justify-content: center;
    }

    .author-profile {
        padding: 1.5rem 0 3rem;
    }

    .author-avatar-large {
        width: 150px;
        height: 150px;
    }

    .author-name {
        font-size: 1.75rem;
    }

    .author-title {
        font-size: 1.125rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .publications-grid {
        grid-template-columns: 1fr;
    }

    .authors-grid {
        grid-template-columns: 1fr;
    }

    .author-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .author-card-avatar {
        margin-bottom: 0;
        width: 80px;
        height: 80px;
    }
}