/* ===============================
   Placement Grid
================================ */
.itescs-placement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

/* ===============================
   Placement Card
================================ */
.placement-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.placement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* ===============================
   Fixed Image Size (IMPORTANT)
================================ */
.placement-image {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f2f2;
  margin-bottom: 14px;
}

.placement-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 FIXES ALL RATIO ISSUES */
}

/* ===============================
   Text Styling
================================ */
.placement-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 8px 0 4px;
  color: #1a1a1a;
}

.placement-card .position {
  font-size: 14px;
  font-weight: 500;
  color: #555;
}

.placement-card .company {
  font-size: 14px;
  font-weight: 600;
  color: #ff6600;
  margin: 4px 0;
}

.placement-card .location {
  font-size: 13px;
  color: #666;
}

/* ===============================
   Salary Badge
================================ */
.placement-card .salary {
  margin-top: 12px;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff9933, #ff6600);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

/* ===============================
   Mobile
================================ */
@media (max-width: 600px) {
  .placement-image {
    height: 190px;
  }
}
