/* Properties Posted by Owner — listing & detail insight cards */
.owner-posted-properties-section {
  background: #f8fafc;
  border-top: 1px solid #eef2f6;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.owner-posted-properties-card-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.owner-posted-properties__arrow {
  width: 36px;
  height: 36px;
  border-color: #e2e8f0;
  color: #475569;
  background-color: #ffffff;
  transition: all 0.2s ease;
}

.owner-posted-properties__arrow:hover:not(:disabled),
.owner-posted-properties__arrow:active:not(:disabled) {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.owner-posted-properties__arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.owner-posted-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e8edf2;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.owner-posted-card:hover {
  transform: translateY(-3px);
  border-color: #d8e3ee;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.owner-posted-card:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.owner-posted-card__media {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #eef2f6;
}

.owner-posted-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.owner-posted-card__image--placeholder {
  object-fit: contain;
  padding: 2rem;
  background: #f8fafc;
}

.owner-posted-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 0.34rem 0.72rem;
  border-radius: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: #eaf2ff;
  border: 1px solid #bfdbfe;
  line-height: 1;
}

.owner-posted-card__posted-time {
  margin-bottom: 0.15rem;
}

.owner-posted-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1rem 1rem 1rem;
  flex: 1 1 auto;
}

.owner-posted-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.owner-posted-card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.owner-posted-card__price {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0d6efd;
  white-space: nowrap;
}

.owner-posted-card__location {
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.owner-posted-card__location i {
  color: #94a3b8;
  margin-right: 0.25rem;
}

.owner-posted-card__footer-slot {
  margin-top: auto;
  padding-top: 0.15rem;
}

.owner-posted-card__footer-swap {
  position: relative;
  height: 2.5rem;
  overflow: hidden;
}

.owner-posted-card__status,
.owner-posted-card__view-btn {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.owner-posted-card__status {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  line-height: 1.3;
  text-align: center;
  opacity: 1;
  transform: translateY(0);
  pointer-events: none;
}

.owner-posted-card__view-btn {
  opacity: 0;
  transform: translateY(100%);
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 0.75rem;
  border: none;
  box-shadow: none;
}

.owner-posted-card:hover .owner-posted-card__status,
.owner-posted-card:focus-within .owner-posted-card__status {
  opacity: 0;
  transform: translateY(-100%);
}

.owner-posted-card:hover .owner-posted-card__view-btn,
.owner-posted-card:focus-within .owner-posted-card__view-btn {
  opacity: 1;
  transform: translateY(0);
}

.owner-posted-properties-pagination {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.owner-posted-properties-pagination .pagination-text {
  font-size: 0.875rem;
  color: #64748b;
}

.pd-list-insight-slot .owner-posted-properties-section,
.pd-property-insights-wrap .owner-posted-properties-section {
  background: transparent;
  border-top: none;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pd-list-insight-slot .owner-posted-properties-card-wrapper,
.pd-property-insights-wrap .owner-posted-properties-card-wrapper {
  margin-bottom: 0;
}

.pd-explore-locality-section .owner-posted-properties-card-wrapper {
  padding: 1.25rem;
  border-radius: 20px;
}

@media (min-width: 768px) {
  .pd-explore-locality-section .owner-posted-properties-card-wrapper {
    padding: 1.5rem;
    border-radius: 24px;
  }
}

@media (max-width: 767.98px) {
  .owner-posted-properties-card-wrapper {
    padding: 1.25rem;
    border-radius: 18px;
  }

  .owner-posted-card__media {
    height: 180px;
  }
}
