:root {
  --sani-primary: #964B00;
  --sani-text: #333;
  --sani-bg: #F5F5DC;
}

.strip {
  position: relative;
  padding: 2rem 0;
  background-color: var(--sani-bg);
}

.strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #ccc;
  opacity: 0.2;
}

.strip h2 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--sani-text);
  margin-bottom: 1rem;
}

.strip h2 span {
  font-size: 1rem;
  font-weight: normal;
  color: var(--sani-primary);
  margin-left: 0.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.tile {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.tile:hover img {
  transform: scale(1.1);
}

.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.tile:hover::before {
  opacity: 1;
}

.cap {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  color: var(--sani-text);
  font-size: 0.8rem;
  font-weight: bold;
  text-align: center;
}

.cap:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }
}