/* Insights Page Styles */

/* Insights Intro Section */
.insights-intro {
    padding: 60px 0;
    background: #f8fafc;
}

/* Content Themes Section */
.content-themes {
    padding: 80px 0;
}

.content-themes h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.theme-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    cursor: pointer;
}

.theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.clickable-theme {
    cursor: pointer;
    position: relative;
}

.clickable-theme:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 16px;
    pointer-events: none;
}

.theme-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e5e5;
    font-size: 0.85rem;
    color: #64748b;
}

.article-count {
    font-weight: 500;
}

.click-hint {
    color: #2563eb;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.clickable-theme:hover .click-hint {
    opacity: 1;
}

.theme-icon {
    width: 70px;
    height: 70px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.theme-icon span {
    font-size: 2rem;
}

.theme-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.theme-card > p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.theme-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.theme-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.theme-card li::before {
    content: "✓";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Theme Articles Section */
.theme-articles {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e5;
}

.theme-articles h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.theme-articles-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.theme-article-item {
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #2563eb;
}

.theme-article-item h5 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.theme-article-item h5 a {
    color: #1a1a1a;
    text-decoration: none;
}

.theme-article-item h5 a:hover {
    color: #2563eb;
}

.theme-article-date {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
}

.theme-article-excerpt {
    font-size: 0.85rem;
    color: #4a4a4a;
    line-height: 1.4;
    margin: 0 0 0.5rem 0;
}

.theme-article-link {
    font-size: 0.85rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.theme-article-link:hover {
    text-decoration: underline;
}

.view-all-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* Category-Specific Page Styles */
.category-intro {
    padding: 60px 0;
    background: #f8fafc;
}

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

.category-intro h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

.category-intro p {
    font-size: 1.2rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.category-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.5rem;
}

.category-articles {
    padding: 80px 0;
}

.category-articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.category-articles .insight-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-articles .insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.category-articles .insight-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.category-articles .category {
    background: var(--surface-muted);
    color: var(--text);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.category-articles .insight-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
}

.category-articles .insight-card h3 a {
    color: var(--text);
    text-decoration: none;
}

.category-articles .insight-card h3 a:hover {
    color: var(--primary);
}

.category-articles .excerpt {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.article-meta-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: #64748b;
}

.article-meta-info .author {
    font-weight: 500;
}

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

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.read-more:hover {
    text-decoration: underline;
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.empty-state p {
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.empty-state .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.empty-state .btn:hover {
    background: #1d4ed8;
}

/* Related Categories Section */
.related-categories {
    padding: 80px 0;
    background: #f8fafc;
}

.related-categories h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e5;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.category-icon span {
    font-size: 1.5rem;
}

.category-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.category-link {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.category-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-stats {
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .category-articles .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.theme-icon span {
    font-size: 2rem;
}

.theme-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.theme-card > p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.theme-card ul {
    list-style: none;
}

.theme-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
}

.theme-card li::before {
    content: "•";
    color: #2563eb;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Featured Insights Section */
.featured-insights {
    padding: 80px 0;
    background: #f8fafc;
}

.featured-insights h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.insight-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e5;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.insight-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
}

.category {
    background: #f0f9ff;
    color: #2563eb;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.date {
    color: #64748b;
    font-size: 0.9rem;
}

.insight-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.insight-card > p {
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #1d4ed8;
}

/* Content Approach Section */
.content-approach {
    padding: 80px 0;
}

.content-approach h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.approach-item {
    text-align: center;
    padding: 2rem;
}

.approach-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2563eb;
    margin-bottom: 1rem;
}

.approach-item p {
    color: #4a4a4a;
    line-height: 1.6;
}

.approach-note {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e5e5e5;
}

.approach-note h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.approach-note p {
    color: #4a4a4a;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Subscribe Section */
.subscribe-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.subscribe-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.subscribe-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.subscribe-content > p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.subscribe-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.subscribe-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.subscribe-form input:focus {
    border-color: #2563eb;
}

.subscribe-note {
    font-size: 0.9rem;
    color: #64748b;
}

/* Responsive Design for Insights Page */
@media (max-width: 768px) {
    .themes-grid {
        grid-template-columns: 1fr;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .content-themes h2,
    .featured-insights h2,
    .content-approach h2,
    .subscribe-content h2 {
        font-size: 2rem;
    }
    
    .insight-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
