@media (max-width: 64rem) {
	.rh-hero--split {
		grid-template-columns: 1fr;
	}

	.rh-hero--image {
		min-height: 24rem;
	}
}

@media (max-width: 50rem) {
	/* Reorder the single Avada header for a centered mobile stack. */
	.fusion-tb-header .fusion-builder-row-1 > .fusion-builder-row {
		align-items: center !important;
		flex-direction: column !important;
		gap: var(--rh-space-5);
	}

	.fusion-tb-header .fusion-builder-row-1 > .fusion-builder-row > .fusion-layout-column {
		flex-basis: auto !important;
		margin-inline: 0 !important;
		max-width: 100% !important;
		width: 100% !important;
	}

	.fusion-tb-header .fusion-builder-row-1 > .fusion-builder-row > .fusion-layout-column > .fusion-column-wrapper {
		align-items: center !important;
		justify-content: center !important;
		min-height: 0 !important;
	}

	.fusion-tb-header .fusion-builder-row-1 > .fusion-builder-row > .fusion-layout-column:has(.fusion-image-element) {
		order: 1 !important;
	}

	.fusion-tb-header .fusion-builder-row-1 > .fusion-builder-row > .fusion-layout-column:has(.rh-super-nav) {
		order: 2 !important;
	}

	.fusion-tb-header .fusion-builder-row-1 > .fusion-builder-row > .fusion-layout-column:has(a[href*="request-a-quote"]) {
		order: 3 !important;
	}

	.fusion-tb-header .fusion-image-element,
	.fusion-tb-header .rh-super-nav__actions {
		text-align: center;
	}

	.fusion-tb-header .rh-super-nav__actions {
		justify-content: center;
	}

	.fusion-tb-header a.fusion-button[href*="request-a-quote"] {
		justify-content: center;
		margin-inline: auto;
		max-width: calc(100vw - 2rem);
		width: auto;
	}

	.rh-card-grid {
		grid-template-columns: 1fr;
	}

	.rh-super-nav__panel {
		left: 50%;
		max-height: min(70vh, 36rem);
		overflow-y: auto;
		right: auto;
		transform: translateX(-50%);
		width: min(30rem, calc(100vw - 2rem));
	}

	.rh-super-nav__grid {
		grid-template-columns: 1fr;
		padding: var(--rh-space-5);
	}

	.rh-super-nav__group {
		padding: var(--rh-space-5) var(--rh-space-4);
	}

	.rh-super-nav__group + .rh-super-nav__group {
		border-left: 0;
		border-top: 1px solid var(--rh-color-border);
	}

	.rh-hide-small {
		display: none !important;
	}
}

@media (max-width: 40rem) {
	.rh-section {
		padding-block: var(--rh-space-7);
	}

	.rh-hero--split > :not(.rh-hero--image) {
		padding: var(--rh-space-7) var(--rh-space-5);
	}

	.rh-hero--image {
		min-height: 18rem;
	}

	.rh-button,
	.rh-site .wp-element-button.rh-button,
	.rh-site a.rh-button {
		width: 100%;
	}

	.rh-super-nav__toggle,
	.rh-super-nav__login {
		font-size: 0.8125rem;
		padding-inline: var(--rh-space-2);
	}

	.rh-super-nav__divider {
		margin-inline: 0;
	}
}
