.etc-three-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
    width: 100%;
}

.etc-three-card {
    min-width: 0;
    min-height: 450px;
    overflow: hidden;
    border: 3px solid #324b27;
    border-radius: 46px;
    background: #fff0d7;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.etc-three-card:hover,
.etc-three-card:focus-visible {
    color: inherit;
    text-decoration: none;
}

.etc-three-card__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 18px 45px 45px;
    text-align: center;
}

.etc-three-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
}

.etc-three-card__icon img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    max-height: 215px;
    object-fit: contain;
}

.etc-three-card__title {
    margin: 10px 0 25px;
    color: #173f2b;
    font-size: clamp(27px, 2.25vw, 42px);
    font-weight: 700;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.etc-three-card__description {
    color: #173f2b;
    font-size: clamp(18px, 1.3vw, 24px);
    font-weight: 400;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.etc-three-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 12px 24px;
    border-radius: 30px;
    background: #f47000;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.etc-three-card__button:hover,
.etc-three-card__button:focus-visible {
    color: #fff;
    opacity: .92;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .etc-three-cards {
        grid-template-columns: 1fr;
    }

    .etc-three-card {
        min-height: 390px;
    }
}

@media (max-width: 767px) {
    .etc-three-cards {
        gap: 18px;
    }

    .etc-three-card {
        min-height: 350px;
        border-radius: 32px;
    }

    .etc-three-card__inner {
        padding: 18px 24px 34px;
    }

    .etc-three-card__icon {
        min-height: 165px;
    }

    .etc-three-card__icon img {
        width: 150px;
        max-height: 155px;
    }
}
