/* Tours Explore only. Other MyListing directories keep their existing cards. */
body.wic-explore-tours .lf-item-container.type-tours-activities,
body.wic-explore-tours .lf-item-container.type-tours-activities .lf-item,
body.wic-explore-tours .lf-item-container.type-tours-activities .lf-item > a {
	height: auto !important;
	min-height: 0 !important;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-item {
	background: #fff;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-background {
	display: block;
	height: auto !important;
	aspect-ratio: 3 / 2;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .overlay {
	bottom: auto !important;
	height: auto !important;
	aspect-ratio: 3 / 2;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-item-info-2 {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 16px 15px 12px;
	transform: none !important;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-item-info-2 h6 {
	display: none !important;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-contact {
	display: grid !important;
	grid-template-columns: minmax(82px, .62fr) minmax(0, 1.38fr);
	gap: 8px;
	height: auto !important;
	margin-top: 10px;
	padding: 0 !important;
	overflow: visible !important;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .listing-preview-title {
	display: -webkit-box;
	height: auto;
	min-height: 40px;
	padding-right: 64px;
	overflow: hidden;
	line-height: 20px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-avatar {
	display: none !important;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .wic-tour-operator {
	display: flex;
	align-items: center;
	min-height: 27px;
	margin: 4px 0 0;
	padding-right: 64px;
	color: #68777a;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .085em;
	line-height: 1.35;
	text-transform: uppercase;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .wic-tour-operator-logo {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 52px;
	height: 52px;
	padding: 4px;
	border: 1px solid #d9e3e3;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 4px 12px rgba(18, 38, 42, .16);
	object-fit: contain;
	transition: transform .18s ease, box-shadow .18s ease;
}

body.wic-explore-tours .lf-item-container.type-tours-activities:hover .wic-tour-operator-logo {
	transform: translateY(-1px) scale(1.04);
	box-shadow: 0 6px 16px rgba(18, 38, 42, .2);
}

body.wic-explore-tours .lf-item-container.type-tours-activities .wic-tour-operator span {
	min-width: 0;
	overflow-wrap: anywhere;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-contact li {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 32px;
	margin: 0 !important;
	padding: 6px 8px !important;
	border: 1px solid #d9e3e3;
	border-radius: 4px;
	background: #f8fbfb;
	color: #31464a;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.25;
	white-space: normal;
	overflow-wrap: anywhere;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-contact li i {
	flex: 0 0 auto;
	margin-right: 6px;
	color: #006c73;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .c27-footer-section {
	position: relative !important;
	top: auto !important;
	right: auto !important;
	bottom: auto !important;
	left: auto !important;
	margin-top: 0 !important;
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-head-btn {
	min-height: 34px;
	padding: 8px 10px;
	border: 1px solid rgba(255, 255, 255, .72);
	background: rgba(10, 35, 38, .74);
	box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .65);
	backdrop-filter: blur(4px);
}

body.wic-explore-tours .lf-item-container.type-tours-activities .lf-avatar {
	border: 3px solid #fff;
	box-shadow: 0 3px 10px rgba(18, 38, 42, .16);
}

@media (max-width: 767px) {
	body.wic-explore-tours .lf-item-container.type-tours-activities {
		margin-bottom: 14px;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .lf-item > a {
		display: grid !important;
		grid-template-columns: 55% 45%;
		align-items: start;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .lf-background,
	body.wic-explore-tours .lf-item-container.type-tours-activities .overlay {
		grid-column: 1;
		grid-row: 1;
		width: 55%;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .lf-background {
		width: 100%;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .overlay {
		width: 55% !important;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .lf-item-info-2 {
		grid-column: 2;
		grid-row: 1;
		min-height: 0;
		padding-top: 12px;
		padding-right: 10px;
		padding-bottom: 12px;
		padding-left: 10px;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .lf-contact {
		grid-template-columns: 1fr;
		gap: 6px;
		margin-top: 8px;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .lf-contact li {
		min-height: 44px;
		font-size: 13px;
		white-space: normal;
		overflow-wrap: anywhere;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .listing-preview-title {
		height: auto;
		padding-right: 46px;
		font-size: 15px;
		line-height: 1.3;
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .wic-tour-operator {
		margin-top: 4px;
		padding-right: 46px;
		font-size: 9px;
		line-height: 1.3;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .wic-tour-operator-logo {
		top: 9px;
		right: 8px;
		width: 40px;
		height: 40px;
		padding: 3px;
		border-radius: 8px;
	}

	body.wic-explore-tours .lf-item-container.type-tours-activities .lf-head {
		top: 10px !important;
		left: 10px !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.wic-explore-tours .lf-item-container.type-tours-activities,
	body.wic-explore-tours .lf-item-container.type-tours-activities * {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
