/* ========================================
   Stock Analysis Theme - A股资讯
   ======================================== */

/* CSS Variables */
:root {
    --primary: #c41230;
    --primary-dark: #a00f28;
    --primary-light: #e85d75;
    --secondary: #1a1a2e;
    --accent: #f59e0b;
    --bg: #f5f5f7;
    --bg-white: #ffffff;
    --bg-light: #fafafa;
    --text: #1a1a2e;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-sm: 4px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   Header
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary);
}

.logo-img {
    height: 36px;
}

.logo-text {
    font-size: 1.3rem;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--text);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(196, 18, 48, 0.08);
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 2px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 160px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    font-size: 14px;
}

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

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius);
    background: var(--bg-light);
    font-size: 14px;
    font-weight: 500;
}

.lang-toggle:hover {
    background: var(--border);
}

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

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    min-width: 140px;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

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

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
}

.lang-option:hover,
.lang-option.active {
    background: var(--bg-light);
    color: var(--primary);
}

.search-toggle,
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--bg-light);
    transition: var(--transition);
}

.search-toggle:hover,
.menu-toggle:hover {
    background: var(--border);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-container {
    width: 100%;
    max-width: 600px;
    margin: 0 20px;
    position: relative;
}

.search-form {
    display: flex;
    gap: 12px;
}

.search-input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: var(--radius-lg);
    font-size: 16px;
    background: var(--bg-white);
}

.search-submit {
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 16px;
}

.search-submit:hover {
    background: var(--primary-dark);
}

.search-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 50%, #1a365d 100%);
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(196, 18, 48, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(196, 18, 48, 0.2);
    border: 1px solid rgba(196, 18, 48, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-light);
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(196, 18, 48, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(196, 18, 48, 0); }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 36px;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-light);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
}

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

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

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
}

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

/* Market Overview */
.market-overview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.market-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 0;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.market-card:hover {
    background: rgba(255,255,255,0.12);
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.market-card-inner {
    padding: 24px 16px;
    text-align: center;
}

.market-icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.market-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(196, 18, 48, 0.2) 0%, rgba(196, 18, 48, 0.1) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}

.market-trend {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    border: 2px solid var(--secondary);
}

.market-trend.up {
    background: #10b981;
}

.market-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.market-code {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
    font-family: 'SF Mono', monospace;
}

.market-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(196, 18, 48, 0.2);
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary-light);
    margin-bottom: 16px;
}

.market-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

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

.market-card p {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
}

.market-link {
    font-size: 13px;
    color: var(--primary-light);
    font-weight: 500;
}

.market-link:hover {
    color: white;
}

/* ========================================
   Page Header
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
    color: white;
    padding: 40px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.9);
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb .separator {
    opacity: 0.5;
}

.breadcrumb .current {
    color: white;
}

.page-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-desc {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
}

/* ========================================
   Main Content
   ======================================== */
.main {
    padding: 40px 0;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
}

.detail-main {
    align-items: start;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(196, 18, 48, 0.25);
}

.section-icon.blue {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.25);
}

.section-icon.green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.section-icon.purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.section-title-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

.section-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
}

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

.section-more:hover .more-arrow {
    transform: translateX(4px);
}

.more-arrow {
    display: inline-flex;
    transition: var(--transition);
}

/* ========================================
   Stocks Section
   ======================================== */
.stocks-section {
    margin-bottom: 48px;
}

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

.stock-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.stock-card-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(196, 18, 48, 0.03) 0%, transparent 100%);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

.stock-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(196, 18, 48, 0.2);
}

.stock-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.stock-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.stock-logo-wrapper {
    position: relative;
}

.stock-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.stock-logo-placeholder {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.25);
}

.stock-initial {
    font-size: 24px;
    font-weight: 700;
}

.stock-rank {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    border: 2px solid white;
}

.stock-info {
    flex: 1;
}

.stock-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

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

.stock-category {
    font-size: 12px;
    color: var(--text-muted);
}

.stock-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.stock-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
}

.stock-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   News Section
   ======================================== */
.news-section {
    margin-bottom: 48px;
}

.news-layout {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Featured News */
.featured-news {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.featured-news:hover {
    box-shadow: var(--shadow-lg);
}

.featured-image-wrapper {
    position: relative;
    height: 260px;
    overflow: hidden;
}

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

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

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

.featured-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}

.featured-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.3);
}

.featured-content {
    padding: 24px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(196, 18, 48, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-muted);
}

.featured-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.featured-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.news-views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    transition: var(--transition);
}

.read-more-link:hover {
    gap: 8px;
}

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

.side-news-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 0;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
}

.side-news-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.side-news-marker {
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    flex-shrink: 0;
    align-self: stretch;
}

.side-news-content {
    padding: 12px 16px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.side-news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.side-news-meta .news-category {
    flex-shrink: 0;
}

.side-news-meta .news-date {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--text-muted);
}

.side-news-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
}

.side-news-title a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

.side-news-excerpt {
    display: none;
}

/* ========================================
   Analysis Section
   ======================================== */
.analysis-section {
    margin-bottom: 48px;
}

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

.analysis-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.analysis-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.2);
}

.analysis-card-bg {
    position: absolute;
    top: -20px;
    right: -20px;
    color: rgba(16, 185, 129, 0.05);
    pointer-events: none;
}

.analysis-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.analysis-content {
    position: relative;
    z-index: 2;
}

.analysis-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.analysis-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.analysis-title a:hover {
    color: #059669;
}

.analysis-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.analysis-footer {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.analysis-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   A股分类 Section
   ======================================== */
.ashares-section {
    margin-bottom: 48px;
}

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

.ashares-column {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.ashares-column:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.ashares-column-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    background: linear-gradient(135deg, var(--secondary) 0%, #1e3a5f 100%);
    color: white;
}

.ashares-column-header h3 {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    margin: 0;
}

.ashares-more {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.ashares-more:hover {
    color: white;
    transform: translateX(2px);
}

.ashares-list {
    padding: 12px;
}

.ashares-item {
    display: flex;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.ashares-marker {
    width: 3px;
    flex-shrink: 0;
    border-radius: 2px;
}

.ashares-marker.shanghai {
    background: linear-gradient(180deg, #c41230 0%, #e63950 100%);
}

.ashares-marker.shenzhen {
    background: linear-gradient(180deg, #10b981 0%, #34d399 100%);
}

.ashares-marker.chinext {
    background: linear-gradient(180deg, #f59e0b 0%, #fbbf24 100%);
}

.ashares-marker.star {
    background: linear-gradient(180deg, #8b5cf6 0%, #a78bfa 100%);
}

.ashares-marker.beijing {
    background: linear-gradient(180deg, #06b6d4 0%, #22d3ee 100%);
}

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

.ashares-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
}

.ashares-title a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-dark);
}

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

.ashares-excerpt {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ashares-date {
    font-size: 11px;
    color: var(--text-muted);
}

@media (max-width: 1200px) {
    .ashares-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 480px) {
    .ashares-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Tags Cloud Section
   ======================================== */
.tags-cloud-section {
    margin-bottom: 48px;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--bg-light);
    border-radius: 30px;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.tag-cloud-item:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.25);
}

.tag-cloud-item .tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(0,0,0,0.1);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 600;
}

.tag-cloud-item:hover .tag-count {
    background: rgba(255,255,255,0.2);
}

/* ========================================
   Articles List Page
   ======================================== */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px 16px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text);
}

.category-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.category-count {
    display: inline-block;
    font-size: 12px;
    color: var(--primary);
    background: rgba(196, 18, 48, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.list-article {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    transition: var(--transition);
}

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

.list-article-image {
    height: 140px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

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

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
}

.list-article-content {
    display: flex;
    flex-direction: column;
}

.list-article-category {
    margin-bottom: 8px;
}

.article-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(196, 18, 48, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.list-article-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.list-article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--text-muted);
}

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

.list-article-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
    flex: 1;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}

.read-more:hover {
    color: var(--primary-dark);
}

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

.article-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.article-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.meta-item svg {
    width: 16px;
    height: 16px;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.article-tags .article-tag {
    font-size: 13px;
    padding: 6px 14px;
}

.article-body {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
}

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

.article-body h2,
.article-body h3,
.article-body h4 {
    margin: 32px 0 16px;
    font-weight: 700;
}

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

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

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

.article-copyright {
    margin-top: 40px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
}

.article-copyright p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Article Navigation */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.nav-prev,
.nav-next {
    display: flex;
    flex-direction: column;
}

.nav-next {
    text-align: right;
    align-items: flex-end;
}

.nav-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.5;
}

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

.nav-link.disabled {
    color: var(--text-muted);
    font-weight: 400;
}

/* Related Articles */
.related-articles {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.related-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.related-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.related-item:hover {
    background: var(--border-light);
}

.related-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.related-thumb-placeholder {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
}

.related-info {
    flex: 1;
    min-width: 0;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   Search Page
   ======================================== */
.search-box-large {
    margin-bottom: 24px;
}

.search-form-large {
    display: flex;
    gap: 12px;
}

.search-input-large {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: var(--transition);
}

.search-input-large:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn-large {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 28px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
}

.search-btn-large:hover {
    background: var(--primary-dark);
}

.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: var(--bg-white);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    box-shadow: var(--shadow);
}

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

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

.filter-tab .count {
    font-size: 12px;
    padding: 2px 8px;
    background: rgba(0,0,0,0.1);
    border-radius: 12px;
}

.filter-tab.active .count {
    background: rgba(255,255,255,0.2);
}

.search-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-result-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 20px;
}

.result-image {
    height: 100px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

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

.result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.result-type {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    background: rgba(196, 18, 48, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

.result-category {
    font-size: 13px;
    color: var(--text-muted);
}

.result-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

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

.result-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.result-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--text-muted);
}

.result-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.no-results h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.no-results p {
    color: var(--text-muted);
}

.search-tips {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
}

.search-tips h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hot-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hot-keyword {
    padding: 10px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

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

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

.sticky-sidebar {
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

/* Search Widget */
.search-widget-form {
    display: flex;
    gap: 8px;
}

.search-widget-form .search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
}

.search-widget-form .search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-btn {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Category List */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.category-link:hover,
.category-link.active {
    background: rgba(196, 18, 48, 0.08);
    color: var(--primary);
}

.category-link .count {
    font-size: 12px;
    color: var(--text-muted);
    background: var(--bg-light);
    padding: 2px 10px;
    border-radius: 12px;
}

.category-link:hover .count,
.category-link.active .count {
    background: rgba(196, 18, 48, 0.1);
    color: var(--primary);
}

/* Hot List */
.hot-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hot-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

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

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

.hot-item:nth-child(1) .hot-rank {
    background: #ffd700;
    color: #333;
}

.hot-item:nth-child(2) .hot-rank {
    background: #c0c0c0;
    color: #333;
}

.hot-item:nth-child(3) .hot-rank {
    background: #cd7f32;
    color: white;
}

.hot-title {
    flex: 1;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

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

/* Recent List */
.recent-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.recent-title {
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

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

.recent-date {
    font-size: 12px;
    color: var(--text-muted);
}

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

.tag-item {
    display: inline-block;
    padding: 8px 14px;
    background: var(--bg-light);
    border-radius: var(--radius);
    font-size: 13px;
    transition: var(--transition);
}

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

/* Stock Widget */
.stock-info-box {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    color: white;
}

.stock-name-large {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stock-category {
    font-size: 13px;
    opacity: 0.9;
}

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

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    margin: 0 4px;
    background: var(--bg-white);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    box-shadow: var(--shadow);
}

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

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

.pagination .disabled {
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--secondary);
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 36px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.7;
    max-width: 300px;
    margin-bottom: 20px;
}

/* Footer Social Icons */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
    background: rgba(255,255,255,0.1);
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* 国内社交媒体 */
.social-icon.weibo:hover {
    background: #E6162D;
}

.social-icon.wechat:hover {
    background: #07C160;
}

.social-icon.douyin:hover {
    background: #000000;
}

.social-icon.xiaohongshu:hover {
    background: #FF2442;
}

.social-icon.zhihu:hover {
    background: #0084FF;
}

.social-icon.bilibili:hover {
    background: #FB7299;
}

/* 国际社交媒体 */
.social-icon.twitter:hover {
    background: #000000;
}

.social-icon.facebook:hover {
    background: #1877F2;
}

.social-icon.linkedin:hover {
    background: #0A66C2;
}

.social-icon.youtube:hover {
    background: #FF0000;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-icon.telegram:hover {
    background: #0088cc;
}

.social-icon.github:hover {
    background: #333333;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
}

.icp a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.icp a:hover {
    color: white;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .market-overview {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: var(--transition);
    }
    
    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav-link {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--bg-light);
        margin-top: 8px;
        display: none;
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .market-overview {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .market-card-inner {
        padding: 20px 12px;
    }
    
    .market-icon {
        width: 48px;
        height: 48px;
    }
    
    .market-icon iconify-icon {
        width: 24px;
        height: 24px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .section-title-wrapper {
        gap: 12px;
    }
    
    .section-icon {
        width: 44px;
        height: 44px;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    .section-more {
        align-self: flex-end;
    }
    
    .stocks-grid,
    .analysis-grid {
        grid-template-columns: 1fr;
    }
    
    .news-layout {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .list-article {
        grid-template-columns: 1fr;
    }
    
    .list-article-image {
        height: 180px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-nav {
        grid-template-columns: 1fr;
    }
    
    .nav-next {
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .market-overview,
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 1.4rem;
    }
    
    .article-detail {
        padding: 20px;
    }
}
