/// WG1
//////////////////////

.nk-wg1 {
    .card-full & {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    &-block {
        display: flex;
        padding: 1.25rem;
        align-items: flex-start; 
        flex-direction: column;
    }
    &-img {
        width: 84px;
        margin-right: 0;  
        margin-bottom: 1.5rem; 
        flex-shrink: 0;
        text-align: center;
        padding: .125rem;
    }
    &-text {
        color: $base-light;
    }
    &-action{
        margin-top: auto;
        border-top: 1px solid $border-light;
        .link {
            position: relative;
            display: block;
            line-height: 1.3;
            padding:1.25rem;
            padding-right: (1.25rem + 1.25rem);
            white-space: inherit;
            &:hover {
                background-color: $lighter;
            }
            .icon {
                position: absolute;
                right: 1.25rem;
                margin-right: -.25rem;
                margin-top: -1px;
            }
        }
        .link-inline {
            display: inline-block;
            padding-right: .25rem;
            .icon {
                position: static;
                padding-left: .25rem;
                margin-right: 0;
            }
        }
    }
}

@include media-breakpoint-up(sm) {
    .nk-wg1 {
        &-block {
            padding: 1.5rem;
        }
        &-action{
            .link {
                padding:1.5rem;
                padding-right: (1.5rem + 1.25rem);
                &-inline {
                    padding-right: .25rem;
                }
            }
        }
    }
}

@include media-breakpoint-up(xl) {
    .nk-wg1 {
        &-img {
            margin-right: 1.5rem;
            margin-bottom: 0;
        }
        &-block {
            flex-direction: row;
            align-items: center;
            padding-top: 2rem;
            padding-bottom: 2rem;
        }
    }
}