/*
 * Classifieds list page — scoped under .hy-classifieds-page only.
 * High-fidelity port of the confirmed prototype
 * (outputs/huangye-classifieds-prototype/index.html + styles.css).
 * Per project brief, the prototype is the sole visual standard: spacing,
 * radius, typography, colors and responsive rules are carried over with
 * their exact values (prefixed --hyc-* tokens below mirror the prototype's
 * :root), not re-approximated onto neighbouring theme tokens.
 *
 * Loaded only on the classifieds list page (see
 * Hy_Classifieds_List_Page::maybe_enqueue_assets()), never site-wide.
 */

.hy-classifieds-page {
	--hyc-red: #176fd6;
	--hyc-red-dark: #0d57b6;
	--hyc-red-soft: #eef5ff;
	--hyc-ink: #20242b;
	--hyc-muted: #68717d;
	--hyc-line: #e6e8eb;
	--hyc-canvas: #f6f7f8;
	--hyc-radius: 14px;
	--hyc-radius-sm: 9px;

	background: var(--hyc-canvas);
	color: var(--hyc-ink);
	font-size: 15px;
	line-height: 1.6;
}
.hy-classifieds-page * { box-sizing: border-box; }
.hy-classifieds-page a { color: inherit; text-decoration: none; }
.hy-classifieds-page button { font: inherit; color: inherit; }
/* The template marks the section title and the search field label as
   .sr-only, but no stylesheet on this page defines that utility, so both
   strings used to render as visible text. */
.hy-classifieds-page .sr-only {
	position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%);
	white-space: nowrap; border: 0;
}

/* ---------- Hero（模板 .hero：全宽蓝色渐变 + 巴黎街景底图） ---------- */
.hy-classifieds-page .hyc-hero {
	position: relative;
	overflow: hidden;
	color: #fff;
	background: linear-gradient(90deg, rgba(20,49,85,.93) 0%, rgba(24,77,132,.82) 52%, rgba(18,62,108,.42) 100%),
		url("https://images.unsplash.com/photo-1502602898657-3e91760cbb34?auto=format&fit=crop&w=1800&q=78") center 46% / cover;
}
.hy-classifieds-page .hyc-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: .18;
	background: radial-gradient(circle at 14% 20%, #fff 0 2px, transparent 3px), radial-gradient(circle at 82% 62%, #fff 0 1px, transparent 2px);
	background-size: 86px 86px, 50px 50px;
}
.hy-classifieds-page .hyc-hero-pattern {
	position: absolute;
	right: 7%;
	bottom: -44px;
	width: 290px;
	height: 210px;
	border: 14px solid rgba(255,255,255,.09);
	border-bottom: 0;
	border-radius: 160px 160px 0 0;
	transform: skewX(-7deg);
}
.hy-classifieds-page .hyc-hero-pattern::before,
.hy-classifieds-page .hyc-hero-pattern::after {
	content: "";
	position: absolute;
	bottom: 0;
	width: 14px;
	height: 160px;
	background: rgba(255,255,255,.09);
}
.hy-classifieds-page .hyc-hero-pattern::before { left: 78px; transform: rotate(15deg); }
.hy-classifieds-page .hyc-hero-pattern::after { right: 78px; transform: rotate(-15deg); }
.hy-classifieds-page .hyc-hero-inner { position: relative; padding: 48px 0 42px; }
.hy-classifieds-page .hyc-breadcrumb { margin: 0 0 10px; display: flex; gap: 9px; font-size: 13px; color: #fff; opacity: .82; }
.hy-classifieds-page .hyc-hero h1 { margin: 0; font-size: clamp(30px, 3vw, 42px); line-height: 1.22; letter-spacing: -.8px; color: #fff; }
.hy-classifieds-page .hyc-hero-copy > p:last-child { margin: 9px 0 23px; color: rgba(255,255,255,.87); font-size: 16px; }
.hy-classifieds-page .hyc-search {
	width: min(720px, 100%); height: 58px; display: flex; align-items: center; gap: 14px;
	padding: 5px 5px 5px 20px; color: var(--hyc-muted); background: #fff;
	border: 0; border-radius: var(--hyc-radius); box-shadow: 0 14px 34px rgba(10,35,63,.24);
}
.hy-classifieds-page .hyc-search .icon { width: 16px; height: 16px; flex: 0 0 auto; color: var(--hyc-muted); }
.hy-classifieds-page .hyc-search input { min-width: 0; flex: 1; height: 100%; border: 0; outline: 0; color: var(--hyc-ink); background: transparent; font-size: 15px; }
.hy-classifieds-page .hyc-search input::placeholder { color: #979da5; }
.hy-classifieds-page .hyc-search:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.26), 0 14px 34px rgba(10,35,63,.24); }
.hy-classifieds-page .hyc-search button { height: 46px; min-width: 92px; border: 0; border-radius: var(--hyc-radius-sm); background: var(--hyc-red); color: #fff; cursor: pointer; font-weight: 700; }
.hy-classifieds-page .hyc-search button:active { transform: translateY(1px); }
.hy-classifieds-page .hyc-trending { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; font-size: 13px; color: #fff; }
.hy-classifieds-page .hyc-trending > span { opacity: .78; }
.hy-classifieds-page .hyc-trending a { border: 1px solid rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.12); border-radius: 999px; padding: 3px 11px; }
.hy-classifieds-page .hyc-trending a:hover { background: rgba(255,255,255,.24); }

/* ---------- Category strip（模板 .category-strip：8 格、字符图标） ---------- */
.hy-classifieds-page .hyc-category-strip { background: #fff; border-bottom: 1px solid var(--hyc-line); }
.hy-classifieds-page .hyc-category-grid { min-height: 126px; display: grid; grid-template-columns: repeat(8, 1fr); align-items: stretch; }
.hy-classifieds-page .hyc-category {
	border: 0; border-right: 1px solid #f0f1f2; background: transparent;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 8px; padding: 17px 8px; transition: background .18s ease;
}
.hy-classifieds-page .hyc-category:first-child { border-left: 1px solid #f0f1f2; }
.hy-classifieds-page .hyc-category:hover, .hy-classifieds-page .hyc-category.is-active { background: var(--hyc-red-soft); }
.hy-classifieds-page .hyc-category-icon {
	width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
	background: #eef5ff; color: var(--hyc-red-dark); font-weight: 800; font-size: 15px;
	box-shadow: inset 0 0 0 1px #d9e8fb;
}
.hy-classifieds-page .hyc-category:nth-child(3n) .hyc-category-icon { background: #eef4ff; color: #3565a8; box-shadow: inset 0 0 0 1px #d9e6fb; }
.hy-classifieds-page .hyc-category:nth-child(4n) .hyc-category-icon { background: #eff8f1; color: #397a49; box-shadow: inset 0 0 0 1px #d9eddc; }
.hy-classifieds-page .hyc-category > span:last-child { display: flex; flex-direction: column; line-height: 1.35; text-align: center; }
.hy-classifieds-page .hyc-category strong { font-size: 14px; }
.hy-classifieds-page .hyc-category small { margin-top: 3px; color: #9298a0; font-size: 11px; }

/* ---------- Region bar ---------- */
.hy-classifieds-page .hyc-region-bar { background: #fff; border-bottom: 1px solid var(--hyc-line); }
.hy-classifieds-page .hyc-region-scroll { min-height: 57px; display: flex; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.hy-classifieds-page .hyc-region-scroll::-webkit-scrollbar { display: none; }
.hy-classifieds-page .hyc-region-label { margin-right: 6px; color: var(--hyc-muted); font-size: 13px; white-space: nowrap; }
.hy-classifieds-page .hyc-region-scroll a { padding: 6px 13px; border-radius: 999px; white-space: nowrap; }
.hy-classifieds-page .hyc-region-scroll a:hover, .hy-classifieds-page .hyc-region-scroll a.is-active { color: var(--hyc-red-dark); background: var(--hyc-red-soft); font-weight: 700; }

/* ---------- Mobile toolbar (hidden on desktop) ---------- */
.hy-classifieds-page .hyc-mobile-toolbar { display: none; }
.hy-classifieds-page .hyc-filter-trigger { border: 1px solid var(--hyc-line); background: #fff; border-radius: var(--hyc-radius-sm); padding: 8px 11px; cursor: pointer; display: inline-flex; align-items: center; font-size: 14px; }
.hy-classifieds-page .hyc-filter-trigger .icon { width: 15px; height: 15px; margin-right: 6px; }
.hy-classifieds-page .hyc-filter-trigger b { min-width: 18px; height: 18px; display: inline-grid; place-items: center; margin-left: 3px; border-radius: 50%; background: var(--hyc-red); color: #fff; font-size: 10px; }
.hy-classifieds-page .hyc-mobile-sort { color: var(--hyc-muted); font-size: 13px; }

/* ---------- Content layout ---------- */
.hy-classifieds-page .hyc-content-layout { display: grid; grid-template-columns: 218px minmax(0,1fr) 252px; gap: 22px; align-items: start; padding-block: 32px 64px; }
.hy-classifieds-page .hyc-filter-panel,
.hy-classifieds-page .hyc-right-rail > section,
.hy-classifieds-page .hyc-listing-column { background: #fff; border: 1px solid var(--hyc-line); border-radius: var(--hyc-radius); }
.hy-classifieds-page .hyc-filter-panel { padding: 19px 18px 8px; position: sticky; top: 94px; }
.hy-classifieds-page .hyc-filter-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.hy-classifieds-page .hyc-filter-heading h2 { margin: 0; font-size: 17px; line-height: 1.35; }
.hy-classifieds-page .hyc-filter-heading a { color: var(--hyc-muted); font-size: 12px; }
.hy-classifieds-page .hyc-filter-heading a:hover { color: var(--hyc-red-dark); }
.hy-classifieds-page .hyc-filter-panel fieldset { border: 0; border-top: 1px solid var(--hyc-line); padding: 17px 0 13px; margin: 0; }
.hy-classifieds-page .hyc-filter-panel legend { padding: 0; margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.hy-classifieds-page .hyc-filter-panel label { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 7px; min-height: 34px; cursor: pointer; color: #4f5761; }
.hy-classifieds-page .hyc-filter-panel label:hover { color: var(--hyc-ink); }
.hy-classifieds-page .hyc-filter-panel input { accent-color: var(--hyc-red); width: 15px; height: 15px; margin: 0; }
.hy-classifieds-page .hyc-filter-panel small { color: #a1a6ad; font-size: 11px; }
.hy-classifieds-page .hyc-apply-filters,
.hy-classifieds-page .hyc-filter-mobile-head,
.hy-classifieds-page .hyc-drawer-backdrop { display: none; }

/* ---------- Listing column ---------- */
.hy-classifieds-page .hyc-listing-column { min-width: 0; overflow: hidden; }
.hy-classifieds-page .hyc-listing-head { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; border-bottom: 1px solid var(--hyc-line); }
.hy-classifieds-page .hyc-listing-head h2 { margin: 0; font-size: 17px; line-height: 1.35; }
.hy-classifieds-page .hyc-listing-head p { margin: 3px 0 0; color: var(--hyc-muted); font-size: 12px; }
.hy-classifieds-page .hyc-listing-head p strong { color: var(--hyc-red-dark); }
.hy-classifieds-page .hyc-desktop-sort { color: var(--hyc-muted); font-size: 12px; }
.hy-classifieds-page .hyc-active-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 20px; border-bottom: 1px solid var(--hyc-line); }
.hy-classifieds-page .hyc-active-filters a { border: 1px solid #cfe2fa; background: var(--hyc-red-soft); color: var(--hyc-red-dark); border-radius: 999px; padding: 4px 10px; font-size: 12px; }

.hy-classifieds-page .hyc-listing-card { display: grid; grid-template-columns: 166px minmax(0,1fr); gap: 18px; padding: 19px 20px; border-bottom: 1px solid var(--hyc-line); transition: background .18s ease; }
.hy-classifieds-page .hyc-listing-card:hover { background: #fffdfc; }
.hy-classifieds-page .hyc-listing-card.no-photo { grid-template-columns: 1fr; padding-left: 28px; }
.hy-classifieds-page .hyc-listing-photo { position: relative; display: block; min-height: 126px; border-radius: var(--hyc-radius-sm); overflow: hidden; background-color: #d9dde1; }
.hy-classifieds-page .hyc-listing-photo img { width: 100%; height: 100%; min-height: 126px; object-fit: cover; display: block; }
.hy-classifieds-page .hyc-photo-count { position: absolute; right: 8px; bottom: 8px; padding: 2px 7px; color: #fff; background: rgba(28,31,35,.72); border-radius: 6px; font-size: 10px; line-height: 1.6; }
.hy-classifieds-page .hyc-listing-body { min-width: 0; display: flex; flex-direction: column; }
.hy-classifieds-page .hyc-listing-meta-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.hy-classifieds-page .hyc-type-badge { display: inline-flex; color: var(--hyc-red-dark); background: var(--hyc-red-soft); padding: 2px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; }
.hy-classifieds-page .hyc-listing-meta-top time { color: #9a9fa6; font-size: 11px; }
.hy-classifieds-page .hyc-listing-card h3 { margin: 0; font-size: 17px; line-height: 1.45; letter-spacing: -.1px; }
.hy-classifieds-page .hyc-listing-card h3 a:hover { color: var(--hyc-red-dark); }
.hy-classifieds-page .hyc-listing-card p { margin: 5px 0 11px; color: var(--hyc-muted); font-size: 13px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hy-classifieds-page .hyc-listing-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hy-classifieds-page .hyc-location { color: #858c95; font-size: 12px; }
.hy-classifieds-page .hyc-location::before { content: "地点 "; color: #afb3b9; }
.hy-classifieds-page .hyc-listing-bottom strong { color: var(--hyc-red-dark); font-size: 14px; }

.hy-classifieds-page .hyc-pagination { min-height: 78px; display: flex; justify-content: center; align-items: center; gap: 7px; flex-wrap: wrap; }
.hy-classifieds-page .hyc-pagination .page-numbers { min-width: 34px; height: 34px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hyc-line); background: #fff; border-radius: 8px; }
.hy-classifieds-page .hyc-pagination .page-numbers:hover:not(.dots),
.hy-classifieds-page .hyc-pagination .page-numbers.current { background: var(--hyc-red); border-color: var(--hyc-red); color: #fff; }
.hy-classifieds-page .hyc-pagination .page-numbers.dots { border: 0; background: transparent; }

.hy-classifieds-page .hyc-empty-state { padding: 74px 20px; text-align: center; }
.hy-classifieds-page .hyc-empty-state > span { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto; border-radius: 18px; background: var(--hyc-red-soft); color: var(--hyc-red-dark); }
.hy-classifieds-page .hyc-empty-state > span .icon { width: 24px; height: 24px; }
.hy-classifieds-page .hyc-empty-state h3 { margin: 15px 0 3px; }
.hy-classifieds-page .hyc-empty-state p { margin: 0 0 15px; color: var(--hyc-muted); }
.hy-classifieds-page .hyc-empty-reset { display: inline-block; border: 1px solid var(--hyc-line); background: #fff; border-radius: 8px; padding: 8px 14px; }

/* ---------- Right rail ---------- */
.hy-classifieds-page .hyc-right-rail { display: grid; gap: 17px; }
.hy-classifieds-page .hyc-right-rail > section { padding: 20px; }
.hy-classifieds-page .hyc-publish-card { color: #fff; background: linear-gradient(145deg, #0f5ebd, #2580e8) !important; border: 0 !important; box-shadow: 0 12px 28px rgba(23,111,214,.2); }
.hy-classifieds-page .hyc-publish-symbol { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; font-size: 25px; line-height: 1; }
.hy-classifieds-page .hyc-publish-card h2 { margin: 13px 0 0; font-size: 20px; color: #fff; }
.hy-classifieds-page .hyc-publish-card p { margin: 6px 0 17px; color: rgba(255,255,255,.82); font-size: 13px; }
.hy-classifieds-page .hyc-publish-card > a { display: grid; place-items: center; min-height: 43px; border-radius: var(--hyc-radius-sm); background: #fff; color: var(--hyc-red-dark); font-weight: 800; }
.hy-classifieds-page .hyc-publish-card > a:active { transform: translateY(1px); }
.hy-classifieds-page .hyc-publish-card small { display: block; text-align: center; margin-top: 9px; color: rgba(255,255,255,.7); }
.hy-classifieds-page .hyc-safety-card h2 { display: flex; align-items: center; margin: 0; font-size: 17px; }
.hy-classifieds-page .hyc-safety-card h2 span { width: 22px; height: 22px; display: inline-grid; place-items: center; margin-right: 5px; border-radius: 50%; background: #fff2db; color: #a96713; font-size: 13px; }
.hy-classifieds-page .hyc-safety-card ul { margin: 13px 0 11px; padding: 0 0 0 18px; color: var(--hyc-muted); font-size: 12px; }
.hy-classifieds-page .hyc-safety-card li { margin-block: 7px; }
.hy-classifieds-page .hyc-safety-card a { color: var(--hyc-red-dark); font-size: 12px; font-weight: 700; }
.hy-classifieds-page .hyc-rail-title { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--hyc-line); }
.hy-classifieds-page .hyc-rail-title h2 { margin: 0; font-size: 17px; }
.hy-classifieds-page .hyc-rail-title > a { color: var(--hyc-muted); font-size: 11px; }
.hy-classifieds-page .hyc-popular-card > a { min-height: 41px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f2f3; font-size: 13px; }
.hy-classifieds-page .hyc-popular-card > a:last-child { border-bottom: 0; }
.hy-classifieds-page .hyc-popular-card a:hover span { color: var(--hyc-red-dark); }
.hy-classifieds-page .hyc-popular-card small { color: #a0a5ac; }

/* ==========================================================================
   Responsive — breakpoints mirror the prototype (1050 / 760 / 390)
   ========================================================================== */
@media (max-width: 1050px) {
	.hy-classifieds-page .hyc-content-layout { grid-template-columns: 210px minmax(0,1fr); }
	.hy-classifieds-page .hyc-right-rail { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
	.hy-classifieds-page .hyc-category-grid { grid-template-columns: repeat(4, 1fr); }
	.hy-classifieds-page .hyc-category { border-bottom: 1px solid #f0f1f2; }
}

@media (max-width: 760px) {
	.hy-classifieds-page .hyc-hero-inner { padding: 28px 0 29px; }
	.hy-classifieds-page .hyc-breadcrumb { margin-bottom: 8px; }
	.hy-classifieds-page .hyc-hero h1 { font-size: 28px; }
	.hy-classifieds-page .hyc-hero-copy > p:last-child { margin: 8px 0 20px; font-size: 14px; line-height: 1.7; }
	.hy-classifieds-page .hyc-hero-pattern { right: -100px; opacity: .7; }
	.hy-classifieds-page .hyc-search { height: 54px; padding-left: 15px; gap: 10px; }
	.hy-classifieds-page .hyc-search button { min-width: 68px; height: 44px; }
	.hy-classifieds-page .hyc-search input { font-size: 14px; }
	.hy-classifieds-page .hyc-trending { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
	.hy-classifieds-page .hyc-trending::-webkit-scrollbar { display: none; }
	.hy-classifieds-page .hyc-trending a { flex: 0 0 auto; }

	.hy-classifieds-page .hyc-category-strip .container { width: 100%; padding-inline: 14px; }
	.hy-classifieds-page .hyc-category-grid { min-height: 0; grid-template-columns: repeat(4, 1fr); }
	.hy-classifieds-page .hyc-category { min-width: 0; min-height: 104px; padding: 13px 3px; }
	.hy-classifieds-page .hyc-category:first-child { border-left: 1px solid #f0f1f2; }
	.hy-classifieds-page .hyc-category:nth-child(4n) { border-right: 1px solid #f0f1f2; }
	.hy-classifieds-page .hyc-category-icon { width: 34px; height: 34px; border-radius: 10px; }
	.hy-classifieds-page .hyc-category strong { font-size: 12px; }
	.hy-classifieds-page .hyc-category small { font-size: 9px; }

	.hy-classifieds-page .hyc-region-bar .container { width: 100%; padding-inline: 14px; }
	.hy-classifieds-page .hyc-region-scroll { min-height: 54px; }

	.hy-classifieds-page .hyc-mobile-toolbar { min-height: 66px; display: flex; align-items: center; justify-content: space-between; }
	.hy-classifieds-page .hyc-content-layout { width: 100%; display: block; padding: 0 0 42px; }

	.hy-classifieds-page .hyc-filter-panel {
		position: fixed; z-index: 1300; inset: 0 0 0 auto; width: min(330px, 88vw);
		border-radius: 0; border: 0; padding: 0 19px 16px; overflow-y: auto;
		transform: translateX(105%); transition: transform .25s ease;
	}
	.hy-classifieds-page .hyc-filter-panel.is-open { transform: translateX(0); }
	.hy-classifieds-page .hyc-filter-mobile-head { min-height: 62px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--hyc-line); }
	.hy-classifieds-page .hyc-filter-mobile-head strong { font-size: 17px; }
	.hy-classifieds-page .hyc-filter-close { width: 38px; height: 38px; border: 0; background: transparent; cursor: pointer; font-size: 26px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
	.hy-classifieds-page .hyc-filter-heading { margin-top: 14px; }
	.hy-classifieds-page .hyc-filter-heading h2 { display: none; }
	.hy-classifieds-page .hyc-apply-filters { display: block; width: 100%; min-height: 46px; border: 0; border-radius: var(--hyc-radius-sm); background: var(--hyc-red); color: #fff; font-weight: 800; margin-top: 4px; }
	.hy-classifieds-page .hyc-apply-filters:active { transform: translateY(1px); }
	.hy-classifieds-page .hyc-drawer-backdrop { display: block; position: fixed; z-index: 1250; inset: 0; background: rgba(24,27,32,.45); opacity: 0; pointer-events: none; transition: opacity .2s; }
	.hy-classifieds-page .hyc-drawer-backdrop.is-visible { opacity: 1; pointer-events: auto; }

	.hy-classifieds-page .hyc-listing-column { border-left: 0; border-right: 0; border-radius: 0; }
	.hy-classifieds-page .hyc-listing-head { min-height: 68px; padding-inline: 14px; }
	.hy-classifieds-page .hyc-desktop-sort { display: none; }
	.hy-classifieds-page .hyc-active-filters { padding-inline: 14px; }

	.hy-classifieds-page .hyc-listing-card { grid-template-columns: 118px minmax(0,1fr); gap: 13px; padding: 15px 14px; }
	.hy-classifieds-page .hyc-listing-photo { min-height: 110px; }
	.hy-classifieds-page .hyc-listing-photo img { min-height: 110px; }
	.hy-classifieds-page .hyc-listing-card h3 { font-size: 15px; line-height: 1.45; }
	.hy-classifieds-page .hyc-listing-card p { -webkit-line-clamp: 1; font-size: 12px; margin-block: 4px 7px; }
	.hy-classifieds-page .hyc-listing-meta-top { margin-bottom: 4px; }
	.hy-classifieds-page .hyc-location::before { content: ""; }
	.hy-classifieds-page .hyc-listing-bottom strong { font-size: 13px; }
	.hy-classifieds-page .hyc-listing-card.no-photo { padding-left: 14px; }

	.hy-classifieds-page .hyc-right-rail { padding: 20px 14px 0; grid-template-columns: 1fr; }
	.hy-classifieds-page .hyc-right-rail > section { padding: 19px; }
	.hy-classifieds-page .hyc-pagination { min-height: 70px; }
}

@media (max-width: 390px) {
	.hy-classifieds-page .hyc-listing-card { grid-template-columns: 106px minmax(0,1fr); gap: 11px; }
	.hy-classifieds-page .hyc-listing-photo { min-height: 104px; }
	.hy-classifieds-page .hyc-listing-photo img { min-height: 104px; }
	.hy-classifieds-page .hyc-listing-card p { display: none; }
	.hy-classifieds-page .hyc-listing-bottom { margin-top: 8px; }
	.hy-classifieds-page .hyc-location { max-width: 95px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
	.hy-classifieds-page * { transition-duration: .01ms !important; }
}
