/* ==========================================================================
   Design A — "Modern Search First"  (preview-only)
   ISOLATION: every selector starts with .hd-a  (or .dark .hd-a for dark mode).
   Nothing here touches Classic, app-layout, or Designs B/C/D.
   No Tailwind dependency: this file is fully self-contained.
   ========================================================================== */

.hd-a {
  --a-pink: #ff05b6;
  --a-pink-2: #d90099;
  --a-purple: #7c3aed;
  --a-ink: #14183a;
  --a-muted: #6b7090;
  --a-line: #ececf6;
  --a-card: #ffffff;
  --a-soft: #fff0fa;
  --a-shadow: 0 6px 22px rgba(30, 20, 80, .07);
  --a-shadow-lg: 0 14px 38px rgba(30, 20, 80, .13);
  --a-radius: 16px;
  color: var(--a-ink);
  font-family: 'Plus Jakarta Sans', 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.4;
  padding-bottom: 56px;
  overflow-x: clip;
}
.dark .hd-a {
  --a-ink: #f3f1fb;
  --a-muted: #a7a3c4;
  --a-line: #2a2540;
  --a-card: #17131a;
  --a-soft: #2a1426;
  --a-shadow: 0 6px 22px rgba(0, 0, 0, .35);
  --a-shadow-lg: 0 14px 38px rgba(0, 0, 0, .5);
}
.hd-a *, .hd-a *::before, .hd-a *::after { box-sizing: border-box; }
.hd-a a { color: inherit; text-decoration: none; }
.hd-a img { max-width: 100%; display: block; }
.hd-a h1, .hd-a h2, .hd-a h3, .hd-a p { margin: 0; }
.hd-a svg { flex-shrink: 0; }

.hd-a .hd-a__wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.hd-a .hd-a__section { margin-top: 28px; }

/* ---------- Design A Navigation Architecture ---------- */
/* 0. Suppress old global header & mobile drawer ONLY when Design A (.hd-a) is present */
html:has(.hd-a),
body:has(.hd-a) {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}
body:has(.hd-a) > nav.sticky.top-0,
body:has(.hd-a) > .mobile-drawer-card,
body:has(.hd-a) > [x-show="mobileMenuOpen"] {
  display: none !important;
}

/* 1. Level 1: Pink Brand Header */
.hd-a .hd-a__nav-top {
  background: linear-gradient(135deg, #FF05B6 0%, #c20087 100%);
  color: #ffffff;
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(255, 5, 182, 0.25);
  position: relative;
  z-index: 40;
}
.hd-a .hd-a__nav-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.hd-a .hd-a__nav-brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hd-a .hd-a__nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.hd-a .hd-a__nav-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.22);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hd-a .hd-a__nav-loc-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.hd-a .hd-a__nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hd-a .hd-a__nav-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  text-decoration: none;
  transition: background 0.15s;
}
.hd-a .hd-a__nav-login-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}
.hd-a .hd-a__nav-post-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff !important;
  color: #FF05B6 !important;
  font-size: 11px;
  font-weight: 900;
  padding: 7px 16px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s, box-shadow 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hd-a .hd-a__nav-post-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.hd-a .hd-a__post-text-short { display: none; }
.hd-a .hd-a__post-text-full { display: inline; }

/* 2. Level 2: White Secondary Navigation Bar */
.hd-a .hd-a__nav-sub {
  background: #ffffff;
  border-bottom: 1px solid #ececf6;
  box-shadow: 0 2px 8px rgba(20, 24, 58, 0.05);
  position: relative;
  z-index: 35;
}
.dark .hd-a .hd-a__nav-sub {
  background: #17131a;
  border-bottom-color: #2a2540;
}
.hd-a .hd-a__nav-sub-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}
.hd-a .hd-a__nav-sub-inner::-webkit-scrollbar {
  display: none;
}
.hd-a .hd-a__nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #4b5275;
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.dark .hd-a .hd-a__nav-link {
  color: #a7a3c4;
}
.hd-a .hd-a__nav-link:hover {
  color: #FF05B6;
  background: #fff0fa;
}
.dark .hd-a .hd-a__nav-link:hover {
  color: #FF05B6;
  background: #2a1426;
}
.hd-a .hd-a__nav-link.is-active {
  color: #FF05B6 !important;
  font-weight: 900;
  background: #fff0fa;
  border-bottom: 2px solid #FF05B6;
}
.dark .hd-a .hd-a__nav-link.is-active {
  background: #2a1426;
  border-bottom-color: #FF05B6;
}
.hd-a .hd-a__nav-link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ---------- Hero ---------- */
.hd-a .hd-a__hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, #ffffff 0%, #fdeefa 32%, #e3f2ff 66%, #bfe3ff 100%);
  border-bottom: 1px solid var(--a-line);
}
.dark .hd-a .hd-a__hero {
  background: linear-gradient(100deg, #17131a 0%, #231334 40%, #1a2646 100%);
}
.hd-a .hd-a__hero-art {
  position: absolute; top: 0; right: 0; bottom: 0; width: 52%;
  pointer-events: none; opacity: .95;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%);
}
.hd-a .hd-a__hero-art svg { width: 100%; height: 100%; }
.hd-a .hd-a__hero-inner { position: relative; z-index: 2; padding-top: 26px; padding-bottom: 34px; }
.hd-a .hd-a__post {
  display: inline-flex; align-items: center; gap: 6px; float: right;
  padding: 8px 16px; border-radius: 999px; font-size: 12px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--a-pink), var(--a-pink-2));
  box-shadow: 0 6px 16px rgba(255, 5, 182, .32); transition: transform .15s;
}
.hd-a .hd-a__post:hover { transform: translateY(-1px); }
.hd-a .hd-a__hero-copy { clear: both; max-width: 640px; padding-top: 6px; }
.hd-a .hd-a__welcome { font-size: 26px; font-weight: 800; color: var(--a-ink); letter-spacing: -.01em; }
.hd-a .hd-a__brand {
  font-size: clamp(42px, 7vw, 68px); font-weight: 900; line-height: 1.02; letter-spacing: -.03em;
  background: linear-gradient(90deg, #ff05b6 0%, #c026d3 55%, #7c3aed 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.hd-a .hd-a__tag { margin-top: 10px; font-size: 18px; font-weight: 800; color: var(--a-ink); }
.hd-a .hd-a__sub { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--a-muted); }

/* ---------- Search ---------- */
.hd-a .hd-a__searchbox { position: relative; margin-top: 20px; max-width: 760px; z-index: 5; }
.hd-a .hd-a__search {
  display: flex; align-items: center; gap: 0;
  background: var(--a-card); border: 1px solid var(--a-line); border-radius: 999px;
  padding: 6px; box-shadow: var(--a-shadow-lg);
}
.hd-a .hd-a__search-type { flex: 0 0 auto; border-right: 1px solid var(--a-line); padding: 0 8px 0 14px; }
.hd-a .hd-a__search-type select {
  appearance: none; -webkit-appearance: none; background: transparent; border: 0; outline: 0;
  font: inherit; font-size: 12px; font-weight: 800; color: var(--a-ink); cursor: pointer; padding-right: 4px;
}
.hd-a .hd-a__search-type select option { color: #14183a; background: #fff; }
.hd-a .hd-a__search-input { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--a-muted); }
.hd-a .hd-a__search-input input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit;
  font-size: 14px; font-weight: 600; color: var(--a-ink); padding: 11px 0;
}
.hd-a .hd-a__search-input input::placeholder { color: var(--a-muted); opacity: .85; }
.hd-a .hd-a__search-loc {
  flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 0 16px;
  border-left: 1px solid var(--a-line); font-size: 13px; font-weight: 800; color: var(--a-ink);
}
.hd-a .hd-a__search-loc svg { color: var(--a-pink); }
.hd-a .hd-a__search-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0;
  padding: 12px 26px; border-radius: 999px; font: inherit; font-size: 13px; font-weight: 800;
  color: #fff; background: linear-gradient(135deg, var(--a-pink), var(--a-pink-2));
  box-shadow: 0 6px 16px rgba(255, 5, 182, .35); transition: transform .15s;
}
.hd-a .hd-a__search-btn:hover { transform: scale(1.03); }
.hd-a .hd-a__suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--a-card);
  border: 1px solid var(--a-line); border-radius: 16px; box-shadow: var(--a-shadow-lg);
  max-height: 320px; overflow-y: auto; z-index: 50;
}
.hd-a .hd-a__suggest-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--a-line); }
.hd-a .hd-a__suggest-item:last-child { border-bottom: 0; }
.hd-a .hd-a__suggest-item.is-active, .hd-a .hd-a__suggest-item:hover { background: var(--a-soft); }
.hd-a .hd-a__suggest-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hd-a .hd-a__suggest-title { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__suggest-sub { font-size: 11px; color: var(--a-muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__suggest-type { font-size: 9px; font-weight: 900; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--a-soft); color: var(--a-pink); }
.hd-a .hd-a__suggest-empty { padding: 16px; text-align: center; font-size: 12px; font-weight: 700; color: var(--a-muted); }

/* ---------- Category tiles ---------- */
.hd-a .hd-a__cats { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.hd-a .hd-a__cat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px;
  padding: 14px 6px 12px; background: var(--a-card); border: 1px solid var(--a-line);
  border-radius: var(--a-radius); box-shadow: var(--a-shadow); transition: transform .18s, box-shadow .18s;
}
.hd-a .hd-a__cat:hover { transform: translateY(-3px); box-shadow: var(--a-shadow-lg); }
.hd-a .hd-a__cat-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; }
.hd-a .hd-a__cat-name { font-size: 12px; font-weight: 800; line-height: 1.15; }
.hd-a .hd-a__cat-sub { font-size: 10px; font-weight: 600; color: var(--a-muted); margin-top: -4px; }
.hd-a .hd-a__cat-ico.t-blue { background: #e3efff; color: #2563eb; }
.hd-a .hd-a__cat-ico.t-green { background: #dcf7e7; color: #16a34a; }
.hd-a .hd-a__cat-ico.t-orange { background: #ffeadb; color: #ea6a0a; }
.hd-a .hd-a__cat-ico.t-purple { background: #eee5ff; color: #7c3aed; }
.hd-a .hd-a__cat-ico.t-pink { background: #ffe1f3; color: #e11d8f; }
.hd-a .hd-a__cat-ico.t-cyan { background: #dcf3ff; color: #0284c7; }
.hd-a .hd-a__cat-ico.t-violet { background: #ebe7ff; color: #5b4bd6; }
.hd-a .hd-a__cat-ico.t-lime { background: #e8f8d6; color: #4d9a12; }
.hd-a .hd-a__cat-ico.t-rose { background: #ffe0e8; color: #e0305a; }

/* ---------- Breaking news ---------- */
.hd-a .hd-a__news {
  display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 8px 14px 8px 8px;
  border: 1px solid #ffd1f0; background: var(--a-soft); border-radius: 12px;
}
.dark .hd-a .hd-a__news { border-color: #4a2342; }
.hd-a .hd-a__news-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 8px;
  font-size: 11px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--a-pink), var(--a-pink-2));
}
.hd-a .hd-a__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: hd-a-pulse 1.4s infinite; }
@keyframes hd-a-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.hd-a .hd-a__news-text { flex: 1; min-width: 0; font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__news-link { flex: 0 0 auto; font-size: 12px; font-weight: 800; color: var(--a-pink); }

/* ---------- Promo banner ---------- */
.hd-a .hd-a__promo {
  position: relative; overflow: hidden; display: flex; align-items: center; gap: 20px;
  margin-top: 18px; padding: 22px 26px; border-radius: 18px; color: #fff;
  background: linear-gradient(110deg, #0b1635 0%, #1a1d5c 52%, #3b1370 100%); box-shadow: var(--a-shadow-lg);
}
.hd-a .hd-a__promo-glow { position: absolute; border-radius: 50%; filter: blur(46px); pointer-events: none; }
.hd-a .hd-a__promo-glow.g1 { width: 220px; height: 220px; right: 8%; top: -80px; background: rgba(255, 5, 182, .35); }
.hd-a .hd-a__promo-glow.g2 { width: 200px; height: 200px; left: 26%; bottom: -90px; background: rgba(56, 130, 246, .3); }
.hd-a .hd-a__promo-media {
  position: absolute; top: 0; right: 0; bottom: 0; width: 38%; background-size: cover; background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); opacity: .55;
}
.hd-a .hd-a__promo-badge {
  position: relative; z-index: 2; flex: 0 0 auto; width: 92px; height: 92px; border-radius: 22px; display: grid; place-items: center; text-align: center;
  background: linear-gradient(145deg, #ffd23f, #ff7a1a 55%, #ff05b6); transform: rotate(-6deg);
  box-shadow: 0 10px 24px rgba(255, 90, 40, .45); color: #fff;
}
.hd-a .hd-a__promo-badge span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.hd-a .hd-a__promo-body { position: relative; z-index: 2; flex: 1; min-width: 0; }
.hd-a .hd-a__promo-title { font-size: 26px; font-weight: 900; letter-spacing: -.01em; line-height: 1.15; }
.hd-a .hd-a__promo-sub { margin-top: 5px; font-size: 13px; font-weight: 600; color: #cdd3f5; }
.hd-a .hd-a__btn {
  position: relative; z-index: 2; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 12px; font-size: 13px; font-weight: 800; color: #fff; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--a-pink), var(--a-pink-2)); box-shadow: 0 8px 18px rgba(255, 5, 182, .35);
  transition: transform .15s;
}
.hd-a .hd-a__btn:hover { transform: translateY(-2px); }

/* ---------- Section heading ---------- */
.hd-a .hd-a__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hd-a .hd-a__title { font-size: 20px; font-weight: 900; letter-spacing: -.01em; }
.hd-a .hd-a__viewall { font-size: 12px; font-weight: 800; color: var(--a-pink); white-space: nowrap; }
.hd-a .hd-a__viewall:hover { text-decoration: underline; }

/* ---------- Featured businesses ---------- */
.hd-a .hd-a__biz-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hd-a .hd-a__biz {
  display: flex; flex-direction: column; background: var(--a-card); border: 1px solid var(--a-line);
  border-radius: 18px; overflow: hidden; box-shadow: var(--a-shadow); transition: transform .18s, box-shadow .18s;
}
.hd-a .hd-a__biz:hover { transform: translateY(-4px); box-shadow: var(--a-shadow-lg); }
.hd-a .hd-a__biz-img {
  position: relative; height: 168px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #ffe1f3, #e4e9ff);
}
.hd-a .hd-a__biz-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hd-a .hd-a__biz-initial { font-size: 44px; font-weight: 900; color: rgba(124, 58, 237, .35); }
.hd-a .hd-a__chip {
  position: absolute; top: 10px; left: 10px; z-index: 2; font-size: 10px; font-weight: 900; padding: 4px 10px;
  border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--a-pink), var(--a-pink-2)); text-transform: uppercase; letter-spacing: .03em;
}
.hd-a .hd-a__chip.is-ok { left: auto; right: 10px; background: #16a34a; }
.hd-a .hd-a__biz-body { padding: 14px 16px 16px; }
.hd-a .hd-a__biz-name { font-size: 15px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__biz-cat { margin-top: 2px; font-size: 11px; font-weight: 700; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__rate { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; font-weight: 800; }
.hd-a .hd-a__rate svg { color: #f5a623; }
.hd-a .hd-a__rate small { color: var(--a-muted); font-weight: 600; font-size: 11px; }
.hd-a .hd-a__loc { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--a-muted); }
.hd-a .hd-a__loc svg { color: var(--a-pink); }

/* ---------- Promote strip ---------- */
.hd-a .hd-a__strip {
  display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: 18px;
  background: linear-gradient(100deg, #fff0fb 0%, #ffe3f6 55%, #fbe8ff 100%); border: 1px solid #ffd1f0;
}
.dark .hd-a .hd-a__strip { background: linear-gradient(100deg, #2a1426, #2f1a3d); border-color: #4a2342; }
.hd-a .hd-a__strip-ico { flex: 0 0 auto; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--a-pink), var(--a-purple)); box-shadow: 0 8px 18px rgba(255, 5, 182, .3); }
.hd-a .hd-a__strip-body { flex: 1; min-width: 0; }
.hd-a .hd-a__strip-title { font-size: 18px; font-weight: 900; color: var(--a-pink); }
.hd-a .hd-a__strip-sub { margin-top: 3px; font-size: 12px; font-weight: 600; color: var(--a-muted); }

/* ---------- Two column rows ---------- */
.hd-a .hd-a__row { display: grid; gap: 22px; align-items: start; }
.hd-a .hd-a__row.r-jobs { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.hd-a .hd-a__row.r-market { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.hd-a .hd-a__panel { background: var(--a-card); border: 1px solid var(--a-line); border-radius: 18px; padding: 16px; box-shadow: var(--a-shadow); }
.hd-a .hd-a__panel .hd-a__head { margin-bottom: 12px; }
.hd-a .hd-a__panel .hd-a__title { font-size: 17px; }

/* jobs */
.hd-a .hd-a__job { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--a-line); }
.hd-a .hd-a__job:last-child { border-bottom: 0; }
.hd-a .hd-a__job-ico { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #ffeadb; color: #ea6a0a; }
.hd-a .hd-a__job-body { flex: 1; min-width: 0; }
.hd-a .hd-a__job-title { font-size: 14px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__job-meta { margin-top: 2px; font-size: 11px; font-weight: 600; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__apply { flex: 0 0 auto; padding: 7px 14px; border-radius: 8px; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--a-pink), var(--a-pink-2)); }

/* property */
.hd-a .hd-a__prop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hd-a .hd-a__prop { display: flex; flex-direction: column; border: 1px solid var(--a-line); border-radius: 14px; overflow: hidden; background: var(--a-card); transition: transform .18s, box-shadow .18s; }
.hd-a .hd-a__prop:hover { transform: translateY(-3px); box-shadow: var(--a-shadow); }
.hd-a .hd-a__prop-img { position: relative; height: 104px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #e0efff, #efe6ff); color: #7c8bd6; }
.hd-a .hd-a__prop-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hd-a .hd-a__prop-tag { position: absolute; left: 8px; top: 8px; z-index: 2; padding: 3px 8px; border-radius: 6px; font-size: 9px; font-weight: 900; text-transform: uppercase; color: #fff; background: #2563eb; }
.hd-a .hd-a__prop-body { padding: 10px 12px 12px; }
.hd-a .hd-a__prop-title { font-size: 13px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__price { margin-top: 3px; font-size: 13px; font-weight: 900; color: var(--a-pink); }

/* marketplace */
.hd-a .hd-a__ads-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.hd-a .hd-a__ad { display: flex; flex-direction: column; border: 1px solid var(--a-line); border-radius: 14px; overflow: hidden; background: var(--a-card); transition: transform .18s, box-shadow .18s; }
.hd-a .hd-a__ad:hover { transform: translateY(-3px); box-shadow: var(--a-shadow); }
.hd-a .hd-a__ad-img { position: relative; height: 96px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, #fff1e0, #ffe3f3); color: #d98a4a; }
.hd-a .hd-a__ad-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hd-a .hd-a__ad-body { padding: 9px 10px 11px; }
.hd-a .hd-a__ad-title { font-size: 12px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__ad-loc { margin-top: 4px; font-size: 10px; font-weight: 600; color: var(--a-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* community */
.hd-a .hd-a__post-row { display: flex; align-items: flex-start; gap: 11px; padding: 11px 4px; border-bottom: 1px solid var(--a-line); }
.hd-a .hd-a__post-row:last-child { border-bottom: 0; }
.hd-a .hd-a__avatar { position: relative; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 14px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--a-pink), var(--a-purple)); }
.hd-a .hd-a__avatar > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hd-a .hd-a__post-body { min-width: 0; }
.hd-a .hd-a__post-name { font-size: 12px; font-weight: 800; }
.hd-a .hd-a__post-text { margin-top: 2px; font-size: 12px; font-weight: 600; color: var(--a-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hd-a .hd-a__post-time { margin-top: 3px; font-size: 10px; font-weight: 700; color: var(--a-muted); opacity: .8; }

/* reels */
.hd-a .hd-a__reels { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.hd-a .hd-a__reel { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: linear-gradient(160deg, #2a1650, #0d1230); box-shadow: var(--a-shadow); }
.hd-a .hd-a__reel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.hd-a .hd-a__reel:hover > img { transform: scale(1.06); }
.hd-a .hd-a__reel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .75)); }
.hd-a .hd-a__play { position: absolute; z-index: 2; left: 50%; top: 42%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 5, 182, .85); box-shadow: 0 6px 16px rgba(0, 0, 0, .35); }
.hd-a .hd-a__reel-cap { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 9px; color: #fff; }
.hd-a .hd-a__reel-cap b { display: block; font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__reel-cap small { font-size: 10px; font-weight: 600; opacity: .85; }

/* lost & found wrapper (module itself is untouched) */
.hd-a .hd-a__lf { margin-top: 30px; }

/* news strip */
.hd-a .hd-a__newsstrip {
  display: flex; align-items: center; gap: 16px; margin-top: 30px; padding: 18px 22px; border-radius: 18px; color: #fff;
  background: linear-gradient(100deg, #ff05b6 0%, #d3169e 55%, #8b2be2 100%); box-shadow: 0 12px 28px rgba(255, 5, 182, .28);
}
.hd-a .hd-a__newsstrip-ico { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .2); }
.hd-a .hd-a__newsstrip-body { flex: 1; min-width: 0; }
.hd-a .hd-a__newsstrip-title { font-size: 18px; font-weight: 900; }
.hd-a .hd-a__newsstrip-sub { margin-top: 2px; font-size: 12px; font-weight: 600; opacity: .92; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hd-a .hd-a__btn-white { flex: 0 0 auto; padding: 11px 22px; border-radius: 12px; font-size: 13px; font-weight: 800; color: var(--a-pink); background: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }

.hd-a .hd-a__empty { padding: 22px 12px; text-align: center; font-size: 12px; font-weight: 700; color: var(--a-muted); border: 1px dashed var(--a-line); border-radius: 12px; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .hd-a .hd-a__row.r-jobs, .hd-a .hd-a__row.r-market { grid-template-columns: minmax(0, 1fr); }
  .hd-a .hd-a__reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hd-a .hd-a__cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hd-a .hd-a__biz-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-a .hd-a__hero-art { width: 70%; opacity: .45; }
}
@media (max-width: 680px) {
  .hd-a .hd-a__wrap { padding: 0 12px; }
  .hd-a .hd-a__nav-top { padding: 8px 0; }
  .hd-a .hd-a__nav-top-inner { flex-wrap: nowrap; gap: 8px; justify-content: space-between; }
  .hd-a .hd-a__nav-brand-group { gap: 6px; }
  .hd-a .hd-a__nav-logo { font-size: 17px; gap: 6px; }
  .hd-a .hd-a__nav-logo-icon { width: 28px; height: 28px; border-radius: 7px; }
  .hd-a .hd-a__nav-logo-icon svg { width: 15px; height: 15px; }
  .hd-a .hd-a__nav-loc-chip { display: none; }
  .hd-a .hd-a__nav-actions { gap: 6px; flex-shrink: 0; }
  .hd-a .hd-a__nav-post-cta { padding: 6px 11px; font-size: 11px; letter-spacing: 0.02em; white-space: nowrap; }
  .hd-a .hd-a__post-text-full { display: none; }
  .hd-a .hd-a__post-text-short { display: inline; }
  .hd-a .hd-a__nav-login-btn { padding: 6px 8px; font-size: 11px; }
  .hd-a .hd-a__nav-login-btn span { display: none; }
  .hd-a .hd-a__nav-sub-inner { padding: 4px 6px; gap: 2px; }
  .hd-a .hd-a__nav-link { font-size: 12px; padding: 6px 9px; }
  .hd-a .hd-a__hero-inner { padding-top: 18px; padding-bottom: 24px; }
  .hd-a .hd-a__welcome { font-size: 20px; }
  .hd-a .hd-a__tag { font-size: 15px; }
  .hd-a .hd-a__search { width: 100% !important; }
  .hd-a .hd-a__search-loc { display: none; }
  .hd-a .hd-a__search-type { padding-left: 8px; }
  .hd-a .hd-a__search-type select { max-width: 80px; font-size: 11px; }
  .hd-a .hd-a__search-input { min-width: 0 !important; flex: 1 1 0% !important; padding: 0 6px; }
  .hd-a .hd-a__search-input input { width: 100% !important; min-width: 0 !important; font-size: 12px; padding: 8px 0; }
  .hd-a .hd-a__search-btn { padding: 10px 14px; }
  .hd-a .hd-a__search-btn span { display: none; }
  .hd-a .hd-a__cats { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; margin-top: 14px; }
  .hd-a .hd-a__cat { padding: 10px 4px 8px !important; border-radius: 12px; }
  .hd-a .hd-a__cat-ico { width: 36px !important; height: 36px !important; border-radius: 10px !important; }
  .hd-a .hd-a__cat-ico svg { width: 18px !important; height: 18px !important; }
  .hd-a .hd-a__cat-name { font-size: 10px !important; }
  .hd-a .hd-a__news { gap: 8px !important; padding: 6px 10px 6px 6px !important; }
  .hd-a .hd-a__news-chip { padding: 4px 8px !important; font-size: 10px !important; }
  .hd-a .hd-a__news-text { font-size: 11px !important; }
  .hd-a .hd-a__biz-grid { grid-template-columns: minmax(0, 1fr); }
  .hd-a .hd-a__promo { flex-direction: column; align-items: flex-start; padding: 16px; gap: 12px; }
  .hd-a .hd-a__promo-badge { width: 64px; height: 64px; border-radius: 16px; }
  .hd-a .hd-a__promo-title { font-size: 18px; }
  .hd-a .hd-a__promo-sub { font-size: 11px; }
  .hd-a .hd-a__btn { width: 100%; padding: 10px 16px; }
  .hd-a .hd-a__promo-media { width: 60%; opacity: .25; }
  .hd-a .hd-a__strip { flex-direction: column; align-items: flex-start; }
  .hd-a .hd-a__prop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-a .hd-a__ads-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-a .hd-a__reels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hd-a .hd-a__newsstrip { flex-direction: column; align-items: flex-start; }
  .hd-a .hd-a__news-link { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hd-a *, .hd-a *::before, .hd-a *::after { animation: none !important; transition: none !important; }
}
