@mixin _oTopperThemeBranded {
	.o-topper__content {
		grid-row: 2 / span 3;
		@include oPrivateGridRespondTo($until: L) {
			padding: 20px 0;
		}
	}

	.o-topper__read-next {
		grid-row: 2 / span 3;
	}

	@include oPrivateGridRespondTo($until: L) {
		// Make the background really full width
		.o-topper__background {
			position: absolute;
		}
	}
}

@mixin _oTopperHasHeadshot {
	.o-topper__tags,
	.o-topper__standfirst,
	.o-topper__summary {
		box-sizing: border-box;
	}

	.o-topper__headline--no-standfirst,
	.o-topper__standfirst,
	.o-topper__summary {
		padding-right: calc(
			#{$_o-topper-headshot-width} + #{oPrivateSpacingByName('s2')}
		);
		@include oPrivateGridRespondTo(M) {
			padding-right: calc(
				#{$_o-topper-headshot-width-M} + #{oPrivateSpacingByName('s2')}
			);
		}
	}

	.o-topper__tags,
	.o-topper__headline {
		@include oPrivateGridRespondTo(M) {
			padding-right: calc(
				#{$_o-topper-headshot-width-M} + #{oPrivateSpacingByName('s2')}
			);
		}
	}
}

@mixin _oTopperThemeOpinion {
	.o-topper__topic,
	.o-topper__opinion-genre {
		font-family: oPrivateFoundationGet('o3-type-body-highlight-font-family');
		font-size: oPrivateFoundationGet('o3-type-body-highlight-font-size');
		line-height: oPrivateFoundationGet('o3-type-body-highlight-line-height');
	}
}

@mixin _oTopperOpinionGenre {
	@extend %_o-topper__tag;
	font-family: oPrivateFoundationGet('o3-type-body-base-font-family');
	font-size: oPrivateFoundationGet('o3-type-body-base-font-size');
	font-weight: oPrivateFoundationGet('o3-type-body-base-font-weight');
	line-height: oPrivateFoundationGet('o3-type-body-base-line-height');
	color: oPrivateFoundationGet('o3-color-palette-oxford');
}

@mixin _oTopperHeadshot {
	position: absolute;
	bottom: 0;
	right: 0;
	width: $_o-topper-headshot-width;
	overflow: hidden;

	@include oPrivateGridRespondTo(M) {
		width: $_o-topper-headshot-width-M;
	}

	@include oPrivateGridRespondTo(L) {
		bottom: -20px;
	}
}

@mixin _oTopperHeadshotImage {
	max-width: 100%;
	display: block;
}
