@import url("https://fonts.googleapis.com/css2?family=Arimo&display=swap");

body {
  font-family: "Arimo", Arial, sans-serif;
  padding: 2rem;
  background: #fafafa;
  color: #111;
  line-height: 1.6;
}

.incident-list {
  list-style: none;
  padding: 0;
}

.incident-list li {
  margin-bottom: 0.5rem;
}

.incident-list .date {
  font-weight: bold;
  margin-right: 0.5rem;
  color: #666;
}

a {
  text-decoration: none;
  color: #007acc;
}

a:hover {
  text-decoration: underline;
}

.pagination {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.pagination button {
  padding: 8px 14px;
  cursor: pointer;
  border: none;
  background: rgba(255, 193, 193, 0.6);
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(255, 0, 0, 0.2);
  color: white;
  white-space: nowrap;
  user-select: none;
}

.pagination button:hover:not(:disabled) {
  background-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

.pagination button:disabled {
  background-color: rgba(204, 102, 102, 0.6);
  color: #eee;
  box-shadow: none;
  cursor: default;
}

.pagination .page-numbers {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.pagination .page-numbers button.active {
  background-color: rgba(255, 0, 0, 0.5);
  font-weight: 700;
  pointer-events: none;
}

.pagination .dots {
  padding: 8px 14px;
  color: #666;
  user-select: none;
}

@media (max-width: 767px) {
  .pagination button {
    padding: 6px 10px;
  }
}

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

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

.tweet-item {
  border-radius: 12px;
  padding: 6px 0;
  border: 1px solid #ddd;
  background: white;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 1rem;
  display: block;
}

.tweet-item .date {
  font-size: 0.9rem;
  color: #888;
  font-weight: 600;
  margin-bottom: 0.5rem;
  padding-left: 12px;
}

.archive-item {
  padding: 0 12px;
}

.archive-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #007acc;
  display: block;
  margin-bottom: 0.5rem;
}

.archive-title:hover {
  text-decoration: underline;
}

.archive-summary {
  font-size: 0.9rem;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.site-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  top: -40px;
}

.header-wrapper {
  display: inline-block;
  text-align: center;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.logo {
  width: 50px;
  height: auto;
  display: block;
  margin: 0;
}

.site-title {
  margin: 0;
  font-weight: 800;
  font-size: 1.5rem;
  display: inline-block;
  margin-left: -4px;
  padding-left: 0;
  user-select: none;
}

.red-text {
  color: #000000;
}

.black-text {
  color: hsl(0, 100%, 33%);
}

.site-subtitle {
  margin-top: 0.1rem;
  color: #111;
  font-weight: 400;
  font-size: 0.88rem;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

#map-container {
  position: relative;
  width: 100%;
  height: 400px;
  margin: 20px 0;
  border: 1px solid #ccc;
}

#map {
  width: 100%;
  height: 100%;
}

.filter-buttons {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 1000;
  padding: 6px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  flex-wrap: nowrap;
}

.filter-buttons button {
  padding: 8px 14px;
  cursor: pointer;
  border: none;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  user-select: none;
}

.filter-buttons button:hover {
  background-color: rgba(255, 0, 0, 0.15);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.filter-buttons button.active {
  background-color: rgba(255, 0, 0, 0.1);
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.1);
  font-weight: 700;
  color: #800000;
  pointer-events: none;
}

.hamburger {
  display: flex;
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1100;
  cursor: pointer;
  width: 28px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger div {
  height: 4px;
  background: #333;
  border-radius: 2px;
}

.main-menu {
  position: fixed;
  top: 0;
  left: -300px;
  width: 250px;
  height: 100vh;
  background: white;
  padding: 1rem;
  padding-top: 60px;
  transition: left 0.3s ease;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  z-index: 1099;
}

.main-menu.open {
  left: 0;
}

.main-menu ul {
  list-style: none;
  padding: 0;
}

.main-menu li + li {
  margin-top: 1rem;
}

.main-menu a {
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.main-menu a.active {
  color: #c00;
  font-weight: 700;
}

.ol-zoom {
  bottom: 10px !important;
  top: auto !important;
  left: 10px !important;
  right: auto !important;
  position: absolute !important;
  z-index: 1001;
}