.ph-title {
  font-size: 28px;
  color: #222;
}

.ph-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.ph-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: 0.3s;
}
.gallery-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.ph-card:hover img {
  transform: scale(1.05);
}

.ph-page {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ph-page .pg {
  padding: 6px 12px;
  border: 1px solid #28a745;
  color: #28a745;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.ph-page .pg:hover,
.ph-page .pg.active {
  background: #28a745;
  color: #fff;
}

.ph-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.ph-m-box {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.ph-m-box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.ph-close {
  position: absolute;
  top: -40px;
  right: -30px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}
