/* ===================================
   SBTC BLOG UNIFIED STYLESHEET
   Professional, Modern Blog Design
   Enhanced with Advanced Animations
   =================================== */

/* Performance Optimizations */
.blog-container {
    contain: layout style paint;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Enhanced Blog Variables */
:root {
    --blog-primary: #4CAF50;
    --blog-primary-light: rgba(76,175,80,0.1);
    --blog-primary-medium: rgba(76,175,80,0.2);
    --blog-primary-dark: rgba(76,175,80,0.8);
    
    --blog-bg: #0a0a0a;
    --blog-surface: #111111;
    --blog-surface-light: #1a1a1a;
    
    --blog-text-primary: #e8e8e8;
    --blog-text-secondary: #b8b8b8;
    --blog-text-muted: #999999;
    
    --blog-link-color: #66d9ef;
    --blog-link-hover: #4fb3d9;
    --blog-meta-color: #a0a0a0;
    
    --blog-border: rgba(76,175,80,0.15);
    --blog-shadow: 0 4px 20px rgba(0,0,0,0.3);
    --blog-shadow-hover: 0 8px 30px rgba(76,175,80,0.15);
    
    /* Performance variables */
    --transition-fast: 0.15s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Enhanced animations */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-sharp: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Social sharing colors */
    --social-twitter: #1DA1F2;
    --social-facebook: #4267B2;
    --social-linkedin: #0077B5;
    --social-reddit: #FF4500;
    --social-whatsapp: #25D366;
    --social-email: #EA4335;
}

/* Blog Layout */
.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Enhanced Blog Body with Glassmorphism */
.blog-body {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
    padding: 60px 0;
    position: relative;
}

.blog-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bg-grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(76,175,80,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23bg-grid)"/></svg>');
    pointer-events: none;
    z-index: -1;
}

.blog-body .container {
    max-width: 850px;
    margin: 0 auto;
    background: rgba(17,17,17,0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 60px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.1);
    position: relative;
    overflow: hidden;
}

.blog-body .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blog-primary), transparent);
    animation: shimmer-top 3s ease-in-out infinite;
}

@keyframes shimmer-top {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Enhanced Blog Content Typography */
.blog-body p {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--blog-text-primary);
    margin-bottom: 28px;
    text-align: left;
    position: relative;
}

.blog-body p::first-letter {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--blog-primary);
    float: left;
    line-height: 1;
    margin-right: 8px;
    margin-top: 4px;
    text-shadow: 0 2px 4px rgba(76,175,80,0.3);
}

.blog-body h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.2em;
    color: var(--blog-text-primary);
    margin: 50px 0 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.blog-body h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--blog-primary), transparent);
    border-radius: 2px;
}

.blog-body h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.6em;
    color: var(--blog-text-primary);
    margin: 40px 0 20px;
    text-align: left;
    position: relative;
    padding-left: 20px;
}

.blog-body h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--blog-primary);
    border-radius: 2px;
}

.blog-body ul, .blog-body ol {
    color: var(--blog-text-secondary);
    font-size: 1.1em;
    line-height: 1.7;
    margin: 24px 0;
    padding-left: 32px;
}

.blog-body li {
    margin-bottom: 12px;
    position: relative;
}

.blog-body li::marker {
    color: var(--blog-primary);
    font-weight: bold;
}

/* Enhanced Blog Components with Advanced Animations */
.seo-steps {
    display: grid;
    gap: 24px;
    margin: 40px 0;
    padding: 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: linear-gradient(135deg, var(--blog-surface-light), var(--blog-surface));
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    padding: 30px;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.step-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--blog-primary), #45a049);
    border-radius: 2px 0 0 2px;
    transition: width 0.3s ease;
}

.step-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 40px rgba(76,175,80,0.2);
    border-color: var(--blog-primary);
}

.step-item:hover::before {
    width: 6px;
}

.step-number {
    min-width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--blog-primary), #45a049);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2em;
    font-family: 'Archivo Black', sans-serif;
    flex-shrink: 0;
}

.step-content strong {
    color: var(--blog-text-primary);
    font-size: 1.1em;
    display: block;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--blog-text-secondary);
    margin: 0;
    font-size: 1em;
}

/* Enhanced SEO Factors Grid */
.seo-factors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.factor-card {
    background: linear-gradient(135deg, var(--blog-surface-light), var(--blog-surface));
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.factor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blog-primary), transparent);
}

.factor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--blog-shadow-hover);
    border-color: var(--blog-primary);
}

.factor-icon {
    font-size: 2.5em;
    margin-bottom: 16px;
    display: block;
}

.factor-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2em;
    color: var(--blog-text-primary);
    margin-bottom: 12px;
    font-weight: 700;
}

.factor-desc {
    color: var(--blog-text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}

/* Enhanced Blog Tips and Warnings */
.blog-tip, .blog-warning {
    margin: 40px 0;
    padding: 25px 30px;
    border-radius: 16px;
    position: relative;
    font-size: 1.05em;
    line-height: 1.6;
}

.blog-tip {
    background: linear-gradient(135deg, rgba(76,175,80,0.12), rgba(76,175,80,0.06));
    border-left: 5px solid var(--blog-primary);
    border: 1px solid rgba(76,175,80,0.2);
}

.blog-tip::before {
    content: '💡';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

.blog-tip p {
    margin: 0;
    padding-left: 40px;
    color: var(--blog-text-primary);
}

.blog-warning {
    background: linear-gradient(135deg, rgba(255,152,0,0.12), rgba(255,152,0,0.06));
    border-left: 5px solid #ff9800;
    border: 1px solid rgba(255,152,0,0.2);
}

.blog-warning::before {
    content: '⚠️';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

.blog-warning p {
    margin: 0;
    padding-left: 40px;
    color: var(--blog-text-primary);
}

/* Enhanced Code Blocks with Syntax Highlighting */
.code-block {
    background: #1e1e1e;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    overflow-x: auto;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.6;
    position: relative;
    backdrop-filter: blur(10px);
}

.code-block::before {
    content: 'CODE';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 0.7em;
    color: var(--blog-text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(76,175,80,0.1);
    padding: 4px 8px;
    border-radius: 4px;
}

.code-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blog-primary), #45a049);
    border-radius: 12px 12px 0 0;
}

/* Enhanced Blog CTA with Advanced Effects */
.blog-cta {
    background: linear-gradient(135deg, var(--blog-primary), #45a049);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(76,175,80,0.3);
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.blog-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: cta-shine 4s ease-in-out infinite;
}

@keyframes shimmer {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes cta-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.blog-cta h3 {
    color: white;
    font-size: 1.8em;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.blog-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1em;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.blog-cta .btn-primary {
    background: white;
    color: var(--blog-primary);
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all var(--transition-medium);
    position: relative;
    z-index: 1;
    display: inline-block;
}

.blog-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Strategic Internal Links */
.blog-link {
    color: var(--blog-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
    position: relative;
}

.blog-link:hover {
    border-bottom-color: var(--blog-primary);
    background: rgba(76,175,80,0.1);
    padding: 2px 4px;
    border-radius: 4px;
}

/* Blog Navigation */
.blog-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    padding: 20px;
    background: var(--blog-surface-light);
    border-radius: 16px;
    border: 1px solid var(--blog-border);
    flex-wrap: wrap;
}

.blog-nav-btn {
    padding: 12px 24px;
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 25px;
    color: var(--blog-text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-medium);
    font-size: 0.95em;
}

.blog-nav-btn:hover {
    background: var(--blog-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76,175,80,0.3);
}

.blog-nav-btn.active {
    background: var(--blog-primary);
    color: white;
}

/* Related Articles Section */
.related-articles {
    background: var(--blog-surface-light);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    border: 1px solid var(--blog-border);
}

.related-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.8em;
    color: var(--blog-text-primary);
    margin-bottom: 30px;
    text-align: center;
}

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

.related-card {
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 12px;
    padding: 25px;
    transition: all var(--transition-medium);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--blog-shadow-hover);
    border-color: var(--blog-primary);
}

.related-card h4 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.1em;
    color: var(--blog-text-primary);
    margin-bottom: 10px;
}

.related-card p {
    color: var(--blog-text-secondary);
    font-size: 0.9em;
    margin: 0;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-container {
        padding: 0 20px;
    }
    
    .blog-body .container {
        padding: 30px 25px;
        border-radius: 16px;
    }
    
    .blog-body h2 {
        font-size: 1.8em;
        text-align: left;
        padding-left: 20px;
    }
    
    .blog-body h2::after {
        left: 20px;
        transform: none;
        width: 40px;
    }
    
    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 20px;
    }
    
    .step-item::before {
        display: none;
    }
    
    .step-content {
        text-align: center;
    }
    
    .seo-factors {
        grid-template-columns: 1fr;
    }
    
    .blog-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .blog-nav-btn {
        width: 100%;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog Hero Section */
.blog-hero {
    padding: 120px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--blog-primary-light) 0%, transparent 100%);
    border-bottom: 1px solid var(--blog-border);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(76,175,80,0.08)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-grid)"/></svg>');
    opacity: 0.4;
    pointer-events: none;
}

.blog-hero-content {
    position: relative;
    z-index: 1;
}

.blog-hero h1 {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2.5em, 5vw, 4em);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--blog-text-primary);
    font-weight: 900;
}

.blog-hero .subtitle {
    font-size: 1.3em;
    color: var(--blog-text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Blog Meta Information */
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.blog-tag {
    background: var(--blog-primary-medium);
    color: var(--blog-primary);
    border: 1px solid var(--blog-primary);
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: var(--blog-primary);
    color: white;
    transform: translateY(-1px);
}

.blog-date {
    color: var(--blog-text-secondary);
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author {
    color: var(--blog-text-secondary);
    font-size: 0.95em;
    font-weight: 500;
}

/* Blog Navigation */
.blog-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.blog-nav-btn {
    padding: 12px 24px;
    border: 2px solid var(--blog-border);
    background: var(--blog-surface);
    border-radius: 25px;
    color: var(--blog-text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.blog-nav-btn:hover {
    border-color: var(--blog-primary);
    color: var(--blog-primary);
    transform: translateY(-2px);
    box-shadow: var(--blog-shadow-hover);
}

.blog-nav-btn.active {
    background: var(--blog-primary);
    color: white;
    border-color: var(--blog-primary);
}

/* Blog Grid Layout */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 32px;
    margin: 60px 0;
}

/* Advanced Blog Cards with Glassmorphism */
.blog-card {
    background: rgba(17,17,17,0.9);
    border: 1px solid rgba(76,175,80,0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(76,175,80,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(76,175,80,0.25);
    border-color: var(--blog-primary);
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--blog-primary-light) 0%, var(--blog-primary-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    position: relative;
    overflow: hidden;
}

/* Professional Blog Icons - Replacing Emojis */
.blog-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.blog-icon::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #ffffff;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

/* Security Icon - Shield */
.security-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

/* SEO Icon - Magnifying Glass */
.seo-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
}

/* Performance Icon - Lightning Bolt */
.performance-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
}

/* Development Icon - Code */
.development-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpolyline points='16 18 22 12 16 6'/%3E%3Cpolyline points='8 6 2 12 8 18'/%3E%3C/svg%3E");
}

/* Maintenance Icon - Wrench */
.maintenance-icon::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

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

.blog-card-content {
    padding: 24px;
}

.blog-card-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.3em;
    font-weight: 900;
    color: var(--blog-text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card-title a {
    color: var(--blog-link-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--blog-link-hover);
    text-decoration: underline;
}

.blog-card-excerpt {
    color: var(--blog-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 0.95em;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.9em;
    color: var(--blog-meta-color);
    font-weight: 500;
}

.blog-card-tag {
    background: var(--blog-primary-light);
    color: var(--blog-primary);
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Advanced Blog Article Layout */
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
    text-align: left;
    position: relative;
}

.blog-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: -40px;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, var(--blog-primary), transparent);
    opacity: 0.3;
}

.blog-article-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.blog-article-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blog-primary), transparent);
}

.blog-article-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: clamp(2em, 4vw, 3em);
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--blog-text-primary);
    font-weight: 900;
    text-align: center;
}

.blog-article-subtitle {
    font-size: 1.2em;
    color: var(--blog-text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Blog Content Styling */
.blog-content {
    color: var(--blog-text-secondary);
    line-height: 1.8;
    font-size: 1.05em;
}

.blog-content p {
    margin-bottom: 24px;
}

.blog-content h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.8em;
    margin: 48px 0 20px;
    color: var(--blog-text-primary);
    font-weight: 900;
}

.blog-content h3 {
    font-size: 1.3em;
    margin: 32px 0 16px;
    color: var(--blog-primary);
    font-weight: 700;
}

.blog-content ul, .blog-content ol {
    margin: 24px 0;
    padding-left: 32px;
}

.blog-content li {
    margin-bottom: 12px;
}

/* Blog Special Elements */
.blog-tip {
    background: var(--blog-primary-light);
    border-left: 4px solid var(--blog-primary);
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 32px 0;
}

.blog-tip strong {
    color: var(--blog-primary);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.blog-warning {
    background: rgba(255, 160, 0, 0.1);
    border-left: 4px solid #ffa000;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin: 32px 0;
}

.blog-warning strong {
    color: #ffa000;
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.blog-cta {
    background: var(--blog-primary-light);
    border: 2px solid var(--blog-primary);
    border-radius: 16px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
}

.blog-cta h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5em;
    margin-bottom: 16px;
    color: var(--blog-text-primary);
}

.blog-cta p {
    margin-bottom: 24px;
    font-size: 1.1em;
}

/* Blog Back Navigation */
.blog-back-nav {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blog-text-secondary);
    text-decoration: none;
    font-size: 0.95em;
    margin-bottom: 40px;
    padding: 12px 20px;
    border: 1px solid var(--blog-border);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.blog-back-nav:hover {
    color: var(--blog-primary);
    border-color: var(--blog-primary);
    transform: translateX(-4px);
}

/* Blog Sidebar */
.blog-sidebar {
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    padding: 32px;
    margin-top: 60px;
}

.blog-sidebar h3 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2em;
    margin-bottom: 20px;
    color: var(--blog-text-primary);
}

.blog-sidebar-list {
    list-style: none;
}

.blog-sidebar-list li {
    margin-bottom: 12px;
}

.blog-sidebar-list a {
    color: var(--blog-text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-sidebar-list a:hover {
    color: var(--blog-primary);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 60px 0;
}

.blog-pagination a {
    padding: 10px 16px;
    border: 1px solid var(--blog-border);
    border-radius: 8px;
    color: var(--blog-text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-pagination a:hover {
    border-color: var(--blog-primary);
    color: var(--blog-primary);
}

.blog-pagination .current {
    background: var(--blog-primary);
    color: white;
    border-color: var(--blog-primary);
}

/* Blog Search */
.blog-search {
    margin-bottom: 40px;
}

.blog-search-input {
    width: 100%;
    padding: 16px 20px;
    background: var(--blog-surface);
    border: 2px solid var(--blog-border);
    border-radius: 12px;
    color: var(--blog-text-primary);
    font-size: 1em;
    transition: all 0.3s ease;
}

.blog-search-input:focus {
    outline: none;
    border-color: var(--blog-primary);
    box-shadow: 0 0 0 3px var(--blog-primary-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-container {
        padding: 0 16px;
    }
    
    .blog-hero {
        padding: 80px 0 60px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .blog-card {
        border-radius: 12px;
    }
    
    .blog-article {
        padding: 40px 0;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 12px;
    }
    
    .blog-cta {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2em;
    }
    
    .blog-hero .subtitle {
        font-size: 1.1em;
    }
    
    .blog-card-content {
        padding: 20px;
    }
    
    .blog-card-title {
        font-size: 1.1em;
    }
}

/* Blog Loading Animation */
.blog-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.blog-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--blog-border);
    border-top: 3px solid var(--blog-primary);
    border-radius: 50%;
    animation: blog-spin 1s linear infinite;
}

@keyframes blog-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Blog Accessibility */
.blog-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Social Sharing Component */
.blog-sharing {
    background: var(--blog-surface);
    border: 1px solid var(--blog-border);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.blog-sharing-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.4em;
    color: var(--blog-text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.social-share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.social-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-medium);
    cursor: pointer;
    font-size: 16px;
    min-width: 120px;
    justify-content: center;
}

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

.social-share-btn.twitter {
    background: var(--social-twitter);
    color: white;
}

.social-share-btn.facebook {
    background: var(--social-facebook);
    color: white;
}

.social-share-btn.linkedin {
    background: var(--social-linkedin);
    color: white;
}

.social-share-btn.reddit {
    background: var(--social-reddit);
    color: white;
}

.social-share-btn.whatsapp {
    background: var(--social-whatsapp);
    color: white;
}

.social-share-btn.email {
    background: var(--social-email);
    color: white;
}

.social-share-btn.copy {
    background: var(--blog-primary);
    color: white;
}

.social-share-icon {
    font-size: 20px;
    min-width: 20px;
    text-align: center;
}

/* Copy Link Feedback */
.copy-feedback {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--blog-primary);
    color: white;
    padding: 16px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-20px);
    transition: all var(--transition-medium);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.copy-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

/* Visitor Counter */
.blog-visitor-counter {
    background: linear-gradient(135deg, var(--blog-surface-light), var(--blog-surface));
    border: 1px solid var(--blog-border);
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-visitor-counter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blog-primary), #45a049);
}

.counter-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}

.counter-stat {
    text-align: center;
}

.counter-value {
    font-size: 2em;
    font-weight: 700;
    color: var(--blog-primary);
    margin-bottom: 5px;
    display: block;
}

.counter-label {
    color: var(--blog-text-secondary);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.counter-footer {
    color: var(--blog-text-muted);
    font-size: 0.8em;
    margin-top: 10px;
}

/* Responsive Sharing */
@media (max-width: 768px) {
    .social-share-buttons {
        gap: 10px;
    }
    
    .social-share-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .social-share-icon {
        font-size: 16px;
    }
    
    .counter-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .counter-value {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .blog-sharing {
        padding: 20px;
    }
    
    .social-share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-share-btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .counter-stats {
        grid-template-columns: 1fr;
    }
}

/* Blog Print Styles */
@media print {
    .blog-hero,
    .blog-nav,
    .blog-sidebar,
    .blog-cta,
    .blog-sharing,
    .blog-visitor-counter {
        display: none;
    }
    
    .blog-content {
        color: #000;
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .blog-content h2,
    .blog-content h3 {
        color: #000;
        page-break-after: avoid;
    }
}
