/**
 * 1) Double vertical scrollbars
 * Parent theme sets body { overflow-x: hidden }, which forces overflow-y to auto
 * and can create a second scrollbar. clip avoids that without losing horizontal clip.
 */
html {
	overflow-x: clip;
}
body {
	overflow-x: clip !important;
}

/**
 * 2) Second scrollbar on the right edge
 * Closed .tgmobile__menu uses translateX(101%), but padding + Elementor nesting
 * leave a sliver of .tgmobile__menu-box (overflow-y: auto) in view — that sliver
 * is the extra Windows scrollbar. Hide the drawer fully until opened.
 */
.tgmobile__menu {
	visibility: hidden;
	pointer-events: none;
	transform: translateX(calc(100% + 80px)) !important;
}
body.mobile-menu-visible .tgmobile__menu {
	visibility: visible;
	pointer-events: auto;
	transform: translateX(0) !important;
}

/**
 * 3) Blog archive / posts: restore gap between content grid and sidebar
 * Parent theme pulls the sidebar left with margin-left: -23px, which collapses the gutter.
 */
.tg-blog-standard-area .tg-blog-sidebar,
.tg-blog-standard-area aside.tg-blog-sidebar,
body.blog .tg-blog-sidebar,
body.archive .tg-blog-sidebar,
body.category .tg-blog-sidebar,
body.tag .tg-blog-sidebar,
body.search .tg-blog-sidebar,
body.single-post .tg-blog-sidebar {
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 28px;
}

.tg-blog-standard-area .col-xl-9,
.tg-blog-standard-area .col-lg-8,
body.blog .col-xl-9,
body.blog .col-lg-8,
body.single-post .col-xl-9,
body.single-post .col-lg-8 {
	padding-right: 16px;
}

.tg-blog-standard-wrap.mr-40,
.tg-blog-standard-wrap.tg-blog-lg-spacing {
	margin-right: 40px !important;
}

@media (max-width: 991px) {
	.tg-blog-standard-area .tg-blog-sidebar,
	body.blog .tg-blog-sidebar,
	body.single-post .tg-blog-sidebar {
		padding-left: 0;
		margin-top: 40px;
	}

	.tg-blog-standard-wrap.mr-40,
	.tg-blog-standard-wrap.tg-blog-lg-spacing {
		margin-right: 0 !important;
	}

	.tg-blog-standard-area .col-xl-9,
	.tg-blog-standard-area .col-lg-8,
	body.blog .col-xl-9,
	body.blog .col-lg-8 {
		padding-right: 12px;
	}
}

/**
 * 4) Paragraph / content links only
 * (Also printed inline from functions.php so LiteSpeed UCSS cannot drop these.)
 */
body .elementor-widget-text-editor a,
body .elementor-widget-text-editor .elementor-widget-container a,
body .elementor-widget-accordion .elementor-tab-content a,
body .elementor-widget-theme-post-content a,
body .wp-block-paragraph a,
body .wp-block-list a,
body .wp-block-quote a,
body .entry-content a,
body .tg-blog-details a,
body .blog-details a,
body .tg-blog__details a {
	text-decoration: underline !important;
	text-underline-offset: 0.2em;
	text-decoration-thickness: 1px;
	font-weight: 600;
}

body .elementor-widget-text-editor a:hover,
body .elementor-widget-accordion .elementor-tab-content a:hover,
body .wp-block-paragraph a:hover,
body .wp-block-list a:hover,
body .entry-content a:hover,
body .blog-details a:hover {
	text-decoration-thickness: 2px !important;
}

/* Light content areas: brand link color (skip inline-styled hero links) */
body .elementor-widget-text-editor a:not([style*="color"]),
body .elementor-widget-accordion .elementor-tab-content a,
body .wp-block-paragraph a,
body .wp-block-list a,
body .entry-content a,
body .blog-details a {
	color: #562F07;
}

/* tst blog readability note: primary rules are inlined via functions.php for LiteSpeed reliability */

/**
 * 5) Trip page tabs: keep WTE border indicator only
 * Content-link underlines were also hitting Overview / Itinerary / Cost tabs.
 */
body.single-trip .entry-content a.nav-tab,
body.single-trip .entry-content a.nb-tab-trigger,
body .wpte-tabs-container a.nav-tab,
body .wpte-tabs-container a.nb-tab-trigger,
body .wpte-sticky-tab-mobile a.nav-tab,
body .wpte-sticky-tab-mobile a.nb-tab-trigger {
	text-decoration: none !important;
	font-weight: inherit;
}

body.single-trip .entry-content a.nav-tab:hover,
body.single-trip .entry-content a.nb-tab-trigger:hover,
body .wpte-tabs-container a.nav-tab:hover,
body .wpte-tabs-container a.nb-tab-trigger:hover {
	text-decoration: none !important;
	text-decoration-thickness: 0 !important;
}
