.serv-brand {
    &__border {
        border-top: 10px solid;
    }

    &__landing {
        position: relative;
        margin-bottom:25px;
        
        @media (min-width: 768px) {
            margin-bottom:50px;
        }

    }

    &__container {
        max-width: 1280px;
        margin: auto;

        img {
            margin-left:auto;
            display:block;
            
            @media (max-width: 767px) {
                width:100%;
                height:auto;
            }
        }

        &--meta {
            @media (min-width: 768px) {
                position: absolute;
                bottom: 0;
                margin-left: 50%;
                transform: translateX(-50%);
                width: 100%;
                padding-right: 15px;
                padding-left: 15px;
            }

            @media (min-width: 1330px) {
                padding-right: 0;
                padding-left: 0;
            }

            .meta {
                border-top-left-radius: 5px;
                border-top-right-radius: 5px;
                background: #fff;
                padding: 15px 15px 0;

                @media (min-width: 768px) {
                    max-width: 620px;
                    position: relative;
                    padding: 30px 40px 15px;
                }

                h1 {
                    &.heading-xlarge {
                        // @media (min-width: 768px) {
                            margin-top: 0;
                            margin-bottom: 0;
                        // }
                    }
                }

                P {
                    &.lead {
                        @media (min-width: 768px) {
                            margin: 0.5em 0 0;
                            line-height: 1.2em;
                        }
                    }
                }
            }
        }
    }

    &__wrapper {
        padding: 0 15px 10px;

        @media (min-width: 768px) {
            padding: 0 20px 10px;
            max-width: 50%;
            border-bottom-right-radius: 4px;
            border-bottom-left-radius: 4px;
        }

        span {
            font-family: Montserrat, sans-serif, sans-serif;
            font-weight: 700;
            font-size: 16px;

            @media (min-width: 768px) {
                font-size: 18px;
            }

        }

    }

    &--cfl {

        &.serv-brand__border {
            border-color: #F78F1E;

            .serv-brand__wrapper {
                background-color: #F78F1E;

                span {
                    color:#262626;
                }

            }

        }

        &.serv-brand__landing {
            background-color: #F78F1E;
        }

    }

    &--lmic {

        &.serv-brand__border {
            border-color: #8CC63F;

            .serv-brand__wrapper {
                background-color: #8CC63F;

                span {
                    color:#262626;
                }
                
            }

        }

        &.serv-brand__landing {
            background-color: #8CC63F;
        }

    }

    &--conl {

        &.serv-brand__border {
            border-color: #706E6F;

            .serv-brand__wrapper {
                background-color: #706E6F;

                span {
                    color:#ffffff;
                }
                
            }

        }

        &.serv-brand__landing {
            background-color: #706E6F;
        }

    }

    &--cal {

        &.serv-brand__border {
            border-color: #45B9BA;

            .serv-brand__wrapper {
                background-color: #45B9BA;

                span {
                    color:#ffffff;
                }
                
            }

        }

        &.serv-brand__landing {
            background-color: #45B9BA;
        }

    }

    &--bipc {

        &.serv-brand__border {
            border-color: #1A1257;

            .serv-brand__wrapper {
                background-color: #1A1257;

                span {
                    color:#ffffff;
                }
                
            }

        }

        &.serv-brand__landing {
            background-color:#1A1257;
        }

    }

}