/* Swiper container styling */
.about-company-history-swiper {
    position: relative;
}

.about-company-history-swiper .swiper {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-company-history-swiper .swiper-wrapper {
    height: 100%;
}

.about-company-history-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* History slide wrapper */
.history-slide-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.history-slide-text {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Images container - full height */
.history-slide-images {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.history-slide-images img {
    object-fit: cover;
    object-position: center;
    height: auto;
    flex: 1;
}

.history-slide-images img:first-child {
    flex: 0.62;
    width: 62%;
    margin-left: 0;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 0;
}

.history-slide-images img:last-child {
    flex: 0.38;
    width: 38%;
    margin-left: auto;
    margin-right: 0;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .history-slide-wrapper {
        flex-direction: column;
    }

    .history-slide-text {
        margin-right: 0;
        margin-bottom: 20px;
        max-width: 100%;
        min-width: unset;
    }

    .history-slide-images {
        width: 100%;
    }

    .history-slide-images img:first-child {
        width: 100%;
        margin-left: 0;
    }

    .history-slide-images img:last-child {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
    }
}
