/* Downloadboxes widget — file-download cards with a bottom-bleed image. */

.dlb-container-b6f930da {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	row-gap: 24px;
	column-gap: 24px;
}

.dlb-card-b6f930da {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	position: relative;
	overflow: hidden; /* clips the bottom image to the card's own border-radius */
	text-decoration: none;
	color: inherit;
	background-color: #FFFEFF;
	border-radius: 2px;
	min-height: 344px;
	/* Bottom padding reserves 84px for the image plus 20px of clearance above it. */
	padding: 44px 30px 104px 30px;

	/* Desktop: max 4 per row. */
	flex: 0 1 calc(25% - 18px);
}

.dlb-strapline-b6f930da {
	display: block;
	font-size: 14px;
	line-height: 18px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	font-weight: 500;
	color: #70583E;
	margin: 0 0 8px 0;
}

.dlb-title-b6f930da {
	display: block;
	font-size: 24px;
	line-height: 26px;
	margin: 0;
}

.dlb-icon-b6f930da {
	margin-top: auto;
	align-self: flex-start;
	display: inline-flex;
	/* Matches the Icon Size control's default; the control overrides this inline via {{WRAPPER}}. */
	font-size: 50px;
}

.dlb-icon-b6f930da svg,
.dlb-icon-b6f930da img {
	width: 50px;
	height: 50px;
}

.dlb-image-b6f930da {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 84px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.dlb-editor-notice-b6f930da {
	padding: 20px;
	background: #f5f5f5;
	color: #666;
	text-align: center;
}

/* Tablet: 2 per row */
@media (max-width: 1024px) {
	.dlb-card-b6f930da {
		flex: 0 1 calc(50% - 12px);
	}
}

/* Mobile: 1 per row, stacked. Padding and image size stay the same. */
@media (max-width: 767px) {
	.dlb-card-b6f930da {
		flex: 0 1 100%;
	}
}
