
.global-block4-section {
    width: 100%;
    padding: 0;
}

.global-block4-content-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.global-block4-section-header {
    text-align: left;
    max-width: 600px;
    margin-bottom: 3rem;
}

.global-block4-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #161632;
}

.global-block4-description p {
    font-size: 16px;
    color: #525F7F;
    line-height: 1.6;
    margin: 0;
    font-family: 'Inter' !important;
}

.global-block4-tabs-container {
    display: flex;
    gap: 4rem;
}

.global-block4-tab-controls {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    width: 45%;
    gap: 0;
}

.global-block4-tab-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.global-block4-tab-control {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 20px;
    border-radius: 12px;
    border: none;
    background-color: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background-color 0.3s ease;
}

.global-block4-tab-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-top: 4px;
}

.global-block4-tab-text {
    flex: 1;
}

.global-block4-tab-text h3 {

    font-size: 24px;
    line-height: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color:#32325D;
}

.global-block4-tab-text p {
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    color:#525F7F;
    line-height: 16px;
}

.global-block4-tab-control:hover {
    background-color: #f9f9ff;
}

.global-block4-tab-control.active {
    background-color: #F5F3FF;
    
}

       body.block-editor-page .global-block4-tab-panel {
        display: none;
    }
 

.global-block4-tab-panel {
    display: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease-out, opacity 0.3s ease, padding 0.3s ease;
    padding: 0;
    margin: 0;
}

.global-block4-tab-panel.active {
    display: block;
    max-height: 600px;
    opacity: 1;
    padding: 1.5rem 1rem;
}

.global-block4-tab-panel img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.global-block4-tab-content-desktop {
    flex-grow: 1;
}

.global-block4-tab-panel-desktop {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 100%;
}

.global-block4-tab-panel-desktop.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

.global-block4-tab-panel-desktop img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.global-block4-tab-icon-lazy{
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background-color: #f0f0f0;
}
.global-block4-lottie-container {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lottie-error {
    color: #6c757d;
    font-size: 14px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.lottie-loading {
    color: #8A7DC8;
    font-size: 14px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    animation: pulse 1.5s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

.global-block4-tab-icon-image {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .global-block4-tabs-container {
        flex-direction: column;
        gap: 0;
    }

    .global-block4-tab-controls {
        width: 100%;
        gap: 0;
    }
    
    .global-block4-tab-wrapper {
        border: 1px solid #e5e7eb;
        margin-bottom: 1rem;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .global-block4-tab-control {
        border-radius: 0;
        padding: 1.25rem;
    }
    
    .global-block4-tab-content-desktop {
        display: none !important;
    }

    .global-block4-tab-panel {
        display: block;
        width: 100%;
    }

    .global-block4-tab-panel.active {
        max-height: 800px;
    }

       body.block-editor-page .global-block4-tab-panel {
        display: none;
    }
    body.block-editor-page .global-block4-tab-panel.active {
        display: inherit;
    }


}

@media (max-width: 768px) {
    /* Responsive styles for global block4 headings and text */
    .global-block4-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }
    
    .global-block4-description p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    .global-block4-tab-text h3 {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .global-block4-tab-text p {
        font-size: 14px !important;
        line-height: 1.5 !important;
    }

    /* Responsive styles for global block4 layout */
    .global-block4-content-wrapper {
        padding: 0 12px;
    }

    .global-block4-tab-control {
        padding: 1rem;
    }

    .global-block4-tab-panel.active {
        padding: 1rem;
    }
    
    body.block-editor-page .global-block4-tab-panel {
        display: none;
    }
    body.block-editor-page .global-block4-tab-panel.active {
        display: inherit;
    }

    .global-block4-lottie-container dotlottie-wc {
        min-height: auto !important;
    }
}

.space-top-1x {
    padding-top: 20px;
}

.space-top-2x {
    padding-top: 40px;
}

.space-top-3x {
    padding-top: 60px;
}

.space-top-4x {
    padding-top: 80px;
}

.space-top-5x {
    padding-top: 100px;
}

.space-bottom-1x {
    padding-bottom: 20px;
}

.space-bottom-2x {
    padding-bottom: 40px;
}

.space-bottom-3x {
    padding-bottom: 60px;
}

.space-bottom-4x {
    padding-bottom: 80px;
}

.space-bottom-5x {
    padding-bottom: 100px;
}
