.wcpt-tab-content {
	margin-bottom: 20px;
}

/* ===== Ảnh với tỷ lệ tùy chỉnh (aspect-ratio) ===== */
.wcpt-box-image {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	background: #f2f2f2;
	flex: 0 0 auto;
}

.wcpt-box-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ===== Kiểu Grid ===== */
.wcpt-boxes-grid {
	display: grid;
	gap: 24px;
	margin-top: 20px;
}

.wcpt-box-grid-item {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.04 );
}

.wcpt-box-grid-item .wcpt-box-image {
	border-radius: 0;
}

.wcpt-box-grid-item .wcpt-box-inner {
	padding: 18px;
}

/* ===== Kiểu List ===== */
.wcpt-boxes-list {
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-top: 20px;
}

.wcpt-box-row {
	display: flex;
	align-items: center;
	gap: 28px;
}

.wcpt-box-row .wcpt-box-image {
	flex: 0 0 42%;
	max-width: 42%;
}

.wcpt-box-row.wcpt-imgpos-right {
	flex-direction: row-reverse;
}

.wcpt-box-row.wcpt-no-image .wcpt-box-inner {
	flex: 1 1 100%;
}

/* ===== Nội dung bên trong 1 box (dùng chung Grid + List) ===== */
.wcpt-box-inner {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.wcpt-box-icon img {
	width: 48px;
	height: 48px;
	object-fit: contain;
	margin-bottom: 10px;
}

.wcpt-box-title {
	margin: 0 0 4px;
	font-size: 18px;
}

.wcpt-box-subtitle {
	color: #767676;
	font-size: 13px;
	margin-bottom: 10px;
}

.wcpt-box-content {
	font-size: 14px;
	line-height: 1.6;
}

.wcpt-box-content p:last-child {
	margin-bottom: 0;
}

.wcpt-box-button {
	margin-top: 14px;
	align-self: flex-start;
}

/* ===== Responsive: List luôn xếp dọc trên mobile ===== */
@media ( max-width: 600px ) {
	.wcpt-box-row,
	.wcpt-box-row.wcpt-imgpos-right {
		flex-direction: column;
		align-items: stretch;
	}

	.wcpt-box-row .wcpt-box-image {
		max-width: 100%;
		flex-basis: auto;
	}
}
