/**
 * Compatibility layer for the Avada Builder homepage parity draft.
 *
 * The design itself comes from the established homepage stylesheet. These
 * rules only remove Avada's structural spacing around each mirrored section.
 */

body.cygnivo-avada-home-preview #main {
	padding: 0 !important;
	background: #fff;
}

body.cygnivo-avada-home-preview #main > .fusion-row,
body.cygnivo-avada-home-preview #content {
	width: 100%;
	max-width: none !important;
	margin: 0;
}

body.cygnivo-avada-home-preview #content {
	float: none;
}

body.cygnivo-avada-home-preview .post-content {
	margin: 0;
}

body.cygnivo-avada-home-preview .cyg-avada-parity-section {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	overflow: hidden !important;
}

body.cygnivo-avada-home-preview .cyg-avada-parity-section > .fusion-builder-row {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

body.cygnivo-avada-home-preview .cyg-avada-parity-section .fusion-layout-column,
body.cygnivo-avada-home-preview .cyg-avada-parity-section .fusion-column-wrapper {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.cygnivo-avada-home-preview .cyg-avada-parity-section .fusion-text {
	margin: 0 !important;
}

body.cygnivo-avada-home-preview .cyg-avada-parity-section section {
	width: 100%;
	max-width: 100%;
}

/* Numberless enterprise treatment --------------------------------------- */

/* Sequence labels are removed without adding substitute lines or dots. */
body.cygnivo-avada-home-preview .cyg-value-strip__grid > div {
	grid-template-columns: 1fr;
	row-gap: 2px;
}

body.cygnivo-avada-home-preview .cyg-numberless-marker,
body.cygnivo-avada-home-preview .cyg-card-index {
	display: none !important;
}

body.cygnivo-avada-home-preview .cyg-journey-steps::before {
	display: none;
}

body.cygnivo-avada-home-preview .cyg-journey-steps li,
body.cygnivo-avada-home-preview .cyg-ai-usecases article {
	grid-template-columns: 1fr;
	gap: 0;
}

body.cygnivo-avada-home-preview .cyg-cloud-card__top {
	justify-content: flex-start;
}

body.cygnivo-avada-home-preview .cyg-home-product small {
	display: inline-flex;
	align-items: center;
	gap: 0;
}

body.cygnivo-avada-home-preview .cyg-home-product small::before {
	display: none;
	content: none;
}

@media (max-width: 600px) {
	body.cygnivo-avada-home-preview .cyg-journey-steps li {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* The preview uses the Global Layout footer, so suppress Avada's empty shell. */
body.cygnivo-avada-home-preview > #wrapper > .fusion-footer:not(:has(.cyg-footer)),
body.cygnivo-avada-home-preview .fusion-footer-widget-area:not(:has(.cyg-footer)) {
	display: none !important;
}
