﻿/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease, background-color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

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

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

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

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

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

/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #d0594a;
    color: white;
    padding: 8px 16px;
    z-index: 1001;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

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

/* ============================================
   HEADER & NAVIGATION (All Pages)
   ============================================ */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: padding 0.3s ease;
}

.header.scrolled .navbar {
    padding: 10px 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d0594a;
    display: flex;
    align-items: center;
    gap: 10px;
}


.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    font-size: 1rem;
}

.nav-link:hover {
    color: #d0594a;
}

.nav-link.active {
    color: #d0594a;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #d0594a;
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.cta-item {
    margin-left: 10px;
}

.btn-subscribe {
    background-color: #d0594a;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    border: 2px solid #d0594a;
}

.btn-subscribe:hover {
    background-color: transparent;
    color: #d0594a;
}

/* ============================================
   HAMBURGER MENU (Mobile)
   ============================================ */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 23px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

/* ============================================
   ANNOUNCEMENT BANNER (Homepage)
   ============================================ */
.announcement {
    background-color: #d0594a;
    color: white;
    padding: 12px 0;
    margin-top: 70px;
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.announcement-label {
    background-color: #ff6b6b;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.announcement-text {
    flex: 1;
    font-size: 1rem;
}

.announcement-link {
    color: #ffd700;
    font-weight: 600;
}

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

.enhanced-featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Main Featured Article */
.main-featured-article {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    min-height: 500px;
}

.main-featured-article:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.featured-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

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

.main-featured-article:hover .featured-main-image {
    transform: scale(1.05);
}

.featured-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    color: white;
    padding: 40px;
    z-index: 1;
}

.category-badge {
    display: inline-block;
    background-color: #d0594a;
    color: white;
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-main-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 15px;
    font-weight: 700;
}

.featured-main-title a {
    color: white;
    text-decoration: none;
}

.featured-main-title a:hover {
    color: #ffd700;
}

.featured-main-excerpt {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
    max-width: 90%;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

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

.author-thumb {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.author-name {
    font-size: 0.95rem;
    font-weight: 500;
}

.meta-info {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.meta-date,
.meta-readtime,
.meta-comments {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Secondary Featured Container */
.secondary-featured-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Featured Horizontal Articles */
.featured-horizontal {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 15px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
}

.featured-horizontal:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.featured-horizontal-image {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
}

.horizontal-image {
    width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
    border-radius: 6px;
    aspect-ratio: 16 / 9;
}

.image-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background-color: rgba(0, 86, 179, 0.9);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 600;
}

.featured-horizontal-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.horizontal-title a {
    color: #222;
    text-decoration: none;
}

.horizontal-title a:hover {
    color: #d0594a;
}

.horizontal-excerpt {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horizontal-meta {
    display: flex;
    gap: 15px;
    font-size: 0.8rem;
    color: #888;
}

/* Featured Compact Articles */
.featured-compact {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.featured-compact:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left-color: #d0594a;
}

.compact-badge {
    background-color: #f0f7ff;
    color: #d0594a;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.compact-content {
    flex: 1;
}

.compact-title {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 5px;
}

.compact-title a {
    color: #222;
    text-decoration: none;
}

.compact-title a:hover {
    color: #d0594a;
}

.compact-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #888;
}

/* Popular List in Sidebar */
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-item {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.popular-item:hover {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.popular-rank {
    width: 24px;
    height: 24px;
    background-color: #e9ecef;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.popular-item:nth-child(1) .popular-rank {
    background-color: #ff6b6b;
    color: white;
}

.popular-item:nth-child(2) .popular-rank {
    background-color: #ffa726;
    color: white;
}

.popular-item:nth-child(3) .popular-rank {
    background-color: #42a5f5;
    color: white;
}

.popular-image {
    width: 120px;
    height: 90px;
    border-radius: 6px;
    object-fit: cover;
}

.popular-content {
    flex: 1;
}

.popular-content h4 {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-bottom: 4px;
}

.popular-content h4 a {
    color: #222;
    text-decoration: none;
}

.popular-content h4 a:hover {
    color: #d0594a;
}

.popular-meta {
    font-size: 0.75rem;
    color: #888;
}

/* ============================================
   MAIN CONTENT AREA (All Pages)
   ============================================ */
.main-content {
    padding: 80px 0 40px;
    min-height: calc(100vh - 400px);
}

.section {
    margin-bottom: 60px;
}

.featured-section {
    padding-top: 30px;
}

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

.section-title {
    font-size: 2rem;
    color: #222;
    font-weight: 700;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 5px;
}

.view-all {
    color: #d0594a;
    font-weight: 500;
}

.view-all:hover {
    text-decoration: underline;
}

/* ============================================
   HOMEPAGE SPECIFIC STYLES
   ============================================ */

/* Featured Section */
.featured-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.main-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-featured .card-image {
    height: 400px;
    width: 100%;
    object-fit: cover;
}

.main-featured .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px;
}

.main-featured .card-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.main-featured .card-title a {
    color: white;
}

.main-featured .card-title a:hover {
    color: #ffd700;
}

.main-featured .card-excerpt {
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.main-featured .card-meta {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.secondary-featured {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.featured-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.featured-card .card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #d0594a;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.featured-card .card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.featured-card .card-content {
    padding: 20px;
}

.featured-card .card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.featured-card .card-title a {
    color: #222;
}

.featured-card .card-title a:hover {
    color: #d0594a;
}

.featured-card .card-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-card .card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
}

/* Categories Section */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: 8px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1;
}

.category-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.category-count {
    background-color: #f0f7ff;
    color: #d0594a;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

/* Two Column Layout */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

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

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.news-category {
    background-color: #ecbaba;
    color: #b30000;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-date {
    color: #888;
    font-size: 0.85rem;
}

.news-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-title a {
    color: #222;
}

.news-title a:hover {
    color: #d0594a;
}

.news-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-author {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.news-image {
    width: 100%;
    border-radius: 6px;
    height: 100%;
    object-fit: cover;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: white;
    color: #333;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pagination-item:hover {
    background-color: #d0594a;
    color: white;
}

.pagination-item.active {
    background-color: #d0594a;
    color: white;
}

.pagination-item.prev,
.pagination-item.next {
    padding: 0 20px;
}

.pagination-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-item.disabled:hover {
    background-color: white;
    color: #333;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #222;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

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

.trending-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.trending-number {
    background-color: #f0f0f0;
    color: #666;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.trending-item:nth-child(1) .trending-number {
    background-color: #ff6b6b;
    color: white;
}

.trending-item:nth-child(2) .trending-number {
    background-color: #ffa726;
    color: white;
}

.trending-item:nth-child(3) .trending-number {
    background-color: #42a5f5;
    color: white;
}

.trending-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.trending-content h4 a {
    color: #222;
}

.trending-content h4 a:hover {
    color: #d0594a;
}

.trending-meta {
    font-size: 0.85rem;
    color: #888;
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #e66453, #d0594a);
    color: white;
}

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

.widget-text {
    margin-bottom: 20px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-input {
    padding: 12px 15px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}

.form-button {
    background-color: #ffd700;
    color: #222;
    border: none;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-button:hover {
    background-color: #ffed4e;
}

.form-disclaimer {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 15px;
}

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

.report-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.3s ease;
    position: relative;
}

.report-card:hover {
    transform: translateY(-5px);
}

.report-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 1;
}

.report-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.report-content {
    padding: 25px;
}

.report-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.report-title a {
    color: #222;
}

.report-title a:hover {
    color: #d0594a;
}

.report-excerpt {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #888;
}

/* ============================================
   CATEGORY PAGE SPECIFIC STYLES
   ============================================ */

/* Category Header */
.category-header {
    background: linear-gradient(135deg, #d0594a 0%, #003d82 100%);
    color: white;
    padding: 40px 0;
}

.category-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.category-description {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
}

.category-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Enhanced Breadcrumb */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

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

.breadcrumb-link {
    color: #666;
    font-size: 0.95rem;
}

.breadcrumb-link:hover {
    color: #d0594a;
}

.breadcrumb-link.active {
    color: #d0594a;
    font-weight: 500;
}

.breadcrumb-separator {
    color: #999;
    font-size: 0.8rem;
}

/* Filters Section */
.filters-section {
    background-color: white;
    padding: 20px 0;
    border-bottom: 1px solid #eaeaea;
}

.filters-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-label {
    font-weight: 500;
    color: #555;
    font-size: 0.95rem;
}

/* Static Select Dropdown (CSS-only) */
.static-select {
    position: relative;
    min-width: 180px;
}

.select-display {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    font-size: 0.95rem;
    color: #333;
}

.select-arrow {
    color: #666;
    font-size: 0.8rem;
}

.result-count {
    color: #666;
    font-size: 0.95rem;
}

/* Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 40px;
    padding: 40px 0;
}

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

/* Article Card Variants */
.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Card Style 1: Image Left */
.card-style-1 {
    display: grid;
    grid-template-columns: 250px 1fr;
}

.card-style-1 .card-image {
    height: 100%;
    object-fit: cover;
}

.card-style-1 .card-content {
    padding: 25px;
}

/* Card Style 2: Full Width Image */
.card-style-2 .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-style-2 .card-content {
    padding: 25px;
}

/* Card Style 3: Minimal */
.card-style-3 {
    border-left: 4px solid #d0594a;
}

.card-style-3 .card-content {
    padding: 20px;
}

.card-style-3 .card-image {
    display: none;
}

/* Card Common Elements */
.card-tag {
    display: inline-block;
    background-color: #ecbaba;
    color: #b30000;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-title a {
    color: #222;
}

.card-title a:hover {
    color: #d0594a;
}

.card-excerpt {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
}

.card-author {
    color: #555;
    font-weight: 500;
}

.read-more {
    color: #d0594a;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-block;
    margin-top: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Related Categories */
.related-categories {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-category {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.related-category:hover {
    background-color: #f0f7ff;
}

.category-name {
    font-weight: 500;
    color: #333;
}

.category-count {
    background-color: #e9ecef;
    color: #666;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #f8f9fa;
    color: #555;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background-color: #d0594a;
    color: white;
}

/* Editor's Pick */
.editors-pick {
    background: linear-gradient(135deg, #d0594a 0%, #003d82 100%);
    color: white;
    padding: 25px;
    border-radius: 8px;
}

.editors-pick .widget-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pick-item {
    margin-bottom: 20px;
}

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

.pick-title {
    font-size: 1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.pick-title a {
    color: white;
}

.pick-title a:hover {
    color: #ffd700;
}

.pick-meta {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ============================================
   ARTICLE PAGE SPECIFIC STYLES
   ============================================ */

/* Article Header */
.article-header {
    margin: 40px 0 30px;
}

.article-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #222;
    margin-bottom: 15px;
    font-weight: 700;
}

.article-subtitle {
    font-size: 1.3rem;
    line-height: 1.4;
    color: #555;
    margin-bottom: 25px;
    font-weight: 400;
    max-width: 800px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eaeaea;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
}

.meta-icon {
    color: #d0594a;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

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

.author-name {
    font-weight: 600;
    color: #222;
}

.author-title {
    font-size: 0.9rem;
    color: #666;
}

.article-featured-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.image-caption {
    padding: 15px;
    background-color: #f8f9fa;
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    border-top: 1px solid #eaeaea;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
}

.article-content p {
    margin-bottom: 1.5em;
}

.article-content h2 {
    font-size: 1.8rem;
    margin: 2em 0 1em;
    color: #222;
    font-weight: 600;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 1.5em 0 0.8em;
    color: #333;
    font-weight: 600;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1em auto;
    display: block;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.article-content blockquote {
    border-left: 4px solid #d0594a;
    padding-left: 20px;
    margin: 2em 0;
    font-style: italic;
    color: #555;
    font-size: 1.2rem;
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 0 8px 8px 0;
}

.article-content ul,
.article-content ol {
    margin: 1.5em 0;
    padding-left: 1.5em;
}

.article-content li {
    margin-bottom: 0.8em;
}

.content-image {
    margin: 2.5em auto;
}

.image-credit {
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    margin-top: 8px;
    font-style: italic;
}

/* Article Tags */
.article-tags {
    padding: 25px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    margin: 40px 0;
}

.tags-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    background-color: #f0f7ff;
    color: #d0594a;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background-color: #d0594a;
    color: white;
}

/* Article Info Box */
.article-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 40px 0;
    border-left: 4px solid #d0594a;
}

.info-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #222;
    font-weight: 600;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #ddd;
}

.info-label {
    color: #666;
}

.info-value {
    color: #222;
    font-weight: 500;
}

/* Social Sharing */
.social-sharing {
    margin: 40px 0;
    padding: 25px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.sharing-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.sharing-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

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

.share-linkedin {
    background-color: #0a66c2;
    color: white;
}

.share-email {
    background-color: #666;
    color: white;
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Comments Section */
.comments-section {
    margin: 50px 0;
}

.comments-count {
    color: #d0594a;
    font-weight: 500;
}

.comments-list {
    margin-bottom: 40px;
}

.comment {
    padding: 25px;
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    border-left: 3px solid #eaeaea;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.comment-meta {
    display: flex;
    flex-direction: column;
}

.comment-name {
    font-weight: 600;
    color: #222;
}

.comment-time {
    font-size: 0.85rem;
    color: #888;
}

.comment-reply {
    color: #d0594a;
    font-size: 0.9rem;
    font-weight: 500;
}

.comment-reply:hover {
    text-decoration: underline;
}

.comment-content {
    color: #444;
    line-height: 1.6;
}

/* Comment Form */
.comment-form {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.form-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: #222;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

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

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #d0594a;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-input {
    margin-top: 5px;
}

.checkbox-label {
    font-size: 0.9rem;
    color: #666;
}

.form-submit {
    background-color: #d0594a;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-submit:hover {
    background-color: #004494;
}

/* Related Articles */
.related-articles {
    margin: 50px 0;
}

.related-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.related-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.related-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-category {
    display: inline-block;
    background-color: #f0f7ff;
    color: #d0594a;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.related-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-title a {
    color: #222;
}

.related-title a:hover {
    color: #d0594a;
}

.related-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #888;
}

/* ============================================
   FOOTER (All Pages)
   ============================================ */
.footer {
    background-color: #222;
    color: #bbb;
}

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

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 15px;
}

.footer-about {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: #bbb;
    font-size: 0.9rem;
}

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

.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.footer-text {
    margin-bottom: 20px;
    line-height: 1.5;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-input {
    padding: 10px 15px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #333;
    color: white;
    font-size: 1rem;
}

.footer-button {
    background-color: #d0594a;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-button:hover {
    background-color: #004494;
}

.footer-disclaimer {
    font-size: 0.8rem;
    margin-top: 10px;
    opacity: 0.7;
}

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

.footer-copyright {
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #bbb;
    font-size: 0.9rem;
}

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

/* ============================================
   BACK TO TOP BUTTON (All Pages)
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #d0594a;
    color: white;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.back-to-top:hover {
    background-color: #004494;
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet Landscape and smaller */


@media (max-width: 1200px) {
    .featured-main-title {
        font-size: 1.7rem;
    }

    .featured-main-excerpt {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .enhanced-featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .main-featured-article {
        min-height: 400px;
    }

    .featured-main-content {
        padding: 30px;
    }

    .featured-main-title {
        font-size: 1.8rem;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .content-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 20px 0;
    }

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

    .card-style-1 {
        grid-template-columns: 200px 1fr;
    }

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

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

/* Tablet Portrait and smaller */
@media (max-width: 768px) {
    .logo {
        font-size: 1.4rem;
    }

    .hamburger-menu {
        display: flex;
    }

    .navbar {
        padding: 8px 0;
    }

    .nav-menu {
        position: fixed;
        top: 53px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background-color: white;
        padding: 30px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        gap: 20px;
        z-index: 1000;
    }

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

    .announcement-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

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

    .news-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .news-image {
        height: 200px;
    }

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

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

    .featured-main-excerpt {
        font-size: 0.95rem;
    }

    .featured-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .featured-horizontal {
        grid-template-columns: 100px 1fr;
    }

    .horizontal-title {
        font-size: 1rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .article-meta {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }


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

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

    .sharing-buttons {
        flex-direction: column;
    }

    .share-button {
        justify-content: center;
    }

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

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

    .card-style-1 {
        grid-template-columns: 1fr;
    }

    .card-style-1 .card-image {
        width: 100%;
        height: 200px;
    }

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

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

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

    .featured-section {
        padding-top: 0;
    }

    .main-content {
        padding-top: 60px;
    }
}

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

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

    .main-featured .card-title {
        font-size: 1.4rem;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .category-header {
        padding: 10px 0;
    }

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

    .category-stats {
        flex-direction: column;
        gap: 10px;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .static-select {
        width: 100%;
    }

    .pagination-item {
        min-width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

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

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

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

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

    .comment {
        padding: 20px;
    }

    .featured-main-content {
        padding: 20px;
    }

    .featured-main-title {
        font-size: 1.3rem;
    }

    .featured-main-excerpt {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .featured-horizontal {
        grid-template-columns: 1fr;
    }

    .horizontal-image {
        height: 220px;
    }

    .featured-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .popular-rank {
        display: none;
    }
}

/* Print Styles */
@media print {

    .header,
    .footer,
    .back-to-top,
    .social-sharing,
    .comment-form,
    .sidebar {
        display: none !important;
    }

    body {
        background-color: white;
        color: black;
        font-size: 12pt;
    }

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

    .main-content {
        padding: 0;
    }

    a {
        color: black;
        text-decoration: underline;
    }

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