/* GK Mobile Fixes: tablet (768px - 1024px), all pages. */
@media (min-width: 768px) and (max-width: 1024px) {
	/* Header: the desktop header (logo + "Get In Touch", no menu) and the phone header were both showing.
	   Keep only the phone-style header (logo + menu button) and give its logo a sane size. */
	.elementor-64 .elementor-element-3d6187d { display: none !important; }
	.elementor-64 .elementor-element-4c7a87a {
		width: 115px !important; max-width: 115px !important; --container-widget-width: 115px !important;
		margin: -13px 0 -100px 0 !important;
	}
	.elementor-64 .elementor-element-4c7a87a img { width: 100% !important; height: auto !important; }

	/* Project pages: main column + narrow sidebar squeezed the info list off the right edge.
	   Stack them: main content full width, then the sidebar full width with a 3-column info grid. */
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) { --flex-direction: column !important; flex-direction: column !important; flex-wrap: nowrap !important; gap: 32px !important; }
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) > .e-con,
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) > .e-con-inner > .e-con { width: 100% !important; --width: 100% !important; max-width: 100% !important; padding-left: 20px !important; padding-right: 20px !important; }
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) .elementor-widget { max-width: 100% !important; }
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) .elementor-widget-icon-box { width: 100% !important; --container-widget-width: 100% !important; }
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) > .e-con > .elementor-widget,
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) > .e-con-inner > .e-con > .elementor-widget { width: 100% !important; --container-widget-width: 100% !important; }
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) .e-con:has(> .elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px 16px !important; width: 100% !important; }
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) .e-con:has(> .elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) > .elementor-widget-icon-box { width: auto !important; max-width: 100% !important; margin: 0 !important; }

	/* ---------- Home ---------- */
	/* Hero: 3-line title sat directly on the subtitle. */
	body.home .elementor-43 .elementor-element-c434956 .elementor-heading-title { font-size: 64px !important; line-height: 1.05 !important; }
	body.home .elementor-43 .elementor-element-c434956 { margin-bottom: 24px !important; }
	/* About block: stack the two columns; logo graphic fits instead of being cropped; quote card full width. */
	body.home .elementor-43 .elementor-element-f494325,
	body.home .elementor-43 .elementor-element-f494325 > .e-con-inner { flex-direction: column !important; --flex-direction: column !important; gap: 40px !important; }
	body.home .elementor-43 .elementor-element-c2985bc,
	body.home .elementor-43 .elementor-element-652889c { width: 100% !important; --width: 100% !important; max-width: 100% !important; }
	body.home .elementor-43 .elementor-element-3ec4f18 { width: 100% !important; --container-widget-width: 100% !important; max-width: 100% !important; }
	body.home .elementor-43 .elementor-element-efb8e37 { background-size: contain !important; background-repeat: no-repeat !important; min-height: 420px !important; }
	body.home .elementor-43 .elementor-element-ea72198 { padding: 40px !important; }
	body.home .elementor-43 .elementor-element-56c3801,
	body.home .elementor-43 .elementor-element-4d99acf { display: none !important; }
	/* Services cards: titles ran under the arrow button; photos used desktop offsets (one sat off-screen). */
	body.home .elementor-43 :is(.elementor-element-6551273, .elementor-element-4a9cb13) > .e-con { min-height: 0 !important; --min-height: 0px !important; height: auto !important; padding: 24px 0 0 0 !important; overflow: hidden !important; justify-content: flex-start !important; }
	body.home .elementor-43 :is(.elementor-element-6551273, .elementor-element-4a9cb13) .elementor-widget-heading { padding: 0 64px 0 22px !important; margin: 0 !important; width: 100% !important; }
	body.home .elementor-43 :is(.elementor-element-6551273, .elementor-element-4a9cb13) .elementor-widget-heading .elementor-heading-title { font-size: 20px !important; line-height: 1.25 !important; }
	body.home .elementor-43 :is(.elementor-element-6551273, .elementor-element-4a9cb13) .elementor-widget-spaciaz-button { position: absolute !important; top: 0 !important; right: 0 !important; left: auto !important; margin: 0 !important; width: auto !important; }
	body.home .elementor-43 :is(.elementor-element-6551273, .elementor-element-4a9cb13) .elementor-widget-spacer { display: none !important; }
	body.home .elementor-43 :is(.elementor-element-6551273, .elementor-element-4a9cb13) .elementor-widget-image { position: relative !important; inset: auto !important; transform: none !important; width: 100% !important; max-width: 100% !important; margin: 24px 0 0 0 !important; }
	body.home .elementor-43 :is(.elementor-element-6551273, .elementor-element-4a9cb13) .elementor-widget-image img { width: 100% !important; height: 170px !important; object-fit: cover !important; display: block; border-radius: 0 !important; }
	body.home .elementor-43 .elementor-element-69d9dc4 { display: none !important; }
	/* Projects: even 2 x 2 grid with full-width photos (each card was using a 3-column grid for one item). */
	body.home .elementor-43 .elementor-element-795cd37,
	body.home .elementor-43 .elementor-element-8bfbdd1 { display: none !important; }
	body.home .elementor-43 .elementor-element-0a77a53,
	body.home .elementor-43 .elementor-element-d0b4060 { gap: 24px !important; --gap: 24px !important; flex-wrap: nowrap !important; }
	body.home .elementor-43 :is(.elementor-element-6a16c91, .elementor-element-43f29d4, .elementor-element-b35735a, .elementor-element-d8f0fcd) { width: calc(50% - 12px) !important; --width: calc(50% - 12px) !important; max-width: calc(50% - 12px) !important; flex: 0 0 calc(50% - 12px) !important; }
	body.home .elementor-43 :is(.elementor-element-8380a5c, .elementor-element-e99f972, .elementor-element-f14a16a, .elementor-element-f8e3266) { width: 100% !important; --container-widget-width: 100% !important; max-width: 100% !important; }
	body.home .elementor-43 .elementor-widget-spaciaz-projects .d-grid { grid-template-columns: 1fr !important; }
	body.home .elementor-43 .elementor-widget-spaciaz-projects .project-post-thumbnail { height: auto !important; }
	body.home .elementor-43 .elementor-widget-spaciaz-projects .project-post-thumbnail img { width: 100% !important; height: 380px !important; object-fit: cover !important; }
	/* Completed / Ongoing / Upcoming: 3 readable cards, intro text full width below. */
	body.home .elementor-43 .elementor-element-88168f7 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; --e-con-grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; margin-bottom: 0 !important; }
	body.home .elementor-43 .elementor-element-88a9388 { grid-column: 1 / -1 !important; width: 100% !important; }
	body.home .elementor-43 .elementor-element-88a9388 .elementor-widget-text-editor { width: 100% !important; max-width: 100% !important; }
	/* "Introducing Interiors" banner: in normal flow (as on phones) instead of overlapping neighbouring sections. */
	body.home .elementor-43 .elementor-element-b48774f { padding: 10px 30px 40px !important; height: auto !important; }
	body.home .elementor-43 .elementor-element-3095430 { margin: 0 !important; width: 100% !important; max-width: 100% !important; --container-widget-width: 100% !important; }
	body.home .elementor-43 .elementor-element-3095430 img { border-radius: 24px !important; width: 100% !important; }
	/* What makes us different: heading + photo on top (not sticky), six cards in 3 columns. */
	body.home .elementor-43 .elementor-element-b361919,
	body.home .elementor-43 .elementor-element-b361919 > .e-con-inner { flex-direction: column !important; --flex-direction: column !important; gap: 40px !important; }
	body.home .elementor-43 .elementor-element-259f522,
	body.home .elementor-43 .elementor-element-5c7d5a6 { width: 100% !important; --width: 100% !important; max-width: 100% !important; }
	body.home .elementor-43 .elementor-element-259f522 { position: static !important; top: auto !important; }
	body.home .elementor-43 .elementor-element-806bda7 { width: 100% !important; max-width: 100% !important; --container-widget-width: 100% !important; }
	body.home .elementor-43 .elementor-element-8c8d283 { width: 100% !important; --width: 100% !important; max-width: 100% !important; min-height: 340px !important; background-size: cover !important; background-position: center !important; border-radius: 24px !important; }
	body.home .elementor-43 .elementor-element-5c7d5a6 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; --e-con-grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px !important; }
	body.home .elementor-43 .elementor-element-5c7d5a6 > .elementor-widget-icon-box { width: auto !important; max-width: 100% !important; margin: 0 !important; transform: none !important; top: auto !important; }

	/* ---------- Our Team ---------- */
	/* Three narrow columns overflowed the screen; two columns with larger photos. */
	body.page-id-55 .elementor-55 .elementor-widget-spaciaz-team-box .d-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 32px 24px !important; }
	body.page-id-55 .elementor-55 .elementor-widget-spaciaz-team-box .team-image,
	body.page-id-55 .elementor-55 .elementor-widget-spaciaz-team-box .team-image-inner { height: 440px !important; }
	body.page-id-55 .elementor-55 .elementor-widget-spaciaz-team-box .team-image-inner img { object-fit: cover !important; height: 100% !important; }
	body.page-id-55 .elementor-55 .elementor-widget-spaciaz-team-box .team-infor { margin: -45px 28px 0 !important; width: auto !important; }
	body.page-id-55 .elementor-55 .elementor-widget-spaciaz-team-box .team-name { width: auto !important; }
}

/* Phones and tablets (up to 1024px). */
@media (max-width: 1024px) {
	/* Why Choose Us: the rotating "what people says" badge was pulled 100px up over the paragraph. */
	body.page-id-53 .elementor-element-ae5d445 { margin-top: 16px !important; --margin-top: 16px !important; }
}

/* Tablet landscape / small laptop (1025px - 1280px): project info list in one column so values are not
   squeezed under the "Download Profile" side tab. */
@media (min-width: 1025px) and (max-width: 1280px) {
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) .e-con:has(> .elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) { display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; padding-right: 24px !important; }
	body.single-spaciaz_project [data-elementor-type="wp-post"] > .e-con:has(.elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) .e-con:has(> .elementor-widget-icon-box ~ .elementor-widget-icon-box ~ .elementor-widget-icon-box) > .elementor-widget-icon-box { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
}
