/* Special styling for detailed blog posts */

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 2rem;
}

/* Special Boxes */
.example-box,
.insight-box,
.tip-box,
.highlight-box {
    background: #f8f9fa;
    border-left: 4px solid var(--color-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.example-box h4,
.insight-box h4,
.tip-box h4,
.highlight-box h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.insight-box {
    background: #fff9e6;
    border-left-color: #ffd700;
}

.tip-box {
    background: #e6f7ff;
    border-left-color: #1890ff;
}

.highlight-box {
    background: #f0fff4;
    border-left-color: #52c41a;
}

/* Mistake/Correction Boxes */
.mistake-correction {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.mistake,
.correction {
    padding: 1.5rem;
    border-radius: 8px;
}

.mistake {
    background: #fff5f5;
    border: 2px solid #ff6b6b;
}

.correction {
    background: #f0fff4;
    border: 2px solid #51cf66;
}

.mistake strong,
.correction strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Takeaway List */
.takeaway-list {
    margin: 2rem 0;
}

.takeaway-item {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.takeaway-item:hover {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.1);
    transform: translateY(-2px);
}

.takeaway-item h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.takeaway-item p {
    margin: 0;
    color: var(--color-text);
}

/* Post CTA */
.post-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1976D2 100%);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

.post-cta h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.post-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.post-cta .btn {
    background: white;
    color: var(--color-primary);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.post-cta .btn:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Author Bio */
.post-author {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-dark);
}

.author-title {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-bio {
    color: var(--color-text);
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.author-quote {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: #2196F3;
    background: #f0f8ff;
    border-left: 4px solid #2196F3;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0 0 0;
    line-height: 1.7;
    font-weight: 500;
    display: block;
    border-radius: 8px;
}

/* Social Share */
.post-share {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    margin: 3rem 0;
}

.post-share h4 {
    margin-bottom: 1.5rem;
    color: var(--color-text-dark);
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.linkedin {
    background: #0077B5;
}

.share-btn.facebook {
    background: #1877F2;
}

.share-btn.twitter {
    background: #1DA1F2;
}

.share-btn.email {
    background: #666;
}

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

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--color-text-dark);
}

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

.related-post-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

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

.related-post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-post-card h4 {
    padding: 1.5rem;
    margin: 0;
    color: var(--color-text-dark);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mistake-correction {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
    
    .post-author {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .author-photo {
        width: 80px;
        height: 80px;
    }
    
    .author-quote {
        font-size: 1rem;
        padding-left: 1rem;
        text-align: left;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
        justify-content: center;
    }
    
    .post-cta {
        padding: 2rem 1.5rem;
    }
    
    .post-cta h3 {
        font-size: 1.5rem;
    }
}