/* ========================================
   华新洞察财研 - 金融博客主题样式
   主色：温暖米白 #F5F0E8 / 奶油色 #E8DED0
   辅助色：冷灰蓝 #8B9DAF / 深灰蓝 #5A6B7C
   强调色：暖金色 #C9A962
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 主色调 - 基于Logo的温暖米白/奶油色系 */
    --primary-color: #8B9DAF;
    --primary-dark: #5A6B7C;
    --primary-light: #B0C4D4;
    --secondary-color: #A8B8C8;
    
    /* 强调色 - 暖金色 */
    --accent-color: #C9A962;
    --accent-light: #D4BC7A;
    --accent-dark: #B8984E;
    
    /* 背景色 - 温暖的米白/奶油色 */
    --bg-cream: #F5F0E8;
    --bg-warm: #E8DED0;
    --bg-light-warm: #F9F6F1;
    --bg-white: #FFFFFF;
    --bg-light: #F8F5F0;
    --bg-gray: #EDE8E0;
    
    /* 文字色 */
    --text-dark: #3D3D3D;
    --text-gray: #6B6B6B;
    --text-light: #999999;
    --text-muted: #5A6B7C;
    
    /* 边框色 */
    --border-color: #E0D8CC;
    --border-light: #EDE8E0;
    
    /* 阴影 */
    --shadow: 0 2px 8px rgba(91, 107, 124, 0.08);
    --shadow-hover: 0 4px 16px rgba(91, 107, 124, 0.12);
    
    /* 其他 */
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', 'Noto Sans TC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-cream);
}

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

ul {
    list-style: none;
}

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

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

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    color: rgba(255,255,255,0.95);
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: var(--accent-color);
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transition: var(--transition);
}

.language-btn:hover {
    background: rgba(255,255,255,0.2);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    overflow: hidden;
}

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

.language-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    color: var(--text-dark);
    font-size: 13px;
    border-bottom: 1px solid var(--border-color);
}

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

.language-dropdown a:hover,
.language-dropdown a.active {
    background: var(--bg-light);
    color: var(--primary-color);
}

.language-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

/* ========================================
   Main Header
   ======================================== */
.main-header {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light-warm) 100%);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 13px;
    color: var(--text-gray);
}

.header-slogan {
    display: flex;
    gap: 24px;
}

.header-slogan span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
}

.header-slogan i {
    color: var(--primary-color);
}

/* ========================================
   Navigation
   ======================================== */
.main-nav {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(91, 107, 124, 0.15);
}

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

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

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 16px 20px;
    color: rgba(255,255,255,0.95);
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

.nav-menu > li > a i {
    font-size: 12px;
    transition: var(--transition);
}

.nav-menu > li:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    overflow: hidden;
}

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

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Search Box */
.search-box {
    position: relative;
}

.search-box form {
    display: flex;
    align-items: center;
}

.search-box input {
    width: 200px;
    padding: 10px 40px 10px 15px;
    border: none;
    border-radius: 20px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 14px;
    transition: var(--transition);
}

.search-box input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-box input:focus {
    outline: none;
    background: rgba(255,255,255,0.25);
    width: 240px;
}

.search-box button {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.search-box button:hover {
    color: #fff;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 40%, var(--secondary-color) 100%);
    padding: 60px 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content-left {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--accent-color);
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--accent-color);
}

.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
}

/* Hero Cards */
.hero-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hero-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
}

.hero-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
}

.hero-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.hero-card-symbol {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.hero-card-symbol i {
    font-size: 20px;
}

.hero-card-change {
    font-size: 13px;
    font-weight: 600;
}

.hero-card-change.up {
    color: #4ade80;
}

.hero-card-change.down {
    color: #f87171;
}

.hero-card-name {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.hero-card-price {
    font-size: 24px;
    font-weight: 700;
}

/* ========================================
   Section Common Styles
   ======================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--primary-color);
}

.view-all {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}

.view-all:hover {
    gap: 10px;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    padding: 50px 0;
    background: var(--bg-cream);
}

.news-section:nth-child(even) {
    background: var(--bg-light-warm);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.news-card {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

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

.news-card-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-card-img .category-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

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

.news-card-content h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-content h3 a:hover {
    color: var(--primary-color);
}

.news-card-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.meta-info {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.meta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

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

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

.article-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.article-item:hover {
    box-shadow: var(--shadow-hover);
}

.article-item-img {
    width: 160px;
    height: 110px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.article-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.article-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-item-content h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-item-content h3 a:hover {
    color: var(--primary-color);
}

.article-item-content p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Sidebar */
.sidebar-widget {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 1px solid var(--border-light);
}

.sidebar-widget-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-widget-title i {
    color: var(--accent-color);
}

.hot-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hot-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.hot-rank {
    width: 24px;
    height: 24px;
    background: var(--bg-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-gray);
    flex-shrink: 0;
}

.hot-rank.top {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
}

.hot-content h4 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 4px;
}

.hot-content h4 a:hover {
    color: var(--primary-color);
}

.hot-meta {
    font-size: 12px;
    color: var(--text-light);
}

.category-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tag-item {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-gray) 100%);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-gray);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.category-tag-item:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
    border-color: var(--accent-color);
}

/* ========================================
   Footer
   ======================================== */
.main-footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    color: rgba(255,255,255,0.9);
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,0.7);
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-section ul li i {
    margin-right: 8px;
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ========================================
   Back to Top
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: var(--shadow-hover);
    z-index: 99;
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    transform: translateY(-4px);
}

/* ========================================
   Article Detail Page
   ======================================== */
.article-detail {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
}

.article-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.article-header .category-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--text-gray);
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 16px;
    color: var(--primary-color);
}

.article-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px;
}

.article-content img {
    max-width: 100%;
    border-radius: var(--radius);
    margin: 20px 0;
}

.article-content ul,
.article-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

/* ========================================
   Article List Page
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--secondary-color) 100%);
    padding: 40px 0;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
}

/* Breadcrumb */
.breadcrumb {
    background: linear-gradient(180deg, var(--bg-light-warm) 0%, var(--bg-cream) 100%);
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

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

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

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

.breadcrumb i {
    font-size: 12px;
    color: var(--text-light);
}

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

.pagination a,
.pagination span {
    padding: 10px 16px;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text-dark);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
    border-color: var(--accent-color);
}

.pagination .current {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    color: #fff;
    border-color: var(--accent-color);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content-left {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-cards {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .two-column {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    
    .header-slogan {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100vh;
        background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: var(--transition);
        z-index: 99;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu > li {
        width: 100%;
    }
    
    .nav-menu > li > a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .search-box {
        display: none;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-item-img {
        width: 100%;
        height: 180px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-detail {
        padding: 24px;
    }
    
    .article-header h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section-title {
        font-size: 20px;
    }
}
