.ml-cwall {
  margin: 0 auto;
}

.ml-module-title {
  position: relative;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  color: #2b2723;
  margin: 0 0 28px 0;
  padding-bottom: 12px;
}

.ml-module-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background-color: #c5a86a;
  border-radius: 2px;
}

.ml-cwall__grid {
  display: grid;
  grid-template-columns: repeat(var(--ml-gc-xl, 6), minmax(0, 1fr));
  gap: 20px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ml-cwall__item {
  width: 100%;
  min-width: 0;
}

.ml-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #2b2723;
  transition: color 0.25s ease;
}

.ml-tile__img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background-color: #e6d8c5;
  box-shadow: 0 2px 10px rgba(43, 39, 35, 0.04);
}

.ml-tile__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.ml-cwall--hover .ml-tile:hover .ml-tile__img img {
  transform: scale(1.04);
}

.ml-cwall--hover .ml-tile:hover .ml-tile__name {
  color: #9e8147;
}

.ml-tile__name {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  color: #2b2723;
  transition: color 0.25s ease;
}

@media (max-width: 1199px) {
  .ml-cwall__grid {
    grid-template-columns: repeat(var(--ml-gc-lg, 6), minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .ml-cwall__grid {
    grid-template-columns: repeat(var(--ml-gc-md, 4), minmax(0, 1fr));
    gap: 18px 12px;
  }
}

@media (max-width: 575px) {
  .ml-cwall__grid {
    grid-template-columns: repeat(var(--ml-gc-xs, 2), minmax(0, 1fr));
    gap: 16px 12px;
  }

  .ml-module-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .ml-tile__img {
    border-radius: 12px;
  }
}
