/**
 * CTA Block — centered headline + button with optional book cover or supporting image above.
 */

.module.cta-block {
	text-align: center;
}

.module.cta-block .media {
	grid-column: 1 / -1;
	justify-self: center;
	width: 100%;
	max-width: 160px;
}

.module.cta-block .media img {
	display: block;
	height: auto;
	width: 100%;
}

.module.cta-block .heading-1 {
	color: var(--maroon);
	grid-column: 4 / -4;
}

.module.cta-block .btn {
	grid-column: 1 / -1;
	justify-self: center;
}

/*
 * ====================================================================== *
 * MQ <=1400px — Smaller Desktop
 * ====================================================================== *
 */

@media only screen and (max-width: calc(1400rem / 16)) {

	.module.cta-block .heading-1 {
		grid-column: 3 / -3;
	}

}

/*
 * ====================================================================== *
 * MQ <=1200px — Laptop
 * ====================================================================== *
 */

@media only screen and (max-width: calc(1200rem / 16)) {

	.module.cta-block .heading-1 {
		grid-column: 2 / -2;
	}

}

/*
 * ====================================================================== *
 * MQ <=950px — Tablet
 * ====================================================================== *
 */

@media only screen and (max-width: calc(950rem / 16)) {

	.module.cta-block .heading-1 {
		grid-column: 1 / -1;
	}

}
