/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* --- Desktop: 7 cột --- */
.image-row-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
  justify-items: center;
  align-items: center;
  margin: 0 auto;
  max-width: 1200px; /* Giới hạn chiều rộng */
  padding: 10px;
}

.image-row-7 img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-row-7 img:hover {
  transform: scale(1.05);
}

/* --- Tablet ngang (1024px trở xuống): 4 cột --- */
@media (max-width: 1024px) {
  .image-row-7 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Tablet dọc (768px trở xuống): 3 cột --- */
@media (max-width: 768px) {
  .image-row-7 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Điện thoại (480px trở xuống): 2 cột --- */
@media (max-width: 480px) {
  .image-row-7 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Màn hình rất nhỏ (360px trở xuống): 1 cột --- */
@media (max-width: 360px) {
  .image-row-7 {
    grid-template-columns: 1fr;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}