/* Blog Detail Page Styles */

/* Glass Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Blog Hero Section */
.blog-hero {
    background: linear-gradient(135deg, #f97316 0%, #6B0F6C 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 C 20 0 50 0 100 100 Z' fill='rgba(255,255,255,0.1)'/%3E%3C/svg%3E") no-repeat;
    background-size: cover;
    pointer-events: none;
}

/* Article Prose Styles */
.blog-content h2 {
    font-family: 'Fredoka', sans-serif;
    color: #6B0F6C;
    font-size: 1.75rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content h3 {
    font-family: 'Fredoka', sans-serif;
    color: #6B0F6C;
    font-size: 1.35rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
    color: #374151;
}

.blog-content ul, .blog-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.blog-content li::marker {
    color: #A4D037;
}

.blog-content strong {
    color: #6B0F6C;
    font-weight: 600;
}

.blog-content blockquote {
    border-left: 4px solid #A4D037;
    padding: 1.5rem;
    margin: 2rem 0;
    background: linear-gradient(135deg, rgba(107,15,108,0.05) 0%, rgba(164,208,55,0.05) 100%);
    border-radius: 0 1rem 1rem 0;
    font-style: italic;
}

.blog-content blockquote p {
    font-size: 1.25rem;
    color: #6B0F6C;
    font-family: 'Fredoka', sans-serif;
    margin-bottom: 0.5rem;
}

.blog-content img {
    border-radius: 1rem;
    margin: 1.5rem 0;
}

.blog-content a {
    color: #6B0F6C;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-content a:hover {
    color: #A4D037;
}

/* Lead Paragraph */
.blog-lead {
    font-size: 1.2rem;
    color: #4b5563;
    font-weight: 500;
    font-style: italic;
    border-left: 4px solid #A4D037;
    padding-left: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Info Cards */
.info-card {
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid;
}

.info-card.blue {
    background: rgba(59, 130, 246, 0.05);
    border-color: rgba(59, 130, 246, 0.2);
}

.info-card.green {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
}

.info-card.orange {
    background: rgba(249, 115, 22, 0.05);
    border-color: rgba(249, 115, 22, 0.2);
}

.info-card.purple {
    background: rgba(107, 15, 108, 0.05);
    border-color: rgba(107, 15, 108, 0.2);
}

/* Related Post Hover */
.related-post:hover .related-img {
    transform: scale(1.1);
}

/* Tag Hover */
.blog-tag:hover {
    background: #A4D037;
    color: white;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, #6B0F6C 0%, #581c87 100%);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -2rem;
    right: -2rem;
    width: 8rem;
    height: 8rem;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    filter: blur(40px);
}

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #6B0F6C, #A4D037);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Share Buttons */
.share-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 768px) {
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-lead {
        font-size: 1.1rem;
    }
}
