#advantages.home-benefits {
    container: home-benefits / inline-size;
    background: #f3f6fa;
    border-radius: 8px;
    padding: 24px;
    margin-block: 20px;
    box-sizing: border-box;
}
#advantages.home-benefits .home-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}
#advantages.home-benefits .home-benefits__card {
    display: grid;
    grid-template-areas: "icon" "title" "text";
    grid-template-rows: 44px auto 1fr;
    gap: 14px;
    min-width: 0;
    width: auto;
    max-width: none;
    float: none;
    margin: 0;
    padding: 20px;
    background: #fff;
    border: 1px solid #dfe7f1 !important;
    border-radius: 8px;
    box-shadow: none;
    text-align: left;
    overflow-wrap: anywhere;
}
#advantages.home-benefits .home-benefits__card h4 {
    grid-area: title;
    color: #1752a3;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    text-align: left;
    text-transform: none;
    margin: 0;
    padding: 0;
}
#advantages.home-benefits .home-benefits__card h4::before {
    content: none;
    display: none;
}
#advantages.home-benefits .home-benefits__card p {
    grid-area: text;
    min-width: 0;
    margin: 0;
    color: #303943;
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
}
#advantages.home-benefits .home-benefits__card .ic_about_us {
    grid-area: icon;
    position: static !important;
    inset: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    color: #1752a3;
    background: #eaf1fb;
    border-radius: 8px;
    font-size: 25px;
}
@container home-benefits (min-width: 1100px) {
    #advantages.home-benefits .home-benefits__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@container home-benefits (max-width: 640px) {
    #advantages.home-benefits .home-benefits__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    #advantages.home-benefits .home-benefits__card {
        grid-template-areas: "icon title" "text text";
        grid-template-columns: 38px minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        column-gap: 12px;
        padding: 18px;
    }
    #advantages.home-benefits .home-benefits__card h4 {
        align-self: center;
        font-size: 17px;
    }
    #advantages.home-benefits .home-benefits__card .ic_about_us {
        width: 38px;
        height: 38px;
        font-size: 24px;
    }
}
@media (max-width: 640px) {
    #advantages.home-benefits {
        padding: 16px;
    }
}
