/* Add custom CSS styles below */ 
/* الحاوية: 4 في الصف على الديسكتوب */
.s-block--square-photos > div {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  direction: rtl;
  background: transparent !important;
  padding: 20px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

/* كل صورة */
.s-block--square-photos .banner-entry {
  display: block !important;
  position: relative;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;      /* غيّرها حسب نسبة صورك */
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;  /* الصورة كاملة من غير قص */
  border: 0 !important;
  border-radius: 12px;
  box-shadow: none !important;
  overflow: hidden;
  transition: transform .3s ease;
}
.s-block--square-photos .banner-entry:hover {
  transform: scale(1.04);
}

/* موبايل وتابلت: 2 في الصف */
@media (max-width: 767px) {
  .s-block--square-photos > div {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    padding: 12px;
  }
}