/* Advantage WPBakery block */
.advantage-tabs {
	/* padding: 24px 0; */
	width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	background: var(--color-bg-light);
	color: var(--color-text-primary-light);
	border-top: 1px solid rgba(191, 194, 204, 0.2);
}

.advantage-tabs__list {
	/* display: grid; */
	/* grid-template-columns: repeat(6, minmax(130px, 1fr)); */
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	justify-content: space-between;
}

.advantage-tabs__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 24px 0px;
	text-align: center;
}

.advantage-tabs__item:not(:first-child)::before {
	position: absolute;
	left: 0;
	top: 24px;
	bottom: 24px;
	width: 2px;
	background: var(--color-text-secondary);
	/* content: ""; */
	opacity: 0.3;
}

.advantage-tabs__divider {
	width: 2px;
	background: var(--color-text-secondary);
	opacity: 0.3;
	margin-block: 24px;

	&:last-child {
		display: none !important;
	}
}

.advantage-tabs__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	color: var(--color-blue-accent);
}

.advantage-tabs__icon svg {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

.advantage-tabs__icon img,
.advantage-tabs__icon-image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.advantage-tabs__icon--dot::before {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #d9d9d9;
	content: "";
}

.advantage-tabs__label {
	margin: 0;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.3;
	text-wrap: balance;
}

@media (max-width: 1160px) {
	.advantage-tabs__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		justify-items: center;
		display: grid;
	}

	.advantage-tabs__divider {
		display: none;
	}
	.advantage-tabs__item {
		width: 100%;
	}
	.advantage-tabs__item::before {
		content: "";
	}

	.advantage-tabs__item:nth-child(3n + 1)::before {
		display: none;
	}
}

@media (max-width: 767px) {
	.advantage-tabs {
		padding: 12px 0;
	}

	.advantage-tabs__list {
		grid-template-columns: 1fr 1fr;
		gap: 16px 8px;
	}

	.advantage-tabs__item {
		padding: 0;
	}

	.advantage-tabs__item::before {
		display: none;
	}

	.advantage-tabs__label {
		font-size: 18px;
	}
}

