/* Preserve the desktop design while preventing narrow-screen overflow. */
html,
body {
	max-width: 100%;
	overflow-x: clip;
}

img,
video,
iframe {
	max-width: 100%;
}

/* Keep the compact language selector at the right edge of the header. */
#flags {
	width: 100% !important;
	text-align: right !important;
}

#flags ul#sortable {
	display: flex !important;
	float: none !important;
	justify-content: flex-end !important;
	align-items: center;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

@supports not (overflow: clip) {
	html,
	body {
		overflow-x: hidden;
	}
}

@media (max-width: 767px) {
	/* The original Elementor mobile values inherited fixed tablet widths and
	 * left offsets, pushing the homepage hero far outside the viewport. */
	body:not(.rtl) .elementor-1473 .elementor-element.elementor-element-69eebfdc,
	body.rtl .elementor-1473 .elementor-element.elementor-element-69eebfdc {
		left: 0 !important;
		right: 0 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		padding-inline: 20px;
	}

	.elementor-1473 .elementor-element.elementor-element-69eebfdc .elementor-heading-title {
		display: block;
		width: calc(100vw - 40px);
		max-width: calc(100vw - 40px);
		font-size: clamp(27px, 8vw, 34px);
		line-height: 1.18;
		white-space: normal !important;
		overflow-wrap: anywhere;
	}

	body:not(.rtl) .elementor-1473 .elementor-element.elementor-element-f66c4c6,
	body.rtl .elementor-1473 .elementor-element.elementor-element-f66c4c6 {
		left: 0 !important;
		right: 0 !important;
		width: 100vw !important;
		max-width: 100vw !important;
		padding-inline: 24px;
	}

	.elementor-1473 .elementor-element.elementor-element-f66c4c6 p {
		width: calc(100vw - 48px);
		max-width: calc(100vw - 48px);
		line-height: 1.45;
		white-space: normal !important;
		overflow-wrap: anywhere;
	}

	/* Keep Elementor and PowerPack cards inside the mobile viewport. */
	.elementor-section .elementor-container,
	.elementor-column,
	.elementor-widget-wrap,
	.pp-info-box-container,
	.pp-post-wrap {
		max-width: 100%;
		min-width: 0;
	}

	/* Ensure the responsive header toggle remains visible and easy to tap. */
	.elementor-1007 .elementor-element.elementor-element-7ff4a146 .hfe-nav-menu__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 44px;
		min-height: 44px;
		margin-inline-start: auto;
	}

	.elementor-1007 .elementor-element.elementor-element-7ed6d73d,
	.elementor-1007 .elementor-element.elementor-element-7ff4a146 {
		width: 100% !important;
		max-width: 100% !important;
	}

	.elementor-1007 .elementor-element.elementor-element-7ff4a146 nav.hfe-dropdown,
	.elementor-1007 .elementor-element.elementor-element-7ff4a146 nav.hfe-dropdown-expandible {
		width: 100vw;
		max-width: 100vw;
	}

	#glt-translate-trigger {
		max-width: calc(100vw - 24px);
		white-space: nowrap;
	}
}
/* Event detail hero: escape The Events Calendar's boxed wrapper while the
 * article content remains at a readable width. */
.single-tribe_events #tribe-events-pg-template {
    overflow: visible;
    padding-top: 0 !important;
}

.single-tribe_events .elementor-location-single > .elementor-element-203b7ba {
    position: relative;
    left: auto !important;
    width: 100vw;
    max-width: 100vw;
    height: 197px !important;
    min-height: 197px !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-top: 32px !important;
    padding-bottom: 32px !important;
    box-sizing: border-box;
}

.single-tribe_events .elementor-element-203b7ba .elementor-container {
    width: min(1180px, 100%);
    height: 100%;
    min-height: 0 !important;
    padding-inline: 24px;
}

.single-tribe_events .elementor-element-203b7ba .elementor-heading-title {
    overflow-wrap: anywhere;
    text-wrap: balance;
}

@media (max-width: 767px) {
    .single-tribe_events .elementor-location-single > .elementor-element-203b7ba {
        height: 178px !important;
        min-height: 178px !important;
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .single-tribe_events .elementor-element-203b7ba .elementor-container {
        padding-inline: 16px;
    }
}
