﻿/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --primary-light: #2d4a8a;
    --secondary-color: #d53f8c;
    --accent-color: #3182ce;
    --text-color: #2d3748;
    --text-light: #718096;
    --border-color: #e2e8f0;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --success-color: #38a169;
    --warning-color: #dd6b20;
    --danger-color: #e53e3e;
    --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: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --font-serif: Georgia, 'Times New Roman', Times, serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 40px;
}

.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 20px;
}

.container-narrow {
    max-width: 800px;
}

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

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

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

ul,
ol {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 1001;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   Header & Navigation with Scroll Effect
   ============================================ */
.header {
    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.1);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
}

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

.logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-text {
    line-height: 1;
}

.logo-subtext {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-light);
}

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

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

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

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

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

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-light);
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--border-color);
    color: var(--text-color);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
}

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

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

.btn-outline {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    border-radius: var(--radius);
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1002;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Announcement */
.announcement {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 0;
    margin-top: 71px;
    /* Header height */
}

.announcement-label {
    font-weight: 700;
    margin-right: 10px;
    background-color: var(--secondary-color);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.announcement-text {
    font-weight: 500;
}

.announcement-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 5px;
}

.announcement-link:hover {
    color: var(--border-color);
}

/* Main Content */
main {
    padding: 3rem 0;
    min-height: 70vh;
}

.section {
    margin-bottom: 4rem;
}

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

.section-link {
    color: var(--primary-color);
    font-weight: 600;
}

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

/* ============================================
   Homepage Styles
   ============================================ */

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

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

.news-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

.news-card.featured .news-card-image {
    height: 300px;
}

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

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

.news-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

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

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

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

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

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.news-card-author {
    font-weight: 600;
    color: var(--text-color);
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

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

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

.category-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.category-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.category-stats {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.category-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
}

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

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

.report-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

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

.report-card-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.report-card-content {
    padding: 1.5rem;
}

.report-card-series {
    display: block;
    color: var(--accent-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.report-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.report-card-excerpt {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.report-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Trending News */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.trending-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.trending-rank {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 30px;
}

.trending-content {
    flex-grow: 1;
}

.trending-title {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

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

.trending-category {
    background-color: var(--bg-light);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

/* Regional News */
.regional-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.region-card {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.region-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.region-news-list {
    margin-bottom: 1.5rem;
}

.region-news-list li {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.region-news-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.region-news-list a {
    color: var(--text-color);
    display: block;
}

.region-news-list a:hover {
    color: var(--primary-color);
}

.region-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
}

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

/* ============================================
   List Page Styles
   ============================================ */

/* Breadcrumb Navigation */
.breadcrumb {
    background-color: var(--bg-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

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

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item::after {
    content: "/";
    margin: 0 0.5rem;
    color: var(--text-light);
}

.breadcrumb-item:last-child::after {
    content: none;
}

.breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.breadcrumb-link:hover {
    background-color: white;
    color: var(--primary-color);
}

.breadcrumb-link svg {
    width: 16px;
    height: 16px;
}

.breadcrumb-current {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    background-color: white;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.breadcrumb-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

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

.breadcrumb-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    background-color: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.breadcrumb-action svg {
    width: 16px;
    height: 16px;
}

/* Page Header Category */
.page-header-category {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.page-header-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

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

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

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

.stat strong {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.page-header-image {
    border-radius: var(--radius);
    overflow: hidden;
    height: 200px;
}

.page-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 3rem;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
}

/* Category Filter Bar */
.category-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tab {
    padding: 0.5rem 1rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.filter-dropdowns {
    display: flex;
    gap: 1rem;
}

/* Dropdown Static Styles */
.dropdown-static {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 10px 15px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-color);
    min-width: 150px;
    cursor: pointer;
    transition: var(--transition);
}

.dropdown-toggle:hover {
    border-color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.dropdown-static:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-size: 0.875rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-item:last-child {
    border-bottom: none;
}

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

/* News Cards Grid */
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Category Article Cards */
.category-article-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

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

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

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

.article-card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.category-article-content {
    padding: 1.5rem;
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.article-category {
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
}

.article-date {
    color: var(--text-light);
}

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

.article-title a {
    color: var(--text-color);
}

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

.article-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;
}

.article-featured-quote {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-left: 3px solid var(--primary-color);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-featured-quote blockquote {
    font-style: italic;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

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

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

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

.author-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

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

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

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

.article-stats {
    display: flex;
    gap: 1rem;
}

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

.article-stats svg {
    width: 14px;
    height: 14px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Alternative Card Styles */
.card-style-alt {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
}

.card-style-alt:hover {
    background-color: white;
}

.card-style-featured {
    border: 2px solid var(--primary-color);
}

.card-style-featured:hover {
    border-color: var(--primary-light);
}

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

.card-style-minimal:hover {
    box-shadow: var(--shadow);
}

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

.pagination-enhanced .pagination-prev,
.pagination-enhanced .pagination-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.pagination-enhanced .pagination-prev:hover,
.pagination-enhanced .pagination-next:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-pages {
    display: flex;
    gap: 0.5rem;
}

.pagination-page {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

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

.pagination-page:not(.active):hover {
    background-color: var(--bg-light);
}

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

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

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

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

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

/* Recommended Articles Widget */
.recommended-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.recommended-article {
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.recommended-article:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.recommended-article-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.recommended-article-title a {
    color: var(--text-color);
}

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

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

.widget-link {
    display: block;
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.875rem;
}

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

/* Trending Tags Widget */
.trending-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.trending-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.75rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    color: var(--text-color);
    font-size: 0.875rem;
    transition: var(--transition);
}

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

.tag-name {
    font-weight: 500;
}

.tag-count {
    font-size: 0.75rem;
    color: inherit;
    opacity: 0.8;
}

/* Newsletter Widget */
.widget-newsletter {
    background-color: var(--primary-color);
    color: white;
}

.widget-newsletter .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.newsletter-form .form-input {
    background-color: white;
    border: none;
}

.newsletter-form .form-btn {
    background-color: var(--secondary-color);
    color: white;
}

.newsletter-form .form-btn:hover {
    background-color: #c53078;
}

.newsletter-form .form-checkbox label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
}

.newsletter-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Regional Links Widget */
.regional-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.regional-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    color: var(--text-color);
    transition: var(--transition);
}

.regional-link:hover {
    background-color: var(--primary-color);
    color: white;
}

.regional-name {
    font-weight: 500;
}

.regional-count {
    font-size: 0.75rem;
    color: inherit;
    opacity: 0.8;
}

/* Editorial Picks Widget */
.widget-editorial {
    padding: 0;
    overflow: hidden;
}

.editorial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.5rem 0;
}

.editorial-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.editorial-pick {
    padding: 1.5rem;
}

.editorial-image {
    height: 120px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 1rem;
}

.editorial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.editorial-title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.editorial-title a {
    color: var(--text-color);
}

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

.editorial-excerpt {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

/* Archives Widget */
.archives-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.archive-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    border-radius: var(--radius);
    color: var(--text-color);
    transition: var(--transition);
}

.archive-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
}

.archive-month {
    font-weight: 500;
}

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

/* ============================================
   Detail Page Styles
   ============================================ */

/* Article Header Detailed */
.article-header-detailed {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-category-tags {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

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

.article-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.article-main-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.article-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--primary-color);
}

.article-meta-detailed {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.article-author-detailed {
    display: flex;
    gap: 1.5rem;
    max-width: 400px;
}

.author-avatar-detailed {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-info-detailed {
    flex-grow: 1;
}

.author-name-detailed {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.author-title-detailed {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.author-bio-detailed {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.4;
}

.article-meta-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 250px;
}

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

.meta-stat svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.article-featured-image-detailed figcaption {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.image-caption-main {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.image-credit {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Article Share Bar */
.article-share-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.share-bar-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.share-label {
    font-weight: 600;
    color: var(--text-color);
}

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

.share-btn-social,
.share-btn-copy {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
}

.share-btn-social {
    background-color: white;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}

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

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

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

.share-btn-social[data-platform="linkedin"]:hover {
    background-color: #0a66c2;
    color: white;
    border-color: #0a66c2;
}

.share-btn-copy {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.share-btn-copy:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.bookmark-btn {
    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-weight: 500;
    font-size: 0.875rem;
    color: var(--text-color);
    transition: var(--transition);
}

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

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

.article-content-detailed h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.article-content-detailed h3 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-intro-detailed {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.article-intro-detailed p:first-child {
    font-weight: 500;
}

/* Article Highlight Box */
.article-highlight-box {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.highlight-box-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.highlight-box-header svg {
    color: var(--primary-color);
}

.highlight-box-header h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--primary-color);
}

.highlight-box-content {
    font-size: 1.0625rem;
    line-height: 1.6;
}

/* Article Quote Detailed */
.article-quote-detailed {
    margin: 2.5rem 0;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary-color);
}

.article-quote-detailed blockquote {
    font-size: 1.375rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.article-quote-detailed blockquote::before {
    content: "“";
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -1.5rem;
    left: -0.5rem;
    font-family: Georgia, serif;
}

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

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

.quote-title,
.quote-context {
    font-size: 0.75rem;
}

/* Article Timeline */
.article-timeline {
    margin: 2rem 0;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-color);
}

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

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

.timeline-year {
    position: absolute;
    left: -2.75rem;
    top: 0;
    width: 4rem;
    height: 2rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

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

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

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

/* Article Image Inline */
.article-image-inline {
    margin: 2.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.article-image-inline figcaption {
    padding: 1rem 1.5rem;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
}

/* Article Impact Grid */
.article-impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.impact-card {
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

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

.impact-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.impact-card p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

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

.tags-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.article-tag-large {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--bg-light);
    color: var(--text-color);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
}

.article-tag-large:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Author Bio Detailed */
.author-bio-detailed {
    margin: 4rem 0;
    padding: 2.5rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.author-bio-header {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.author-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-header-info {
    flex-grow: 1;
}

.author-name-large {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.author-title-large {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

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

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    color: var(--text-color);
    transition: var(--transition);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.author-bio-content-detailed {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.author-articles-link {
    text-align: right;
}

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

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

.comments-title {
    font-size: 1.75rem;
    margin: 0;
    color: var(--text-color);
}

.comments-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.comments-count {
    font-weight: 600;
    color: var(--text-color);
}

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

.sort-label {
    color: var(--text-light);
}

/* Comment Form Detailed */
.comment-form-detailed {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-light);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.comment-form-header {
    margin-bottom: 2rem;
}

.comment-form-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

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

.comment-form-fields .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment-form-fields .form-group {
    margin-bottom: 0;
}

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

.comment-form-fields .form-input,
.comment-form-fields .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    background-color: white;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text-color);
    transition: var(--transition);
}

.comment-form-fields .form-input:focus,
.comment-form-fields .form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

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

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.form-checkbox-group input {
    margin-top: 3px;
}

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

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

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

.comment-detailed {
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

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

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

.comment-avatar {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

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

.comment-author-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-color);
}

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

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

.comment-content-detailed {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

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

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

.comment-actions {
    display: flex;
    gap: 1.5rem;
}

.comment-action {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    padding: 0;
    font-size: 0.75rem;
    color: var(--text-light);
    transition: var(--transition);
}

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

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

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

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

.related-header {
    margin-bottom: 2.5rem;
}

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

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

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.related-article-detailed {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.related-article-image {
    height: 150px;
    overflow: hidden;
}

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

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

.related-article-content {
    padding: 1.5rem;
}

.related-article-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

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

.related-article-title a {
    color: var(--text-color);
}

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

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

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

.related-actions {
    text-align: center;
}

/* ============================================
   Footer Styles
   ============================================ */
.footer {
    background-color: var(--bg-dark);
    color: white;

}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    font-weight: 700;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

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

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #2d3748;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

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

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

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-subscribe-text {
    color: #a0aec0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

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

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

.form-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: 1px solid #4a5568;
    background-color: #2d3748;
    color: white;
    border-radius: var(--radius) 0 0 var(--radius);
    font-family: inherit;
}

.form-input::placeholder {
    color: #a0aec0;
}

.form-btn {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius) var(--radius) 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-btn:hover {
    background-color: var(--primary-light);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #a0aec0;
}

.form-checkbox input {
    margin-top: 3px;
}

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

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

.footer-contact a {
    color: #a0aec0;
}

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

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

.copyright {
    color: #a0aec0;
    font-size: 0.875rem;
    margin: 0;
}

.copyright a {
    color: var(--bg-color);
}

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

.footer-legal a {
    color: #a0aec0;
    font-size: 0.875rem;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    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);
}

/* ============================================
   Utility Classes
   ============================================ */
.tag {
    display: inline-block;
    padding: 4px 10px;
    background-color: var(--bg-light);
    color: var(--text-color);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

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

.author-mini {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.author-mini span {
    font-weight: 500;
    color: #1b3853;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.share-btn {
    background: none;
    border: 1px solid #b9cfec;
    padding: 8px 24px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 10px;
}

.share-btn:hover {
    background: #e2ecf9;
}

.author-card {
    text-align: center;
    background: #f7fafd;
    padding: 28px 20px;
    border: 1px solid #e1eaf2;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 20, 40, 0.1);
}

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

.author-card h3 {
    border-bottom: none;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.author-bio {
    color: #365773;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.author-block {
    display: flex;
    gap: 24px;
    background: #f5faff;
    padding: 28px;
    margin: 40px 0;
    border: 1px solid #d5e3f0;
    align-items: center;
}

.author-block img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.author-info p {
    color: #2d4b68;
    margin-bottom: 10px;
}

.author-page-main {
    padding: 40px 0;
}



.author-header {
    display: flex;
    gap: 40px;
    align-items: center;
    margin: 60px 0 48px;
    background: #f8fbfe;
    padding: 40px;
    border: 1px solid #e1eaf2;
}

.author-header-img {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 8px 20px rgba(0, 30, 50, 0.1);
}

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

.author-header-info h1 {
    font-size: 2.8rem;
    font-weight: 350;
    margin: 0 0 10px 0;
    line-height: 1.2;
}

.author-title {
    font-size: 1.2rem;
    color: #2d577b;
    margin-bottom: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-header-info .author-bio {
    font-size: 1.1rem;
    color: #1e3b50;
    max-width: 700px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author-social {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.author-social a {
    color: #1d4e7c;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #b9cfec;
    padding: 6px 18px;
    transition: background 0.2s;
}

.author-social a:hover {
    background: #e2ecf9;
}

.author-detailed-bio {
    background: #ffffff;
    padding: 20px;
    border-bottom: 1px solid #dae4ee;
}

.author-detailed-bio h2 {
    font-size: 2rem;
    font-weight: 380;
    margin-bottom: 24px;
    border-left: 6px solid #4a6b8a;
    padding-left: 20px;
}

.author-detailed-bio p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #1f3343;
    margin-bottom: 1.5em;
    max-width: 900px;
}

.author-articles {
    margin: 48px 0;
}

.author-articles h2 {
    font-size: 2rem;
    font-weight: 380;
    margin-bottom: 32px;
    border-left: 6px solid #4a6b8a;
    padding-left: 20px;
}

.article-grid-4col {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
}

.author-article-card {
    background: white;
    border: 1px solid #e6eef7;
    transition: transform 0.2s, box-shadow 0.2s;
}

.author-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px -8px rgba(20, 50, 80, 0.15);
}

.author-article-card .card-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.author-article-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.author-article-card:hover .card-img img {
    transform: scale(1.03);
}

.author-article-card .card-content {
    padding: 16px;
}

.author-article-card .card-category {
    font-size: 0.75rem;
    margin-bottom: 6px;
}

.author-article-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.author-article-card h3 a {
    text-decoration: none;
    color: #112b40;
}

.author-article-card .card-meta {
    font-size: 0.8rem;
    color: #57758e;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 1024px) {
    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

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

    .page-header-category {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-header-image {
        height: 250px;
    }

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

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

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

    .header {
        position: absolute;
        padding: 5px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    /* Mobile Navigation */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 34px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        z-index: 999;
        max-height: calc(100vh - 34px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin-bottom: 1rem;
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 1rem;
        border-radius: var(--radius);
        border: 1px solid var(--border-color);
    }

    .nav-link.active {
        background-color: var(--bg-light);
    }

    .nav-link:hover {
        background-color: var(--bg-light);
    }

    .breadcrumb {
        padding: 10px;
        margin-bottom: 10px;
    }

    /* Grid Adjustments */
    .news-cards-grid,
    .news-grid,
    .categories-grid,
    .regional-grid,
    .trending-grid {
        grid-template-columns: 1fr;
    }

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

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

    .section {
        margin-bottom: 20px;
    }

    .pagination-enhanced {
        display: block;
        margin: 0;
    }

    .pagination-enhanced li {
        display: inline-block;
        margin: 5px;
    }

    .page-header-category {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

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

    .main-content {
        overflow: hidden;
    }

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

    .category-filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .filter-tabs {
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .filter-dropdowns {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
    }

    .article-meta-detailed {
        flex-direction: column;
        gap: 1.5rem;
    }

    .article-meta-stats {
        width: 100%;
    }

    .article-share-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .share-bar-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .article-impact-grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .pagination-enhanced {
        gap: 1rem;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcrumb-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .breadcrumb-item::after {
        content: none;
    }
}

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

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

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

    .meta-stat {
        gap: 0.25rem;
    }

    .article-author-detailed {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .nav-actions {
        gap: 0.5rem;
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .form-actions .btn {
        width: 100%;
    }

    .comment-header-detailed {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .comment-author-detailed {
        width: 100%;
    }

    .comment-date-detailed {
        align-self: flex-end;
    }
}

/* Print Styles */
@media print {

    .header,
    .announcement,
    .footer,
    .back-to-top,
    .article-share-bar,
    .comments-section-detailed,
    .sidebar {
        display: none !important;
    }

    main {
        padding: 0;
        margin: 0;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .article-content-detailed {
        font-size: 12pt;
        line-height: 1.5;
    }
}