/* ============================================================
   PROPERTYDEAL — Listing Page Sidebar Post Property Card
   File: listing_sidebar_post_property.css
   Usage: Pair with listing_sidebar_post_property.html
   Tip: In your layout, give the aside position:sticky; top:80px
   ============================================================ */

/* ── Scoped reset ── */
.pp-sidebar-card *,
.pp-sidebar-card *::before,
.pp-sidebar-card *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Card container ── */
.pp-sidebar-card {
  background: #ffffff;
  border: 1px solid var(--pd-border, #e2e8f0);
  border-radius: 20px;
  padding: 24px 20px 20px;
  font-family: var(--pd-font-sans), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
  max-width: 100%;
  box-shadow: 0 8px 40px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* ── Header: title + badge ── */
.pp-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}

.pp-sidebar-title {
  font-size: 14px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.3;
}

.pp-sidebar-badge {
  background: #E8F5E9;
  color: #1B5E20;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  border: 1px solid #A5D6A7;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Checklist ── */
.pp-sidebar-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.pp-sidebar-check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  color: #444;
  line-height: 1.5;
}

.pp-check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #E8F5E9;
  border: 1px solid #A5D6A7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ── CTA button ── */
.pp-sidebar-btn {
  display: block;
  width: 100%;
  background: #E65100;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 12px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  letter-spacing: 0.01em;
}

.pp-sidebar-btn:hover {
  background: #BF360C;
}

.pp-sidebar-btn:active {
  transform: scale(0.98);
}

/* ── Responsive: if used outside sidebar on mobile ── */
@media (max-width: 768px) {
  .pp-sidebar-card {
    max-width: 100%;
    border-radius: 10px;
    padding: 16px 14px;
  }

  .pp-sidebar-title {
    font-size: 13px;
  }

  .pp-sidebar-check-item {
    font-size: 12px;
  }
}
