.pg-section {
  padding: 50px 0;
  background: #f8f9fa;
}

.pg-title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.pg-title h2 {
  font-size: 2.5rem;
  color: #333;
  display: inline-block;
  background: #f8f9fa;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.pg-title::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #9f7e5e;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.pg-card-wrapper {
  margin-bottom: 30px;
}

.pg-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  display: block;
  text-decoration: none;
}

.pg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  text-decoration: none;
}

.pg-img-container {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.pg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pg-card:hover .pg-img {
  transform: scale(1.05);
}

.pg-content {
  padding: 20px;
  position: relative;
}

.pg-category {
  color: #9f7e5e;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.pg-name {
  color: #333;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 700;
}

.pg-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  padding: 15px;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pg-card:hover .pg-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .pg-title h2 {
      font-size: 2rem;
  }

  .pg-img-container {
      height: 350px;
  }

  .pg-name {
      font-size: 1.1rem;
  }
}