/* PS Reviews — mobile / tablet polish (Spectra block e78118af)
 * Desktop (≥1024px) uses Spectra defaults — do not override here.
 */

@media (max-width: 1023.98px) {
	/* Outer section */
	body.home .wp-block-spectra-container[data-spectra-id="e78118af"] {
		box-sizing: border-box;
		max-width: 100%;
		overflow-x: clip;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	body.home .wp-block-spectra-container:where([data-spectra-id="e78118af"]) > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
	body.home .wp-block-spectra-container:where([data-spectra-id="e78118af"]) > .alignwide {
		max-width: min(1200px, 100%) !important;
		width: 100%;
		box-sizing: border-box;
	}

	/* Headings */
	body.home .wp-block-spectra-content[data-spectra-id="spectra-526e0228-prefix"] {
		font-weight: 600 !important;
		line-height: 1.35;
		overflow-wrap: anywhere;
	}

	body.home .wp-block-spectra-content[data-spectra-id="spectra-526e0228-title"] {
		line-height: 1.25;
		overflow-wrap: anywhere;
	}

	/* Reviews grid */
	body.home .wp-block-spectra-container:where([data-spectra-id="bbc71e01"]) {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		align-items: stretch !important;
	}

	body.home .wp-block-spectra-container:where([data-spectra-id="bbc71e01"]) > * {
		min-width: 0;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Review cards */
	body.home .wp-block-spectra-container[data-spectra-id="577c844c"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-40425a98-baa9-4abc-86fd-f32a5ca698bc"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-321e3d1c-3a2f-434c-8721-adfb6337cefd"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-41dd487e-a0fd-4e6c-85a1-e245257c6f8d"] {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box;
		border-width: 3px !important;
		border-radius: 12px;
		overflow: hidden;
	}

	/* Images inside review cards */
	body.home .wp-block-spectra-container[data-spectra-id="e78118af"] .wp-block-image {
		margin: 0;
		width: 100%;
		max-width: 100%;
	}

	body.home .wp-block-spectra-container[data-spectra-id="e78118af"] .wp-block-image img {
		display: block;
		width: 100% !important;
		max-width: 100% !important;
		height: auto !important;
		object-fit: contain !important;
	}
}

@media (max-width: 767.98px) {
	body.home .wp-block-spectra-container[data-spectra-id="e78118af"] {
		padding-top: 40px !important;
		padding-bottom: 48px !important;
		padding-left: 14px !important;
		padding-right: 14px !important;
	}

	body.home .wp-block-spectra-content[data-spectra-id="spectra-526e0228-prefix"] {
		font-size: 1rem !important;
		margin-bottom: 10px !important;
	}

	body.home .wp-block-spectra-content[data-spectra-id="spectra-526e0228-title"] {
		font-size: clamp(1.35rem, 6.2vw, 1.85rem) !important;
	}

	body.home .wp-block-spectra-container:where([data-spectra-id="bbc71e01"]) {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		gap: 14px !important;
		margin-top: 24px !important;
		align-items: stretch !important;
	}

	body.home .wp-block-spectra-container[data-spectra-id="577c844c"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-40425a98-baa9-4abc-86fd-f32a5ca698bc"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-321e3d1c-3a2f-434c-8721-adfb6337cefd"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-41dd487e-a0fd-4e6c-85a1-e245257c6f8d"] {
		padding: 10px !important;
		border-width: 2px !important;
	}
}

@media (min-width: 768px) and (max-width: 1023.98px) {
	body.home .wp-block-spectra-container[data-spectra-id="e78118af"] {
		padding-top: 56px !important;
		padding-bottom: 64px !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	body.home .wp-block-spectra-container:where([data-spectra-id="bbc71e01"]) {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px !important;
		margin-top: 28px !important;
	}

	body.home .wp-block-spectra-container[data-spectra-id="577c844c"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-40425a98-baa9-4abc-86fd-f32a5ca698bc"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-321e3d1c-3a2f-434c-8721-adfb6337cefd"],
	body.home .wp-block-spectra-container[data-spectra-id="spectra-41dd487e-a0fd-4e6c-85a1-e245257c6f8d"] {
		padding: 12px !important;
	}
}
