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

:root {
    --primary-color: #3b82f6;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --secondary-color: #8b5cf6;
    --accent-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;

    --text-dark: #1f2937;
    --text-medium: #4b5563;
    --text-light: #6b7280;
    --text-muted: #9ca3af;

    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-lighter: #f8fafc;
    --bg-gray: #f3f4f6;

    --border-light: #e5e7eb;
    --border-medium: #d1d5db;
    --border-dark: #9ca3af;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    --transition-fast: 150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow: 350ms ease;

    --container-width: 1200px;
    --header-height: 80px;
    --mobile-breakpoint: 768px;
    --tablet-breakpoint: 1024px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--bg-white);
    overflow-x: hidden;
    padding-top: 100px;
}

.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: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul,
li {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

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

.btn-subscribe:hover {
    background-color: #0da271;
    transform: translateY(-2px);
}

/* ============================================
   Announcement Bar
   ============================================ */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 500;
    position: relative;
    z-index: 100;
}

.announcement-bar p {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.announcement-bar strong {
    font-weight: 700;
}

/* ============================================
   Navigation Bar - Fixed with Scroll Effect
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: all var(--transition-normal);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.5rem 0;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: var(--radius-full);
}

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

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-light);
    transition: all var(--transition-fast);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box input {
    border: none;
    background: transparent;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    width: 180px;
    outline: none;
    color: var(--text-medium);
}

.search-box button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

.search-box button:hover {
    color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    transform-origin: left center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* ============================================
   Main Content Area
   ============================================ */
main {
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 4rem;
    min-height: calc(100vh - 400px);
}

.section {
    margin-bottom: 4rem;
}

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-header h1,
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================
   Card Styles (Shared across pages)
   ============================================ */
.news-card,
.article-card,
.related-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.news-card:hover,
.article-card:hover,
.related-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.news-card.featured {
    grid-column: span 2;
}

.news-card.horizontal {
    flex-direction: row;
}

.news-card.compact .card-content {
    padding: 1.5rem;
}

.news-card.vertical {
    flex-direction: column;
}

.news-card.minimal {
    border: none;
    box-shadow: none;
    background-color: transparent;
}

.news-card.minimal:hover {
    transform: none;
    box-shadow: none;
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card.horizontal .card-image {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

.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(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

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

.card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
    flex: 1;
}

.card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-excerpt {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    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;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 500;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    color: var(--text-light);
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
}

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

/* ============================================
   Home Page Specific Styles
   ============================================ */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
        grid-row: span 2;
        flex-direction: row;
    }

    .news-card.featured .card-image {
        width: 50%;
        height: auto;
    }

    .news-card.horizontal {
        grid-column: span 1;
    }
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    text-decoration: none;
    color: var(--text-medium);
    transition: all var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.category-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--radius-lg);
    color: white;
    margin-bottom: 1rem;
}

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

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

.category-count {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

/* Featured Grid */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;

}

.featured-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

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

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

.featured-content {
    padding: 1.5rem;
}

.featured-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-color);
    padding: 0.25rem 0.5rem;
    background-color: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.featured-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.featured-title a:hover {
    color: var(--primary-color);
}

.featured-excerpt {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

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

/* Content with Sidebar */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 67% 30%;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.main-content {
    flex: 1;
    min-width: 0;
}

.sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* Editors Pick */
.editors-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.editor-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.editor-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.editor-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    min-width: 40px;
}

.editor-content {
    flex: 1;
}

.editor-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 0.5rem;
}

.editor-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.editor-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.editor-title a:hover {
    color: var(--primary-color);
}

.editor-excerpt {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

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

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

.author-mini-avatar {
    width: 35px;
    height: 35px;
    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;
    background: none;
    box-shadow: none;
}

.author-widget .author-header::before {
    content: 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;
    color: #333;
}

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

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

.sidebar-widget {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

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

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

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

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

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* Trending List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trending-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.trending-item:hover {
    background-color: var(--bg-light);
}

.trending-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.trending-content {
    flex: 1;
}

.trending-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.trending-title a {
    color: inherit;
    text-decoration: none;
}

.trending-title a:hover {
    color: var(--primary-color);
}

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

/* Events List */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: background-color var(--transition-fast);
}

.event-item:hover {
    background-color: var(--bg-light);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.event-day {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.event-month {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    margin-top: 0.125rem;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.event-title a {
    color: inherit;
    text-decoration: none;
}

.event-title a:hover {
    color: var(--primary-color);
}

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

/* ============================================
   List Page Specific Styles
   ============================================ */
/* Breadcrumb Navigation */
.breadcrumb-nav {
    margin: 2rem 0 1.5rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-gray) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    margin-right: 0.5rem;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    color: var(--text-medium);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.breadcrumb-link:hover {
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.1);
}

.breadcrumb-link svg {
    margin-right: 0.375rem;
    width: 14px;
    height: 14px;
}

.breadcrumb-separator {
    color: var(--text-muted);
    margin: 0 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    background-color: rgba(59, 130, 246, 0.15);
    border-radius: var(--radius-md);
}

.breadcrumb-stats {
    display: flex;
    gap: 1.5rem;
}

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

.stat-item strong {
    color: var(--primary-color);
    font-weight: 700;
    margin-right: 0.25rem;
}

/* Page Header */
.page-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 1.5rem;
}

.category-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

.meta-item svg {
    margin-right: 0.5rem;
    width: 16px;
    height: 16px;
}

.meta-item strong {
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 0.25rem;
}

/* Category Controls */
.category-controls {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

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

.controls-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

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

.controls-summary strong {
    color: var(--primary-color);
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 180px;
    flex: 1;
}

.filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.filter-label svg {
    margin-right: 0.5rem;
    width: 14px;
    height: 14px;
}

.custom-select {
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    appearance: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
}

.view-toggle {
    display: flex;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-left: auto;
}

.view-btn {
    background: var(--bg-white);
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover {
    color: var(--text-light);
    background-color: var(--bg-light);
}

.view-btn.active {
    color: var(--primary-color);
    background-color: rgba(59, 130, 246, 0.1);
}

.view-btn:first-child {
    border-right: 1px solid var(--border-medium);
}

.quick-filter-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.quick-filter-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
}

.tag-filter {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.tag-filter:hover {
    background-color: var(--bg-gray);
    color: var(--text-medium);
}

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

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card.horizontal {
    grid-column: span 2;
    flex-direction: row;
}

.article-card.compact {
    padding: 1.5rem;
}

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

.article-card.horizontal .article-image {
    width: 200px;
    height: auto;
    flex-shrink: 0;
}

.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-image-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

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

.article-card.compact .article-content {
    padding: 0;
}

.article-category-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.article-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
}

.article-featured-label,
.article-popular-label,
.article-trending-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.article-featured-label {
    color: var(--secondary-color);
    background-color: rgba(139, 92, 246, 0.1);
}

.article-popular-label {
    color: var(--accent-color);
    background-color: rgba(16, 185, 129, 0.1);
}

.article-trending-label {
    color: var(--warning-color);
    background-color: rgba(245, 158, 11, 0.1);
}

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

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

.author-info span:first-child {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

.meta-info {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Pagination */
.pagination {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.pagination-info {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.pagination-info strong {
    color: var(--primary-color);
    font-weight: 700;
}

.pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
    gap: 0.5rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
}

.pagination-btn svg {
    width: 14px;
    height: 14px;
}

.pagination-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.pagination-number:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
}

.pagination-number.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-ellipsis {
    color: var(--text-muted);
    padding: 0 0.5rem;
}

.pagination-jump {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.jump-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
}

.jump-control {
    display: flex;
    gap: 0.5rem;
}

.jump-control input {
    width: 60px;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    text-align: center;
}

.jump-control input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.jump-btn {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.jump-btn:hover {
    background-color: var(--primary-dark);
}

/* Category Summary */
.category-summary {
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-gray) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    border-left: 4px solid var(--primary-color);
}

.category-summary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

.summary-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Sidebar Topics List */
.topics-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.topic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-medium);
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.topic-item:hover {
    background-color: var(--bg-light);
    border-color: var(--border-light);
    color: var(--primary-color);
}

.topic-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.topic-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background-color: var(--bg-gray);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
}

/* Popular List */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.popular-item:hover {
    background-color: var(--bg-light);
}

.popular-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.popular-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.popular-title a {
    color: inherit;
    text-decoration: none;
}

.popular-title a:hover {
    color: var(--primary-color);
}

.popular-meta {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ============================================
   Article Detail Page Specific Styles
   ============================================ */
/* Article Header */
.article-header {
    margin-bottom: 2.5rem;
}

.article-category-badge {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.featured-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    background-color: rgba(139, 92, 246, 0.1);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 4px rgba(139, 92, 246, 0.1);
}

.article-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.article-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-gray) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

.author-info-large {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
}

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

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

.author-details {
    flex: 1;
}

.author-name-role {
    margin-bottom: 0.75rem;
}

.author-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 0.25rem 0;
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

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

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

.author-social a {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.author-social a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.article-meta-details {
    display: flex;
    gap: 1rem;
    min-width: 200px;
}

.meta-detail {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.meta-detail svg {
    color: var(--text-light);
    flex-shrink: 0;
}

.meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    font-weight: 600;
}

.meta-value {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
}

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

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

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

/* Article Body */
.article-body {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
}

.article-lead {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid #0ea5e9;
}

.lead-paragraph {
    font-size: 1.25rem;
    font-weight: 500;
    color: #0369a1;
    margin: 0;
    line-height: 1.6;
}

.article-content {
    margin-bottom: 2.5rem;
     font-size: 0.985rem;
    letter-spacing: 0.2px;
    color: #171717;
    line-height: 1.75;
}

.article-card-content img {
    margin: 0 auto;
}

.article-quote {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-gray) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-style: italic;
}

.article-quote p {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-quote cite {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: normal;
    font-weight: 500;
}

.article-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature {
    padding: 1.5rem;
    background-color: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature h4 {
    font-size: 1.125rem;
    margin-top: 0;
    color: var(--primary-color);
}

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

.article-image-inline {
    margin: 2rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

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

.article-content strong {
    color: var(--text-dark);
    font-weight: 600;
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.article-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-table tbody tr {
    border-bottom: 1px solid var(--border-light);
    transition: background-color var(--transition-fast);
}

.article-table tbody tr:hover {
    background-color: var(--bg-light);
}

.article-table td {
    padding: 1rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
}

.article-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

/* Article Tags */
.article-tags-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.tags-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Article Actions */
.article-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.share-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.share-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.share-btn svg {
    width: 18px;
    height: 18px;
}

.share-btn.twitter {
    background-color: #1da1f2;
    color: white;
}

.share-btn.twitter:hover {
    background-color: #0d8bd9;
}

.share-btn.linkedin {
    background-color: #0077b5;
    color: white;
}

.share-btn.linkedin:hover {
    background-color: #006396;
}

.share-btn.facebook {
    background-color: #1877f2;
    color: white;
}

.share-btn.facebook:hover {
    background-color: #0d66d8;
}


.share-btn.pinterest {
    background-color: #f55243;
    color: white;
}

.share-btn.pinterest:hover {
    background-color: #ea4335;
}

.share-btn.copy-link {
    background-color:rgb(255, 94, 0);
    color: var(--bg-white);
    border: 1px solid var(--border-medium);
}

.share-btn.copy-link:hover {
    background-color: var(--accent-color);
}

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

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-medium);
    background-color: var(--bg-light);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.action-btn:hover {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.action-btn svg {
    width: 18px;
    height: 18px;
}

/* Author Bio Expanded */
.author-bio-expanded {
    display: flex;
    gap: 1.5rem;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-gray) 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-color);
}

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

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

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

.author-bio-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
}

.author-bio-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.author-stat {
    text-align: center;
}

.author-stat .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.author-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

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

.comments-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.comments-count {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
}

.comment-form-container {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.comment-form-container h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

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

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: var(--text-medium);
    background-color: var(--bg-white);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.form-notice svg {
    color: var(--text-muted);
    flex-shrink: 0;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.comment {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.comment:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.avatar-initials {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.comment-content {
    flex: 1;
}

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

.comment-author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

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

.comment-text {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.comment-text p {
    margin-bottom: 1rem;
}

.comment-text p:last-child {
    margin-bottom: 0;
}

.comment-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.comment-reply,
.comment-like {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.comment-reply:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.comment-like:hover {
    color: var(--danger-color);
    border-color: var(--danger-color);
}

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

.comments-load-more {
    text-align: center;
    margin-top: 2rem;
}

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

.related-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.related-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

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

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

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

.related-content {
    padding: 1.5rem;
}

.related-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
}

.related-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.related-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.related-card-title a:hover {
    color: var(--primary-color);
}

.related-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Sidebar Widgets for Detail Page */
.toc-widget {
    position: sticky;
    top: 2rem;
}

.toc-nav {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid var(--border-light);
}

.toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-list li {
    margin: 0;
}

.toc-list a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-medium);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.toc-list a:hover {
    background-color: var(--bg-gray);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.resource-widget .resource-content {
    text-align: center;
    padding: 1.5rem;
}

.resource-widget .resource-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 50%;
    color: #0ea5e9;
}

.resource-widget h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.75rem 0;
}

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

/* ============================================
   Author Detail Page Specific Styles
   ============================================ */
/* Author Header */
.author-header {
    margin: 3rem 0;
}

.author-identity {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    flex-wrap: wrap;
}



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

.author-verified {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.author-verified svg {
    width: 12px;
    height: 12px;
}

.author-basic-info {
    flex: 1;
    min-width: 300px;
}

.author-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.author-name {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author-tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.author-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.author-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-meta .meta-item svg {
    color: var(--text-light);
    flex-shrink: 0;
}

.author-meta .meta-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.author-meta .meta-value {
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 600;
}

.author-social-profiles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.social-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-profile svg {
    width: 18px;
    height: 18px;
}

.social-profile.twitter {
    background-color: #1da1f2;
    color: white;
}

.social-profile.twitter:hover {
    background-color: #0d8bd9;
    transform: translateY(-2px);
}

.social-profile.linkedin {
    background-color: #0077b5;
    color: white;
}

.social-profile.linkedin:hover {
    background-color: #006396;
    transform: translateY(-2px);
}

.social-profile.github {
    background-color: #333;
    color: white;
}

.social-profile.github:hover {
    background-color: #222;
    transform: translateY(-2px);
}

.social-profile.scholar {
    background-color: #4285f4;
    color: white;
}

.social-profile.scholar:hover {
    background-color: #3367d6;
    transform: translateY(-2px);
}

.author-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-contact .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Author Stats Overview */
.author-stats-overview {
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    color: #0ea5e9;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Author Content */
.author-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Expertise Section */
.expertise-section {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

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

.expertise-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.skill-name {
    flex: 1;
    font-size: 0.9375rem;
    color: var(--text-medium);
    font-weight: 500;
    min-width: 150px;
}

.skill-level {
    flex: 2;
    height: 8px;
    background-color: var(--bg-gray);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-full);
    transition: width 1s ease;
}

.skill-percent {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    min-width: 40px;
    text-align: right;
}

/* Recent Articles Section */
.recent-articles-section {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

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

.view-all {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.view-all:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Awards Section */
.awards-section {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

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

.awards-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.award-item {
    position: relative;
    padding: 0 0 2rem 2rem;
}

.award-item:last-child {
    padding-bottom: 0;
}

.award-item::before {
    content: '';
    position: absolute;
    left: -0.5rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.award-year {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.award-content {
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border-left: 3px solid var(--primary-color);
}

.award-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.award-organization {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.award-description {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
}

/* Speaking Section */
.speaking-section {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

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

.speaking-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.speaking-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.speaking-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-md);
    color: white;
    flex-shrink: 0;
}

.speaking-month {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.speaking-day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.speaking-year {
    font-size: 0.75rem;
    font-weight: 600;
}

.speaking-content {
    flex: 1;
}

.speaking-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.speaking-event {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.speaking-location {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.speaking-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.speaking-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Publications Section */
.publications-section {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.publications-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publication-item {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.publication-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-gray);
}

.publication-type {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-color);
    padding: 0.25rem 0.5rem;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.publication-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.publication-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.publication-journal {
    font-weight: 600;
    color: var(--text-medium);
}

.publication-citations {
    background-color: var(--bg-gray);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
}

.publication-abstract {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.publication-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.publication-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background-color: var(--text-dark);
    color: white;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, white, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-about {
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--primary-light);
}

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

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

.footer-subscribe-text {
    font-size: 0.875rem;
    color: #d1d5db;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-subscribe-form {
    display: flex;
    margin-bottom: 1.5rem;
}

.footer-subscribe-form .form-group {
    flex: 1;
    position: relative;
}

.footer-subscribe-form input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--text-dark);
    background-color: white;
    border: none;
    border-radius: var(--radius-md);
}

.footer-subscribe-form .btn-submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.footer-subscribe-form .btn-submit:hover {
    background-color: var(--primary-dark);
}

.footer-contact {
    font-size: 0.875rem;
    color: #d1d5db;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: white;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-copyright {
    font-size: 0.875rem;
    color: #9ca3af;
}

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

.footer-legal a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color var(--transition-fast);
}

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

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .content-with-sidebar {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .toc-widget {
        position: static;
    }

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

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

    .article-card.horizontal .article-image {
        width: 100%;
        height: 200px;
    }

    .author-identity {
        gap: 2rem;
    }

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

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

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

@media (max-width: 768px) {
    body {
        padding-top: 0;
    }

    .navbar {
        position: relative;
        height: auto;
    }

    .hamburger {
        display: flex;
    }

    .content-with-sidebar {
        grid-template-columns: 100%;
    }

    .nav-menu {
        position: fixed;
        top: 46px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

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

    .nav-links a {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }

    .nav-links a.active::after {
        display: none;
    }

    .nav-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        width: 100%;
    }

    .breadcrumb-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-top: 0;
    }

    .breadcrumb-stats {
        width: 100%;
        justify-content: space-between;
    }

    .page-title {
        font-size: 1.4rem;
        margin: 0;
    }

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-group {
        min-width: auto;
    }

    .view-toggle {
        margin-left: 0;
        align-self: flex-start;
    }

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

    .pagination-list {
        gap: 0.25rem;
    }

    .pagination-btn,
    .pagination-number {
        padding: 0.5rem 0.75rem;
    }

    .summary-stats {
        gap: 1rem;
    }

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

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

    .author-mini-avatar,.meta-detail svg{
        display: none;
    }

    .article-meta-header{
        justify-content: left;
        gap: 0.5rem;
    }

    .article-meta-details{
        gap: 0.5rem;
    }

    .meta-label,.meta-value{
        font-size: 0.7rem;
    }

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

    .article-meta-details{
        width: auto;
        min-width: auto;
    }

    .article-meta-header{
            padding:10px;
    }
    .author-info-large {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar-large {
        align-self: center;
    }


    .article-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .action-buttons {
        align-self: flex-start;
    }

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

    .author-bio-expanded .author-avatar {
        align-self: center;
    }

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

    .comment {
        flex-direction: column;
        text-align: center;
    }

    .comment-avatar {
        align-self: center;
    }

    .comment-header {
        justify-content: center;
    }

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

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

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

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

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

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

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

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

    .bio-highlights {
        grid-template-columns: 1fr;
    }

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

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

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

    .skill {
        flex-wrap: wrap;
    }

    .skill-name {
        min-width: 100%;
    }

    .skill-level {
        flex: 1;
    }
}

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

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

    .section-subtitle {
        font-size: 1rem;
    }

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

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

    .author-social-profiles {
        flex-direction: column;
    }

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

    .author-contact {
        flex-direction: column;
        width: 100%;
    }

    .author-contact .btn {
        width: 100%;
        justify-content: center;
    }

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

    .awards-timeline {
        padding-left: 1.5rem;
    }

    .award-item {
        padding-left: 1.5rem;
    }

    .article-title {
        font-size: 1.45rem;
        margin-top: 10px;
    }

    .article-lead {
        padding: 1rem;
    }

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

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

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

    .share-buttons {
        flex-direction: column;
        width: 100%;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }

    .action-buttons {
        flex-direction: column;
        width: 100%;
    }

    .action-btn {
        width: 100%;
        justify-content: center;
    }

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

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

    .news-card.featured .card-image {
        width: 100%;
        height: 200px;
    }

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

    .news-card.horizontal .card-image {
        width: 100%;
        aspect-ratio: 4 /3;
    }
}

/* Print Styles */
@media print {

    .announcement-bar,
    .navbar,
    .sidebar,
    .article-actions,
    .comments-section,
    .footer,
    .back-to-top {
        display: none;
    }

    main {
        padding-top: 0;
    }

    .container {
        max-width: 100%;
    }

    a {
        color: var(--text-dark);
        text-decoration: none;
    }

    .article-content a::after {
        content: " (" attr(href) ")";
        font-size: 0.875em;
        color: var(--text-light);
    }
}