/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: auto;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 主要内容区域 */
.main-content {
    min-height: calc(100vh - 70px - 200px);
    padding: 40px 0;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    margin-bottom: 60px;
    border-radius: 0 0 20px 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trading-chart {
    font-size: 8rem;
    opacity: 0.3;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-outline:hover {
    background: #667eea;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* 特色功能区域 */
.features {
    padding: 60px 0;
    background: white;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 最新帖子区域 */
.latest-posts {
    padding: 60px 0;
    background: #f8f9fa;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.post-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-header {
    margin-bottom: 15px;
}

.post-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.post-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.post-footer {
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.read-more {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.text-center {
    text-align: center;
}

/* 论坛页面样式 */
.forum-header {
    text-align: center;
    margin-bottom: 40px;
}

.forum-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.forum-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 创建帖子表单 */
.create-post-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.create-post-section h2 {
    margin-bottom: 25px;
    color: #333;
}

.create-post-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group small {
    color: #666;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* 帖子列表 */
.posts-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.posts-header h2 {
    color: #333;
    margin: 0;
}

.posts-count {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.post-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-thumbnail {
    transform: scale(1.05);
}

.post-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-card:hover .post-overlay {
    opacity: 1;
}

.read-more-btn {
    background: #3498db;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn:hover {
    background: #2980b9;
    transform: scale(1.05);
}

.post-card-content {
    padding: 20px;
}

.post-title {
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-title a:hover {
    color: #3498db;
}

.post-preview {
    color: #666;
    line-height: 1.5;
    margin: 0 0 15px 0;
    font-size: 0.9rem;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #999;
}

.post-author,
.post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-author i,
.post-date i {
    font-size: 0.7rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .posts-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .posts-count {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    .post-card {
        margin-bottom: 0;
    }
    
    .post-card-image {
        height: 180px;
    }
    
    .post-card-content {
        padding: 15px;
    }
    
    .post-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    
    .post-preview {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .post-meta {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .post-author,
    .post-date {
        gap: 3px;
    }
    
    .read-more-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 5px;
    }
    
    .posts-grid {
        gap: 12px;
        margin-bottom: 20px;
    }
    
    .posts-header h2 {
        font-size: 1.5rem;
    }
    
    .posts-count {
        font-size: 0.75rem;
        padding: 3px 8px;
    }
    
    .post-card-image {
        height: 150px;
    }
    
    .post-placeholder {
        font-size: 2rem;
    }
    
    .post-card-content {
        padding: 12px;
    }
    
    .post-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .post-preview {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .post-meta {
        font-size: 0.7rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .read-more-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    /* 确保在小屏幕上文字不会溢出 */
    .post-title a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .post-preview {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .container {
        padding: 3px;
    }
    
    .posts-grid {
        gap: 10px;
    }
    
    .post-card-image {
        height: 120px;
    }
    
    .post-card-content {
        padding: 10px;
    }
    
    .post-title {
        font-size: 0.9rem;
    }
    
    .post-preview {
        font-size: 0.75rem;
    }
    
    .post-meta {
        font-size: 0.65rem;
    }
}

/* 帖子详情 */
.post-detail {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.post-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.post-detail-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.post-detail-content {
    margin-bottom: 30px;
}

.post-image {
    margin: 20px 0;
    text-align: center;
}

.post-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.post-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.post-actions {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 分页 */
.pagination-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    gap: 10px;
}

.page-link {
    padding: 10px 15px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    border: 2px solid #e1e5e9;
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 股票页面样式 */
.stocks-header {
    text-align: center;
    margin-bottom: 40px;
}

.stocks-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.stocks-header p {
    color: #666;
    font-size: 1.1rem;
}

/* 市场概览头部 */
.overview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.overview-header h2 {
    margin: 0;
    color: #333;
}

.update-time {
    color: #999;
    font-size: 0.8rem;
}

/* 市场概览 */
.market-overview {
    margin-bottom: 40px;
}

.overview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.overview-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}

.overview-icon {
    font-size: 2.5rem;
    color: #667eea;
}

.overview-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.overview-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.overview-change {
    font-size: 0.9rem;
    font-weight: 500;
}

.overview-change.positive {
    color: #28a745;
}

.overview-change.negative {
    color: #dc3545;
}

/* 股票表格 */
.stocks-section {
    margin-bottom: 40px;
}

.stocks-section {
    margin-top: 40px;
}

.stocks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.stocks-header h2 {
    color: #333;
    margin: 0;
}

.ranking-info {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.stocks-table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.stocks-table {
    width: 100%;
    border-collapse: collapse;
}

.stocks-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e1e5e9;
}

.stocks-table td {
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
}

.stock-symbol {
    font-weight: 600;
    color: #667eea;
}

.stock-name {
    font-weight: 500;
}

.stock-price {
    font-weight: 600;
    font-size: 1.1rem;
}

.stock-change,
.stock-change-percent {
    font-weight: 600;
}

.stock-change.positive,
.stock-change-percent.positive {
    color: #28a745;
}

.stock-change.negative,
.stock-change-percent.negative {
    color: #dc3545;
}

.stock-actions {
    text-align: center;
}

/* 投资建议 */
.investment-advice {
    margin-bottom: 40px;
}

.investment-advice h2 {
    margin-bottom: 25px;
    color: #333;
}

.advice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.advice-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.advice-icon {
    font-size: 2rem;
    color: #667eea;
    margin-top: 5px;
}

.advice-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.advice-content p {
    color: #666;
    line-height: 1.6;
}

/* 市场新闻 */
.market-news {
    margin-top: 40px;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.news-header h2 {
    color: #333;
    margin: 0;
}

.news-count {
    background: #3498db;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.news-list {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.news-item {
    padding: 25px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    gap: 20px;
    transition: background-color 0.3s ease;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item.even {
    background: #fafbfc;
}

.news-item.odd {
    background: white;
}

.news-item:hover {
    background: #f8f9fa;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    min-width: 100px;
    font-weight: 500;
}

.news-content {
    flex: 1;
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.news-content h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #3498db;
}

.news-preview {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 0.85rem;
}

.news-source {
    color: #7f8c8d;
    background: #ecf0f1;
    padding: 3px 8px;
    border-radius: 12px;
}

.news-external {
    color: #3498db;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 提示框 */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* 无帖子提示 */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-posts i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 15px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 移动端导航栏 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #1e3c72;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .overview-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .advice-cards {
        grid-template-columns: 1fr;
    }
    
    .stocks-table-container {
        overflow-x: auto;
    }
    
    .news-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-date {
        min-width: auto;
    }
}

/* 热门股票排行榜样式 */
.stocks-table tr:hover {
    background: #f8f9fa;
}

.stocks-table tr.top-three {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.stocks-table tr.top-three:hover {
    background: linear-gradient(135deg, #fff3cd 0%, #f8f9fa 100%);
}

.stock-rank {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    min-width: 80px;
}

.rank-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background: #ecf0f1;
    color: #2c3e50;
    font-size: 0.9rem;
    margin-right: 5px;
}

.stocks-table tr.top-three .rank-number {
    background: #f39c12;
    color: white;
}

.rank-medal {
    font-size: 1.2rem;
    margin-left: 5px;
}

.market-tag {
    background: #3498db;
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 8px;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 200px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .create-post-section,
    .post-detail {
        padding: 20px;
    }
}

/* 抓取失败提示样式 */
.error-card {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffffff 100%);
    border: 2px solid #ffcccc;
}

.error-card .overview-icon {
    color: #dc3545;
}

.error-text {
    color: #dc3545 !important;
    font-weight: 600;
}

.error-message {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ffe6e6 0%, #ffffff 100%);
    border: 2px solid #ffcccc;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.error-content i {
    font-size: 3rem;
    color: #dc3545;
}

.error-content span {
    font-size: 1.2rem;
    font-weight: 600;
    color: #dc3545;
}

.error-content p {
    color: #666;
    margin: 0;
}

.error-news {
    background: linear-gradient(135deg, #ffe6e6 0%, #ffffff 100%) !important;
    border: 2px solid #ffcccc;
}

.error-news .news-content h3 {
    color: #dc3545;
}

.error-news .news-content h3 i {
    margin-right: 8px;
    color: #dc3545;
}

.error-news .news-preview {
    color: #dc3545;
    font-weight: 500;
}

.error-news .news-source {
    background: #ffcccc;
    color: #dc3545;
}

.error-news .news-external {
    color: #dc3545;
}