/*** Module: Full-Width Media ***/

.module.full-width-media .header {
	margin-bottom: var(--text-spacing-large);
	text-align: left;
}

.module.full-width-media .header .large-text {
	margin-top: var(--text-spacing-small);
}

.module.full-width-media .items {
	display: grid;
}

.module.full-width-media.layout-two-up .items {
	grid-template-columns: repeat(2, 1fr);
}

.module.full-width-media.layout-three-up .items {
	grid-template-columns: repeat(3, 1fr);
}

.module.full-width-media .item {
	display: flex;
	flex-direction: column;
	margin: 0;
}

.module.full-width-media figcaption {
	color: color-mix(in srgb, var(--black) 60%, transparent);
	padding: var(--text-spacing-xsmall) var(--text-spacing-small) 0;
}

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

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

	.module.full-width-media.layout-two-up .items,
	.module.full-width-media.layout-three-up .items {
		grid-template-columns: 1fr;
	}

}
