/* =====================================================================
   BEST PROPERTY PLUG — DESKTOP PROPERTY LIST VIEW V80.5
   Final polish for the working V80.4 card. Desktop list view only.
   Scope: seller/footer, verification, metadata, CTA proportions,
   two-line titles and no-feature listing cleanup. Card size unchanged.
   ===================================================================== */
@media (min-width:1200px){
  /* Keep the exact V80.4 card geometry; polish only the inner hierarchy. */
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-card-title{
    font-weight:800!important;
    letter-spacing:-.014em!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-features{
    gap:6px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-features > span{
    min-height:27px!important;
    padding:4px 9px!important;
    border-color:#dce8e1!important;
    border-radius:8px!important;
    background:#f7faf8!important;
    color:#5d7167!important;
    font-size:10.5px!important;
    font-weight:700!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-features svg{
    width:13.5px!important;
    height:13.5px!important;
    min-width:13.5px!important;
  }

  /* If a listing (for example land) has no beds/baths/area, remove the empty row. */
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card.bpp-v805-no-features > .rpgp2-list-content{
    grid-template-areas:
      "category verification"
      "title title"
      "location location"
      "price price"
      "footer footer"!important;
    grid-template-rows:auto auto auto auto 1fr!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-features.bpp-v805-features-empty{
    display:none!important;
  }

  /* Seller / developer row: readable identity without stealing height. */
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row{
    min-height:52px!important;
    padding-top:10px!important;
    padding-right:298px!important;
    gap:0!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-avatar{
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    margin-right:9px!important;
    border:1px solid #e2ebe6!important;
    box-shadow:0 2px 7px rgba(14,73,49,.06)!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-avatar img{
    width:38px!important;
    height:38px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-copy{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
    min-width:0!important;
    max-width:205px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-copy span{
    margin:0 0 2px!important;
    color:#819088!important;
    font-size:9.25px!important;
    font-weight:700!important;
    line-height:1.05!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-copy strong{
    max-width:205px!important;
    color:#16261e!important;
    font-size:11.25px!important;
    font-weight:820!important;
    line-height:1.12!important;
  }

  /* Use the actual verification badge already supplied by the live markup. */
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row .verified-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:4px!important;
    min-height:26px!important;
    margin-left:10px!important;
    padding:5px 8px!important;
    border:1px solid #c8e8d7!important;
    border-radius:999px!important;
    background:#eef9f3!important;
    color:#067a48!important;
    font-size:8.75px!important;
    font-weight:850!important;
    line-height:1!important;
    white-space:nowrap!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row .verified-badge svg{
    width:13px!important;
    height:13px!important;
    min-width:13px!important;
    color:#08a05f!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row .verified-badge:after{
    content:"Verified"!important;
  }

  /* Clear CTA hierarchy: WhatsApp primary, Call and View secondary. */
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions.property-contact-actions--list{
    right:18px!important;
    bottom:14px!important;
    width:288px!important;
    min-width:288px!important;
    grid-template-columns:78px 112px 84px!important;
    gap:7px!important;
    align-items:center!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .property-contact-action,
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v804-details,
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v805-details{
    min-height:36px!important;
    padding:7px 9px!important;
    border-radius:9px!important;
    font-size:9.75px!important;
    font-weight:820!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .property-contact-action--call{
    border-color:#b9dcc9!important;
    background:#fff!important;
    color:#087847!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .property-contact-action--whatsapp{
    border-color:#00aa67!important;
    background:#07b56d!important;
    color:#fff!important;
    box-shadow:0 6px 16px rgba(0,174,104,.18)!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v804-details,
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v805-details{
    border:1px solid #cfe4d8!important;
    background:#f1f8f4!important;
    color:#087747!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .property-contact-action:hover,
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v804-details:hover,
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v805-details:hover{
    transform:translateY(-1px)!important;
  }
}

@media (min-width:1500px){
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row{
    padding-right:310px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-copy{
    max-width:225px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-copy strong{
    max-width:225px!important;
    font-size:11.75px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions.property-contact-actions--list{
    right:20px!important;
    bottom:15px!important;
    width:298px!important;
    min-width:298px!important;
    grid-template-columns:82px 116px 86px!important;
  }
}

@media (min-width:1200px) and (max-width:1399px){
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row{
    min-height:48px!important;
    padding-right:244px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-avatar{
    width:34px!important;height:34px!important;min-width:34px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-avatar img{
    width:34px!important;height:34px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-copy{
    max-width:155px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-copy strong{
    max-width:155px!important;
    font-size:10.25px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row .verified-badge{
    min-height:23px!important;
    margin-left:7px!important;
    padding:4px 6px!important;
    font-size:8px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .rpgp2-agent-row .verified-badge svg{
    width:11px!important;height:11px!important;min-width:11px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions.property-contact-actions--list{
    right:15px!important;
    bottom:12px!important;
    width:236px!important;
    min-width:236px!important;
    grid-template-columns:64px 92px 68px!important;
    gap:6px!important;
  }
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .property-contact-action,
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v804-details,
  html body #rpgp2-listing#rpgp2-listing article.rpgp2-list-card .property-contact-actions--list .bpp-v805-details{
    min-height:34px!important;
    padding:6px!important;
    font-size:8.75px!important;
  }
}
