#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .tour-card.ws-tcd-card {
	--ws-tcd-blue: #0875c1;
	--ws-tcd-blue-dark: #075d9b;
	--ws-tcd-green: #168c62;
	--ws-tcd-green-pale: #eaf8f2;
	--ws-tcd-star: #f7aa00;
	--ws-tcd-ink: #2b2b2b;
	--ws-tcd-muted: #687078;
	--ws-tcd-line: #dce5e9;
	position: relative;
	display: block;
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ws-tcd-line);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 5px 18px rgba(30, 58, 73, .05);
	font: inherit;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .tour-card.ws-tcd-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(33, 53, 68, .09);
}

/* Keep both Homepage Tour Card carousels on the same desktop grid rhythm. */
@media (min-width: 1025px) {
	#ws-homepage-draft .offers-carousel.ws-tcd-offers-live {
		--visible-tours: 4;
		--tour-gap: 20px;
	}
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .tour-card.ws-tcd-card > .ws-tcd-card__link {
	display: flex;
	height: 100%;
	min-height: 0;
	flex-direction: column;
	color: var(--ws-tcd-ink);
	text-decoration: none;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .tour-card.ws-tcd-card > .ws-tcd-card__link:focus-visible {
	outline: 3px solid rgba(8, 117, 193, .34);
	outline-offset: -3px;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__media {
	position: relative;
	width: 100%;
	aspect-ratio: 1.52;
	min-height: 0;
	margin: 0;
	overflow: hidden;
	background: #ccd9dc;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card:hover .ws-tcd-card__media img {
	transform: scale(1.025);
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__placeholder {
	display: grid;
	height: 100%;
	place-items: center;
	color: #50636c;
	font-size: 12px;
	font-weight: 600;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__badge {
	position: absolute;
	top: 13px;
	left: 13px;
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 0 11px;
	border-radius: 7px;
	color: #fff;
	background: var(--ws-tcd-blue);
	box-shadow: 0 4px 12px rgba(0, 65, 110, .18);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__badge--popular,
#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__badge--best-seller {
	background: var(--ws-tcd-green);
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__body {
	display: flex;
	min-height: 0;
	flex: 1;
	flex-direction: column;
	padding: 16px 17px 14px;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .tour-card.ws-tcd-card h3.ws-tcd-card__title,
#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live).is-enhanced .tour-card.ws-tcd-card h3.ws-tcd-card__title {
	display: -webkit-box;
	min-height: 50px;
	max-height: 50px;
	overflow: hidden;
	margin: 0 0 6px;
	color: var(--ws-tcd-ink);
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
	letter-spacing: -.02em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__detail {
	display: -webkit-box;
	min-height: 36px;
	max-height: 36px;
	overflow: hidden;
	margin: 0;
	color: var(--ws-tcd-muted);
	font-size: 11px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__money-review {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px;
	margin-top: 10px;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__price-label {
	display: block;
	margin: 0 0 2px;
	color: var(--ws-tcd-muted);
	font-size: 10px;
	line-height: 1.3;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__price {
	display: block;
	margin: 0;
	color: var(--ws-tcd-ink);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__rating {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	padding-bottom: 2px;
	white-space: nowrap;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__star {
	color: var(--ws-tcd-star);
	font-size: 17px;
	line-height: 1;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__rating strong {
	font-size: 12px;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__rating small,
#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__no-review {
	color: var(--ws-tcd-muted);
	font-size: 10px;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__no-review {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding-bottom: 2px;
	white-space: nowrap;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__no-review::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #a7b2b7;
	content: "";
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 41px;
	margin-top: 13px;
	padding: 0 14px;
	border: 1px solid var(--ws-tcd-blue);
	border-radius: 9px;
	color: #fff;
	background: var(--ws-tcd-blue);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__link:hover .ws-tcd-card__action {
	border-color: var(--ws-tcd-blue-dark);
	background: var(--ws-tcd-blue-dark);
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__availability {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 29px;
	margin-top: 7px;
	padding: 5px 8px;
	border-radius: 7px;
	color: var(--ws-tcd-green);
	background: var(--ws-tcd-green-pale);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
}

#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__availability::before {
	width: 6px;
	height: 6px;
	margin-right: 5px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

@media (max-width: 520px) {
	#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .tour-card.ws-tcd-card h3.ws-tcd-card__title,
	#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live).is-enhanced .tour-card.ws-tcd-card h3.ws-tcd-card__title {
		min-height: 0;
		max-height: none;
	}

	#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__detail {
		min-height: 0;
		max-height: none;
	}

	#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__body {
		padding: 16px;
	}
}

@media (max-width: 340px) {
	#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__money-review {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}
}

@media (prefers-reduced-motion: reduce) {
	#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card,
	#ws-homepage-draft :is(.popular-carousel, .offers-carousel.ws-tcd-offers-live) .ws-tcd-card__media img {
		transition: none !important;
	}
}

/* Dynamic Homepage destinations: two balanced card rows, with a bounded carousel at nine. */
#ws-homepage-draft .destination-grid.ws-tcd-destination-grid .ws-tcd-destination:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -6px;
	box-shadow: 0 0 0 3px #0875bd;
}

#ws-homepage-draft .ws-tcd-destination-controls {
	display: flex;
	grid-column: 1 / -1;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-top: 2px;
}

#ws-homepage-draft .ws-tcd-destination-controls > button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid #b9d3df;
	border-radius: 50%;
	color: #0875bd;
	background: #fff;
	font: 500 25px/1 Arial, sans-serif;
	cursor: pointer;
}

#ws-homepage-draft .ws-tcd-destination-controls > button:hover,
#ws-homepage-draft .ws-tcd-destination-controls > button:focus-visible {
	border-color: #0875bd;
	background: #eff8fc;
}

#ws-homepage-draft .ws-tcd-destination-controls > button:focus-visible,
#ws-homepage-draft .ws-tcd-destination-dots button:focus-visible {
	outline: 3px solid #0875bd;
	outline-offset: 2px;
}

#ws-homepage-draft .ws-tcd-destination-dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

#ws-homepage-draft .ws-tcd-destination-dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid #0875bd;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

#ws-homepage-draft .ws-tcd-destination-dots button[aria-current="page"] {
	background: #0875bd;
}

@media (min-width: 701px) {
	#ws-homepage-draft .destination-grid.ws-tcd-destination-grid {
		grid-template-columns: repeat(12, minmax(0, 1fr));
	}

	#ws-homepage-draft .destination-grid.ws-destination-count-5 .ws-tcd-destination:nth-child(-n + 2) {
		grid-column: span 6;
	}

	#ws-homepage-draft .destination-grid.ws-destination-count-5 .ws-tcd-destination:nth-child(n + 3) {
		grid-column: span 4;
	}

	#ws-homepage-draft .destination-grid.ws-destination-count-6 .ws-tcd-destination,
	#ws-homepage-draft .destination-grid.ws-destination-count-7 .ws-tcd-destination:nth-child(-n + 3),
	#ws-homepage-draft .destination-grid.ws-destination-count-9 .ws-tcd-destination {
		min-height: 205px;
		grid-column: span 4;
	}

	#ws-homepage-draft .destination-grid.ws-destination-count-7 .ws-tcd-destination:nth-child(n + 4),
	#ws-homepage-draft .destination-grid.ws-destination-count-8 .ws-tcd-destination {
		min-height: 205px;
		grid-column: span 3;
	}

	#ws-homepage-draft :is(.ws-destination-count-6, .ws-destination-count-7, .ws-destination-count-8, .ws-destination-count-9) .ws-tcd-destination:nth-child(-n + 2) h3 {
		font-size: 23px;
	}
}

@media (max-width: 700px) {
	#ws-homepage-draft .destination-grid.ws-tcd-destination-grid .ws-tcd-destination,
	#ws-homepage-draft .destination-grid.ws-tcd-destination-grid .ws-tcd-destination:nth-child(-n + 2) {
		min-height: 174px;
		grid-column: span 1;
	}

	#ws-homepage-draft .destination-grid.ws-destination-count-5 .ws-tcd-destination:first-child,
	#ws-homepage-draft .destination-grid.ws-destination-count-7 .ws-tcd-destination:first-child {
		grid-column: 1 / -1;
	}

	#ws-homepage-draft .ws-tcd-destination-controls {
		padding-top: 1px;
	}
}

/* Homepage Tripadvisor official-widget synchronization. */
#ws-homepage-draft .ws-tcd-home-reviews .ws-tripadvisor-summary__source {
	display: grid;
	justify-items: end;
	gap: 5px;
	min-width: 190px;
}

#ws-homepage-draft .ws-tcd-home-reviews .ws-tripadvisor-summary__widget {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-width: 176px;
	min-height: 58px;
}

#ws-homepage-draft .ws-tcd-home-reviews .ws-tripadvisor-summary__widget .cdsROW,
#ws-homepage-draft .ws-tcd-home-reviews .ws-tripadvisor-summary__widget .cdsROWContainer {
	margin: 0 !important;
}

#ws-homepage-draft .ws-tcd-home-reviews__status {
	max-width: 220px;
	color: #68736f;
	font-size: 10px;
	font-weight: 500;
	line-height: 1.35;
	text-align: right;
}

#ws-homepage-draft .ws-tcd-home-reviews[data-live-rating="ready"] .ws-tcd-home-reviews__status {
	color: #08755e;
}

@media (max-width: 760px) {
	#ws-homepage-draft .ws-tcd-home-reviews .ws-tripadvisor-summary__source {
		justify-items: start;
		min-width: 0;
	}

	#ws-homepage-draft .ws-tcd-home-reviews .ws-tripadvisor-summary__widget {
		justify-content: flex-start;
	}

	#ws-homepage-draft .ws-tcd-home-reviews__status {
		text-align: left;
	}
}

