/* ============================================================================
   REAL RESULT-CARD STYLES — extracted app CSS subset (aloha2 landing).
   Source of truth: assets/css/style.css, v1-app.css, bootstrap.css (selectors
   noted inline). The landing is self-contained and must not import the full
   app stack, so only the rules div.tinder--card.full.result.searchResult and
   its children need are copied here, verbatim where possible.
   docs/plans/aloha2-landing-wiring.md
   ========================================================================= */

/* App CSS variables the card rules reference (style.css :root) */
.tinder--card {
	--primary-color:     #2c75de;
	--primary-color-lt:  #66a6ff;
	--primary-color-dk:  #1D4E91;
	--text-dark:         #1e2835;
	--default-outline:   2px solid rgba(255,255,255,.5);
	--box-shadow-cont:   0 50px 100px -20px rgba(50,50,93,0.25), 0 30px 60px -30px rgba(0,0,0,0.3);
	--box-shadow-cont-small: 0 20px 40px -10px rgba(50,50,93,.25), 0 20px 20px -15px rgba(0,0,0,.5);
}

/* style.css .tinder--card — deck rules minus deck positioning (absolute/90vw);
   the searchResult context is a static card in a flow layout. */
.tinder--card {
	position: relative;
	width: 100%;
	max-width: 500px;
	background: #FFF;
	border-radius: 10px;
	overflow: hidden;
	outline: var(--default-outline);
	box-shadow: var(--box-shadow-cont);
	background-size: contain;
	background-position: top center;
	background-repeat: no-repeat;
}
.tinder--card.full {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--text-dark);
}
.tinder--card.full.result {
	background-position: center center;
	background-size: cover;
	flex-direction: column;
}
.tinder--card.full.result.searchResult {
	position: relative;
	min-height: 380.65px !important;
	max-height: 380.65px !important;
	height: 380.65px !important;
	pointer-events: auto !important;
	cursor: auto !important;
}
.tinder--card.full.result .result-img {
	flex: 1 1 auto;
	background-size: cover;
	width: 100%;
	background-position: center center;
}
.tinder--card.result .result-title2 {
	width: 100%;
	margin-top: auto;
	background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .35) 100%);
	z-index: 0;
}
.tinder--card.result .result-title2 i,
.tinder--card.result .imgColors-content h3 i {
	color: color-mix(in srgb, var(--itemColor) 100%, #FFFFFF 100%) !important;
	transition: color 4s ease-out;
}
.tinder--card.result .result-title2 h3 {
	color: color-mix(in srgb, var(--itemColor) 100%, #FFFFFF 100%) !important;
}

/* style.css .booking-date / .booking-time pills */
.tinder--card .booking-date {
	position: absolute;
	top: .5rem;
	left: .5rem;
	display: inline;
	background: var(--primary-color);
	color: white;
	padding: .25rem .75rem .25rem 2.5rem;
	border-radius: 20px;
	font-size: 1rem;
	outline: 2px solid rgba(255,255,255,.5);
}
.tinder--card .booking-date.cards {
	background: var(--itemColorBG);
	top: 0.8rem;
	left: 0.8rem;
	transition: all 4s ease-out;
}
.tinder--card .booking-date.cards i { transition: all 4s ease-out; }
.tinder--card .booking-date-circle {
	position: absolute;
	top: .2rem;
	left: .2rem;
	right: calc(100% - 1.8rem);
	bottom: .2rem;
	background-color: white;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.tinder--card .booking-time {
	position: absolute;
	top: 2.25rem;
	left: 2.25rem;
	display: inline;
	background: var(--primary-color-dk);
	color: white;
	padding: .25rem .75rem;
	border-radius: 20px;
	font-size: .75rem;
}
.tinder--card .booking-time.cards {
	background: var(--itemColorBG);
	top: 2.55rem;
	left: 2.55rem;
	transition: all 4s ease-out;
}

/* style.css .img-fav (mobile block) — inert on the landing (pointer-events off) */
.tinder--card .img-fav {
	position: absolute;
	height: 2.5rem;
	width: 2.5rem;
	background: white;
	border-radius: 100%;
	display: flex;
	align-content: center;
	align-items: center;
	justify-content: center;
	outline: var(--default-outline);
	font-size: 1rem;
	z-index: 10;
	right: 1rem;
	top: 1rem;
	box-shadow: var(--box-shadow-cont-small);
	pointer-events: none;
}
.tinder--card .img-fav.isAiSearch {
	height: 2rem;
	width: 2rem;
	top: .8rem;
	right: .8rem;
	outline-width: 2px;
}

/* style.css .imgColors-* — the palette gradient blobs behind the title */
.tinder--card .imgColors-cont {
	display: flex;
	position: relative;
	margin-top: -4rem;
	overflow: visible;
}
.tinder--card .imgColors-item {
	width: calc(70%);
	aspect-ratio: 1;
	border-radius: 100%;
	background-color: var(--itemColor);
	position: absolute;
	transform: translateX(-50%);
	transition: all 800ms ease-out;
	--base-y: -12%;
	--offset-amount: 2.5%;
}
.tinder--card .imgColors-item.cards {
	width: 130%;
	aspect-ratio: 1;
	border-radius: 100%;
	background: radial-gradient(circle at center, var(--itemColorF) 45%, var(--itemColor0) 70%);
	position: absolute;
	transform: translateX(-50%);
	transition: --itemColor0 4s ease-out, --itemColorF 4s ease-out, transform 800ms ease-out;
}
@property --itemColor0 { syntax: '<color>'; inherits: false; initial-value: rgba(0, 0, 0, 0); }
@property --itemColorF { syntax: '<color>'; inherits: false; initial-value: rgba(0, 0, 0, 1); }
.tinder--card .imgColors-item.c1 { left: 0;    transform: translate(-35%, calc(var(--base-y) + 0 * var(--offset-amount))); }
.tinder--card .imgColors-item.c2 { left: 25%;  transform: translate(-35%, calc(var(--base-y) + 1 * var(--offset-amount))); }
.tinder--card .imgColors-item.c3 { left: 50%;  transform: translate(-35%, calc(var(--base-y) + 2 * var(--offset-amount))); }
.tinder--card .imgColors-item.c4 { left: 75%;  transform: translate(-35%, calc(var(--base-y) + 3 * var(--offset-amount))); }
.tinder--card .imgColors-item.c5 { left: 100%; transform: translate(-35%, calc(var(--base-y) + 4 * var(--offset-amount))); }
.tinder--card .imgColors-content {
	position: relative;
	z-index: 2;
	width: 100%;
}
.tinder--card .imgColors-content.cards {
	background: linear-gradient(0deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 100%);
	padding: .5rem;
	line-height: normal;
}

/* style.css .highlights-cont (chip row) */
.tinder--card .highlights-cont > span { display: inline-block; margin-right: .5rem; }
.tinder--card .highlights-cont > span:last-of-type { margin-right: 0; }

/* style.css BADGES + bootstrap.css .badge base (availability day chips) */
.tinder--card .badge {
	display: inline-block;
	padding: 0.25em 0.4em;
	font-size: 75%;
	font-family: 'soehne-halbfett', -apple-system, sans-serif;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.25rem;
}
.tinder--card .badge-avail.headline { border: 1px solid white; background-color: var(--itemColor); }
.tinder--card .badge-inactive.headline { color: inherit; border: 1px solid white; background-color: transparent; }

/* Typography inside the card — style.css maps h3/_600 to Soehne families;
   bootstrap h3 = 1.75rem; v1-app .text-muted = inherit @ .6 opacity. */
.tinder--card h3 {
	font-family: 'soehne-halbfett', -apple-system, sans-serif;
	font-weight: normal !important;
	font-size: 1.75rem;
	line-height: 1.2;
	letter-spacing: 0;
}
.tinder--card ._600 { font-family: 'soehne-halbfett', -apple-system, sans-serif; font-weight: normal !important; }
.tinder--card .text-white { color: white !important; }
.tinder--card .text-muted { color: inherit !important; opacity: 0.6; }
.tinder--card .text-xs { font-size: 0.7rem; }
.tinder--card .text-sm { font-size: 0.75rem; }
.tinder--card .text-primary-lt { color: var(--primary-color-lt) !important; }
.tinder--card .text-primary-dk { color: var(--primary-color-dk) !important; }
.tinder--card .line-clamp-2 {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Bootstrap layout/spacing utilities the card markup uses */
.tinder--card .d-flex { display: flex !important; }
.tinder--card .d-block { display: block !important; }
.tinder--card .p-relative { position: relative; }
.tinder--card .flex-grow-1 { flex-grow: 1 !important; }
.tinder--card .flex-shrink-0 { flex-shrink: 0 !important; }
.tinder--card .min-w-0 { min-width: 0 !important; }
.tinder--card .px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.tinder--card .pb-3 { padding-bottom: 1rem !important; }
.tinder--card .pl-0 { padding-left: 0 !important; }
.tinder--card .mb-0 { margin-bottom: 0 !important; }
.tinder--card .mt-2 { margin-top: .5rem !important; }
.tinder--card p { margin: 0 0 1rem; }
.tinder--card sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; top: -.5em; }
