/* ============================================
   BLOG SINGLE POST - CINEMATIC STYLES
   360 Web Coders
   ============================================ */

/* Reading Progress Bar */
.blog-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.blog-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #ff00ff);
    width: 0%;
    transition: width 0.1s;
}

/* Hero Parallax */
.blog-hero-image {
    will-change: transform;
    transition: transform 0.1s linear;
}
/* ============================================
   BLOG HEADER - CENTER ALIGN
   ============================================ */
.blog-header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.blog-header-center .inline-flex {
    margin-bottom: 1.5rem;
}

.blog-header-center h1 {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header-center {
        padding: 0 1rem;
    }
}
/* Drop Cap */
.blog-drop-cap:first-letter {
    float: left;
    font-size: 4.5rem;
    line-height: 0.8;
    padding-right: 0.5rem;
    padding-top: 0.25rem;
    font-family: 'Futura', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, #00d4ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Pull Quote */
.blog-pull-quote {
    border-left: 4px solid #00d4ff;
    position: relative;
}

.blog-pull-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 255, 0.05));
    border-radius: inherit;
    pointer-events: none;
}

/* Blog Content Typography */
.blog-content h2 {
    font-family: 'Futura', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 2.5rem 0 1rem;
    color: #ffffff;
}

.blog-content h3 {
    font-family: 'Futura', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: #ffffff;
}

.blog-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-content img {
    border-radius: 28px;
    margin: 2rem 0;
    width: 100%;
    height: auto;
    transition: opacity 0.3s;
}

.blog-content img[data-src] {
    opacity: 0.3;
}

.blog-content img.loaded {
    opacity: 1;
}

.blog-content blockquote {
    border-left: 4px solid #00d4ff;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

.blog-content ul, .blog-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.blog-content a {
    color: #00d4ff;
    text-decoration: underline;
    transition: color 0.3s;
}


/* Line Clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TOC Active Link */
.blog-toc a.active {
    color: #00d4ff;
    font-weight: 600;
}

/* Newsletter Message */
.newsletter-message {
    display: none;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(0, 182, 122, 0.1);
    border: 1px solid rgba(0, 182, 122, 0.3);
    border-radius: 12px;
    color: #00B67A;
    font-size: 0.875rem;
}

/* ============================================
   NEWSLETTER & CTA PATTERN (Diagonal Stripes)
   ============================================ */
.newsletter-pattern {
    background: repeating-linear-gradient(
        45deg,
        #0E0524 0px,
        #0E0524 120px,
        #090218 120px,
        #090218 240px
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.newsletter-pattern::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 176, 244, 0.05), rgba(217, 70, 239, 0.05)) !important;
    pointer-events: none;
}

.newsletter-pattern > * {
    position: relative;
    z-index: 1;
}


/* Floating Share Sidebar */
.floating-share-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) translateX(-20px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
}

@media (max-width: 1440px) {
    .floating-share-sidebar {
        display: none;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .blog-content h2 {
        font-size: 1.5rem;
    }

    .blog-content h3 {
        font-size: 1.25rem;
    }

    .blog-content p {
        font-size: 1rem;
    }

    .blog-drop-cap:first-letter {
        font-size: 3rem;
    }
    
    .newsletter-pattern {
        border-radius: 28px !important;
        padding: 2rem !important;
    }
}