/* ===========================
   PRACTICE AREAS PAGE ONLY
=========================== */

.practice-areas {
  padding: 5rem 0;
  background: #f8fafc;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.practice-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.practice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.practice-img {
  height: 180px;
  overflow: hidden;
}

.practice-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* prevents zoom / stretching */
  display: block;
}

.practice-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin: 1.2rem 1.2rem 0.5rem;
  color: #0f172a;
}

.practice-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0 1.2rem 1.5rem;
}

/* ===========================
   MOBILE POLISH (SAFE)
=========================== */

@media (max-width: 768px) {
  .practice-areas {
    padding: 4rem 0;
  }

  .practice-img {
    height: 160px;
  }

  .practice-card h3 {
    font-size: 1.2rem;
  }

  .practice-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .practice-areas {
    padding: 3.5rem 0;
  }

  .practice-img {
    height: 150px;
  }
}
