/*
 * Contact Us on phones (page 1210, Figma Mobile Design "Contact Us Page" 1416:18317), loaded by
 * inc/mobile-pages.php. "← Contact Us" title bar (body.sng-m-titled, generic rules in mobile-shell.css),
 * form in a cream card on a sand band, then a sand card with the photo above "Our Details", then the map
 * in its own card. Phones only (mobile_landscape, 767px); desktop is unchanged.
 */
@media (max-width: 767px) {
	/* Title bar page: no breadcrumb (mobile-shell.css), WhatsApp button or footer (Figma). */
	.page-id-1210 #brxe-mwabtn,
	.page-id-1210 #brxe-ftrsec {
		display: none;
	}

	.page-id-1210 #contact-layout {
		padding: 0;
	}

	.page-id-1210 #brxe-uyz54g {
		width: 100%;
		gap: 0;
	}

	/* ---------- Form card on a full-width sand band (20px around, 40px below) ---------- */
	.page-id-1210 #brxe-b4s5xy {
		position: relative;
		isolation: isolate; /* The two layers below stay under the form. */
		width: auto;
		gap: 15px;
		margin: 20px 20px 40px;
		padding: 20px;
	}

	/* Sand band: full width, from the top of the section to 40px under the card. */
	.page-id-1210 #brxe-b4s5xy::before,
	.page-id-1210 #brxe-b4s5xy::after {
		content: "";
		position: absolute;
		pointer-events: none;
	}

	.page-id-1210 #brxe-b4s5xy::before {
		inset: -20px -20px -40px;
		z-index: -2;
		background-color: var(--color-surface-sand);
	}

	/* The card itself. */
	.page-id-1210 #brxe-b4s5xy::after {
		inset: 0;
		z-index: -1;
		border: 1px solid #DDD2C0;
		border-radius: 10px;
		background-color: var(--color-surface-cream);
		box-shadow: 0 4px 14px rgba(43, 32, 22, 0.06);
	}

	.page-id-1210 :is(#brxe-fua0kp, #brxe-khzc5v) {
		font-size: 24px;
		line-height: 28.8px;
	}

	.page-id-1210 #brxe-g7erjf .form-group {
		padding-bottom: 15px;
	}

	.page-id-1210 #brxe-g7erjf .form-group:has(textarea) {
		padding-bottom: 0;
	}

	.page-id-1210 #brxe-g7erjf :is(input, textarea) {
		background-color: #FFFFFF;
	}

	.page-id-1210 #brxe-g7erjf :is(input, textarea)::placeholder {
		color: #6B5D4D;
		opacity: 1;
	}

	.page-id-1210 #brxe-g7erjf .form-group.form-group textarea { /* Beats Bricks field rules (.form-group:nth-child(5), --field-textarea-h). */
		height: 93px;
		min-height: 93px;
		resize: none;
	}

	.page-id-1210 #brxe-g7erjf .submit-button-wrapper {
		margin-top: 15px;
		padding-bottom: 0;
	}

	/* ---------- Details: photo on top, "Our Details" below, in one sand card; the map in its own card ---------- */
	.page-id-1210 #brxe-71avbo {
		gap: 20px;
		padding: 0 20px 40px;
		border: 0;
		border-radius: 0;
		background-color: transparent;
	}

	.page-id-1210 #brxe-780py1 {
		padding: 20px;
		border-radius: 10px;
		background-color: var(--color-surface-sand);
	}

	.page-id-1210 #brxe-d74zif {
		order: -1;
		width: 100%;
		height: 300px;
		overflow: hidden;
		border: 0;
		border-radius: 10px;
	}

	.page-id-1210 #brxe-2twcnk {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.page-id-1210 #brxe-9k1bs5 {
		gap: 15px;
	}

	.page-id-1210 #brxe-bq31jz > * {
		gap: 10px;
	}

	.page-id-1210 #brxe-bq31jz :is(p, a) {
		font-size: 14px;
		line-height: 19.6px;
		letter-spacing: 0.84px;
	}

	.page-id-1210 #brxe-zj1jkf {
		display: block;
		width: 100%;
		height: 316px;
		overflow: hidden;
	}

	.page-id-1210 #brxe-tocgff,
	.page-id-1210 #brxe-tocgff p,
	.page-id-1210 #brxe-tocgff iframe {
		display: block;
		width: 100%;
		height: 100%;
		margin: 0;
	}
}
