/**
 * Tool page.
 */

/* Tool hero ------------------------------------------------------------- */

.hero-tools {
	position: relative;
	isolation: isolate;
	background-color: var(--e-global-color-cd032c6);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: scroll;
}
/* Tablet and mobile */
@media (max-width: 1024px) {
	.hero-tools::after {
		z-index: -1;
		content: "";
		position: absolute;
		inset: 0;
		pointer-events: none;
		background: linear-gradient(0deg, var(--e-global-color-cd032c6) 0%, color-mix(in srgb, var(--e-global-color-cd032c6) 10%, transparent) 31.77%, transparent 86.7%, transparent 100%);
	}
}

/* Breadcrumb ------------------------------------------------------------ */

.tool-breadcrumb,
.tool-breadcrumb .tool-breadcrumb-link,
.tool-breadcrumb .tool-breadcrumb-link:hover,
.tool-breadcrumb .tool-breadcrumb-link:focus {
	color: var(--e-global-color-text);
}

/* Tool title ------------------------------------------------------------ */

.tool-title {
	margin: 0px;
}

/* Tool image ------------------------------------------------------------ */

.tool-featured-image {
	position: relative;
	height: 100%;
	min-height: 320px;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-attachment: scroll;
}
.tool-featured-image::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, var(--e-global-color-cd032c6) 0%, color-mix(in srgb, var(--e-global-color-cd032c6) 10%, transparent) 31.77%, transparent 86.7%, transparent 100%);
}
.e-con:has(> .elementor-widget .tool-featured-image),
.e-con:has(> .e-con-inner > .elementor-widget .tool-featured-image),
.elementor-widget:has(.tool-featured-image) {
	--align-self: stretch;
}
.elementor-widget:has(.tool-featured-image) {
	--flex-grow: 1;
}
.elementor-widget:has(.tool-featured-image) > .elementor-widget-container,
.elementor-widget:has(.tool-featured-image) .elementor-shortcode {
	height: 100%;
}

/* Step cards ------------------------------------------------------------ */

.step-cards-section {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.step-cards-section .step-cards-title {
	margin-top: 0px;
	margin-bottom: 0px;
	color: var(--e-global-color-cd032c6);
	text-align: center;
}
.step-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}
/* Tablet */
@media (max-width: 1024px) and (min-width: 768px) {
	.step-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
/* Mobile */
@media (max-width: 767px) {
	.step-cards-section {
		gap: 24px;
	}
	.step-cards {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Tool FAQ -------------------------------------------------------------- */

.tool-faq {
	width: 100%;
	max-width: 1020px;
	margin-left: auto;
	margin-right: auto;
}

/* Tool buttons ---------------------------------------------------------- */

.tool-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
/* Mobile */
@media (max-width: 767px) {
	.elementor-widget:has(.tool-buttons) {
		--align-self: stretch;
		width: 100%;
	}
	.tool-buttons {
		flex-direction: column;
	}
	.tool-buttons .custom-btn-1-lite,
	.tool-buttons .elementor-button {
		width: 100%;
	}
}
