.ac-12609-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    gap: 10px;
}

.ac-12609-card {
    position: relative;
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    transition: flex 0.5s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.ac-12609-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    transition: opacity 0.5s ease;
    opacity: 0.3;
    z-index: 1;
}

.ac-12609-card.active {
    flex: 4;
}

.ac-12609-card.active::before {
    opacity: 1;
}

.ac-12609-content-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ac-12609-title {
    margin: 0;
    transition: transform 0.5s ease, margin 0.5s ease;
    transform: translateY(0);
}

.ac-12609-inner-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
}

.ac-12609-card.active .ac-12609-inner-content {
    max-height: 500px; /* arbitrary large enough height */
    opacity: 1;
    margin-top: 15px;
}

.ac-12609-btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
}

@media (max-width: 767px) {
    .ac-12609-container {
        flex-direction: column;
        height: auto !important;
    }
    .ac-12609-card {
        height: 100px;
        transition: height 0.5s ease;
    }
    .ac-12609-card.active {
        height: 400px;
    }
}