/**
 * ITR tour cards (Elementor): restyles the existing "image + title + icon list + price" columns.
 * Targets the structure, not widget ids, so every card built this way picks it up:
 *   .elementor-widget-wrap > image + heading (title) + icon-list + heading (price)
 * No Elementor edits needed. Remove this file to go back to the old look.
 */
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) {
	position: relative;
	display: flex !important; flex-direction: column; flex-wrap: nowrap !important; align-content: stretch !important;
	height: 100%;
	padding: 0 !important;
	background: #fff;
	border: 1px solid #e6e8f0 !important;
	border-radius: 16px !important;
	overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading):hover {
	box-shadow: 0 10px 28px rgba(20, 20, 43, .12); transform: translateY(-2px);
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget { margin: 0 !important; width: 100%; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-background-overlay { display: none; }

/* photo */
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading) > .elementor-widget-image { padding: 0 !important; overflow: hidden; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading) > .elementor-widget-image img {
	display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 0 !important; transition: transform .35s;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading):hover > .elementor-widget-image img { transform: scale(1.04); }

/* title: no overlapping white tab; two lines max; the whole card becomes clickable through the title link */
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-heading:nth-child(3) {
	position: static !important; margin: 0 !important; padding: 14px 16px 0 !important; background: transparent !important; border-radius: 0 !important; text-align: left !important;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-heading:nth-child(3) .elementor-widget-container { position: static !important; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-heading:nth-child(3) h4 {
	position: static; margin: 0; font-size: 16px !important; font-weight: 600 !important; line-height: 1.35 !important; color: #14142b !important; text-align: left !important;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: visible; min-height: 2.7em;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-heading:nth-child(3) a { position: static; color: inherit !important; text-decoration: none; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-heading:nth-child(3) a::before { content: ""; position: absolute; inset: 0; z-index: 2; }

/* badge ("Popular", "Best Seller", "Most Booked") moves onto the photo */
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-heading:nth-child(3) sup {
	position: absolute; top: 12px; left: 12px; z-index: 3; margin: 0; vertical-align: baseline;
	font-size: 12px !important; font-weight: 600; line-height: 1.2; padding: 5px 10px; border-radius: 999px;
	background: #fff; color: #1319f0 !important; box-shadow: 0 2px 8px rgba(20, 20, 43, .15);
}

/* details: hotel pick-up / duration */
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-icon-list { padding: 8px 16px 0; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-icon-list ul { margin: 0; padding: 0; justify-content: flex-start; gap: 4px 16px; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-icon-list li { margin: 0 !important; padding: 0 !important; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-icon-list .elementor-icon-list-icon svg { fill: #5b6070 !important; color: #5b6070 !important; width: 15px !important; height: 15px !important; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list) > .elementor-widget-icon-list .elementor-icon-list-text { font-size: 13px !important; color: #5b6070 !important; padding-left: 6px !important; }

/* price: dark amount, soft "From", round blue arrow on the right */
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget-heading:last-child {
	position: static !important; margin-top: auto !important; padding: 12px 16px 14px !important;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget-heading:last-child::before {
	content: ""; display: block; height: 1px; background: #eceef4; margin: 0 0 12px;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget-heading:last-child .elementor-widget-container { position: static !important; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget-heading:last-child h4 {
	position: static; margin: 0; padding-right: 46px; font-size: 13px !important; font-weight: 400 !important; color: #5b6070 !important; text-align: left !important; line-height: 1.3 !important;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget-heading:last-child a { position: static; color: #5b6070 !important; text-decoration: none; }
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget-heading:last-child span {
	color: #14142b !important; font-size: 17px; font-weight: 600;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) > .elementor-widget-heading:last-child::after {
	content: ""; position: absolute; right: 14px; bottom: 14px; width: 34px; height: 34px; border-radius: 50%; background: #1319f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat;
	pointer-events: none; z-index: 3; transition: background-color .15s;
}
.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading):hover > .elementor-widget-heading:last-child::after { background-color: #0d12c4; }

/* phones: Elementor stacks the columns edge to edge, give the cards some air */
@media (max-width: 767px) {
	.elementor-widget-wrap:has(> .elementor-widget-image + .elementor-widget-heading + .elementor-widget-icon-list + .elementor-widget-heading) { margin-bottom: 16px; height: auto; }
}
