/* ===== INSIGHTS PAGE STYLES ===== */

/* Hero Section */
.insights-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 140px 0 60px; /* 增加顶部padding以避免导航栏遮挡 */
    position: relative;
    overflow: hidden;
}

.insights-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='%23DC512D' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.insights-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.insights-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.insights-hero-subtitle {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Search Container */
.insights-search-container {
    max-width: 500px;
    margin: 0 auto;
}

.insights-search-form {
    position: relative;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    box-shadow: 0 6px 30px rgba(220, 81, 45, 0.2);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    border: none;
    padding: 18px 25px;
    font-size: 1rem;
    background: transparent;
    outline: none;
    color: #2c3e50;
}

.search-input::placeholder {
    color: #adb5bd;
}

.search-button {
    background: #DC512D;
    border: none;
    padding: 18px 25px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-button:hover {
    background: #c44622;
}

.search-button i {
    font-size: 1.1rem;
}

/* Featured Article Section */
.featured-article-section {
    padding: 80px 0;
    background: white;
}

.featured-article {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid #f1f3f4;
}

.featured-content {
    padding-right: 2rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.featured-badge {
    background: linear-gradient(135deg, #DC512D, #e74c3c);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-date {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.featured-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.featured-excerpt {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.featured-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.featured-actions .btn {
    background: #DC512D;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.featured-actions .btn:hover {
    background: #c44622;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 81, 45, 0.3);
}

.featured-stats {
    display: flex;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.featured-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-image .image-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #f1f3f4;
}

.featured-image .image-placeholder i {
    font-size: 4rem;
    color: #DC512D;
    opacity: 0.7;
}

/* Articles Section */
.articles-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Filter Bar */
.insights-filters {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #6c757d;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.filter-btn:hover {
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
}

.filter-btn.active {
    background: #DC512D;
    color: white;
    border-color: #DC512D;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.filter-label {
    font-weight: 600;
    color: #495057;
    margin-right: 0.5rem;
}

.tag-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-btn:hover {
    border-color: #42A469;
    background: #f8fff9;
    text-decoration: none;
}

.tag-btn.active {
    background: #42A469;
    color: white !important;
    border-color: #42A469;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f3f4;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.image-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

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

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

.image-credit {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .image-credit {
    opacity: 1;
}

.article-image .image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.article-image .image-placeholder i {
    font-size: 3rem;
    color: #DC512D;
    opacity: 0.6;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #DC512D;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.article-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #DC512D;
}

.article-excerpt {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.read-more-link {
    color: #DC512D;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.read-more-link:hover {
    color: #c44622;
    text-decoration: none;
    transform: translateX(3px);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-tags .tag {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    color: #42A469;
    font-weight: 500;
}

/* No Articles Message */
.no-articles-message {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.no-articles-message i {
    margin-bottom: 1.5rem;
}

.no-articles-message h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.no-articles-message .btn {
    background: #DC512D;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.no-articles-message .btn:hover {
    background: #c44622;
    text-decoration: none;
}

/* Pagination */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.pagination-nav .pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.pagination .page-item {
    list-style: none;
}

.pagination .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background: white;
    color: #6c757d;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    min-width: 44px;
    height: 44px;
}

.pagination .page-link:hover {
    background: #f8f9fa;
    color: #495057;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background: #DC512D;
    color: white;
    border-color: #DC512D;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd;
    background: #f8f9fa;
    cursor: not-allowed;
}

.pagination-info {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Newsletter Section */
/* Minimalist Horizontal Newsletter Section */
.newsletter-section-minimal {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff8e1 50%, #f8f9fa 100%);
    border-top: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.newsletter-section-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(252, 196, 27, 0.05) 25%, 
        rgba(252, 196, 27, 0.1) 50%, 
        rgba(252, 196, 27, 0.05) 75%, 
        transparent 100%);
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); opacity: 0; }
    50% { transform: translateX(0); opacity: 1; }
}

.newsletter-content-minimal {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.newsletter-text {
    flex-shrink: 0;
    min-width: 200px;
}

.newsletter-title-minimal {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #2c3e50 0%, #fcc41b 50%, #2c3e50 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.25rem 0;
    line-height: 1.2;
    position: relative;
}

.newsletter-subtitle-minimal {
    font-size: 0.9rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
}

.newsletter-form-minimal {
    display: flex;
    flex: 1;
    gap: 0.75rem;
    align-items: center;
}

.form-input-minimal {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
}

.form-input-minimal:focus {
    border-color: #fcc41b;
    box-shadow: 0 0 0 3px rgba(252, 196, 27, 0.15), 
                0 2px 8px rgba(252, 196, 27, 0.1);
    transform: translateY(-1px);
}

.form-input-minimal:hover {
    border-color: #f39c12;
    box-shadow: 0 1px 4px rgba(252, 196, 27, 0.1);
}

.form-input-minimal::placeholder {
    color: #adb5bd;
}

.btn-subscribe-minimal {
    background: linear-gradient(135deg, #fcc41b 0%, #f39c12 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn-subscribe-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-subscribe-minimal:hover {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 196, 27, 0.4);
}

.btn-subscribe-minimal:hover::before {
    left: 100%;
}

.btn-subscribe-minimal:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(252, 196, 27, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .insights-hero-section {
        padding: 120px 0 40px; /* 移动端调整顶部间距避免导航栏遮挡 */
    }
    
    .insights-hero-title {
        font-size: 2.5rem;
    }
    
    .featured-article {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .featured-content {
        padding-right: 0;
    }
    
    .featured-title {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .insights-filters {
        padding: 1.5rem;
    }
    
    .filter-categories,
    .filter-tags {
        justify-content: center;
    }
    
    /* Minimalist Newsletter Responsive */
    .newsletter-content-minimal {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .newsletter-text {
        min-width: auto;
    }
    
    .newsletter-form-minimal {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .form-input-minimal {
        width: 100%;
    }
    
    .btn-subscribe-minimal {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .insights-hero-section {
        padding: 100px 0 30px; /* 小屏幕进一步调整顶部间距 */
    }
    
    .insights-hero-title {
        font-size: 2rem;
    }
    
    .featured-article {
        padding: 1.5rem;
    }
    
    .featured-title {
        font-size: 1.75rem;
    }
    
    /* Minimalist Newsletter Small Screen */
    .newsletter-section-minimal {
        padding: 40px 0;
    }
    
    .newsletter-title-minimal {
        font-size: 1.25rem;
        background: linear-gradient(135deg, #2c3e50 0%, #fcc41b 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .newsletter-subtitle-minimal {
        font-size: 0.85rem;
    }
    
    .form-input-minimal,
    .btn-subscribe-minimal {
        border-radius: 6px;
    }
    
    .articles-section {
        padding: 60px 0;
    }
}
