/* UNIVERSAL-CARDS-2A — APT_Listing_Card: ONE card for Services and Requests (owner-approved reference: photo with rating /
   Featured / heart / photo counter and the account's identity + verification chips over it; information row; category
   chip + price; title; short description; big CTA + square chat). Services are blue, Requests green — nothing else
   differs. Full = grid card; compact = the same card as a row (app lists, search, map previews). */
.apt-lcard {
	--lc-ink: #0F1B33; --lc-muted: #5B6476; --lc-line: #E6EAF1; --lc-ok: #12A150; --lc-accent: #0B6CF0; --lc-accent-d: #0957C2; --lc-tint: #E8F1FE; --lc-tint-ink: #1559C9;
	position: relative; display: block; container-type: inline-size; width: 100%; min-width: 0; margin: 0; padding: 0; list-style: none;
	background: #fff; border: 1px solid var(--lc-line); border-radius: 18px; overflow: hidden;
	box-shadow: 0 2px 10px rgba(16, 24, 40, .07); color: var(--lc-ink); font-size: 15px; line-height: 1.4; text-align: left;
	transition: box-shadow .15s ease;
}
.apt-lcard--tone-green { --lc-accent: #16A34A; --lc-accent-d: #11823B; --lc-tint: #E5F7EC; --lc-tint-ink: #138040; }
.apt-lcard:hover { box-shadow: 0 10px 28px rgba(16, 24, 40, .13); }
.apt-lcard *, .apt-lcard *::before, .apt-lcard *::after { box-sizing: border-box; }
.apt-lcard__in { display: flex; flex-direction: column; height: 100%; }
.apt-lcard__i { flex: 0 0 auto; width: 18px; height: 18px; }
/* Theme typography adds margins to every h3 / p / ul — the card sets its own spacing. */
.apt-lcard h2, .apt-lcard h3, .apt-lcard h4, .apt-lcard p, .apt-lcard ul, .apt-lcard li { margin: 0 !important; }

/* ── Photo ─────────────────────────────────────────────────────────────── */
.apt-lcard__media { position: relative; flex: 0 0 auto; aspect-ratio: 16 / 9; min-height: 268px; background: #EEF2F7; overflow: hidden; }
.apt-lcard__media-link { position: absolute; inset: 0; display: block; text-decoration: none !important; }
.apt-lcard__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.apt-lcard__fallback { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; width: 100%; height: 100%; padding-top: 12%; background: #EEF2F7; color: #44546F; }
.apt-lcard__fallback-icon svg, .apt-lcard__fallback-icon i { width: 46px; height: 46px; font-size: 42px; }
.apt-lcard__fallback-note { font-size: 12.5px; font-weight: 700; opacity: .85; }
/* The identity sits on a dark fade at the foot of the photo (readable over any photo or fallback). */
.apt-lcard--full .apt-lcard__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 62%; background: linear-gradient(to bottom, rgba(8, 14, 28, 0), rgba(8, 14, 28, .78)); pointer-events: none; }
.apt-lcard--full.is-nophoto .apt-lcard__media::after { height: 48%; }

.apt-lcard__tl { position: absolute; z-index: 2; top: 12px; left: 12px; right: 64px; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; pointer-events: none; }
.apt-lcard__rating, .apt-lcard__featured, .apt-lcard__status, .apt-lcard__count {
	display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 4px 12px; border-radius: 999px;
	background: rgba(12, 16, 26, .78); color: #fff; font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; backdrop-filter: blur(4px);
}
.apt-lcard__rating b { font-weight: 800; font-size: 15.5px; }
.apt-lcard__rating .apt-lcard__i--star { color: #FFC21A; }
.apt-lcard__featured { font-weight: 700; }
.apt-lcard__featured .apt-lcard__i--up { color: #FFC21A; }
.apt-lcard__status { background: #475467; font-weight: 700; }
.apt-lcard__count { position: absolute; z-index: 2; right: 12px; bottom: 12px; border: 1px solid rgba(255, 255, 255, .55); pointer-events: none; }
/* Full card: the counter is the first line of the identity block (right-aligned, above the name) — never over the heart. */
.apt-lcard__id-top { flex: 0 0 100%; display: flex; justify-content: flex-end; }
.apt-lcard__id-top .apt-lcard__count { position: static; }
.apt-lcard__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.apt-lcard__count .apt-lcard__i { width: 16px; height: 16px; }
.apt-lcard__fav { position: absolute; z-index: 3; top: 10px; right: 10px; }
.apt-lcard__fav button, .apt-lcard__fav a {
	display: inline-flex !important; align-items: center; justify-content: center; width: 46px !important; height: 46px !important; min-width: 0 !important;
	margin: 0 !important; padding: 0 !important; border-radius: 50% !important; background: #fff !important; border: 0 !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2); color: #0F1B33 !important; font-size: 0 !important;
}
.apt-lcard__fav button i, .apt-lcard__fav a i, .apt-lcard__fav svg { font-size: 19px !important; margin: 0 !important; }
.apt-lcard__fav [class*="label"], .apt-lcard__fav .screen-reader-text + span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Identity: avatar bottom-left · name + "Professional · Town" / "Requester · Town" · real verification chips. */
.apt-lcard__id { position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; color: #fff; pointer-events: none; }
.apt-lcard__id a { pointer-events: auto; }
.apt-lcard__avatar { position: relative; flex: 0 0 auto; width: 68px; height: 68px; border-radius: 50%; border: 3px solid #fff; background: var(--lc-accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); }
.apt-lcard__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: #fff; }
.apt-lcard__initials { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; color: #fff; font-weight: 800; font-size: 22px; }
.apt-lcard__presence { position: absolute; right: 0; bottom: 2px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; background: #98A2B3; }
.apt-lcard__presence--on { background: #12B76A; }
.apt-lcard__id-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 140px; padding-bottom: 4px; }
.apt-lcard__name { color: #fff !important; font-size: 19px; font-weight: 800; line-height: 1.2; text-decoration: none !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
a.apt-lcard__name:hover { text-decoration: underline !important; }
.apt-lcard__role { color: rgba(255, 255, 255, .9); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apt-lcard__chips { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 6px; }
.apt-lcard__chip { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 3px 10px; border-radius: 9px; background: rgba(6, 20, 14, .55); border: 1px solid rgba(110, 231, 160, .75); color: #C9F7DA; font-size: 13px; font-weight: 600; white-space: nowrap; }
.apt-lcard__chip .apt-lcard__i { color: #4ADE80; width: 16px; height: 16px; }

/* ── Body ──────────────────────────────────────────────────────────────── */
.apt-lcard__body { display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; min-width: 0; padding: 14px 18px 18px; }
.apt-lcard__info { display: flex; flex-wrap: wrap; row-gap: 8px; margin: 0 0 4px; padding: 0 0 12px; list-style: none; border-bottom: 1px solid var(--lc-line); }
.apt-lcard__info-item { display: flex; flex: 1 1 auto; align-items: flex-start; gap: 8px; min-width: min-content; padding: 0 10px; margin: 0; }
.apt-lcard__info-item + .apt-lcard__info-item { border-left: 1px solid var(--lc-line); }
.apt-lcard__info-item:first-child { padding-left: 0; }
.apt-lcard__info-item .apt-lcard__i { width: 22px; height: 22px; margin-top: 1px; color: var(--lc-ink); }
.apt-lcard__info-item .apt-lcard__i--bolt { color: var(--lc-accent); }
.apt-lcard__info-item span { display: flex; flex-direction: column; min-width: min-content; }
.apt-lcard__info-item strong { font-size: 14.5px; font-weight: 700; line-height: 1.25; overflow-wrap: normal; word-break: normal; }
.apt-lcard__info-item small { color: var(--lc-muted); font-size: 13.5px; line-height: 1.3; }
.apt-lcard__info-item.is-ok strong, .apt-lcard__info-item.is-ok .apt-lcard__i { color: var(--lc-ok); }
.apt-lcard__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.apt-lcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.apt-lcard__cat, .apt-lcard__pill { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 13px; border-radius: 999px; background: var(--lc-tint); color: var(--lc-tint-ink); font-size: 14px; font-weight: 600; }
.apt-lcard__pill--own { background: #F1F4F9; color: #344054; }
.apt-lcard__price { margin: 0 0 0 auto; white-space: nowrap; }
.apt-lcard__from { color: var(--lc-muted); font-size: 16px; }
.apt-lcard__price strong { color: var(--lc-ink); font-size: 26px; font-weight: 800; letter-spacing: -.01em; }
.apt-lcard__price-note { color: var(--lc-ink); font-size: 15px; font-weight: 700; }
.apt-lcard__price-sub { display: block; color: var(--lc-muted); font-size: 13px; font-weight: 500; }
.apt-lcard__title { margin: 0; font-size: 22px; font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.apt-lcard__title a { color: var(--lc-ink) !important; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.apt-lcard__title a:hover { text-decoration: underline !important; }
.apt-lcard__summary { margin: 0; color: var(--lc-muted); font-size: 15.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.apt-lcard__actions { display: flex; align-items: stretch; gap: 12px; margin-top: auto; padding-top: 6px; }
.apt-lcard__cta {
	flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 18px; border-radius: 12px;
	background: var(--lc-accent); color: #fff !important; font-size: 17px; font-weight: 700; line-height: 1; text-decoration: none !important; white-space: nowrap;
}
.apt-lcard__cta:hover { background: var(--lc-accent-d); }
.apt-lcard__cta .apt-lcard__i { width: 20px; height: 20px; }
.apt-lcard__chat {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 62px; min-height: 54px; border-radius: 12px;
	border: 1.5px solid color-mix(in srgb, var(--lc-accent) 28%, #fff); background: #fff; color: var(--lc-accent) !important; text-decoration: none !important;
}
.apt-lcard__chat:hover { background: var(--lc-tint); }
.apt-lcard__chat .apt-lcard__i { width: 28px; height: 28px; }
.apt-lcard a:focus-visible { outline: 2px solid var(--lc-accent); outline-offset: 2px; }

/* ── Compact: the same card as a row ───────────────────────────────────── */
.apt-lcard--compact { border-radius: 16px; }
.apt-lcard--compact .apt-lcard__in { display: grid; grid-template-columns: minmax(104px, 30%) minmax(0, 1fr) auto; }
.apt-lcard--compact .apt-lcard__media { aspect-ratio: auto; min-height: 128px; margin: 8px 0 8px 8px; border-radius: 12px; }
.apt-lcard--compact .apt-lcard__tl { top: 7px; left: 7px; right: 46px; gap: 4px; }
.apt-lcard--compact .apt-lcard__rating, .apt-lcard--compact .apt-lcard__featured, .apt-lcard--compact .apt-lcard__status { min-height: 26px; padding: 2px 8px; font-size: 12.5px; gap: 4px; }
.apt-lcard--compact .apt-lcard__rating b { font-size: 13px; }
.apt-lcard--compact .apt-lcard__i { width: 14px; height: 14px; }
.apt-lcard--compact .apt-lcard__fav { top: 6px; right: 6px; }
.apt-lcard--compact .apt-lcard__fav button, .apt-lcard--compact .apt-lcard__fav a { width: 34px !important; height: 34px !important; }
.apt-lcard--compact .apt-lcard__fav button i, .apt-lcard--compact .apt-lcard__fav a i { font-size: 15px !important; }
.apt-lcard--compact .apt-lcard__count { right: 6px; bottom: 6px; min-height: 24px; padding: 2px 7px; font-size: 12px; }
.apt-lcard--compact .apt-lcard__fallback { justify-content: center; padding-top: 0; }
.apt-lcard--compact .apt-lcard__fallback-icon svg, .apt-lcard--compact .apt-lcard__fallback-icon i { width: 34px; height: 34px; font-size: 32px; }
.apt-lcard--compact .apt-lcard__body { gap: 5px; padding: 10px 6px 10px 14px; justify-content: center; }
.apt-lcard__who { margin: 0; color: var(--lc-ink); font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apt-lcard--compact .apt-lcard__title { font-size: 16.5px; }
.apt-lcard--compact .apt-lcard__cat, .apt-lcard--compact .apt-lcard__pill { min-height: 26px; padding: 2px 10px; font-size: 13px; }
.apt-lcard--compact .apt-lcard__info { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 2px 0 0; padding: 0; border: 0; }
.apt-lcard--compact .apt-lcard__info-item { padding: 0; border: 0 !important; gap: 5px; align-items: center; }
.apt-lcard--compact .apt-lcard__info-item .apt-lcard__i { width: 17px; height: 17px; margin: 0; }
.apt-lcard--compact .apt-lcard__info-item span { flex-direction: row; gap: 4px; align-items: baseline; }
.apt-lcard--compact .apt-lcard__info-item strong { font-size: 13px; font-weight: 600; }
.apt-lcard--compact .apt-lcard__info-item small { font-size: 12.5px; }
.apt-lcard__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; padding: 12px 12px 12px 4px; text-align: right; }
.apt-lcard--compact .apt-lcard__price strong { font-size: 21px; }
.apt-lcard--compact .apt-lcard__from { font-size: 14px; }
.apt-lcard--compact .apt-lcard__price-note { font-size: 14px; }
.apt-lcard--compact .apt-lcard__actions { margin: 0; padding: 0; }
.apt-lcard--compact .apt-lcard__chat { width: 52px; min-height: 52px; }
.apt-lcard--compact .apt-lcard__chat .apt-lcard__i { width: 26px; height: 26px; }

/* ── Grids that hold the shared card: Services AND Requests archives use the SAME columns ─ */
.apt-lcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.hp-listings .hp-row:has(> .hp-grid__item > .apt-lcard), .hp-requests .hp-row:has(> .hp-grid__item > .apt-lcard) {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; margin: 0 !important;
}
.hp-listings .hp-row > .hp-grid__item:has(> .apt-lcard), .hp-requests .hp-row > .hp-grid__item:has(> .apt-lcard) {
	width: auto !important; max-width: none !important; flex: none !important; margin: 0 !important; padding: 0 !important;
}
.hp-listings .hp-grid__item > .apt-lcard, .hp-requests .hp-grid__item > .apt-lcard { height: 100%; }

/* ── The card answers to its own width ─────────────────────────────────── */
@container (max-width: 400px) {
	.apt-lcard--full .apt-lcard__media { min-height: 262px; }
	.apt-lcard--full .apt-lcard__avatar { width: 56px; height: 56px; }
	.apt-lcard--full .apt-lcard__name { font-size: 17px; }
	.apt-lcard--full .apt-lcard__body { padding: 12px 14px 16px; }
	.apt-lcard--full .apt-lcard__info-item { padding: 0 7px; gap: 6px; }
	.apt-lcard--full .apt-lcard__info-item .apt-lcard__i { width: 19px; height: 19px; }
	.apt-lcard--full .apt-lcard__info-item strong { font-size: 13.5px; }
	.apt-lcard--full .apt-lcard__info-item small { font-size: 12.5px; }
	.apt-lcard--full .apt-lcard__title { font-size: 20px; }
}
/* Wide card (≥ 560px): the reference proportions — chips on the name line, right-aligned. */
@container (min-width: 560px) {
	.apt-lcard--full .apt-lcard__media { aspect-ratio: 1.94 / 1; min-height: 0; }
	.apt-lcard--full .apt-lcard__id { flex-wrap: nowrap; }
	.apt-lcard--full .apt-lcard__id-top { position: absolute; right: 0; bottom: calc(100% + 10px); }
	.apt-lcard--full .apt-lcard__avatar { width: 84px; height: 84px; }
	.apt-lcard--full .apt-lcard__name { font-size: 22px; }
	.apt-lcard--full .apt-lcard__chips { flex-wrap: nowrap; padding-bottom: 8px; }
}
@container (max-width: 300px) {
	.apt-lcard--full .apt-lcard__info { flex-direction: column; gap: 6px; }
	.apt-lcard--full .apt-lcard__info-item { padding: 0; border: 0 !important; }
}
/* A narrow compact row: price + chat move under the text (same order, nothing hidden but the summary). */
@container (max-width: 420px) {
	.apt-lcard--compact .apt-lcard__in { grid-template-columns: 112px minmax(0, 1fr); }
	.apt-lcard--compact .apt-lcard__side { grid-column: 2; flex-direction: row; align-items: center; padding: 0 12px 10px 14px; text-align: left; }
	.apt-lcard--compact .apt-lcard__media { grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) { .apt-lcard { transition: none; } }

/* ── CARDS-2.1-SMART-COVERS: a Request with no photo (APT_Request_Cover) ───────────────────────────────────────────
   Only the inside of the media area changes: the media box, its fade, the overlays, the identity band and the body are
   the Cards 2.0 rules above, untouched. Generic category artwork (SVG, or approved WebP) + badge + category headline + a
   visible "Category illustration" caption. */
.apt-lcard .apt-scover { position: absolute; inset: 0; display: block; overflow: hidden; color: #fff; line-height: 1.2; background: linear-gradient(135deg, var(--sc-bg1, #0F1B33), var(--sc-bg2, #1D3A5F)); }
/* The artwork: one cached SVG per category, cropped from its lit right-hand side; three crops per category (request id). */
.apt-scover__art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 100% 50%; transform: scale(var(--sc-z, 1)); transform-origin: var(--sc-o, 80% 50%); transition: transform .6s ease; filter: brightness(1.06) saturate(1.04); }
/* Fill the media box everywhere, even under generic `img { height: auto }` resets (e.g. the PWA app shell). */
.apt-lcard .apt-scover .apt-scover__art { height: 100%; max-width: none; }
.apt-lcard:hover .apt-scover__art { transform: scale(calc(var(--sc-z, 1) * 1.035)); }
.apt-scover--v1 .apt-scover__art { --sc-z: 1.12; --sc-o: 92% 28%; }
.apt-scover--v2 .apt-scover__art { --sc-z: 1.06; --sc-o: 70% 85%; object-position: 88% 70%; }
/* Light tone per request (neutral / warm evening / cool morning) and three soft flares placed from the request id. */
.apt-scover__tone, .apt-scover__flare { position: absolute; inset: 0; pointer-events: none; }
.apt-scover--t1 .apt-scover__tone { background: radial-gradient(120% 90% at 88% 10%, rgba(255, 176, 92, .26), rgba(255, 176, 92, 0) 60%); }
.apt-scover--t2 .apt-scover__tone { background: linear-gradient(200deg, rgba(140, 190, 255, .2), rgba(140, 190, 255, 0) 55%); }
.apt-scover__flare { background: var(--sc-flare, none); mix-blend-mode: screen; }
.apt-scover__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 8, 18, .6) 0%, rgba(4, 8, 18, .38) 41%, rgba(4, 8, 18, 0) 69%), linear-gradient(180deg, rgba(4, 8, 18, .22), rgba(4, 8, 18, 0) 31%); }
.apt-scover__top { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.apt-scover--tl .apt-scover__top { top: 54px; }
.apt-scover__badge { display: inline-flex; align-items: center; gap: 7px; min-width: 0; min-height: 32px; padding: 4px 13px 4px 5px; border-radius: 999px; background: var(--sc-chip, #16A34A); box-shadow: 0 4px 14px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .25); font-size: 12px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.apt-scover__badge-t { overflow: hidden; text-overflow: ellipsis; }
.apt-scover__badge-i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.apt-scover__badge-i svg { display: block; width: 15px; height: 15px; }
.apt-scover__note { flex: 0 0 auto; padding: 3px 9px; border-radius: 999px; background: rgba(4, 8, 18, .5); border: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .94); font-size: 11px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; backdrop-filter: blur(4px); }
.apt-scover__copy { position: absolute; top: 60px; left: 16px; width: min(64%, 360px); display: flex; flex-direction: column; gap: 4px; text-shadow: 0 1px 2px rgba(4, 8, 18, .6), 0 0 16px rgba(4, 8, 18, .5), 0 2px 10px rgba(4, 8, 18, .4); }
.apt-scover--tl .apt-scover__copy { top: 98px; }
.apt-scover__kicker { font-size: 14px; font-weight: 600; opacity: .95; }
.apt-scover__headline { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: clamp(21px, 6.2cqi, 32px); font-weight: 800; line-height: 1.08; letter-spacing: -.012em; text-wrap: balance; }
@container (min-width: 560px) {
	.apt-scover__top { top: 18px; left: 18px; right: 18px; }
	.apt-scover--tl .apt-scover__top { top: 54px; }
	.apt-scover__copy { top: 72px; left: 20px; width: min(58%, 380px); }
	.apt-scover--tl .apt-scover__copy { top: 96px; }
	.apt-scover__kicker { font-size: 15px; }
}
/* Compact row (app lists, search): the artwork, an icon-only badge and a small caption — no headline in a thumbnail. */
.apt-lcard--compact .apt-scover__top { position: static; }
.apt-lcard--compact .apt-scover__badge { position: absolute; top: 7px; left: 7px; gap: 0; min-height: 0; padding: 3px; }
.apt-lcard--compact .apt-scover--tl .apt-scover__badge { top: 38px; }
.apt-lcard--compact .apt-scover__badge-t, .apt-lcard--compact .apt-scover__note-x, .apt-lcard--compact .apt-scover__copy { display: none; }
.apt-lcard--compact .apt-scover__note { position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; font-size: 10px; text-transform: capitalize; }
.apt-lcard--compact .apt-scover__shade { background: linear-gradient(180deg, rgba(4, 8, 18, .2), rgba(4, 8, 18, 0) 40%, rgba(4, 8, 18, .35)); }
@media (prefers-reduced-motion: reduce) {
	.apt-scover__art { transition: none; }
	.apt-lcard:hover .apt-scover__art { transform: scale(var(--sc-z, 1)); }
}
/* A narrow full card: the caption sits under the badge (both stay whole), the headline starts below them. */
@container (max-width: 399px) {
	.apt-lcard--full .apt-scover__top { flex-direction: column; align-items: flex-start; gap: 6px; }
	.apt-lcard--full .apt-scover__note { font-size: 10.5px; padding: 2px 8px; }
	.apt-lcard--full .apt-scover__copy { top: 80px; }
	.apt-lcard--full .apt-scover--tl .apt-scover__copy { top: 118px; }
	.apt-lcard--full .apt-scover__kicker { font-size: 13px; }
}
/* CARDS-2.1 premium artwork: an owner-approved WebP background (garden, repairs, vehicle, pets) is shown as approved — no zoom, tone or
   flares; only the horizontal crop varies per request — with a stronger left shade and text halo so the white copy stays
   readable on a bright, photographic scene. The "Category illustration" caption stays on it at every size.
   Brightness (all covers): a light lift on the artwork and soft overlays keep long lists friendly; the copy's text halo,
   not a heavy overlay, carries readability. */
.apt-scover--raster .apt-scover__art { --sc-z: 1; object-position: 100% 50%; }
.apt-scover--raster.apt-scover--v1 .apt-scover__art { object-position: 92% 50%; }
.apt-scover--raster.apt-scover--v2 .apt-scover__art { object-position: 84% 50%; }
.apt-scover--raster .apt-scover__tone, .apt-scover--raster .apt-scover__flare { display: none; }
.apt-lcard--full .apt-scover--raster .apt-scover__shade { background: linear-gradient(90deg, rgba(4, 8, 18, .76) 0%, rgba(4, 8, 18, .63) 44%, rgba(4, 8, 18, .24) 70%, rgba(4, 8, 18, 0) 87%), linear-gradient(180deg, rgba(4, 8, 18, .38), rgba(4, 8, 18, 0) 44%); }
.apt-scover--raster .apt-scover__copy { text-shadow: 0 1px 2px rgba(4, 8, 18, .65), 0 0 18px rgba(4, 8, 18, .55), 0 2px 12px rgba(4, 8, 18, .45); }
.apt-scover--raster .apt-scover__note { background: rgba(4, 8, 18, .62); }
