.imgNum{

  border: solid 1px;
} 



.rectLi{
  border: solid 1px #ddd;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 70%;
  margin-bottom: 25px;
  min-height: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.rectLi:hover{
  border-color: #2196F3;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.2);
  background-color: #fafafa;
}

.rectLiImg {
  min-width: 160px !important;
  flex-shrink: 0 !important;
}

.block{
  width: 160px !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  height: 180px !important;
  margin-top: 0 !important;
  margin-right: 0 !important;
  border-radius: 0 !important;
}

.rectLiDetails{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 15px !important;
  gap: 0;
  margin-bottom: 0;
}

/* معلومات الإعلان مع خلفية فاتحة */
.post-info-container {
  background-color: #f5f9ff;
  padding: 12px;
  border-radius: 6px;
}

.post-title {
  font-size: 15px;
  font-weight: 600;
  color: #1565c0;
  margin: 0 0 8px 0;
  padding: 0;
  text-align: right;
  line-height: 1.4;
}

.post-title a {
  color: #1565c0 !important;
  text-decoration: none;
}

.post-title a:hover {
  color: #0d47a1 !important;
  text-decoration: underline;
}

.price-wrapper {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  display: inline-block;
  color: #d32f2f;
  font-weight: bold;
  font-size: 1.1em;
  margin: 6px 0;
}

.price-wrapper span {
  color: #d32f2f;
}

.post-meta {
  font-size: 0.85em;
  color: #666;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  text-align: right;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-meta i {
  color: #2196F3;
  font-size: 0.9em;
}

.listingBtnsHolder{
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
}

.sellerPhone {
  width: auto;
  padding: 8px 16px;
  height: auto;
  background: #4CAF50 !important;
  border: none !important;
  color: white !important;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sellerPhone:hover {
  background: #45a049 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

/* Hide avatar image in post listings */
.listing-ownerImg {
  display: none;
}

.fRight{
  font-size: 16px;
}

@media only screen and (max-width: 600px) {
  .rectLi{
    width: 100%;
    min-height: auto;
    flex-direction: column;
  }

  .block{
    width: 100% !important;
    height: 150px !important;
  }

  .rectLiImg {
    width: 100% !important;
    min-width: 100% !important;
  }

  .rectLiDetails {
    padding: 12px !important;
  }

  .sellerPhone {
    width: 100%;
    margin-top: 8px;
  }
}

