/* Wrapper layout */
.ica-83622595-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

/* Individual Accordion Item */
.ica-83622595-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 1, 0.5, 1);
    box-sizing: border-box;
}

.ica-83622595-item:focus {
    outline: 2px solid #ffffff;
    outline-offset: -4px;
}

/* Background Image Layer */
.ica-83622595-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1), filter 0.7s ease;
    filter: grayscale(100%);
    z-index: 0;
    /* Increase width to allow for zoom effect without edge revealing */
    min-width: 120%;
    min-height: 120%;
    top: -10%;
    left: -10%;
}

/* Overlay Layer */
.ica-83622595-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: opacity 0.7s ease;
    opacity: 0; /* Default hidden */
}

/* Content Area */
.ica-83622595-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    /* Soft glassmorphism backdrop */
    background: transparent;
    transition: background 0.7s ease;
}

.ica-83622595-header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.ica-83622595-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.ica-83622595-icon svg {
    width: 1em;
    height: 1em;
}

.ica-83622595-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.ica-83622595-title {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* We handle width smoothly via active state */
}

.ica-83622595-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    margin-top: 0;
}

.ica-83622595-intro {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.ica-83622595-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(4px);
}

.ica-83622595-btn:hover {
    background-color: #ffffff;
    color: #000000 !important;
}


/* ACTIVE STATE */
.ica-83622595-item.active {
    flex: 3;
}

.ica-83622595-item.active .ica-83622595-bg {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.ica-83622595-item.active .ica-83622595-content-wrapper {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}

.ica-83622595-item.active .ica-83622595-header {
    transform: translateY(-10px);
}

.ica-83622595-item.active .ica-83622595-content {
    max-height: 300px; /* arbitrary large value to allow smooth opening */
    opacity: 1;
    margin-top: 15px;
    transition: max-height 0.7s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.8s ease 0.2s;
}

.ica-83622595-item.active .ica-83622595-title {
    white-space: normal;
}

/* RESPONSIVE - MOBILE (Stacked Vertical) */
@media (max-width: 767px) {
    .ica-83622595-wrapper {
        flex-direction: column;
    }
    
    .ica-83622595-item {
        flex: 1;
        width: 100%;
        min-height: 100px;
    }
    
    .ica-83622595-item.active {
        flex: 3;
        min-height: 350px;
    }
    
    .ica-83622595-content-wrapper {
        padding: 20px;
    }
    
    .ica-83622595-title {
        font-size: 22px;
        white-space: normal;
    }
}
