* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f6f8fa;
  color: #1f2933;
}

header {
  background: #9b0a7d;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

header h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #ffffff;
}

header p {
  margin: 0.3rem 0 0;
  color: #d1d1d1;
  font-size: 0.9rem;
}

.filters {
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.filters input {
  width: 100%;
  padding: 0.6rem 0.7rem;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}

.layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 1rem;
}

.map-wrapper {
  height: 45vh;
}

#map {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  border: 1px solid #d1d5db;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 0.9rem;
  border: 1px solid #e5e7eb;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.card span {
  font-size: 0.85rem;
  color: #4b5563;
}

@media (max-width: 380px) {
  header h1 {
    font-size: 1.3rem;
  }

  .map-wrapper {
    height: 40vh;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 0.8rem;
  }
}

@media (min-width: 900px) {
  .layout {
    grid-template-columns: 1.2fr 1fr;
    height: calc(100vh - 150px);
  }

  .map-wrapper {
    height: 100%;
    position: sticky;
    top: 110px;
  }

  .cards {
    overflow-y: auto;
    padding-right: 0.5rem;
  }
}

html::-webkit-scrollbar {
  display: none;
}

html {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}