/**
 * Advantages component.
 *
 * Light blue strip, centered columns, line icons.
 *
 * @package VPK
 */

section.advantages {
    background: #e9f0f7;
    padding-block: 44px;
}

.advantages__title {
    margin: 0 0 24px;
    color: #0a2a56;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
}

.advantages__title::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    margin: 10px auto 0;
    border-radius: 1px;
    background: #41609c;
}

.advantages__strip {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.advantages__col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 18px 12px;
}

.advantages__icon {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0a2a56;
}

.advantages__icon-img {
    width: 36px;
    height: 36px;
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(16%) sepia(28%) saturate(1600%) hue-rotate(186deg) brightness(90%) contrast(98%);
}


.advantages__col:hover .advantages__icon {
    transform: none;
    border-color: transparent;
}

.advantages__name {
    margin: 0 0 8px;
    color: #0a2a56;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
}

.advantages__desc {
    margin: 0;
    color: #5f6f80;
    font-size: 13px;
    line-height: 1.45;
    max-width: 26ch;
}

.advantages__divider {
    width: 100%;
    height: 1px;
    background: #d5deea;
    flex-shrink: 0;
}

@media (min-width: 768px) {

    section.advantages {
        padding-block: 52px;
    }

    .advantages__title {
        margin-bottom: 28px;
        font-size: 22px;
    }

    .advantages__strip {
        flex-direction: row;
        align-items: stretch;
    }

    .advantages__col {
        flex: 1 1 0;
        min-width: 0;
        padding: 4px 18px;
    }

    .advantages__col:first-child {
        padding-left: 0;
    }

    .advantages__col:last-child {
        padding-right: 0;
    }

    .advantages__icon {
        margin-bottom: 14px;
    }

    .advantages__divider {
        width: 1px;
        height: auto;
        align-self: stretch;
        margin-block: 6px;
    }
}
