/*
 * Atlas Boards home page: decorative backgrounds and the gold buttons.
 * Kept here because the host firewall rejects gradients and background images
 * sent through the Elementor MCP. Elements are matched by their Elementor id.
 */

/* Hero photo, faded over cream */
.elementor [data-id="4c6dde25"] {
	position: absolute;
	inset: 0;
	padding: 0;
	background: url(/wp-content/uploads/2026/10/image-6.png) center top / cover no-repeat;
	opacity: .47;
	pointer-events: none;
}

/* Gold buttons (Search Jobs, List Jobs) */
.elementor [data-id="61932322"],
.elementor [data-id="32d70146"] {
	color: #323232;
	background-image: linear-gradient(110deg, #C2A057 0%, #E6D9A2 12%, #F6F3DF 22%, #E4D9A0 38%, #D9CB8C 58%, #BFA75C 80%, #8C6D2C 100%);
	background-size: 200% 100%;
	background-position: 0% 50%;
	transition: background-position .4s ease, box-shadow .3s ease;
}

.elementor [data-id="61932322"]:hover,
.elementor [data-id="32d70146"]:hover,
.elementor [data-id="61932322"]:focus-visible,
.elementor [data-id="32d70146"]:focus-visible {
	color: #323232;
	background-position: 100% 50%;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}

/* Why Atlas Boards: torn green paper + faint compass */
.elementor [data-id="35412be6"] {
	background: url(/wp-content/uploads/2025/12/torn-page-blue-top-2.svg) center top / cover no-repeat;
}

.elementor [data-id="4aa81ca9"] {
	position: absolute;
	inset: 0;
	padding: 0;
	background: url(/wp-content/uploads/2025/12/compass-icon.svg) -16% 41px / 40% auto no-repeat;
	pointer-events: none;
}

@media (max-width: 767px) {
	.elementor [data-id="4aa81ca9"] {
		background-size: 170px auto;
		background-position: 0 18%;
	}
}

/* How it Works: torn white paper */
.elementor [data-id="d403494"] {
	background: url(/wp-content/uploads/2025/12/torn-page-white-top.svg) center top / cover no-repeat;
}

/* Font Awesome icons dropped in with [[atlas-icon:...]] */
.atlas-icon {
	display: inline-block;
	line-height: 1;
}

/* Pins on the How It Works cards keep their size while Smush lazy-loads them. Smush's
   placeholder width would otherwise make the page wider than a phone screen. */
[data-id="64a4fe54"],
[data-id="72191eda"] {
	--smush-image-width: 10%;
}

[data-id="19073940"] {
	--smush-image-width: 37%;
}

@media (max-width: 880px) {
	[data-id="64a4fe54"],
	[data-id="72191eda"] {
		--smush-image-width: 34px;
	}

	[data-id="19073940"] {
		--smush-image-width: 140px;
	}
}
