/*
Theme Name: Hoteller Child
Theme URI: https://themes.themegoods.com/hoteller/landing
Description: Premium Photography WordPress Theme
Version: 1.0
Author: ThemeGoods
Author URI: https://themeforest.net/user/ThemeGoods
License: GNU General Public License
License URI: https://themeforest.net/licenses/regular_extended
Text Domain: hoteller
Template: hoteller
*/

#hidden {
	display: none;
}

.fullwidth_comment_wrapper {
	display: none;
}

/*
 * Uniform hero titles across Elementor pages and accommodation pages.
 * Each hero is the first top-level Elementor section/container; targeting it
 * avoids changing headings used later in the page content.
 */
.elementor[data-elementor-type="wp-page"] > .elementor-element:first-child .elementor-heading-title,
body.single-mphb_room_type .elementor[data-elementor-type="wp-post"] > .elementor-element:first-child .elementor-heading-title {
	font-size: 3rem !important;
}

/* Suite listing: subtitle placed after a comma in a room title. */
.mphb_sc_rooms-wrapper .mphb-room-type-title .ldc-suite-title-detail {
	display: block;
	margin-top: 0.12em;
	font-size: 0.72em;
	line-height: 1.25;
}
#page_content_wrapper.blog_wrapper.hasbg {
  margin-top: -140px;
  margin-bottom: 8rem;
}

.ldc-language-switcher {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	font: inherit;
	line-height: 1;
}

.ldc-language-switcher .ldc-language-link {
	color: inherit;
	text-decoration: none;
	opacity: 0.65;
}

.ldc-language-switcher .ldc-language-link:hover,
.ldc-language-switcher .ldc-language-link:focus-visible,
.ldc-language-switcher .ldc-language-link.is-current {
	opacity: 1;
}

.ldc-language-switcher--light,
.ldc-language-switcher--light .ldc-language-link,
.ldc-language-switcher--light .ldc-language-separator {
	color: #fff !important;
}

.ldc-language-switcher--dark,
.ldc-language-switcher--dark .ldc-language-link,
.ldc-language-switcher--dark .ldc-language-separator {
	color: #252824 !important;
}

/* One viewport-fixed booking action for mobile, independent of sticky headers. */
.ldc-mobile-booking-bar {
	display: none;
}

@media (max-width: 767px) {
	/* Mobile hero titles are often built with two consecutive heading widgets.
	 * Keep both fields in one wrapping line and scale them down together. */
	.elementor[data-elementor-type="wp-page"] > .elementor-element:first-child .elementor-heading-title,
	body.single-mphb_room_type .elementor[data-elementor-type="wp-post"] > .elementor-element:first-child .elementor-heading-title {
		font-size: 2.4rem !important;
		line-height: 1.12 !important;
	}

	.elementor[data-elementor-type="wp-page"] > .elementor-element:first-child .elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-heading),
	body.single-mphb_room_type .elementor[data-elementor-type="wp-post"] > .elementor-element:first-child .elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-heading) {
		display: flex;
		flex-wrap: wrap;
		align-items: baseline;
		column-gap: 0.22em;
		row-gap: 0;
	}

	.elementor[data-elementor-type="wp-page"] > .elementor-element:first-child .elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-heading) > .elementor-widget-heading,
	body.single-mphb_room_type .elementor[data-elementor-type="wp-post"] > .elementor-element:first-child .elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-heading) > .elementor-widget-heading {
		flex: 0 1 auto;
		width: auto !important;
		max-width: 100%;
		margin: 0 !important;
	}

	.elementor[data-elementor-type="wp-page"] > .elementor-element:first-child .elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-heading) > .elementor-widget-image,
	body.single-mphb_room_type .elementor[data-elementor-type="wp-post"] > .elementor-element:first-child .elementor-widget-wrap:has(> .elementor-widget-heading + .elementor-widget-heading) > .elementor-widget-image {
		flex: 0 0 100%;
	}

	/* Preserve small spacers and cap only the oversized mobile ones. */
	.elementor-widget-spacer .elementor-spacer-inner {
		max-height: 72px !important;
		min-height: 0 !important;
	}

	/* Suite listings keep edge-to-edge photos, while their textual column
	 * receives a comfortable gutter in both French and English. */
	.mphb_sc_rooms-wrapper .room-content {
		box-sizing: border-box;
		padding-right: 20px;
		padding-left: 20px;
	}

	/* Contact FR/EN: centre the list as a complete block while keeping
	 * bullets and wrapped lines aligned in a readable left-hand column. */
	.ldc-contact-directions > .elementor-widget-container {
		box-sizing: border-box;
		padding-right: 18px;
		padding-left: 18px;
		text-align: center;
	}

	.ldc-contact-directions ul {
		display: block;
		width: fit-content;
		max-width: calc(100% - 12px);
		margin: 0 auto 18px !important;
		padding-left: 1.35em !important;
		list-style-position: outside;
		text-align: left !important;
	}

	.ldc-contact-directions li {
		margin: 0 !important;
		padding-left: 0.25em;
		line-height: 1.5;
	}

	.ldc-contact-directions li + li {
		margin-top: 0.3em !important;
	}

	/* Full-screen navigation: tighter rhythm and clearer hierarchy on mobile. */
	.fullmenu-wrapper .mainnav .e-n-accordion-item-title-text,
	.fullmenu-wrapper .e-parent > .e-child:first-child > .elementor-widget-icon-list > .elementor-widget-container > .elementor-icon-list-items > .elementor-icon-list-item > a,
	.fullmenu-wrapper .e-parent > .e-child:first-child > .elementor-widget-icon-list > .elementor-widget-container > .elementor-icon-list-items > .elementor-icon-list-item > .elementor-icon-list-text {
		font-size: 1.5rem !important;
		line-height: 1.3 !important;
	}

	.fullmenu-wrapper .mainnav .e-n-accordion-item [role="region"] .elementor-icon-list-item > a,
	.fullmenu-wrapper .mainnav .e-n-accordion-item [role="region"] .elementor-icon-list-item > .elementor-icon-list-text {
		font-size: 1.2rem !important;
		line-height: 1.35 !important;
	}

	.fullmenu-wrapper .mainnav,
	.fullmenu-wrapper .e-parent > .e-child:first-child > .elementor-widget-icon-list {
		margin-top: 0 !important;
		margin-bottom: 12px !important;
	}

	.fullmenu-wrapper .mainnav .e-n-accordion-item [role="region"] .elementor-widget-icon-list {
		margin: 8px 0 4px 14px !important;
	}

	.fullmenu-wrapper .e-parent > .e-child:first-child > .elementor-widget-icon-list .elementor-icon-list-item:not(:last-child) {
		padding-block-end: 4px !important;
	}

	.fullmenu-wrapper .e-parent > .e-child:first-child {
		--padding-top: 24px !important;
		--padding-bottom: 24px !important;
		--padding-left: 24px !important;
		--padding-right: 20px !important;
	}

	/* Elementor contains two mobile switchers in some header variants. */
	.ldc-language-switcher--mobile-duplicate {
		display: none !important;
	}

	html {
		scroll-padding-bottom: 54px;
	}

	body {
		padding-bottom: calc(50px + env(safe-area-inset-bottom, 0px));
	}

	.ldc-mobile-booking-bar {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 999999;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 12px;
		min-height: 50px;
		padding: 0 18px env(safe-area-inset-bottom, 0px);
		background: #73796d;
		color: #fff !important;
		font-family: "Reforma1969", Georgia, serif;
		font-size: 17px;
		line-height: 50px;
		text-align: center;
		text-decoration: none !important;
		box-sizing: content-box;
		box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.08);
	}

	.ldc-mobile-booking-icon {
		width: 16px;
		height: 16px;
		fill: currentColor;
		flex: 0 0 16px;
	}

	/* Hide the six Elementor copies: the global bar above replaces them. */
	.elementor-element-4b4b623f,
	.elementor-element-34f658ca,
	.elementor-element-cfa3d63 {
		display: none !important;
	}

	/* Social icons are desktop-only; keep the right mobile column for FR | EN. */
	.elementor-element-fd805ca,
	.elementor-element-21606232,
	.elementor-element-544a3a72 {
		display: none !important;
	}

	/* Language switcher now lives in the 20% right column of every header. */
	.elementor-element-44755114,
	.elementor-element-4ded12cb,
	.elementor-element-afbf1d5 {
		width: 20% !important;
		max-width: 20% !important;
		flex: 0 0 20% !important;
		justify-content: flex-end !important;
	}

	.elementor-element-44755114 .ldc-language-switcher,
	.elementor-element-4ded12cb .ldc-language-switcher,
	.elementor-element-afbf1d5 .ldc-language-switcher {
		white-space: nowrap;
		font-size: 14px;
		line-height: 1;
	}

	/* Keep the existing switcher but position it against the complete header
	 * row instead of the 20% burger column that contains it in Elementor. */
	.elementor-element-356b2f71,
	.elementor-element-657858ad,
	.elementor-element-0be2d34 {
		position: relative !important;
	}

	.elementor-element-3f91b313,
	.elementor-element-52b1358e,
	.elementor-element-011d546 {
		position: static !important;
	}

	.elementor-element-6c52893,
	.elementor-element-7bad862,
	.elementor-element-308ea99,
	.elementor-element-2b10cd4,
	.elementor-element-76f7a61,
	.elementor-element-17c8f9c {
		position: absolute !important;
		top: 50% !important;
		right: 18px !important;
		left: auto !important;
		z-index: 20 !important;
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		transform: translateY(-50%) !important;
	}

	.elementor-element-6c52893 .ldc-language-switcher,
	.elementor-element-7bad862 .ldc-language-switcher,
	.elementor-element-308ea99 .ldc-language-switcher,
	.elementor-element-2b10cd4 .ldc-language-switcher,
	.elementor-element-76f7a61 .ldc-language-switcher,
	.elementor-element-17c8f9c .ldc-language-switcher {
		font-size: 13px !important;
		gap: 0.35em;
	}
}
