.areas-gallery-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 12px;
  color: #222;
}

.areas-gallery {
  text-align: center;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 992px) {
  .areas-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
}

.areas-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.areas-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

/* Label always visible */
.areas-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 40px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  text-align: center;
  line-height: 40px;
  font-family: 'Hanken Grotesk', Sans-Serif;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

/* Mobile adjustment */
@media (max-width: 600px) {
  .areas-label {
    height: 30px;
    line-height: 30px;
    font-size: 14px; /* optional small tweak */
  }
}
/* Hover: zoom + label height increase */
.areas-item:hover img {
  transform: scale(1.08);
}

.areas-item:hover .areas-label {
  height: 43px;
  line-height: 43px;
}



/* Editor small tweaks so controls don't collide */
.wp-block[data-type="imran/areas-gallery"] .areas-item {
  margin-bottom: 8px;
}
