.content-prednosti {
    max-width: 66.1698rem;
    margin: 2rem auto 0;
    box-sizing: border-box;
    line-height: 1.2;
    padding: 0 1.25rem;
    overflow: hidden;
}

.content-prednosti__collection {
    display: block;
}
.content-prednosti__collection-group {
    display: table;
    width: 50%;
    float: left;
}
.content-prednosti__collection::after {
    content: "";
    display: block;
    clear: both;
}

.content-prednosti__collection-item {
    display: table-cell;
}

.content-prednosti__collection-item-wrap {
    display: inline;
}

.content-prednosti__collection-item-pictogram {
    display: inline-block;
    vertical-align: middle;
    padding-right: 0.6rem;
}

.content-prednosti__collection-item-pictogram-img {
    display: block;
    width: auto;
    height: 3rem;
}

.content-prednosti__collection-item-title {
    display: inline-block;
    vertical-align: middle;
}

@supports (display: flex) {
    .content-prednosti__collection {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.5rem;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .content-prednosti__collection::after {
        display: none;
    }

    .content-prednosti__collection-group {
        display: contents;
        width: auto;
        float: none;
    }

    .content-prednosti__collection-item-wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        column-gap: 0.6rem;
    }

    .content-prednosti__popup {
        position: absolute;
        top: 100px;
        left: 100px;
        line-height: 1.2;
        padding: 0.7rem 1rem;
    }

    .content-prednosti__collection-item {
        display: block;
    }

    .content-prednosti__popup.content-prednosti__popup--horizontal
        .content-prednosti__popup-wrap {
        width: 275px;
    }

    .content-prednosti__popup-body {
        overflow: hidden;
    }

    .content-prednosti__popup.content-prednosti__popup--horizontal
        .content-prednosti__popup-body {
        width: auto;
        height: auto;
    }

    .content-prednosti__popup-wrap {
        position: absolute;
        bottom: 0;
        left: 0;
        border: 1px solid transparent;
        padding: 0.5rem 1rem 1rem;
        border-radius: 15px;
        background-color: transparent;
        display: flex;
        gap: 0;
        overflow: hidden;
    }

    .content-prednosti__popup.content-prednosti__popup--open
        .content-prednosti__popup-wrap {
        background-color: #12181d;
        border-color: #fff;
    }

    .content-prednosti__popup.content-prednosti__popup--effect
        .content-prednosti__popup-wrap {
        transition: border-color .4s ease, background-color .4s ease,
            left .4s ease, width .4s ease, height .4s ease;
    }

    .content-prednosti__popup-wrap--open-process
        .content-prednosti__popup-wrap {
        border-color: #fff;
    }

    .content-prednosti__popup--horizontal .content-prednosti__popup-wrap {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        flex: 0 0 auto;
        width: 100%;
    }

    .content-prednosti__popup--horizontal .content-prednosti__popup-header {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        column-gap: 0.6rem;
    }

    .content-prednosti__popup--horizontal.content-prednosti__popup-wrap--open
        .content-prednosti__popup-body {
        width: 275px;
        height: auto;
        gap: 0;
        flex: 0 0 auto;
    }

    .content-prednosti__popup--horizontal .content-prednosti__popup-body {
        flex: 0 0 auto;
        padding-top: 0;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    .content-prednosti__popup--horizontal
        .content-prednosti__popup-body-description {
        margin-top: 0.6rem;
        border-top: 1px solid transparent;
        padding-top: 0.8rem;
    }

    .content-prednosti__popup--horizontal.content-prednosti__popup--open .content-prednosti__popup-body-description {
        border-color: #434343;
    }

    .content-prednosti__popup.content-prednosti__popup--horizontal.content-prednosti__popup--effect
        .content-prednosti__popup-body-description {
        transition: border-color .4s ease;
    }

    .content-prednosti__popup--vertical .content-prednosti__popup-wrap {
        flex-direction: row;
        justify-content: flex-start;
        gap: 0;
    }

    .content-prednosti__popup--vertical .content-prednosti__popup-header {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: center;
        column-gap: 0.6rem;
        flex: 0 0 auto;
        text-align: center;
    }

    .content-prednosti__popup--vertical .content-prednosti__popup-body {
        flex: 1 1;
        border-left: 1px solid #999;
        padding-left: 1.5rem;
        margin-left: 1.5rem;
        display: flex;
        align-items: center;
    }

    .content-prednosti__popup--vertical.content-prednosti__popup-wrap--open
        .content-prednosti__popup-body {
        width: 200px;
        height: auto;
    }

    .content-prednosti__collection-item-pictogram {
        display: inline;
        vertical-align: baseline;
        padding-right: 0;
    }

    .content-prednosti__collection-item-title {
        display: inline;
        vertical-align: baseline;
    }

    .podstranky-prednosti .content-prednosti {
        margin-bottom: 2rem;
    }

    .content-prednosti__popup-header-pictogram-img {
        display: block;
        width: auto;
        height: 3rem;
    }

    @media screen and (max-width: 1280px) {
        .content-prednosti {
            max-width: 66.1698rem;
            margin: 2rem auto 0;
            box-sizing: border-box;
            line-height: 1.2;
            padding: 0;
        }
        .content-prednosti__collection-item-wrap {
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            justify-content: flex-start;
            align-items: center;
            column-gap: 0.6rem;
        }
        .content-prednosti__collection-item-title {
            text-align: center;
        }
        .content-prednosti__popup-wrap {
            padding: 0.7rem 1rem 1rem;
        }
        .content-prednosti__popup.content-prednosti__popup--effect
            .content-prednosti__popup-wrap {
            transition: border-color 0.4s ease, background-color 0.4s ease,
                width 0.4s ease, height 0.4s ease, left 0.4s ease;
        }
        .content-prednosti__popup.content-prednosti__popup--vertical.content-prednosti__popup--effect
            .content-prednosti__popup-body {
            transition: border-color 0.4s ease;
        }

        .content-prednosti__popup.content-prednosti__popup--vertical.content-prednosti__popup--close.content-prednosti__popup--effect
            .content-prednosti__popup-body {
            border-color: transparent;
        }
    }

    @media screen and (max-width: 920px) {
        .content-prednosti {
            margin-top: 2rem;
            margin-bottom: 1rem;
        }
        .content-prednosti__collection {
            display: flex;
            justify-content: flex-start;
            align-items: stretch;
            gap: 1.5rem;
            flex-direction: column;
            flex-wrap: nowrap;
        }
        .content-prednosti__collection-group {
            display: flex;
            flex-direction: row;
            justify-content: space-around;
            column-gap: 0;
            flex-wrap: nowrap;
        }
        .content-prednosti__collection-item {
            flex: 1 1;
            display: flex;
            justify-content: center;
        }
        /*.content-prednosti__collection-item:nth-child(2) {
            flex: 0 0 auto;
        }*/
        .content-prednosti__popup.content-prednosti__popup--vertical
            .content-prednosti__popup-wrap {
            transition: none;
        }
        .content-prednosti__popup.content-prednosti__popup--vertical.content-prednosti__popup--effect
            .content-prednosti__popup-wrap {
            transition: height 0.4s ease, width 0.4s ease, left 0.4s ease,
                right 0.4s ease, border-color 0.4s ease,
                background-color 0.4s ease;
        }

        .content-prednosti__popup--vertical.content-prednosti__popup--effect
            .content-prednosti__popup-body {
            flex: 1 1;
        }

        .content-prednosti__popup.content-prednosti__popup--vertical.content-prednosti__popup--effect
            .content-prednosti__popup-body {
            transition: border-color 0.4s ease;
        }

        .content-prednosti__popup.content-prednosti__popup--vertical.content-prednosti__popup--close.content-prednosti__popup--effect
            .content-prednosti__popup-body {
            border-color: transparent;
        }
    }

    @media screen and (max-width: 800px) {
        .content-prednosti {
            margin-top: 0;
        }
    }
}
