/*
 * WHT P1 Minimum Fixes 1.0.8
 *
 * The selectors below are intentionally limited to the identified Home page,
 * Elementor header template 9965 and Elementor Form widget e6493a0.
 */

/*
 * The two standalone tour roots used viewport-width full-bleed geometry.
 * When a vertical scrollbar is present, 100vw is wider than the document
 * client area. These page-ID-scoped rules retain the full content width
 * without masking overflow globally.
 */
body.page-id-8639 .wht-oil-wine-page,
body.page-id-8645 .wht-vineyard-page {
	left: auto;
	right: auto;
	width: 100%;
	max-width: 100%;
	margin-right: 0;
	margin-left: 0;
}

/*
 * At the Elementor tablet breakpoint, the existing Mijas booking column is
 * narrower than TuriTop's 250 px iframe minimum. Fit only that known iframe
 * to its own widget; TuriTop behavior and configuration remain unchanged.
 */
@media (min-width: 721px) and (max-width: 900px) {
	body.page-id-8640 .elementor-element-70dc7865 iframe.iframe-resizable-turitop {
		width: 100% !important;
		min-width: 0 !important;
		max-width: 100% !important;
	}
}

@media (min-width: 1200px) {
	body.page-id-1031 .elementor-9965 .elementor-element-2309a75 {
		padding-right: 18px !important;
		padding-left: 18px !important;
	}

	body.page-id-1031 .elementor-9965 .elementor-element-a49dec9 {
		align-items: center !important;
		gap: 12px !important;
	}

	body.page-id-1031 .elementor-9965 .elementor-element-2c412ae {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
	}

	body.page-id-1031 .elementor-9965 .elementor-element-2c412ae .elementor-nav-menu {
		flex-wrap: nowrap !important;
	}

	body.page-id-1031 .elementor-9965 .elementor-element-2c412ae .elementor-nav-menu > li > a {
		padding-right: 4px !important;
		padding-left: 4px !important;
		white-space: nowrap;
	}

	body.page-id-1031 .elementor-9965 .elementor-element-01829d9 {
		flex: 0 0 96px !important;
		width: 96px !important;
	}

	body.page-id-1031 .elementor-9965 .elementor-element-01829d9 .elementor-social-icons-wrapper {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: center;
		gap: 8px !important;
	}

	body.page-id-1031 .elementor-9965 .elementor-element-344b0f5 {
		flex: 0 0 auto !important;
		width: auto !important;
	}
}

/*
 * At the exact 1280 desktop preflight width the six-item Home menu retained
 * its intrinsic 13 px width and overlapped the adjacent Instagram control.
 * A one-pixel type reduction within this narrow desktop band keeps all menu
 * labels on one line and restores a positive gap without hiding any control.
 */
@media (min-width: 1200px) and (max-width: 1300px) {
	body.page-id-1031 .elementor-9965 .elementor-element-2c412ae .elementor-nav-menu > li > a {
		font-size: 12px !important;
	}
}

@media (max-width: 430px) {
	body.page-id-1031 .elementor-element-e6493a0 .elementor-form-fields-wrapper {
		margin-right: -18px !important;
		margin-left: -18px !important;
	}

	body.page-id-1031 .elementor-element-e6493a0 .elementor-form-fields-wrapper > .elementor-field-group {
		padding-right: 18px !important;
		padding-left: 18px !important;
	}
}
