﻿﻿.about-card-history {
    padding-bottom: 0px;
}

.about-card-history .about-space-bottom {
    height: 0px;
}

.about-list-cards-history {
    width: 100%;
    margin: 0 auto;
    grid-template-rows: repeat(var(--cards-count), var(--card-height));
    gap: 80px 0;
}

.about-item-card-history .about-card__inner {
    will-change: transform;
    overflow: hidden;
    transform-origin: center top;
    background-color: #ecfae2;
}

.about-list-cards-history
.about-item-card-history:nth-child(2)
.about-card__inner {
    background-color: #daf6c6;
}

.about-list-cards-history
.about-item-card-history:nth-child(3)
.about-card__inner {
    background-color: #c3efa3;
}

.about-item-card-history {
    position: sticky;
    top: 100px;
    background-color: transparent;
    border: none;
}

    .about-item-card-history .about-card__inner .about-content-text {
        transition: filter 0.3s ease;
        will-change: filter;
        padding: 28px 24px;
        display: flex;
        flex-direction: column;
    }

.about-content-text .about-heading .heading {
    color: #015c2e !important;
    margin-bottom: 32px !important;
}

.about-content-text .about-textArea {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 15;
    font-size: 15px;
    line-height: 21px;
    font-family: "Averta-semibold";
    color: #015c2e;
    letter-spacing: -0.03em;
}

.about-item-card-history .about-img img {
    height: 360px;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .about-card-history .about-space-bottom {
        height: 70px;
    }

    .about-card-history {
        padding-bottom: 0px;
    }

    .about-item-card-history .about-card__inner {
        display: flex;
        flex-direction: row;
    }

        .about-item-card-history .about-card__inner .about-content-text {
            padding: 32px 48px;
            width: 50%;
            justify-content: center;
        }

        .about-item-card-history .about-card__inner .about-img {
            width: 50%;
        }


    .about-content-text .about-textArea {
        font-size: 24px;
        line-height: 31.2px;
        letter-spacing: -0.02em;
    }

    .about-list-cards-history {
        display: grid;
    }

    .about-item-card-history .about-img img {
        height: 70dvh;
        min-height: 625px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .about-content-text .about-heading .heading {
        font-size: 52px !important;
    }

    .about-content-text .about-textArea {
        font-size: 17px;
    }
}

@media (min-width: 1201px) and (max-width: 1279px) {
    .about-item-card-history .about-img img {
        min-height: 660px;
    }

    .about-item-card-history .about-card__inner .about-content-text {
        justify-content: center;
        padding: 32px 48px;
    }
}

@media (min-width: 1281px) and (max-width: 1349px) {
    .about-item-card-history .about-card__inner .about-content-text {
        justify-content: center;
        padding: 32px 48px;
    }
}

@media (min-width: 1350px) {
    .about-item-card-history .about-img img {
        min-height: 660px;
    }

    .about-item-card-history .about-card__inner .about-content-text {
        padding: 32px 48px;
        justify-content: space-between;
    }
}
