.excard-section {
    display: flex;
	flex-direction:row-reverse;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
	align-content:center;
	justify-content:center;
    min-height: 400px;
}

.excard-image-column {
    height: fit-content;
}

.excard-image-column.sticky {
    position: sticky;
    top: 2rem;
}

.excard-image-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}



.excard-active-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.excard-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
	width: 100%;
    padding: 1rem;
    margin: auto 0;
}

.excard-card {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
}

.excard-card .card-header {
	display:flex;
	flex-direction:row;
}

.excard-card:first-child {
    margin-top: 0;
}

.excard-card-content {
    padding: 2.5rem 1.5rem 1rem;
    position: relative;
}

.image-container img {
        max-width: 400px;
        height: auto;
}
.excard-card-title {
    font-size: 1.125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.excard-card-title img {
    flex-shrink: 0;
    border-radius: 4px;
}

.excard-card-body {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}
.excard-card.active {
	background-color:#f8f7f2 !important;
}
.excard-card.active .excard-card-body {
    height: 6rem;
    opacity: 1;
}


.excard-cards-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .excard-section {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .excard-image-column {
        width: 100%;
        max-width: 100%;
    }

    .excard-image-wrapper {
        max-width: 100%;
        aspect-ratio: 16/9;
    }

    .excard-cards-wrapper {
        max-width: 100%;
        padding: 0.5rem;
    }

    .excard-card {
        margin-top: -1.5rem;
    }

    .excard-card-content {
        padding: 2rem 1rem 0.75rem;
    }

    .excard-card.active .excard-card-body {
        height: auto;
        max-height: 12rem;
        overflow-y: auto;
    }
}

@media screen and (max-width: 480px) {
    .excard-section {
        gap: 0.5rem;
    }

    .excard-card-content {
        padding: 1.75rem 0.75rem 0.5rem;
    }

    .excard-card-title {
        font-size: 1rem;
    }

    .excard-card.active .excard-card-body {
        max-height: 15rem;
    }
}