/*
 * Go&Globe site polish (Travel Monster theme):
 *  - one slim sticky header row on phones/tablets instead of two tall rows
 *  - slimmer desktop header
 *  - readable heading/text sizes on phones
 * Turn off under Trip Leads → Settings → "Slim header & mobile text sizes".
 */

/* ---------- Phone / tablet header: logo left, menu right, one 56px row ---------- */
@media only screen and (max-width: 1024px) {
.mobile-header {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	background: #fff;
	box-shadow: 0 1px 10px rgba(16, 24, 40, .08);
}
.mobile-header-t {
	flex: 1 1 auto;
	min-width: 0;
	height: auto !important;
	padding: 8px 0 8px 14px !important;
	margin: 0 !important;
	background: transparent !important;
}
.mobile-header-t .container {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
}
.mobile-header-t .site-branding,
.mobile-header-t .text-logo {
	justify-content: flex-start !important;
	text-align: left !important;
	margin: 0 !important;
}
.mobile-header .custom-logo-link {
	display: inline-block;
	line-height: 0;
}
.mobile-header .custom-logo {
	height: 36px !important;
	width: auto !important;
	max-height: 36px !important;
}
.mobile-header-b {
	flex: 0 0 auto;
	height: auto !important;
	background: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
}
.mobile-header-b .srch-moblop-wrap {
	width: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}
.mobile-header .mobile-search-wrap {
	display: none !important; /* trip search is still on the homepage and in the menu */
}
.mobile-header .mobile-menu-op-wrap {
	display: flex !important;
	align-items: center;
	gap: 8px;
	width: auto !important;
	padding: 12px 14px !important;
	border: 0 !important;
	background: transparent !important;
	cursor: pointer;
}
.mobile-header .mobile-menu-opener span,
.mobile-header .mobile-menu-opener span::before,
.mobile-header .mobile-menu-opener span::after,
.mobile-header .mobile-menu-opener::before,
.mobile-header .mobile-menu-opener::after {
	background-color: #13897b !important;
}
.mobile-header .mob-menu-op-txt {
	color: #13897b !important;
	font-size: 15px !important;
	font-weight: 700;
}
} /* end max-width:1024px */

/* ---------- Desktop header: thinner top bar and nav row ---------- */
@media (min-width: 1025px) {
	.site-header .header-m {
		padding-top: 6px !important;
		padding-bottom: 6px !important;
		min-height: 0 !important;
		font-size: 14px;
	}
	.site-header .header-m .container {
		min-height: 0 !important;
	}
	.site-header .header-b {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
		box-shadow: 0 1px 10px rgba(16, 24, 40, .06);
	}
	.site-header .btn-book .btn-primary {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		line-height: 1.3 !important;
	}
}

/* ---------- Tablet text sizes ---------- */
@media (min-width: 768px) and (max-width: 1024px) {
	body .elementor-widget-heading h1.elementor-heading-title { font-size: 40px !important; line-height: 1.2 !important; }
	body .elementor-widget-heading h2.elementor-heading-title { font-size: 32px !important; line-height: 1.25 !important; }
	body .entry-title, body h1.entry-title { font-size: 32px !important; line-height: 1.25 !important; }
}

/* ---------- Phone text sizes ---------- */
@media (max-width: 767px) {
	/* Homepage / Elementor sections */
	body .elementor-widget-heading h1.elementor-heading-title { font-size: 30px !important; line-height: 1.2 !important; }
	body .elementor-widget-heading h2.elementor-heading-title { font-size: 24px !important; line-height: 1.3 !important; }
	body .elementor-widget-heading h3.elementor-heading-title,
	body .elementor-icon-box-title { font-size: 18px !important; line-height: 1.35 !important; }
	body .elementor-widget-text-editor,
	body .elementor-widget-text-editor p,
	body .elementor-icon-box-description { font-size: 15px !important; line-height: 1.6 !important; }

	/* Blog posts and pages */
	body h1.entry-title,
	body .entry-title { font-size: 25px !important; line-height: 1.3 !important; }
	body .entry-content-wrap h2,
	body .entry-content h2,
	body .wp-block-heading:is(h2) { font-size: 21px !important; line-height: 1.35 !important; }
	body .entry-content-wrap h3,
	body .entry-content h3,
	body .wp-block-heading:is(h3) { font-size: 18px !important; line-height: 1.4 !important; }
	body .entry-content-wrap h4,
	body .entry-content h4 { font-size: 16px !important; }
	body .entry-content-wrap p,
	body .entry-content-wrap li,
	body .entry-content p,
	body .entry-content li { font-size: 16px !important; line-height: 1.65 !important; }

	/* Trip cards */
	body .wpte-trip-title { font-size: 17px !important; line-height: 1.35 !important; }

	/* Less empty space between sections */
	body .site-main > article,
	body .entry-content-wrap { margin-top: 0; }

	/* The bottom bar already has WhatsApp: hide the second WhatsApp bubble so they don't overlap */
	body.gg-has-bar #simple-chat-button--container { display: none !important; }
}

/* Less empty space above posts/pages on phones */
@media (max-width: 767px) {
	body:not(.home) .main-content-wrapper { margin-top: 20px !important; }
}
