/* JobLik 0.33.589 — PAGE-SCOPED COMPACT CARD GEOMETRY
   PG-GALLERY-DESKTOP-001: min-width 901px
   PG-GALLERY-MOBILE-001 : max-width 900px
   Only card vertical geometry is changed. No shared device class is used. */

/* ===== PG-GALLERY-DESKTOP-001 ===== */
@media (min-width:901px){
  html body .v064-home.j515-unified-gallery .v064-cars-row.apg-grid.card-view-medium{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    grid-auto-rows:136px!important;
    gap:4px!important;
    row-gap:4px!important;
    column-gap:4px!important;
    align-items:start!important;
    align-content:start!important;
    padding:4px!important;
    margin:0!important;
    border:0!important;
    border-bottom:0!important;
    background:#f3f5f7!important;
    box-sizing:border-box!important;
  }
  html body .v064-home.j515-unified-gallery .v064-cars-row.apg-grid.card-view-medium>.apg-card{
    position:relative!important;
    display:grid!important;
    grid-template-columns:46% 54%!important;
    grid-template-rows:112px 24px!important;
    width:100%!important;
    height:136px!important;
    min-height:136px!important;
    max-height:136px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #dfe4e9!important;
    border-radius:7px!important;
    box-shadow:none!important;
    outline:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
    background:#fff!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media{
    position:relative!important;
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    height:112px!important;
    min-height:112px!important;
    max-height:112px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider,
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider>img:first-child{
    width:100%!important;
    height:112px!important;
    min-height:112px!important;
    max-height:112px!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-body{
    grid-column:2!important;
    grid-row:1!important;
    width:100%!important;
    height:112px!important;
    min-height:112px!important;
    max-height:112px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.j538-card-footer{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
    height:24px!important;
    min-height:24px!important;
    max-height:24px!important;
    margin:0!important;
    padding:0!important;
    box-sizing:border-box!important;
  }
}

/* ===== PG-GALLERY-MOBILE-001 ===== */
@media (max-width:900px){
  html body .v064-home.j515-unified-gallery{
    width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;overflow-x:hidden!important;background:#fff!important;
  }
  html body .v064-home.j515-unified-gallery #featured,
  html body .v064-home.j515-unified-gallery .v064-featured{
    display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0 10px 92px!important;background:#fff!important;overflow:visible!important;
  }
  html body .v064-home.j515-unified-gallery .v064-cars-row.apg-grid.card-view-medium{
    display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;background:#fff!important;overflow:visible!important;
  }
  html body .v064-home.j515-unified-gallery .v064-cars-row.apg-grid.card-view-medium>.apg-card{
    position:relative!important;
    display:grid!important;
    grid-template-columns:52% 48%!important;
    grid-template-rows:136px!important;
    width:100%!important;
    height:136px!important;
    min-height:136px!important;
    max-height:136px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-bottom:1px solid #efc5a6!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
    overflow:hidden!important;
    direction:ltr!important;
    box-sizing:border-box!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media{
    position:relative!important;
    grid-column:1!important;
    grid-row:1!important;
    width:100%!important;
    height:136px!important;
    min-height:136px!important;
    max-height:136px!important;
    margin:0!important;
    padding:0 0 24px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    overflow:hidden!important;
    z-index:9!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider{
    display:block!important;
    width:100%!important;
    height:112px!important;
    min-height:112px!important;
    max-height:112px!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:#eef1f3!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider>img{
    width:100%!important;
    height:112px!important;
    min-height:112px!important;
    max-height:112px!important;
    margin:0!important;
    padding:0!important;
    object-fit:cover!important;
    object-position:center!important;
    border-radius:7px!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-slider>img:not(:first-child){display:none!important}
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-dots{
    display:flex!important;position:absolute!important;left:50%!important;bottom:24px!important;transform:translateX(-50%)!important;gap:2px!important;height:7px!important;align-items:center!important;z-index:6!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-dots i{display:block!important;width:4px!important;height:4px!important;border-radius:50%!important;background:#4e5963!important;margin:0!important}
  html body .v064-home.j515-unified-gallery .apg-card>.apg-media .apg-media-dots i.is-active{background:#ef6517!important}

  html body .v064-home.j515-unified-gallery .apg-card>.apg-body{
    position:relative!important;
    grid-column:2!important;
    grid-row:1!important;
    display:block!important;
    width:100%!important;
    height:136px!important;
    min-height:136px!important;
    max-height:136px!important;
    margin:0!important;
    padding:2px 10px 2px 6px!important;
    box-sizing:border-box!important;
    background:#fff!important;
    overflow:hidden!important;
    direction:rtl!important;
    text-align:right!important;
    z-index:9!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card .jam-mobile-card-copy{
    display:grid!important;
    grid-template-columns:100%!important;
    grid-template-rows:22px 14px 18px 18px 22px 1fr 16px 16px!important;
    width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    direction:rtl!important;
    text-align:right!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card .j541-card-middle,
  html body .v064-home.j515-unified-gallery .apg-card .j541-card-bottom{display:contents!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line{display:block!important;width:100%!important;max-width:100%!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;margin:0!important;padding:0!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-title{grid-row:1!important;font-size:14.5px!important;font-weight:900!important;line-height:20px!important;color:#e96b17!important;padding-top:1px!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-spec{grid-row:3!important;font-size:11.5px!important;font-weight:700!important;line-height:18px!important;color:#171717!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-condition{grid-row:4!important;font-size:11.5px!important;font-weight:700!important;line-height:18px!important;color:#171717!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-price{grid-row:5!important;font-size:13px!important;font-weight:900!important;line-height:21px!important;color:#111!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-location{grid-row:7!important;font-size:10.5px!important;font-weight:800!important;line-height:16px!important;color:#50545a!important}
  html body .v064-home.j515-unified-gallery .apg-card .jam-card-line-date{grid-row:8!important;font-size:9.5px!important;font-weight:600!important;line-height:16px!important;color:#68727d!important}

  html body .v064-home.j515-unified-gallery .apg-card>.j538-card-footer,
  html body .v064-home.j515-unified-gallery .apg-card .j524-desktop-status,
  html body .v064-home.j515-unified-gallery .apg-card .j139-card-status{display:none!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save,
  html body .v064-home.j515-unified-gallery .apg-card .apg-approved,
  html body .v064-home.j515-unified-gallery .apg-card .apg-click-count{
    display:flex!important;position:absolute!important;bottom:0!important;height:24px!important;min-height:24px!important;max-height:24px!important;align-items:center!important;z-index:12!important;background:#fff!important;box-sizing:border-box!important;
  }
  html body .v064-home.j515-unified-gallery .apg-card .apg-click-count{left:0!important;width:33.333%!important;justify-content:center!important;color:#ef6517!important;font-size:11px!important;font-weight:800!important;border-right:1px solid #edf0f2!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-click-count::before{content:'◉'!important;font-size:14px!important;margin-right:4px!important;color:#ef6517!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save{left:33.333%!important;width:33.333%!important;justify-content:center!important;color:#4d5660!important;border:0!important;border-right:1px solid #edf0f2!important;border-left:1px solid #edf0f2!important;padding:0!important;margin:0!important;pointer-events:auto!important;z-index:20!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save svg{display:block!important;width:17px!important;height:17px!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save.is-saved{color:#ef6517!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-mobile-save.is-saved svg{fill:#ef6517!important;stroke:#ef6517!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-approved{left:66.666%!important;width:33.334%!important;justify-content:center!important;color:#169b5b!important;font-size:10.5px!important;font-weight:800!important;white-space:nowrap!important}
  html body .v064-home.j515-unified-gallery .apg-card .apg-viewed-marker{display:none!important}
  html body .v064-home.j515-unified-gallery .apg-card>.j517-card-hitarea{position:absolute!important;inset:0!important;z-index:8!important;display:block!important}

  html body .j579-unified-toolbar,
  html body .j579-filter-backdrop,
  html body .j503-sidebar,
  html body.j503-gallery-desktop .j503-sidebar{display:none!important}
}
