/* Blog-specific styles for Welcome to the AI Jungle */

/* Blog Index */
.blog-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1B4332 100%);
}

.blog-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #F77F00, #2D6A4F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero p {
    color: #a0a0a0;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.blog-card:hover {
    border-color: #F77F00;
    background: rgba(247,127,0,0.03);
    transform: translateY(-2px);
}

.blog-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-card h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.blog-tag {
    background: rgba(45,106,79,0.2);
    color: #2D6A4F;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Blog Post Article */
.post-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
}

.post-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #F77F00;
    text-decoration: none;
    font-size: 0.9rem;
    margin-top: 6rem;
    margin-bottom: 2rem;
    transition: opacity 0.2s;
}

.post-back:hover {
    opacity: 0.8;
}

.post-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.post-header h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    color: #888;
    font-size: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

/* Article Content */
.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #d0d0d0;
}

.post-content h2 {
    font-size: 1.6rem;
    color: #fff;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.post-content h3 {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.post-content ul, .post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

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

.post-content strong {
    color: #fff;
    font-weight: 600;
}

.post-content em {
    color: #F77F00;
    font-style: italic;
}

.post-content blockquote {
    border-left: 3px solid #F77F00;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: rgba(247,127,0,0.05);
    border-radius: 0 8px 8px 0;
    color: #c0c0c0;
    font-style: italic;
}

.post-content code {
    background: rgba(255,255,255,0.08);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #F77F00;
}

.post-content pre {
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #d0d0d0;
}

.post-content a {
    color: #F77F00;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.post-content a:hover {
    opacity: 0.8;
}

/* Share Section */
.post-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.post-share span {
    color: #888;
    font-size: 0.9rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.03);
    color: #d0d0d0;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.share-btn:hover {
    border-color: #F77F00;
    color: #F77F00;
}

/* CTA Section */
.post-cta {
    background: linear-gradient(135deg, rgba(27,67,50,0.3), rgba(45,106,79,0.2));
    border: 1px solid rgba(45,106,79,0.3);
    border-radius: 12px;
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
}

.post-cta h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.post-cta p {
    color: #a0a0a0;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.post-cta .cta-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.post-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.cta-primary {
    background: #F77F00;
    color: #0a0a0a;
}

.cta-primary:hover {
    background: #e06f00;
}

.cta-secondary {
    border: 1px solid rgba(255,255,255,0.2);
    color: #d0d0d0;
}

.cta-secondary:hover {
    border-color: #F77F00;
    color: #F77F00;
}

/* Related Posts */
.related-posts {
    margin: 3rem 0 4rem;
}

.related-posts h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

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

.related-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
}

.related-card:hover {
    border-color: #F77F00;
    transform: translateY(-2px);
}

.related-card h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.related-card p {
    color: #888;
    font-size: 0.85rem;
}

/* Homepage Blog Section */
.blog-section {
    padding: 6rem 2rem;
}

.blog-section .section-content {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #F77F00, #2D6A4F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.blog-preview-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 1.75rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s;
}

.blog-preview-card:hover {
    border-color: #F77F00;
    background: rgba(247,127,0,0.03);
    transform: translateY(-3px);
}

.blog-preview-card .card-date {
    font-size: 0.8rem;
    color: #F77F00;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.blog-preview-card h3 {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-preview-card p {
    color: #a0a0a0;
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.blog-preview-card .read-more {
    color: #F77F00;
    font-size: 0.85rem;
    margin-top: 1rem;
    font-weight: 500;
}

.blog-section .view-all {
    text-align: center;
}

.blog-section .view-all a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #F77F00;
    text-decoration: none;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    border: 1px solid #F77F00;
    border-radius: 8px;
    transition: all 0.3s;
}

.blog-section .view-all a:hover {
    background: rgba(247,127,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .blog-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .post-share {
        flex-wrap: wrap;
    }
    
    .post-cta {
        padding: 1.5rem;
    }
}
