/** @format */

.header {
  position: relative;
  padding: 0;
}

.header-content {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  position: relative;
  min-height: 140px;
}

.header-text {
  flex: 1;
  z-index: 1;
  padding: 32px 0 32px 32px;
}

.header-map {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 240px;
  height: 100%;
  border-radius: 0 8px 0 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

#headerMap {
  width: 100%;
  height: 100%;
}
.fun-fact-box {
  position: fixed;
  bottom: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  background: #fff8dc;
  border: 2px solid #fbc02d;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  padding: 18px;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  transition: bottom 0.6s ease-in-out, opacity 0.3s ease;
}

.fun-fact-box.show {
  bottom: 30px;
  opacity: 1;
}

.fun-fact-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #f57f17;
}

.fun-fact-close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #666;
}

.fun-fact-text {
  margin-top: 10px;
  font-size: 14px;
  color: #333;
}

@keyframes clap-pop {
  0% { transform: scale(1); }
  100% { transform: scale(1.2); }
}
@media (max-width: 900px) {
  .header-map {
    width: 160px;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    min-height: unset;
  }

  .header-map {
    position: static;
    width: 100%;
    height: 150px;
    border-radius: 0 0 8px 8px;
    margin-top: 10px;
  }

  .header-text {
    padding: 24px 0 0 0;
  }
}
/*
 * Sets the text size for image captions.
 */
.caption {
  font-size: 0.85em;
  font-style: normal;
  color: #555;
  margin-top: 6px;
}
.credit {
  font-size: 0.75em;
  color: #888;
  margin-top: 2px;
}
/* Alerts Section */
.alerts-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.alert-item {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.alert-header {
  background: #f8f9fa;
  padding: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
}

.alert-header:hover {
  background: #e9ecef;
}

.alert-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-icon {
  font-size: 1.2em;
}

.alert-toggle {
  font-size: 0.8em;
  transition: transform 0.2s;
}

.alert-content {
  padding: 15px;
  display: none;
  border-top: 1px solid #ddd;
}

.alert-content.show {
  display: block;
}

.alert-headline {
  font-weight: 600;
  margin-bottom: 10px;
}

.alert-times {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 10px;
}

.alert-description {
  line-height: 1.5;
}
