/*
    the following variabels can be found in the twi  template
    --flex-direction
    --custom-color

*/
.text-with-icon-list>.field-wrapper {
    width: 100%;
    display: grid;

}


.text-with-icon-item {
    min-width: 90%;
    width: fit-content;
    padding: 1rem;
    display: flex;
    flex: 1;
    gap: 20px;
    border-radius: 16px;
}

.text-with-icon-list.stacked >.field-wrapper {
    grid-template-columns: 1fr;
    row-gap: 30px;

    .text-with-icon-item {

        flex-direction: row;
    }
}

.text-with-icon-list.grid>.field-wrapper {
    grid-template-columns: 1fr 1fr;

    .text-with-icon-item {
        flex-direction: column;
    }
}

.text-with-icon-item .icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

    img {
        width: 100%;
        height: 100%;
    }
}

.text-with-icon-item .content {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.text-with-icon-item h3.text {
    font-size: 24px;
    font-weight: 500;
    color: #1D0705;
}

.text-with-icon-item .description p {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-grey);
}