/* Insights Page Specific Styles */

/* Insight Article Specific Styles */
.insight-article {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.article-header {
    margin-bottom: 2rem;
    text-align: left;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-meta {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.article-meta i {
    margin-right: 0.4rem;
    color: var(--accent);
}

.article-meta .category {
    background: var(--accent);
    color: var(--primary);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.article-image {
    margin: 2rem 0 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image .caption {
    padding: 0.75rem 1rem;
    background: var(--gray-bg);
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--gray-border);
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content .lead {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 2rem;
    font-weight: 300;
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 2.5rem 0 1rem;
}

.article-content h3 {
    font-size: 1.3rem;
    color: var(--primary-light);
    margin: 1.8rem 0 0.8rem;
}

.article-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: var(--accent-dark);
}

.sources-box {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--gray-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    font-size: 0.95rem;
}

.sources-box h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.sources-box ul {
    margin: 0;
    padding-left: 1.2rem;
}

.sources-box li {
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        gap: 1rem;
    }
    
    .article-content .lead {
        font-size: 1.2rem;
    }
}

.insights-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.insights-hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.insights-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.featured-image {
    height: 400px;
}

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

.featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-tag {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.featured-content h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.featured-content h2 a {
    color: var(--primary);
    transition: color 0.2s;
}

.featured-content h2 a:hover {
    color: var(--accent);
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.post-meta i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.post-excerpt {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 3rem 0 2rem;
}

.insights-header h2 {
    color: var(--primary);
    font-size: 2rem;
}

.insights-filter {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.insights-filter select {
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid var(--gray-border);
    border-radius: var(--border-radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--white);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 1.2rem;
}

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

.insight-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.insight-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.category-tag {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: var(--accent);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.insight-content {
    padding: 1.5rem;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.insight-content h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.insight-content h3 a {
    color: var(--primary);
    transition: color 0.2s;
}

.insight-content h3 a:hover {
    color: var(--accent);
}

.read-more {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    margin-top: 1rem;
}

.read-more:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.read-more i {
    transition: transform 0.2s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Single Article Page */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.article-header {
    margin-bottom: 2rem;
    text-align: center;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-meta i {
    color: var(--accent);
}

.article-featured-image {
    margin: 2rem 0 3rem;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.article-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-content h2 {
    margin: 2.5rem 0 1rem;
    color: var(--primary);
}

.article-content h3 {
    margin: 2rem 0 1rem;
    color: var(--primary-light);
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--gray-bg);
    border-left: 4px solid var(--accent);
    font-style: italic;
    border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.article-content blockquote p:last-child {
    margin-bottom: 0;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    margin: 2rem 0;
}

.article-content .caption {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.article-tag {
    background: var(--gray-bg);
    padding: 0.3rem 1rem;
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s;
}

.article-tag:hover {
    background: var(--accent);
    color: var(--primary);
}

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

.share-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-border);
    border-radius: 50%;
    background: var(--white);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Author Bio */
.author-bio {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gray-bg);
    border-radius: var(--border-radius-xl);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.author-info h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.author-social {
    display: flex;
    gap: 1rem;
}

.author-social a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.author-social a:hover {
    color: var(--accent);
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
}

.related-articles h3 {
    color: var(--primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

/* Newsletter Section */
.newsletter-section {
    background: var(--gray-bg);
    padding: 4rem 0;
    margin: 4rem 0;
}

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

.newsletter-content h2 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid var(--gray-border);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200,161,94,0.1);
}

.newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* No Posts */
.no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem;
    background: var(--gray-bg);
    border-radius: var(--border-radius-xl);
}

.no-posts i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.no-posts h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.no-posts p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-post {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        height: 300px;
    }
    
    .featured-content {
        padding: 2rem;
    }
    
    .featured-content h2 {
        font-size: 1.8rem;
    }
    
    .insights-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .insights-grid {
        grid-template-columns: 1fr;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-meta {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1rem;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .author-social {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}
