/* Featured Products：标题 + 产品同一 .container 内整体页面居中，卡片等高、文案居中 */

.h5productSection .container > .row.text-center,
.h5productSection .container-fluid > .row.text-center {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.h5productSection .container > .row.text-center > [class*="col-"],
.h5productSection .container-fluid > .row.text-center > [class*="col-"] {
	display: flex;
	float: none;
}

.h5productSection .h5productHeading {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.h5productSection .h5productBox {
	display: flex;
	flex-direction: column;
	width: 100%;
	flex: 1 1 auto;
	min-height: 0;
}

.h5productSection .h5productImgWrapper {
	flex: 0 0 auto;
	width: 100%;
}

.h5productSection .h5productImg img.img-responsive {
	margin-left: auto;
	margin-right: auto;
}

.h5productSection .h5productContent {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
	align-items: center;
	text-align: center;
	width: 100%;
}

/* 预留固定 2 行高度：短标题不挤乱，长标题省略 */
.h5productSection .h5productTitle {
	min-height: calc(2 * 1.45em);
	margin-top: 0;
	flex: 0 0 auto;
	padding-top: 1.875rem;
	padding-bottom: 0.625rem;
	width: 100%;
}

.h5productSection .h5productTitle a {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	overflow-wrap: anywhere;
	line-height: 1.45;
	max-height: calc(2 * 1.45em);
	text-decoration: none;
	text-overflow: ellipsis;
}

/* 摘要最多 2 行 */
.h5productSection .h5productText {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
	line-height: 1.55;
	flex: 1 1 auto;
	min-height: calc(2 * 1.55em);
	max-height: calc(2 * 1.55em);
	width: 100%;
	text-overflow: ellipsis;
}

.h5productSection .h5productContent > .c1ProductBtn {
	margin-top: auto;
	padding-top: 0.85rem;
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.h5productSection .h5productContent > .c1ProductBtn a {
	display: block;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	text-align: center;
}
