/* Modern Footer Styles */
.footer-modern {
    background: linear-gradient(135deg, #1a1f25 0%, #17181a 100%);
    color: #fff;
    position: relative;
}

.footer-top {
    padding: 60px 0 40px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-widget h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-about {
    color: #9ba1a7;
    line-height: 1.8;
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    color: #007bff;
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9ba1a7;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #9ba1a7;
}

.footer-contact li i {
    width: 30px;
    height: 30px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 14px;
    color: #007bff;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: #9ba1a7;
    font-size: 14px;
}

.icp-info {
    color: #9ba1a7;
    font-size: 14px;
}

.icp-icon {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    opacity: 0.8;
    vertical-align: middle;
}

@media (max-width: 768px) {
    .footer-widget {
        text-align: center;
    }
    
    .footer-widget h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
    
    .copyright, .icp-info {
        text-align: center;
        margin: 5px 0;
    }
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}

.article-card {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.article-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-meta i {
    color: #007bff;
    font-size: 0.85rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-title a {
    color: #2d3436;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #007bff;
}

.article-excerpt {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #f1f1f1;
}

.article-views {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.article-views i {
    color: #007bff;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
    gap: 12px;
}

.read-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.no-articles {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: #6c757d;
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 15px;
}

#wechatModal .modal-content {
    background: #fff;
    border: none;
    border-radius: 15px;
}

#wechatModal .modal-header {
    border-bottom: 1px solid #eee;
    padding: 15px 20px;
}

#wechatModal .modal-title {
    font-size: 16px;
    color: #333;
}

#wechatModal .modal-body {
    padding: 20px;
}

#wechatModal img {
    max-width: 200px;
    border-radius: 5px;
}

#wechatModal .text-muted {
    margin: 0;
    padding: 20px 0;
} 