/**
 * CU Rocket Promotions
 *
 * Layout only. Colors, type, and card chrome belong to the theme.
 */

.cu-rocket-promotions {
	width: 100%;
}

.cu-rocket-featured-promotions__header {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 0.75rem;
}

.cu-rocket-featured-promotions__heading {
	margin: 0;
}

.cu-rocket-featured-promotions__see-all {
	white-space: nowrap;
}

.cu-rocket-featured-promotions__content {
	margin-bottom: 1.5rem;
}

.cu-rocket-featured-promotions__content > :first-child {
	margin-top: 0;
}

.cu-rocket-featured-promotions__content > :last-child {
	margin-bottom: 0;
}

.cu-rocket-promotions__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: stretch;
}

@media (min-width: 768px) {
	.cu-rocket-promotions__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cu-rocket-promotions__card {
	min-width: 0;
}

.cu-rocket-promotions__link {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.cu-rocket-promotions__image {
	display: block;
	width: 100%;
	height: auto;
}

.cu-rocket-promotions__name,
.cu-rocket-promotions__excerpt,
.cu-rocket-promotions__note,
.cu-rocket-promotions__placeholder {
	margin: 0;
}

.cu-rocket-promotions__button {
	display: inline-block;
	align-self: flex-start;
	margin-top: auto;
	padding: 0.5rem 1rem;
	border: 1px solid currentColor;
}

.cu-rocket-promotions__note {
	margin-bottom: 1rem;
}

.cu-rocket-promotions__placeholder {
	padding: 1rem;
	border: 1px dashed currentColor;
}

.cu-rocket-promotion {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 1.25rem;
}

.cu-rocket-promotion__title {
	margin-top: 0;
}

.cu-rocket-promotion__media {
	margin: 0 0 1.5rem;
}

.cu-rocket-promotion__image {
	display: block;
	max-width: 100%;
	height: auto;
}
