/* ====================== Tiles Layout ====================== */
.tiles-container {
  background: var(--color-card-background);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem;
}

.tile {
  flex: 1 1 calc(50% - 0.75rem);
  min-width: 0;
  background-color: var(--color-surface-dark);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.tile:hover {
  background-color: var(--color-surface-hover);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.tile-img {
  width: 45%;
  height: auto;
  max-width: 100%;
  display: block;
  border: 0;
}

@media screen and (max-width: 600px) {
    .tiles-container {
        flex-direction: column;
    }

    .tile {
        flex: 1 1 100%;
    }

}

@media screen and (min-width: 601px) and (max-width: 768px) {
    .tiles-container {
        flex-direction: column;
        }

    .tile {
        flex: 1 1 100%;
    }
}

@media screen and (min-width: 769px) {
    .tiles-container {
        flex-direction: row;
    }

    .tile {
        flex: 1 1 calc(50% - 0.75rem);
    }
}