/* EFS Promotions — the home page "Current promotions" section. */

.efs-promo-teaser {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
	padding: 16px 18px;
	background: var(--tint,#EAF2FC);
	border: 1px solid var(--green,#1F6FD6);
	border-radius: 10px;
}
.efs-promo-teaser > div { flex: 1 1 260px; }
.efs-promo-teaser b { display: block; font-size: 15px; }
.efs-promo-teaser span { font-size: 13px; color: var(--muted, #667085); }

.efs-promo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 12px;
}

.efs-promo-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 13px 15px;
	background: #fff;
	border: 1px solid var(--line, #e4e7ec);
	border-radius: 10px;
	text-decoration: none;
	color: inherit;
	transition: border-color .15s, box-shadow .15s;
}
.efs-promo-card:hover {
	border-color: var(--green,#1F6FD6);
	box-shadow: 0 2px 10px rgba(31, 111, 214, .09);
}

/* The mark is square whether it holds a logo or initials, so a row of cards lines up. */
.efs-promo-mark {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 8px;
}
.efs-promo-mark .m-logo,
.efs-promo-mark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.efs-promo-body { flex: 1 1 auto; min-width: 0; }
.efs-promo-body b {
	display: block;
	font-size: 14px;
	line-height: 1.35;
	margin-bottom: 2px;
}
.efs-promo-who { font-size: 12.5px; color: var(--muted, #667085); }

.efs-promo-ends {
	flex: 0 0 auto;
	align-self: flex-start;
	padding: 2px 9px;
	border-radius: 20px;
	background: #fff8e6;
	color: #6b4e08;
	font-size: 11px;
	font-weight: 600;
	white-space: nowrap;
}
