
/* ===================================================================================

* Theme Name: Turie Child
* Theme URI: https://wp.aqlova.com/turie/
* Author: AQLOVA
* Author URI: https://themeforest.net/user/aqlova
* Description: Turie - Modern Travel & Tour Booking WordPress Theme
* Version: 1.0.0
* Template: turie
* License: GNU General Public License version 3.0
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: turie-child
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
Tested up to: 6.7
Requires PHP: 7.4

* We encourage you to create Child theme for any modifications you will want to do.

* Why use Child theme?

* Because of future updates we may provide for this theme that will overwrite your
* modifications and all your custom work.

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
* http://wp.tutsplus.com/tutorials/theme-development/child-themes-basics-and-creating-child-themes-in-wordpress/

====================================================================================== */

/* Header search alignment */
.tp-header-search {
	position: relative;
}

.tp-header-search form {
	position: relative;
	display: flex;
	align-items: center;
}

.tp-header-search .tp-input {
	display: block;
	box-sizing: border-box;
	line-height: 1;
	padding: 0 24px 0 72px !important;
}

.tp-header-search .tp-header-search-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 48px !important;
	height: 48px !important;
	border-radius: 50%;
	right: auto !important;
	left: 4px !important;
	line-height: 1;
	z-index: 3;
}

.tp-header-search .tp-header-search-btn i,
.tp-header-search .tp-header-search-btn svg {
	display: block;
	line-height: 1;
}

.tp-header-typing-wrap {
	top: 50% !important;
	display: flex;
	align-items: center;
	height: 1em;
	line-height: 1;
	pointer-events: none;
	white-space: nowrap;
	z-index: 2;
}

.tp-header-typing-wrap span {
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.tp-header-search:focus-within .tp-header-typing-wrap {
	opacity: 0;
	visibility: hidden;
}

.tp-header-search .tp-header-typing-wrap {
	left: 142px;
}

.tp-header-one .tp-header-search .tp-input {
	padding: 0 72px 0 24px !important;
}

.tp-header-one .tp-header-search-btn {
	right: 4px !important;
	left: auto !important;
}

.tp-header-one .tp-header-typing-wrap {
	right: 142px;
	left: auto;
}

@media (max-width: 1399px) {
	.tp-header-search .tp-header-typing-wrap {
		left: 128px;
	}

	.tp-header-one .tp-header-typing-wrap {
		right: 128px;
	}
}

/* Home featured experiences button */
.elementor-element-6b8ec72 .tp-el-btn.tp-btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 12px 24px !important;
	border-radius: 999px !important;
	background: #1e5432 !important;
	background-color: #1e5432 !important;
	color: #fff !important;
	line-height: 1.1 !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.elementor-439 .elementor-element.elementor-element-6b8ec72 .tp-el-btn.tp-btn {
	background: #1e5432 !important;
	background-color: #1e5432 !important;
}

.elementor-element-6b8ec72 .tp-el-btn.tp-btn:hover {
	background: #163f26 !important;
	background-color: #163f26 !important;
	color: #fff !important;
}

.elementor-439 .elementor-element.elementor-element-6b8ec72 .tp-el-btn.tp-btn:hover {
	background: #163f26 !important;
	background-color: #163f26 !important;
}

/* Tour cards: keep booking buttons aligned with Latitud 6 colors */
.tp-tour-btn .tp-btn-sm {
	color: #1e5432 !important;
	border-color: rgba(30, 84, 50, 0.28) !important;
}

.tp-tour-btn .tp-btn-sm:hover,
.tp-tour-btn .tp-btn-sm:focus {
	background: #1e5432 !important;
	background-color: #1e5432 !important;
	border-color: #1e5432 !important;
	color: #fff !important;
}

/* Latitud 6 lodging page */
.latitud6-lodging-page {
	color: #071516;
	background: #fff;
}

.latitud6-lodging-hero {
	background: #eef7f0;
	padding: 96px 15px 86px;
	text-align: center;
}

.latitud6-lodging-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(30, 84, 50, 0.18);
	border-radius: 999px;
	color: #1e5432;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	margin-bottom: 18px;
	padding: 9px 18px;
	text-transform: uppercase;
}

.latitud6-lodging-hero h1 {
	font-size: 58px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 auto 18px;
	max-width: 820px;
}

.latitud6-lodging-hero p {
	color: #5e596d;
	font-size: 18px;
	line-height: 1.7;
	margin: 0 auto;
	max-width: 720px;
}

.latitud6-lodging-grid-section {
	padding: 86px 15px 96px;
}

.latitud6-lodging-grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1180px;
}

.latitud6-lodging-card {
	background: #fff;
	border: 1px solid rgba(7, 21, 22, 0.08);
	border-radius: 8px;
	box-shadow: 0 18px 45px rgba(7, 21, 22, 0.08);
	overflow: hidden;
}

.latitud6-lodging-card img {
	aspect-ratio: 16 / 10;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.latitud6-lodging-card-body {
	padding: 24px;
}

.latitud6-lodging-location {
	color: #1e5432;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.latitud6-lodging-card h2 {
	font-size: 24px;
	font-weight: 750;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0 0 12px;
}

.latitud6-lodging-card p {
	color: #5e596d;
	font-size: 16px;
	line-height: 1.65;
	margin: 0 0 18px;
}

.latitud6-lodging-meta {
	border-top: 1px solid rgba(7, 21, 22, 0.1);
	display: flex;
	flex-wrap: wrap;
	gap: 10px 18px;
	margin-bottom: 22px;
	padding-top: 16px;
}

.latitud6-lodging-meta span {
	color: #4f4a60;
	font-size: 14px;
	font-weight: 600;
}

.latitud6-lodging-card a {
	align-items: center;
	background: #1e5432;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	line-height: 1;
	min-height: 42px;
	padding: 12px 22px;
	text-decoration: none;
}

.latitud6-lodging-card a:hover {
	background: #163f26;
	color: #fff;
}

@media (max-width: 991px) {
	.latitud6-lodging-hero h1 {
		font-size: 44px;
	}

	.latitud6-lodging-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.latitud6-lodging-hero {
		padding-bottom: 64px;
		padding-top: 72px;
	}

	.latitud6-lodging-hero h1 {
		font-size: 34px;
	}

	.latitud6-lodging-grid {
		grid-template-columns: 1fr;
	}
}

.latitud6-trip-listing-page {
	background: #fff;
	padding: 90px 0 80px;
}

.latitud6-route-heading {
	margin: 0 0 42px;
	max-width: 760px;
}

.latitud6-route-heading h1 {
	color: #071516;
	font-size: 52px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 0 14px;
}

.latitud6-route-heading p {
	color: #5e596d;
	font-size: 17px;
	line-height: 1.7;
	margin: 0;
}

.latitud6-trip-listing-page .tp-tour-thumb img {
	aspect-ratio: 16 / 9;
	height: auto;
	object-fit: cover;
	width: 100%;
}

@media (max-width: 640px) {
	.latitud6-trip-listing-page {
		padding: 64px 0 54px;
	}

	.latitud6-route-heading h1 {
		font-size: 34px;
	}
}

/* Footer bottom gap */
html,
body.home,
body.page-template-elementor_header_footer {
	background: #fff;
}

#header-sticky,
#header-sticky .tp-header-area,
#header-sticky .tp-header-wrapper,
#header-sticky .container,
#header-sticky .container-fluid,
header .tp-header-area,
header .tp-header-wrapper {
	background: #fff !important;
	background-color: #fff !important;
}

/* Header contact button */
.tp-header-contact a:hover,
.tp-header-four .tp-header-contact a:hover,
.tp-header-four.header-sticky .tp-header-contact a:hover {
	background: #2f7a4a !important;
	background-color: #2f7a4a !important;
	color: #fff !important;
}

body .elementor-4814,
body .elementor-4814 .elementor-element-28e3312,
body .elementor-4814 .elementor-element-d56a1af,
body .elementor-4814 .elementor-widget-container,
body .elementor-4814 header.tp-header-height,
body .elementor-4814 .tp-header-area {
	background: #fff !important;
	background-color: #fff !important;
}

body .elementor-358,
body .elementor-358 .elementor-element-e058ce2,
body .elementor-358 .elementor-element-e058ce2 > .e-con-inner,
body .elementor-358 .elementor-element-ac9b5c3,
body .elementor-358 .elementor-widget-container,
body .elementor-358 header,
body .elementor-358 .tp-header-area {
	background: #fff !important;
	background-color: #fff !important;
}

body .elementor-4814 {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	position: relative;
	right: 50%;
	width: 100vw;
	max-width: 100vw;
}

body .elementor-358 {
	left: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	position: relative;
	right: 50%;
	width: 100vw;
	max-width: 100vw;
}

body.page-template-elementor_header_footer > .elementor:last-of-type,
body.page-template-elementor_header_footer > footer:last-of-type {
	margin-bottom: 0 !important;
}

body.page-template-elementor_header_footer .elementor[data-elementor-type="wp-post"]:last-of-type {
	background: #fff;
}

body.home .elementor-3503,
body.home .elementor-3503 > .e-con:last-child,
body.home .elementor-3503 > .elementor-element:last-child {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

body.home .elementor-3503 {
	background: #fff !important;
}

body.home .elementor-element-01dd78c {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}

/* Footer image strip */
.elementor-3503 .tp-instagram-thumb,
.elementor-3503 .tp-instagram-thumb a {
	display: block;
	height: 150px;
	overflow: hidden;
}

.elementor-3503 .tp-instagram-thumb img,
.elementor-3503 .tp-instagram-thumb img.w-100 {
	display: block;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

@media (max-width: 767px) {
    .elementor-3503 .tp-instagram-thumb,
    .elementor-3503 .tp-instagram-thumb a {
        height: 132px;
    }
}

/* Informational pages */
body.page-id-7213,
body.page-id-7214,
body.page-id-7213 .elementor-7213,
body.page-id-7214 .elementor-7214,
body.page-id-7213 .elementor-7213 > .e-con,
body.page-id-7214 .elementor-7214 > .e-con {
    background: #fff !important;
    background-color: #fff !important;
}

body.page-id-7213 .elementor-7213 .elementor-widget-heading .elementor-heading-title,
body.page-id-7214 .elementor-7214 .elementor-widget-heading .elementor-heading-title {
    color: #1e5432 !important;
}

/* WP Travel Engine dashboard: keep empty account content separated from the footer strip */
.wpte-lrf-block-wrap {
	margin-bottom: 100px;
}

/* Single routes: keep the last route section separated from the footer. */
body.single-trip .wp-travel-engine-single-trip,
body.single-trip .wpte-trip-details,
body.single-trip .trip-content-area,
body.single-trip main,
body.single-trip #primary {
	margin-bottom: 30px;
}

/* WP Travel Engine checkout: avoid duplicated placeholder text on country selects */
.wpte-checkout .wpte-material-ui-input-control select.wpte-checkout__input.empty {
	color: transparent !important;
}

.wpte-checkout .wpte-material-ui-input-control select.wpte-checkout__input.empty option,
.wpte-checkout .wpte-material-ui-input-control select.wpte-checkout__input:not(.empty) {
	color: #0f1d23 !important;
}

/* Trip enquiry modal: keep the form scrollable inside the overlay. */
body.single-trip .wte-modal.is-open {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

body.single-trip .wte-modal .wte-modal-content {
	max-height: calc(100vh - 48px);
	margin: 24px auto;
	overflow-y: auto;
	overscroll-behavior: contain;
}

body.single-trip .wte-modal .wte_enquiry_contact_form-wrap {
	max-height: none;
	overflow: visible;
}

@media (max-width: 767px) {
	body.single-trip .wte-modal .wte-modal-content {
		max-height: calc(100vh - 24px);
		margin: 12px;
		padding: 22px;
	}
}

/* Destination pages: stack related trips into one column on mobile. */
@media (max-width: 767px) {
	body.tax-destination .tp-related-trip .tp-row {
		display: grid !important;
		gap: 28px !important;
		grid-template-columns: 1fr !important;
	}

	body.tax-destination .tp-related-trip .tp-tour-item {
		margin: 0 auto !important;
		max-width: 420px;
		width: 100% !important;
	}
}
