// ============================================================================
// :: Picure
// ============================================================================
.a-picture {
	position: relative;

	display: block;
}

// ============================================================================
// :: Elements
// ============================================================================
.a-picture__image {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
}

// ============================================================================
// :: Modifiers
// ============================================================================
.a-picture--hero {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100vw;
	height: 15rem;
	overflow: hidden;

	@include respond-at($screen-medium-base) {
		height: 60rem;
	}

	.a-picture__image {
		position: absolute;

		top: 0;
		left: 0;
		bottom: 0;
		right: 0;

		display: block;
		width: 100%;
		max-width: none;
		height: 100%;
		object-fit: cover;

		pointer-events: none;
	}
}

.a-picture--cover {
	position: relative;

	display: block;
	width: 100%;
	height: 100%;

	.a-picture__image {
		position: absolute;

		top: 0;
		left: 0;
		bottom: 0;
		right: 0;

		display: block;
		width: 100%;
		max-width: none;
		height: 100%;
		object-fit: cover;

		pointer-events: none;
	}
}

.a-picture--tile {
	height: 0;
	padding-bottom: 56.25%;

	@include respond-at($screen-small-base) {
		height: 100%;
		min-height: 28rem;
	}
}

.a-picture--tile-long {
	height: 0;
	padding-bottom: 39%;

	@include respond-at($screen-small-base) {
		height: 100%;
		min-height: 28rem;
	}
}
