/*
Theme Name: ajvestor-custom
Text Domain: ajvestor-custom
Description: Custom AJVESTOR theme with Elementor compatibility and a full-screen navigation system.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/

html {
	scroll-behavior: smooth;
}

[x-cloak] {
	display: none !important;
}

/* Valuation page: lighter institutional palette, tighter rhythm and restrained motion. */
body.page-id-8748 .elementor-8748 > [data-id="00000026"],
body.page-id-8748 .elementor-8748 > [data-id="0000003c"],
body.page-id-8748 .elementor-8748 > [data-id="00000056"],
body.page-id-8748 .elementor-8748 > [data-id="00000065"],
body.page-id-8748 .elementor-8748 > [data-id="0000006c"] {
	padding-top: 82px !important;
	padding-bottom: 88px !important;
}

body.page-id-8748 [data-id="0000003c"],
body.page-id-8748 [data-id="0000006c"] {
	background: #f7f9fc !important;
}

/* Open the hero into the same light institutional palette as the body. */
body.page-id-8748 [data-id="00000011"] {
	background: #f7f9fc !important;
}

body.page-id-8748 [data-id="00000002"] .elementor-heading-title {
	color: #0b0d12 !important;
}

body.page-id-8748 [data-id="00000003"],
body.page-id-8748 [data-id="00000004"] {
	color: #596371 !important;
}

body.page-id-8748 [data-id="0000000f"] {
	background: #ffffff !important;
	border-color: #dce3ec !important;
	box-shadow: 0 18px 50px rgba(23, 31, 45, .06);
}

body.page-id-8748 [data-id="0000000a"] .elementor-heading-title {
	color: #0b0d12 !important;
}

body.page-id-8748 [data-id="0000000b"],
body.page-id-8748 [data-id="0000000c"],
body.page-id-8748 [data-id="0000000d"],
body.page-id-8748 [data-id="0000000e"] {
	color: #596371 !important;
}

body.page-id-8748 [data-id="0000000b"] strong,
body.page-id-8748 [data-id="0000000c"] strong,
body.page-id-8748 [data-id="0000000d"] strong,
body.page-id-8748 [data-id="0000000e"] strong {
	color: #0b0d12 !important;
}

body.page-id-8748 [data-id="0000002d"],
body.page-id-8748 [data-id="00000031"],
body.page-id-8748 [data-id="00000035"],
body.page-id-8748 [data-id="00000039"] {
	background: #ffffff !important;
	border-color: #dce3ec !important;
	min-height: 215px !important;
}

body.page-id-8748 [data-id="00000028"] .elementor-heading-title,
body.page-id-8748 [data-id="0000002b"] .elementor-heading-title,
body.page-id-8748 [data-id="0000002f"] .elementor-heading-title,
body.page-id-8748 [data-id="00000033"] .elementor-heading-title,
body.page-id-8748 [data-id="00000037"] .elementor-heading-title,
body.page-id-8748 [data-id="00000067"] .elementor-heading-title {
	color: #0b0d12 !important;
}

body.page-id-8748 [data-id="00000029"],
body.page-id-8748 [data-id="0000002c"],
body.page-id-8748 [data-id="00000030"],
body.page-id-8748 [data-id="00000034"],
body.page-id-8748 [data-id="00000038"],
body.page-id-8748 [data-id="00000068"] {
	color: #596371 !important;
}

/* Remove repeated explanatory blocks while retaining the core decision framework. */
body.page-id-8748 [data-id="00000054"],
body.page-id-8748 [data-id="0000005c"],
body.page-id-8748 [data-id="00000060"],
body.page-id-8748 [data-id="00000063"] {
	display: none !important;
}

body.page-id-8748 [data-id="00000017"],
body.page-id-8748 [data-id="0000001b"],
body.page-id-8748 [data-id="0000001f"],
body.page-id-8748 [data-id="00000023"],
body.page-id-8748 [data-id="0000002d"],
body.page-id-8748 [data-id="00000031"],
body.page-id-8748 [data-id="00000035"],
body.page-id-8748 [data-id="00000039"],
body.page-id-8748 [data-id="00000042"],
body.page-id-8748 [data-id="00000046"],
body.page-id-8748 [data-id="0000004a"],
body.page-id-8748 [data-id="0000004e"],
body.page-id-8748 [data-id="0000005d"],
body.page-id-8748 [data-id="00000061"] {
	transition: transform .32s cubic-bezier(.22,1,.36,1), box-shadow .32s ease, border-color .32s ease;
}

@media (hover:hover) {
	body.page-id-8748 [data-id="00000017"]:hover,
	body.page-id-8748 [data-id="0000001b"]:hover,
	body.page-id-8748 [data-id="0000001f"]:hover,
	body.page-id-8748 [data-id="00000023"]:hover,
	body.page-id-8748 [data-id="0000002d"]:hover,
	body.page-id-8748 [data-id="00000031"]:hover,
	body.page-id-8748 [data-id="00000035"]:hover,
	body.page-id-8748 [data-id="00000039"]:hover,
	body.page-id-8748 [data-id="00000042"]:hover,
	body.page-id-8748 [data-id="00000046"]:hover,
	body.page-id-8748 [data-id="0000004a"]:hover,
	body.page-id-8748 [data-id="0000004e"]:hover,
	body.page-id-8748 [data-id="0000005d"]:hover,
	body.page-id-8748 [data-id="00000061"]:hover {
		transform: translateY(-4px);
		box-shadow: 0 16px 38px rgba(23, 31, 45, .08);
		border-color: #c5d1df !important;
	}
}

.ajv-motion-ready body.page-id-8748 .ajv-reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .64s ease, transform .78s cubic-bezier(.22,1,.36,1);
	will-change: opacity, transform;
}

.ajv-motion-ready body.page-id-8748 .ajv-reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.ajv-motion-ready body.page-id-8748 .ajv-motion-hero-item {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity .55s ease, transform .7s cubic-bezier(.22,1,.36,1);
	transition-delay: calc(var(--ajv-motion-order, 0) * 70ms + 80ms);
}

.ajv-motion-ready body.page-id-8748 .ajv-motion-hero.is-visible .ajv-motion-hero-item {
	opacity: 1;
	transform: translateY(0);
}

@media (max-width: 760px) {
	body.page-id-8748 .elementor-8748 > [data-id="00000026"],
	body.page-id-8748 .elementor-8748 > [data-id="0000003c"],
	body.page-id-8748 .elementor-8748 > [data-id="00000056"],
	body.page-id-8748 .elementor-8748 > [data-id="00000065"],
	body.page-id-8748 .elementor-8748 > [data-id="0000006c"] {
		padding-top: 62px !important;
		padding-bottom: 66px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ajv-motion-ready body.page-id-8748 .ajv-reveal,
	.ajv-motion-ready body.page-id-8748 .ajv-motion-hero-item,
	body.page-id-8748 [data-id] {
		transition: none !important;
		transform: none !important;
		opacity: 1 !important;
	}
}

/* Swedish Real Estate: keep longer Swedish copy contained within the second-section cards. */
body.page-id-8751 [data-id="00000401"],
body.page-id-8751 [data-id="000003f4"],
body.page-id-8751 [data-id="000003f8"],
body.page-id-8751 [data-id="000003fc"],
body.page-id-8751 [data-id="00000400"] {
	min-width: 0 !important;
	height: auto !important;
}

body.page-id-8751 [data-id="000003f2"] .elementor-heading-title,
body.page-id-8751 [data-id="000003f6"] .elementor-heading-title,
body.page-id-8751 [data-id="000003fa"] .elementor-heading-title,
body.page-id-8751 [data-id="000003fe"] .elementor-heading-title,
body.page-id-8751 [data-id="000003f3"],
body.page-id-8751 [data-id="000003f7"],
body.page-id-8751 [data-id="000003fb"],
body.page-id-8751 [data-id="000003ff"] {
	max-width: 100% !important;
	min-width: 0 !important;
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: auto;
}

@media (min-width: 768px) and (max-width: 1180px) {
	body.page-id-8751 [data-id="000003f2"] .elementor-heading-title,
	body.page-id-8751 [data-id="000003f6"] .elementor-heading-title,
	body.page-id-8751 [data-id="000003fa"] .elementor-heading-title,
	body.page-id-8751 [data-id="000003fe"] .elementor-heading-title {
		font-size: clamp(20px, 2vw, 24px) !important;
		line-height: 1.25 !important;
	}
}
