/* Rehlla design refresh: lastminute.com-style layout & typography, Rehlla colours. */
:root {
	--rl-navy: #1A2B48;
	--rl-orange: #F79622;
	--rl-orange-dark: #E0821A;
	--rl-text: #232323;
	--rl-muted: #5E6D77;
	--rl-bg: #FFFFFF;      /* contrast bands (trust bar, destinations) on the gray page */
	--rl-page: #F2F4F7;    /* light gray page background so white cards stand out */
	--rl-radius: 8px;
	--rl-shadow: 0 2px 8px rgba(26, 43, 72, .10);
	--rl-shadow-hover: 0 6px 18px rgba(26, 43, 72, .16);
}

/* ---------- Typography ---------- */
body, h1, h2, h3, h4, h5, h6, p, a, li, input, select, textarea, button, .btn,
.st-menu, #st-main-menu a, .search-form-wrapper, .item-service, #main-footer {
	font-family: 'Ubuntu', Arial, Helvetica, sans-serif !important;
}
body { font-size: 15px; color: var(--rl-text); background-color: var(--rl-page) !important; }
h1, h2, h3, h4, h5, h6 { color: var(--rl-text); font-weight: 700; letter-spacing: 0; }
h2.title, .st-list-of-multi-services h2, .rl-head h2 { font-size: 30px; line-height: 1.25; }

/* ---------- Header: one solid navy bar ---------- */
#header #topbar { background: var(--rl-orange) !important; border-bottom: 0; }
#header #topbar a, #header #topbar span, #header #topbar i, #header #topbar li {
	font-size: 13px; text-transform: none; color: var(--rl-navy) !important; font-weight: 500;
}
#header #topbar a:hover { color: #fff !important; }
#header #topbar li, #header #topbar .topbar-item { border-color: rgba(26, 43, 72, .25) !important; }

/* Top bar icons + tooltips */
/* Each icon sits in a white circle, same size as the flag (26px) */
#header #topbar .rl-icon {
	display: inline-flex !important; align-items: center; justify-content: center;
	width: 26px; height: 26px; padding: 0 !important; border-radius: 50%;
	background: #fff; color: var(--rl-navy) !important; vertical-align: middle; transition: background .15s, color .15s;
}
#header #topbar .rl-icon .fa { font-size: 13px; line-height: 1; color: var(--rl-navy) !important; }
#header #topbar .rl-icon:hover, #header #topbar .rl-icon:focus-visible { background: var(--rl-navy); }
#header #topbar .rl-icon:hover .fa, #header #topbar .rl-icon:focus-visible .fa { color: #fff !important; }
#topbar [data-rl-tip] { position: relative; }
#topbar [data-rl-tip]:hover::after, #topbar [data-rl-tip]:focus-visible::after {
	content: attr(data-rl-tip); position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
	background: var(--rl-navy); color: #fff; font-size: 12px; font-weight: 500; line-height: 1.2; white-space: nowrap;
	padding: 6px 10px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); z-index: 10001; pointer-events: none;
}
#topbar [data-rl-tip]:hover::before, #topbar [data-rl-tip]:focus-visible::before {
	content: ""; position: absolute; top: calc(100% + 4px); left: 50%; transform: translateX(-50%);
	border: 6px solid transparent; border-bottom-color: var(--rl-navy); border-top: 0; z-index: 10001; pointer-events: none;
}
#topbar .topbar-right [data-rl-tip]:hover::after { left: auto; right: -6px; transform: none; }
#topbar .rl-lang-item[data-rl-tip]:hover::after { right: 4px; }
/* hide the language tooltip while its dropdown list is open */
#topbar .rl-lang-item.rl-tip-off::after, #topbar .rl-lang-item.rl-tip-off::before { display: none !important; }
#header #topbar, #header #topbar .container, #header #topbar .topbar-left, #header #topbar .topbar-right { overflow: visible !important; }

/* Language switcher in the top bar: flag only, list opens below */
#header #topbar .topbar-items > li.rl-lang-item { position: relative; display: inline-block; vertical-align: middle; height: 26px; line-height: 26px; }
#topbar .rl-lang-item > div { position: relative !important; height: 26px; }
#topbar .rl-lang-item .gt_switcher { margin: 0 !important; height: 26px; }
#topbar .rl-lang-item .gt_switcher, #topbar .rl-lang-item .gt_selected { width: auto !important; background: transparent !important; border: 0 !important; }
#topbar .rl-lang-item .gt_selected a {
	font-size: 0 !important; padding: 0 !important; width: 26px !important; height: 26px; border: 0 !important;
	background-color: transparent !important; display: inline-flex; align-items: center; justify-content: center;
}
#topbar .rl-lang-item .gt_selected a::after { display: none !important; } /* GTranslate's down arrow */
#topbar .rl-lang-item .gt_selected a img {
	width: 26px !important; height: 26px !important; border-radius: 50%; object-fit: cover;
	box-shadow: 0 0 0 2px #fff; background: #fff;
}
#topbar .rl-lang-item .gt_option {
	position: absolute !important; top: calc(100% + 8px); right: -10px; width: 170px !important; z-index: 10002;
	background: #fff; border-radius: var(--rl-radius); box-shadow: 0 8px 24px rgba(26, 43, 72, .2);
}
#topbar .rl-lang-item .gt_option a { font-size: 14px !important; color: var(--rl-text) !important; }

/* Menu floats right: logo stays left, menu pushed to the right end */
#header .header .header-left { flex: 1 1 auto; }
#header .header #st-main-menu { margin-left: auto; }
/* Language switcher is absolutely positioned (0 width); reserve its space so it doesn't overflow the right edge */
@media (min-width: 992px) {
	#st-main-menu .main-menu { white-space: nowrap; display: flex; align-items: center; }
}
#st-main-menu .menu-item-gtranslate { width: 136px; height: 40px; vertical-align: middle; margin-left: 10px; white-space: normal; top: 9px; }
#st-main-menu .menu-item-gtranslate > div,
#st-main-menu .menu-item-gtranslate .gt_switcher,
#st-main-menu .menu-item-gtranslate .gt_selected,
#st-main-menu .menu-item-gtranslate .gt_option { width: 136px !important; }
#st-main-menu .menu-item-gtranslate .gt_selected a { width: 100% !important; box-sizing: border-box; border-radius: var(--rl-radius); }
#header .header { background: var(--rl-navy) !important; box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
#header .header .logo img { max-height: 40px; width: auto; }
/* Slimmer header: 93px -> ~64px (menu link padding drives the bar height) */
@media (min-width: 992px) {
	#st-main-menu .main-menu > li > a { padding-top: 21px !important; padding-bottom: 21px !important; }
}
#st-main-menu > ul > li > a,
#header .header .header-right a,
#header .header .header-right .dropdown-toggle {
	color: #fff !important;
	text-transform: none !important;
	font-weight: 500 !important;
	font-size: 15px !important;
}
#st-main-menu > ul > li > a:hover,
#st-main-menu > ul > li.current-menu-item > a,
#st-main-menu > ul > li.current_page_item > a { color: var(--rl-orange) !important; }
#header .toggle-menu, #header .toggle-menu i { color: #fff !important; }
#header .header select, #header .header .gtranslate_wrapper select { border-radius: var(--rl-radius); }

/* ---------- Buttons ---------- */
.btn, .btn-primary, input[type="submit"], button[type="submit"], .button {
	border-radius: var(--rl-radius) !important;
	font-weight: 500 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
}

/* ---------- Search box: white panel, underline tabs ---------- */
.search-form-wrapper .nav-tabs { border: 0; display: flex; gap: 6px; }
.search-form-wrapper .nav-tabs > li > a {
	border: 0 !important; border-radius: var(--rl-radius) var(--rl-radius) 0 0 !important;
	background: rgba(255, 255, 255, .85) !important; color: var(--rl-navy) !important;
	font-weight: 500; text-transform: none !important; padding: 10px 18px;
}
.search-form-wrapper .nav-tabs > li.active > a {
	background: #fff !important; color: var(--rl-navy) !important;
	box-shadow: inset 0 -3px 0 var(--rl-orange);
}
.search-form-wrapper .search-form {
	border-radius: 12px !important; box-shadow: 0 8px 24px rgba(26, 43, 72, .18) !important;
	overflow: hidden;
}
/* Search button fills the right end of the box, flush, with matching rounded corners */
.search-form-wrapper .search-form .form-button { width: 100%; height: 100%; display: flex; }
.search-form-wrapper .search-form .btn-search {
	margin: 0 !important; width: 100%; min-height: 100%; align-self: stretch;
	border-radius: 0 12px 12px 0 !important; font-weight: 700 !important;
}

/* ---------- Booking widget (tour/activity pages): rounded corners ---------- */
.form-book-wrapper { border-radius: 12px !important; box-shadow: var(--rl-shadow); }
.form-book-wrapper .form-head { border-radius: 7px 7px 0 0; }
.form-book-wrapper .btn-book-ajax { border-radius: var(--rl-radius) !important; }
.widget-box, .st-border-radius { border-radius: 12px !important; box-shadow: var(--rl-shadow); }

/* ---------- Theme service cards (listings, related items) ---------- */
.item-service .service-border {
	border: 0 !important; border-radius: var(--rl-radius); overflow: hidden;
	box-shadow: var(--rl-shadow); background: #fff; transition: box-shadow .2s, transform .2s;
}
.item-service .service-border:hover { box-shadow: var(--rl-shadow-hover); transform: translateY(-2px); }
.item-service .service-title { font-size: 16px !important; font-weight: 700 !important; line-height: 1.35; }
.item-service .service-price .price, .item-service .price { font-weight: 700; }

/* Slider arrows (span aria-label="Next"/"Previous"): the arrow PNG has a solid white square;
   multiply-blend it so the white becomes the page's light gray and only the arrow shows */
.owl-carousel .owl-nav button.owl-next span,
.owl-carousel .owl-nav button.owl-prev span {
	background-color: var(--rl-page) !important; mix-blend-mode: multiply;
}

/* Equal-height cards in the tour/excursion sliders */
.owl-carousel .owl-stage { display: flex !important; }
/* Slider frame clips its contents: leave room so card bottoms, rounded corners and shadows show */
.owl-carousel .owl-stage-outer { padding: 6px 4px 18px !important; margin: 0 -4px; }
.owl-carousel .owl-stage .owl-item { display: flex; height: auto; }
.owl-carousel .owl-item .item-service { display: flex; flex-direction: column; width: 100%; }
.item-service .service-border { flex: 1 1 auto; display: flex; flex-direction: column; }
.item-service .service-border .section-footer { margin-top: auto; height: auto !important; padding-bottom: 12px; }
.item-service .service-title {
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: calc(2 * 1.35em);
}
.item-service .service-location { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hero: theme forces 600px min-height, leaving a white strip under the search box */
body .vc_row.slider-home { min-height: 0 !important; padding-bottom: 0 !important; }
.slider-home .vc_empty_space { display: none !important; }
/* Taller hero: +100px (50px above the heading, 50px below the search box) */
.slider-home .search-form-wrapper.slider { padding-top: 140px !important; padding-bottom: 150px !important; }
/* Hero photos fill the hero area (cover, centred) instead of being pinned to the top */
.slider-home .st-bg-slider .fotorama__html,
.slider-home .st-bg-slider .fotorama__html > div { width: 100% !important; height: 100% !important; }
.slider-home .st-bg-slider .fotorama__html img,
.slider-home .st-bg-slider .fotorama__img {
	width: 100% !important; height: 100% !important; max-width: none !important;
	object-fit: cover !important; object-position: center center !important;
	top: 0 !important; left: 0 !important; transform: none !important;
}

/* Full-width bands (break out of the page container) */
.rl-trust, .rl-section-alt, .rl-newsletter { width: 100vw; position: relative; left: 50%; margin-left: -50vw; }

/* ---------- Trust bar ---------- */
.rl-trust { background: var(--rl-bg); border-bottom: 1px solid #e6e8ec; }
.rl-trust ul { list-style: none; margin: 0; padding: 22px 0; display: flex; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; }
.rl-trust li { padding: 6px 30px; color: var(--rl-navy); font-size: 17px; font-weight: 700; border-right: 1px solid #cfd4db; display: flex; align-items: center; white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
	.rl-trust ul { flex-wrap: nowrap; }
	.rl-trust li { font-size: 15px; padding: 6px 20px; }
	.rl-trust i { font-size: 21px; }
}
.rl-trust li:last-child { border-right: 0; }
.rl-trust i { color: var(--rl-orange); margin-right: 10px; font-size: 24px; }

/* ---------- Sections ---------- */
.rl-section { padding: 44px 0; }
.rl-section-alt { background: var(--rl-bg); }
.rl-head { margin-bottom: 22px; }
.rl-head h2 { margin: 0 0 4px; }
.rl-head p { margin: 0; color: var(--rl-muted); font-size: 14px; }
.rl-more { text-align: center; margin-top: 26px; }
.rl-more .btn { padding: 12px 28px; }
/* "See all tour packages / excursions" buttons: Rehlla orange */
.rl-more .btn, .rl-more .btn-primary {
	background-color: var(--rl-orange) !important; border-color: var(--rl-orange) !important; color: #fff !important;
}
.rl-more .btn:hover, .rl-more .btn:focus { background-color: var(--rl-orange-dark) !important; border-color: var(--rl-orange-dark) !important; }

/* Location page banners: image covers the banner, centred, no tiling */
.sts-banner, .single-location .sts-banner {
	background-size: cover !important; background-position: center center !important; background-repeat: no-repeat !important;
}

/* ---------- Deal cards (horizontal) ---------- */
.rl-deals { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 18px; }
.rl-deal-title { min-height: calc(2 * 1.3em); }
.rl-deal-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rl-deal {
	display: flex; background: #fff; border-radius: var(--rl-radius); overflow: hidden;
	box-shadow: var(--rl-shadow); color: var(--rl-text) !important; text-decoration: none !important;
	min-height: 150px; transition: box-shadow .2s, transform .2s;
}
.rl-deal:hover { box-shadow: var(--rl-shadow-hover); transform: translateY(-2px); }
.rl-deal-img { flex: 0 0 38%; background: #dfe3e8 center / cover no-repeat; }
.rl-deal-body { flex: 1; padding: 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.rl-deal-title { font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 8px; color: var(--rl-text);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rl-deal-meta { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--rl-muted); }
.rl-deal-meta i { width: 16px; color: var(--rl-navy); margin-right: 6px; text-align: center; }
.rl-deal-price { margin-top: auto; text-align: right; font-size: 13px; color: var(--rl-muted); padding-top: 8px; }
.rl-deal-price strong { font-size: 19px; color: var(--rl-text); }

/* ---------- Destination tiles ---------- */
.rl-dests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rl-dest {
	position: relative; height: 210px; border-radius: var(--rl-radius); overflow: hidden;
	background: #ccc center / cover no-repeat; box-shadow: var(--rl-shadow); text-decoration: none !important;
}
.rl-dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.65) 100%); transition: background .2s; }
.rl-dest:hover::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 35%, rgba(0,0,0,.72) 100%); }
.rl-dest span { position: absolute; left: 16px; bottom: 14px; z-index: 1; color: #fff; }
.rl-dest strong { display: block; font-size: 20px; }
.rl-dest em { font-style: normal; font-size: 13px; opacity: .9; }

/* ---------- Newsletter band ---------- */
.rl-newsletter { background: var(--rl-navy); color: #fff; padding: 36px 0; }
.rl-newsletter .container { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.rl-nl-text { flex: 1 1 320px; }
.rl-nl-text h2 { color: #fff; font-size: 26px; margin: 0 0 6px; }
.rl-nl-text p { margin: 0; opacity: .85; }
.rl-nl-form { flex: 1 1 380px; }
.rl-nl-form input[type="email"], .rl-nl-form input[type="text"] { border-radius: var(--rl-radius); border: 0; height: 46px; padding: 0 14px; }
.rl-nl-form input[type="submit"] { background: var(--rl-orange); border: 0; height: 46px; padding: 0 22px; color: #fff; }
.rl-nl-form h1, .rl-nl-form h2, .rl-nl-form h3, .rl-nl-form h4, .rl-nl-form .title { display: none; }
.rl-nl-form, .rl-nl-form label, .rl-nl-form p, .rl-nl-form small { color: rgba(255, 255, 255, .85); }

/* ---------- Preview page only: hide the page-title banner the real front page doesn't show ---------- */
.page-id-10982 .search-result-page--heading { display: none; }

/* ---------- Location pages: text + map column ---------- */
.rl-loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin: 10px 0 20px; }
.rl-loc-grid--maponly { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
.rl-loc-side { position: sticky; top: 90px; }
.rl-loc-map { background: #fff; border-radius: 12px; box-shadow: var(--rl-shadow); overflow: hidden; }
.rl-loc-map-head { padding: 12px 16px; font-weight: 700; color: var(--rl-navy); font-size: 16px; border-bottom: 1px solid #eef0f3; }
.rl-loc-map-head i { color: var(--rl-orange); margin-right: 6px; }
.rl-loc-map iframe { display: block; width: 100%; height: 300px; border: 0; }
.rl-loc-map-link { display: block; padding: 10px 16px; font-size: 14px; font-weight: 500; color: var(--rl-navy) !important; border-top: 1px solid #eef0f3; }
.rl-loc-map-link:hover { color: var(--rl-orange) !important; text-decoration: none; }
@media (max-width: 991px) {
	.rl-loc-grid { grid-template-columns: minmax(0, 1fr); }
	.rl-loc-side { position: static; }
}

/* ---------- Breadcrumbs: same light gray as the page ---------- */
.st-breadcrumb, .st-breadcrumb .container, .st-breadcrumb ul,
.breadcrumb, .woocommerce-breadcrumb, .search-result-page--heading .st-breadcrumb ul {
	background-color: var(--rl-page) !important;
}

/* ---------- Footer: Rehlla navy with white text ---------- */
#main-footer, #main-footer .vc_row.wpb_row { background-color: var(--rl-navy) !important; }
#main-footer .vc_row.wpb_row + .vc_row.wpb_row { border-top: 1px solid rgba(255, 255, 255, .08); }
#main-footer h1, #main-footer h2, #main-footer h3, #main-footer h4, #main-footer h5, #main-footer h6,
#main-footer p, #main-footer span, #main-footer li, #main-footer label, #main-footer div { color: #fff !important; }
#main-footer h4, #main-footer .widget-title { font-weight: 700; text-transform: none; }
#main-footer a { color: rgba(255, 255, 255, .85) !important; }
#main-footer a:hover, #main-footer a:focus { color: var(--rl-orange) !important; }
#main-footer [style*="border-left"], #main-footer .st-contact-info, #main-footer .contact-info { border-left-color: var(--rl-orange) !important; }
/* form fields stay readable */
#main-footer input[type="email"], #main-footer input[type="text"], #main-footer .form-control,
#main-footer .select2-selection, #main-footer .select2-selection__rendered { color: var(--rl-text) !important; background: #fff !important; border-radius: var(--rl-radius); }
#main-footer input[type="submit"], #main-footer .btn-primary { background: var(--rl-orange) !important; border-color: var(--rl-orange) !important; color: #fff !important; }
#main-footer input[type="submit"]:hover, #main-footer .btn-primary:hover { background: var(--rl-orange-dark) !important; border-color: var(--rl-orange-dark) !important; }
/* Newsletter band in the footer: Rehlla orange, navy Subscribe button */
#main-footer .vc_row.wpb_row:has(.mc4wp-form) { background-color: var(--rl-orange) !important; border-top: 0 !important; margin-top: 0 !important; }
#main-footer .vc_row.wpb_row:has(.mc4wp-form) + .vc_row.wpb_row { border-top: 0; }
#main-footer .mc4wp-form input[type="submit"], #main-footer .mc4wp-form button[type="submit"] {
	background: var(--rl-navy) !important; border-color: var(--rl-navy) !important; color: #fff !important;
}
#main-footer .mc4wp-form input[type="submit"]:hover, #main-footer .mc4wp-form button[type="submit"]:hover {
	background: #0F1B30 !important; border-color: #0F1B30 !important;
}

/* copyright bar (sits outside #main-footer): darker navy, full width */
.main-footer-sub {
	background: #13203A; box-shadow: 0 0 0 100vmax #13203A; clip-path: inset(0 -100vmax);
	color: rgba(255, 255, 255, .8) !important;
}
.main-footer-sub, .main-footer-sub p, .main-footer-sub span, .main-footer-sub div { color: rgba(255, 255, 255, .8) !important; }
.main-footer-sub a { color: var(--rl-orange) !important; }
.main-footer-sub a:hover { color: #fff !important; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	.rl-deals, .rl-dests { grid-template-columns: repeat(2, 1fr); }
	/* search fields stack: button becomes the bottom of the box */
	.search-form-wrapper .search-form .btn-search { border-radius: 0 0 12px 12px !important; min-height: 52px; }
}
@media (max-width: 600px) {
	.rl-deals, .rl-dests { grid-template-columns: 1fr; }
	.rl-trust li { border-right: 0; padding: 3px 10px; }
	h2.title, .st-list-of-multi-services h2, .rl-head h2 { font-size: 24px; }
}
