.sw19-customers {
    .std-wrap {
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
        max-width: 1140px;
    }

    .sw19b-title {
        padding-top: 60px;
        text-align: center;

        .std-wrap {
            max-width: 792px;
        }

        p {
            margin-top: 36px;
            margin-bottom: 0;
        }
    }

    .sw19b-customers {
        padding-top: 99px;

        .boxes {
            display: grid;
            grid-template-columns: repeat(4, calc(25% - 6.6vw / 4));
            gap: 2.2vw;
        }

        a {
            border: 1px solid #e6eaeb;
            border-radius: 5px;
            transition: box-shadow 0.2s ease-out;
            overflow: hidden;
            padding-bottom: 40px;
            text-decoration: none;
            position: relative;
        }

        a:before {
            content: "";
            z-index: 1;
            width: 100%;
            height: 4px;
            position: absolute;
            top: -1px;
            background: #fff000;
            transition: transform 0.1s ease-out;
            transform: scaleY(0);
            transform-origin: top center;
        }

        a:hover {
            box-shadow: rgba(0,0,0,0.05) 0px 15px 30px;
        }

        a:hover:before {
            transform: scaleY(1);
        }

        img:not(.attachment-post-thumbnail) {
            margin: 20px 0 0 20px;
            max-height: 30px;
            width: auto;
        }

        p {
            margin: 35px 0 0 20px;
            color: #788487;
        }

        p span {
            transition: margin 0.2s ease-out;
        }

        a:hover p span {
            margin-left: 5px;
        }
    }

    .sw19b-slim-cta {
        .cta {
            border: 1px solid #E6EAEB;
            border-radius: 5px;
            margin-top: 80px;
            padding: 20px 40px;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
        }

        p {
            margin-bottom: 0;
        }

        p span:not(:first-child) {
            color: #788487;
        }

        a {
            background-color: #5cc72a;
            font-weight: 700;
            color: #FFF;
            padding: 20px 31px 19px;
            text-decoration: none;
            box-shadow: 0 2px 2px rgba(0,0,0,0.08);
            border-radius: 4px;
            transition: background 0.1s;
            display: inline-block;
            letter-spacing: 1px;
            max-width: 100%;
            text-align: center;
            font-size: 13px;
        }

        a:hover {
            background: #49a31f;
        }

    }

    @media (max-width: 768px) {
        .sw19b-customers {
            .boxes {
                grid-template-columns: repeat(2, calc(50% - 2.2vw / 2));
            }
        }

        .sw19b-slim-cta {
            .cta {
                flex-direction: column;
            }

            a {
                margin-top: 13px;
            }
        }
    }


    @media (max-width: 320px) {
        .sw19b-customers {
            .boxes {
                grid-template-columns: auto;
            }
        }
    }
}

.sw19-single-customers {
    .std-wrap {
        margin-left: auto;
        margin-right: auto;
        padding-left: 20px;
        padding-right: 20px;
        max-width: 980px;
    }

    .sw19b-title-video {
        padding-top: 60px;
        text-align: center;

        h1 {
            max-width: 792px;
        }

        p {
            margin-top: 36px;
            margin-bottom: 0;
            max-width: 792px;
        }

        .vid {
            max-width: 980px;
            margin-top: 72px;
            position: relative;

            .swplay {
                background: #282828;
                position: absolute;
                color: #fff;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                padding: 20px 31px 20px 15px;
                font-size: 13px;
                letter-spacing: 1px;
                font-weight: bold;
                cursor: pointer;
                border-radius: 4px;

                svg {
                    height: 16px;
                    vertical-align: text-top;
                    margin-right: 10px;
                }
            }

            .swplay.playing {
                display: none;
            }

            .swplay:hover {
                background: #181818;
            }
        }

        .background {
            position: absolute;
            z-index: -1;
            height: 630px;
            width: 100%;
            top: 0;
            background: #f8f8f8;
            overflow: hidden;
        }

        .background svg {
            bottom: 0;
            position: absolute;
            left: calc(50% - 2140px);
            max-width: none;
        }
    }

    .sw19b-case-study {
        padding-top: 34px;

        .facts-content {
            display: flex;
            background: #fff;
            padding: 48px 48px 0 48px;
        }

        .facts {
            width: 214px;
            flex-shrink: 0;

            img {
                max-width: 120px;
                margin-top: 36px;
            }

            .title {
                margin: 25px 0 0 0;
                color: #788487;
            }

            a {
                text-decoration: none;
            }
        }

        .content {
            margin-left: 30px;

            p {
                color: #788487;
            }
        }

        .back {
            padding: 10px 15px;
            letter-spacing: 1px;
            transition: background 0.15s ease-out;
            box-shadow: 0 2px 3px 0 rgba(0,0,0,0.03);
            border: 1px solid #E6EAEB;
            border-radius: 5px;
            font-size: 12px;
            text-decoration: none;
            font-weight: bold;
            display: block;
        }

        .back:hover {
            background: rgba(126,211,33,0.1);
        }

        .back span {
            display: inline-block;
            transition: transform 0.12s ease-out;
        }
        .back:hover span {
            transform: translateX(-5px);
        }
    }

    @media (max-width: 768px) {
        .std-wrap {
            padding-left: 15px;
            padding-right: 15px;
        }
        .sw19b-case-study {
            .facts-content {
                flex-direction: column-reverse;
                padding-left: 15px;
                padding-right: 15px;
            }

            .facts {
                margin-top: 30px;
            }

            .content {
                margin-left: 0;
            }
        }
    }
}
