/*
 * ACF Repeater Benefits - WPBakery Widget
 * Front-end styles for the benefits bar layout.
 */

.acfrb-benefits-wrap {
	width: 100%;
	background-color: #6b5a45;
	box-sizing: border-box;
}

.acfrb-benefits-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 22px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
}

.acfrb-benefit-item {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 0;
	min-width: 200px;
	padding: 8px 24px;
	position: relative;
	box-sizing: border-box;
}

.acfrb-benefit-item:not(:last-child)::after {
	content: '';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	height: 36px;
	width: 1px;
	background-color: rgba(255, 255, 255, 0.25);
}

.acfrb-benefit-icon {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
}

.acfrb-benefit-icon img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	/* Renders any icon in white to match the reference design. */
	filter: brightness(0) invert(1);
}

.acfrb-benefit-text {
	min-width: 0;
}

.acfrb-benefit-title {
	margin: 0 0 4px;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
}

.acfrb-benefit-desc {
	margin: 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 13px;
	line-height: 1.4;
}

@media (max-width: 991px) {
	.acfrb-benefit-item {
		flex: 1 1 45%;
		margin-bottom: 14px;
	}

	.acfrb-benefit-item:nth-child(2n)::after {
		display: none;
	}
}

@media (max-width: 600px) {
	.acfrb-benefit-item {
		flex: 1 1 100%;
	}

	.acfrb-benefit-item::after {
		display: none;
	}
}
