.a-header {
    margin: 32px 0;
    @include at-x-large-size {
        margin: 48px 0;
    }

    &.has-hero {
        margin-top: 0;

        .a-header__wrapper {
            max-width: $ARTICLE_TOTAL;
            margin: 0 auto;
        }

        @include at-x-large-size {
            .a-header__content {
                padding-right: 0;
                text-align: center;
            }

            .a-header__sponsor {
                margin-left: auto;
                margin-right: auto;
            }

            .a-header__sponsor-image {
                img {
                    margin-left: auto;
                }
            }
        }
    }
}

.a-header__hero {
    position: relative;

    @include at-x-large-size {
        text-align: center;

        .a-header__tag {
            margin-bottom: 15px;
        }

        .a-header__tag__primary,
        .a-header__tag__secondary {
            background: transparent;
            display: inline-block;
            padding: 0;
        }

        .a-header__title {
            margin-bottom: 0;
        }
    }
}

.a-header__image {
    margin: 0 auto;
    max-width: $XX_LARGE_SIZE;
    position: relative;
}

.a-header__image-constrain {
    position: relative;
    width: 100%;

    img {
        display: block;
        width: 100%;
    }

    picture {
        display: block;
        height: 100%;
        width: 100%;
    }
}

.a-header__image-constrain--landscape,
.a-header__image-constrain--portrait,
.a-header__image-constrain--square,
.a-header__image-constrain--custom {
    img {
        bottom: 0;
        height: 100%;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
    }
}

.a-header__image-constrain--landscape {
    padding-top: 66.6666666666%;
}

.a-header__image-constrain--portrait {
    padding-top: 150%;
}

.a-header__image-constrain--square {
    padding-top: 100%;
}

.a-header__image-constrain--custom {
    padding-top: 100%;
    @include at-medium-size {
        padding-top: 46.875%;
    }
}

.a-header__image-content {
    bottom: 0;
    margin: 10px 20px;
    position: absolute;
    right: 0;
    text-align: right;

    @include at-x-large-size {
        bottom: initial;
        margin: 10px;
        top: 0;
    }
}

.a-header__image-title {
    @include font("COMMUTER SANS", 14px, 'NORMAL', 15px);
    color: $white;
    margin-bottom: 6px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.a-header__image-caption {
    margin-bottom: 6px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);

    .bb-p {
        @include font("COMMUTER SANS", 13px, null, 14px);
        color: $white;
        margin: 0;
        text-transform: uppercase;
    }
}

.a-header__image-credit {
    @include font("COMMUTER SANS", 10px, null, 10px);
    color: $white;
    letter-spacing: 1.5px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

.a-header__hero-content {
    background-color: $white;
    margin: 0 auto;
    max-width: $ARTICLE_TOTAL;
    padding-left: $MOBILE_SIDE_GUTTER;
    padding-right: $MOBILE_SIDE_GUTTER;
    padding-top: 20px;
    position: relative;

    @include at-medium-size {
        padding-left: $TABLET_SIDE_GUTTER;
        padding-right: $TABLET_SIDE_GUTTER;
    }

    @include at-x-large-size {
        bottom: 0;
        left: 50%;
        padding-left: 110px;
        padding-right: 110px;
        padding-top: 30px;
        position: absolute;
        transform: translateX(-50%);
        width: 100%;
        z-index: 1;
    }
}

.a-header__wrapper {
    padding-left: $MOBILE_SIDE_GUTTER;
    padding-right: $MOBILE_SIDE_GUTTER;
    width: 100%;

    @include at-medium-size {
        padding-left: $TABLET_SIDE_GUTTER;
        padding-right: $TABLET_SIDE_GUTTER;
    }

    @include at-x-large-size {
        padding-left: $DESKTOP_SIDE_GUTTER;
        padding-right: $DESKTOP_SIDE_GUTTER;
    }
}

.a-header__content {
    background-color: $white;
    margin: 0 auto;
    max-width: $ARTICLE_TOTAL;
    position: relative;

    @include at-x-large-size {
        padding-right: 350px;
    }
}

.a-header__title {
    @include font("STARLING", 30px, 600, 34px);
    color: $black;
    margin: 10px 0 4px 0;

    @include at-x-large-size {
        @include font-size(56px);
        @include line-height(60px);
        margin: 10px 0 20px 0;
    }
}

.a-header__separator {
    display: none;
}

.a-header__teaser {
    margin: 4px 0 20px 0;

    @include at-x-large-size {
        margin: 30px 0;
    }

    .bb-p {
        font-style: italic;
        @include font("STARLING", 20px, 400, 23px);
        color: $black;

        @include at-x-large-size {
            @include font-size(23px);
            @include line-height(28px);
        }
    }

    > *:first-child {
        margin-top: 0;
    }

    > *:last-child {
        margin-bottom: 0;
    }
}

.a-header__about {
    @include min-screen($ARTICLE_TOTAL) {
        display: none;
    }
}

.a-header__byline {
    @include font("STARLING", 13px, 400, 15px);
    color: $gray;
    margin-bottom: 15px;
    margin-top: 20px;
    text-transform: uppercase;
}

.a-header__byline-item {}
.a-header__byline-name {
    a {
        color: $gray;
    }
}

.a-header__byline-prefix,
.a-header__byline-conjunction {
    font-style: italic;
    text-transform: lowercase;
}

.a-header__date {
    @include font("COMMUTER SANS", 10px, 400, 10px);
    color: $gray;
    margin-top: 15px;
    text-transform: uppercase;
}

ul.a-header__meta {
    @include font("COMMUTER SANS", 10px, 400, 10px);
    color: $gray;
    margin-top: 15px;
    text-transform: uppercase;
}

li.a-header__meta-item {
    display: inline-block;

    & + .a-header__meta-item {
        &:before {
            background-color: $silver;
            content: '';
            display: inline-block;
            height: 11px;
            margin: 0 5px;
            vertical-align: middle;
            width: 1px;
        }
    }

    a {
        color: inherit;
    }
}

.a-header__meta--date {}
.a-header__meta--tag {}

.a-header__tag {
    font-size: 0;
    margin-bottom: 10px;
    text-transform: uppercase;

    @include at-x-large-size {
        @include font-size(16px);
        @include line-height(16px);
        margin-bottom: 15px;
    }
}

.a-header__tag__primary,
.a-header__tag__secondary {
    @include font("COMMUTER SANS", 12px, 400, 12px);
    color: $gray;
    display: inline-block;
}

.a-header__tag__secondary {
    border-right: 1px solid $mercury;
    margin-right: 10px;
    padding-right: 10px;
}

.a-header__sponsor {
    @include font("STARLING", 13px, 400, 15px);
    color: $gray;
    margin-bottom: 15px;
    margin-top: 20px;
    text-transform: uppercase;
}

.a-header__sponsor-prefix {
    font-style: italic;
    text-transform: lowercase;
    display: inline-block;
}

.a-header__sponsor-name {
    color: $gray;
    padding-left: 5px;
}

.a-header__sponsor-image {
    display: inline-block;
    padding-left: 5px;
    vertical-align: middle;

    img {
        height: auto;
        max-height: 50px;
        max-width: 140px;
        width: auto;
    }
}




.a-header__event {
    margin: 30px 0;

    @include min-screen($ARTICLE_TOTAL) {
        display: none;
    }
}

.a-header__event-title,
.a-header__event-location {
    @include font("STARLING", 13px, 400, 15px);
    color: $gray;
    margin: 5px 0 0 0;
    text-transform: uppercase;
}

.a-header__event-date {
    @include font("COMMUTER SANS", 10px, null, 10px);
    color: $gray;
    margin-top: 12px;
    margin-bottom: 0;
    text-transform: uppercase;
}

.a-header__event-btn {
    @include button-group();
    @include button-group-light();
    margin-top: 15px;
    margin-bottom: 15px;
    text-align: center;

    &:hover, &:focus {
        @include button-group-light-hover();
    }

    @include at-x-large-size {
        margin-bottom: 13px;
        margin-top:0;
        width: 100%;
    }
}

.a-header--gallery {}

.a-header--video {
    margin-bottom: 30px;
    padding-left: $MOBILE_SIDE_GUTTER;
    padding-right: $MOBILE_SIDE_GUTTER;

    .a-header__wrapper {
        padding: 0;
    }

    .a-header__content {
        margin: 0;
        max-width: 700px;
    }

    @include at-medium-size {
        padding-left: $TABLET_SIDE_GUTTER;
        padding-right: $TABLET_SIDE_GUTTER;
    }

    @include at-x-large-size {

        .a-header__wrapper {
            padding-right: 360px;
        }

        .a-header__content {
            padding-right: 0;
        }

    }

}