/* Block "Prime" (can be used inside or outside the header) */
.b-prime {
    width: 100%
}

.b-prime--bg-white {
    background: #fff;
}

.b-prime__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 15px 60px;
}

.b-prime__container > :last-child {
    margin-bottom: 0
}

.b-prime__container--thin {
    padding-top: 10px;
    padding-bottom: 10px;
}

.b-prime__title {
    font-weight: 500;
    line-height: 80px;
    font-size: 64px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: #5fd4ff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, .3);
    margin: 0 0 16px
}

.b-prime__desc {
    line-height: 28px;
    font-size: 24px;
    text-align: center;
    letter-spacing: .02em;
    color: #fff;
    margin: 0 0 90px;
    width: 100%
}

.b-prime__item,
.b-prime__items {
    display: flex
}

.b-prime__items {
    width: 100%;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0
}

.b-prime__item {
    flex-direction: column;
    justify-content: space-between;
    margin: 0 16px 50px 0;
    width: calc((99.9% - 2 * 16px) / 3);
    max-width: 340px;
    min-height: 92px;
    padding: 0 16px;
    border-left: 4px solid
}

.b-prime__item:nth-child(odd) {
    border-left-color: #486e91
}

.b-prime__item:nth-child(even) {
    border-left-color: #00c6c3
}

.b-prime__item:nth-child(3n) {
    margin-right: 0
}

.b-prime__count {
    line-height: 1;
    font-size: 42px;
    text-transform: uppercase;
    letter-spacing: -.02em;
    position: relative;
    color: #fff;
    margin: 0 0 12px;
}

.b-prime__count sup {
    position: absolute;
    top: -50%
}

.b-prime__text {
    line-height: 20px;
    font-size: 16px;
    color: #fff;
    margin: 0
}

.b-prime__link {
    display: flex;
    align-items: center;
    line-height: 18px;
    font-size: 14px;
    color: #fff;
    text-decoration: underline;
}

.b-prime__link:hover,
.b-prime__link:focus {
    text-decoration: none
}

.b-prime__link,
.b-prime__link:hover,
.b-prime__link:focus,
.b-prime__link:visited {
    color: #fff;
}

.b-prime--bg-white .b-prime__link,
.b-prime--bg-white .b-prime__link:hover,
.b-prime--bg-white .b-prime__link:focus,
.b-prime--bg-white .b-prime__link:visited {
    color: #32465e;
}

.b-prime__link-text {
    margin: 0;
}

.b-prime__img-wrap {
    display: flex;
    width: 35px;
    margin-right: 16px
}

.b-prime__img {
    width: 100%;
}

@media only screen and (max-width: 1199px) {

    .b-prime__container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .b-prime__container > :last-child {
        margin-bottom: 0
    }

    .b-prime__desc {
        line-height: 26px;
        font-size: 22px
    }

    .b-prime__text {
        line-height: 18px;
        font-size: 14px
    }
}

@media only screen and (max-width: 1023px) {

    .b-prime__container {
        padding-top: 70px;
        padding-bottom: 59px;
    }

    .b-prime__container--thin {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .b-prime__container > :last-child {
        margin-bottom: 0
    }

    .b-prime__title {
        line-height: 60px;
        font-size: 46px
    }

    .b-prime__desc {
        margin-bottom: 52px;
        line-height: 20px;
        font-size: 16px
    }

    .b-prime__items {
        margin-bottom: 12px
    }

    .b-prime__item {
        padding-left: 12px;
        padding-right: 12px;
        width: calc((100% - 16px) / 2);
        margin-bottom: 20px
    }

    .b-prime__item:nth-child(3n) {
        margin-right: 16px
    }

    .b-prime__item:nth-child(2n) {
        margin-right: 0
    }
}

@media only screen and (max-width: 767px) {

    .b-prime__container {
        padding: 30px 16px 32px;
    }

    .b-prime__container--thin {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .b-prime__container > :last-child {
        margin-bottom: 0
    }

    .b-prime__title {
        line-height: 32px;
        font-size: 28px
    }

    .b-prime__desc {
        margin-bottom: 27px;
        line-height: 18px;
        font-size: 14px
    }

    .b-prime__items {
        margin-bottom: 32px
    }

    .b-prime__item {
        width: 100%;
        min-height: 60px;
        margin-bottom: 20px;
        padding-left: 8px;
        padding-right: 0
    }

    .b-prime__item:last-of-type {
        margin-bottom: 0
    }

    .b-prime__item:nth-child(n) {
        margin-right: 0
    }

    .b-prime__count {
        line-height: normal;
        font-size: 32px
    }

}