/* ===================================================================
   Base & Mobile First Styles
   =================================================================== */

/* ===================================================================
   Small Mobile Screens (max-width: 575px)
   =================================================================== */
@media (max-width: 575px) {
    /* Optimize hero section for small screens */
    .blog-hero {
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.3;
    }
    
    .hero-meta {
        padding: 1rem;
        margin-top: 1.2rem;
    }
    
    .hero-meta .meta-item {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    /* Optimize content for small screens */
    .blog-content {
        padding: 25px 15px;
    }
    
    .blog-content h1 { 
        font-size: 2.4rem; 
        margin-top: 2.5rem; 
        margin-bottom: 1.5rem; 
        font-weight: 700;
        background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        position: relative;
    }
    .blog-content h1::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 0;
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
        border-radius: 2px;
    }
    .blog-content h2 { 
        font-size: 2.2rem; 
        margin-top: 2.3rem; 
        margin-bottom: 1.3rem; 
        font-weight: 700;
        color: #0a1628;
        position: relative;
    }
    .blog-content h2::after {
        content: '';
        position: absolute;
        bottom: -6px;
        left: 0;
        width: 50px;
        height: 2px;
        background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
        border-radius: 2px;
    }
    .blog-content h3 { 
        font-size: 2rem; 
        margin-top: 2rem; 
        margin-bottom: 1.2rem; 
        font-weight: 600;
        color: #0a1628;
        position: relative;
    }
    .blog-content h3::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
        border-radius: 2px;
    }
    .blog-content h4 { font-size: 1.8rem; margin-top: 1.8rem; margin-bottom: 1rem; }
    .blog-content h5 { font-size: 1.6rem; margin-top: 1.6rem; margin-bottom: 0.9rem; }
    .blog-content h6 { font-size: 1.4rem; margin-top: 1.4rem; margin-bottom: 0.8rem; }
    
    .blog-content p {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 1.8rem;
        color: #333;
    }

    .blog-content li {
        font-size: 1.4rem;
        line-height: 1.7;
        margin-bottom: 1rem;
    }
    
    /* Optimize WordPress blocks for small screens */
    .blog-content .wp-block-columns {
        gap: 1.8rem;
    }
    
    .blog-content .wp-block-button .wp-block-button__link {
        padding: 12px 24px;
        font-size: 2.4rem; /* Doubled from 1.2rem */
    }
    
    /* Optimize social sharing for small screens */
    .social-sharing {
        padding: 1.5rem 1rem;
        margin: 2.5rem 0;
        border-radius: 12px;
    }
    
    .social-sharing h4 {
        font-size: 2.4rem; /* Doubled from 1.2rem */
        margin-bottom: 1.2rem;
        font-weight: 700;
    }
    
    .social-btn {
        padding: 10px 18px;
        font-size: 1.8rem; /* Doubled from 0.9rem */
        min-width: 160px;
        margin-bottom: 0.8rem;
    }
}

/* Reset and base styling */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', 'Source Sans Pro', Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #ffffff;
    overflow-x: hidden;
}

/* Reading progress indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b, #ffd700);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Disable heavy animations on mobile for performance */
.blog-hero::before {
    animation: none;
}
.hero-particles {
    display: none;
}

/* Mobile Hero Section */
.blog-hero {
    background: 
        radial-gradient(ellipse at top left, rgba(78, 205, 196, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(255, 107, 107, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at center, rgba(255, 215, 0, 0.08) 0%, transparent 70%),
        linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0a1628 100%);
    color: white;
    padding: 40px 0 30px;
    position: relative;
    overflow: hidden;
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.back-to-blog {
    margin-bottom: 2rem;
    position: relative;
    z-index: 3;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: #b8d4e3;
    text-decoration: none;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-btn i {
    margin-right: 8px;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: white; /* Simple color for mobile */
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.hero-meta {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8d4e3;
    position: relative;
    z-index: 2;
}

.hero-meta .meta-item {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.hero-meta .meta-item:last-child {
    margin-bottom: 0;
}

.hero-meta .meta-item i {
    margin-right: 8px;
    color: #4ecdc4;
}

/* Mobile Content Area */
.blog-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 10px;
    background: #ffffff;
    position: relative;
}

.entry-content {
    position: relative;
}

.blog-content .entry-content > * {
    margin-bottom: 1.5rem;
}

.blog-content .entry-content > h1,
.blog-content .entry-content > h2,
.blog-content .entry-content > h3,
.blog-content .entry-content > h4,
.blog-content .entry-content > h5,
.blog-content .entry-content > h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Mobile Typography - Enhanced for better readability */
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    letter-spacing: -0.01em;
}

.blog-content h1 { font-size: 2.5rem !important; margin-bottom: 1.5rem; }
.blog-content h2 { font-size: 2.1rem !important; margin-bottom: 1.4rem; }
.blog-content h3 { font-size: 1.8rem !important; margin-bottom: 1.3rem; }
.blog-content h4 { font-size: 1.5rem !important; margin-bottom: 1.2rem; }
.blog-content h5 { font-size: 1.3rem !important; margin-bottom: 1.1rem; }
.blog-content h6 { font-size: 1.2rem !important; margin-bottom: 1rem; }

.blog-content p {
    margin-bottom: 1.8rem;
    font-size: 1.6rem !important; /* Doubled from 1.3rem with !important */
    line-height: 1.8;
    color: #333;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.blog-content a {
    color: #4ecdc4;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 1px solid rgba(78, 205, 196, 0.3);
    text-decoration: none;
    padding-bottom: 1px;
}

.blog-content a:hover {
    color: #ff6b6b;
    border-bottom-color: rgba(255, 107, 107, 0.5);
}

.blog-content ul, .blog-content ol {
    margin: 2rem 0;
    padding-left: 2.5rem;
}

.blog-content ul {
    list-style-type: square;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li,
.blog-content .wp-block-list li,
.wp-block-list li {
    margin-bottom: 0.8rem;
    font-size: 1.4rem !important;
    line-height: 1.7;
    padding-left: 0.5rem;
}

/* WordPress List Blocks - Fix sizing issues */
.wp-block-list {
    margin: 1.5rem 0;
    padding-left: 2rem;
    max-width: 100%;
    box-sizing: border-box;
}

.wp-block-list ul,
.wp-block-list ol {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
}

.wp-block-list li {
    font-size: 1.6rem !important;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .wp-block-list {
        padding-left: 1.5rem;
        margin: 1rem 0;
    }
    
    .wp-block-list li {
        font-size: 1.4rem !important;
        margin-bottom: 0.4rem;
    }
}

/* Image captions */
.blog-content figcaption {
    font-size: 2.4rem !important; /* Doubled from 1.2rem with !important */
    font-style: italic;
    text-align: center;
    color: #666;
    margin-top: 0.8rem;
    padding: 0 1rem;
}

/* Mobile Blockquote */
.blog-content blockquote, .blog-content .wp-block-quote {
    background: #f8f9fa;
    border-left: 4px solid #4ecdc4;
    padding: 1.8rem 1.5rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.2rem;
    color: #444;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.blog-content .wp-block-quote p {
    margin-bottom: 1.2rem;
    font-size: 2.4rem !important; /* Doubled from 1.2rem with !important */
    line-height: 1.7;
}
.blog-content .wp-block-quote cite {
    display: block;
    font-size: 2rem !important; /* Doubled from 1rem with !important */
    color: #666;
    margin-top: 1.2rem;
    font-style: normal;
    font-weight: 600;
}

/* Mobile Image */
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2rem 0;
}

/* Mobile Code Blocks */
.blog-content pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 1.8rem;
    border-radius: 10px;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 2.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-content code {
    background: rgba(78, 205, 196, 0.1);
    color: #0a1628;
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 2.4rem !important; /* Doubled from 0.95em with !important */
    font-weight: 500;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

/* Mobile Tables */
.blog-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5rem 0;
    overflow: hidden;
    display: block;
    overflow-x: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.blog-content th, .blog-content td {
    padding: 1rem 1.2rem;
    border: 1px solid #e9ecef;
    text-align: left;
    font-size: 2.2rem !important; /* Doubled from 1.1rem with !important */
}
.blog-content th {
    background: #f1f3f5;
    font-weight: 700;
    color: #333;
    border-bottom: 2px solid #4ecdc4;
}
.blog-content tr:nth-child(even) {
    background-color: #f8f9fa;
}
.blog-content tr:hover {
    background-color: rgba(78, 205, 196, 0.05);
}

/* Mobile Social Sharing */
.social-sharing {
    margin: 3.5rem 0;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(78, 205, 196, 0.1);
}
.social-sharing h4 {
    font-size: 2.6rem !important; /* Doubled from 1.3rem with !important */
    font-weight: 700;
    margin-bottom: 1.8rem;
    color: #0a1628;
    position: relative;
    display: inline-block;
}
.social-sharing h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #ff6b6b);
    border-radius: 3px;
}
.social-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 2rem !important; /* Doubled from 1rem with !important */
    min-width: 200px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}
.social-btn.twitter { background-color: #1da1f2; }
.social-btn.linkedin { background-color: #0077b5; }
.social-btn.facebook { background-color: #1877f2; }
.social-btn.copy { background-color: #6c757d; }
.social-btn i { margin-right: 8px; }

/* WordPress Content Blocks on Mobile - Enhanced for better readability */
/* Improved alignment and spacing for WordPress blocks */
.blog-content .alignleft, .blog-content .alignright {
    float: none;
    margin: 2.5rem auto;
    display: block;
    max-width: 100%;
}

.blog-content .aligncenter {
    display: block;
    margin: 2.5rem auto;
    text-align: center;
}

/* WordPress Columns */
.blog-content .wp-block-columns {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.blog-content .wp-block-column {
    margin-bottom: 1.5rem;
}

/* WordPress Media & Text */
.blog-content .wp-block-media-text {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

/* WordPress Alignments */
.blog-content .alignwide, .blog-content .alignfull {
    width: calc(100% + 20px);
    margin-left: -10px;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

/* WordPress Galleries */
.blog-content .wp-block-gallery {
    margin: 2.5rem 0;
}

.blog-content .blocks-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.blog-content .blocks-gallery-item {
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
}

.blog-content .blocks-gallery-item figure {
    margin: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
}

.blog-content .blocks-gallery-item img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.blog-content .blocks-gallery-item figcaption {
    position: absolute;
    bottom: 0;
    width: 100%;
    max-height: 100%;
    padding: 2rem 1rem;
    color: #fff;
    text-align: center;
    font-size: 2.4rem; /* Doubled from 1.2rem */
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0, rgba(0,0,0,0.3) 70%, transparent);
    border-radius: 0 0 10px 10px;
}

/* WordPress Buttons */
.blog-content .wp-block-button {
    margin: 2.5rem 0;
}

.blog-content .wp-block-button .wp-block-button__link {
    display: inline-block;
    padding: 15px 30px;
    font-size: 2.8rem; /* Doubled from 1.4rem */
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    background-color: #4ecdc4;
    color: #fff;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.blog-content .wp-block-button.is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 2px solid #4ecdc4;
    color: #4ecdc4;
}

/* WordPress Separators */
.blog-content .wp-block-separator {
    border: none;
    border-top: 2px solid #e9ecef;
    margin: 3rem auto;
    width: 80px;
}

.blog-content .wp-block-separator.is-style-wide {
    width: 100%;
}

.blog-content .wp-block-separator.is-style-dots {
    border: none;
    text-align: center;
}

.blog-content .wp-block-separator.is-style-dots::before {
    content: '···';
    color: #4ecdc4;
    font-size: 4rem; /* Doubled from 2rem */
    letter-spacing: 1rem;
}

/* WordPress Cover Blocks */
.blog-content .wp-block-cover {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 430px;
    margin: 2.5rem 0;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
}

.blog-content .wp-block-cover-image .wp-block-cover__inner-container,
.blog-content .wp-block-cover .wp-block-cover__inner-container {
    width: 100%;
    z-index: 1;
    color: #fff;
}

.blog-content .wp-block-cover-image .wp-block-cover__inner-container p,
.blog-content .wp-block-cover .wp-block-cover__inner-container p {
    margin-bottom: 0;
    font-size: 3.6rem; /* Doubled from 1.8rem */
    font-weight: 700;
    text-align: center;
}

/* WordPress Media & Text */
.blog-content .wp-block-media-text__media img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.blog-content .wp-block-media-text__content {
    padding: 1.5rem;
}

/* WordPress Group */
.blog-content .wp-block-group {
    margin: 2.5rem 0;
}

.blog-content .wp-block-group.has-background {
    padding: 2rem;
    border-radius: 10px;
}

/* WordPress Video Embeds */
.blog-content .wp-block-embed {
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}

.blog-content .wp-block-embed__wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.blog-content .wp-block-embed iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    /* Mobile-specific fixes for alignwide/alignfull */
    .blog-content .alignwide,
    .blog-content .alignfull {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    /* Clear floats */
    .blog-content::after {
        content: '';
        display: table;
        clear: both;
    }


/* ===================================================================
   Desktop & Larger Screen Styles (`min-width: 769px`)
   =================================================================== */

/* ===================================================================
   Tablet Styles (min-width: 576px)
   =================================================================== */
@media (min-width: 576px) {
    /* Enable particles but with reduced density */
    .hero-particles {
        display: block;
    }
    
    /* Improved hero section for tablets */
    .blog-hero {
        padding: 80px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    /* Improved content layout for tablets */
    .blog-content {
        padding: 40px 20px;
    }
    
    /* Improved social sharing for tablets */
    .social-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-btn {
        min-width: 160px;
    }
}

/* ===================================================================
   Desktop Styles (min-width: 769px)
   =================================================================== */
@media (min-width: 769px) {

    /* Enhanced Hero Section */
    .blog-hero {
        padding: 120px 0 80px;
        min-height: 20vh;
    }

    .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 200 200"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="200" height="200" fill="url(%23grid)"/></svg>'),
            url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="circles" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(255,215,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23circles)"/></svg>');
        opacity: 0.6;
        animation: subtle-float 20s ease-in-out infinite;
    }

    @keyframes subtle-float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-10px) rotate(1deg); }
    }

    .back-btn {
        padding: 12px 25px;
        font-size: 1rem; /* Not doubling as per request - not part of content */
    }

    .back-btn:hover {
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
        color: white;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        border-color: rgba(255, 215, 0, 0.4);
    }

    .back-btn:hover i {
        transform: translateX(-3px);
    }

    .hero-title {
        font-size: clamp(3rem, 5.5vw, 4.5rem);
        line-height: 1.1;
        background: linear-gradient(135deg, #ffffff 0%, #e8f4f8 20%, #4ecdc4 40%, #45b7d1 60%, #ffffff 80%, #ffd700 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        text-shadow: 0 2px 20px rgba(78, 205, 196, 0.3);
        animation: shimmer 3s ease-in-out infinite;
    }

    @keyframes shimmer {
        0%, 100% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
    }

    .hero-meta {
        margin-top: 2rem;
        padding: 1.5rem 2rem;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(78, 205, 196, 0.1) 25%, rgba(255, 107, 107, 0.1) 50%, rgba(255, 215, 0, 0.1) 75%, rgba(78, 205, 196, 0.1) 100%);
        border-radius: 20px;
        backdrop-filter: blur(25px);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    }

    .hero-meta .meta-item {
        display: inline-flex;
        margin-right: 2rem;
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    /* Floating particles for desktop */
    .hero-particles {
        display: block;
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        overflow: hidden;
        z-index: 1;
        pointer-events: none;
    }
    .particle {
        position: absolute;
        background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, rgba(78, 205, 196, 0.2) 50%, transparent 70%);
        border-radius: 50%;
        animation: subtle-float-up 20s infinite linear;
    }
    @keyframes subtle-float-up {
        0% { transform: translateY(100vh) translateX(0px) rotate(0deg); opacity: 0; }
        10% { opacity: 0.6; }
        90% { opacity: 0.6; }
        100% { transform: translateY(-50px) translateX(10px) rotate(180deg); opacity: 0; }
    }
    .particle:nth-child(1) { left: 15%; width: 2px; height: 2px; animation-delay: 0s; animation-duration: 25s; }
    .particle:nth-child(2) { left: 25%; width: 1px; height: 1px; animation-delay: 5s; animation-duration: 30s; }
    .particle:nth-child(3) { left: 35%; width: 2px; height: 2px; animation-delay: 10s; animation-duration: 28s; }
    .particle:nth-child(4) { left: 45%; width: 1px; height: 1px; animation-delay: 3s; animation-duration: 24s; }
    .particle:nth-child(5) { left: 55%; width: 2px; height: 2px; animation-delay: 8s; animation-duration: 26s; }
    .particle:nth-child(6) { left: 65%; width: 1px; height: 1px; animation-delay: 12s; animation-duration: 22s; }
    .particle:nth-child(7) { left: 75%; width: 2px; height: 2px; animation-delay: 6s; animation-duration: 32s; }
    .particle:nth-child(8) { left: 85%; width: 1px; height: 1px; animation-delay: 15s; animation-duration: 27s; }

    /* Desktop Content Area */
    .blog-content {
        max-width: 850px;
        padding: 60px 20px;
    }

    .blog-content .entry-content > * { margin-bottom: 1.8rem; }
    .blog-content .entry-content > h1, .blog-content .entry-content > h2, .blog-content .entry-content > h3, .blog-content .entry-content > h4, .blog-content .entry-content > h5, .blog-content .entry-content > h6 {
        margin-top: 3rem;
        margin-bottom: 1.5rem;
    }

    /* Desktop Typography */
    .blog-content .entry-content > p:first-of-type {
        font-size: 1.6rem; /* Increased from 2.5rem */
        color: #333;
        font-weight: 500;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
    .blog-content .entry-content > p:first-of-type::first-letter {
        float: left;
        font-size: 4rem;
        line-height: 3.5rem;
        margin: 0.5rem 0.8rem 0 0;
        color: #4ecdc4;
        font-weight: 700;
    }
    .blog-content h1 { font-size: 3.6rem; background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; border-bottom: 3px solid #4ecdc4; padding-bottom: 1rem; }
    .blog-content h2 { font-size: 3rem; color: #0a1628; border-left: 4px solid #ff6b6b; padding-left: 1.5rem; }
    .blog-content h3 { font-size: 2.6rem; color: #1e3a5f; position: relative; }
    .blog-content h3::before { content: ''; position: absolute; left: 0; bottom: -5px; width: 50px; height: 2px; background: linear-gradient(90deg, #ffd700, #ff6b6b); border-radius: 1px; }
    .blog-content p { font-size: 1.4rem; /* Reduced from 2.3rem */ line-height: 1.8; }
    .blog-content p:first-of-type { font-size: 2.5rem; /* Doubled from 1.25rem */ color: #333; font-weight: 500; }
    .blog-content a { text-decoration: none; position: relative; }
    .blog-content a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #4ecdc4, #ff6b6b); transition: width 0.3s ease; }
    .blog-content a:hover { color: #ff6b6b; text-decoration: none; }
    .blog-content a:hover::after { width: 100%; }
    .blog-content li { font-size: 1.4rem; /* Reduced from 2.2rem */ }
    .blog-content ul li::marker { color: #4ecdc4; }
    .blog-content ol li::marker { color: #ff6b6b; font-weight: 700; }

    /* Desktop Blockquote */
    .blog-content blockquote, .blog-content .wp-block-quote {
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-left: 5px solid #4ecdc4;
        padding: 2rem;
        margin: 3rem 0;
        border-radius: 10px;
        font-size: 1.2rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }
    .blog-content blockquote::before { content: '"'; position: absolute; top: -20px; left: 20px; font-size: 4rem; color: #4ecdc4; opacity: 0.3; font-family: Georgia, serif; }
    .blog-content .wp-block-quote p { font-size: 1.4rem; /* Reduced from 2.4rem */ }

    /* Desktop Image */
    .blog-content img { border-radius: 15px; margin: 2.5rem 0; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .blog-content img:hover { transform: translateY(-5px); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); }

    /* Desktop Code Blocks */
    .blog-content pre { background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%); padding: 2rem; border-radius: 15px; font-size: 0.9rem; margin: 2.5rem 0; border: 1px solid rgba(255, 255, 255, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }
    .blog-content code { padding: 4px 8px; border-radius: 6px; font-weight: 600; }

    /* Desktop Tables */
    .blog-content table { border-collapse: separate; border-spacing: 0; margin: 3rem 0; border-radius: 15px; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); display: table; }
    .blog-content th { background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%); color: white; padding: 1.5rem; font-size: 1.4rem; /* Reduced from 2rem */ }
    .blog-content td { background: #ffffff; padding: 1.25rem 1.5rem; border-bottom: 1px solid #e9ecef; font-size: 1.4rem; /* Reduced from 2rem */ }
    .blog-content tr:nth-child(even) td { background: #f8f9fa; }
    .blog-content tr:hover td { background: rgba(78, 205, 196, 0.05); }

    /* Desktop Social Sharing */
    .social-sharing {
        margin: 4rem 0;
        padding: 3rem;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(78, 205, 196, 0.1) 25%, rgba(255, 107, 107, 0.1) 50%, rgba(255, 215, 0, 0.1) 75%, rgba(78, 205, 196, 0.1) 100%);
        border-radius: 25px;
        backdrop-filter: blur(25px);
        border: 2px solid rgba(255, 255, 255, 0.25);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
        position: relative;
    }
    .social-sharing::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%); animation: rotate-glow 20s linear infinite; }
    @keyframes rotate-glow { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    .social-sharing h4 { font-size: 1.6rem; /* Reduced from 2.8rem */ margin-bottom: 2rem; text-transform: uppercase; letter-spacing: 2px; }
    .social-buttons { flex-direction: row; justify-content: center; gap: 1.5rem; }
    .social-btn { padding: 15px 30px; font-size: 1.4rem; /* Reduced from 2rem */ min-width: 140px; position: relative; text-transform: uppercase; letter-spacing: 1px; }
    .social-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transition: left 0.8s ease; }
    .social-btn:hover { transform: translateY(-5px) scale(1.05); color: white; text-decoration: none; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }
    .social-btn:hover::before { left: 100%; }
    .social-btn.twitter { box-shadow: 0 10px 25px rgba(29, 161, 242, 0.3); }
    .social-btn.linkedin { box-shadow: 0 10px 25px rgba(0, 119, 181, 0.3); }
    .social-btn.facebook { box-shadow: 0 10px 25px rgba(24, 119, 242, 0.3); }
    .social-btn.copy { box-shadow: 0 10px 25px rgba(108, 117, 125, 0.3); }

    /* WordPress Content on Desktop */
    .blog-content .alignleft { float: left; margin: 0 2rem 1.5rem 0; max-width: 300px; }
    .blog-content .alignright { float: right; margin: 0 0 1.5rem 2rem; max-width: 300px; }
    .blog-content .alignwide { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
    .blog-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
    .blog-content .wp-block-button .wp-block-button__link { background: linear-gradient(135deg, #4ecdc4 0%, #45b7d1 100%); color: white; padding: 15px 30px; border-radius: 25px; text-decoration: none; font-weight: 700; display: inline-block; transition: all 0.3s ease; border: none; }
    .blog-content .wp-block-button .wp-block-button__link:hover { background: linear-gradient(135deg, #45b7d1 0%, #4ecdc4 100%); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3); }
    .blog-content .wp-block-separator { border: none; border-top: 2px solid #e9ecef; margin: 3rem auto; width: 100px; }
    .blog-content .wp-block-separator.is-style-wide { width: 100%; }
    .blog-content .wp-block-separator.is-style-dots::before { content: '···'; color: #4ecdc4; font-size: 4rem; /* Doubled from 2rem */ letter-spacing: 1rem; }
    .blog-content .wp-block-columns { flex-direction: row; gap: 2rem; }
    .blog-content .wp-block-column { flex: 1; }
    .blog-content .wp-block-cover { border-radius: 15px; overflow: hidden; margin: 2.5rem 0; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }
    
    /* WordPress Heading Blocks */
    .blog-content .wp-block-heading { margin-top: 3rem; margin-bottom: 1.5rem; }
    .blog-content .wp-block-heading h1 { font-size: 3.6rem; background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; border-bottom: 3px solid #4ecdc4; padding-bottom: 1rem; }
    .blog-content .wp-block-heading h2 { font-size: 3rem; color: #0a1628; border-left: 4px solid #ff6b6b; padding-left: 1.5rem; }
    .blog-content .wp-block-heading h3 { font-size: 2.6rem; color: #1e3a5f; position: relative; }
    .blog-content .wp-block-heading h3::before { content: ''; position: absolute; left: 0; bottom: -5px; width: 50px; height: 2px; background: linear-gradient(90deg, #ffd700, #ff6b6b); border-radius: 1px; }
    .blog-content .wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; margin: 3rem 0; }
    .blog-content .wp-block-group.has-background { padding: 2rem; border-radius: 15px; }
}

@media (min-width: 1024px) {
    /* Large desktop improvements */
    .blog-content {
        max-width: 900px;
        padding: 80px 30px;
    }
    
    .blog-content .alignwide, .blog-content .alignfull {
        width: calc(100% + 60px);
        margin-left: -30px;
    }
    
    .hero-title {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }
    
    /* Enhanced typography for large screens */
    .blog-content h1 { font-size: 4.2rem; /* Increased for better hierarchy */ }
    .blog-content h2 { font-size: 3.6rem; /* Increased for better hierarchy */ }
    .blog-content h3 { font-size: 3.2rem; /* Increased for better hierarchy */ }
    
    /* WordPress heading blocks for large screens */
    .blog-content .wp-block-heading h1 { font-size: 4.2rem; }
    .blog-content .wp-block-heading h2 { font-size: 3.6rem; }
    .blog-content .wp-block-heading h3 { font-size: 3.2rem; }
    
    /* Larger drop cap for first paragraph */
    .blog-content .entry-content > p:first-of-type::first-letter {
        font-size: 5rem;
        line-height: 4.5rem;
    }
    
    /* Enhanced social sharing */
    .social-sharing {
        padding: 4rem;
    }
}

/* ===================================================================
   Extra Large Screens (min-width: 1440px)
   =================================================================== */
@media (min-width: 1440px) {
    .blog-content {
        max-width: 1000px;
        padding: 100px 40px;
    }
    
    .blog-hero {
        padding: 150px 0 100px;
    }
    
    /* Enhance reading experience on large screens */
    .blog-content p {
        font-size: 1.5rem; /* Reduced from 2.4rem */
        line-height: 1.9;
    }

    .blog-content .entry-content > p:first-of-type {
        font-size: 1.7rem; /* Reduced from 2.8rem */
    }
    
    /* Extra large screen headings */
    .blog-content h1 { font-size: 4.5rem; }
    .blog-content h2 { font-size: 3.9rem; }
    .blog-content h3 { font-size: 3.5rem; }
    .blog-content .wp-block-heading h1 { font-size: 4.5rem; }
    .blog-content .wp-block-heading h2 { font-size: 3.9rem; }
    .blog-content .wp-block-heading h3 { font-size: 3.5rem; }
    
    /* Improved WordPress blocks for large screens */
    .blog-content .wp-block-columns {
        gap: 3rem;
    }
    
    .blog-content .wp-block-media-text {
        gap: 3rem;
    }
}
