/* Homepage composition matching the supplied Traveliun reference. */
.tvl-home {
	--tvl-home-content: 1180px;
	background: #f4f4f2;
	color: var(--tvl-home-primary);
	line-height: 1.55;
}

.tvl-home-nav {
	position: relative;
	z-index: 5;
	width: 100%;
	height: 78px;
	padding: 0 max(28px, calc((100vw - var(--tvl-home-content)) / 2));
	border: 0;
	box-shadow: 0 1px 0 rgb(15 74 64 / 8%);
}

.tvl-home-brand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
}

.tvl-home-brand img {
	max-width: 138px;
	max-height: 54px;
	object-fit: contain;
}

.tvl-home-nav nav {
	align-self: stretch;
	align-items: center;
	gap: clamp(22px, 3vw, 46px);
}

.tvl-home-nav nav a {
	position: relative;
	display: inline-flex;
	height: 100%;
	align-items: center;
	font-size: 15px;
	font-weight: 700;
	white-space: nowrap;
}

.tvl-home-nav nav a:first-child {
	height: 100%;
	border: 0;
}

.tvl-home-nav nav a:first-child::after {
	position: absolute;
	right: 20%;
	bottom: 0;
	left: 20%;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--tvl-home-accent);
	content: "";
}

.tvl-home-hero {
	position: relative;
	min-height: clamp(500px, 50vw, 650px);
	padding: 70px max(30px, calc((100vw - var(--tvl-home-content)) / 2));
	background-position: center;
	isolation: isolate;
}

.tvl-home-hero::after {
	position: absolute;
	z-index: -1;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgb(0 47 40 / 10%));
	content: "";
}

.tvl-home-hero-content {
	width: min(500px, 48%);
	max-width: none;
	margin-right: 0;
	margin-left: auto;
	text-align: right;
}

[dir="ltr"].tvl-home .tvl-home-hero-content {
	margin-right: auto;
	margin-left: 0;
	text-align: left;
}

.tvl-home-hero h1 {
	max-width: 500px;
	margin: 0 0 16px;
	font-size: clamp(48px, 5vw, 76px);
	font-weight: 850;
	letter-spacing: -.035em;
	line-height: 1.05;
	text-shadow: 0 3px 18px rgb(0 0 0 / 12%);
}

.tvl-home-dots {
	justify-content: flex-start;
	margin: 0 0 44px;
	gap: 8px;
}

.tvl-home-dots i {
	width: 13px;
	height: 13px;
}

.tvl-home-hero p {
	margin: 0 0 16px;
	font-size: clamp(20px, 2vw, 27px);
	font-weight: 500;
}

.tvl-home-cta {
	min-height: 48px;
	padding: 8px 14px 8px 21px;
	border-radius: 999px;
	box-shadow: 0 8px 22px rgb(0 0 0 / 12%);
	transition: transform .2s ease, box-shadow .2s ease;
}

.tvl-home-cta:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 25px rgb(0 0 0 / 16%);
}

.tvl-home-section {
	width: 100%;
	max-width: var(--tvl-home-content);
	margin-inline: auto;
	padding: 42px 28px 36px;
}

.tvl-home-section h2,
.tvl-home-services h2 {
	margin: 0 0 30px;
	font-size: clamp(30px, 3.25vw, 45px);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.15;
}

.tvl-home-cards,
.tvl-home-destination-grid {
	display: grid;
	width: 100%;
	max-width: none;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.tvl-home-card {
	display: flex;
	min-width: 0;
	height: auto;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgb(19 94 80 / 8%);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 8px 24px rgb(15 58 51 / 7%);
	text-align: right;
	transition: transform .2s ease, box-shadow .2s ease;
}

.tvl-home-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 34px rgb(15 58 51 / 12%);
}

.tvl-home-card-main {
	display: block;
	flex: 1 1 auto;
	color: inherit;
	text-decoration: none;
}

.tvl-home-card-image {
	width: 100%;
	height: clamp(190px, 17vw, 235px);
	overflow: hidden;
}

.tvl-home-card-image img {
	transition: transform .35s ease;
}

.tvl-home-card:hover .tvl-home-card-image img {
	transform: scale(1.035);
}

.tvl-home-card-meta {
	position: relative;
	display: table;
	width: auto;
	max-width: calc(100% - 36px);
	margin: -17px 18px 0;
	padding: 7px 13px;
	border-radius: 6px;
	background: #f1f2ef;
	color: var(--tvl-home-primary);
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 3px 8px rgb(0 0 0 / 5%);
}

.tvl-home-card-meta::before {
	margin-inline-end: 6px;
	color: var(--tvl-home-accent);
	content: "●";
}

.tvl-home-card-body {
	display: grid;
	min-height: 128px;
	padding: 17px 20px 19px;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"title title"
		"price arrow";
	align-items: end;
	gap: 13px 10px;
}

.tvl-home-card-body h3 {
	grid-area: title;
	margin: 0;
	font-size: clamp(18px, 1.55vw, 22px);
	font-weight: 800;
	line-height: 1.45;
}

.tvl-home-card-price {
	grid-area: price;
}

.tvl-home-card-body small {
	display: block;
	margin-bottom: 1px;
	color: #8c9692;
	font-size: 12px;
}

.tvl-home-card-body strong {
	display: block;
	font-size: clamp(24px, 2.2vw, 31px);
	line-height: 1;
}

.tvl-home-card-arrow {
	position: static;
	grid-area: arrow;
	width: 27px;
	height: 27px;
	border-radius: 50%;
	background: var(--tvl-home-accent);
	color: #fff;
	font-size: 14px;
}

.tvl-home-card-whatsapp-button {
	display: flex;
	min-height: 42px;
	margin: 0 14px 14px;
	padding: 8px 15px;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 10px;
	background: #18ad5a;
	color: #fff;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 6px 15px rgb(24 173 90 / 17%);
	transition: background .2s ease, transform .2s ease;
}

.tvl-home-card-whatsapp-button:hover {
	transform: translateY(-1px);
	background: #128c4a;
	color: #fff;
}

.tvl-home-card-whatsapp-button > span {
	position: static;
	display: inline;
	width: auto;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #fff;
	font-size: 18px;
}

.tvl-home-pagination {
	margin: 25px auto 0;
	gap: 7px;
}

.tvl-home-pagination i {
	width: 10px;
	height: 10px;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgb(20 78 67 / 10%);
}

.tvl-home-whatsapp-separator {
	width: min(760px, calc(100% - 56px));
	margin: 0 auto 34px;
	text-align: center;
}

.tvl-home-whatsapp-separator a {
	display: flex;
	min-height: 48px;
	padding: 10px 24px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border-radius: 9px;
	background: #18ad5a;
	color: #fff;
	font-weight: 800;
	text-decoration: none;
	box-shadow: 0 7px 18px rgb(24 173 90 / 18%);
}

.tvl-home-whatsapp-separator a:hover {
	background: #128c4a;
	color: #fff;
}

.tvl-home-services {
	width: min(var(--tvl-home-content), calc(100% - 56px));
	margin: 0 auto 12px;
	padding: 28px 34px 30px;
	overflow: hidden;
	border-radius: 28px;
	background: linear-gradient(115deg, #0f4a3f, var(--tvl-home-primary) 55%, #2f7468);
	box-shadow: 0 14px 30px rgb(10 60 50 / 10%);
}

.tvl-home-services h2 {
	margin-bottom: 20px;
	color: #fff;
}

.tvl-home-services > div,
.tvl-home-services .tvl-home-services-grid {
	display: grid;
	width: 100%;
	max-width: none;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tvl-home-services article {
	padding: 5px 22px 4px;
	border: 0;
	border-inline-start: 1px solid rgb(255 255 255 / 22%);
}

.tvl-home-services article:first-child {
	border-inline-start: 0;
}

.tvl-home-services em {
	position: relative;
	display: block;
	width: 62px;
	height: 62px;
	margin: 0 auto 8px;
	overflow: hidden;
	border-radius: 50%;
	background: #fff;
	font-style: normal;
}

.tvl-home-services em img {
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 205px;
	max-width: none;
	height: 192px;
	margin: 0;
	object-fit: contain;
	mix-blend-mode: normal;
	transform: translate(-50%, -50%);
}

.tvl-home-services h3 {
	margin: 5px 0 4px;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.5;
}

.tvl-home-services p {
	margin: 0;
	color: rgb(255 255 255 / 78%);
	font-size: 13px;
}

.tvl-home-destinations {
	padding-top: 42px;
}

.tvl-home-destination {
	position: relative;
	display: flex;
	height: auto;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgb(19 94 80 / 8%);
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 8px 24px rgb(15 58 51 / 7%);
}

.tvl-home-destination > a:first-child {
	position: relative;
	display: flex;
	min-height: 285px;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.tvl-home-destination span,
.tvl-home-destination .tvl-home-destination-title,
.tvl-home-destination .tvl-home-destination-flag,
.tvl-home-destination .tvl-home-destination-image {
	position: static;
	inset: auto;
	width: auto;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: inherit;
}

.tvl-home-destination .tvl-home-destination-title {
	position: relative;
	z-index: 2;
	display: block;
	padding: 13px 18px 7px;
	color: var(--tvl-home-primary);
	font-size: 23px;
	font-weight: 800;
}

.tvl-home-destination .tvl-home-destination-flag {
	position: relative;
	z-index: 3;
	display: block;
	width: 58px;
	height: 58px;
	margin: 0 auto -30px;
	border: 5px solid #fff;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 4px 12px rgb(0 0 0 / 10%);
}

.tvl-home-destination .tvl-home-destination-flag i {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	overflow: hidden;
	border-radius: 50%;
	background: linear-gradient(#7b9f96, #175e50);
}

.tvl-home-destination .tvl-home-flag-ru i {
	background: linear-gradient(#fff 0 33.33%, #1754a5 33.33% 66.66%, #d52b1e 66.66%);
}

.tvl-home-destination .tvl-home-flag-th i {
	background: linear-gradient(#a51931 0 18%, #f4f5f8 18% 32%, #2d2a4a 32% 68%, #f4f5f8 68% 82%, #a51931 82%);
}

.tvl-home-destination .tvl-home-flag-fr i {
	background: linear-gradient(90deg, #0055a4 0 33.33%, #fff 33.33% 66.66%, #ef4135 66.66%);
}

.tvl-home-destination .tvl-home-flag-id i {
	background: linear-gradient(#ce1126 0 50%, #fff 50%);
}

.tvl-home-destination .tvl-home-flag-tr i,
.tvl-home-destination .tvl-home-flag-vn i {
	background: #e30a17;
}

.tvl-home-destination .tvl-home-flag-tr i::after {
	position: absolute;
	top: 50%;
	left: 51%;
	color: #fff;
	content: "☾";
	font-size: 35px;
	line-height: 1;
	transform: translate(-50%, -52%) rotate(-18deg);
}

.tvl-home-destination .tvl-home-flag-vn i::after {
	position: absolute;
	top: 50%;
	left: 50%;
	color: #ffdc35;
	content: "★";
	font-size: 26px;
	line-height: 1;
	transform: translate(-50%, -50%);
}

.tvl-home-destination .tvl-home-flag-my i {
	background: repeating-linear-gradient(#cc0001 0 4px, #fff 4px 8px);
}

.tvl-home-destination .tvl-home-flag-my i::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 55%;
	height: 56%;
	background: #010066;
	content: "";
}

.tvl-home-destination .tvl-home-flag-my i::after {
	position: absolute;
	top: 2px;
	left: 7px;
	color: #ffcc00;
	content: "☾";
	font-size: 22px;
	line-height: 1;
	transform: rotate(-18deg);
}

.tvl-home-destination .tvl-home-flag-ge i {
	background:
		linear-gradient(90deg, transparent 41%, #f00 41% 59%, transparent 59%),
		linear-gradient(transparent 41%, #f00 41% 59%, transparent 59%),
		#fff;
}

.tvl-home-destination .tvl-home-destination-image {
	display: block;
	height: 200px;
	overflow: hidden;
	background: linear-gradient(135deg, #e9ba5c, #5b8ab4);
}

.tvl-home-destination .tvl-home-destination-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.tvl-home-destination:hover .tvl-home-destination-image img {
	transform: scale(1.035);
}

.tvl-home-destination .tvl-home-card-whatsapp-button {
	position: static;
	inset: auto;
	width: auto;
	margin: 12px 14px 14px;
	padding: 8px 15px;
	border-radius: 10px;
	background: #18ad5a;
	color: #fff;
	font-size: 14px;
}

.tvl-home-reviews {
	padding-top: 30px;
	padding-bottom: 44px;
}

.tvl-home-reviews-widget {
	overflow: hidden;
	border-radius: 18px;
	background: transparent;
}

.tvl-home-whatsapp-separator-last {
	margin-top: -10px;
	margin-bottom: 34px;
}

.tvl-home-contact-strip {
	padding: 34px max(28px, calc((100vw - var(--tvl-home-content)) / 2));
	background: linear-gradient(120deg, #0e493e, var(--tvl-home-primary));
	color: #fff;
}

.tvl-home-contact-strip > div {
	display: grid;
	width: 100%;
	max-width: var(--tvl-home-content);
	margin: auto;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 12px;
}

.tvl-home-contact-strip a {
	display: flex;
	min-height: 72px;
	padding: 12px 16px;
	align-items: center;
	gap: 13px;
	border: 1px solid rgb(255 255 255 / 13%);
	border-radius: 13px;
	background: rgb(255 255 255 / 4%);
	color: #fff;
	text-align: right;
	text-decoration: none;
}

.tvl-home-contact-strip a:hover {
	background: rgb(255 255 255 / 9%);
	color: #fff;
}

.tvl-home-contact-icon {
	display: grid;
	width: 44px;
	height: 44px;
	flex: 0 0 44px;
	place-items: center;
	border-radius: 11px;
	background: var(--tvl-home-accent);
	color: #fff;
	font-size: 22px;
}

.tvl-home-contact-icon-whatsapp {
	background: #18ad5a;
}

.tvl-home-contact-icon-email {
	background: #dca24a;
}

.tvl-home-contact-strip small,
.tvl-home-contact-strip strong {
	display: block;
}

.tvl-home-contact-strip small {
	margin-bottom: 2px;
	color: rgb(255 255 255 / 78%);
	font-size: 12px;
}

.tvl-home-contact-strip strong {
	font-size: 15px;
	font-weight: 700;
	direction: ltr;
	text-align: right;
}

@media (max-width: 900px) {
	.tvl-home-nav {
		padding-inline: 28px;
	}

	.tvl-home-nav nav {
		gap: 18px;
		overflow-x: auto;
	}

	.tvl-home-nav nav a {
		font-size: 13px;
	}

	.tvl-home-cards,
	.tvl-home-destination-grid {
		gap: 15px;
	}

	.tvl-home-services {
		padding-inline: 20px;
	}

	.tvl-home-services article {
		padding-inline: 12px;
	}
}

@media (max-width: 720px) {
	.tvl-home-nav {
		height: 66px;
		padding: 0 16px;
		align-items: center;
		flex-wrap: nowrap;
	}

	.tvl-home-brand {
		min-width: 80px;
	}

	.tvl-home-brand img {
		max-width: 95px;
		max-height: 44px;
	}

	.tvl-home-nav nav {
		height: 100%;
		align-items: center;
		flex-wrap: nowrap;
		gap: 16px;
	}

	.tvl-home-nav nav a,
	.tvl-home-nav nav a:first-child {
		height: 100%;
		font-size: 12px;
	}

	.tvl-home-hero {
		min-height: 475px;
		padding: 55px 24px;
		background-position: 42% center;
	}

	.tvl-home-hero-content {
		width: min(100%, 390px);
		margin-right: 0;
		margin-left: auto;
	}

	.tvl-home-hero h1 {
		font-size: clamp(39px, 12vw, 56px);
	}

	.tvl-home-dots {
		margin-bottom: 34px;
	}

	.tvl-home-hero p {
		max-width: 310px;
		font-size: 19px;
	}

	.tvl-home-section {
		padding: 34px 18px 30px;
	}

	.tvl-home-section h2,
	.tvl-home-services h2 {
		font-size: 31px;
	}

	.tvl-home-cards,
	.tvl-home-destination-grid {
		display: flex;
		width: auto;
		margin-inline: -18px;
		padding: 4px 18px 15px;
		gap: 14px;
		overflow-x: auto;
		scroll-padding-inline: 18px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.tvl-home-cards::-webkit-scrollbar,
	.tvl-home-destination-grid::-webkit-scrollbar {
		display: none;
	}

	.tvl-home-card,
	.tvl-home-destination {
		width: min(82vw, 340px);
		min-width: min(82vw, 340px);
		flex: 0 0 min(82vw, 340px);
		scroll-snap-align: center;
	}

	.tvl-home-card-image {
		height: 210px;
	}

	.tvl-home-whatsapp-separator {
		width: calc(100% - 36px);
		margin-bottom: 28px;
	}

	.tvl-home-services {
		width: calc(100% - 36px);
		padding: 26px 14px 22px;
		border-radius: 22px;
	}

	.tvl-home-services > div,
	.tvl-home-services .tvl-home-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.tvl-home-services article,
	.tvl-home-services article:first-child {
		padding: 15px 9px;
		border: 0;
		border-top: 1px solid rgb(255 255 255 / 18%);
		border-inline-start: 1px solid rgb(255 255 255 / 18%);
	}

	.tvl-home-services article:nth-child(-n+2) {
		border-top: 0;
	}

	.tvl-home-services article:nth-child(odd) {
		border-inline-start: 0;
	}

	.tvl-home-services em {
		width: 56px;
		height: 56px;
	}

	.tvl-home-services em img {
		width: 187px;
		height: 175px;
	}

	.tvl-home-destination {
		height: auto;
	}

	.tvl-home-contact-strip {
		padding: 27px 18px;
	}

	.tvl-home-contact-strip > div {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 420px) {
	.tvl-home-nav nav a:nth-child(n+4) {
		display: none;
	}

	.tvl-home-hero {
		min-height: 440px;
		padding-inline: 20px;
	}

	.tvl-home-hero-content {
		width: 100%;
	}

	.tvl-home-card,
	.tvl-home-destination {
		width: 84vw;
		min-width: 84vw;
		flex-basis: 84vw;
	}
}

/* Infinite homepage package and visa rails. The outer viewport remains
   natively scrollable, while JavaScript advances it at a steady pace. */
.tvl-home-marquee {
	width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 5px 0 17px;
	cursor: grab;
	overscroll-behavior-inline: contain;
	scroll-behavior: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.tvl-home-marquee:active {
	cursor: grabbing;
}

.tvl-home-marquee::-webkit-scrollbar {
	display: none;
}

.tvl-home-marquee-track {
	display: flex;
	width: max-content;
	align-items: stretch;
	gap: 22px;
}

.tvl-home-marquee .tvl-home-marquee-group {
	display: flex;
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0;
	grid-template-columns: none;
	gap: 22px;
	overflow: visible;
	scroll-snap-type: none;
}

.tvl-home-marquee .tvl-home-card,
.tvl-home-marquee .tvl-home-destination {
	width: clamp(285px, 29vw, 365px);
	min-width: clamp(285px, 29vw, 365px);
	flex: 0 0 clamp(285px, 29vw, 365px);
	scroll-snap-align: none;
}

@media (max-width: 700px) {
	.tvl-home-marquee {
		width: calc(100% + 36px);
		margin-inline: -18px;
		padding-inline: 18px;
	}

	.tvl-home-marquee-track,
	.tvl-home-marquee .tvl-home-marquee-group {
		gap: 14px;
	}

	.tvl-home-marquee .tvl-home-card,
	.tvl-home-marquee .tvl-home-destination {
		width: min(82vw, 340px);
		min-width: min(82vw, 340px);
		flex-basis: min(82vw, 340px);
	}
}
