/* ==========================================
   RUBBERBRAND OVERVIEW: HERO
   Compatible with Bootstrap 3.3.0
   ========================================== */

.rb-brand-hero {
    padding: 70px 0 28px;
    color: #17212a;
    background: #f8f8f5;
}

.rb-brand-hero__row {
    display: flex;
    align-items: center;
}

.rb-brand-hero__content {
    padding-top: 15px;
    padding-bottom: 15px;
}

.rb-brand-hero__eyebrow {
    margin: 0 0 18px;
    color: #245e47;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.5;
    text-transform: uppercase;
}

.rb-brand-hero__logo-link {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 24px;
}

.rb-brand-hero__logo {
    display: block;
    width: 340px;
    max-width: 100%;
    height: auto;
}

.rb-brand-hero__heading {
    max-width: 520px;
    margin: 0 0 18px;
    color: #17212a;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.8px;
    text-transform: none;
}

.rb-brand-hero__heading span {
    display: block;
}

.rb-brand-hero__intro {
    max-width: 490px;
    margin: 0 0 26px;
    color: #53606a;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
}

.rb-brand-hero__actions {
    margin-bottom: 32px;
}

.rb-brand-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border: 1px solid #185438;
    border-radius: 4px;
    background: #185438;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.rb-brand-hero__button span {
    margin-left: 10px;
}

.rb-brand-hero__button:hover,
.rb-brand-hero__button:focus {
    border-color: #123f2a;
    background: #123f2a;
    color: #ffffff;
    text-decoration: none;
}

.rb-brand-hero__button:hover {
    transform: translateY(-1px);
}

.rb-brand-hero__button:focus,
.rb-brand-hero__logo-link:focus,
.rb-brand-hero__image-link:focus,
.rb-brand-hero__categories a:focus,
.rb-brand-products__card:focus {
    outline: 3px solid #5aa7d6;
    outline-offset: 3px;
}

/* REASSURANCE POINTS */

.rb-brand-hero__reassurance {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 0 -10px;
}

.rb-brand-hero__reassurance-item {
    display: flex;
    align-items: center;
    width: 33.333%;
    padding: 0 10px;
    color: #36434c;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.rb-brand-hero__reassurance-item .glyphicon {
    flex: 0 0 auto;
    margin-right: 9px;
    color: #185438;
    font-size: 19px;
}

/* HERO IMAGE */

.rb-brand-hero__visual {
    text-align: center;
}

.rb-brand-hero__image-link {
    display: block;
    max-width: 650px;
    margin: 0 auto;
}

.rb-brand-hero__image {
    display: block;
    width: 100%;
    max-width: 650px;
    height: auto;
    margin: 0 auto;
}

/* OPTIONAL CATEGORY LINKS */

.rb-brand-hero__categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 42px;
    padding-top: 19px;
    border-top: 1px solid #e4e7e3;
    font-size: 14px;
    line-height: 1.6;
}

.rb-brand-hero__categories-label {
    margin: 0 19px 8px 0;
    color: #53606a;
    font-weight: 600;
}

.rb-brand-hero__categories a {
    margin: 0 20px 8px 0;
    color: #185438;
    text-decoration: none;
}

.rb-brand-hero__categories a:hover,
.rb-brand-hero__categories a:focus {
    color: #123f2a;
    text-decoration: underline;
}

/* ==========================================
   OPTIONAL PRODUCT CATEGORY CARDS
   ========================================== */

.rb-brand-products {
    padding: 65px 0 55px;
    background: #ffffff;
}

.rb-brand-products__intro {
    max-width: 680px;
    margin: 0 auto 32px;
    text-align: center;
}

.rb-brand-products__heading {
    margin: 0 0 10px;
    color: #17212a;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    text-transform: none;
}

.rb-brand-products__description {
    margin: 0;
    color: #53606a;
    font-size: 16px;
    line-height: 1.65;
}

.rb-brand-products__column {
    margin-bottom: 25px;
}

.rb-brand-products__card {
    display: block;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e7e9e6;
    border-radius: 6px;
    background: #ffffff;
    color: #17212a;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.rb-brand-products__card:hover,
.rb-brand-products__card:focus {
    border-color: #c9d8ce;
    color: #17212a;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(21, 44, 78, 0.08);
}

.rb-brand-products__card:hover {
    transform: translateY(-2px);
}

.rb-brand-products__image-wrap {
    display: block;
    overflow: hidden;
    background: #f5f6f3;
}

.rb-brand-products__image {
    display: block;
    width: 100%;
    height: auto;
}

.rb-brand-products__card-content {
    display: block;
    padding: 17px 16px 18px;
}

.rb-brand-products__card-title {
    display: block;
    margin-bottom: 7px;
    color: #17212a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.rb-brand-products__card-copy {
    display: block;
    min-height: 62px;
    margin-bottom: 12px;
    color: #53606a;
    font-size: 13px;
    line-height: 1.6;
}

.rb-brand-products__card-link {
    display: block;
    color: #185438;
    font-size: 13px;
    font-weight: 600;
}

.rb-brand-products__card-link span {
    margin-left: 5px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 991px) {

    .rb-brand-hero {
        padding-top: 55px;
    }

    .rb-brand-hero__logo {
        width: 280px;
    }

    .rb-brand-hero__heading {
        font-size: 34px;
    }

    .rb-brand-hero__intro {
        font-size: 16px;
    }

    .rb-brand-hero__reassurance-item {
        font-size: 11px;
    }

    .rb-brand-hero__reassurance-item .glyphicon {
        margin-right: 6px;
        font-size: 17px;
    }

    .rb-brand-products__card-copy {
        min-height: 42px;
    }

}

/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .rb-brand-hero {
        padding: 38px 0 22px;
    }

    .rb-brand-hero__row {
        display: block;
    }

    .rb-brand-hero__content {
        padding-top: 0;
        padding-bottom: 0;
    }

    .rb-brand-hero__eyebrow {
        margin-bottom: 14px;
        font-size: 11px;
        letter-spacing: 1.1px;
    }

    .rb-brand-hero__logo-link {
        margin-bottom: 19px;
    }

    .rb-brand-hero__logo {
        width: 265px;
    }

    .rb-brand-hero__heading {
        max-width: 440px;
        margin-bottom: 14px;
        font-size: 34px;
        line-height: 1.14;
    }

    .rb-brand-hero__intro {
        max-width: 470px;
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

    .rb-brand-hero__actions {
        margin-bottom: 24px;
    }

    .rb-brand-hero__button {
        width: 100%;
        max-width: 360px;
        min-height: 52px;
    }

    .rb-brand-hero__reassurance {
        margin-right: -6px;
        margin-left: -6px;
    }

    .rb-brand-hero__reassurance-item {
        padding-right: 6px;
        padding-left: 6px;
        font-size: 11px;
    }

    .rb-brand-hero__reassurance-item .glyphicon {
        margin-right: 6px;
        font-size: 16px;
    }

    .rb-brand-hero__visual {
        margin-top: 25px;
    }

    .rb-brand-hero__image-link {
        max-width: 470px;
    }

    .rb-brand-hero__categories {
        margin-top: 24px;
        padding-top: 17px;
        font-size: 13px;
    }

    .rb-brand-hero__categories-label {
        width: 100%;
        margin-bottom: 7px;
    }

    .rb-brand-hero__categories a {
        margin-right: 16px;
    }

    .rb-brand-products {
        padding: 45px 0 28px;
    }

    .rb-brand-products__intro {
        margin-bottom: 25px;
        text-align: left;
    }

    .rb-brand-products__heading {
        font-size: 26px;
    }

    .rb-brand-products__description {
        font-size: 15px;
    }

    .rb-brand-products__column {
        max-width: 440px;
        margin-right: auto;
        margin-bottom: 18px;
        margin-left: auto;
        float: none;
    }

    .rb-brand-products__card-copy {
        min-height: 0;
    }

}

/* ==========================================
   SMALLER MOBILE DEVICES
   ========================================== */

@media (max-width: 399px) {

    .rb-brand-hero__logo {
        width: 235px;
    }

    .rb-brand-hero__heading {
        font-size: 30px;
    }

    .rb-brand-hero__reassurance-item {
        width: 100%;
        margin-bottom: 11px;
        font-size: 13px;
    }

    .rb-brand-hero__reassurance-item br {
        display: none;
    }

    .rb-brand-hero__reassurance-item .glyphicon {
        width: 20px;
        margin-right: 8px;
    }

}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {

    .rb-brand-hero__button,
    .rb-brand-products__card {
        transition: none;
    }

    .rb-brand-hero__button:hover,
    .rb-brand-products__card:hover {
        transform: none;
    }

}