html,
body {
  margin: 0;
  padding: 0;
}

#map {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
}

#selectContainer {
  position: fixed;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 11px 0;
}

select#countries {
  width: 250px;
  margin: 0 auto;
  text-align: center;
  display: block;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Leaflet tooltip styling */
.city-tooltip {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.city-tooltip::before {
  border-top-color: white;
}

.news-articles {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.news-article-item {
  display: flex;
  flex-direction: row;
}

.news-article-image {
  width: 200px;
  min-width: 200px;
  height: 150px;
  overflow: hidden;
  background: #f5f5f5;
}

.news-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-no-image {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-article-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-article-content h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
}

.news-article-content a {
  color: #2c3e50;
  text-decoration: none;
}

.news-article-content a:hover {
  color: #3498db;
}

.news-article-description {
  color: #666;
  margin: 10px 0;
  line-height: 1.5;
  font-size: 14px;
  flex: 1;
}

.news-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 12px;
  color: #888;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #eee;
}

@media (max-width: 576px) {
  .news-article-item {
    flex-direction: column;
  }

  .news-article-image {
    width: 100%;
    height: 200px;
  }
}
