.home-third6 {
    background-color: var(--SECONDARY_MINOR_COLOR);
}

.home-third6__container {
    max-width: var(--CONTAINER_WIDTH);
    margin: 0px auto;
    padding: 60px 20px;
}

@media (min-width: 992px) {
    .home-third6__row {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }
}

.home-third6__row-item {
    padding: 25px;
    width: 100%;
}

@media (min-width: 992px) {
    .home-third6__row-item {
        flex: 0 0 50%;
    }
}

.home-third6__card {
    max-width: 380px;
    margin: 0px auto;
}

@media (min-width: 992px) {
    .home-third6__card {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.home-third6__picture {
    max-width: 100%;
}

@media (min-width: 992px) {
    .home-third6__picture {
        flex: 0 0 300px;
    }
}

.home-third6__picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-third6__text-block {
    padding: 20px 20px 20px 30px;
    transition: all 0.3s ease 0s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: var(--SECONDARY_MAJOR_COLOR);
}

@media (min-width: 576px) {
    .home-third6__text-block {
        padding: 30px 30px 30px 40px;
    }
}

@media (min-width: 992px) {
    .home-third6__text-block {
        flex: 1 1 100%;
    }
}

.home-third6__card-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 140%;
    transition: all 0.3s ease 0s;
    margin-bottom: 10px;
    color: var(--SECONDARY_MINOR_COLOR);
    font-family: var(--TITLE_FONT);
}

@media (min-width: 576px) {
    .home-third6__card-title {
        font-size: 32px;
    }
}

.home-third6__card-text {
    font-size: 14px;
    line-height: 140%;
    transition: all 0.3s ease 0s;
    margin-bottom: 20px;
    color: var(--SECONDARY_MINOR_COLOR);
}

@media (min-width: 576px) {
    .home-third6__card-text {
        font-size: 16px;
    }
}

.home-third6__button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    line-height: 23px;
    transition: all 0.3s ease 0s;
    border-radius: 5px;
    text-decoration: var(--TEXT_DECORATION);
    background-color: var(--PRIMARY_MAJOR_COLOR);
    color: var(--PRIMARY_MINOR_COLOR);
}

@media (min-width: 576px) {
    .home-third6__button {
        padding: 15px 40px;
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .home-third6__button:hover {
        text-decoration: var(--TEXT_DECORATION);
        background-color: var(--PRIMARY_MINOR_COLOR);
        color: var(--PRIMARY_MAJOR_COLOR);
    }
}

.home-third6__button span {
    margin-right: 3px;
}

.home-third6__button i {
    font-size: 23px;
}
