
    body {
      background-color: #f9fafc;
  
      color: #1a1a1a;
      line-height: 1.8;
      margin: 0;
      padding: 0;
    }

    .container {
      max-width: 900px;
      margin: 60px auto;
      background-color: #fff;
      padding: 40px;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.08);
      margin-top: 80px;      
    }

    .post-title {
      font-size: 32px;
      font-weight: bold;
      color: #005baa;
      margin-bottom: 20px;
    }

    .post-meta {
      font-size: 14px;
      color: #666;
      margin-bottom: 30px;
    }

    .post-cover {
      width: 100%;
      max-height: 400px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 30px;
    }

    .post-content {
      font-size: 17px;
      color: #333;
    }

    .post-tags {
      margin-top: 40px;
      font-size: 14px;
      color: #888;
    }

    .post-tags span {
      background-color: #eef2f7;
      padding: 6px 12px;
      margin: 0 6px;
      border-radius: 6px;
      display: inline-block;
    }

    .back-link {
      display: inline-block;
      margin-top: 50px;
      color: #005baa;
      text-decoration: none;
      font-weight: bold;
    }

    .back-link:hover {
      text-decoration: underline;
    }
    
    
    
.news-image  {
  width: 160px; /* ✅ اندازه منطقی در دسکتاپ */
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* حالت موبایل */
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
    align-items: flex-start;
  }

 .news-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}
 .news-image{
  width: 160px; /* ✅ اندازه منطقی در دسکتاپ */
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

/* حالت موبایل */
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
    align-items: flex-start;
  }

 .news-image {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

