/**
 * Custom Blocks Styles
 * 
 * Shared styles for both frontend and editor
 * Following WordPress block development best practices
 * Enhanced specificity to override theme styles
 */

/* ==========================================================================
   Font Family Variables - Proxima Nova Implementation
   ========================================================================== */

:root {
    /* Proxima Nova font family with fallbacks */
    --proxima-nova-font: "proxima-nova", "Proxima Nova", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ==========================================================================
   Theme Override Protection - High Specificity Base
   ========================================================================== */

/* Defensive reset for all custom blocks to prevent theme interference */
.wp-block-neve-child-hero,
.wp-block-neve-child-features,
.wp-block-neve-child-process-steps,
.wp-block-neve-child-call-to-action,
.wp-block-neve-child-testimonials,
.wp-block-neve-child-case-studies,
.wp-block-neve-child-logo-carousel,
.wp-block-neve-child-credentials,
.editor-styles-wrapper .wp-block-neve-child-hero,
.editor-styles-wrapper .wp-block-neve-child-features,
.editor-styles-wrapper .wp-block-neve-child-process-steps,
.editor-styles-wrapper .wp-block-neve-child-call-to-action,
.editor-styles-wrapper .wp-block-neve-child-testimonials,
.editor-styles-wrapper .wp-block-neve-child-case-studies,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel,
.editor-styles-wrapper .wp-block-neve-child-credentials {
    font-family: var(--proxima-nova-font) !important;

}

/* Reset common theme overrides for headings */
.wp-block-neve-child-hero h1, .wp-block-neve-child-hero h2, .wp-block-neve-child-hero h3,
.wp-block-neve-child-features h1, .wp-block-neve-child-features h2, .wp-block-neve-child-features h3,
.wp-block-neve-child-process-steps h1, .wp-block-neve-child-process-steps h2, .wp-block-neve-child-process-steps h3,
.wp-block-neve-child-call-to-action h1, .wp-block-neve-child-call-to-action h2, .wp-block-neve-child-call-to-action h3,
.wp-block-neve-child-testimonials h1, .wp-block-neve-child-testimonials h2, .wp-block-neve-child-testimonials h3,
.wp-block-neve-child-case-studies h1, .wp-block-neve-child-case-studies h2, .wp-block-neve-child-case-studies h3,
.wp-block-neve-child-logo-carousel h1, .wp-block-neve-child-logo-carousel h2, .wp-block-neve-child-logo-carousel h3,
.wp-block-neve-child-credentials h1, .wp-block-neve-child-credentials h2, .wp-block-neve-child-credentials h3,
.editor-styles-wrapper .wp-block-neve-child-hero h1, .editor-styles-wrapper .wp-block-neve-child-hero h2, .editor-styles-wrapper .wp-block-neve-child-hero h3,
.editor-styles-wrapper .wp-block-neve-child-features h1, .editor-styles-wrapper .wp-block-neve-child-features h2, .editor-styles-wrapper .wp-block-neve-child-features h3,
.editor-styles-wrapper .wp-block-neve-child-process-steps h1, .editor-styles-wrapper .wp-block-neve-child-process-steps h2, .editor-styles-wrapper .wp-block-neve-child-process-steps h3,
.editor-styles-wrapper .wp-block-neve-child-call-to-action h1, .editor-styles-wrapper .wp-block-neve-child-call-to-action h2, .editor-styles-wrapper .wp-block-neve-child-call-to-action h3,
.editor-styles-wrapper .wp-block-neve-child-testimonials h1, .editor-styles-wrapper .wp-block-neve-child-testimonials h2, .editor-styles-wrapper .wp-block-neve-child-testimonials h3,
.editor-styles-wrapper .wp-block-neve-child-case-studies h1, .editor-styles-wrapper .wp-block-neve-child-case-studies h2, .editor-styles-wrapper .wp-block-neve-child-case-studies h3,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel h1, .editor-styles-wrapper .wp-block-neve-child-logo-carousel h2, .editor-styles-wrapper .wp-block-neve-child-logo-carousel h3,
.editor-styles-wrapper .wp-block-neve-child-credentials h1, .editor-styles-wrapper .wp-block-neve-child-credentials h2, .editor-styles-wrapper .wp-block-neve-child-credentials h3 {
    font-family: var(--proxima-nova-font) !important;
}

/* Reset theme paragraph styles */
.wp-block-neve-child-hero p, .wp-block-neve-child-features p, .wp-block-neve-child-process-steps p, .wp-block-neve-child-call-to-action p, .wp-block-neve-child-testimonials p, .wp-block-neve-child-case-studies p, .wp-block-neve-child-logo-carousel p, .wp-block-neve-child-credentials p,
.editor-styles-wrapper .wp-block-neve-child-hero p, .editor-styles-wrapper .wp-block-neve-child-features p, .editor-styles-wrapper .wp-block-neve-child-process-steps p, .editor-styles-wrapper .wp-block-neve-child-call-to-action p, .editor-styles-wrapper .wp-block-neve-child-testimonials p, .editor-styles-wrapper .wp-block-neve-child-case-studies p, .editor-styles-wrapper .wp-block-neve-child-logo-carousel p, .editor-styles-wrapper .wp-block-neve-child-credentials p {
    font-family: var(--proxima-nova-font) !important;

}

/* Reset theme button styles */
.wp-block-neve-child-hero button, .wp-block-neve-child-hero a[class*="button"],
.wp-block-neve-child-features button, .wp-block-neve-child-features a[class*="button"],
.wp-block-neve-child-process-steps button, .wp-block-neve-child-process-steps a[class*="button"],
.wp-block-neve-child-call-to-action button, .wp-block-neve-child-call-to-action a[class*="button"],
.wp-block-neve-child-testimonials button, .wp-block-neve-child-testimonials a[class*="button"],
.wp-block-neve-child-case-studies button, .wp-block-neve-child-case-studies a[class*="button"],
.wp-block-neve-child-logo-carousel button, .wp-block-neve-child-logo-carousel a[class*="button"],
.wp-block-neve-child-credentials button, .wp-block-neve-child-credentials a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-hero button, .editor-styles-wrapper .wp-block-neve-child-hero a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-features button, .editor-styles-wrapper .wp-block-neve-child-features a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-process-steps button, .editor-styles-wrapper .wp-block-neve-child-process-steps a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-call-to-action button, .editor-styles-wrapper .wp-block-neve-child-call-to-action a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-testimonials button, .editor-styles-wrapper .wp-block-neve-child-testimonials a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-case-studies button, .editor-styles-wrapper .wp-block-neve-child-case-studies a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-logo-carousel button, .editor-styles-wrapper .wp-block-neve-child-logo-carousel a[class*="button"],
.editor-styles-wrapper .wp-block-neve-child-credentials button, .editor-styles-wrapper .wp-block-neve-child-credentials a[class*="button"] {
    font-family: var(--proxima-nova-font) !important;

}



/* ==========================================================================
   Base Block Styles (Mobile First) - Enhanced Specificity
   ========================================================================== */

.wp-block-neve-child-hero,
.editor-styles-wrapper .wp-block-neve-child-hero {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0px !important;
    box-sizing: border-box !important;
    
    /* CSS Custom Properties for Dynamic Colors */
    --hero-bg-color: #fbf0e6;
    --hero-heading-color: #303030;
    --hero-description-color: #666666;
    --hero-support-text-color: #888888;
    --hero-button-bg-color: #ffc796;
    --hero-button-text-color: #000000;
    --hero-button-hover-bg-color: #ffb366;
    --hero-button-hover-text-color: #000000;
}

.wp-block-neve-child-hero .neve-hero-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
    background: transparent;
    position: relative;
}

.wp-block-neve-child-hero .neve-hero-container {
    width: 100%;
    background-color: rgb(251, 240, 230); /* Exact Figma: r: 0.9846, g: 0.9409, b: 0.9027 */
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
    min-height: 400px;
}

.wp-block-neve-child-hero .neve-hero-content {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.wp-block-neve-child-hero .neve-hero-logo {
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
    background: transparent;
}

.wp-block-neve-child-hero .neve-hero-logo img,
.wp-block-neve-child-hero .neve-hero-logo svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-width: none;
    max-height: none;
}

.wp-block-neve-child-hero .neve-hero-heading,
.editor-styles-wrapper .wp-block-neve-child-hero .neve-hero-heading {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: rgb(48, 48, 48) !important; /* Keep !important for theme override */
    margin: 0;
    text-align: center;
    word-wrap: break-word;
}

.wp-block-neve-child-hero .neve-hero-description,
.editor-styles-wrapper .wp-block-neve-child-hero .neve-hero-description {
    font-size: 16px;
    line-height: 1.5;
    color: rgb(0, 0, 0) !important; /* Keep !important for theme override */
    margin: 0;
    text-align: center;
    word-wrap: break-word;
}

.wp-block-neve-child-hero .neve-hero-cta {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* Hero Button - Simplified with minimal !important */
[id*="neve-hero"] .neve-hero-button,
[id*="neve-hero"] a.neve-hero-button,
.wp-block-neve-child-hero .neve-hero-button,
.wp-block-neve-child-hero .neve-hero-cta .neve-hero-button,
.editor-styles-wrapper .wp-block-neve-child-hero .neve-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background-color: rgb(255, 199, 150) !important; /* Keep !important for theme override */
    color: rgb(74, 68, 89) !important; /* Keep !important for theme override */
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
    height: 48px;
    box-sizing: border-box;
    line-height: 1;
}

/* Hero Button Hover - Simplified */
[id*="neve-hero"] .neve-hero-button:hover,
[id*="neve-hero"] a.neve-hero-button:hover,
.wp-block-neve-child-hero .neve-hero-button:hover,
.wp-block-neve-child-hero .neve-hero-cta .neve-hero-button:hover,
.editor-styles-wrapper .wp-block-neve-child-hero .neve-hero-button:hover {
    background-color: rgb(255, 180, 114) !important; /* Keep !important for theme override */
    color: rgb(74, 68, 89) !important; /* Keep !important for theme override */
    border-radius: 100px;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 180, 114, 0.25);
}

/* Hero Button Focus - Simplified */
.wp-block-neve-child-hero .neve-hero-button:focus,
.wp-block-neve-child-hero a.neve-hero-button:focus,
.editor-styles-wrapper .wp-block-neve-child-hero .neve-hero-button:focus,
[id*="neve-hero"] .neve-hero-button:focus {
    outline: 2px solid rgb(74, 68, 89);
    outline-offset: 2px;
}

/* Simplified ID-based override - only essential properties */
[id^="neve-hero"] .neve-hero-button,
[id*="neve-hero-"] .neve-hero-button,
div[id*="neve-hero"] .neve-hero-button {
    background-color: rgb(255, 199, 150) !important; /* Only color overrides need !important */
    color: rgb(74, 68, 89) !important;
}

[id^="neve-hero"] .neve-hero-button:hover,
[id*="neve-hero-"] .neve-hero-button:hover,
div[id*="neve-hero"] .neve-hero-button:hover {
    background-color: rgb(255, 180, 114) !important; /* Only color overrides need !important */
    color: rgb(74, 68, 89) !important;
}

.wp-block-neve-child-hero .neve-hero-button-icon,
.editor-styles-wrapper .wp-block-neve-child-hero .neve-hero-button-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: rgb(74, 68, 89) !important; /* Keep !important for theme override */
}

.wp-block-neve-child-hero .neve-hero-support {
    font-size: 14px;
    color: rgb(117, 117, 117); /* Exact Figma: r: 0.4588, g: 0.4588, b: 0.4588 */
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* ==========================================================================
   Tablet Styles (768px and up)
   ========================================================================== */

@media (min-width: 768px) {
    .wp-block-neve-child-hero {
        padding: 40px;
    }

    .wp-block-neve-child-hero .neve-hero-block {
        padding: 32px 40px;
    }

    .wp-block-neve-child-hero .neve-hero-container {
        border-radius: 24px;
        padding: 40px;
        gap: 40px;
        min-height: 500px;
    }

    .wp-block-neve-child-hero .neve-hero-content {
        max-width: 600px;
        gap: 20px;
    }

    .wp-block-neve-child-hero .neve-hero-logo {
        width: 100px;
        height: 100px;
    }

    .wp-block-neve-child-hero .neve-hero-heading {
        font-size: 42px;
        line-height: 1.25;
    }

    .wp-block-neve-child-hero .neve-hero-description {
        font-size: 18px;
        line-height: 1.56;
    }

    /* Tablet Button Styles - Simplified */
    [id*="neve-hero"] .neve-hero-button,
    [id*="neve-hero"] a.neve-hero-button,
    .wp-block-neve-child-hero .neve-hero-button {
        font-size: 16px;
        padding: 16px 24px; /* Consistent with Figma internal layout */
        min-width: 140px;
        height: 56px;
        border-radius: 100px; /* Maintain fully rounded corners */
        background-color: rgb(255, 199, 150) !important; /* Only !important for theme override */
        color: rgb(74, 68, 89) !important; /* Only !important for theme override */
    }

    .wp-block-neve-child-hero .neve-hero-button-icon {
        width: 18px;
        height: 18px;
        color: rgb(74, 68, 89) !important; /* Keep !important for theme override */
    }

    .wp-block-neve-child-hero .neve-hero-support {
        font-size: 16px;
    }
}

/* ==========================================================================
   Desktop Styles (1024px and up)
   ========================================================================== */

@media (min-width: 1024px) {
    .wp-block-neve-child-hero {
        padding: 48px;
    }

    .wp-block-neve-child-hero .neve-hero-block {
        padding: 48px 80px;
    }

    .wp-block-neve-child-hero .neve-hero-container {
        border-radius: 32px;
        padding: 48px 80px;
        gap: 48px;
        min-height: 600px;
    }

    .wp-block-neve-child-hero .neve-hero-content {
        max-width: 800px;
        gap: 24px;
    }

    .wp-block-neve-child-hero .neve-hero-logo {
        width: 120px;
        height: 120px;
    }

    .wp-block-neve-child-hero .neve-hero-heading {
        font-size: 52px;
    }

    .wp-block-neve-child-hero .neve-hero-description {
        font-size: 18px;
    }
}

/* ==========================================================================
   Large Desktop Styles (1440px and up) - Exact Figma Match
   ========================================================================== */

@media (min-width: 1440px) {
    .wp-block-neve-child-hero .neve-hero-block {
        /* Frame 4: 1440x764, positioned at x:0, y:80 */
        width: 1440px;
        height: 764px;
        padding: 0;
        margin: 0 auto;
        position: relative;
    }

    .wp-block-neve-child-hero .neve-hero-container {
        /* Frame 17: 1200x636, positioned at x:120, y:48 relative to Frame 4 */
        width: 1200px;
        height: 636px;
        position: absolute;
        left: 120px; /* Exact Figma x:120 */
        top: 48px;   /* Exact Figma y:48 */
        padding: 0;
        /* Container for absolutely positioned children */
        display: block;
    }

    .wp-block-neve-child-hero .neve-hero-content {
        /* Frame 5: 900x336, positioned at x:150, y:80 (relative to Frame 17) */
        width: 900px;
        height: 336px;
        position: absolute;
        left: 150px; /* Exact Figma x:150 relative to Frame 17 */
        top: 80px;   /* Exact Figma y:80 relative to Frame 17 */
        /* Vertical layout with 10px itemSpacing */
        display: block; /* Change from flex to allow absolute positioning */
        flex-shrink: 0;
    }

    .wp-block-neve-child-hero .neve-hero-logo {
        /* Badge: 120x120, positioned at x:390, y:0 relative to Frame 5 */
        width: 120px;
        height: 120px;
        position: absolute;
        left: 390px; /* Exact Figma position x:390 */
        top: 0; /* Exact Figma position y:0 */
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 20;
        background: transparent;
        /* Debug: uncomment to see positioning 
        border: 2px solid red;
        background: rgba(255, 0, 0, 0.1);
        */
    }

    .wp-block-neve-child-hero .neve-hero-heading {
        /* Heading text: 900x140, positioned at x:0, y:130 relative to Frame 5 */
        width: 900px;
        height: 140px;
        font-size: 56px;
        line-height: 1.25;
        color: rgb(48, 48, 48); /* Exact Figma: r: 0.1887, g: 0.1887, b: 0.1887 */
        margin: 0;
        position: absolute;
        left: 0; /* Exact Figma position x:0 */
        top: 130px; /* Exact Figma position y:130 */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .wp-block-neve-child-hero .neve-hero-description {
        /* Description text: 900x56, positioned at x:0, y:280 relative to Frame 5 */
        width: 900px;
        height: 56px;
        margin: 0;
        position: absolute;
        left: 0; /* Exact Figma position x:0 */
        top: 280px; /* Exact Figma position y:280 */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        font-weight: 400;
        font-size: 22px;
        line-height: 1.27; /* 127% */
        color: #000;
    }

    .wp-block-neve-child-hero .neve-hero-cta {
        /* Frame 36: 1040x92, positioned at x:80, y:464 relative to Frame 17 */
        width: 1040px;
        height: 92px;
        position: absolute;
        left: 80px;  /* Exact Figma x:80 relative to Frame 17 */
        top: 464px;  /* Exact Figma y:464 relative to Frame 17 */
        /* Vertical layout with 8px gap between button and support text */
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }

    /* Large Desktop Button Styles - Simplified */
    [id*="neve-hero"] .neve-hero-button,
    [id*="neve-hero"] a.neve-hero-button,
    .wp-block-neve-child-hero .neve-hero-button,
    .wp-block-neve-child-hero .neve-hero-cta .neve-hero-button {
        /* Button: 145x56, positioned at x:447.5 relative to Frame 36 (centered) */
        width: 145px;
        height: 56px;
        font-size: 16px;
        padding: 16px 24px; /* Exact Figma internal layout */
        border-radius: 100px; /* Exact Figma cornerRadius: 100 */
        margin: 0; /* Center in 1040px: (1040-145)/2 = 447.5px */
        min-width: 145px; /* Override responsive min-width */
        background-color: rgb(255, 199, 150) !important; /* Only !important for theme override */
        color: rgb(74, 68, 89) !important; /* Only !important for theme override */
    }

    .wp-block-neve-child-hero .neve-hero-button-icon {
        /* Icon: 16x16 inside 24x24 container, positioned at x:24, y:16 relative to button */
        width: 16px;
        height: 16px;
        color: rgb(74, 68, 89) !important; /* Keep !important for theme override */
    }

    .wp-block-neve-child-hero .neve-hero-support {
        /* Support text: 1040x28, positioned at y:64 relative to Frame 36 */
        width: 1040px;
        height: 28px;
        font-size: 16px;
        line-height: 1.75; /* 28px / 16px = 1.75 for exact height match */
        color: rgb(117, 117, 117); /* Exact Figma: r:0.4588, g:0.4588, b:0.4588 */
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

/* ==========================================================================
   Editor Specific Styles
   ========================================================================== */

.editor-styles-wrapper .wp-block-neve-child-hero {
    margin: 20px 0;
}

.editor-styles-wrapper .wp-block-neve-child-hero .neve-hero-block {
    max-width: none;
}

/* Rich text placeholders */
.wp-block-neve-child-hero .rich-text__placeholder {
    color: rgba(117, 117, 117, 0.6);
    font-style: italic;
}

/* Focus states for rich text editing */
.wp-block-neve-child-hero .is-selected .neve-hero-heading,
.wp-block-neve-child-hero .is-selected .neve-hero-description {
    outline: 1px dashed #007cba;
    outline-offset: 2px;
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .wp-block-neve-child-hero .neve-hero-button {
        background: #f0f0f0 !important;
        color: #333 !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-container {
        background: #f9f9f9 !important;
        border: 1px solid #ddd;
    }
}

/* ==========================================================================
   Hero Block - Responsive Styles
   ========================================================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .wp-block-neve-child-hero .neve-hero-block {
        padding: 60px 40px !important;
        min-height: 500px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-heading {
        font-size: 48px !important;
        line-height: 1.1 !important;
        width: 100% !important;
        max-width: 800px !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin-bottom: 24px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-description {
        font-size: 20px !important;
        line-height: 1.3 !important;
        width: 100% !important;
        max-width: 700px !important;
        position: relative !important;
        left: auto !important;
        top: auto !important;
        margin-bottom: 32px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-cta {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .wp-block-neve-child-hero .neve-hero-block {
        padding: 40px 20px !important;
        min-height: 400px !important;
        text-align: center !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-heading {
        font-size: 36px !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-description {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 28px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-button {
        width: auto !important;
        min-width: 145px !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .wp-block-neve-child-hero .neve-hero-block {
        padding: 32px 16px !important;
        min-height: 350px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-heading {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 16px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-description {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 24px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-button {
        padding: 12px 20px !important;
        font-size: 14px !important;
        min-width: 120px !important;
    }
    
    .wp-block-neve-child-hero .neve-hero-support-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
    }
}

/* ==========================================================================
   Features Block
   ========================================================================== */

.wp-block-neve-child-features {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.wp-block-neve-child-features .neve-features-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
    background: transparent;
    position: relative;
}

.wp-block-neve-child-features .neve-features-container {
    width: 100%;
    background: transparent;
    border-radius: 16px;
    padding: 32px 24px;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.wp-block-neve-child-features .neve-features-header {
    width: 100%;
    text-align: center;
}

.wp-block-neve-child-features .neve-features-title {
    font-family: var(--proxima-nova-font);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3 !important;
    color: rgb(48, 48, 48) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    max-width: 900px;
    margin: 0 auto !important;
}

.wp-block-neve-child-features .neve-features-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
}

/* Column-specific layouts for mobile */
.wp-block-neve-child-features .neve-features-cards.neve-features-columns-1 {
    grid-template-columns: 1fr;
}

.wp-block-neve-child-features .neve-features-cards.neve-features-columns-2,
.wp-block-neve-child-features .neve-features-cards.neve-features-columns-3,
.wp-block-neve-child-features .neve-features-cards.neve-features-columns-4,
.wp-block-neve-child-features .neve-features-cards.neve-features-columns-5,
.wp-block-neve-child-features .neve-features-cards.neve-features-columns-6 {
    grid-template-columns: 1fr; /* All start as single column on mobile */
}

.wp-block-neve-child-features .neve-features-card {
    background-color: rgb(245, 245, 245) !important; /* Exact Figma: r:0.9608, g:0.9608, b:0.9608 */
    border-radius: 16px !important;
    padding: 24px !important;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.wp-block-neve-child-features .neve-features-icon {
    width: 48px !important;
    height: 48px !important;
    position: relative;
    flex-shrink: 0;
}

.wp-block-neve-child-features .neve-features-icon img,
.wp-block-neve-child-features .neve-features-icon svg {
    width: 48px !important;
    height: 48px !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain !important;
}

.wp-block-neve-child-features .neve-features-card-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: rgb(48, 48, 48);
    margin: 0 0 8px 0;
    padding: 0;
    width: 100%;
    max-width: 100%; /* Fit to column size */
}

.wp-block-neve-child-features .neve-features-card-content {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(48, 48, 48);
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .wp-block-neve-child-features .neve-features-block {
        padding: 32px 40px;
    }
    
    .wp-block-neve-child-features .neve-features-container {
        padding: 40px 32px;
        gap: 40px;
    }
    
    
    .wp-block-neve-child-features .neve-features-cards {
        gap: 20px;
    }
    
    /* Tablet column configurations */
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-1 {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-3 {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet, 3rd wraps */
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-4,
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-5,
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-6 {
        grid-template-columns: repeat(2, 1fr); /* Max 2 columns on tablet */
    }
    
    .wp-block-neve-child-features .neve-features-card {
        flex: 1;
        padding: 28px !important;
        border-radius: 20px !important;
    }
    
    .wp-block-neve-child-features .neve-features-card-title {
        font-size: 19px;
    }
    
    .wp-block-neve-child-features .neve-features-card-content {
        font-size: 17px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .wp-block-neve-child-features .neve-features-block {
        padding: 48px 60px;
    }
    
    .wp-block-neve-child-features .neve-features-container {
        padding: 48px 40px;
        gap: 40px;
    }
    
    
    .wp-block-neve-child-features .neve-features-cards {
        gap: 24px;
    }
    
    /* Desktop column configurations */
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-1 {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-4 {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-5 {
        grid-template-columns: repeat(3, 1fr); /* Max 3 on smaller desktop, 5th wraps */
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-6 {
        grid-template-columns: repeat(3, 1fr); /* Max 3 on smaller desktop, others wrap */
    }
    
    .wp-block-neve-child-features .neve-features-card {
        padding: 32px !important;
        border-radius: 24px !important;
    }
    
    .wp-block-neve-child-features .neve-features-card-title {
        font-size: 20px;
    }
    
    .wp-block-neve-child-features .neve-features-card-content {
        font-size: 18px;
    }
}

/* ==========================================================================
   Features Block - Large Desktop Styles (1440px and up) - Exact Figma Match
   ========================================================================== */

@media (min-width: 1440px) {
    .wp-block-neve-child-features .neve-features-block {
        /* Frame 24 Outer: Default height for large cards */
        width: 1440px;
        height: 628px; /* Large cards: 120px + 80px + 308px + 120px */
        padding: 0;
        margin: 0 auto;
        position: relative;
    }

    /* Small card height layout */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small {
        height: 600px; /* Small cards: 120px + 80px + 240px + 160px */
    }

    /* Small card height with no title */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small:not(:has(.neve-features-header)) {
        height: 480px; /* Small cards no title: 120px + 240px + 120px */
    }

    .wp-block-neve-child-features .neve-features-container {
        /* Frame 24 Inner: Default large cards with title */
        width: 1200px;
        height: 388px; /* Large cards with title: 80px + 308px (40px spacing from Figma) */
        position: absolute;
        left: 120px; /* Exact Figma x:120 */
        top: 120px;  /* Exact Figma y:120 */
        padding: 0;
        border-radius: 32px; /* Exact Figma border radius */
        background: transparent;
        /* Container for absolutely positioned children with 40px itemSpacing */
        display: block;
    }

    /* Small cards with title */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small .neve-features-container {
        height: 360px; /* Small cards with title: 80px + 240px + 40px spacing */
    }

    /* Large cards no title */
    .wp-block-neve-child-features .neve-features-block:not(:has(.neve-features-header)) .neve-features-container {
        height: 308px; /* Large cards no title: just card height */
    }

    /* Small cards no title */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small:not(:has(.neve-features-header)) .neve-features-container {
        height: 240px; /* Small cards no title: just card height */
    }

    .wp-block-neve-child-features .neve-features-header {
        /* Frame 25: 1200x80, positioned at x:0, y:0 relative to inner container */
        width: 1200px;
        height: 80px;
        position: absolute;
        left: 0px;   /* Exact Figma x:0 */
        top: 0px;    /* Exact Figma y:0 */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wp-block-neve-child-features .neve-features-title {
        /* Title: 900x80, positioned at x:150, y:0 relative to Frame 25 */
        font-weight: 600;
        font-size: 32px;
        line-height: 125%;
        text-align: center;
        color: #303030;
        width: 900px;
        height: 80px;
        text-align: center !important;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 !important;
        padding: 0 !important;
        position: absolute;
        left: 150px; /* Exact Figma x:150 relative to Frame 25 */
        top: 0px;    /* Exact Figma y:0 */
    }

    .wp-block-neve-child-features .neve-features-cards {
        /* Frame 22 → Frame 51: Default large cards with title */
        width: 1200px;
        min-height: 308px; /* Large cards: match card height */
        position: absolute;
        left: 0px;   /* Exact Figma x:0 */
        top: 120px;  /* Exact Figma y:120 - when header is present */
        /* Grid layout with 24px gap for dynamic-width cards */
        display: grid;
        gap: 24px;   /* Exact Figma itemSpacing */
        justify-content: center; /* Center the grid when cards don't fill full width */
    }

    /* Small cards */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small .neve-features-cards {
        min-height: 240px; /* Small cards: match card height */
    }

    /* No title layout - move cards to top */
    .wp-block-neve-child-features .neve-features-block:not(:has(.neve-features-header)) .neve-features-cards {
        top: 0px; /* Move to top when no header */
    }
    
    /* Large desktop column configurations - dynamic sizing for all layouts */
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-1 {
        grid-template-columns: 1fr; /* Single flexible card */
        max-width: 600px;
        left: calc(50% - 300px); /* Center single column */
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-2 {
        grid-template-columns: repeat(2, 1fr); /* Two flexible cards */
        max-width: 1200px;
        left: 0px;
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-3 {
        grid-template-columns: repeat(3, 1fr); /* Three flexible cards */
        max-width: 1200px;
        left: 0px;
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-4 {
        grid-template-columns: repeat(4, 1fr); /* Four flexible cards */
        max-width: 1200px;
        left: 0px;
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-5 {
        grid-template-columns: repeat(5, 1fr); /* Five flexible cards */
        max-width: 1200px;
        left: 0px;
    }
    
    .wp-block-neve-child-features .neve-features-cards.neve-features-columns-6 {
        grid-template-columns: repeat(6, 1fr); /* Six flexible cards */
        max-width: 1200px;
        left: 0px;
    }



    .wp-block-neve-child-features .neve-features-card {
        /* Dynamic card sizing - flexible width to fill grid columns */
        width: 100% !important; /* Flexible width to fit container */
        min-width: 250px !important; /* Minimum width for readability */
        height: 308px !important; /* Default: Large cards */
        background-color: rgb(245, 245, 245) !important; /* Exact Figma color */
        border-radius: 24px !important; /* Exact Figma border radius */
        padding: 0 !important;
        position: relative;
        /* Remove flex layout to use absolute positioning like Figma */
        display: block;
        box-sizing: border-box;
    }
    
    /* Small card height */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small .neve-features-card {
        height: 240px !important; /* Small cards: 240px height */
        min-height: 240px !important;
    }


    .wp-block-neve-child-features .neve-features-icon {
        /* Icon: 48x48, positioned at x:24, y:32 relative to card */
        width: 48px !important;
        height: 48px !important;
        position: absolute;
        left: 24px;  /* Exact Figma x:24 */
        top: 32px;   /* Exact Figma y:32 */
    }

    .wp-block-neve-child-features .neve-features-card-title {
        /* Dynamic title sizing - responsive to card width */
        width: calc(100% - 48px) !important; /* Full width minus left/right padding (24px each side) */
        min-height: 36px !important; /* Minimum height for large cards */
        position: absolute;
        left: 24px;  /* Exact Figma x:24 */
        top: 88px;   /* Exact Figma y:88 */
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 164% !important;
        color: #303030 !important;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        align-items: flex-start; /* Allow text to wrap naturally */
        flex-wrap: wrap;
    }

    /* Small cards - more space for title text */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small .neve-features-card-title {
        min-height: 72px !important; /* More space for text in small cards */
    }

    .wp-block-neve-child-features .neve-features-card-content {
        /* Dynamic content sizing - responsive to card width */
        width: calc(100% - 48px) !important; /* Full width minus left/right padding (24px each side) */
        max-height: 144px !important; /* Maximum height for large cards */
        position: absolute;
        left: 24px;  /* Exact Figma x:24 */
        top: 132px;  /* Exact Figma y:132 for large cards */
        font-weight: 400;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        overflow: hidden; /* Handle long text within the max height */
        text-overflow: ellipsis;
        font-weight: 400;
        font-size: 22px;
line-height: 164%;
color: #303030 !important;
    }

    /* Small cards - adjust content positioning */
    .wp-block-neve-child-features .neve-features-block.neve-features-height-small .neve-features-card-content {
        font-weight: 400;
        font-size: 22px;
        line-height: 164%;
        color: #303030;
        top: 80px !important;
        margin-top: 8px;

    }


}

/* ==========================================================================
   Features Block - Editor/Backend Styles
   ========================================================================== */

/* Editor wrapper styles */
.editor-styles-wrapper .wp-block-neve-child-features {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.editor-styles-wrapper .wp-block-neve-child-features {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    text-align: center;
    position: relative;
}

.editor-styles-wrapper .wp-block-neve-child-features::before {
    content: "Features Block";
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
        margin: 0;
}

/* Hide all child elements in editor */
.editor-styles-wrapper .wp-block-neve-child-features > * {
    display: none !important;
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-container {
    width: 100%;
    background: transparent;
    border-radius: 0;
        padding: 0;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-header {
    width: 100%;
    text-align: center;
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-title {
    font-family: var(--proxima-nova-font);
    font-size: 57px;
    font-weight: 700;
    line-height: 112%;
    color: #1E1E1E;
        margin: 0;
        padding: 0;
    }

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-cards {
    display: grid;
    gap: 32px;
    width: 100%;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Dynamic column layouts for editor */
.editor-styles-wrapper .wp-block-neve-child-features .neve-features-cards.neve-features-columns-1 {
    grid-template-columns: repeat(1, 1fr);
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-cards.neve-features-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-cards.neve-features-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-cards.neve-features-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-card {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 120px;
    height: auto;
    box-sizing: border-box;
    position: relative;
}

/* Small height cards in editor */
.editor-styles-wrapper .wp-block-neve-child-features .neve-features-block.neve-features-height-small .neve-features-card {
    height: auto;
    min-height: 100px;
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-card-title {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #333 !important;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    display: block;
}

.editor-styles-wrapper .wp-block-neve-child-features .neve-features-card-content {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: #666 !important;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
    top: auto;
    left: auto;
    max-height: none;
    overflow: visible;
}

/* ==========================================================================
   Features Block - Responsive Styles
   ========================================================================== */

/* Mobile (768px and below) - Center align text */
@media (max-width: 768px) {
    .neve-features-title {
        text-align: center !important;
    }
    
    .neve-features-card {
        text-align: center !important;
    }
    
    .neve-features-card-title {
        text-align: center !important;
    }
    
    .neve-features-card-content {
        text-align: center !important;
    }
    
    .neve-features-icon {
        margin: 0 auto !important;
    }
    
    .neve-features-cards {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .neve-features-block {
        padding: 40px 16px !important;
    }
    
    .neve-features-title {
        font-size: 32px !important;
        line-height: 1.2 !important;
        margin-bottom: 24px !important;
    }
    
    .neve-features-card {
        padding: 20px !important;
        min-height: 200px !important;
    }
    
    .neve-features-card-title {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
    
    .neve-features-card-content {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

/* ==========================================================================
   Process Steps Block Styles
   ========================================================================== */

.wp-block-neve-child-process-steps {
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.wp-block-neve-child-process-steps .neve-process-steps-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.wp-block-neve-child-process-steps .neve-process-steps-container {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* Header */
.wp-block-neve-child-process-steps .neve-process-steps-header {
    text-align: center;
    margin: 0; /* Remove all margins */
}

.wp-block-neve-child-process-steps .neve-process-steps-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2 !important;
    color: rgb(48, 48, 48) !important;
    margin: 0 !important; /* Remove all margins */
    padding: 0 !important;
}

.wp-block-neve-child-process-steps .neve-process-steps-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(117, 117, 117) !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Decorative Line Separator */
.wp-block-neve-child-process-steps .neve-process-steps-separator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0; /* Remove all margins */
    width: 100%;
    height: 184px; /* Force container height to match SVG */
    overflow: hidden; /* Prevent any overflow issues */
}

.wp-block-neve-child-process-steps .neve-process-steps-line {
    width: 100%;
    max-width: 1440px;
    height: 184px !important; /* Force exact height: 120px line + 32px top + 32px bottom spacing */
    min-height: 184px !important;
    max-height: 184px !important;
    display: block;
    object-fit: none; /* Prevent scaling */
    flex-shrink: 0; /* Prevent flex container from shrinking SVG */
}

/* Mobile responsive adjustments for line */
@media (max-width: 767px) {
    .wp-block-neve-child-process-steps .neve-process-steps-separator {
        margin: 0; /* Remove all margins */
    }
    
    .wp-block-neve-child-process-steps .neve-process-steps-line {
        max-width: 100%;
        height: 184px !important; /* Force exact height: 120px line + 32px top + 32px bottom spacing */
        min-height: 184px !important;
        max-height: 184px !important;
        object-fit: none; /* Prevent scaling */
        flex-shrink: 0; /* Prevent flex container from shrinking SVG */
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .wp-block-neve-child-process-steps .neve-process-steps-separator {
        margin: 0; /* Remove all margins */
    }
}

/* Large desktop adjustments */
@media (min-width: 1440px) {
    .wp-block-neve-child-process-steps .neve-process-steps-separator {
        margin: 0; /* Remove all margins */
    }
}

/* Steps Grid */
.wp-block-neve-child-process-steps .neve-process-steps-grid {
    display: flex;
    flex-direction: column;
    gap: 64px;
    width: 100%;
}

.wp-block-neve-child-process-steps .neve-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    width: 100%;
}

.wp-block-neve-child-process-steps .neve-process-step-content {
    width: 100%;
    max-width: 536px;
    margin: 0 auto;
}

.wp-block-neve-child-process-steps .neve-process-step-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 125%;
    letter-spacing: -0.01em;
    color: #303030;
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

.wp-block-neve-child-process-steps .neve-process-step-separator {
    width: 48px;
    height: 1px;
    background: rgb(217, 217, 217);
    margin: 0 0 16px 0;
}

.wp-block-neve-child-process-steps .neve-process-step-description {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(48, 48, 48) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-neve-child-process-steps .neve-process-step-icon {
    width: 100%;
    max-width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.wp-block-neve-child-process-steps .neve-process-step-icon img,
.wp-block-neve-child-process-steps .neve-process-step-icon svg {
    width: 100% !important;
    height: 100% !important;
    max-width: 400px !important;
    max-height: 400px !important;
    object-fit: contain !important;
    display: block !important;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .wp-block-neve-child-process-steps {
        padding: 60px 40px;
    }

    .wp-block-neve-child-process-steps .neve-process-steps-header {
        margin: 0; /* Remove all margins */
    }

    .wp-block-neve-child-process-steps .neve-process-steps-title {
        font-size: 36px;
    }

    .wp-block-neve-child-process-steps .neve-process-steps-subtitle {
        font-size: 18px;
    }

    .wp-block-neve-child-process-steps .neve-process-step {
        flex-direction: row;
        text-align: left;
        gap: 48px;
        align-items: center;
    }

    /* Reversed layout for even-indexed steps (2nd, 4th, etc.) */
    .wp-block-neve-child-process-steps .neve-process-step-reversed {
        flex-direction: row-reverse;
    }

    .wp-block-neve-child-process-steps .neve-process-step-content {
        margin: 0;
        flex: 1;
    }

    .wp-block-neve-child-process-steps .neve-process-step-title {
        font-size: 28px;
    }

    .wp-block-neve-child-process-steps .neve-process-step-description {
        font-size: 18px;
    }

    .wp-block-neve-child-process-steps .neve-process-step-separator {
        margin: 0 0 16px 0;
    }

    .wp-block-neve-child-process-steps .neve-process-step-icon {
        width: 300px;
        height: 300px;
        flex-shrink: 0;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .wp-block-neve-child-process-steps {
        padding: 80px 60px;
    }

    .wp-block-neve-child-process-steps .neve-process-steps-header {
        margin: 0; /* Remove all margins */
    }

    .wp-block-neve-child-process-steps .neve-process-steps-title {
        font-size: 48px;
    }

    .wp-block-neve-child-process-steps .neve-process-steps-subtitle {
        font-size: 20px;
    }

    .wp-block-neve-child-process-steps .neve-process-step {
        gap: 64px;
    }

    /* Reversed layout for even-indexed steps */
    .wp-block-neve-child-process-steps .neve-process-step-reversed {
        flex-direction: row-reverse;
    }

    .wp-block-neve-child-process-steps .neve-process-step-title {
        font-size: 32px;
    }

    .wp-block-neve-child-process-steps .neve-process-step-description {
        font-size: 20px;
    }

    .wp-block-neve-child-process-steps .neve-process-step-icon {
        width: 350px;
        height: 350px;
    }
}

/* Large Desktop Styles - Pixel Perfect for 1440px+ */
@media (min-width: 1440px) {
    .wp-block-neve-child-process-steps {
        padding: 80px 0;
    }

    .wp-block-neve-child-process-steps .neve-process-steps-container {
        position: relative;
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 220px;
    }

    .wp-block-neve-child-process-steps .neve-process-steps-header {
        margin: 0; /* Remove all margins */
    }

    .wp-block-neve-child-process-steps .neve-process-steps-title {
        font-weight: 600;
        font-size: 45px;
        line-height: 142%;
        letter-spacing: -0.01em;
        color: #303030;
    }

    .wp-block-neve-child-process-steps .neve-process-steps-subtitle {
        font-size: 24px;
        max-width: 600px;
        margin: 0 !important; /* Remove all margins, including auto centering */
    }

    .wp-block-neve-child-process-steps .neve-process-steps-grid {
        gap: 0;
    }

    .wp-block-neve-child-process-steps .neve-process-step {
        gap: 64px;
        padding: 40px 0 0 0;
        max-width: 1000px;
        margin: 0 auto;
        min-height: 440px;
        align-items: center;
    }

    /* Reversed layout for even-indexed steps */
    .wp-block-neve-child-process-steps .neve-process-step-reversed {
        flex-direction: row-reverse;
    }

    .wp-block-neve-child-process-steps .neve-process-step-content {
        width: 536px;
        flex-shrink: 0;
    }

    .wp-block-neve-child-process-steps .neve-process-step-title {
        font-size: 40px;
        line-height: 1.0;
        margin: 0 0 16px 0 !important;
    }

    .wp-block-neve-child-process-steps .neve-process-step-description {
        font-weight: 400;
        font-size: 22px;
        line-height: 127%;
        color: #303030;
    }

    .wp-block-neve-child-process-steps .neve-process-step-icon {
        width: 400px;
        height: 400px;
        flex-shrink: 0;
    }

    .wp-block-neve-child-process-steps .neve-process-step-icon img,
    .wp-block-neve-child-process-steps .neve-process-step-icon svg {
        width: 400px !important;
        height: 400px !important;
        max-width: 400px !important;
        max-height: 400px !important;
    }
}

/* ==========================================================================
   Call to Action Block Styles
   ========================================================================== */

.wp-block-neve-child-call-to-action {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.wp-block-neve-child-call-to-action .neve-cta-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
}

.wp-block-neve-child-call-to-action .neve-cta-container {
    width: 100%;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.wp-block-neve-child-call-to-action .neve-cta-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.wp-block-neve-child-call-to-action .neve-cta-title {
    font-family: var(--proxima-nova-font) !important;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2 !important;
    color: #1e293b !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-neve-child-call-to-action .neve-cta-description {
    font-family: var(--proxima-nova-font) !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #64748b !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-neve-child-call-to-action .neve-cta-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.wp-block-neve-child-call-to-action .neve-cta-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background-color: #000000 !important;
    color: white !important;
    padding: 16px 24px !important;
    border-radius: 100px !important;
    text-decoration: none !important;
    font-family: var(--proxima-nova-font) !important;
    font-size: 16px;
    font-weight: 500;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    min-width: 200px !important;
    height: 56px !important;
    justify-content: center !important;
}

.wp-block-neve-child-call-to-action .neve-cta-button:hover {
    background-color: #333333 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.wp-block-neve-child-call-to-action .neve-cta-button-icon {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
}

.wp-block-neve-child-call-to-action .neve-cta-button-subtext {
    font-family: var(--proxima-nova-font) !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #757575 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.wp-block-neve-child-call-to-action .neve-cta-image {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wp-block-neve-child-call-to-action .neve-cta-image-img {
    width: 100% !important;
    height: auto !important;
    max-width: 300px !important;
    max-height: 240px !important;
    object-fit: contain !important;
    border-radius: 8px !important;
}

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    .wp-block-neve-child-call-to-action .neve-cta-container {
        padding: 48px 40px;
        gap: 40px;
        flex-direction: row;
        align-items: center;
    }

    .wp-block-neve-child-call-to-action .neve-cta-content {
        flex: 1;
        text-align: left;
        gap: 24px;
    }

    .wp-block-neve-child-call-to-action .neve-cta-title {
        font-size: 36px;
        line-height: 1.1;
    }

    .wp-block-neve-child-call-to-action .neve-cta-description {
        font-size: 18px;
        line-height: 1.6;
    }

    .wp-block-neve-child-call-to-action .neve-cta-button-wrapper {
        align-items: flex-start;
    }

    .wp-block-neve-child-call-to-action .neve-cta-image {
        flex: 0 0 auto;
        max-width: 350px;
        margin: 0;
    }

    .wp-block-neve-child-call-to-action .neve-cta-image-img {
        max-width: 350px !important;
        max-height: 280px !important;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .wp-block-neve-child-call-to-action .neve-cta-container {
        padding: 60px 60px;
        gap: 60px;
    }

    .wp-block-neve-child-call-to-action .neve-cta-title {
        font-size: 42px;
        line-height: 1.1;
    }

    .wp-block-neve-child-call-to-action .neve-cta-description {
        font-size: 20px;
        line-height: 1.6;
    }

    .wp-block-neve-child-call-to-action .neve-cta-button {
        padding: 18px 32px !important;
        font-size: 16px;
        min-width: 320px !important;
        height: 56px !important;
    }

    .wp-block-neve-child-call-to-action .neve-cta-button-icon {
        width: 24px !important;
        height: 24px !important;
    }

    .wp-block-neve-child-call-to-action .neve-cta-image {
        max-width: 400px;
    }

    .wp-block-neve-child-call-to-action .neve-cta-image-img {
        max-width: 400px !important;
        max-height: 320px !important;
    }
}

/* Large Desktop Styles (1440px and up) */
@media (min-width: 1440px) {
    .wp-block-neve-child-call-to-action .neve-cta-container {
        padding: 80px 80px;
        gap: 80px;
    }

    .wp-block-neve-child-call-to-action .neve-cta-title {
        font-size: 48px;
        line-height: 1.0;
    }

    .wp-block-neve-child-call-to-action .neve-cta-description {
        font-size: 22px;
        line-height: 1.5;
    }

    .wp-block-neve-child-call-to-action .neve-cta-image {
        max-width: 450px;
    }

    .wp-block-neve-child-call-to-action .neve-cta-image-img {
        max-width: 450px !important;
        max-height: 360px !important;
    }
}

/* ==========================================================================
   Process Steps Button Styles
   ========================================================================== */

/* Process Steps Button Styles */
.wp-block-neve-child-process-steps .neve-process-step-cta {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wp-block-neve-child-process-steps .neve-process-step-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important; /* Figma: 8px spacing between icon and text */
    background-color: #000000 !important; /* Figma: black background */
    color: #ffffff !important; /* Figma: white text */
    width: 320px !important; /* Figma: exact width */
    height: 56px !important; /* Figma: exact height */
    padding: 16px 24px !important; /* Figma: centered content with padding */
    border-radius: 100px !important; /* Figma: fully rounded corners */
    text-decoration: none !important;
    font-family: var(--proxima-nova-font) !important;
    font-size: 16px;
    font-weight: 600;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    box-shadow: none !important; /* Remove shadow for clean Figma look */
}

.wp-block-neve-child-process-steps .neve-process-step-button:hover {
    background-color: #333333 !important; /* Slightly lighter black on hover */
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important; /* Black shadow to match */
}

/* Button Icon Styles - Figma Design */
.wp-block-neve-child-process-steps .neve-process-step-button svg,
.wp-block-neve-child-process-steps .neve-process-step-button .icon {
    width: 24px !important; /* Figma: 24x24px icon */
    height: 24px !important;
    fill: #ffffff !important; /* Figma: white icon */
    color: #ffffff !important;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.wp-block-neve-child-process-steps .neve-process-step-button-subtext {
    font-family: var(--proxima-nova-font) !important;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280 !important;
    margin: 0 !important;
    text-align: center !important;
    line-height: 1.4;
}

/* Responsive adjustments for Process Steps Button */
@media (min-width: 768px) {
    .wp-block-neve-child-process-steps .neve-process-step-cta {
        align-items: flex-start;
        margin-top: 32px;
    }
    
    .wp-block-neve-child-process-steps .neve-process-step-button {
        /* Maintain Figma dimensions across all screen sizes */
        width: 320px !important;
        height: 56px !important;
        font-size: 16px; /* Keep consistent font size */
    }
    
    .wp-block-neve-child-process-steps .neve-process-step-button-subtext {
        font-size: 15px;
        text-align: left !important;
    }
}

@media (min-width: 1024px) {
    .wp-block-neve-child-process-steps .neve-process-step-button {
        /* Maintain Figma dimensions on large screens */
        width: 320px !important;
        height: 56px !important;
        font-size: 16px; /* Keep consistent font size per Figma */
    }
    
    .wp-block-neve-child-process-steps .neve-process-step-button-subtext {
        font-size: 16px;
    }
}

/* ==========================================================================
   Testimonials Block Styles
   ========================================================================== */

.wp-block-neve-child-testimonials {
    width: 100%;
    margin: 0 auto 0 auto; 
    padding-bottom: 0; /* Remove bottom padding */
    box-sizing: border-box;
}

.wp-block-neve-child-testimonials .neve-testimonials-block {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 20px;
    box-sizing: border-box;
}

.wp-block-neve-child-testimonials .neve-testimonials-container {
    width: 100%;
    background-color: rgb(236, 255, 216) !important; /* Exact Figma: r:0.9254, g:1, b:0.8454 */
    border-radius: 16px;
    padding: 32px 24px;
    box-sizing: border-box;
}

.wp-block-neve-child-testimonials .neve-testimonials-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

/* Header Section */
.wp-block-neve-child-testimonials .neve-testimonials-header {
    width: 100%;
    text-align: center;
}

.wp-block-neve-child-testimonials .neve-testimonials-title {
    font-family: var(--proxima-nova-font);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2 !important;
    color: rgb(30, 30, 30) !important; /* Exact Figma: r:0.117, g:0.117, b:0.117 */
    margin: 0 0 16px 0 !important;
    padding: 0 !important;
}

.wp-block-neve-child-testimonials .neve-testimonials-description {
    font-family: var(--proxima-nova-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: rgb(117, 117, 117) !important; /* Exact Figma: r:0.458, g:0.458, b:0.458 */
    margin: 0 !important;
    padding: 0 !important;
}

/* Testimonial Section */
.wp-block-neve-child-testimonials .neve-testimonials-testimonial {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

/* Individual Testimonial Items */
.wp-block-neve-child-testimonials .neve-testimonials-item {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wp-block-neve-child-testimonials .neve-testimonials-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Ensure proper height calculation for testimonial container */
.wp-block-neve-child-testimonials .neve-testimonials-testimonial {
    min-height: 200px; /* Minimum height to prevent layout jump */
}

.wp-block-neve-child-testimonials .neve-testimonials-quote {
    /* Complete blockquote reset */
    all: unset !important;
    display: block !important;
    position: relative !important;
    
    /* Apply exact Figma specifications */
    font-family: var(--proxima-nova-font) !important;
    font-weight: 400 !important; /* Figma: exact font-weight */
    font-size: 28px !important; /* Figma: exact font-size */
    color: #1e1e1e !important; /* Figma: exact color */
    line-height: 1.3 !important;
    
    /* Reset all blockquote defaults */
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-left: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-style: normal !important; /* Remove italic styling */
    text-align: left !important; /* Figma: left-aligned */
    
    /* Layout properties */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Opening quote span - flows naturally with text */
.wp-block-neve-child-testimonials .neve-opening-quote {
    /* Figma specifications for quote marks */
    font-weight: 700 !important;
    font-size: 45px !important;
    line-height: 80% !important;
    letter-spacing: -0.01em !important;
    color: #757575 !important;
    font-family: var(--proxima-nova-font) !important;
    
    /* Natural inline positioning */
    display: inline !important;
    vertical-align: top !important;
    margin-right: 6px !important;
    position: relative !important;
    top: -2px !important;
}

/* Closing quote span - flows naturally with text */
.wp-block-neve-child-testimonials .neve-closing-quote {
    /* Figma specifications for quote marks */
    font-weight: 700 !important;
    font-size: 45px !important;
    line-height: 80% !important;
    letter-spacing: -0.01em !important;
    color: #757575 !important;
    font-family: var(--proxima-nova-font) !important;
    
    /* Natural inline positioning */
    display: inline !important;
    vertical-align: top !important;
    margin-left: 2px !important;
    position: relative !important;
    top: -2px !important; /* Same level as opening quote */
}

/* Complete blockquote reset for testimonials - comprehensive reset */
.wp-block-neve-child-testimonials blockquote,
.wp-block-neve-child-testimonials .neve-testimonials-quote blockquote,
.wp-block-neve-child-testimonials blockquote.neve-testimonials-quote,
.wp-block-neve-child-testimonials blockquote *,
.wp-block-neve-child-testimonials .neve-testimonials-quote * {
    all: unset !important;
    display: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    font-size: inherit !important;
    color: inherit !important;
    line-height: inherit !important;
    text-align: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    font-style: normal !important;
}

/* Author Section */
.wp-block-neve-child-testimonials .neve-testimonials-author {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
    margin-top: 24px !important; /* 24px space from top */
}

.wp-block-neve-child-testimonials .neve-testimonials-author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.wp-block-neve-child-testimonials .neve-testimonials-author-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    max-width: none !important;
    max-height: none !important;
}

.wp-block-neve-child-testimonials .neve-testimonials-author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wp-block-neve-child-testimonials .neve-testimonials-author-name {
    font-family: var(--proxima-nova-font);
    font-weight: 700 !important; /* Figma: exact font-weight */
    font-size: 28px !important; /* Figma: exact font-size */
    line-height: 129% !important; /* Figma: exact line-height */
    letter-spacing: -0.01em !important; /* Figma: exact letter-spacing */
    color: #1e1e1e !important; /* Figma: exact color */
    margin: 0 !important;
    padding: 0 !important;
    font-style: normal;
}

.wp-block-neve-child-testimonials .neve-testimonials-author-company {
    font-family: var(--proxima-nova-font);
    font-weight: 400 !important; /* Figma: exact font-weight */
    font-size: 28px !important; /* Figma: exact font-size */
    line-height: 129% !important; /* Figma: exact line-height */
    letter-spacing: -0.01em !important; /* Figma: exact letter-spacing */
    color: #757575 !important; /* Figma: exact color */
    margin: 0 !important;
    padding: 0 !important;
}

/* Navigation Dots */
.wp-block-neve-child-testimonials .neve-testimonials-navigation {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.wp-block-neve-child-testimonials .neve-testimonials-dots {
    display: flex !important;
    gap: 8px !important; /* Figma: exact 8px spacing between dots */
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 12px !important; /* Figma: adjusted padding for 64x24 container */
    border-radius: 50px !important; /* Figma: fully rounded container */
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(50px) !important; /* Figma: background blur effect */
    width: auto !important;
    height: auto !important;
    min-width: 64px !important; /* Figma: minimum width to accommodate 3 dots */
    min-height: 24px !important; /* Figma: exact height */
}

.wp-block-neve-child-testimonials .neve-testimonials-dot {
    width: 8px !important; /* Figma: exact 8x8px dots */
    height: 8px !important;
    border-radius: 50% !important; /* Figma: 50px corner radius (circular) */
    border: none !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0 !important;
    margin: 0 !important;
    flex-shrink: 0; /* Prevent shrinking */
}

.wp-block-neve-child-testimonials .neve-testimonials-dot:hover {
    background-color: rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.1);
}

.wp-block-neve-child-testimonials .neve-testimonials-dot.active {
    background-color: rgb(0, 0, 0) !important; /* Figma: solid black for active state */
    transform: scale(1.1);
}

/* Desktop Styles (1025px and up) */
@media (min-width: 1025px) {
    .wp-block-neve-child-testimonials {
        margin: 0 auto 0 auto; /* Maintain 120px bottom margin for spacing */
        padding: 40px;
        padding-bottom: 0; /* Remove bottom padding */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-block {
        padding: 32px 40px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-container {
        border-radius: 24px;
        padding: 48px 40px;
        gap: 40px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-content {
        flex-direction: row;
        gap: 48px;
        align-items: flex-start;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-header {
        flex: 0 0 400px;
        text-align: left;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-title {
        font-size: 36px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-description {
        font-size: 18px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-testimonial {
        flex: 1;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-testimonials-quote {
        /* Maintain Figma specifications on tablet */
        position: relative !important;
        font-weight: 400 !important; /* Figma: consistent font-weight */
        font-size: 28px !important; /* Figma: maintain exact font-size */
        color: #1e1e1e !important; /* Figma: exact color */
        line-height: 1.3 !important;
        text-align: left !important;
        font-style: normal !important;
        
        /* Complete reset */
        all: revert !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Quote marks on tablet - improved positioning */
    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-opening-quote {
        font-weight: 700 !important;
        font-size: 45px !important;
        line-height: 80% !important;
        letter-spacing: -0.01em !important;
        color: #757575 !important;
        font-family: var(--proxima-nova-font) !important;
        
        /* Better positioning - inline with proper spacing */
        display: inline !important;
        vertical-align: top !important;
        margin-right: 6px !important;
        position: relative !important;
        top: -2px !important;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-closing-quote {
        font-weight: 700 !important;
        font-size: 45px !important;
        line-height: 80% !important;
        letter-spacing: -0.01em !important;
        color: #757575 !important;
        font-family: var(--proxima-nova-font) !important;
        
        /* Natural inline positioning */
        display: inline !important;
        vertical-align: top !important;
        margin-left: 2px !important;
        position: relative !important;
        top: -2px !important; /* Same level as opening quote */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author {
        justify-content: flex-start;
        gap: 20px;
        margin-top: 24px !important; /* Maintain 24px space from top on tablet */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-image {
        width: 70px;
        height: 70px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-name {
        font-weight: 700 !important; /* Figma: maintain exact font-weight */
        font-size: 28px !important; /* Figma: maintain exact font-size */
        line-height: 129% !important; /* Figma: maintain exact line-height */
        letter-spacing: -0.01em !important; /* Figma: maintain exact letter-spacing */
        color: #1e1e1e !important; /* Figma: maintain exact color */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-company {
        font-weight: 400 !important; /* Figma: maintain exact font-weight */
        font-size: 28px !important; /* Figma: maintain exact font-size */
        line-height: 129% !important; /* Figma: maintain exact line-height */
        letter-spacing: -0.01em !important; /* Figma: maintain exact letter-spacing */
        color: #757575 !important; /* Figma: maintain exact color */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-navigation {
        justify-content: flex-start;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    .wp-block-neve-child-testimonials {
        margin: 0 auto 0 auto; /* Maintain 120px bottom margin for spacing */
        padding: 48px;
        padding-bottom: 0; /* Remove bottom padding */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-block {
        padding: 48px 60px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-container {
        border-radius: 32px;
        padding: 60px 60px;
        gap: 60px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-content {
        gap: 80px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-title {
        font-size: 42px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-description {
        font-size: 20px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-testimonials-quote {
        /* Maintain Figma specifications on desktop */
        position: relative !important;
        font-weight: 400 !important; /* Figma: consistent font-weight */
        font-size: 28px !important; /* Figma: maintain exact font-size */
        color: #1e1e1e !important; /* Figma: exact color */
        line-height: 1.3 !important;
        text-align: left !important;
        font-style: normal !important;
        
        /* Complete reset */
        all: revert !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Quote marks on desktop - improved positioning */
    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-opening-quote {
        font-weight: 700 !important;
        font-size: 45px !important;
        line-height: 80% !important;
        letter-spacing: -0.01em !important;
        color: #757575 !important;
        font-family: var(--proxima-nova-font) !important;
        
        /* Better positioning - inline with proper spacing */
        display: inline !important;
        vertical-align: top !important;
        margin-right: 6px !important;
        position: relative !important;
        top: -2px !important;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-closing-quote {
        font-weight: 700 !important;
        font-size: 45px !important;
        line-height: 80% !important;
        letter-spacing: -0.01em !important;
        color: #757575 !important;
        font-family: var(--proxima-nova-font) !important;
        
        /* Natural inline positioning */
        display: inline !important;
        vertical-align: top !important;
        margin-left: 2px !important;
        position: relative !important;
        top: -2px !important; /* Same level as opening quote */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-image {
        width: 80px;
        height: 80px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-name {
        font-weight: 700 !important; /* Figma: maintain exact font-weight */
        font-size: 28px !important; /* Figma: maintain exact font-size */
        line-height: 129% !important; /* Figma: maintain exact line-height */
        letter-spacing: -0.01em !important; /* Figma: maintain exact letter-spacing */
        color: #1e1e1e !important; /* Figma: maintain exact color */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-company {
        font-weight: 400 !important; /* Figma: maintain exact font-weight */
        font-size: 28px !important; /* Figma: maintain exact font-size */
        line-height: 129% !important; /* Figma: maintain exact line-height */
        letter-spacing: -0.01em !important; /* Figma: maintain exact letter-spacing */
        color: #757575 !important; /* Figma: maintain exact color */
    }
}

/* Large Desktop Styles (1440px and up) - Exact Figma Match */
@media (min-width: 1440px) {
    .wp-block-neve-child-testimonials {
        margin: 0 auto 0 auto; /* Maintain 120px bottom margin for spacing */
        padding: 0; /* No padding on large desktop */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-block {
        /* Frame 48: 1440x685, positioned at x:0, y:3612 */
        width: 1440px;
        height: 685px;
        padding: 0;
        margin: 0 auto;
        position: relative;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-container {
        /* Frame 50: 1200x445, positioned at x:120, y:120 relative to Frame 48 */
        width: 1200px !important;
        height: 445px !important;
        position: absolute;
        left: 120px; /* Exact Figma x:120 */
        top: 120px;  /* Exact Figma y:120 */
        padding: 0;
        border-radius: 32px !important; /* Exact Figma border radius */
        background-color: rgb(236, 255, 216) !important; /* Exact Figma color: r:0.9254, g:1, b:0.8454 */
        /* Container for absolutely positioned children with 80px itemSpacing */
        display: block;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-content {
        /* Horizontal layout with 80px itemSpacing */
        position: absolute;
        left: 40px;  /* 40px padding from container edge */
        top: 80px;   /* 80px padding from container top */
        width: 1120px; /* 1200 - 80px padding */
        height: 285px; /* Content height */
        display: flex;
        flex-direction: row;
        gap: 80px;   /* Exact Figma itemSpacing */
        align-items: flex-start;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-header {
        /* Frame 45: 400x266, positioned at x:0, y:0 relative to content */
        width: 400px;
        height: 266px;
        flex-shrink: 0;
        text-align: left;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 26px; /* Exact Figma itemSpacing */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-title {
        font-weight: 600;
        font-size: 57px;
        line-height: 112%;
        letter-spacing: 0em;
        color: #1e1e1e;
        width: 400px;
        height: 120px;      
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-description {
        font-weight: 400;
        font-size: 22px;
        line-height: 127%;
        letter-spacing: -0.01em;
        color: #757575;        
         width: 400px;
        height: 120px;
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: flex-start;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-testimonial {
        /* Frame 47: 640x285, positioned at x:480, y:0 relative to content */
        width: 640px;
        height: 285px;
        flex-shrink: 0;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 24px; /* Exact Figma itemSpacing */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-item {
        /* Each testimonial item fills the container */
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-testimonials-quote {
        /* Quote: 640x108, positioned at x:0, y:0 relative to Frame 47 */
        width: 640px !important;
        height: 108px !important;
        position: relative !important;
        
        /* Apply exact Figma specifications */
        font-weight: 400 !important; /* Figma: exact font-weight */
        font-size: 28px !important; /* Figma: exact font-size */
        color: #1e1e1e !important; /* Figma: exact color */
        line-height: 1.3 !important;
        text-align: left !important;
        font-style: normal !important;
        
        /* Layout properties */
        display: flex !important;
        align-items: flex-start !important;
        
        /* Complete reset */
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    /* Quote marks on large desktop - improved positioning */
    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-opening-quote {
        font-weight: 700 !important;
        font-size: 45px !important;
        line-height: 80% !important;
        letter-spacing: -0.01em !important;
        color: #757575 !important;
        font-family: var(--proxima-nova-font) !important;
        
        /* Better positioning - inline with proper spacing */
        display: inline !important;
        vertical-align: top !important;
        margin-right: 6px !important;
        position: relative !important;
        top: -2px !important;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-item .neve-closing-quote {
        font-weight: 700 !important;
        font-size: 45px !important;
        line-height: 80% !important;
        letter-spacing: -0.01em !important;
        color: #757575 !important;
        font-family: var(--proxima-nova-font) !important;
        
        /* Natural inline positioning */
        display: inline !important;
        vertical-align: top !important;
        margin-left: 2px !important;
        position: relative !important;
        top: -2px !important; /* Same level as opening quote */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author {
        /* Frame 49: 640x85, positioned at x:0, y:132 relative to Frame 47 */
        width: 640px;
        height: 85px;
        position: relative;
        display: flex;
        flex-direction: row;
        gap: 24px; /* Exact Figma itemSpacing */
        align-items: flex-start;
        justify-content: flex-start;
        margin-top: 24px !important; /* 24px space from top on large desktop */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-image {
        /* Rectangle 10: 80x80, positioned at x:0, y:2.5 relative to Frame 49 */
        width: 80px;
        height: 80px;
        flex-shrink: 0;
        border-radius: 50%;
        position: relative;
        top: 2.5px; /* Exact Figma y:2.5 positioning */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-info {
        /* Frame 46: 536x85, positioned at x:104, y:0 relative to Frame 49 */
        width: 536px;
        height: 85px;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        gap: 0; /* No gap between name and company */
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-name {
        /* Name: 536x42.5, positioned at x:0, y:0 relative to Frame 46 */
        width: 536px;
        height: 42.5px;
        font-weight: 700 !important; /* Figma: exact font-weight */
        font-size: 28px !important; /* Figma: exact font-size */
        line-height: 129% !important; /* Figma: exact line-height */
        letter-spacing: -0.01em !important; /* Figma: exact letter-spacing */
        color: #1e1e1e !important; /* Figma: exact color */
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-author-company {
        /* Company: 536x42.5, positioned at x:0, y:42.5 relative to Frame 46 */
        width: 536px;
        height: 42.5px;
        font-weight: 400 !important; /* Figma: exact font-weight */
        font-size: 28px !important; /* Figma: exact font-size */
        line-height: 129% !important; /* Figma: exact line-height */
        letter-spacing: -0.01em !important; /* Figma: exact letter-spacing */
        color: #757575 !important; /* Figma: exact color */
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        align-items: center;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-navigation {
        /* Page Control: 640x44, positioned at x:0, y:241 relative to Frame 47 */
        width: 640px;
        height: 44px;
        position: absolute;
        bottom: 0; /* Position at bottom of testimonial section */
        left: 0;
        justify-content: flex-start;
        margin-top: 0;
    }

    .wp-block-neve-child-testimonials .neve-testimonials-dots {
        /* Frame: 64x24, positioned at x:287, y:10 relative to Page Control */
        position: absolute !important;
        left: 287px !important; /* Exact Figma x:287 (centered in 640px) */
        top: 10px !important;   /* Exact Figma y:10 */
        width: 64px !important; /* Exact Figma width */
        height: 24px !important; /* Exact Figma height */
        padding: 0 !important;
        background: transparent !important;
        backdrop-filter: blur(50px) !important; /* Figma: background blur effect */
        border-radius: 50px !important; /* Figma: fully rounded */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important; /* Exact Figma itemSpacing */
        min-width: auto !important; /* Override base styles */
        min-height: auto !important; /* Override base styles */
    }
}

/* ==========================================================================
   Testimonials Block - Responsive Styles
   ========================================================================== */

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .wp-block-neve-child-testimonials {
        padding: 20px 16px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-block {
        padding: 24px 0 !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-container {
        padding: 32px 20px !important;
        border-radius: 20px !important;
        gap: 24px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-content {
        order: 1 !important;
        max-width: 100% !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-quote {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-author {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 4px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-company {
        font-size: 13px !important;
        line-height: 1.3 !important;
        margin-bottom: 20px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-image-section {
        order: 2 !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-image {
        width: 80px !important;
        height: 80px !important;
        margin: 0 auto 16px auto !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-dots {
        justify-content: center !important;
        gap: 8px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-dot {
        width: 8px !important;
        height: 8px !important;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .wp-block-neve-child-testimonials {
        padding: 16px 12px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-container {
        padding: 24px 16px !important;
        border-radius: 16px !important;
        gap: 20px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-quote {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 16px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-author {
        font-size: 13px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-company {
        font-size: 12px !important;
        margin-bottom: 16px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-image {
        width: 60px !important;
        height: 60px !important;
        margin-bottom: 12px !important;
    }
}

/* Tablet specific breakpoint (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .wp-block-neve-child-testimonials .neve-testimonials-container {
        padding: 40px 32px !important;
        gap: 32px !important;
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-content {
        flex-direction: column !important;
        gap: 24px !important;
        align-items: center !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-header {
        flex: none !important;
        text-align: center !important;
        max-width: 600px !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-testimonial {
        flex: none !important;
        max-width: 600px !important;
        text-align: center !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-quote {
        font-size: 24px !important;
        line-height: 1.3 !important;
        text-align: center !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-image-section {
        text-align: center !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-image {
        width: 100px !important;
        height: 100px !important;
        margin: 0 auto 20px auto !important;
    }
    
    .wp-block-neve-child-testimonials .neve-testimonials-dots {
        justify-content: center !important;
    }
}

/* ==========================================================================
   Case Studies Block Styles (Mobile First)
   ========================================================================== */

.wp-block-neve-child-case-studies,
.editor-styles-wrapper .wp-block-neve-child-case-studies {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0px !important;
    box-sizing: border-box !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-block,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-block {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    position: relative !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-container,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-container {
    width: 100% !important;
    max-width: 1440px !important; /* Exact Figma container width */
    margin: 0 auto !important;
    padding: 0 120px !important; /* Exact Figma: 120px left/right padding */
    box-sizing: border-box !important;
    min-height: 707px !important; /* Exact Figma height */
    position: relative !important;
}

/* Header */
.wp-block-neve-child-case-studies .neve-case-studies-header,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-header {
    text-align: center !important;
    margin-bottom: 80px !important; /* Increased spacing for better separation */
    padding: 0 20px !important; /* Mobile padding */
}

.wp-block-neve-child-case-studies .neve-case-studies-title,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-title {
    font-weight: 600 !important;
    font-size: 45px !important;
    line-height: 142% !important;
    letter-spacing: -0.01em !important;
    text-align: center !important;
    color: #303030 !important;
    margin: 0 !important;
    font-family: var(--proxima-nova-font) !important;
}

/* Carousel wrapper with navigation */
.wp-block-neve-child-case-studies .neve-case-studies-carousel,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-carousel {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1200px !important; /* 3×384px + 2×24px = 1200px */
    margin: 0 auto !important;
    padding: 0 20px !important; /* Mobile padding */
}

/* Carousel viewport - shows exactly 3 cards */
.wp-block-neve-child-case-studies .neve-case-studies-wrapper,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-wrapper {
    flex: 1 !important;
    overflow: hidden !important; /* Hide cards outside viewport */
    width: 1200px !important; /* Exact width for 3 cards */
    position: relative !important;
    margin: 0 auto !important; /* Center the viewport */
}

/* Navigation arrows - Clean minimal styles */
.wp-block-neve-child-case-studies .neve-case-studies-nav,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    z-index: 10 !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-nav-prev,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav-prev {
    left: -60px !important; /* Position completely outside container */
}

.wp-block-neve-child-case-studies .neve-case-studies-nav-next,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav-next {
    right: -60px !important; /* Position completely outside container */
}

.wp-block-neve-child-case-studies .neve-case-studies-nav:hover,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-nav:disabled,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* Carousel track for sliding animation */
.wp-block-neve-child-case-studies .neve-case-studies-track,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-track {
    display: flex !important;
    flex-direction: row !important;
    gap: 24px !important;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform !important;
    background: transparent !important; /* No background to avoid white gaps */
    width: auto !important; /* Width calculated dynamically by JavaScript */
    position: relative !important;
}

/* Carousel enabled track - enhanced sliding */
.wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-track {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Individual post cards - All visible in carousel track */
.wp-block-neve-child-case-studies .neve-case-studies-card {
    display: flex !important; /* Always visible in carousel */
    flex-direction: column !important;
    background: transparent !important;
    border-radius: 0 !important;
    overflow: visible !important;
    height: auto !important;
    flex-shrink: 0 !important; /* Prevent shrinking in carousel */
    width: 384px !important; /* Fixed width for consistent carousel */
    max-width: 384px !important; /* Figma width */
    min-height: 464px !important; /* Exact Figma height */
}

/* Non-carousel mode (3 or fewer posts) */
.wp-block-neve-child-case-studies:not(.carousel-enabled) .neve-case-studies-card {
    flex: 1 !important; /* Equal width distribution */
    width: auto !important; /* Auto width when not in carousel */
}

/* Editor styles for preview */
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card {
    display: flex !important; /* Always visible in editor */
}

/* Carousel enabled mode - viewport overflow handled by wrapper */
.wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-wrapper,
.editor-styles-wrapper .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-wrapper {
    overflow: hidden !important; /* Only show 3 cards at a time */
}



/* Card image area */
.wp-block-neve-child-case-studies .neve-case-studies-card-image,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-image {
    position: relative !important;
    width: 100% !important;
    height: 216px !important;
    background-color: rgb(242, 227, 214) !important; /* Exact Figma: r: 0.9493, g: 0.8922, b: 0.8388 */
    border-radius: 32px !important;
    overflow: hidden !important;
    margin-bottom: 24px !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-image,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 32px !important;
    border: 1px solid #D9D9D9 !important;
}

/* Image placeholder for posts without featured image */
.wp-block-neve-child-case-studies .neve-case-studies-image-placeholder,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-image-placeholder {
    width: 100% !important;
    height: 100% !important;
    background-color: rgb(242, 227, 214) !important;
    border-radius: 32px !important;
    border: 1px solid #D9D9D9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: rgba(0, 0, 0, 0.3) !important;
    font-size: 14px !important;
    font-family: var(--proxima-nova-font) !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-image-placeholder:before,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-image-placeholder:before {
    content: "Featured Image" !important;
}

/* Category tag */
.wp-block-neve-child-case-studies .neve-case-studies-category,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-category {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    z-index: 1 !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-category-tag,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-category-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 110px !important; /* Exact Figma width */
    height: 40px !important; /* Exact Figma height */
    background-color: rgb(255, 199, 150) !important; /* Exact Figma: r: 1, g: 0.7795760035514832, b: 0.5867045521736145 */
    color: #000 !important;
    padding: 8px !important; /* Internal padding from Figma children positioning */
    border-radius: 100px !important; /* Exact Figma cornerRadius */
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    font-family: var(--proxima-nova-font) !important;
    position: absolute !important;
    top: 16px !important; /* Figma positioning: y: 16 */
    left: 16px !important; /* Figma positioning: x: 16 */
    z-index: 2 !important;
}

/* Card content */
.wp-block-neve-child-case-studies .neve-case-studies-card-content,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-content {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    gap: 4px !important;
    height: 224px !important; /* Exact Figma content height */
    justify-content: space-between !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-card-text,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-text {
    flex-grow: 1 !important;
    margin-bottom: 16px !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-card-title,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-title {
    font-size: 32px !important; /* Exact Figma font size */
    font-weight: 600 !important;
    line-height: 44px !important; /* Exact Figma line height */
    color: rgb(42, 52, 71) !important; /* Exact Figma: r: 0.1661, g: 0.2035, b: 0.2783 */
    margin: 0 0 4px 0 !important;
    font-family: var(--proxima-nova-font) !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-card-title a,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-title a {
    color: inherit !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-card-title a:hover,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-title a:hover {
    color: rgb(74, 67, 89) !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-card-excerpt,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-excerpt {
    font-size: 18px !important; /* Exact Figma font size */
    font-weight: 400 !important;
    line-height: 24px !important; /* Exact Figma line height */
    color: rgb(42, 52, 71) !important; /* Same as title color */
    margin: 0 0 16px 0 !important;
    font-family: var(--proxima-nova-font) !important;
}

/* Card footer with button - Exact Figma positioning */
.wp-block-neve-child-case-studies .neve-case-studies-card-footer,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-footer {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: auto !important;
    align-items: center !important;
    height: 56px !important; /* Exact Figma button height */
}

.wp-block-neve-child-case-studies .neve-case-studies-button,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-button {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 16px 24px !important;
    background: none !important;
    border: none !important;
    color: #000 !important;
    font-size: 16px !important; /* Exact Figma font size */
    font-weight: 500 !important;
    line-height: 24px !important; /* Exact Figma line height */
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border-radius: 100px !important; /* Figma: cornerRadius: 100 */
    min-height: 56px !important; /* Exact Figma height: 56px */
    box-sizing: border-box !important;
    font-family: var(--proxima-nova-font) !important;
    justify-content: center !important;
    width: 159px !important; /* Figma: exact width */
    height: 56px !important; /* Figma: exact height */
}

.wp-block-neve-child-case-studies .neve-case-studies-button:hover,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-button:hover {
    background-color: rgb(251, 240, 230) !important; /* Figma: r: 0.9843, g: 0.9412, b: 0.9020 */
    color: #000 !important;
    text-decoration: none !important;
    transform: translateX(4px) !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-button:focus,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-button:focus {
    outline: 2px solid rgb(96, 71, 255) !important; /* Figma: r: 0.5922, g: 0.2784, b: 1 */
    outline-offset: 2px !important;
    background-color: rgb(251, 240, 230) !important; /* Figma: r: 0.9843, g: 0.9412, b: 0.9020 */
}

.wp-block-neve-child-case-studies .neve-case-studies-button:active,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-button:active {
    background-color: rgb(245, 235, 225) !important; /* Darker shade for active state */
    transform: translateX(2px) !important;
}

.wp-block-neve-child-case-studies .neve-case-studies-arrow,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-arrow {
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
    order: -1 !important; /* Put arrow before text as in Figma */
}

/* No posts message */
.wp-block-neve-child-case-studies .neve-case-studies-no-posts,
.editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-no-posts {
    text-align: center !important;
    padding: 40px !important;
    color: #666 !important;
    grid-column: 1 / -1 !important;
}

/* Mobile styles - Enhanced responsive design */
@media (max-width: 767px) {
    .wp-block-neve-child-case-studies .neve-case-studies-container,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-container {
        padding: 0 20px !important; /* Mobile padding */
        min-height: auto !important; /* Auto height on mobile */
    }
    
    .wp-block-neve-child-case-studies .neve-case-studies-header,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-header {
        margin-bottom: 60px !important; /* Reduced spacing on mobile */
        text-align: center !important;
        padding: 0 !important;
    }
    
    .wp-block-neve-child-case-studies .neve-case-studies-title,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-title {
        font-size: 32px !important; /* Smaller title on mobile */
        line-height: 1.25 !important;
        text-align: center !important;
    }
    
    .wp-block-neve-child-case-studies .neve-case-studies-carousel,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-carousel {
        padding: 0 !important; /* No extra padding needed */
        gap: 0 !important; /* No gap needed without arrows */
    }
    
    /* Hide navigation arrows on mobile */
    .wp-block-neve-child-case-studies .neve-case-studies-nav,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav {
        display: none !important;
    }
    
    /* Enable carousel on mobile - single card view with touch navigation */
    .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-wrapper {
        width: 100% !important;
        max-width: 320px !important; /* Single card width + padding */
        overflow: hidden !important; /* Hide other cards for carousel effect */
        margin: 0 auto !important;
    }
    
    .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-track {
        flex-direction: row !important; /* Keep horizontal for carousel */
        gap: 20px !important; /* Smaller gap on mobile */
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
        /* Width calculated by JavaScript for proper sliding */
    }
    
    .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-card {
        width: 300px !important; /* Single card width on mobile */
        max-width: 300px !important;
        min-width: 300px !important;
        flex-shrink: 0 !important; /* Prevent cards from shrinking */
        margin: 0 !important;
    }
}

/* Tablet styles */
@media (min-width: 768px) {
    .wp-block-neve-child-case-studies .neve-case-studies-container,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-container {
        padding: 0 40px !important;
    }
    
    .wp-block-neve-child-case-studies .neve-case-studies-header,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-header {
        padding: 0 !important; /* Remove mobile padding */
        margin-bottom: 100px !important; /* More spacing on tablet */
    }
    
    .wp-block-neve-child-case-studies .neve-case-studies-carousel,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-carousel {
        padding: 0 !important; /* Remove mobile padding */
        max-width: 750px !important; /* 2×350px + 24px gap + padding */
    }
    
    /* Tablet carousel - 2 cards visible */
    .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-wrapper,
    .editor-styles-wrapper .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-wrapper {
        max-width: 724px !important; /* 2×350px + 24px gap */
        overflow: hidden !important;
    }
    
    .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-card,
    .editor-styles-wrapper .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-card {
        width: 350px !important; /* Tablet card width */
        max-width: 350px !important;
        min-width: 350px !important;
        flex-shrink: 0 !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-track,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-track {
        flex-direction: row !important; /* Horizontal layout on tablet+ */
        gap: 24px !important;
    }
    
    /* Non-carousel mode: responsive card widths */
    .wp-block-neve-child-case-studies:not(.carousel-enabled) .neve-case-studies-card,
    .editor-styles-wrapper .wp-block-neve-child-case-studies:not(.carousel-enabled) .neve-case-studies-card {
        flex: 1 !important;
        width: auto !important;
        max-width: none !important;
    }
    


    .wp-block-neve-child-case-studies .neve-case-studies-title,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-title {
        font-size: 45px !important;
        font-weight: 600 !important;
        line-height: 142% !important;
        letter-spacing: -0.01em !important;
        text-align: center !important;
        color: #303030 !important;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .wp-block-neve-child-case-studies .neve-case-studies-container,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-container {
        padding: 0 80px !important;
    }
    
    .wp-block-neve-child-case-studies .neve-case-studies-header,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-header {
        margin-bottom: 120px !important; /* Even more spacing on desktop */
    }
    
    .wp-block-neve-child-case-studies .neve-case-studies-carousel,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-carousel {
        max-width: 1200px !important; /* 3×384px + 2×24px = 1200px */
    }
    
    /* Desktop carousel - 3 cards visible */
    .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-wrapper,
    .editor-styles-wrapper .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-wrapper {
        max-width: 1200px !important; /* 3×384px + 2×24px gaps */
        overflow: hidden !important;
    }
    
    .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-card,
    .editor-styles-wrapper .wp-block-neve-child-case-studies.carousel-enabled .neve-case-studies-card {
        width: 384px !important; /* Desktop card width */
        max-width: 384px !important;
        min-width: 384px !important;
        flex-shrink: 0 !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-track,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-track {
        flex-direction: row !important;
        gap: 24px !important;
    }
    
    /* Non-carousel mode: 3 equal cards */
    .wp-block-neve-child-case-studies:not(.carousel-enabled) .neve-case-studies-card,
    .editor-styles-wrapper .wp-block-neve-child-case-studies:not(.carousel-enabled) .neve-case-studies-card {
        flex: 1 !important;
        width: auto !important;
        max-width: 384px !important;
    }
    


    .wp-block-neve-child-case-studies .neve-case-studies-title,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-title {
        font-size: 45px !important;
        font-weight: 600 !important;
        line-height: 142% !important;
        letter-spacing: -0.01em !important;
        text-align: center !important;
        color: #303030 !important;
    }
}

/* Large desktop styles - Exact Figma Frame 57 Match */
@media (min-width: 1440px) {
    .wp-block-neve-child-case-studies .neve-case-studies-container,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-container {
        /* Exact Figma: 1440px container with 120px padding */
        max-width: 1440px !important;
        padding: 0 120px !important; /* Exact Figma padding */
        min-height: 707px !important; /* Exact Figma height */
    }
    
    /* Navigation arrows - Positioned outside container on tablet */
    .wp-block-neve-child-case-studies .neve-case-studies-nav-prev,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav-prev {
        left: -70px !important; /* Position outside container on tablet */
    }

    .wp-block-neve-child-case-studies .neve-case-studies-nav-next,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav-next {
        right: -70px !important; /* Position outside container on tablet */
    }

    .wp-block-neve-child-case-studies .neve-case-studies-header,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-header {
        text-align: left !important;
        margin-bottom: 50px !important; /* Add spacing instead of absolute positioning */
        position: relative !important; /* Changed from absolute to relative */
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 0 !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-title,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-title {
        font-size: 45px !important;
        font-weight: 600 !important;
        line-height: 142% !important;
        letter-spacing: -0.01em !important;
        text-align: center !important;
        color: #303030 !important;
        margin: 0 !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-carousel,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-carousel {
        position: relative !important; /* Changed from absolute to relative */
        width: 100% !important;
        max-width: 1200px !important;
        margin: 0 auto !important;
        display: flex !important;
        align-items: center !important;
        gap: 24px !important;
        min-height: 464px !important; /* Maintain minimum height */
    }

    /* Navigation arrows positioning for large screens only */

    .wp-block-neve-child-case-studies .neve-case-studies-nav-prev,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav-prev {
        left: -80px !important; /* Position completely outside container on large screens */
    }

    .wp-block-neve-child-case-studies .neve-case-studies-nav-next,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-nav-next {
        right: -80px !important; /* Position completely outside container on large screens */
    }

    .wp-block-neve-child-case-studies .neve-case-studies-track,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-track {
        display: flex !important; /* Figma layoutMode: HORIZONTAL */
        flex-direction: row !important;
        gap: 24px !important; /* Exact Figma itemSpacing */
        width: auto !important; /* Width calculated by JavaScript for infinite loop */
        height: 100% !important;
        position: relative !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-card,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card {
        /* Each card: 384x464 with layoutGrow: 1 */
        width: 384px !important; /* Exact Figma width */
        height: 464px !important; /* Exact Figma height */
        flex: 1 !important; /* layoutGrow: 1 */
        min-width: 384px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important; /* itemSpacing between image and content */
    }

    .wp-block-neve-child-case-studies .neve-case-studies-card-image,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-image {
        /* Frame 7: 384x216 with cornerRadius: 32 */
        width: 384px !important; /* Exact Figma width */
        height: 216px !important; /* Exact Figma height */
        background-color: rgb(242, 227, 214) !important; /* Exact Figma: r:0.9493, g:0.8922, b:0.8388 */
        border-radius: 32px !important; /* Exact Figma cornerRadius */
        margin-bottom: 0 !important; /* Remove margin, use gap instead */
        position: relative !important;
        overflow: hidden !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-card-content,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-content {
        /* Frame 27: 384x224 */
        width: 384px !important; /* Exact Figma width */
        height: 224px !important; /* Exact Figma height */
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important; /* itemSpacing between text and button */
        flex-grow: 0 !important; /* Override flex-grow */
    }

    .wp-block-neve-child-case-studies .neve-case-studies-card-text,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-text {
        /* Frame 30: 384x164 */
        width: 384px !important; /* Exact Figma width */
        height: 164px !important; /* Exact Figma height */
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important; /* itemSpacing between title and excerpt */
        margin-bottom: 0 !important; /* Remove margin, use gap instead */
        flex-grow: 0 !important; /* Override flex-grow */
    }

    .wp-block-neve-child-case-studies .neve-case-studies-card-title,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-title {
        /* Title: 384x88 */
        width: 384px !important; /* Exact Figma width */
        height: 88px !important; /* Exact Figma height */
        font-size: 24px !important; /* Enhanced for large screens */
        font-weight: 600 !important;
        line-height: 1.375 !important; /* Approximate for 88px height */
        color: rgb(42, 52, 71) !important; /* Exact Figma: r:0.1661, g:0.2035, b:0.2783 */
        margin: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-card-excerpt,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-excerpt {
        /* Description: 384x72 */
        width: 384px !important; /* Exact Figma width */
        height: 72px !important; /* Exact Figma height */
        font-size: 16px !important; /* Enhanced for large screens */
        line-height: 1.5 !important; /* 72px / 16px / 3 lines = 1.5 */
        color: rgb(42, 52, 71) !important; /* Same as title color */
        margin: 0 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-card-footer,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-card-footer {
        /* Button positioned at x:225, y:168 relative to card content */
        position: relative !important;
        width: 384px !important;
        height: 56px !important;
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin: 0 !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-button,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-button {
        /* Button: 159x56 positioned at x:225 (225/384 = 58.6% from left) */
        width: 159px !important; /* Exact Figma width */
        height: 56px !important; /* Exact Figma height */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important; /* itemSpacing */
        padding: 16px 24px !important; /* Internal padding */
        background: none !important;
        border: none !important;
        border-radius: 100px !important; /* Exact Figma cornerRadius */
        color: #000 !important;
        font-size: 16px !important; /* Enhanced for large screens */
        font-weight: 500 !important;
        text-decoration: none !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        position: absolute !important;
        right: 0 !important; /* Align to right edge */
        box-sizing: border-box !important;
    }

    .wp-block-neve-child-case-studies .neve-case-studies-arrow,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-arrow {
        /* Icon: 24x24 */
        width: 24px !important; /* Exact Figma */
        height: 24px !important; /* Exact Figma */
        flex-shrink: 0 !important;
    }

    /* Category tag - Frame 56: 110x40 positioned at x:16, y:16 */
    .wp-block-neve-child-case-studies .neve-case-studies-category-tag,
    .editor-styles-wrapper .wp-block-neve-child-case-studies .neve-case-studies-category-tag {
        width: 110px !important; /* Exact Figma width */
        height: 40px !important; /* Exact Figma height */
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background-color: rgb(255, 199, 150) !important; /* Exact Figma: r: 1, g: 0.7795760035514832, b: 0.5867045521736145 */
        color: #000 !important;
        padding: 8px !important; /* Internal padding from Figma children positioning */
        border-radius: 100px !important; /* Exact Figma cornerRadius */
        font-size: 16px !important; /* Enhanced for large screens */
        font-weight: 500 !important;
        line-height: 1.5 !important;
        font-family: var(--proxima-nova-font) !important;
        position: absolute !important;
        top: 16px !important; /* Figma positioning: y: 16 */
        left: 16px !important; /* Figma positioning: x: 16 */
        z-index: 2 !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   Logo Carousel Block Styles (Mobile First)
   ========================================================================== */

.wp-block-neve-child-logo-carousel,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-block,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-block {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 24px 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    position: relative !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-container,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-container {
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 80px !important; /* Exact Figma itemSpacing between header and logos */
}

/* Header Section */
.wp-block-neve-child-logo-carousel .neve-logo-carousel-header,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-header {
    width: 100% !important;
    padding: 0 !important;
    border-radius: 32px !important; /* Exact Figma cornerRadius */
    box-sizing: border-box !important;
    background: transparent !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-content,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 80px !important; /* Exact Figma itemSpacing */
    align-items: flex-start !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-text,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-text {
    flex: 1 !important;
    max-width: 583px !important; /* Exact Figma width */
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-title,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-title {
    font-size: 57px !important;
    font-weight: 600 !important;
    line-height: 112% !important; /* 1.12 */
    letter-spacing: 0em !important;
    color: #1e1e1e !important;
    margin: 0 !important;
    font-family: var(--proxima-nova-font) !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-info,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-info {
    flex: 1 !important;
    max-width: 537px !important; /* Exact Figma width */
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important; /* Exact Figma itemSpacing */
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-subtitle,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-subtitle {
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 127% !important; /* 1.27 */
    color: #1e1e1e !important;
    margin: 0 !important;
    font-family: var(--proxima-nova-font) !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-cta,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-cta {
    display: flex !important;
    align-items: flex-start !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-button,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    background-color: #000 !important; /* Exact Figma black */
    color: #fff !important;
    border-radius: 100px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    line-height: 150% !important; /* 1.5 */
    letter-spacing: 0.01em !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    min-width: 168px !important; /* Exact Figma width */
    min-height: 56px !important; /* Exact Figma height */
    box-sizing: border-box !important;
    font-family: var(--proxima-nova-font) !important;
    justify-content: center !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-button:hover,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-button:hover {
    background-color: rgb(51, 51, 51) !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
}

/* Logo carousel icon removed - button no longer has icon */

/* Logo Carousel Section */
.wp-block-neve-child-logo-carousel .neve-logo-carousel-wrapper,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-wrapper {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-track,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-track {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-logos,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-logos {
    display: flex !important;
    gap: 24px !important; /* Exact Figma itemSpacing */
    transition: transform 0.8s ease-in-out !important; /* Smoother, slower transition */
    will-change: transform !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-logo,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-logo {
    flex-shrink: 0 !important;
    width: 348px !important; /* Exact Figma width */
    height: 180px !important; /* Exact Figma height */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important; /* Remove border/outline */
    border-radius: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-image,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-image {
    max-width: 80% !important;
    max-height: 80% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(100%) !important;
    opacity: 0.7 !important;
    transition: filter 0.3s ease, opacity 0.3s ease !important;
    border: none !important; /* Remove any image borders */
    outline: none !important; /* Remove any image outlines */
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-logo:hover .neve-logo-carousel-image,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-logo:hover .neve-logo-carousel-image {
    filter: grayscale(0%) !important;
    opacity: 1 !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-placeholder,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-placeholder {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0.5 !important;
}

/* Navigation arrows - enhanced visibility */
.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important; /* Transparent background */
    border: none !important; /* Border removed */
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important; /* Circular for better visibility */
    display: flex !important; /* Back to flex for better centering */
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #333 !important;
    z-index: 100 !important; /* Higher z-index */
    outline: none !important;
    opacity: 1 !important; /* Full opacity for visibility */
    transition: all 0.3s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    box-shadow: none !important; /* Box shadow removed */
}

/* SVG arrows styling for enhanced visibility */
.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav svg,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav svg {
    width: 16px !important;
    height: 16px !important;
    color: inherit !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2px !important; /* Cleaner stroke width */
    stroke-linecap: round !important; /* Rounded line ends for cleaner look */
    stroke-linejoin: round !important; /* Rounded joins */
    display: block !important;
    flex-shrink: 0 !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav:hover,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav:hover {
    background: transparent !important; /* Transparent background */
    border: none !important; /* Border removed */
    color: #000 !important;
    box-shadow: none !important; /* Box shadow removed */
    transform: translateY(-50%) scale(1.05) !important; /* Subtle scale effect */
}

/* Specific positioning for navigation arrows */
.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev {
    left: 0 !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next {
    right: 0 !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav:disabled,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev {
    left: -24px !important;
}

.wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next,
.editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next {
    right: -24px !important;
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .wp-block-neve-child-logo-carousel .neve-logo-carousel-container,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-container {
        gap: 40px !important;
        padding: 0 16px !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-content,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-content {
        flex-direction: column !important;
        gap: 24px !important;
        text-align: center !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-text,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-text {
        max-width: 100% !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-info,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-info {
        max-width: 100% !important;
        align-items: center !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-title,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-title {
        font-size: 32px !important; /* Scaled down for mobile but maintain proportion */
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-logo,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-logo {
        width: 280px !important;
        height: 140px !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav {
        display: none !important; /* Hide navigation on mobile */
    }
}

/* Tablet styles */
@media (min-width: 768px) {
    .wp-block-neve-child-logo-carousel .neve-logo-carousel-container,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-container {
        padding: 0 40px !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-content,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-content {
        flex-direction: row !important;
        align-items: flex-start !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-title,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-title {
        font-size: 40px;
    }

    /* Better positioning for navigation arrows on tablet */
    .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev {
        left: 0 !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next {
        right: 0 !important;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .wp-block-neve-child-logo-carousel .neve-logo-carousel-container,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-container {
        padding: 0 80px !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-title,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-title {
        font-size: 48px;
    }

    /* Optimal positioning for navigation arrows on desktop */
    .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-prev {
        left: 0 !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-nav-next {
        right: 0 !important;
    }
}

/* Large desktop styles */
@media (min-width: 1440px) {
    .wp-block-neve-child-logo-carousel .neve-logo-carousel-container,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-container {
        padding: 0 120px !important;
    }

    .wp-block-neve-child-logo-carousel .neve-logo-carousel-title,
    .editor-styles-wrapper .wp-block-neve-child-logo-carousel .neve-logo-carousel-title {
        font-size: 56px;
    }
}

/* ==========================================================================
   CREDENTIALS BLOCK STYLES - Mobile First (Exact Figma Implementation)
   ========================================================================== */

.wp-block-neve-child-credentials,
.editor-styles-wrapper .wp-block-neve-child-credentials {
    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.wp-block-neve-child-credentials .neve-credentials-block,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-block {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background: transparent !important;
    position: relative !important;
}

.wp-block-neve-child-credentials .neve-credentials-container,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-container {
    width: 100% !important;
    max-width: 1200px !important; /* Exact Figma width */
    margin: 0 auto !important;
    padding: 60px 20px !important; /* Mobile padding */
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border-radius: 32px !important; /* Exact Figma cornerRadius */
    min-height: 400px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 24px !important; /* Exact Figma itemSpacing */
    text-align: center !important;
}

.wp-block-neve-child-credentials .neve-credentials-content,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-content {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important;
    max-width: 100% !important;
}

.wp-block-neve-child-credentials .neve-credentials-heading,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-heading {
    font-size: 45px !important;
    font-weight: 600 !important;
    line-height: 116% !important;
    letter-spacing: -0.01em !important;
    color: #1e1e1e !important;
    margin: 0 !important;
    text-align: center !important;
    font-family: var(--proxima-nova-font) !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.wp-block-neve-child-credentials .neve-credentials-description,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-description {
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 127% !important;
    color: #1e1e1e !important;
    margin: 0 !important;
    text-align: center !important;
    font-family: var(--proxima-nova-font) !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.wp-block-neve-child-credentials .neve-credentials-logo,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-neve-child-credentials .neve-credentials-logo img,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo img {
    width: 324px !important;
    height: 225px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Placeholder for when no logo is uploaded */
.wp-block-neve-child-credentials .neve-credentials-logo-placeholder,
.editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo-placeholder {
    border: 2px dashed #ddd !important;
    border-radius: 8px !important;
    padding: 40px !important;
    text-align: center !important;
    color: #666 !important;
    background-color: #f9f9f9 !important;
    max-width: 200px !important;
    height: 150px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin: 0 auto !important;
    font-size: 14px;
    font-family: var(--proxima-nova-font) !important;
}

/* Tablet styles */
@media (min-width: 768px) {
    .wp-block-neve-child-credentials .neve-credentials-container,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-container {
        padding: 70px 40px !important;
        min-height: 450px !important;
    }

    .wp-block-neve-child-credentials .neve-credentials-heading,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-heading {
        font-size: 45px !important;
        font-weight: 600 !important;
        line-height: 116% !important;
        letter-spacing: -0.01em !important;
        max-width: 900px !important;
    }

    .wp-block-neve-child-credentials .neve-credentials-description,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-description {
        font-size: 22px !important;
        font-weight: 400 !important;
        line-height: 127% !important;
        max-width: 600px !important;
    }

    .wp-block-neve-child-credentials .neve-credentials-logo img,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo img {
        width: 324px !important;
        height: 225px !important;
    }

    .wp-block-neve-child-credentials .neve-credentials-logo-placeholder,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo-placeholder {
        width: 324px !important;
        height: 225px !important;
    }
}

/* Desktop styles */
@media (min-width: 1024px) {
    .wp-block-neve-child-credentials .neve-credentials-container,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-container {
        padding: 80px 36px !important; /* Exact Figma values */
        min-height: 525px !important; /* Exact Figma height */
    }

    .wp-block-neve-child-credentials .neve-credentials-heading,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-heading {
        font-size: 45px !important;
        font-weight: 600 !important;
        line-height: 116% !important;
        letter-spacing: -0.01em !important;
        max-width: 1128px !important;
    }

    .wp-block-neve-child-credentials .neve-credentials-description,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-description {
        font-size: 22px !important;
        font-weight: 400 !important;
        line-height: 127% !important;
        max-width: 800px !important;
    }

    .wp-block-neve-child-credentials .neve-credentials-logo img,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo img {
        width: 324px !important;
        height: 225px !important;
    }

    .wp-block-neve-child-credentials .neve-credentials-logo-placeholder,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo-placeholder {
        width: 324px !important;
        height: 225px !important;
    }
}

/* Large desktop styles */
@media (min-width: 1440px) {
    .wp-block-neve-child-credentials .neve-credentials-heading,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-heading {
        font-size: 45px !important;
        font-weight: 600 !important;
        line-height: 116% !important;
        letter-spacing: -0.01em !important;
    }
}

/* ==========================================================================
   Credentials Block - Mobile Responsive Styles
   ========================================================================== */

/* Mobile (768px and below) */
@media (max-width: 768px) {
    .wp-block-neve-child-credentials,
    .editor-styles-wrapper .wp-block-neve-child-credentials {
        padding: 16px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-container,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-container {
        padding: 32px 20px !important;
        min-height: 300px !important;
        text-align: center !important;
        gap: 24px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-heading,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-heading {
        font-size: 32px !important;
        line-height: 1.2 !important;
        letter-spacing: -0.01em !important;
        margin-bottom: 16px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-description,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-description {
        font-size: 18px !important;
        line-height: 1.4 !important;
        margin-bottom: 24px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-logo img,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo img {
        width: 280px !important;
        height: auto !important;
        max-height: 200px !important;
        object-fit: contain !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-logo-placeholder,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo-placeholder {
        width: 280px !important;
        height: 200px !important;
    }
}

/* Small mobile (480px and below) */
@media (max-width: 480px) {
    .wp-block-neve-child-credentials .neve-credentials-container,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-container {
        padding: 24px 16px !important;
        gap: 20px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-heading,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-heading {
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-bottom: 12px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-description,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-description {
        font-size: 16px !important;
        line-height: 1.4 !important;
        margin-bottom: 20px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-logo img,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo img {
        width: 240px !important;
        max-height: 170px !important;
    }
    
    .wp-block-neve-child-credentials .neve-credentials-logo-placeholder,
    .editor-styles-wrapper .wp-block-neve-child-credentials .neve-credentials-logo-placeholder {
        width: 240px !important;
        height: 170px !important;
    }
}

/* ==========================================================================
   CTA HERO BLOCK STYLES
   ========================================================================== */

/* Base styles */
.wp-block-neve-child-cta-hero,
.editor-styles-wrapper .wp-block-neve-child-cta-hero {
    font-family: var(--proxima-nova-font) !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-block,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-block {
    width: 100% !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    padding: 64px 120px !important; /* Figma: x:120, y:64 */
    box-sizing: border-box !important;
    background: transparent !important;
    position: relative !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-container,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-container {
    width: 100% !important;
    max-width: 1200px !important; /* Figma width:1200 */
    height: 404px !important; /* Figma height:404 */
    margin: 0 auto !important;
    padding: 80px 36px !important; /* Figma: x:36, y:80 for inner content */
    box-sizing: border-box !important;
    background-color: #B2C3E4 !important; /* Figma: r: 0.699, g: 0.764, b: 0.892 */
    border-radius: 32px !important; /* Figma cornerRadius:32 */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-content,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-content {
    width: 100% !important;
    max-width: 1128px !important; /* Figma width for content */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 16px !important; /* Figma itemSpacing:16 */
    text-align: center !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-heading,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-heading {
    font-size: 57px !important;
    font-weight: 600 !important;
    line-height: 112% !important;
    letter-spacing: 0em !important;
    color: #2a3447 !important;
    margin: 0 !important;
    text-align: center !important;
    font-family: var(--proxima-nova-font) !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 1015px !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-description,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-description {
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 127% !important;
    color: #2a3447 !important;
    margin: 0 !important;
    text-align: center !important;
    font-family: var(--proxima-nova-font) !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 1128px !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-button-wrapper,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-button,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 100px !important;
    font-family: var(--proxima-nova-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 150% !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 113px !important; /* Figma button width */
    height: 56px !important; /* Figma button height */
    box-sizing: border-box !important;
    box-shadow: none !important; /* Default state: no shadow */
    text-align: center !important;
}

.wp-block-neve-child-cta-hero .neve-cta-hero-button:hover,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button:hover {
    background-color: #ffffff !important;
    box-shadow: 0px 1px 4px rgba(12, 12, 13, 0.05) !important; /* Figma: radius:4, offset:{x:0, y:1}, color:rgba(0.047, 0.047, 0.051, 0.05) */
    transform: none !important; /* Remove translateY, shadow provides the elevation effect */
}

.wp-block-neve-child-cta-hero .neve-cta-hero-button:focus,
.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button:focus {
    outline: 2px solid #2A3447 !important;
    outline-offset: 2px !important;
}



/* Responsive styles */
@media (max-width: 768px) {
    .wp-block-neve-child-cta-hero .neve-cta-hero-block,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-block {
        padding: 32px 20px !important;
    }

    .wp-block-neve-child-cta-hero .neve-cta-hero-container,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-container {
        padding: 40px 20px !important;
        height: auto !important;
        min-height: 300px !important;
    }

    .wp-block-neve-child-cta-hero .neve-cta-hero-heading,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-heading {
        font-size: 36px !important;
        font-weight: 600 !important;
        line-height: 112% !important;
        letter-spacing: 0em !important;
    }

    .wp-block-neve-child-cta-hero .neve-cta-hero-description,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-description {
        font-size: 18px !important;
        font-weight: 400 !important;
        line-height: 127% !important;
    }

    .wp-block-neve-child-cta-hero .neve-cta-hero-button,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button {
        width: auto !important;
        min-width: 113px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wp-block-neve-child-cta-hero .neve-cta-hero-block,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-block {
        padding: 48px 60px !important;
    }

    .wp-block-neve-child-cta-hero .neve-cta-hero-container,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-container {
        padding: 60px 30px !important;
    }

    .wp-block-neve-child-cta-hero .neve-cta-hero-heading,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-heading {
        font-size: 48px !important;
        font-weight: 600 !important;
        line-height: 112% !important;
        letter-spacing: 0em !important;
    }

    .wp-block-neve-child-cta-hero .neve-cta-hero-description,
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-description {
        font-size: 20px !important;
        font-weight: 400 !important;
        line-height: 127% !important;
    }
}

/* ===== EDITOR/BACKEND STYLES FOR CTA HERO ===== */
.editor-styles-wrapper .wp-block-neve-child-cta-hero {
    max-width: 100%;
    margin: 40px 0;
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-block {
    position: relative;
    background: transparent;
    padding: 40px 20px;
    box-sizing: border-box;
    max-width: 1200px;
    margin: 0 auto;
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-container {
    background-color: #B2C3E4 !important;
    border-radius: 32px;
    padding: 40px 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-heading {
    font-size: 57px;
    font-weight: 600;
    line-height: 112%;
    letter-spacing: 0em;
    color: #2a3447;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: var(--proxima-nova-font);
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-description {
    font-size: 22px;
    font-weight: 400;
    line-height: 127%;
    color: #2a3447;
    margin: 0;
    padding: 0;
    text-align: center;
    font-family: var(--proxima-nova-font);
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 100px;
    font-family: var(--proxima-nova-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 150%;
    text-decoration: none;
    cursor: pointer;
    width: 113px;
    height: 56px;
    box-sizing: border-box;
    box-shadow: none;
    transition: all 0.2s ease;
    text-align: center;
}

.editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-button:hover {
    box-shadow: 0px 1px 4px rgba(12, 12, 13, 0.05);
}

/* Responsive backend styles */
@media (max-width: 768px) {
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-heading {
        font-size: 36px;
        font-weight: 600;
        line-height: 112%;
        letter-spacing: 0em;
    }

    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-description {
        font-size: 18px;
        font-weight: 400;
        line-height: 127%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-heading {
        font-size: 48px;
        font-weight: 600;
        line-height: 112%;
        letter-spacing: 0em;
    }

    .editor-styles-wrapper .wp-block-neve-child-cta-hero .neve-cta-hero-description {
        font-size: 20px;
        font-weight: 400;
        line-height: 127%;
    }
}