.ads-3945-wrapper {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: var(--e-global-typography-primary-font-family), sans-serif;
}

.ads-3945-header {
    text-align: center;
    margin-bottom: 60px;
}

.ads-3945-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--e-global-color-primary);
    line-height: 1.2;
}

.ads-3945-subtitle {
    font-size: 1.2rem;
    color: var(--e-global-color-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.ads-3945-layout {
    display: flex;
    align-items: stretch; /* Make both columns stretch to match height */
    gap: 50px;
}

.ads-3945-image-col {
    flex: 1;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    min-height: 500px; /* Ensure a minimum height to prevent shifting */
}

.ads-3945-image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ads-3945-image-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.ads-3945-image-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ads-3945-tabs-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 500px; /* Match image col height to stabilize layout */
}

.ads-3945-tab {
    padding: 25px 30px;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.ads-3945-tab-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #9ca3af; /* Default unselected color */
    margin: 0;
    transition: color 0.3s ease;
}

.ads-3945-tab-content-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease; /* Smoother, absolute transition */
}

.ads-3945-tab-desc {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 15px 0 0 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Active State */
.ads-3945-tab.is-active {
    border-left-color: var(--e-global-color-accent, #3b82f6);
    background-color: #f9fafb;
    border-radius: 0 12px 12px 0;
}

.ads-3945-tab.is-active .ads-3945-tab-title {
    color: var(--e-global-color-primary, #111827);
}

.ads-3945-tab.is-active .ads-3945-tab-content-wrap {
    max-height: 200px; /* Give a fixed max-height that's enough for content, but doesn't over-expand */
}

.ads-3945-tab.is-active .ads-3945-tab-desc {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

@media (max-width: 992px) {
    .ads-3945-layout {
        flex-direction: column;
    }
    
    .ads-3945-image-col {
        width: 100%;
        margin-bottom: 30px;
        min-height: 350px;
        aspect-ratio: 4/3;
    }
    
    .ads-3945-tabs-col {
        min-height: auto;
    }
}
