/* Expandable Flex Container Styles */
.efc-container-wrapper-c3207cef {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
}

.efc-container-content-c3207cef {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hidden elements with overflow:hidden during collapsed state */
.efc-container-content-c3207cef.efc-collapsed {
    overflow: hidden !important;
}

/* Background overlay during collapsed state */
.efc-container-overlay-c3207cef {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.9) 100%);
    pointer-events: none;
    opacity: 0; /* Default invisible, toggled by script or styles */
    transition: opacity 0.3s ease;
    z-index: 2;
}

/* Show gradient overlay only when collapsed and overflow is hidden */
.efc-container-content-c3207cef.efc-collapsed .efc-container-overlay-c3207cef {
    opacity: 1;
}

/* Item styling */
.efc-item-card-c3207cef {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.efc-item-title-c3207cef {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.efc-item-desc-c3207cef {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Button positioning wrapper */
.efc-button-container-c3207cef {
    margin-top: 20px;
    position: relative;
    z-index: 3;
}

/* Hide button when not needed */
.efc-button-container-c3207cef.efc-hidden {
    display: none !important;
}

/* Button style */
.efc-toggle-btn-c3207cef {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}
