/* Research page styles */

.map-container {
  height: 480px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 48px;
}

/* Override Leaflet popup defaults */
.leaflet-popup-content-wrapper {
  background: #1a1a1a !important;
  color: #f0f0f0 !important;
  border: 1px solid #2e2e2e;
  border-radius: 8px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.6) !important;
}

.leaflet-popup-tip {
  background: #1a1a1a !important;
}

.popup-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #00c2a8;
  margin-bottom: 6px;
  line-height: 1.3;
}

.popup-desc {
  font-size: 0.82rem;
  color: #aaa;
  margin: 6px 0;
  line-height: 1.5;
}

.popup-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: #00c2a8;
  font-weight: 500;
}

.popup-link:hover { color: #00e5c8; }

/* Field project cards grid */
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.field-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.field-card .country {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.field-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
}

.field-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.6;
}

.field-card a {
  font-size: 0.85rem;
  font-weight: 500;
}

/* Research papers */
.paper-card {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 28px;
  margin-bottom: 20px;
}

.paper-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 8px 0 10px;
  line-height: 1.4;
}

.paper-abstract {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.paper-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.paper-link-muted {
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: default;
}

@media (max-width: 768px) {
  .field-grid { grid-template-columns: 1fr; }
  .map-container { height: 320px; }
}
