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

	&.has-hero {
		margin-top: 0;
	}
}
.a-header--gallery {}
.a-header--video {
	.a-header__content {
		max-width: none;
		padding-left: 0;
		@include at-x-large-size {
			padding-right: 360px;
		}
	}

	.a-header__title,
	.a-header__about,
	.a-header__meta,
	.a-share__list {
		@include at-x-large-size {
			text-align: left;
		}
	}

	.a-share__list {
		@include at-x-large-size {
			display: inline-block;
			vertical-align: middle;
		}
	}

	.a-header__sponsor {
		@include at-x-large-size {
			margin-left: 0;
		}
	}
}

.a-header__hero {
	margin-bottom: 24px;
	position: relative;

	@include at-x-large-size {
		margin-bottom: 40px;
	}

	.a-header__tag,
	.a-header__tag__primary,
	.a-header__tag__secondary,
	.a-header__title {
		color: $WHITE;
	}

	.a-header__tag__primary,
	.a-header__tag__secondary {
		border-bottom: 1px solid $WHITE;
	    text-shadow: 0 0 16px rgba($MUSTASAARI, 0.2);
	}

	.a-header__title {
		@include font("LULO ONE", 24px, 700, 32px, -35);
		margin-bottom: 0;
	    text-shadow: 0 0 16px rgba($MUSTASAARI, 0.2);

		@include at-medium-size {
			@include font-size(40px);
			@include line-height(48px);
			margin-bottom: 0;
		}

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

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

.a-header__image-constrain {
	background-color: $CAPE-HAZE;
    position: relative;
    width: 100%;

    &:after {
    	background-color: rgba($MUSTASAARI, 0.2);
    	bottom: 0;
    	content: '';
    	height: 100%;
    	left: 0;
    	position: absolute;
    	right: 0;
    	top: 0;
    	width: 100%;

    	// Matches hero crop breakpoint
    	@include at-medium-size {
    		background-color: rgba($MUSTASAARI, 0.15);
    	}
    }

    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 min-screen($SUPERFEATURE_LARGE_BREAKPOINT) {
		padding-top: 52%;
	}
}

.a-header__image-content {
	bottom: 0;
	box-sizing: border-box;
	margin-bottom: 20px;
	padding: 0 4px;
	position: absolute;
	text-align: center;
	width: 100%;

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

	@include at-x-large-size {
		margin-bottom: 4px;
		text-align: right;
	}
}

.a-header__image-title {
	display: none;
	// TODO
}

.a-header__image-caption {
	margin-bottom: 4px;
	margin-top: 0;

	p {
		@include font("PROXIMA NOVA CONDENSED", 14px, 400, 20px);
		color: $WHITE;
		margin: 0;
	}

	a {
	    border-bottom: 1px solid $WHITE;
	    color: $WHITE;
		padding-bottom: 3px;
	}
}

.a-header__image-credit {
	@include font("PROXIMA NOVA CONDENSED", 12px, 400, 12px);
	color: $WHITE;
	letter-spacing: 1px;
	margin-bottom: 4px;
	margin-top: 0;
	text-transform: uppercase;

	&:before {
	    content: 'Credit: ';
	}
}

.a-header__hero-content {
	box-sizing: border-box;
	left: 50%;
	max-width: 1024px + $DESKTOP_SIDE_GUTTER*2;
	padding-left: $MOBILE_SIDE_GUTTER;
	padding-right: $MOBILE_SIDE_GUTTER;
	position: absolute;
	text-align: center;
	top: 50%;
	transform: translate(-50%, -50%);
	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__wrapper {
	box-sizing: border-box;
	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 {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 800px;
	width: 100%;

	// @include at-x-large-size {
	//     padding: 0 $ARTICLE_RIGHT_TOTAL 0 0;
	// }

	// @include min-screen($ARTICLE_TOTAL) {
	//     padding: 0 $ARTICLE_RIGHT_TOTAL 0 $ARTICLE_LEFT_TOTAL;
	// }
}

.a-header__title {
	@include font("PROXIMA NOVA", 28px, 600, 32px);
	color: $MUSTASAARI;
	letter-spacing: 2px;
	margin-bottom: 10px;
	margin-top: 0;
	text-align: center;
	text-transform: uppercase;

	@include at-x-large-size {
		@include font-size(46px);
		@include line-height(54px);
		letter-spacing: 0.06em;
		margin-bottom: 19px;
	}
}

.a-header__separator {
	display: none;
}

.a-header__teaser {
	margin-top: 10px;
	margin-bottom: 16px;
	@include at-x-large-size {
		margin-top: 19px;
		margin-bottom: 24px;
	}

	p {
		@include font("PROXIMA NOVA CONDENSED", 16px, 400, 20px);
		color: $RAVEN;
		letter-spacing: 1px;
		text-align: center;

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

	a {
	    color: inherit;
	    border-bottom: 1px solid;
	}

	> *: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("PROXIMA NOVA CONDENSED", 12px, 400, 16px);
	color: $MUSTASAARI;
	margin-bottom: 4px;
	margin-top: 16px;
	text-align: center;
}

.a-header__byline-item {}
.a-header__byline-name {
	letter-spacing: 1px;
	margin-left: 2px;
	text-transform: uppercase;

	a {
		color: $MUSTASAARI;
	}
}

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

.a-header__date {
	@include font("PROXIMA NOVA CONDENSED", 12px, 400, 16px);
	color: $MANATEE;
	margin-bottom: 24px;
	margin-top: 4px;
	text-align: center;
}

ul.a-header__meta {
    @include font("PROXIMA NOVA CONDENSED", 12px, 400, 16px);
    color: $MANATEE;
    margin-top: 4px;
    text-align: center;
}

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

    & + li.a-header__meta-item {
        &:before {
            background-color: $MANATEE;
            border-radius: 50%;
            content: "";
            display: inline-block;
            height: 2px;
            margin: 1px 4px;
            width: 2px;
        }
    }

    a {
        color: inherit;
    }
}

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

.a-header__tag {
    font-size: 0;
    margin-bottom: 14px;
    margin-top: 0;
    text-align: center;

    @include at-x-large-size {
    	margin-bottom: 26px;
    }
}

.a-header__tag__primary,
.a-header__tag__secondary {
    @include font("PROXIMA NOVA CONDENSED", 14px, 600, 16px);
    border-bottom: 1px solid $SHERPA-BLUE;
    color: $SHERPA-BLUE;
	display: inline-block;
	padding-bottom: 4px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.a-header__sponsor {
	@include font("PROXIMA NOVA CONDENSED", 12px, 400, 16px);
	display: table;
	margin-bottom: 24px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 24px;
	text-align: center;
	position: relative;

	&:before {
		background-color: $PORCELAIN;
		content: "";
		height: 1px;
		left: 50%;
		position: absolute;
		top: 0;
		transform: translateX(-50%);
		width: 120px;

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

	@include at-x-large-size {
		margin-bottom: 32px;
	}
}

.a-header__sponsor-prefix {
	display: inline-block;
	font-style: italic;
	padding: 8px 0 0 0;
	text-transform: lowercase;
	white-space: nowrap;

	@include min-screen($ARTICLE_TOTAL) {
		display: table-cell;
		padding: 0;
		vertical-align: middle;
	}
}

.a-header__sponsor-name {
	color: $MUSTASAARI;
	letter-spacing: 1px;
	padding-left: 6px;
	text-transform: uppercase;
}

.a-header__sponsor-image {
	img {
	    height: auto;
	    margin: 4px auto 0 auto;
	    max-height: 50px;
	    max-width: 140px;
	    width: auto;
	}

	@include min-screen($ARTICLE_TOTAL) {
		display: table-cell;
		margin-top: 0;
		padding-left: 16px;
		vertical-align: middle;

		img {
			margin-top: 0;
		}
	}
}