/**
 * Goxom Toure widget — style 1 (framed trip / hotel cards).
 *
 * Colour and type resolve through component tokens on `.goxom-tr`, each
 * pointing at a theme global first with a literal fallback for the Elementor
 * editor, where the theme stylesheet is not always loaded. The widget's style
 * controls only ever set these tokens, never individual properties.
 *
 * The track is a working scroll-snap row on its own; goxom-tour.js upgrades it
 * to Swiper when the theme ships one and adds `.goxom-tr--swiper`. Cards are
 * never left hidden: the reveal's start state is scoped to `.goxom-tr--js`,
 * which is only set once an IntersectionObserver is watching.
 */

.goxom-tr {
	/* Brand */
	--tr-accent: var(--color-primary, #1273C4);
	--tr-accent-soft: color-mix(in srgb, var(--tr-accent) 10%, transparent);
	--tr-deal: #F0512B;
	--tr-gold: #F5A524;

	/* Ink */
	--tr-ink: var(--color-black, #0C2338);
	--tr-body: var(--color-body, #5A7387);
	--tr-white: #ffffff;

	/* Surface */
	--tr-card: var(--color-white, #ffffff);
	--tr-tint: var(--color-tint, #F2F6FA);
	--tr-line: var(--color-border, #E2EAF1);

	/* Type */
	--tr-font-title: var(--font-title, inherit);
	--tr-font-body: var(--font-body, inherit);

	/* Layout */
	--tr-per: 4;
	--tr-gap: 28px;
	--tr-radius: 22px;
	--tr-ease: cubic-bezier(.22, .61, .36, 1);

	position: relative;
	font-family: var(--tr-font-body);
}

@media (max-width: 1024px) {
	.goxom-tr { --tr-per: 2; }
}

@media (max-width: 767px) {
	.goxom-tr { --tr-per: 1; }
}

/* ================================================================== track */

/* Room above and below for the hover lift and its shadow, which the viewport's
   overflow would otherwise crop; the negative margin keeps the section's own
   spacing where the page builder put it. */
.goxom-tr .goxom-tr__viewport {
	position: relative;
	overflow: hidden;
	margin: -14px -4px -20px;
	padding: 0 4px;
}

/* The scroll container clips on both axes once it scrolls on one, so the
   padding lives here in the fallback, and on the viewport under Swiper. */
.goxom-tr .goxom-tr__track {
	display: flex;
	gap: var(--tr-gap);
	padding: 14px 0 34px;
	box-sizing: border-box;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.goxom-tr__track::-webkit-scrollbar {
	display: none;
}

.goxom-tr .goxom-tr__slide {
	flex: 0 0 calc((100% - (var(--tr-per) - 1) * var(--tr-gap)) / var(--tr-per));
	min-width: 0;
	height: auto;
	scroll-snap-align: start;
}

/* Swiper spaces and sizes the slides itself: an inline width loses to a
   flex-basis, and the track's gap would double Swiper's spaceBetween. */
.goxom-tr--swiper .goxom-tr__viewport {
	padding: 14px 4px 34px;
}

.goxom-tr--swiper .goxom-tr__track {
	gap: 0;
	padding: 0;
	overflow: visible;
	scroll-snap-type: none;
}

.goxom-tr--swiper .goxom-tr__slide {
	flex: 0 0 auto;
}

/* =================================================================== card */

.goxom-tr__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 10px;
	background: var(--tr-card);
	border: 1px solid var(--tr-line);
	border-radius: var(--tr-radius);
	box-shadow: 0 1px 2px rgba(12, 35, 56, .04), 0 8px 24px -12px rgba(12, 35, 56, .10);
	transition: transform .5s var(--tr-ease), box-shadow .5s var(--tr-ease), border-color .5s var(--tr-ease);
}

/* Keyed off the slide, which never moves: a card that lifted on its own
   :hover would slide out from under a pointer resting on its bottom edge,
   drop, get hovered again, and shake. */
.goxom-tr__slide:hover .goxom-tr__card,
.goxom-tr__card:focus-within {
	transform: translateY(-6px);
	border-color: color-mix(in srgb, var(--tr-accent) 28%, var(--tr-line));
	box-shadow: 0 2px 4px rgba(12, 35, 56, .04), 0 26px 50px -22px rgba(12, 35, 56, .32);
}

/* ------------------------------------------------------------------ image */

.goxom-tr__frame {
	position: relative;
	border-radius: calc(var(--tr-radius) - 8px);
	overflow: hidden;
	isolation: isolate;
}

.goxom-tr__media {
	display: block;
	aspect-ratio: 1.18;
	background: var(--tr-tint);
}

.goxom-tr__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 1.1s var(--tr-ease);
}

.goxom-tr__slide:hover .goxom-tr__card .goxom-tr__media img {
	transform: scale(1.07);
}

/* Top and bottom scrims, so the chips and the rating stay legible on any
   photo without darkening the middle of it. */
.goxom-tr__frame::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8, 20, 33, .38) 0%, rgba(8, 20, 33, 0) 30%),
		linear-gradient(0deg, rgba(8, 20, 33, .34) 0%, rgba(8, 20, 33, 0) 34%);
}

.goxom-tr__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: color-mix(in srgb, var(--tr-accent) 45%, transparent);
}

.goxom-tr__placeholder svg {
	width: 44px;
	height: 44px;
}

/* ------------------------------------------------------------------ chips */

.goxom-tr__tags {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px;
	pointer-events: none;
}

.goxom-tr__chip {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 11px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: .02em;
	color: var(--tr-white);
	white-space: nowrap;
}

.goxom-tr__chip--glass {
	background: rgba(255, 255, 255, .16);
	border: 1px solid rgba(255, 255, 255, .34);
	-webkit-backdrop-filter: blur(10px) saturate(140%);
	backdrop-filter: blur(10px) saturate(140%);
}

.goxom-tr__chip--deal {
	margin-left: auto;
	background: var(--tr-deal);
	box-shadow: 0 6px 14px -6px var(--tr-deal);
}

.goxom-tr__chip--featured {
	margin-left: auto;
	background: var(--tr-gold);
	color: #3A2600;
}

/* ----------------------------------------------------------------- rating */

.goxom-tr__rating {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 30px;
	padding: 0 12px 0 9px;
	border-radius: 999px;
	background: var(--tr-white);
	color: var(--tr-ink);
	font-size: 13px;
	line-height: 1;
	box-shadow: 0 6px 16px -8px rgba(8, 20, 33, .5);
}

.goxom-tr__rating strong {
	font-weight: 700;
}

.goxom-tr__star svg {
	display: block;
	width: 15px;
	height: 15px;
	fill: var(--tr-gold);
}

.goxom-tr__count {
	color: var(--tr-body);
	font-size: 12px;
}

.goxom-tr__rating.is-new {
	padding-left: 12px;
	font-weight: 600;
	font-size: 12px;
}

.goxom-tr__pulse {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #22C55E;
}

.goxom-tr__pulse::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid #22C55E;
	opacity: 0;
	animation: goxom-tr-pulse 2s var(--tr-ease) infinite;
}

@keyframes goxom-tr-pulse {
	0%   { transform: scale(.5); opacity: .8; }
	100% { transform: scale(1.4); opacity: 0; }
}

/* ------------------------------------------------------------------- body */

.goxom-tr__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 10px 8px;
}

.goxom-tr__loc {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--tr-accent);
}

.goxom-tr__loc span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.goxom-tr__loc svg,
.goxom-tr__meta svg {
	flex: none;
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.goxom-tr__title {
	margin: 0 0 14px;
	font-family: var(--tr-font-title);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--tr-ink);
}

/* Two lines, reserved even when the title needs one, so prices line up
   across a row of cards. */
.goxom-tr__title a {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	min-height: 2.6em;
	color: inherit;
	text-decoration: none;
	transition: color .3s;
}

/* The underline rides on the text itself, not the two-line box, so it sits
   under the last line of a short title instead of under empty space. */
.goxom-tr__title a span {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
	transition: background-size .45s var(--tr-ease);
}

.goxom-tr__slide:hover .goxom-tr__card .goxom-tr__title a,
.goxom-tr__title a:focus-visible {
	color: var(--tr-accent);
}

.goxom-tr__slide:hover .goxom-tr__card .goxom-tr__title a span,
.goxom-tr__title a:focus-visible span {
	background-size: 100% 1.5px;
}

.goxom-tr__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.goxom-tr__meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	height: 30px;
	padding: 0 10px;
	border-radius: 8px;
	background: var(--tr-tint);
	font-size: 13px;
	font-weight: 500;
	color: var(--tr-body);
}

.goxom-tr__meta li span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.goxom-tr__meta svg {
	color: var(--tr-accent);
}

/* ------------------------------------------------------------------- foot */

.goxom-tr__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px dashed var(--tr-line);
}

.goxom-tr__price {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.goxom-tr__from {
	font-size: 12px;
	font-weight: 500;
	color: var(--tr-body);
}

.goxom-tr__from del {
	margin-left: 4px;
	color: var(--tr-deal);
	opacity: .85;
}

.goxom-tr__amount {
	font-family: var(--tr-font-title);
	font-size: 24px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.01em;
	color: var(--tr-ink);
	white-space: nowrap;
}

.goxom-tr__amount small {
	margin-left: 3px;
	font-family: var(--tr-font-body);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--tr-body);
}

.goxom-tr__amount--ask {
	font-size: 17px;
}

/* ----------------------------------------------------------------- button */

.goxom-tr__btn {
	position: relative;
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 10px;
	height: 46px;
	padding: 0 5px 0 18px;
	border-radius: 999px;
	background: var(--tr-ink);
	color: var(--tr-white);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: color .35s var(--tr-ease), box-shadow .35s var(--tr-ease);
}

/* The accent fill grows out of the icon circle on hover. */
.goxom-tr__btn::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 5px;
	z-index: -1;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--tr-accent);
	transform: translateY(-50%);
	transition: transform .55s var(--tr-ease);
}

.goxom-tr__btn:hover,
.goxom-tr__btn:focus-visible {
	color: var(--tr-white);
	box-shadow: 0 12px 24px -12px var(--tr-accent);
}

.goxom-tr__btn:hover::before,
.goxom-tr__btn:focus-visible::before {
	transform: translateY(-50%) scale(7);
}

.goxom-tr__btn:focus-visible {
	outline: 2px solid var(--tr-accent);
	outline-offset: 3px;
}

.goxom-tr__btn-icon {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.goxom-tr__btn-icon svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .45s var(--tr-ease);
}

.goxom-tr__btn:hover .goxom-tr__btn-icon svg,
.goxom-tr__btn:focus-visible .goxom-tr__btn-icon svg {
	transform: rotate(45deg);
}

.goxom-tr .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* -------------------------------------------------------------------- nav */

.goxom-tr__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin-top: 28px;
}

.goxom-tr__arrow {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--tr-line);
	border-radius: 50%;
	background: var(--tr-card);
	color: var(--tr-ink);
	cursor: pointer;
	transition: background .3s var(--tr-ease), color .3s, border-color .3s, transform .3s var(--tr-ease);
}

.goxom-tr__arrow svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.goxom-tr__arrow:hover,
.goxom-tr__arrow:focus-visible {
	background: var(--tr-accent);
	border-color: var(--tr-accent);
	color: var(--tr-white);
}

.goxom-tr__prev:active { transform: translateX(-2px); }
.goxom-tr__next:active { transform: translateX(2px); }

.goxom-tr__arrow[disabled] {
	opacity: .4;
	pointer-events: none;
}

.goxom-tr__dots {
	display: flex;
	align-items: center;
	gap: 8px;
}

.goxom-tr__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: color-mix(in srgb, var(--tr-ink) 18%, transparent);
	cursor: pointer;
	transition: width .45s var(--tr-ease), background .3s;
}

.goxom-tr__dot:hover {
	background: color-mix(in srgb, var(--tr-ink) 38%, transparent);
}

.goxom-tr__dot.is-active {
	width: 30px;
	background: var(--tr-accent);
}

.goxom-tr__dot:focus-visible,
.goxom-tr__arrow:focus-visible {
	outline: 2px solid var(--tr-accent);
	outline-offset: 3px;
}

/* A dot per card is noise on a phone; the arrows and a swipe cover it. */
@media (max-width: 480px) {
	.goxom-tr__dots { display: none; }
	.goxom-tr__amount { font-size: 21px; }
	.goxom-tr__btn { padding-left: 14px; }
}

/* ----------------------------------------------------------------- reveal */

.goxom-tr--js .goxom-tr__slide {
	opacity: 0;
	transform: translateY(34px);
	transition: opacity .8s var(--tr-ease), transform .8s var(--tr-ease);
	transition-delay: calc(min(var(--tr-i, 0), 5) * 90ms);
}

.goxom-tr--js.is-in .goxom-tr__slide {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.goxom-tr *,
	.goxom-tr *::before,
	.goxom-tr *::after {
		transition-duration: .01ms !important;
		animation: none !important;
	}

	.goxom-tr__slide:hover .goxom-tr__card,
	.goxom-tr__card:focus-within {
		transform: none;
	}
}


/* =========================================================================
 * Goxom Toure — style 2 (postcard grid).
 *
 * Photo with chips and a rating pill; a white panel floats up over the
 * photo's foot with location, the full title, details, price and a button
 * whose label opens on hover. The title's link is stretched over the card.
 *
 * Shares the --tr-* token names with style 1 so the Card style controls
 * drive both.
 * ========================================================================= */

.goxom-tg {
	--tr-accent: var(--color-primary, #1273C4);
	--tr-deal: #F0512B;
	--tr-gold: #F5A524;
	--tr-ink: var(--color-black, #0C2338);
	--tr-body: var(--color-body, #5A7387);
	--tr-card: var(--color-white, #ffffff);
	--tr-line: var(--color-border, #E2EAF1);
	--tr-font-title: var(--font-title, inherit);
	--tr-radius: 22px;
	--tr-ease: cubic-bezier(.22, .61, .36, 1);
	--tg-cols: 3;
	--tg-gap: 30px;
	--tg-ratio: 1.3;
	--tg-lift: 64px;

	display: grid;
	grid-template-columns: repeat(var(--tg-cols), minmax(0, 1fr));
	gap: calc(var(--tg-gap) + 8px) var(--tg-gap);
}

@media (max-width: 1024px) {
	.goxom-tg { --tg-cols: 2; }
}

@media (max-width: 767px) {
	.goxom-tg { --tg-cols: 1; --tg-gap: 24px; }
}

.goxom-tg > .goxom-bf-notice {
	grid-column: 1 / -1;
}

/* ------------------------------------------------------------------- card */

.goxom-tg__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: transform .5s var(--tr-ease);
}

.goxom-tg__card:hover,
.goxom-tg__card:focus-within {
	transform: translateY(-6px);
}

/* ------------------------------------------------------------------ media */

.goxom-tg__media {
	position: relative;
	aspect-ratio: var(--tg-ratio);
	overflow: hidden;
	border-radius: var(--tr-radius);
	background: #0E2236;
	isolation: isolate;
}

.goxom-tg .goxom-tg__media img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	transition: transform 1.2s var(--tr-ease), filter .6s;
}

.goxom-tg__card:hover .goxom-tg__media img {
	transform: scale(1.07);
	filter: saturate(1.1);
}

/* Top scrim for the chips; the panel covers the foot. */
.goxom-tg__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 16, 28, .45) 0%, rgba(6, 16, 28, 0) 36%);
	pointer-events: none;
}

.goxom-tg__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	color: rgba(255, 255, 255, .5);
}

.goxom-tg__placeholder svg {
	width: 48px;
	height: 48px;
}

.goxom-tg svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.goxom-tg__chips {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	max-width: calc(100% - 140px);
}

.goxom-tg__chip {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .18);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
	white-space: nowrap;
	color: #ffffff;
}

.goxom-tg__chip--deal {
	border-color: transparent;
	background: var(--tr-deal);
}

.goxom-tg__chip--featured {
	border-color: transparent;
	background: var(--tr-gold);
	color: #1d1400;
}

.goxom-tg__rating {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	height: 30px;
	padding: 0 12px;
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 8px 20px -10px rgba(6, 16, 28, .5);
	font-size: 13px;
	color: var(--tr-body);
	white-space: nowrap;
}

.goxom-tg__rating svg {
	width: 15px;
	height: 15px;
	fill: var(--tr-gold);
	stroke: var(--tr-gold);
}

.goxom-tg__rating strong {
	font-weight: 800;
	color: var(--tr-ink);
}

.goxom-tg__rating.is-new {
	font-size: 12px;
	font-weight: 700;
	color: var(--tr-ink);
}

.goxom-tg__pulse {
	position: relative;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #22C55E;
}

.goxom-tg__pulse::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: #22C55E;
	animation: goxom-tg-pulse 2s ease-out infinite;
}

@keyframes goxom-tg-pulse {
	from { transform: scale(1); opacity: .7; }
	to   { transform: scale(2.8); opacity: 0; }
}

/* ------------------------------------------------------------------ panel */

/* No z-index: it paints over the photo by source order, and must not become
   a stacking context or the button could not rise above the link layer. */
.goxom-tg__panel {
	position: relative;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	margin: calc(var(--tg-lift) * -1) 16px 0;
	padding: 20px 22px 18px;
	border-radius: calc(var(--tr-radius) - 4px);
	background: var(--tr-card);
	box-shadow: 0 24px 48px -28px rgba(12, 35, 56, .38), 0 2px 6px rgba(12, 35, 56, .05);
	transition: box-shadow .5s var(--tr-ease);
}

.goxom-tg__card:hover .goxom-tg__panel,
.goxom-tg__card:focus-within .goxom-tg__panel {
	box-shadow: 0 34px 60px -30px rgba(12, 35, 56, .5), 0 2px 6px rgba(12, 35, 56, .05);
}

.goxom-tg__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
	font-size: 13px;
	font-weight: 600;
	color: var(--tr-body);
}

.goxom-tg__loc,
.goxom-tg__aside {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.goxom-tg__loc span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.goxom-tg__loc svg {
	flex: none;
	width: 15px;
	height: 15px;
	color: var(--tr-accent);
}

.goxom-tg__aside {
	flex: none;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--tr-accent) 9%, transparent);
	font-size: 12px;
	font-weight: 700;
	color: var(--tr-accent);
}

.goxom-tg__aside svg {
	width: 14px;
	height: 14px;
}

.goxom-tg__title {
	margin: 0 0 12px;
	font-family: var(--tr-font-title);
	font-size: clamp(18px, 1.35vw, 21px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.goxom-tg__title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	color: var(--tr-ink);
	text-decoration: none;
	transition: color .3s;
}

/* The whole card clicks through to the trip; only the button sits above. */
.goxom-tg__hit {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: var(--tr-radius);
}

.goxom-tg__card:hover .goxom-tg__title a {
	color: var(--tr-accent);
}

.goxom-tg__title a:focus-visible {
	outline: none;
}

.goxom-tg__card:has(.goxom-tg__title a:focus-visible) .goxom-tg__panel {
	outline: 3px solid var(--tr-accent);
	outline-offset: 3px;
}

.goxom-tg__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0 0 14px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--tr-body);
}

.goxom-tg__meta li {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-width: 0;
}

.goxom-tg__meta svg {
	flex: none;
	width: 15px;
	height: 15px;
}

/* ------------------------------------------------------------------- foot */

.goxom-tg__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px dashed var(--tr-line);
}

.goxom-tg__price {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.15;
}

.goxom-tg__from {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--tr-body);
}

.goxom-tg__from del {
	margin-left: 4px;
	text-transform: none;
	letter-spacing: 0;
	color: var(--tr-deal);
	opacity: .85;
}

.goxom-tg__amount {
	margin-top: 3px;
	font-family: var(--tr-font-title);
	font-size: 24px;
	font-weight: 800;
	letter-spacing: -.02em;
	color: var(--tr-ink);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.goxom-tg__amount small {
	margin-left: 4px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--tr-body);
}

.goxom-tg__amount--ask {
	font-size: 18px;
}

/* Collapsed to a round arrow; the label opens on hover or focus. */
.goxom-tg__btn {
	position: relative;
	z-index: 3;
	display: inline-flex;
	flex: none;
	align-items: center;
	height: 46px;
	padding: 4px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--tr-accent) 10%, transparent);
	color: var(--tr-accent);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: background .4s var(--tr-ease), color .4s, box-shadow .4s;
}

.goxom-tg__btn-text {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	opacity: 0;
	transition: max-width .5s var(--tr-ease), opacity .3s, padding .5s var(--tr-ease);
}

.goxom-tg__btn-icon {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--tr-accent);
	color: #ffffff;
	transition: background .4s, color .4s, transform .5s var(--tr-ease);
}

.goxom-tg__btn-icon svg {
	width: 18px;
	height: 18px;
	stroke-width: 2.1;
}

.goxom-tg__card:hover .goxom-tg__btn,
.goxom-tg__btn:focus-visible {
	background: var(--tr-accent);
	color: #ffffff;
	box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--tr-accent) 85%, transparent);
}

.goxom-tg__card:hover .goxom-tg__btn-text,
.goxom-tg__btn:focus-visible .goxom-tg__btn-text {
	max-width: 140px;
	padding: 0 10px 0 12px;
	opacity: 1;
}

.goxom-tg__card:hover .goxom-tg__btn-icon,
.goxom-tg__btn:focus-visible .goxom-tg__btn-icon {
	background: #ffffff;
	color: var(--tr-accent);
	transform: rotate(-45deg);
}

.goxom-tg__btn:focus-visible {
	outline: 2px solid var(--tr-accent);
	outline-offset: 3px;
}

/* Touch screens: no hover, so the label is simply shown. */
@media (hover: none) {
	.goxom-tg__btn {
		background: var(--tr-accent);
		color: #ffffff;
	}

	.goxom-tg__btn-text {
		max-width: 140px;
		padding: 0 10px 0 12px;
		opacity: 1;
	}

	.goxom-tg__btn-icon {
		background: #ffffff;
		color: var(--tr-accent);
	}
}

@media (max-width: 400px) {
	.goxom-tg__panel {
		margin-inline: 10px;
		padding: 18px 16px 16px;
	}

	.goxom-tg__amount {
		font-size: 21px;
	}
}

/* ----------------------------------------------------------------- reveal */

.goxom-tg--js .goxom-tg__card {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity .8s var(--tr-ease), transform .8s var(--tr-ease);
	transition-delay: var(--tg-delay, 0ms);
}

.goxom-tg--js .goxom-tg__card.is-in {
	opacity: 1;
	transform: none;
}

/* Once landed, hovers respond at once. */
.goxom-tg--js .goxom-tg__card.is-done {
	transition: transform .5s var(--tr-ease);
}

.goxom-tg--js .goxom-tg__card.is-done:hover,
.goxom-tg--js .goxom-tg__card.is-done:focus-within {
	transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
	.goxom-tg *,
	.goxom-tg *::before,
	.goxom-tg *::after,
	.goxom-tg__card {
		transition-duration: .01ms !important;
		animation: none !important;
	}

	.goxom-tg__card:hover,
	.goxom-tg__card:focus-within {
		transform: none;
	}
}
