.remi-wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #111827;
}

.remi-search-bar {
  display: flex;
  gap: 12px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  align-items: center;
}

.remi-search-bar input,
.remi-search-bar select {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.95rem;
  outline: none;
  background: #ffffff;
  color: #111827;
}

.remi-search-bar input {
  flex: 1;
}

.remi-search-bar input::placeholder {
  color: #9ca3af;
}

.remi-search-bar select {
  min-width: 180px;
  background: #ffffff;
}

.remi-container {
  display: flex;
  min-height: 700px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
  background: #ffffff;
}

.remi-list-wrapper {
  width: 380px;
  border-right: 1px solid #e5e7eb;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
}

.remi-list-header {
  padding: 22px 22px 16px;
  border-bottom: 1px solid #e5e7eb;
  background: #f8fafc;
}

.remi-list-title-wrap {
  margin-bottom: 16px;
}

.remi-list-label {
  margin: 0 0 6px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #d63328;
}

.remi-list-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.15;
  color: #111827;
}

.remi-list-body {
  flex: 1;
  overflow-y: auto;
  background: #ffffff;
  max-height: calc(100vh - 200px);
}

#list {
  list-style: none;
  margin: 0;
  padding: 18px;
  overflow-y: auto;
}

#list li {
  display: flex;
  gap: 12px;
  padding: 18px 16px;
  align-items: flex-start;
  cursor: pointer;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.8);
  margin-bottom: 14px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

#list li:hover {
  transform: translateY(-1px);
  background: #f8fafc;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.remi-item-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #b91c1c;
  margin-top: 6px;
  flex-shrink: 0;
}

.remi-item-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.remi-item-category {
  font-size: 0.7rem;
  color: #6b7280;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.remi-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
}

.remi-item-subtitle {
  font-size: 0.92rem;
  color: #4b5563;
}

#map {
  flex: 1;
  min-height: 100%;
}

@media (max-width: 1024px) {
  .remi-container {
    flex-direction: column;
    min-height: auto;
  }

  .remi-list-wrapper {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }

  #map {
    min-height: 480px;
  }
}

@media (max-width: 640px) {
  .remi-search-bar {
    flex-direction: column;
    gap: 10px;
  }

  .remi-search-bar select {
    width: 100%;
    min-width: auto;
  }

  #list li {
    padding: 16px;
  }
}

#list li {
  display: flex;
  gap: 12px;
  padding: 18px 14px;
  align-items: flex-start;
  cursor: pointer;
  border-bottom: 1px solid #f2f4f7;
  transition: background 0.15s ease;
}

#list li:hover {
  background: #f8fafc;
}

.remi-item-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #b91c1c;
  margin-top: 6px;
  flex-shrink: 0;
}

.remi-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.remi-item-category {
  font-size: 0.72rem;
  color: #6b7280;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.remi-item-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.remi-item-subtitle {
  font-size: 0.92rem;
  color: #475569;
}

#map {
  flex: 1;
  min-height: 100%;
}

@media (max-width: 960px) {
  .remi-container {
    flex-direction: column;
    min-height: 520px;
  }

  .remi-list-wrapper {
    width: 100%;
    max-height: 320px;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
}
