

.mw-app-top,
.mw-app-tabbar {
  display: none;
}

@media (max-width: 800px) {

  html:has(body.hub-page--feed) {
    background: #fff;
    overflow-x: visible;
    overflow-y: auto;
  }

  body.site-app.hub-page--feed,
  body.hub-page--feed {
    background: #fff !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    overflow-x: visible !important;
    overflow-y: auto !important;
  }

  body.site-app:not(.hub-page--feed) {
    overflow-x: hidden !important;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  /* Autó/teher: ugyanaz a lapgörgetés, mint a kezdőlap feed — ne pan-y + nested trap. */
  body.site-app:is([data-site-page="auto"], [data-site-page="teherauto"], [data-site-page="ingatlan"]) {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
  }

  body.site-app:not(.hub-page--feed) .home-main,
  body.site-app:not(.hub-page--feed) main {
    max-width: 100%;
    overflow-x: visible;
  }

  /* Feed rails still need horizontal clip; search pages must not clip overlays. */
  body.site-app:is([data-site-page="auto"], [data-site-page="teherauto"], [data-site-page="ingatlan"]) .home-main,
  body.site-app:is([data-site-page="auto"], [data-site-page="teherauto"], [data-site-page="ingatlan"]) main {
    overflow-x: visible;
  }

  body.hub-page--feed main,
  body.hub-page--feed .hub-feed {
    max-width: 100%;
    overflow-x: clip;
  }

  /* Promo lives in .hub-intro — never clip the cards */
  body.hub-page--feed .hub-intro {
    max-width: 100%;
    overflow-x: visible;
  }

  html[data-theme="dark"] body.site-app.hub-page--feed,
  html[data-theme="dark"] body.hub-page--feed {
    background: #12161c !important;
  }

  html[data-theme="dark"]:has(body.hub-page--feed) {
    background: #12161c;
  }

  html[data-theme="dark"] body.site-app .mw-app-top {
    background: #12161c;
    border-bottom-color: #2a313c;
  }

  body.site-app:has(.mw-app-top) > .hub-header,
  body.site-app:has(.mw-app-top) > .site-header,
  body.site-app:has(.mw-app-top) > .home-header,
  body.site-app:has(.mw-app-top) > header.site-app-header,
  body.site-app:has(.mw-app-top) > .site-app-header {
    display: none !important;
  }

  body.hub-page--feed .hub-home-logo {
    display: none !important;
  }

  /* Willhaben-szerű kompakt header: logo + akciók / menüsor */
  body.site-app .mw-app-top {
    --mw-avatar: 2rem;
    --mw-action: 2.125rem;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0;
    margin: 0;
    min-height: 0;
    overflow: visible;
    box-sizing: border-box;
    border-bottom: 0;
  }

  body.site-app .mw-app-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.55rem;
    min-height: 3.25rem;
    padding: 0.4rem max(0.75rem, env(safe-area-inset-right, 0px)) 0.4rem max(0.75rem, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    position: relative;
  }

  body.site-app .mw-app-logo {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    text-decoration: none;
    line-height: 0;
    width: auto;
    max-width: min(42%, 9.5rem);
    padding: 0;
    margin: 0;
    margin-right: auto;
    position: relative;
    left: auto;
    transform: none;
    z-index: 1;
  }

  body.site-app .mw-app-logo img,
  body.site-app .mw-app-logo .bymy-logo-img {
    display: block !important;
    width: auto !important;
    height: 36px !important;
    max-width: 100% !important;
    aspect-ratio: auto;
    object-fit: contain !important;
    object-position: left center;
    transform: none !important;
  }

  body.site-app .mw-app-hello {
    display: none !important;
  }

  body.site-app .mw-app-top-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem;
    flex: 0 0 auto;
    margin-left: auto;
  }

  /* Desk „inverz” / színmód — ugyanaz a fél fehér–fél sötét gomb */
  body.site-app .mw-app-top .hub-theme-toggle,
  body.site-app .mw-app-top .mw-app-theme {
    display: inline-flex !important;
    width: var(--mw-action) !important;
    height: var(--mw-action) !important;
    min-width: var(--mw-action) !important;
    min-height: var(--mw-action) !important;
    flex: 0 0 var(--mw-action) !important;
    border-radius: 999px !important;
    border: 1px solid #c8c8c8 !important;
    background: linear-gradient(90deg, #fff 50%, #4b5563 50%) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  html[data-theme="dark"] body.site-app .mw-app-top .hub-theme-toggle,
  html[data-theme="dark"] body.site-app .mw-app-top .mw-app-theme {
    border-color: #6b7280 !important;
    background: linear-gradient(90deg, #e5e7eb 50%, #111827 50%) !important;
  }

  body.site-app .mw-app-post {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--mw-action);
    height: var(--mw-action);
    min-width: var(--mw-action);
    border-radius: 8px;
    border: 1.5px solid #f0c52c;
    background: #f0c52c;
    color: #000;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    box-sizing: border-box;
  }

  body.site-app .mw-app-msg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--mw-action);
    height: var(--mw-action);
    min-width: var(--mw-action);
    color: #4b5563;
    text-decoration: none;
    box-sizing: border-box;
  }

  body.site-app .mw-app-msg[hidden] {
    display: none !important;
  }

  html[data-auth="member"] body.site-app .mw-app-msg,
  html[data-auth="member"] body.site-app .mw-app-msg[hidden] {
    display: inline-flex !important;
  }

  body.site-app .mw-app-avatar {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: var(--mw-avatar);
    height: var(--mw-avatar);
    min-width: var(--mw-avatar);
    min-height: var(--mw-avatar);
    border-radius: 999px;
    overflow: hidden;
    border: 1.5px solid #e5e7eb;
    background: #eef2f7;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1f2937;
    font-family: "DM Sans", system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    line-height: 1;
    flex-shrink: 0;
    z-index: 2;
    box-sizing: border-box;
  }

  body.site-app .mw-app-avatar [data-avatar-letter] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }

  body.site-app .mw-app-avatar [data-avatar-letter][hidden] {
    display: none !important;
  }

  body.site-app .mw-app-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }

  body.site-app .mw-app-avatar img[hidden] {
    display: none !important;
  }

  body.site-app .mw-app-avatar[hidden] {
    display: none !important;
  }

  body.site-app .mw-app-login {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: var(--mw-avatar);
    height: var(--mw-avatar);
    min-width: var(--mw-avatar);
    min-height: var(--mw-avatar);
    border-radius: 999px;
    border: 1.5px solid #e5e7eb;
    background: #fff;
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 2;
    box-sizing: border-box;
  }

  html[data-auth="member"] body.site-app .mw-app-login {
    display: none !important;
  }

  html[data-auth="guest"] body.site-app .mw-app-avatar,
  html[data-auth="guest"] body.site-app .mw-app-msg {
    display: none !important;
  }

  html[data-auth="member"] body.site-app .mw-app-avatar,
  html[data-auth="member"] body.site-app .mw-app-avatar[hidden] {
    display: inline-flex !important;
  }

  body.site-app .mw-app-pages {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0.15rem;
    width: 100%;
    margin: 0;
    padding: 0 0.55rem;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border-top: 1px solid #e3e6ea;
    border-bottom: 1px solid #e3e6ea;
    background: #fff;
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 0.75rem,
      #000 calc(100% - 0.75rem),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 0.75rem,
      #000 calc(100% - 0.75rem),
      transparent 100%
    );
  }

  body.site-app .mw-app-pages::-webkit-scrollbar {
    display: none;
  }

  body.site-app .mw-app-pages-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2.65rem;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
    text-decoration: none;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #4b5563;
    border-bottom: 2px solid transparent;
    box-sizing: border-box;
  }

  body.site-app .mw-app-pages-link .nav-count {
    font-size: 0.92rem;
    font-weight: 600;
    color: #9ca3af;
  }

  body.site-app .mw-app-pages-link.is-inactive {
    color: #9ca3af !important;
    cursor: default !important;
    pointer-events: none !important;
    border-bottom-color: transparent !important;
  }

  body.site-app .mw-app-pages-link.is-active,
  body.site-app .mw-app-pages-link.is-active .nav-count {
    color: #f0c52c;
    border-bottom-color: #f0c52c;
  }

  body.site-app .mw-app-pages-link--post {
    display: none !important;
  }

  html[data-theme="dark"] body.site-app .mw-app-pages {
    background: #12161c;
    border-top-color: #2a313c;
    border-bottom-color: #2a313c;
  }

  html[data-theme="dark"] body.site-app .mw-app-post {
    border-color: #f0c52c;
    color: #000;
    background: #f0c52c;
  }

  html[data-theme="dark"] body.site-app .mw-app-msg,
  html[data-theme="dark"] body.site-app .mw-app-login {
    color: #9aa3ad;
  }

  html[data-theme="dark"] body.site-app .mw-app-pages-link {
    color: #c5ccd6;
  }

  html[data-theme="dark"] body.site-app .mw-app-pages-link.is-inactive {
    color: #9ca3af !important;
    -webkit-text-fill-color: #9ca3af !important;
  }

  html[data-theme="dark"] body.site-app .mw-app-pages-link.is-active,
  html[data-theme="dark"] body.site-app .mw-app-pages-link.is-active .nav-count {
    color: #f0c52c;
    border-bottom-color: #f0c52c;
  }

  body.hub-page--feed {
    --hf-gutter: 16px;
    --hf-rail-gap: 10px;
  }

  /*
   * Egy közös bal szél:
   * 1) intro/feed/promo-band kapja a gutter paddinget
   * 2) címsorok (hf-head) NEM kapnak külön insetet
   * 3) sávok (verticals/rail) breakout + ugyanannyi padding → első csempe = cím
   */
  /* Szekciósáv: mobil full-bleed (kijelző széléig), belső gutter a tartalomnak */
  body.hub-page--feed .hf-section {
    padding: 14px var(--hf-gutter) 16px !important;
    margin: 0 0 28px !important;
    background: #f6f5f2;
    border: 1px solid #d2d0cc;
    border-left: none;
    border-right: none;
    border-radius: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box !important;
  }

  html[data-theme="dark"] body.hub-page--feed .hf-section {
    background: #1a1f26;
    border-color: rgba(255, 255, 255, 0.08);
  }

  body.hub-page--feed .hub-intro,
  body.hub-page--feed .hub-promo-band {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: var(--hf-gutter) !important;
    padding-right: var(--hf-gutter) !important;
    box-sizing: border-box !important;
  }

  /* Feed: nincs oldalsó inset — a sávok érjenek a kijelző széléig */
  body.hub-page--feed .hub-feed {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.hub-page--feed .hub-promo-band {
    padding-top: 0.5rem !important;
    padding-bottom: 0.25rem !important;
  }

  body.hub-page--feed .hub-intro {
    padding-top: 0.5rem !important;
    padding-bottom: 0.25rem !important;
  }

  body.hub-page--feed .hub-feed {
    padding-top: 0.5rem !important;
    padding-bottom: 1rem !important;
  }

  body.hub-page--feed .hf-head,
  body.hub-page--feed .hf-status {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }

  body.hub-page--feed .hf-head {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0.55rem;
  }

  body.hub-page--feed .hf-rail {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: var(--hf-rail-gap) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: auto !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0.4rem !important;
    box-sizing: border-box !important;
    scroll-snap-type: none !important;
    scroll-padding: 0 !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    touch-action: pan-x pan-y;
  }

  /* Promo: fill the padded content column (same inset as titles), 2-col, never clipped */
  body.hub-page--feed .hub-promo-band {
    padding-left: var(--hf-gutter) !important;
    padding-right: var(--hf-gutter) !important;
  }

  body.hub-page--feed .hub-intro .hub-verticals,
  body.hub-page--feed .hub-promo-band .hub-verticals,
  body.hub-page--feed .hub-verticals {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    /* A bit larger than 70%, still centered, both cards fully on screen */
    width: 86% !important;
    max-width: 86% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 0 0.35rem !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  body.hub-page--feed .hub-verticals::-webkit-scrollbar,
  body.hub-page--feed .hf-rail::-webkit-scrollbar {
    width: 0;
    height: 0;
    background: transparent;
  }

  body.hub-page--feed .hub-verticals > *,
  body.hub-page--feed .hf-rail > * {
    margin-left: 0 !important;
    margin-right: 0 !important;
    scroll-snap-align: none !important;
  }

  body.hub-page--feed .hub-promo {
    flex: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 16 / 9 !important;
    max-height: none !important;
    height: auto !important;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) !important;
    border-radius: 9px;
    box-shadow: none !important;
    border: 1px solid #d4d4d4;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.hub-page--feed .hub-promo__copy {
    padding: 0.45rem 0.5rem !important;
  }

  body.hub-page--feed .hub-promo__title {
    font-size: clamp(0.68rem, 3.2vw, 0.88rem) !important;
  }

  body.hub-page--feed .hub-promo__text {
    font-size: 0.52rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  body.hub-page--feed .hub-promo__cta {
    margin-top: 0.35rem !important;
    font-size: 0.55rem !important;
  }

  body.hub-page--feed .hub-promo__media {
    position: relative !important;
    height: 100% !important;
    align-self: stretch !important;
    min-width: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  body.hub-page--feed .hub-promo__media::before {
    display: none !important;
  }

  body.hub-page--feed .hub-promo__media img,
  body.hub-page--feed .hub-promo--fullimg .hub-promo__full {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    /* Full photo visible — no cover crop */
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }

  body.hub-page--feed .hub-verticals:has(.hub-promo--banner),
  body.hub-page--feed .hub-verticals--banner {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.hub-page--feed .hub-promo.hub-promo--banner {
    aspect-ratio: auto !important;
    grid-template-columns: none !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.hub-page--feed .hub-promo.hub-promo--banner img {
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    /* Teljes kép, natúr arányban — nincs levágás. */
    height: auto !important;
    border-radius: 16px !important;
    transform: none !important;
  }

  body.hub-page--feed .hub-verticals,
  body.hub-page--feed .hf-rail,
  body.hub-page--feed .hub-promo,
  body.hub-page--feed .hf-card {
    touch-action: pan-x pan-y;
  }

  body.hub-page--feed .hf-card--listing.hf-card--featured,
  body.hub-page--feed .hf-card--featured {
    box-shadow: none !important;
    outline: none !important;
    filter: none !important;
  }

  body.hub-page--feed .hf-title {
    font-size: 1.15rem;
    font-weight: 800;
    padding-left: 0.6rem;
    border-left: 3px solid var(--listing-featured-yellow, #f0c14b);
  }

  body.hub-page--feed .hf-all {
    display: inline;
    color: #111;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--listing-featured-yellow, #f0c14b);
    padding-bottom: 1px;
  }

  body.hub-page--feed .hf-card,
  body.hub-page--feed .hf-card--kategoria,
  body.hub-page--feed .hf-card--ajanlas,
  body.hub-page--feed .hf-card--listing,
  body.hub-page--feed .hf-card--featured {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
  }

  body.hub-page--feed .hf-card,
  body.hub-page--feed .hf-card--kategoria,
  body.hub-page--feed .hf-card--ajanlas,
  body.hub-page--feed .hf-card--listing {
    /* Exactly 2 full cards in view — next card starts off-screen (no mid-cut) */
    --hf-card-w: calc((100vw - (2 * var(--hf-gutter)) - var(--hf-rail-gap)) / 2);
    flex: 0 0 var(--hf-card-w) !important;
    flex-basis: var(--hf-card-w) !important;
    width: var(--hf-card-w) !important;
    max-width: var(--hf-card-w) !important;
    background: #fff;
    box-shadow: none;
    border: 1px solid #e2dfd9;
    border-radius: 14px;
    overflow: hidden;
    align-self: stretch;
    padding: 0 0 0.61rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    box-sizing: border-box !important;
  }

  body.hub-page--feed .hf-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 0;
    overflow: hidden;
    background: #e8ebef;
    border: 0;
  }

  body.hub-page--feed .hf-card-media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  body.hub-page--feed .hf-card--kategoria .hf-card-media,
  body.hub-page--feed .hf-card--ajanlas .hf-card-media {
    border-radius: 0;
    background: #fff;
    border: 0;
  }

  body.hub-page--feed .hf-card--listing .hf-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background-color: #e8ebef;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }

  body.hub-page--feed .hf-card--listing .hf-card-media img,
  body.hub-page--feed .hf-card--listing .hf-card-media-img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    transform: none !important;
    transform-origin: center center !important;
  }

  body.hub-page--feed .hf-card--kategoria .hf-card-media img {
    position: absolute;
    inset: 0;
    object-fit: contain;
    object-position: center center;
    padding: 0.55rem 0.45rem;
    box-sizing: border-box;
    transform: none;
    border: 0;
    box-shadow: none;
  }

  body.hub-page--feed .hf-card-label {
    font-size: 0.94rem;
    font-weight: 800;
    margin: 0.55rem 0.61rem 0;
    padding: 0;
    text-align: left;
    color: #111;
  }

  body.hub-page--feed .hf-card-sub {
    display: block;
    margin: 0.11rem 0.61rem 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-align: left;
    line-height: 1.25;
  }

  body.hub-page--feed .hf-card--listing .hf-card-label {
    text-align: left;
    margin: 0.45rem 0.61rem 0;
    padding: 0;
    font-size: 0.94rem;
    font-weight: 800;
    color: #111;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.25em;
    display: block;
    -webkit-line-clamp: unset;
  }

  body.hub-page--feed .hf-card--listing .listing-featured-under-photo + .hf-card-label {
    margin-top: 0.35rem;
  }

  body.hub-page--feed .hf-card--listing .hf-card-sub {
    display: block;
    margin: 0.11rem 0.61rem 0;
    font-size: 0.75rem;
    font-weight: 400;
    color: #111;
    text-align: left;
    min-height: 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: unset;
  }

  body.hub-page--feed .hf-card--listing .hf-card-price {
    display: block;
    margin: 0.39rem 0.61rem 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #111;
    text-align: left;
    padding: 0;
  }

  body.hub-page--feed .hf-card--listing .hf-card-meta {
    display: none;
  }

  body.hub-page--feed .hf-card--listing .hf-card-specs {
    display: block;
    margin: 0.39rem 0.61rem 0;
  }

  body.hub-page--feed .hf-card--listing .hf-card-specs-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    line-height: 1;
  }

  body.hub-page--feed .hf-card--listing .hf-card-spec {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.26rem;
    color: #111;
    font-size: 0.72rem;
    line-height: 1;
  }

  body.hub-page--feed .hf-card--listing .hf-card-spec svg {
    display: block;
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
  }

  body.hub-page--feed .hf-card--listing .hf-card-spec > span {
    display: block;
    line-height: 1;
  }

  body.hub-page--feed .hf-status {
    font-size: 0.76rem;
  }

  body.site-app {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }

  body.site-app .site-content-bar {
    display: none !important;
  }

  body.site-app .mw-app-tabbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    position: fixed;
    left: 50%;
    bottom: 0.4rem;
    transform: translateX(-50%);

    z-index: 10050;
    width: min(22.75rem, calc(100% - 1.35rem));
    min-height: 3.55rem;
    padding: 0.4rem 0.55rem 0.45rem;
    box-sizing: border-box;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.22s ease, opacity 0.18s ease;
    will-change: transform, opacity;
    pointer-events: auto;
  }

  body.site-app .mw-app-tabbar.is-scroll-hidden {
    transform: translateX(-50%) translateY(calc(100% + 1.25rem));
    opacity: 0;
    pointer-events: none;
  }

  html[data-theme="dark"] body.site-app .mw-app-tabbar {
    background: rgba(18, 22, 28, 0.94);
    border-color: #2a313c;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  }

  html[data-theme="dark"] body.site-app .mw-app-tab,
  html[data-theme="dark"] body.site-app .mw-app-tab__icon {
    color: #9aa3ad !important;
  }

  html[data-theme="dark"] body.site-app .mw-app-tab.is-active,
  html[data-theme="dark"] body.site-app .mw-app-tab.is-active .mw-app-tab__icon {
    color: #f0c52c !important;
  }

  body.site-app .mw-app-tab {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.12rem;
    min-width: 0;
    text-decoration: none;
    color: #9ca3af;
    font-family: "DM Sans", system-ui, sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.1;
    padding: 0.15rem 0.1rem 0;
    border: 0;
    background: transparent;
    -webkit-tap-highlight-color: transparent;
  }

  body.site-app .mw-app-tab__icon {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    background: transparent;
  }

  body.site-app .mw-app-tab__icon svg {
    width: 1.45rem;
    height: 1.45rem;
    display: block;
  }

  body.site-app .mw-app-tab.is-active {
    color: #f0c52c;
  }

  body.site-app .mw-app-tab.is-active .mw-app-tab__icon {
    background: transparent;
    color: #f0c52c;
  }

  body.site-app .mw-app-tab--fab {
    flex: 0 0 auto;
    align-self: flex-start;
    justify-content: center;
    margin-top: -1.45rem;
    padding: 0;
    min-width: 3.35rem;
    gap: 0.2rem;
  }

  body.site-app .mw-app-tab__fab {
    width: 3.35rem;
    height: 3.35rem;
    border-radius: 1.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0c52c;
    color: #111;
    border: 3px solid #fff;
    box-shadow: 0 6px 18px rgba(240, 197, 44, 0.45);
    box-sizing: border-box;
  }

  body.site-app .mw-app-tab__fab svg {
    width: 1.55rem;
    height: 1.55rem;
    display: block;
  }

  body.site-app .mw-app-tab__fab-label {
    font-size: 0.62rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
    max-width: 4.2rem;
  }

  html[data-theme="dark"] body.site-app .mw-app-tab__fab {
    border-color: #12161c;
    background: #f0c52c;
    color: #111;
    box-shadow: 0 6px 18px rgba(240, 197, 44, 0.4);
  }

  body.site-app .mw-app-tab span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  @media (display-mode: standalone) {
    body.site-app .mw-app-tabbar {
      bottom: max(0.55rem, env(safe-area-inset-bottom, 0px));
    }
  }
}

@media (max-width: 800px) {
  /* A felső sáv az Autó oldalon sem rögzített: görgetéskor eltűnik, mint a többi oldalon. */
  body.home-page[data-site-page="auto"] .mw-app-top:has(> .auto-search-tabs) {
    background: #fff;
  }

  html[data-theme="dark"] body.home-page[data-site-page="auto"] .mw-app-top:has(> .auto-search-tabs) {
    background: #12161c;
  }

  body.home-page[data-site-page="auto"] .mw-app-top > .auto-search-tabs {
    background: transparent !important;
    border-bottom: 0 !important;
  }
}

@media (min-width: 801px) {
  .mw-app-top,
  .mw-app-tabbar {
    display: none !important;
  }
}

/* Állás — vízszintes téglacsempe (Willhaben-szerű lista) */
body.hub-page--feed .hf-rail.piac-rail--allas {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  scroll-snap-type: none !important;
  width: 100% !important;
  max-width: 760px !important;
  box-sizing: border-box !important;
}

body.hub-page--feed .hf-rail.piac-rail--allas > .hf-card.hf-card--listing.hf-card--allas,
body.hub-page--feed .hf-card.hf-card--listing.hf-card--allas,
body.hub-page--feed .hf-card--allas {
  --hf-card-w: 100%;
  position: relative !important;
  flex: 0 0 auto !important;
  flex-basis: auto !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 0 !important;
  padding: 0.9rem 0.95rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: none !important;
  overflow: visible !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  color: inherit !important;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-main {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  min-width: 0 !important;
  padding-right: 2.6rem !important;
  text-decoration: none !important;
  color: inherit !important;
}

body.hub-page--feed .hf-card.hf-card--listing.hf-card--allas .hf-card-media.hf-card-media--allas,
body.hub-page--feed .hf-card--allas .hf-card-media--allas {
  position: relative !important;
  flex: 0 0 92px !important;
  width: 92px !important;
  height: 92px !important;
  min-width: 92px !important;
  aspect-ratio: 1 / 1 !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #fff !important;
  align-self: center !important;
  margin: 0 !important;
}

body.hub-page--feed .hf-card--allas .hf-card-media--allas.is-empty {
  background: linear-gradient(145deg, #f3f4f6 0%, #e5e7eb 100%) !important;
}

body.hub-page--feed .hf-card.hf-card--listing.hf-card--allas .hf-card-media--allas img,
body.hub-page--feed .hf-card.hf-card--listing.hf-card--allas .hf-card-media-img,
body.hub-page--feed .hf-card--allas .hf-card-media--allas img,
body.hub-page--feed .hf-card--allas .hf-card-media-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  padding: 0.4rem !important;
  box-sizing: border-box !important;
  transform: none !important;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.32rem;
  padding: 0.05rem 0;
}

body.hub-page--feed .hf-card.hf-card--listing.hf-card--allas .hf-card-label,
body.hub-page--feed .hf-card--allas .hf-card-label {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #1f2937 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left !important;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-badge--kiemelt {
  background: #f0c14b;
  color: #111;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-company {
  font-size: 0.92rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-meta {
  font-size: 0.8rem;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.35;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-fav {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 2.15rem;
  height: 2.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1.5px solid #93c5fd;
  border-radius: 8px;
  background: #fff;
  color: #60a5fa;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-fav svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-fav.is-on {
  border-color: #2563eb;
  color: #2563eb;
  background: #eff6ff;
}

body.hub-page--feed .hf-card--allas .hf-card-allas-fav.is-on svg {
  fill: #2563eb;
}

body.hub-page--feed .hf-card--allas .hf-card-sub,
body.hub-page--feed .hf-card--allas .hf-card-price,
body.hub-page--feed .hf-card--allas .hf-card-specs,
body.hub-page--feed .hf-card--allas .listing-featured-under-photo {
  display: none !important;
}

html[data-theme="dark"] body.hub-page--feed .hf-card--allas {
  background: #0f172a !important;
  border-color: #334155 !important;
}

html[data-theme="dark"] body.hub-page--feed .hf-card--allas .hf-card-label,
html[data-theme="dark"] body.hub-page--feed .hf-card--allas .hf-card-allas-company {
  color: #f1f5f9 !important;
}

html[data-theme="dark"] body.hub-page--feed .hf-card--allas .hf-card-allas-meta {
  color: #94a3b8;
}

html[data-theme="dark"] body.hub-page--feed .hf-card--allas .hf-card-media--allas {
  background: #1e293b !important;
  border-color: #334155 !important;
}

html[data-theme="dark"] body.hub-page--feed .hf-card--allas .hf-card-allas-fav {
  background: #0f172a;
  border-color: #60a5fa;
  color: #93c5fd;
}

html[data-theme="dark"] body.hub-page--feed .hf-card--allas .hf-card-allas-fav.is-on {
  background: #1e3a5f;
  border-color: #60a5fa;
  color: #93c5fd;
}

@media (min-width: 801px) {
  body.hub-page--feed .hf-rail.piac-rail--allas {
    max-width: 760px;
  }

  body.hub-page--feed .hf-card--allas .hf-card-media--allas {
    flex-basis: 104px !important;
    width: 104px !important;
    height: 104px !important;
    min-width: 104px !important;
  }
}

/* Mobil alsó menüsziget kérésre megszüntetve — sehol ne jelenjen meg. */
.mw-app-tabbar {
  display: none !important;
}

/* Állás oldal: a csempék rácsa, mint az autós találati lista (324 px széles csempék) */
body.hub-page--feed .hf-rail.piac-rail.piac-grid.piac-rail--allas {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 324px)) !important;
  justify-content: start;
  gap: 18px !important;
  max-width: none !important;
}
@media (max-width: 800px) {
  body.hub-page--feed .hf-rail.piac-rail.piac-grid.piac-rail--allas {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
}

/* ── Álláshirdetés csempe (autós csempe méretű) ── */
body.hub-page--feed .hf-card.hf-card--job,
.hf-card.hf-card--job {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  border: 1px solid #d9dce1 !important;
  border-radius: 10px !important;
  background: #fff !important;
  overflow: hidden !important;
  box-shadow: none !important;
  min-height: 400px;
}
body.hub-page--feed .hf-rail.piac-rail.piac-grid > .hf-card.hf-card--job { width: auto !important; }
.hf-card--job .hf-card-job__main { display: flex; flex-direction: column; flex: 1 1 auto; color: inherit; text-decoration: none; min-width: 0; }
.hf-card--job .hf-card-job__media { position: relative; display: block; height: 202px; background: #eef0f3; overflow: hidden; flex: none; }
.hf-card--job .hf-card-job__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-card--job .hf-card-job__media.is-logo { display: grid; place-items: center; background: #f4f5f7; }
.hf-card--job .hf-card-job__logo { max-width: 62%; max-height: 62%; object-fit: contain; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); }
.hf-card--job .hf-card-job__badge { position: absolute; left: 10px; top: 10px; background: #f2c417; color: #111; font-weight: 800; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; }
.hf-card--job .hf-card-job__badge.is-promo { background: #111; color: #f2c417; }
.hf-card--job .hf-card-job__body { display: flex; flex-direction: column; gap: 3px; padding: 12px 12px 6px; min-width: 0; }
.hf-card--job .hf-card-job__title { font-weight: 800; font-size: 18px; line-height: 1.25; color: #111; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hf-card--job .hf-card-job__company { color: #333; font-size: 14px; min-height: 1.2em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-card--job .hf-card-job__wage { font-weight: 800; font-size: 21px; line-height: 1.2; color: #111; margin-top: 4px; }
.hf-card--job .hf-card-job__wage small { font-size: 15px; font-weight: 700; }
.hf-card--job .hf-card-job__wage.is-text { font-size: 16px; }
.hf-card--job .hf-card-job__specs { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; color: #222; font-size: 13.5px; }
.hf-card--job .hf-card-job__spec { display: inline-flex; align-items: center; gap: 6px; }
.hf-card--job .hf-card-job__spec svg { width: 16px; height: 16px; flex: none; color: #444; }
.hf-card--job .hf-card-job__foot { margin-top: auto; padding: 4px 12px 12px; font-weight: 700; font-size: 14px; color: #111; min-height: 1.4em; }
.hf-card--job .hf-card-job__fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: #fff; color: #333; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18); cursor: pointer; padding: 0; }
.hf-card--job .hf-card-job__fav svg { width: 18px; height: 18px; }
.hf-card--job .hf-card-job__fav.is-on { color: #e11d48; }
.hf-card--job .hf-card-job__fav.is-on path { fill: currentColor; }
html[data-theme="dark"] .hf-card.hf-card--job { background: #0f172a !important; border-color: #334155 !important; }
html[data-theme="dark"] .hf-card--job .hf-card-job__title,
html[data-theme="dark"] .hf-card--job .hf-card-job__wage,
html[data-theme="dark"] .hf-card--job .hf-card-job__foot { color: #f1f5f9; }
html[data-theme="dark"] .hf-card--job .hf-card-job__company,
html[data-theme="dark"] .hf-card--job .hf-card-job__specs,
html[data-theme="dark"] .hf-card--job .hf-card-job__spec svg { color: #cbd5e1; }
