/**
 * Feature Cards style: Offset Cards
 *
 * Two blocks of photograph, copy and a secondary link, the second dropped a module-spacing
 * below the first. The gutter is wider than the grid's because the pair is the whole band.
 *
 * The text stack runs on margins rather than a flex gap: the eyebrow sits 24 above the title
 * while the title sits 8 above the copy, and one gap cannot be both.
 */

.module.feature-cards.style-offset .container {
	row-gap: 0;
}

.module.feature-cards.style-offset .intro {
	gap: var(--text-spacing-xsmall);
	grid-column: 2 / span 10;
}

.module.feature-cards.style-offset .emphasis {
	margin: 0;
}

.module.feature-cards.style-offset .cards {
	align-items: start;
	column-gap: var(--module-spacing-large);
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	row-gap: var(--module-spacing-large);
}

.module.feature-cards.style-offset .cards > li {
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-large);
	position: relative;
}

.module.feature-cards.style-offset .cards > li:nth-child(even) {
	margin-top: var(--module-spacing-xlarge);
}

.module.feature-cards.style-offset .media {
	aspect-ratio: 3 / 2;
	border-radius: 10px;
}

.module.feature-cards.style-offset .content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	gap: var(--text-spacing-medium);
}

.module.feature-cards.style-offset .text {
	display: flex;
	flex-direction: column;
}

.module.feature-cards.style-offset .text > * {
	margin: 0;
}

.module.feature-cards.style-offset .text > .eyebrow + * {
	margin-top: var(--text-spacing-small);
}

.module.feature-cards.style-offset .text > .content-styles {
	margin-top: var(--text-spacing-xxsmall);
}

.module.feature-cards.style-offset .content-styles > :first-child {
	margin-top: 0;
}

.module.feature-cards.style-offset .content-styles > :last-child {
	margin-bottom: 0;
}

.module.feature-cards.style-offset .fine-print {
	grid-column: 1 / -1;
	margin-top: var(--text-spacing-xlarge);
	text-align: center;
}

.module.feature-cards.style-offset .fine-print > * {
	margin-block: 0;
}

/***************************************************************************************************************************************************************************************/
/* MQ MAX-WIDTH 1200 - Smaller Desktop Sizes / Larger Tablet Sizes */
/***************************************************************************************************************************************************************************************/

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

	.module.feature-cards.style-offset .intro {
		grid-column: 1 / -1;
	}

}

/***************************************************************************************************************************************************************************************/
/* MQ MAX-WIDTH 950 - Tablet Sizes */
/***************************************************************************************************************************************************************************************/

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

	.module.feature-cards.style-offset .cards {
		grid-template-columns: minmax(0, 1fr);
	}

	.module.feature-cards.style-offset .cards > li:nth-child(even) {
		margin-top: 0;
	}

}
