@charset "UTF-8";
html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .cities-page .city-list-container, .cities-page .unified-container, .bands-page .bands-list-container, .list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .bands-page .bands-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .bands-page .bands-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .festivals-page .control-btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .festivals-page .control-btn:hover, .cities-page .calendar-btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .festivals-page .control-btn:active, .cities-page .calendar-btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .festivals-page .control-btn:focus, .cities-page .calendar-btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input, .cities-page .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder, .cities-page .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link, .cities-page .modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .cities-page .city-list-container, .cities-page .unified-container, .bands-page .bands-list-container, .list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .bands-page .bands-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .bands-page .bands-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-header p {
    font-size: 0.875rem;
  }
  .btn, .festivals-page .control-btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern, .bands-page .band-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover, .bands-page .band-item:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .festivals-page .festival-list-header h3, .bands-page .bands-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .festivals-page .festivals-count, .cities-page .cities-count, .bands-page .bands-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .power-rankings .city-item, .festivals-page .festival-item, .cities-page .city-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .power-rankings .city-item:last-child, .festivals-page .festival-item:last-child, .cities-page .city-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .power-rankings .expanded.city-item, .festivals-page .expanded.festival-item, .cities-page .expanded.city-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .power-rankings .city-row, .festivals-page .festival-row, .cities-page .city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .power-rankings .city-row:hover, .festivals-page .festival-row:hover, .cities-page .city-row:hover {
  background: #f9fafb;
}

.item-info, .power-rankings .city-info, .festivals-page .festival-info, .cities-page .city-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .power-rankings .city-info a, .festivals-page .festival-info a, .cities-page .city-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .power-rankings .dances-toggle, .festivals-page .festival-toggle, .cities-page .city-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .power-rankings .dances-toggle:hover, .festivals-page .festival-toggle:hover, .cities-page .city-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .power-rankings .toggle-icon, .festivals-page .toggle-icon, .cities-page .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .power-rankings .dance-items, .festivals-page .festival-details, .cities-page .city-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .power-rankings .detail-section, .festivals-page .detail-section, .cities-page .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .power-rankings .section-title, .cities-page .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .power-rankings .detail-items, .cities-page .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .power-rankings .detail-item, .cities-page .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time, .cities-page .detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .power-rankings .detail-link, .cities-page .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon, .cities-page .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg, .cities-page .stat-icon svg {
  flex-shrink: 0;
}

.stat-count, .cities-page .stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container, .cities-page .filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn, .cities-page .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container, .cities-page .search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box, .cities-page .search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon, .cities-page .search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input, .cities-page .search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container, .cities-page .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container, .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box, .cities-page .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .power-rankings .detail-item, .cities-page .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .power-rankings .detail-link, .cities-page .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn, .cities-page .map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn, .cities-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn, .cities-page .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.soft-opening-banner {
  background: #ffedd5;
  color: #64748b;
  padding: 0.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
  border-bottom: 1px solid #fed7aa;
  position: relative;
  z-index: 1020;
  margin-bottom: 1.5rem;
}
.soft-opening-banner p {
  margin: 0;
  color: #9a3412;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.01em;
  opacity: 0.8;
}
.soft-opening-banner .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (max-width: 768px) {
  .soft-opening-banner {
    padding: 0.25rem 0;
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  .soft-opening-banner .container {
    padding: 0 0.5rem;
  }
}

body {
  padding-top: 0;
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .cities-page .city-list-container, .cities-page .unified-container, .bands-page .bands-list-container, .list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .bands-page .bands-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .bands-page .bands-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .festivals-page .control-btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .festivals-page .control-btn:hover, .cities-page .calendar-btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .festivals-page .control-btn:active, .cities-page .calendar-btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .festivals-page .control-btn:focus, .cities-page .calendar-btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input, .cities-page .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder, .cities-page .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link, .cities-page .modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .cities-page .city-list-container, .cities-page .unified-container, .bands-page .bands-list-container, .list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .bands-page .bands-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .bands-page .bands-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-header p {
    font-size: 0.875rem;
  }
  .btn, .festivals-page .control-btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern, .bands-page .band-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover, .bands-page .band-item:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .festivals-page .festival-list-header h3, .bands-page .bands-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .festivals-page .festivals-count, .cities-page .cities-count, .bands-page .bands-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .power-rankings .city-item, .festivals-page .festival-item, .cities-page .city-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .power-rankings .city-item:last-child, .festivals-page .festival-item:last-child, .cities-page .city-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .power-rankings .expanded.city-item, .festivals-page .expanded.festival-item, .cities-page .expanded.city-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .power-rankings .city-row, .festivals-page .festival-row, .cities-page .city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .power-rankings .city-row:hover, .festivals-page .festival-row:hover, .cities-page .city-row:hover {
  background: #f9fafb;
}

.item-info, .power-rankings .city-info, .festivals-page .festival-info, .cities-page .city-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .power-rankings .city-info a, .festivals-page .festival-info a, .cities-page .city-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .power-rankings .dances-toggle, .festivals-page .festival-toggle, .cities-page .city-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .power-rankings .dances-toggle:hover, .festivals-page .festival-toggle:hover, .cities-page .city-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .power-rankings .toggle-icon, .festivals-page .toggle-icon, .cities-page .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .power-rankings .dance-items, .festivals-page .festival-details, .cities-page .city-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .power-rankings .detail-section, .festivals-page .detail-section, .cities-page .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .power-rankings .section-title, .cities-page .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .power-rankings .detail-items, .cities-page .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .power-rankings .detail-item, .cities-page .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time, .cities-page .detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .power-rankings .detail-link, .cities-page .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon, .cities-page .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg, .cities-page .stat-icon svg {
  flex-shrink: 0;
}

.stat-count, .cities-page .stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container, .cities-page .filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn, .cities-page .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container, .cities-page .search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box, .cities-page .search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon, .cities-page .search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input, .cities-page .search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container, .cities-page .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container, .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box, .cities-page .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .power-rankings .detail-item, .cities-page .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .power-rankings .detail-link, .cities-page .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn, .cities-page .map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn, .cities-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn, .cities-page .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.bands-page .container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.bands-page .map-container, .bands-page .cities-page .map-container, .cities-page .bands-page .map-container {
  position: relative;
}
.bands-page .map-toggle-btn, .bands-page .cities-page .map-toggle-btn, .cities-page .bands-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.bands-page .map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.bands-page .map-controls, .bands-page .cities-page .map-controls, .cities-page .bands-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex !important;
  justify-content: center;
  width: 100%;
}
.bands-page .map-controls[style*="display: none"] {
  margin-bottom: 0;
}
.bands-page #map {
  aspect-ratio: 2/1;
  height: auto;
}
@media (max-width: 768px) {
  .bands-page #map {
    aspect-ratio: 1.5/1;
  }
}
.bands-page .bands-list-container .map-container, .bands-page .bands-list-container .cities-page .map-container, .cities-page .bands-page .bands-list-container .map-container {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.bands-page .bands-list-container .map-container #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}
.bands-page .bands-list {
  padding: 0.75rem;
}
.bands-page .country-section {
  margin-bottom: 1.25rem;
}
.bands-page .country-header {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 1px solid #535a69;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: none;
  margin-bottom: 0.75rem;
}
.bands-page .country-name {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.bands-page .country-count {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: auto;
}
.bands-page .country-bands {
  padding-left: 0.75rem;
}
.bands-page .city-section {
  margin-bottom: 1rem;
}
.bands-page .city-header {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  margin-bottom: 0.5rem;
}
.bands-page .city-name {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.bands-page .city-count {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.bands-page .city-bands {
  padding-left: 1rem;
}
.bands-page .band-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.bands-page .band-info {
  flex: 1;
}
.bands-page .band-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.bands-page .band-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}
.bands-page .city-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: auto;
}
.bands-page .city-link:hover {
  color: #535a69;
  text-decoration: underline;
}
.bands-page .band-festivals {
  margin-top: 0.5rem;
}
.bands-page .festival-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  margin: 0;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.bands-page .festival-toggle:hover {
  color: #535a69;
}
.bands-page .festival-count {
  display: inline;
}
.bands-page .festival-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}
.bands-page .festival-list {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #e5e7eb;
  transition: all 0.2s ease;
  overflow: hidden;
}
.bands-page .festival-list.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.bands-page .festival-list.expanded {
  max-height: 200px;
  opacity: 1;
}
.bands-page .festival-link {
  display: block;
  color: #535a69;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  margin: 0.25rem 0;
  transition: all 0.2s ease;
  word-break: break-all;
}
.bands-page .festival-link:hover {
  color: #484848;
  text-decoration: underline;
  transform: translateX(0.25rem);
}
.bands-page .band-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.bands-page .band-links a {
  margin-right: 1rem;
}
.bands-page .band-links a:last-child {
  margin-right: 0;
}
.bands-page .band-link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  transition: all 0.2s ease;
  box-shadow: none;
}
.bands-page .band-link:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.bands-page .band-link.main-link {
  color: #535a69;
}
.bands-page .band-link.tour-link {
  color: #64748b;
}
.bands-page .band-link.bandcamp-link {
  color: #64748b;
}
.bands-page .band-link svg {
  margin-right: 0.25rem;
  vertical-align: middle;
}
.bands-page .band-link .filter-icon, .bands-page .band-link .cities-page .filter-icon, .cities-page .bands-page .band-link .filter-icon {
  width: 14px;
  height: 14px;
}
.bands-page .band-link .bandcamp-icon {
  width: 16px;
  height: 10px;
}
.bands-page .no-bands {
  text-align: center;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  padding: 2.5rem 1.25rem;
  font-size: 1rem;
}
.bands-page .sort-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.bands-page .sort-controls label {
  color: #1e293b;
  font-weight: 600;
  font-size: 0.875rem;
}
.bands-page .sort-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: none;
}
.bands-page .sort-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}
.bands-page .filter-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.bands-page .filter-btn, .bands-page .cities-page .filter-btn, .cities-page .bands-page .filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
}
.bands-page .filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.bands-page .filter-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.bands-page .filter-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.bands-page .filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.bands-page .filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}
.bands-page .filter-icon, .bands-page .cities-page .filter-icon, .cities-page .bands-page .filter-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.bands-page .bandcamp-icon {
  flex-shrink: 0;
  width: 16px;
  height: 10px;
}
@media (max-width: 768px) {
  .bands-page .filter-controls {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .bands-page .sort-controls {
    justify-content: center;
  }
  .bands-page .band-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bands-page .band-links {
    justify-content: flex-start;
  }
  .bands-page .country-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .bands-page .country-count {
    margin-left: 0;
  }
}
.bands-page .map-container[style*="display: block"] ~ .map-controls, .bands-page .cities-page [style*="display: block"].map-container ~ .map-controls, .cities-page .bands-page [style*="display: block"].map-container ~ .map-controls, .bands-page .cities-page .map-container[style*="display: block"] ~ .map-controls, .bands-page .cities-page [style*="display: block"].map-container ~ .map-controls, .cities-page .bands-page .map-container[style*="display: block"] ~ .map-controls, .cities-page .bands-page [style*="display: block"].map-container ~ .map-controls {
  display: none !important;
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .cities-page .city-list-container, .cities-page .unified-container, .list-container, .bands-page .bands-list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-description, .bands-page .bands-list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .festivals-page .control-btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .festivals-page .control-btn:hover, .cities-page .calendar-btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .festivals-page .control-btn:active, .cities-page .calendar-btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .festivals-page .control-btn:focus, .cities-page .calendar-btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input, .cities-page .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder, .cities-page .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link, .cities-page .modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .cities-page .city-list-container, .cities-page .unified-container, .list-container, .bands-page .bands-list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-description, .bands-page .bands-list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p {
    font-size: 0.875rem;
  }
  .btn, .festivals-page .control-btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern, .bands-page .band-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover, .bands-page .band-item:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .festivals-page .festival-list-header h3, .bands-page .bands-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .festivals-page .festivals-count, .cities-page .cities-count, .bands-page .bands-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .power-rankings .city-item, .festivals-page .festival-item, .cities-page .city-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .power-rankings .city-item:last-child, .festivals-page .festival-item:last-child, .cities-page .city-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .power-rankings .expanded.city-item, .festivals-page .expanded.festival-item, .cities-page .expanded.city-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .power-rankings .city-row, .festivals-page .festival-row, .cities-page .city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .power-rankings .city-row:hover, .festivals-page .festival-row:hover, .cities-page .city-row:hover {
  background: #f9fafb;
}

.item-info, .power-rankings .city-info, .festivals-page .festival-info, .cities-page .city-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .power-rankings .city-info a, .festivals-page .festival-info a, .cities-page .city-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .power-rankings .dances-toggle, .festivals-page .festival-toggle, .cities-page .city-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .power-rankings .dances-toggle:hover, .festivals-page .festival-toggle:hover, .cities-page .city-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .power-rankings .toggle-icon, .festivals-page .toggle-icon, .cities-page .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .power-rankings .dance-items, .festivals-page .festival-details, .cities-page .city-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .power-rankings .detail-section, .festivals-page .detail-section, .cities-page .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .power-rankings .section-title, .cities-page .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .power-rankings .detail-items, .cities-page .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .power-rankings .detail-item, .cities-page .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time, .cities-page .detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .power-rankings .detail-link, .cities-page .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon, .cities-page .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg, .cities-page .stat-icon svg {
  flex-shrink: 0;
}

.stat-count, .cities-page .stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container, .cities-page .filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn, .cities-page .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container, .cities-page .search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box, .cities-page .search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon, .cities-page .search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input, .cities-page .search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container, .cities-page .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container, .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box, .cities-page .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .power-rankings .detail-item, .cities-page .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .power-rankings .detail-link, .cities-page .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn, .cities-page .map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn, .cities-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn, .cities-page .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.cities-page .search-section {
  padding: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.cities-page .map-icon {
  flex-shrink: 0;
}
.cities-page .map-section {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.cities-page #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 2/1;
  height: auto;
}
@media (max-width: 768px) {
  .cities-page #map {
    aspect-ratio: 1.5/1;
  }
}
.cities-page .map-toggle-text {
  white-space: nowrap;
}
.cities-page .map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.cities-page .map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.cities-page .map-container.map-hidden #map {
  display: none;
}
.cities-page #map {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}
.cities-page .city-list-container {
  margin-top: 1.5rem;
  padding: 0.75rem;
}
.cities-page .cities-count {
  margin-left: 0.75rem;
  white-space: nowrap;
}
.cities-page .city-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.cities-page .city-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.cities-page .city-stats {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.cities-page .city-item .location {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: #64748b;
}
.cities-page .calendar-link {
  margin: 0.5rem 0 0 0;
  font-size: 0.875rem;
}
.cities-page .calendar-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}
.cities-page .city-item .details {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
}
.cities-page .flag-icon {
  font-size: 1rem;
}
.cities-page .festival-dates {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.3;
}
.cities-page .festival-date {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin-right: 0.5rem;
}
.cities-page .festival-date.next {
  background: rgba(34, 139, 34, 0.1);
  color: #228B22;
  border: 1px solid rgba(34, 139, 34, 0.3);
}
.cities-page .festival-date.last {
  background: rgba(37, 99, 235, 0.1);
  color: #535a69;
  border: 1px solid rgba(37, 99, 235, 0.3);
}
.cities-page .nearby-cities-section {
  margin-top: 1rem;
}
.cities-page .nearby-cities-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cities-page .nearby-cities-loading {
  color: #64748b;
  font-style: italic;
  font-size: 0.875rem;
  padding: 0.5rem;
  text-align: center;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px dashed #d1d5db;
}
.cities-page .nearby-city-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.cities-page .nearby-city-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateX(0.25rem);
}
.cities-page .nearby-city-name {
  flex: 1;
  font-weight: 600;
  color: #535a69;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}
.cities-page .nearby-city-name:hover {
  color: #484848;
  text-decoration-color: #535a69;
}
.cities-page .nearby-city-distance {
  font-size: 0.75rem;
  color: #1e293b;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
}
.cities-page .nearby-city-country {
  font-size: 0.75rem;
  color: #64748b;
  opacity: 0.8;
  font-style: italic;
  white-space: nowrap;
}
.cities-page .city-link-section {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
}
.cities-page .city-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.cities-page .city-link-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.cities-page .city-link-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.cities-page .city-link-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.cities-page .link-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.cities-page .city-link-btn:hover .link-icon {
  opacity: 1;
}
.cities-page .city-item.highlighted {
  animation: cityHighlight 2s ease-in-out;
}
@keyframes cityHighlight {
  0% {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(37, 99, 235, 0.2);
  }
  50% {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15), 0 12px 40px rgba(37, 99, 235, 0.25);
  }
  100% {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: none;
  }
}
.cities-page .nearby-city-stats {
  display: inline-flex;
  gap: 0.5rem;
  margin-left: 0.5rem;
  align-items: center;
  vertical-align: middle;
}
.cities-page .band-name {
  font-weight: 600;
  color: #1e293b;
  margin-right: 0.5rem;
}
.cities-page .calendar-icon, .cities-page .bandcamp-icon {
  flex-shrink: 0;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.cities-page .band-festivals {
  color: #64748b;
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.8;
  margin-left: 0.25rem;
}
.cities-page .bands-section .detail-item {
  flex: 1 1 100%;
  max-width: 100%;
}
.cities-page .bands-section .detail-link {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.cities-page .bands-section .detail-link .band-name {
  flex-shrink: 0;
}
.cities-page .bands-section .detail-link .modern-link {
  flex-shrink: 0;
}
.cities-page .bands-section .detail-link .bandcamp-link {
  flex-shrink: 0;
}
.cities-page .bands-section .detail-link .band-festivals {
  flex-shrink: 0;
}
.cities-page .schools-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cities-page .schools-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  user-select: none;
}
.cities-page .schools-text {
  white-space: nowrap;
}
.cities-page .schools-count-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 50px;
}
.cities-page .schools-count-select:hover {
  border-color: #9ca3af;
}
.cities-page .schools-count-select:focus {
  outline: none;
  border-color: #535a69;
}
.cities-page .bands-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cities-page .bands-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  user-select: none;
}
.cities-page .bands-text {
  white-space: nowrap;
}
.cities-page .bands-count-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 50px;
}
.cities-page .bands-count-select:hover {
  border-color: #9ca3af;
}
.cities-page .bands-count-select:focus {
  outline: none;
  border-color: #535a69;
}
.cities-page .festivals-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cities-page .festivals-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  user-select: none;
}
.cities-page .festivals-text {
  white-space: nowrap;
}
.cities-page .festivals-count-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 50px;
}
.cities-page .festivals-count-select:hover {
  border-color: #9ca3af;
}
.cities-page .festivals-count-select:focus {
  outline: none;
  border-color: #535a69;
}
.cities-page .mobile-filter-toggle {
  display: none;
  justify-content: center;
  width: 100%;
  margin-top: 0.75rem;
}
.cities-page .filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.cities-page .filter-toggle-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.cities-page .filter-toggle-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.cities-page .filter-toggle-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.cities-page .filter-toggle-btn.active {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
}
.cities-page .filter-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .cities-page .search-box {
    flex: none;
  }
  .cities-page .cities-count {
    margin-left: 0;
    text-align: center;
  }
  .cities-page .mobile-filter-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .cities-page .filter-container {
    display: none;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    margin-top: 0.75rem;
  }
  .cities-page .sort-controls {
    justify-content: center;
  }
  .cities-page .band-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cities-page .band-links {
    justify-content: flex-start;
  }
  .cities-page .country-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .cities-page .country-count {
    margin-left: 0;
  }
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .list-container, .bands-page .bands-list-container, .cities-page .unified-container, .cities-page .city-list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-description, .bands-page .bands-list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .festivals-page .control-btn, .map-view-btn, .cities-page .map-view-btn, .cities-page .calendar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .festivals-page .control-btn:hover, .map-view-btn:hover, .cities-page .calendar-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .festivals-page .control-btn:active, .map-view-btn:active, .cities-page .calendar-btn:active {
  transform: translateY(0);
}
.btn:focus, .festivals-page .control-btn:focus, .map-view-btn:focus, .cities-page .calendar-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input, .cities-page .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder, .cities-page .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link, .cities-page .modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .festivals-page .festival-list-container, .list-container, .bands-page .bands-list-container, .cities-page .unified-container, .cities-page .city-list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .festivals-page .festival-list-description, .list-header, .festivals-page .festival-list-header, .bands-page .bands-list-description, .bands-page .bands-list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .festivals-page .festival-list-description p, .list-header p, .festivals-page .festival-list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p {
    font-size: 0.875rem;
  }
  .btn, .festivals-page .control-btn, .map-view-btn, .cities-page .map-view-btn, .cities-page .calendar-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern, .bands-page .band-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover, .bands-page .band-item:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .festivals-page .festival-list-header, .bands-page .bands-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .festivals-page .festival-list-header h3, .bands-page .bands-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .festivals-page .festivals-count, .bands-page .bands-count, .cities-page .cities-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .power-rankings .city-item, .festivals-page .festival-item, .cities-page .city-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .power-rankings .city-item:last-child, .festivals-page .festival-item:last-child, .cities-page .city-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .power-rankings .expanded.city-item, .festivals-page .expanded.festival-item, .cities-page .expanded.city-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .power-rankings .city-row, .festivals-page .festival-row, .cities-page .city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .power-rankings .city-row:hover, .festivals-page .festival-row:hover, .cities-page .city-row:hover {
  background: #f9fafb;
}

.item-info, .power-rankings .city-info, .festivals-page .festival-info, .cities-page .city-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .power-rankings .city-info a, .festivals-page .festival-info a, .cities-page .city-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .power-rankings .dances-toggle, .festivals-page .festival-toggle, .cities-page .city-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .power-rankings .dances-toggle:hover, .festivals-page .festival-toggle:hover, .cities-page .city-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .power-rankings .toggle-icon, .festivals-page .toggle-icon, .cities-page .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .power-rankings .dance-items, .festivals-page .festival-details, .cities-page .city-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .power-rankings .detail-section, .festivals-page .detail-section, .cities-page .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .power-rankings .section-title, .cities-page .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .power-rankings .detail-items, .cities-page .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .power-rankings .detail-item, .cities-page .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time, .cities-page .detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .power-rankings .detail-link, .cities-page .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon, .cities-page .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg, .cities-page .stat-icon svg {
  flex-shrink: 0;
}

.stat-count, .cities-page .stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container, .cities-page .filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn, .cities-page .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container, .cities-page .search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box, .cities-page .search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon, .cities-page .search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input, .cities-page .search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container, .cities-page .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container, .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box, .cities-page .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .power-rankings .detail-item, .cities-page .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .power-rankings .detail-link, .cities-page .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn, .cities-page .map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn, .cities-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn, .cities-page .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.festivals-page .timeline-container {
  margin-bottom: 1.25rem;
  padding: 0.75rem 0;
}
.festivals-page .timeline-header {
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.festivals-page .calendar-dropdown {
  position: relative;
  display: inline-block;
}
.festivals-page .calendar-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
  white-space: nowrap;
}
.festivals-page .calendar-dropdown-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.festivals-page .dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.festivals-page .calendar-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}
.festivals-page .calendar-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  z-index: 1000;
  min-width: 250px;
  margin-top: 0.25rem;
}
.festivals-page .calendar-dropdown.active .calendar-dropdown-content {
  display: block;
}
.festivals-page .calendar-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  background: #ffffff;
  color: #1e293b;
  white-space: nowrap;
  width: 100%;
  text-align: left;
}
.festivals-page .calendar-btn:last-child {
  border-bottom: none;
}
.festivals-page .calendar-btn:hover {
  background: #f9fafb;
  color: #1e293b;
}
.festivals-page .google-btn {
  background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
  color: #FFFFFF;
}
.festivals-page .google-btn:hover {
  background: linear-gradient(135deg, #34A853 0%, #4285F4 100%);
}
.festivals-page .btn-icon {
  font-size: 1rem;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.festivals-page .btn-label {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.festivals-page .timeline-slider-container {
  position: relative;
  padding: 0.75rem 0;
}
.festivals-page .timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.festivals-page .timeline-label {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
}
.festivals-page .timeline-track {
  position: relative;
  height: 40px;
  background: transparent;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  box-shadow: none;
}
.festivals-page .timeline-separators {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.festivals-page .timeline-separator {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}
.festivals-page .timeline-separator.year {
  width: 3px;
  background: rgba(255, 255, 255, 0.6);
}
.festivals-page .timeline-separator-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(139, 69, 19, 0.9);
  color: #94a3b8;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.festivals-page .timeline-festival-markers {
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  height: 20px;
  pointer-events: none;
  z-index: 3;
}
.festivals-page .timeline-range {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
}
.festivals-page .festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festivals-page .festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festivals-page .festival-item.highlighted {
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid #535a69;
  border-radius: 8px;
  box-shadow: none;
}
.festivals-page .timeline-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  background: transparent;
  outline: none;
  pointer-events: none;
  z-index: 2;
}
.festivals-page .timeline-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 2px solid #535a69;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
}
.festivals-page .timeline-slider::-webkit-slider-thumb:hover {
  background: #f9fafb;
}
.festivals-page .timeline-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 2px solid #535a69;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
}
.festivals-page .timeline-slider::-moz-range-thumb:hover {
  background: #f9fafb;
}
.festivals-page .timeline-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.festivals-page .date-picker {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}
.festivals-page .date-picker:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.festivals-page .date-picker:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .map-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.festivals-page .map-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}
.festivals-page .map-header-toggle {
  display: flex;
  align-items: center;
}
.festivals-page .map-header-toggle .date-filter-toggle {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin: 0;
  transition: all 0.2s ease;
}
.festivals-page .map-header-toggle .date-filter-toggle:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.festivals-page .map-header-toggle .toggle-label {
  font-size: 0.75rem;
  white-space: nowrap;
}
.festivals-page #festivalMap {
  aspect-ratio: 2/1;
  height: auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: none;
}
@media (max-width: 768px) {
  .festivals-page #festivalMap {
    aspect-ratio: 1.5/1;
  }
}
.festivals-page .festival-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}
.festivals-page .list-controls {
  display: flex;
  gap: 0.75rem;
}
.festivals-page .control-btn {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.festivals-page .festival-list {
  padding: 0.75rem;
}
.festivals-page .month-header {
  margin: 1.25rem 0 0.75rem 0;
  padding: 0 0.75rem;
}
.festivals-page .month-header:first-child {
  margin-top: 0.75rem;
}
.festivals-page .month-header-content {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none;
  position: relative;
}
.festivals-page .month-title {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.festivals-page .month-count {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}
.festivals-page .no-festivals {
  text-align: center;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  padding: 2.5rem 1.25rem;
  font-size: 1rem;
}
.festivals-page .month-festivals .festival-item:last-child {
  border-bottom: none;
}
.festivals-page .festival-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.festivals-page .festival-title-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.festivals-page .festival-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.festivals-page .festival-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}
.festivals-page .city-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: auto;
}
.festivals-page .city-link:hover {
  color: #535a69;
  text-decoration: underline;
}
.festivals-page .festival-dates {
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
  flex-shrink: 0;
}
.festivals-page .festival-styles {
  margin: 0.5rem 0;
  font-size: 0.75rem;
  color: #64748b;
}
.festivals-page .styles-label {
  font-weight: 600;
  margin-right: 0.5rem;
}
.festivals-page .festival-details {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.festivals-page .detail-section h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 0.25rem;
}
.festivals-page .detail-section p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: #3E2723;
}
.festivals-page .style-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 1rem 0;
}
.festivals-page .style-filter-btn {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.festivals-page .style-filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.festivals-page .style-filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .style-filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
}
.festivals-page .date-filter-options {
  display: flex;
  justify-content: center;
}
.festivals-page .date-filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  user-select: none;
}
.festivals-page .date-filter-toggle:hover {
  background: rgba(139, 69, 19, 0.05);
}
.festivals-page .toggle-checkbox {
  display: none;
}
.festivals-page .toggle-slider {
  position: relative;
  width: 50px;
  height: 24px;
  background: #d1d5db;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid #9ca3af;
}
.festivals-page .toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.festivals-page .toggle-checkbox:checked + .toggle-slider {
  background: #535a69;
  border-color: #535a69;
}
.festivals-page .toggle-checkbox:checked + .toggle-slider::before {
  transform: translateX(26px);
  background: #FFFFFF;
}
.festivals-page .toggle-label {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}
.festivals-page .no-dates-header {
  background: linear-gradient(135deg, #64748b 0%, #64748b 100%) !important;
  border-color: #64748b !important;
}
.festivals-page .no-dates-festival {
  border-left: 4px solid #64748b;
  background: rgba(100, 116, 139, 0.05);
}
.festivals-page .no-dates-festival .festival-row:hover {
  background: rgba(100, 116, 139, 0.08);
}
.festivals-page .no-dates-status {
  background: rgba(100, 116, 139, 0.1) !important;
  border-color: #64748b !important;
}
.festivals-page .no-dates-badge {
  color: #64748b;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.festivals-page .last-known-dates {
  margin: 0.5rem 0;
  font-size: 0.75rem;
  color: #64748b;
  font-style: italic;
}
.festivals-page .last-known-label {
  font-weight: 600;
  margin-right: 0.5rem;
}
.festivals-page .speculative-section {
  margin: 0.5rem 0 1rem 0;
  padding: 0 0.75rem;
}
.festivals-page .speculative-content {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #1e293b;
  font-style: italic;
}
.festivals-page .speculative-label {
  font-weight: 600;
  color: #1e293b;
  margin-right: 0.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.festivals-page .speculative-festivals {
  color: #1e293b;
  opacity: 0.8;
}
.festivals-page .speculative-link {
  color: #535a69;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted #535a69;
  transition: all 0.2s ease;
}
.festivals-page .speculative-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}
.festivals-page .list-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.festivals-page .filter-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.festivals-page .toggle-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.festivals-page .toggle-section .filter-btn {
  transition: none;
}
.festivals-page .filter-label {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.festivals-page .country-select {
  min-width: 200px;
  display: none;
}
.festivals-page .select2-container--default .select2-selection--single {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  color: #1e293b;
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
}
.festivals-page .select2-container--default .select2-selection--single:hover {
  border-color: #9ca3af;
}
.festivals-page .select2-container--default .select2-selection--single:focus {
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 3rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  color: #1e293b;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 100%;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #94a3b8;
  opacity: 1;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 3rem;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #64748b transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}
.festivals-page .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #64748b transparent;
  border-width: 0 4px 5px 4px;
}
.festivals-page .select2-dropdown {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.festivals-page .select2-container--default .select2-results__option {
  padding: 0.5rem 0.75rem;
  color: #1e293b;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}
.festivals-page .select2-container--default .select2-results__option:hover {
  background: #f9fafb;
  color: #1e293b;
}
.festivals-page .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #535a69;
  color: #FFFFFF;
}
.festivals-page .select2-container--default .select2-results__option[aria-selected=true] {
  background: #484848;
  color: #FFFFFF;
}
.festivals-page .select2-search--dropdown .select2-search__field {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.5rem 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  color: #1e293b;
}
.festivals-page .select2-search--dropdown .select2-search__field:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .control-buttons {
  display: flex;
  gap: 0.75rem;
}
.festivals-page .mobile-filter-toggle {
  display: none;
  justify-content: center;
  width: 100%;
}
.festivals-page .filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.festivals-page .filter-toggle-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.festivals-page .filter-toggle-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.festivals-page .filter-toggle-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.festivals-page .filter-toggle-btn.active {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
}
.festivals-page .filter-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .festivals-page .calendar-dropdown-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .festivals-page .btn-icon {
    font-size: 0.875rem;
  }
  .festivals-page .calendar-dropdown-content {
    min-width: 220px;
  }
  .festivals-page .style-filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  .festivals-page .style-filter-btn {
    width: 200px;
    text-align: center;
  }
  .festivals-page .mobile-filter-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .festivals-page .list-controls {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    margin-top: 0.75rem;
  }
  .festivals-page .festival-list-header {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .festivals-page .festivals-count {
    align-self: center;
    margin-top: 0.5rem;
  }
  .festivals-page .filter-section {
    justify-content: center;
    align-items: center;
  }
  .festivals-page .control-buttons {
    justify-content: center;
  }
  .festivals-page .country-select {
    min-width: 180px;
  }
  .festivals-page .toggle-section {
    justify-content: center;
  }
  .festivals-page .date-filter-toggle {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .festivals-page .toggle-label {
    font-size: 0.75rem;
  }
  .festivals-page .map-header-toggle .date-filter-toggle {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
  }
  .festivals-page .map-header-toggle .toggle-label {
    font-size: 0.75rem;
  }
  .festivals-page .festival-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .festivals-page .festival-dates {
    order: -1;
    align-self: flex-start;
    margin-bottom: 0.25rem;
  }
}
@media (max-width: 480px) {
  .festivals-page .calendar-dropdown-btn {
    padding: 0.5rem 0.5rem;
    font-size: 0.75rem;
  }
  .festivals-page .btn-icon {
    font-size: 0.75rem;
  }
  .festivals-page .calendar-dropdown-content {
    min-width: 200px;
    right: -20px;
  }
  .festivals-page .style-filter-btn {
    width: 180px;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  .festivals-page .filter-section {
    flex-direction: column;
    gap: 0.5rem;
  }
  .festivals-page .country-select {
    min-width: 160px;
  }
  .festivals-page .filter-label {
    font-size: 0.75rem;
  }
  .festivals-page .filter-toggle-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .festivals-page .filter-arrow {
    font-size: 0.75rem;
  }
  .festivals-page .map-header-toggle .date-filter-toggle {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.5rem;
  }
  .festivals-page .map-header-toggle .toggle-label {
    font-size: 0.75rem;
  }
}
.festivals-page .website-button-section {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem 0;
}
.festivals-page .website-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.festivals-page .website-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.festivals-page .website-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.festivals-page .website-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.festivals-page .website-btn .btn-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.festivals-page .website-btn:hover .btn-icon {
  opacity: 1;
}
.festivals-page .website-btn.youtube-btn {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: #FFFFFF;
  border-color: #CC0000;
}
.festivals-page .website-btn.youtube-btn:hover {
  background: linear-gradient(135deg, #CC0000 0%, #990000 100%);
  border-color: #990000;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}
.festivals-page .website-btn.youtube-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(255, 0, 0, 0.3);
}
.festivals-page .website-btn.youtube-btn .btn-icon {
  opacity: 1;
}
.festivals-page .festival-link-section {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}
.festivals-page .festival-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.festivals-page .festival-link-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.festivals-page .festival-link-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.festivals-page .festival-link-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.festivals-page .festival-link-btn .link-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.festivals-page .festival-link-btn:hover .link-icon {
  opacity: 1;
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .list-container, .bands-page .bands-list-container, .cities-page .unified-container, .cities-page .city-list-container, .festivals-page .festival-list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .list-header, .bands-page .bands-list-description, .bands-page .bands-list-header, .festivals-page .festival-list-description, .festivals-page .festival-list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p, .festivals-page .festival-list-description p, .festivals-page .festival-list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .map-view-btn, .cities-page .map-view-btn, .cities-page .calendar-btn, .festivals-page .control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .map-view-btn:hover, .cities-page .calendar-btn:hover, .festivals-page .control-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .map-view-btn:active, .cities-page .calendar-btn:active, .festivals-page .control-btn:active {
  transform: translateY(0);
}
.btn:focus, .map-view-btn:focus, .cities-page .calendar-btn:focus, .festivals-page .control-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input, .cities-page .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder, .cities-page .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link, .cities-page .modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .today-page .today-list-container, .power-rankings .rankings-container, .list-container, .bands-page .bands-list-container, .cities-page .unified-container, .cities-page .city-list-container, .festivals-page .festival-list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .today-page .today-list-description, .power-rankings .rankings-header, .list-header, .bands-page .bands-list-description, .bands-page .bands-list-header, .festivals-page .festival-list-description, .festivals-page .festival-list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .today-page .today-list-description p, .power-rankings .rankings-header p, .list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p, .festivals-page .festival-list-description p, .festivals-page .festival-list-header p {
    font-size: 0.875rem;
  }
  .btn, .map-view-btn, .cities-page .map-view-btn, .cities-page .calendar-btn, .festivals-page .control-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern, .bands-page .band-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover, .bands-page .band-item:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .bands-page .bands-list-header, .festivals-page .festival-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .bands-page .bands-list-header h3, .festivals-page .festival-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .bands-page .bands-count, .cities-page .cities-count, .festivals-page .festivals-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .power-rankings .city-item, .cities-page .city-item, .festivals-page .festival-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .power-rankings .city-item:last-child, .cities-page .city-item:last-child, .festivals-page .festival-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .power-rankings .expanded.city-item, .cities-page .expanded.city-item, .festivals-page .expanded.festival-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .power-rankings .city-row, .cities-page .city-row, .festivals-page .festival-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .power-rankings .city-row:hover, .cities-page .city-row:hover, .festivals-page .festival-row:hover {
  background: #f9fafb;
}

.item-info, .power-rankings .city-info, .cities-page .city-info, .festivals-page .festival-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .power-rankings .city-info a, .cities-page .city-info a, .festivals-page .festival-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .power-rankings .dances-toggle, .cities-page .city-toggle, .festivals-page .festival-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .power-rankings .dances-toggle:hover, .cities-page .city-toggle:hover, .festivals-page .festival-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .power-rankings .toggle-icon, .cities-page .toggle-icon, .festivals-page .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .power-rankings .dance-items, .cities-page .city-details, .festivals-page .festival-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .power-rankings .detail-section, .cities-page .detail-section, .festivals-page .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .power-rankings .section-title, .cities-page .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .power-rankings .detail-items, .cities-page .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .power-rankings .detail-item, .cities-page .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time, .cities-page .detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .power-rankings .detail-link, .cities-page .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon, .cities-page .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg, .cities-page .stat-icon svg {
  flex-shrink: 0;
}

.stat-count, .cities-page .stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container, .cities-page .filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn, .cities-page .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container, .cities-page .search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box, .cities-page .search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon, .cities-page .search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input, .cities-page .search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container, .cities-page .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container, .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box, .cities-page .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .power-rankings .detail-item, .cities-page .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .power-rankings .detail-link, .cities-page .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.power-rankings .container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.power-rankings .modern-main-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
}
.power-rankings .modern-tagline {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  margin: 0 0 2.5rem 0;
  font-weight: 500;
}
.power-rankings .formula-display {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: none;
}
.power-rankings .formula-display h3 {
  margin: 0 0 1rem 0;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.power-rankings .formula-display p {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
}
.power-rankings .formula {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.power-rankings .formula-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.power-rankings .formula-item input[type=number] {
  width: 60px;
  padding: 0.25rem 0.5rem;
  border: 2px solid #4b5563;
  border-radius: 4px;
  font-size: 0.875rem;
  text-align: center;
  background: #FFFFFF;
  color: #4b5563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), none;
}
.power-rankings .formula-item input[type=number]:focus {
  outline: none;
  border-color: #6b7280;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), 0 0 0 3px rgba(107, 114, 128, 0.2);
}
.power-rankings .formula-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  accent-color: #4b5563;
}
.power-rankings .formula-item select {
  padding: 0.25rem 0.5rem;
  border: 2px solid #4b5563;
  border-radius: 4px;
  font-size: 0.875rem;
  background: #FFFFFF;
  color: #4b5563;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), none;
}
.power-rankings .formula-item select:focus {
  outline: none;
  border-color: #6b7280;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), 0 0 0 3px rgba(107, 114, 128, 0.2);
}
.power-rankings .formula-item label {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.power-rankings .formula-item .lighter-text {
  font-size: 0.875rem;
  color: #9ca3af;
}
.power-rankings .rankings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}
.power-rankings .rankings-container {
  margin-top: 1.25rem;
}
.power-rankings .rank-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.power-rankings .rank-indicator.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.power-rankings .rank-indicator.rank-2 {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}
.power-rankings .rank-indicator.rank-3 {
  background: linear-gradient(135deg, #d97706, #b45309);
}
.power-rankings .rank-number {
  color: #FFFFFF;
  font-weight: 700;
}
.power-rankings .city-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 1.25rem;
}
.power-rankings .city-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}
.power-rankings .city-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
.power-rankings .city-stats {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.power-rankings .overall-score {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}
.power-rankings .score-breakdown {
  color: #6b7280;
  font-size: 0.875rem;
}
.power-rankings .band-name, .power-rankings .festival-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}
.power-rankings .band-links, .power-rankings .festival-links {
  flex: 1;
  text-align: right;
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}
.power-rankings .festival-styles {
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
}
.power-rankings .dance-time {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}
.power-rankings .dance-links {
  flex: 1;
  text-align: right;
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}
.power-rankings .dance-location {
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
}
.power-rankings .nearby-city-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}
.power-rankings .nearby-city-stats {
  flex: 1;
  text-align: right;
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.power-rankings .deduplication-summary {
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #0369a1;
}
.power-rankings .dedupe-info {
  margin-top: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #92400e;
}
.power-rankings .show-all-container {
  display: flex;
  justify-content: center;
  padding: 1.25rem;
  border-top: 1px solid rgba(55, 65, 81, 0.2);
  background: #f3f4f6;
}
.power-rankings .show-all-btn {
  background: linear-gradient(135deg, #4b5563, #374151);
  color: #FFFFFF;
  border: 2px solid #4b5563;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: none;
}
.power-rankings .show-all-btn:hover {
  background: linear-gradient(135deg, #374151, #4b5563);
  transform: translateY(-1px);
  box-shadow: none;
}
.power-rankings .show-all-btn:active {
  transform: translateY(0);
}
.power-rankings .show-all-btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .city-item:focus-within {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .vintage-link:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 4px;
}
.power-rankings .no-criteria-message,
.power-rankings .no-results-message {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.75rem;
  margin: 0.5rem 0;
}
.power-rankings .message-content {
  text-align: center;
  max-width: 500px;
}
.power-rankings .message-content p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
  opacity: 0.9;
}
.power-rankings .shared-ranking .message-content {
  max-width: none;
  width: 100%;
}
.power-rankings .shared-ranking .message-content p {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  text-shadow: none;
}
.power-rankings .sharing-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: none, inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.power-rankings .sharing-section.shared-ranking {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-bottom: 2px solid #adb5bd;
  box-shadow: none, inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.power-rankings .share-ranking-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
}
.power-rankings .share-content {
  text-align: center;
  max-width: 600px;
}
.power-rankings .share-content p {
  color: #4b5563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: none;
  letter-spacing: 0.3px;
}
.power-rankings .share-link-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.power-rankings .share-link {
  color: #1e293b;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(108, 117, 125, 0.3);
  transition: all 0.2s ease;
  display: inline-block;
  max-width: 300px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.power-rankings .share-link:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(108, 117, 125, 0.5);
  transform: translateY(-1px);
  box-shadow: none;
}
.power-rankings .share-link:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .copy-link-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  color: #4b5563;
}
.power-rankings .copy-link-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(55, 65, 81, 0.5);
  transform: translateY(-1px);
  box-shadow: none;
}
.power-rankings .copy-link-btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .copy-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.25rem;
}
.power-rankings .city-item.highlighted {
  animation: cityHighlight 2s ease-in-out;
}
@keyframes cityHighlight {
  0% {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(37, 99, 235, 0.2);
  }
  50% {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15), 0 12px 40px rgba(37, 99, 235, 0.25);
  }
  100% {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: none;
  }
}
@media (max-width: 768px) {
  .power-rankings .vintage-main-title {
    font-size: 1.875rem;
  }
  .power-rankings .city-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .power-rankings .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .power-rankings .band-links, .power-rankings .festival-links, .power-rankings .nearby-city-stats {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
  .power-rankings .city-item {
    padding: 1rem;
  }
  .power-rankings .formula {
    gap: 0.5rem;
  }
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .today-page .today-list-container, .list-container, .bands-page .bands-list-container, .cities-page .unified-container, .cities-page .city-list-container, .festivals-page .festival-list-container, .power-rankings .rankings-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .today-page .today-list-description, .list-header, .bands-page .bands-list-description, .bands-page .bands-list-header, .festivals-page .festival-list-description, .festivals-page .festival-list-header, .power-rankings .rankings-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .today-page .today-list-description p, .list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p, .festivals-page .festival-list-description p, .festivals-page .festival-list-header p, .power-rankings .rankings-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .map-view-btn, .cities-page .map-view-btn, .cities-page .calendar-btn, .festivals-page .control-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .map-view-btn:hover, .cities-page .calendar-btn:hover, .festivals-page .control-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .map-view-btn:active, .cities-page .calendar-btn:active, .festivals-page .control-btn:active {
  transform: translateY(0);
}
.btn:focus, .map-view-btn:focus, .cities-page .calendar-btn:focus, .festivals-page .control-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input, .cities-page .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder, .cities-page .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link, .cities-page .modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .today-page .today-list-container, .list-container, .bands-page .bands-list-container, .cities-page .unified-container, .cities-page .city-list-container, .festivals-page .festival-list-container, .power-rankings .rankings-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .today-page .today-list-description, .list-header, .bands-page .bands-list-description, .bands-page .bands-list-header, .festivals-page .festival-list-description, .festivals-page .festival-list-header, .power-rankings .rankings-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .today-page .today-list-description p, .list-header p, .bands-page .bands-list-description p, .bands-page .bands-list-header p, .festivals-page .festival-list-description p, .festivals-page .festival-list-header p, .power-rankings .rankings-header p {
    font-size: 0.875rem;
  }
  .btn, .map-view-btn, .cities-page .map-view-btn, .cities-page .calendar-btn, .festivals-page .control-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern, .bands-page .band-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover, .bands-page .band-item:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .bands-page .bands-list-header, .festivals-page .festival-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .bands-page .bands-list-header h3, .festivals-page .festival-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .bands-page .bands-count, .cities-page .cities-count, .festivals-page .festivals-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .cities-page .city-item, .festivals-page .festival-item, .power-rankings .city-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .cities-page .city-item:last-child, .festivals-page .festival-item:last-child, .power-rankings .city-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .cities-page .expanded.city-item, .festivals-page .expanded.festival-item, .power-rankings .expanded.city-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .cities-page .city-row, .festivals-page .festival-row, .power-rankings .city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .cities-page .city-row:hover, .festivals-page .festival-row:hover, .power-rankings .city-row:hover {
  background: #f9fafb;
}

.item-info, .cities-page .city-info, .festivals-page .festival-info, .power-rankings .city-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .cities-page .city-info a, .festivals-page .festival-info a, .power-rankings .city-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .cities-page .city-toggle, .festivals-page .festival-toggle, .power-rankings .dances-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .cities-page .city-toggle:hover, .festivals-page .festival-toggle:hover, .power-rankings .dances-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .cities-page .toggle-icon, .festivals-page .toggle-icon, .power-rankings .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .cities-page .city-details, .festivals-page .festival-details, .power-rankings .dance-items {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .cities-page .detail-section, .festivals-page .detail-section, .power-rankings .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .cities-page .section-title, .power-rankings .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .cities-page .detail-items, .power-rankings .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .cities-page .detail-item, .power-rankings .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time, .cities-page .detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .cities-page .detail-link, .power-rankings .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon, .cities-page .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg, .cities-page .stat-icon svg {
  flex-shrink: 0;
}

.stat-count, .cities-page .stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container, .cities-page .filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn, .cities-page .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container, .cities-page .search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box, .cities-page .search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon, .cities-page .search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input, .cities-page .search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container, .cities-page .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container, .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box, .cities-page .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .cities-page .detail-item, .power-rankings .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .cities-page .detail-link, .power-rankings .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn, .cities-page .map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn, .cities-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn, .cities-page .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.today-page .container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.today-page .today-map-section {
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
}
.today-page #today-map {
  aspect-ratio: 2/1;
  height: auto;
  width: 100%;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 768px) {
  .today-page #today-map {
    aspect-ratio: 1.5/1;
  }
}
.today-page .today-events-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.today-page .events-section {
  position: relative;
}
.today-page .events-section h2 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  padding: 1rem;
  margin: 1rem 0 1rem 0;
  text-align: center;
  background: none;
}
.today-page .events-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.today-page .event-item {
  background: #ffffff;
  padding: 1rem;
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.today-page .event-item:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.today-page .event-item p {
  margin: 0;
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.4;
}
.today-page .event-item a {
  color: #535a69;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}
.today-page .event-item a:hover {
  color: #484848;
}
.today-page .no-events {
  text-align: center;
  color: #64748b;
  font-style: italic;
  padding: 1.25rem;
}
.today-page .festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}
.today-page .dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}
.today-page .marker-pin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #FFFFFF;
  font-weight: 700;
}
.today-page .modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.today-page .modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.today-page .modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.today-page .modern-popup a {
  color: #535a69;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .today-page .today-events-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .today-page .events-section:first-child {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .today-page .today-list-description p {
    font-size: 0.875rem;
  }
}
.today-page .city-link {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: auto;
}
.today-page .city-link:hover {
  color: #535a69;
  text-decoration: underline;
}

.trip-planner {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}
.trip-planner h1 {
  text-align: center;
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-size: 2.25rem;
  font-weight: 700;
}

.subtitle {
  text-align: center;
  color: #4b5563;
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

.planner-form {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: none;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1f2937;
  font-size: 0.875rem;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: none;
}

.date-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.distance-input {
  display: flex;
  gap: 0.5rem;
}
.distance-input input {
  flex: 1;
}
.distance-input select {
  width: auto;
  min-width: 100px;
}

.search-btn {
  width: 100%;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #FFFFFF;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.search-btn:hover {
  transform: translateY(-2px);
  box-shadow: none;
}
.search-btn:active {
  transform: translateY(0);
}

.results-container {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: none;
  overflow: hidden;
}

.results-header {
  padding: 2rem;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
  border-bottom: 1px solid #d1d5db;
}
.results-header h2 {
  margin: 0 0 0.5rem 0;
  color: #1f2937;
  font-size: 1.5rem;
}

.results-summary {
  color: #4b5563;
  font-size: 0.875rem;
}

.filters {
  padding: 1rem 2rem;
  background: #f3f4f6;
  border-bottom: 1px solid #d1d5db;
  display: flex;
  gap: 0.5rem;
}

.filter-btn, .cities-page .filter-btn {
  background: #FFFFFF;
  border: 1px solid #d1d5db;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: #e5e7eb;
}
.filter-btn.active {
  background: #007bff;
  color: #FFFFFF;
  border-color: #007bff;
}

.timeline-container {
  padding: 1.5rem 2rem;
}

.timeline-container h3 {
  margin: 0 0 1rem 0;
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
}

.timeline {
  overflow-x: scroll;
  padding: 0.5rem 0;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #e5e7eb;
}
.timeline::-webkit-scrollbar {
  height: 8px;
}
.timeline::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 4px;
}
.timeline::-webkit-scrollbar-thumb {
  background: #9ca3af;
  border-radius: 4px;
}
.timeline::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

.timeline-track {
  display: flex;
  align-items: center;
  min-width: max-content;
  position: relative;
  height: 50px;
}

.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #d1d5db;
  transform: translateY(-50%);
  z-index: 1;
}

.timeline-day {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.timeline-day:hover {
  transform: translateY(-1px);
}
.timeline-day .day-marker {
  width: 4px;
  height: 4px;
  background: #9ca3af;
  border-radius: 50%;
  margin-bottom: 2px;
}
.timeline-day .day-number {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6b7280;
  text-align: center;
  min-width: 16px;
}
.timeline-day.has-dance .day-marker {
  background: #007bff;
  width: 6px;
  height: 6px;
}
.timeline-day.has-dance .day-number {
  color: #007bff;
  font-weight: 600;
}
.timeline-day.has-dance::after {
  content: "💃";
  position: absolute;
  top: -12px;
  font-size: 10px;
  background: #007bff;
  color: #FFFFFF;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.timeline-month {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 40px;
  margin: 0 0.5rem;
}
.timeline-month .month-marker {
  width: 6px;
  height: 6px;
  background: #4b5563;
  border-radius: 50%;
  margin-bottom: 2px;
}
.timeline-month .month-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4b5563;
  text-transform: uppercase;
  text-align: center;
}
.timeline-month::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -0.5rem;
  width: 16px;
  height: 1px;
  background: #4b5563;
  transform: translateY(-50%);
}

.timeline-start-end {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 50px;
  margin: 0 0.75rem;
}
.timeline-start-end .date-marker {
  width: 8px;
  height: 8px;
  background: #007bff;
  border-radius: 50%;
  margin-bottom: 2px;
}
.timeline-start-end .date-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #007bff;
  text-align: center;
  line-height: 1.1;
}

.events-list {
  padding: 0 2rem;
}

.event-card {
  background: #FFFFFF;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.event-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.event-header h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 600;
}

.event-type {
  padding: 0.25rem 0.75rem;
  border-radius: 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.event-type.dance {
  background: #e3f2fd;
  color: #1976d2;
}

.event-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.event-info {
  flex: 1;
}
.event-info p {
  margin: 0.5rem 0;
  color: #4b5563;
  font-size: 0.875rem;
}
.event-info strong {
  color: #1f2937;
  font-weight: 600;
}

.event-actions {
  flex-shrink: 0;
}

.event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #007bff;
  color: #FFFFFF;
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s ease;
}
.event-link:hover {
  background: #0056b3;
  color: #FFFFFF;
  text-decoration: none;
}

.no-results {
  text-align: center;
  color: #4b5563;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
}

.select2-container--default .select2-selection--single {
  border: 2px solid #d1d5db;
  border-radius: 8px;
  height: auto;
  padding: 0.75rem;
}
.select2-container--default .select2-selection--single:focus {
  border-color: #007bff;
  box-shadow: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding: 0;
  line-height: 1.5;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
}

.select2-dropdown {
  border: 2px solid #007bff;
  border-radius: 8px;
  box-shadow: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #007bff;
}

@media (max-width: 768px) {
  .date-range {
    grid-template-columns: 1fr;
  }
  .distance-input {
    flex-direction: column;
  }
  .distance-input select {
    width: 100%;
  }
  .event-details {
    flex-direction: column;
    gap: 1rem;
  }
  .event-actions {
    align-self: stretch;
  }
  .event-link {
    justify-content: center;
  }
  .timeline-day {
    min-width: 30px;
  }
  .timeline-day .day-number {
    font-size: 0.75rem;
  }
  .timeline-day.has-dance::after {
    width: 16px;
    height: 16px;
    font-size: 10px;
    top: -6px;
    right: -6px;
  }
  .timeline-day {
    min-width: 25px;
  }
  .timeline-day .day-number {
    font-size: 0.75rem;
  }
  .timeline-day.has-dance::after {
    width: 12px;
    height: 12px;
    font-size: 8px;
    top: -10px;
  }
  .timeline-month {
    min-width: 35px;
    margin: 0 0.25rem;
  }
  .timeline-month .month-name {
    font-size: 0.75rem;
  }
  .timeline-start-end {
    min-width: 40px;
    margin: 0 0.5rem;
  }
  .timeline-start-end .date-label {
    font-size: 0.75rem;
  }
}
.page-link-section {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.75rem 0;
}

.page-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.page-link-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.page-link-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.page-link-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.page-link-btn .link-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.page-link-btn:hover .link-icon {
  opacity: 1;
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .cities-page .city-list-container, .cities-page .unified-container, .list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .cities-page .calendar-btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .cities-page .calendar-btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .cities-page .calendar-btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input, .cities-page .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder, .cities-page .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link, .cities-page .modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .cities-page .city-list-container, .cities-page .unified-container, .list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .list-header p {
    font-size: 0.875rem;
  }
  .btn, .cities-page .calendar-btn, .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .cities-page .cities-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .cities-page .city-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .cities-page .city-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .cities-page .expanded.city-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .cities-page .city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .cities-page .city-row:hover {
  background: #f9fafb;
}

.item-info, .cities-page .city-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .cities-page .city-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .cities-page .city-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .cities-page .city-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .cities-page .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .cities-page .city-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .cities-page .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .cities-page .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .cities-page .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .cities-page .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time, .cities-page .detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .cities-page .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon, .cities-page .stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg, .cities-page .stat-icon svg {
  flex-shrink: 0;
}

.stat-count, .cities-page .stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container, .cities-page .filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn, .cities-page .filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container, .cities-page .search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box, .cities-page .search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon, .cities-page .search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input, .cities-page .search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container, .cities-page .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container, .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box, .cities-page .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .cities-page .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .cities-page .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container, .cities-page .map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls, .cities-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn, .cities-page .map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn, .cities-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn, .cities-page .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn, .cities-page .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.cities-page .search-section {
  padding: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.cities-page .map-icon {
  flex-shrink: 0;
}
.cities-page .map-section {
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  margin: 0;
  width: 100%;
  overflow: hidden;
}
.cities-page #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  aspect-ratio: 2/1;
  height: auto;
}
@media (max-width: 768px) {
  .cities-page #map {
    aspect-ratio: 1.5/1;
  }
}
.cities-page .map-toggle-text {
  white-space: nowrap;
}
.cities-page .map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.cities-page .map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.cities-page .map-container.map-hidden #map {
  display: none;
}
.cities-page #map {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}
.cities-page .city-list-container {
  margin-top: 1.5rem;
  padding: 0.75rem;
}
.cities-page .cities-count {
  margin-left: 0.75rem;
  white-space: nowrap;
}
.cities-page .city-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.cities-page .city-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
}
.cities-page .city-stats {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.cities-page .city-item .location {
  margin: 0 0 0.5rem 0;
  font-size: 0.875rem;
  color: #64748b;
}
.cities-page .calendar-link {
  margin: 0.5rem 0 0 0;
  font-size: 0.875rem;
}
.cities-page .calendar-btn {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}
.cities-page .city-item .details {
  margin: 0;
  font-size: 0.75rem;
  color: #94a3b8;
  font-style: italic;
}
.cities-page .flag-icon {
  font-size: 1rem;
}
.cities-page .festival-dates {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.3;
}
.cities-page .festival-date {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin-right: 0.5rem;
}
.cities-page .festival-date.next {
  background: rgba(34, 139, 34, 0.1);
  color: #228B22;
  border: 1px solid rgba(34, 139, 34, 0.3);
}
.cities-page .festival-date.last {
  background: rgba(37, 99, 235, 0.1);
  color: #535a69;
  border: 1px solid rgba(37, 99, 235, 0.3);
}
.cities-page .nearby-cities-section {
  margin-top: 1rem;
}
.cities-page .nearby-cities-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cities-page .nearby-cities-loading {
  color: #64748b;
  font-style: italic;
  font-size: 0.875rem;
  padding: 0.5rem;
  text-align: center;
  background: #f9fafb;
  border-radius: 6px;
  border: 1px dashed #d1d5db;
}
.cities-page .nearby-city-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
}
.cities-page .nearby-city-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateX(0.25rem);
}
.cities-page .nearby-city-name {
  flex: 1;
  font-weight: 600;
  color: #535a69;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: rgba(37, 99, 235, 0.3);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}
.cities-page .nearby-city-name:hover {
  color: #484848;
  text-decoration-color: #535a69;
}
.cities-page .nearby-city-distance {
  font-size: 0.75rem;
  color: #1e293b;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
}
.cities-page .nearby-city-country {
  font-size: 0.75rem;
  color: #64748b;
  opacity: 0.8;
  font-style: italic;
  white-space: nowrap;
}
.cities-page .city-link-section {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
}
.cities-page .city-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.cities-page .city-link-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.cities-page .city-link-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.cities-page .city-link-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.cities-page .link-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.cities-page .city-link-btn:hover .link-icon {
  opacity: 1;
}
.cities-page .city-item.highlighted {
  animation: cityHighlight 2s ease-in-out;
}
@keyframes cityHighlight {
  0% {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(37, 99, 235, 0.2);
  }
  50% {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15), 0 12px 40px rgba(37, 99, 235, 0.25);
  }
  100% {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: none;
  }
}
.cities-page .nearby-city-stats {
  display: inline-flex;
  gap: 0.5rem;
  margin-left: 0.5rem;
  align-items: center;
  vertical-align: middle;
}
.cities-page .band-name {
  font-weight: 600;
  color: #1e293b;
  margin-right: 0.5rem;
}
.cities-page .calendar-icon, .cities-page .bandcamp-icon {
  flex-shrink: 0;
  margin-right: 0.25rem;
  vertical-align: middle;
}
.cities-page .band-festivals {
  color: #64748b;
  font-size: 0.75rem;
  font-style: italic;
  opacity: 0.8;
  margin-left: 0.25rem;
}
.cities-page .bands-section .detail-item {
  flex: 1 1 100%;
  max-width: 100%;
}
.cities-page .bands-section .detail-link {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.cities-page .bands-section .detail-link .band-name {
  flex-shrink: 0;
}
.cities-page .bands-section .detail-link .modern-link {
  flex-shrink: 0;
}
.cities-page .bands-section .detail-link .bandcamp-link {
  flex-shrink: 0;
}
.cities-page .bands-section .detail-link .band-festivals {
  flex-shrink: 0;
}
.cities-page .schools-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cities-page .schools-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  user-select: none;
}
.cities-page .schools-text {
  white-space: nowrap;
}
.cities-page .schools-count-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 50px;
}
.cities-page .schools-count-select:hover {
  border-color: #9ca3af;
}
.cities-page .schools-count-select:focus {
  outline: none;
  border-color: #535a69;
}
.cities-page .bands-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cities-page .bands-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  user-select: none;
}
.cities-page .bands-text {
  white-space: nowrap;
}
.cities-page .bands-count-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 50px;
}
.cities-page .bands-count-select:hover {
  border-color: #9ca3af;
}
.cities-page .bands-count-select:focus {
  outline: none;
  border-color: #535a69;
}
.cities-page .festivals-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cities-page .festivals-filter-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  user-select: none;
}
.cities-page .festivals-text {
  white-space: nowrap;
}
.cities-page .festivals-count-select {
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 50px;
}
.cities-page .festivals-count-select:hover {
  border-color: #9ca3af;
}
.cities-page .festivals-count-select:focus {
  outline: none;
  border-color: #535a69;
}
.cities-page .mobile-filter-toggle {
  display: none;
  justify-content: center;
  width: 100%;
  margin-top: 0.75rem;
}
.cities-page .filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.cities-page .filter-toggle-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.cities-page .filter-toggle-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.cities-page .filter-toggle-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.cities-page .filter-toggle-btn.active {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
}
.cities-page .filter-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .cities-page .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .cities-page .search-box {
    flex: none;
  }
  .cities-page .cities-count {
    margin-left: 0;
    text-align: center;
  }
  .cities-page .mobile-filter-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .cities-page .filter-container {
    display: none;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    margin-top: 0.75rem;
  }
  .cities-page .sort-controls {
    justify-content: center;
  }
  .cities-page .band-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cities-page .band-links {
    justify-content: flex-start;
  }
  .cities-page .country-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .cities-page .country-count {
    margin-left: 0;
  }
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .bands-page .bands-list-container, .list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .bands-page .bands-list-description, .list-header, .bands-page .bands-list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .bands-page .bands-list-description p, .list-header p, .bands-page .bands-list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .bands-page .bands-list-container, .list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .bands-page .bands-list-description, .list-header, .bands-page .bands-list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .bands-page .bands-list-description p, .list-header p, .bands-page .bands-list-header p {
    font-size: 0.875rem;
  }
  .btn, .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern, .bands-page .band-item {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover, .bands-page .band-item:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .bands-page .bands-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .bands-page .bands-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .bands-page .bands-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child {
  border-bottom: none;
}
.list-item.expanded {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover {
  background: #f9fafb;
}

.item-info {
  flex: 1;
  pointer-events: none;
}
.item-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg {
  flex-shrink: 0;
}

.stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern, .bands-page #map {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.bands-page .container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.bands-page .map-container {
  position: relative;
}
.bands-page .map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.bands-page .map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.bands-page .map-controls {
  margin-bottom: 1.25rem;
  display: flex !important;
  justify-content: center;
  width: 100%;
}
.bands-page .map-controls[style*="display: none"] {
  margin-bottom: 0;
}
.bands-page #map {
  aspect-ratio: 2/1;
  height: auto;
}
@media (max-width: 768px) {
  .bands-page #map {
    aspect-ratio: 1.5/1;
  }
}
.bands-page .bands-list-container .map-container {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.bands-page .bands-list-container .map-container #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}
.bands-page .bands-list {
  padding: 0.75rem;
}
.bands-page .country-section {
  margin-bottom: 1.25rem;
}
.bands-page .country-header {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 1px solid #535a69;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: none;
  margin-bottom: 0.75rem;
}
.bands-page .country-name {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.bands-page .country-count {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-left: auto;
}
.bands-page .country-bands {
  padding-left: 0.75rem;
}
.bands-page .city-section {
  margin-bottom: 1rem;
}
.bands-page .city-header {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: none;
  margin-bottom: 0.5rem;
}
.bands-page .city-name {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.bands-page .city-count {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.bands-page .city-bands {
  padding-left: 1rem;
}
.bands-page .band-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.bands-page .band-info {
  flex: 1;
}
.bands-page .band-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.bands-page .band-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}
.bands-page .city-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: auto;
}
.bands-page .city-link:hover {
  color: #535a69;
  text-decoration: underline;
}
.bands-page .band-festivals {
  margin-top: 0.5rem;
}
.bands-page .festival-toggle {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  padding: 0.25rem 0;
  margin: 0;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.bands-page .festival-toggle:hover {
  color: #535a69;
}
.bands-page .festival-count {
  display: inline;
}
.bands-page .festival-arrow {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  margin-left: 0.5rem;
}
.bands-page .festival-list {
  margin-top: 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid #e5e7eb;
  transition: all 0.2s ease;
  overflow: hidden;
}
.bands-page .festival-list.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.bands-page .festival-list.expanded {
  max-height: 200px;
  opacity: 1;
}
.bands-page .festival-link {
  display: block;
  color: #535a69;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  margin: 0.25rem 0;
  transition: all 0.2s ease;
  word-break: break-all;
}
.bands-page .festival-link:hover {
  color: #484848;
  text-decoration: underline;
  transform: translateX(0.25rem);
}
.bands-page .band-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.bands-page .band-links a {
  margin-right: 1rem;
}
.bands-page .band-links a:last-child {
  margin-right: 0;
}
.bands-page .band-link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  background: #ffffff;
  transition: all 0.2s ease;
  box-shadow: none;
}
.bands-page .band-link:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.bands-page .band-link.main-link {
  color: #535a69;
}
.bands-page .band-link.tour-link {
  color: #64748b;
}
.bands-page .band-link.bandcamp-link {
  color: #64748b;
}
.bands-page .band-link svg {
  margin-right: 0.25rem;
  vertical-align: middle;
}
.bands-page .band-link .filter-icon {
  width: 14px;
  height: 14px;
}
.bands-page .band-link .bandcamp-icon {
  width: 16px;
  height: 10px;
}
.bands-page .no-bands {
  text-align: center;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  padding: 2.5rem 1.25rem;
  font-size: 1rem;
}
.bands-page .sort-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.bands-page .sort-controls label {
  color: #1e293b;
  font-weight: 600;
  font-size: 0.875rem;
}
.bands-page .sort-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: none;
}
.bands-page .sort-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}
.bands-page .filter-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.bands-page .filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  box-shadow: none;
}
.bands-page .filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.bands-page .filter-btn:active {
  transform: translateY(0);
  box-shadow: none;
}
.bands-page .filter-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.bands-page .filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.bands-page .filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}
.bands-page .filter-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}
.bands-page .bandcamp-icon {
  flex-shrink: 0;
  width: 16px;
  height: 10px;
}
@media (max-width: 768px) {
  .bands-page .filter-controls {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .bands-page .sort-controls {
    justify-content: center;
  }
  .bands-page .band-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .bands-page .band-links {
    justify-content: flex-start;
  }
  .bands-page .country-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .bands-page .country-count {
    margin-left: 0;
  }
}
.bands-page .map-container[style*="display: block"] ~ .map-controls {
  display: none !important;
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .power-rankings .rankings-container, .list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .power-rankings .rankings-header, .list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .power-rankings .rankings-header p, .list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .power-rankings .rankings-container, .list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .power-rankings .rankings-header, .list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .power-rankings .rankings-header p, .list-header p {
    font-size: 0.875rem;
  }
  .btn, .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .power-rankings .city-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .power-rankings .city-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .power-rankings .expanded.city-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .power-rankings .city-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .power-rankings .city-row:hover {
  background: #f9fafb;
}

.item-info, .power-rankings .city-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .power-rankings .city-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .power-rankings .dances-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .power-rankings .dances-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .power-rankings .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .power-rankings .dance-items {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .power-rankings .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title, .power-rankings .section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items, .power-rankings .detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item, .power-rankings .detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link, .power-rankings .detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg {
  flex-shrink: 0;
}

.stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item, .power-rankings .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link, .power-rankings .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.power-rankings .container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.power-rankings .modern-main-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
}
.power-rankings .modern-tagline {
  font-size: 1.125rem;
  color: #64748b;
  text-align: center;
  margin: 0 0 2.5rem 0;
  font-weight: 500;
}
.power-rankings .formula-display {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  box-shadow: none;
}
.power-rankings .formula-display h3 {
  margin: 0 0 1rem 0;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.power-rankings .formula-display p {
  margin: 0;
  color: #64748b;
  font-size: 0.875rem;
}
.power-rankings .formula {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.power-rankings .formula-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.power-rankings .formula-item input[type=number] {
  width: 60px;
  padding: 0.25rem 0.5rem;
  border: 2px solid #4b5563;
  border-radius: 4px;
  font-size: 0.875rem;
  text-align: center;
  background: #FFFFFF;
  color: #4b5563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), none;
}
.power-rankings .formula-item input[type=number]:focus {
  outline: none;
  border-color: #6b7280;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), 0 0 0 3px rgba(107, 114, 128, 0.2);
}
.power-rankings .formula-item input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  accent-color: #4b5563;
}
.power-rankings .formula-item select {
  padding: 0.25rem 0.5rem;
  border: 2px solid #4b5563;
  border-radius: 4px;
  font-size: 0.875rem;
  background: #FFFFFF;
  color: #4b5563;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), none;
}
.power-rankings .formula-item select:focus {
  outline: none;
  border-color: #6b7280;
  box-shadow: inset 0 1px 2px rgba(55, 65, 81, 0.1), 0 0 0 3px rgba(107, 114, 128, 0.2);
}
.power-rankings .formula-item label {
  font-size: 0.875rem;
  color: #4b5563;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.power-rankings .formula-item .lighter-text {
  font-size: 0.875rem;
  color: #9ca3af;
}
.power-rankings .rankings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
}
.power-rankings .rankings-container {
  margin-top: 1.25rem;
}
.power-rankings .rank-indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.power-rankings .rank-indicator.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}
.power-rankings .rank-indicator.rank-2 {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}
.power-rankings .rank-indicator.rank-3 {
  background: linear-gradient(135deg, #d97706, #b45309);
}
.power-rankings .rank-number {
  color: #FFFFFF;
  font-weight: 700;
}
.power-rankings .city-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 1.25rem;
}
.power-rankings .city-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}
.power-rankings .city-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}
.power-rankings .city-stats {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.power-rankings .overall-score {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}
.power-rankings .score-breakdown {
  color: #6b7280;
  font-size: 0.875rem;
}
.power-rankings .band-name, .power-rankings .festival-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}
.power-rankings .band-links, .power-rankings .festival-links {
  flex: 1;
  text-align: right;
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}
.power-rankings .festival-styles {
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
}
.power-rankings .dance-time {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}
.power-rankings .dance-links {
  flex: 1;
  text-align: right;
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
}
.power-rankings .dance-location {
  color: #6b7280;
  font-size: 0.75rem;
  font-style: italic;
}
.power-rankings .nearby-city-name {
  font-weight: 600;
  color: #111827;
  font-size: 0.875rem;
}
.power-rankings .nearby-city-stats {
  flex: 1;
  text-align: right;
  margin-left: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  align-items: center;
  color: #6b7280;
  font-size: 0.875rem;
}
.power-rankings .deduplication-summary {
  background: #f0f9ff;
  border: 1px solid #0ea5e9;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: #0369a1;
}
.power-rankings .dedupe-info {
  margin-top: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #92400e;
}
.power-rankings .show-all-container {
  display: flex;
  justify-content: center;
  padding: 1.25rem;
  border-top: 1px solid rgba(55, 65, 81, 0.2);
  background: #f3f4f6;
}
.power-rankings .show-all-btn {
  background: linear-gradient(135deg, #4b5563, #374151);
  color: #FFFFFF;
  border: 2px solid #4b5563;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: none;
}
.power-rankings .show-all-btn:hover {
  background: linear-gradient(135deg, #374151, #4b5563);
  transform: translateY(-1px);
  box-shadow: none;
}
.power-rankings .show-all-btn:active {
  transform: translateY(0);
}
.power-rankings .show-all-btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .city-item:focus-within {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .vintage-link:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-radius: 4px;
}
.power-rankings .no-criteria-message,
.power-rankings .no-results-message {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.75rem;
  margin: 0.5rem 0;
}
.power-rankings .message-content {
  text-align: center;
  max-width: 500px;
}
.power-rankings .message-content p {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  margin: 0;
  line-height: 1.5;
  opacity: 0.9;
}
.power-rankings .shared-ranking .message-content {
  max-width: none;
  width: 100%;
}
.power-rankings .shared-ranking .message-content p {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  text-shadow: none;
}
.power-rankings .sharing-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: none, inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.power-rankings .sharing-section.shared-ranking {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-bottom: 2px solid #adb5bd;
  box-shadow: none, inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.power-rankings .share-ranking-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
}
.power-rankings .share-content {
  text-align: center;
  max-width: 600px;
}
.power-rankings .share-content p {
  color: #4b5563;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: none;
  letter-spacing: 0.3px;
}
.power-rankings .share-link-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.power-rankings .share-link {
  color: #1e293b;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  border: 1px solid rgba(108, 117, 125, 0.3);
  transition: all 0.2s ease;
  display: inline-block;
  max-width: 300px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.power-rankings .share-link:hover {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(108, 117, 125, 0.5);
  transform: translateY(-1px);
  box-shadow: none;
}
.power-rankings .share-link:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .copy-link-btn {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(55, 65, 81, 0.3);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  color: #4b5563;
}
.power-rankings .copy-link-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(55, 65, 81, 0.5);
  transform: translateY(-1px);
  box-shadow: none;
}
.power-rankings .copy-link-btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
.power-rankings .copy-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.25rem;
}
.power-rankings .city-item.highlighted {
  animation: cityHighlight 2s ease-in-out;
}
@keyframes cityHighlight {
  0% {
    background: rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), 0 8px 32px rgba(37, 99, 235, 0.2);
  }
  50% {
    background: rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15), 0 12px 40px rgba(37, 99, 235, 0.25);
  }
  100% {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: none;
  }
}
@media (max-width: 768px) {
  .power-rankings .vintage-main-title {
    font-size: 1.875rem;
  }
  .power-rankings .city-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .power-rankings .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .power-rankings .band-links, .power-rankings .festival-links, .power-rankings .nearby-city-stats {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
  .power-rankings .city-item {
    padding: 1rem;
  }
  .power-rankings .formula {
    gap: 0.5rem;
  }
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .festivals-page .festival-list-container, .list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .festivals-page .festival-list-description, .list-header, .festivals-page .festival-list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .festivals-page .festival-list-description p, .list-header p, .festivals-page .festival-list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .festivals-page .control-btn, .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .festivals-page .control-btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .festivals-page .control-btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .festivals-page .control-btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .festivals-page .festival-list-container, .list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .festivals-page .festival-list-description, .list-header, .festivals-page .festival-list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .festivals-page .festival-list-description p, .list-header p, .festivals-page .festival-list-header p {
    font-size: 0.875rem;
  }
  .btn, .festivals-page .control-btn, .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header, .festivals-page .festival-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3, .festivals-page .festival-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count, .festivals-page .festivals-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item, .festivals-page .festival-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child, .festivals-page .festival-item:last-child {
  border-bottom: none;
}
.list-item.expanded, .festivals-page .expanded.festival-item {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row, .festivals-page .festival-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover, .festivals-page .festival-row:hover {
  background: #f9fafb;
}

.item-info, .festivals-page .festival-info {
  flex: 1;
  pointer-events: none;
}
.item-info a, .festivals-page .festival-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle, .festivals-page .festival-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover, .festivals-page .festival-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon, .festivals-page .toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details, .festivals-page .festival-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section, .festivals-page .detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg {
  flex-shrink: 0;
}

.stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.festivals-page .timeline-container {
  margin-bottom: 1.25rem;
  padding: 0.75rem 0;
}
.festivals-page .timeline-header {
  padding-bottom: 1.5rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.festivals-page .calendar-dropdown {
  position: relative;
  display: inline-block;
}
.festivals-page .calendar-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
  white-space: nowrap;
}
.festivals-page .calendar-dropdown-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.festivals-page .dropdown-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
.festivals-page .calendar-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}
.festivals-page .calendar-dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  z-index: 1000;
  min-width: 250px;
  margin-top: 0.25rem;
}
.festivals-page .calendar-dropdown.active .calendar-dropdown-content {
  display: block;
}
.festivals-page .calendar-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.75rem;
  border: none;
  border-bottom: 1px solid #e5e7eb;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  background: #ffffff;
  color: #1e293b;
  white-space: nowrap;
  width: 100%;
  text-align: left;
}
.festivals-page .calendar-btn:last-child {
  border-bottom: none;
}
.festivals-page .calendar-btn:hover {
  background: #f9fafb;
  color: #1e293b;
}
.festivals-page .google-btn {
  background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
  color: #FFFFFF;
}
.festivals-page .google-btn:hover {
  background: linear-gradient(135deg, #34A853 0%, #4285F4 100%);
}
.festivals-page .btn-icon {
  font-size: 1rem;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.festivals-page .btn-label {
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.festivals-page .timeline-slider-container {
  position: relative;
  padding: 0.75rem 0;
}
.festivals-page .timeline-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.festivals-page .timeline-label {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
}
.festivals-page .timeline-track {
  position: relative;
  height: 40px;
  background: transparent;
  border: 2px solid #d1d5db;
  border-radius: 8px;
  box-shadow: none;
}
.festivals-page .timeline-separators {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}
.festivals-page .timeline-separator {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%);
}
.festivals-page .timeline-separator.year {
  width: 3px;
  background: rgba(255, 255, 255, 0.6);
}
.festivals-page .timeline-separator-label {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(139, 69, 19, 0.9);
  color: #94a3b8;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: none;
}
.festivals-page .timeline-festival-markers {
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
  height: 20px;
  pointer-events: none;
  z-index: 3;
}
.festivals-page .timeline-range {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border-radius: 6px;
  pointer-events: none;
  z-index: 1;
}
.festivals-page .festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festivals-page .festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festivals-page .festival-item.highlighted {
  background: rgba(37, 99, 235, 0.1);
  border: 2px solid #535a69;
  border-radius: 8px;
  box-shadow: none;
}
.festivals-page .timeline-slider {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  background: transparent;
  outline: none;
  pointer-events: none;
  z-index: 2;
}
.festivals-page .timeline-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 2px solid #535a69;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
}
.festivals-page .timeline-slider::-webkit-slider-thumb:hover {
  background: #f9fafb;
}
.festivals-page .timeline-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #ffffff;
  border: 2px solid #535a69;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: none;
}
.festivals-page .timeline-slider::-moz-range-thumb:hover {
  background: #f9fafb;
}
.festivals-page .timeline-dates {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
}
.festivals-page .date-picker {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}
.festivals-page .date-picker:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.festivals-page .date-picker:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .map-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.festivals-page .map-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}
.festivals-page .map-header-toggle {
  display: flex;
  align-items: center;
}
.festivals-page .map-header-toggle .date-filter-toggle {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin: 0;
  transition: all 0.2s ease;
}
.festivals-page .map-header-toggle .date-filter-toggle:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.festivals-page .map-header-toggle .toggle-label {
  font-size: 0.75rem;
  white-space: nowrap;
}
.festivals-page #festivalMap {
  aspect-ratio: 2/1;
  height: auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: none;
}
@media (max-width: 768px) {
  .festivals-page #festivalMap {
    aspect-ratio: 1.5/1;
  }
}
.festivals-page .festival-list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}
.festivals-page .list-controls {
  display: flex;
  gap: 0.75rem;
}
.festivals-page .control-btn {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}
.festivals-page .festival-list {
  padding: 0.75rem;
}
.festivals-page .month-header {
  margin: 1.25rem 0 0.75rem 0;
  padding: 0 0.75rem;
}
.festivals-page .month-header:first-child {
  margin-top: 0.75rem;
}
.festivals-page .month-header-content {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: none;
  position: relative;
}
.festivals-page .month-title {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}
.festivals-page .month-count {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
}
.festivals-page .no-festivals {
  text-align: center;
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-style: italic;
  padding: 2.5rem 1.25rem;
  font-size: 1rem;
}
.festivals-page .month-festivals .festival-item:last-child {
  border-bottom: none;
}
.festivals-page .festival-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.festivals-page .festival-title-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.festivals-page .festival-name {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}
.festivals-page .festival-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}
.festivals-page .city-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: auto;
}
.festivals-page .city-link:hover {
  color: #535a69;
  text-decoration: underline;
}
.festivals-page .festival-dates {
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  white-space: nowrap;
  flex-shrink: 0;
}
.festivals-page .festival-styles {
  margin: 0.5rem 0;
  font-size: 0.75rem;
  color: #64748b;
}
.festivals-page .styles-label {
  font-weight: 600;
  margin-right: 0.5rem;
}
.festivals-page .festival-details {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}
.festivals-page .detail-section h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 0.25rem;
}
.festivals-page .detail-section p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: #3E2723;
}
.festivals-page .style-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
  padding: 1rem 0;
}
.festivals-page .style-filter-btn {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  box-shadow: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.festivals-page .style-filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}
.festivals-page .style-filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .style-filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
}
.festivals-page .date-filter-options {
  display: flex;
  justify-content: center;
}
.festivals-page .date-filter-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  user-select: none;
}
.festivals-page .date-filter-toggle:hover {
  background: rgba(139, 69, 19, 0.05);
}
.festivals-page .toggle-checkbox {
  display: none;
}
.festivals-page .toggle-slider {
  position: relative;
  width: 50px;
  height: 24px;
  background: #d1d5db;
  border-radius: 0.75rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
  border: 1px solid #9ca3af;
}
.festivals-page .toggle-slider::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.festivals-page .toggle-checkbox:checked + .toggle-slider {
  background: #535a69;
  border-color: #535a69;
}
.festivals-page .toggle-checkbox:checked + .toggle-slider::before {
  transform: translateX(26px);
  background: #FFFFFF;
}
.festivals-page .toggle-label {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.025em;
}
.festivals-page .no-dates-header {
  background: linear-gradient(135deg, #64748b 0%, #64748b 100%) !important;
  border-color: #64748b !important;
}
.festivals-page .no-dates-festival {
  border-left: 4px solid #64748b;
  background: rgba(100, 116, 139, 0.05);
}
.festivals-page .no-dates-festival .festival-row:hover {
  background: rgba(100, 116, 139, 0.08);
}
.festivals-page .no-dates-status {
  background: rgba(100, 116, 139, 0.1) !important;
  border-color: #64748b !important;
}
.festivals-page .no-dates-badge {
  color: #64748b;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.festivals-page .last-known-dates {
  margin: 0.5rem 0;
  font-size: 0.75rem;
  color: #64748b;
  font-style: italic;
}
.festivals-page .last-known-label {
  font-weight: 600;
  margin-right: 0.5rem;
}
.festivals-page .speculative-section {
  margin: 0.5rem 0 1rem 0;
  padding: 0 0.75rem;
}
.festivals-page .speculative-content {
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #1e293b;
  font-style: italic;
}
.festivals-page .speculative-label {
  font-weight: 600;
  color: #1e293b;
  margin-right: 0.5rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.festivals-page .speculative-festivals {
  color: #1e293b;
  opacity: 0.8;
}
.festivals-page .speculative-link {
  color: #535a69;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dotted #535a69;
  transition: all 0.2s ease;
}
.festivals-page .speculative-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}
.festivals-page .list-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.festivals-page .filter-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.festivals-page .toggle-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.festivals-page .toggle-section .filter-btn {
  transition: none;
}
.festivals-page .filter-label {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.festivals-page .country-select {
  min-width: 200px;
  display: none;
}
.festivals-page .select2-container--default .select2-selection--single {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  height: 3rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  color: #1e293b;
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
}
.festivals-page .select2-container--default .select2-selection--single:hover {
  border-color: #9ca3af;
}
.festivals-page .select2-container--default .select2-selection--single:focus {
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 3rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  color: #1e293b;
  font-weight: 500;
  display: flex;
  align-items: center;
  height: 100%;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #94a3b8;
  opacity: 1;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 3rem;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.festivals-page .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #64748b transparent transparent transparent;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  top: 50%;
  width: 0;
}
.festivals-page .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #64748b transparent;
  border-width: 0 4px 5px 4px;
}
.festivals-page .select2-dropdown {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.festivals-page .select2-container--default .select2-results__option {
  padding: 0.5rem 0.75rem;
  color: #1e293b;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}
.festivals-page .select2-container--default .select2-results__option:hover {
  background: #f9fafb;
  color: #1e293b;
}
.festivals-page .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: #535a69;
  color: #FFFFFF;
}
.festivals-page .select2-container--default .select2-results__option[aria-selected=true] {
  background: #484848;
  color: #FFFFFF;
}
.festivals-page .select2-search--dropdown .select2-search__field {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 0.5rem 0.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  color: #1e293b;
}
.festivals-page .select2-search--dropdown .select2-search__field:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}
.festivals-page .control-buttons {
  display: flex;
  gap: 0.75rem;
}
.festivals-page .mobile-filter-toggle {
  display: none;
  justify-content: center;
  width: 100%;
}
.festivals-page .filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.festivals-page .filter-toggle-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.festivals-page .filter-toggle-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.festivals-page .filter-toggle-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.festivals-page .filter-toggle-btn.active {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
}
.festivals-page .filter-arrow {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}
@media (max-width: 768px) {
  .festivals-page .calendar-dropdown-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .festivals-page .btn-icon {
    font-size: 0.875rem;
  }
  .festivals-page .calendar-dropdown-content {
    min-width: 220px;
  }
  .festivals-page .style-filter-buttons {
    flex-direction: column;
    align-items: center;
  }
  .festivals-page .style-filter-btn {
    width: 200px;
    text-align: center;
  }
  .festivals-page .mobile-filter-toggle {
    display: flex;
    width: 100%;
    justify-content: center;
  }
  .festivals-page .list-controls {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid rgba(139, 69, 19, 0.2);
    margin-top: 0.75rem;
  }
  .festivals-page .festival-list-header {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .festivals-page .festivals-count {
    align-self: center;
    margin-top: 0.5rem;
  }
  .festivals-page .filter-section {
    justify-content: center;
    align-items: center;
  }
  .festivals-page .control-buttons {
    justify-content: center;
  }
  .festivals-page .country-select {
    min-width: 180px;
  }
  .festivals-page .toggle-section {
    justify-content: center;
  }
  .festivals-page .date-filter-toggle {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .festivals-page .toggle-label {
    font-size: 0.75rem;
  }
  .festivals-page .map-header-toggle .date-filter-toggle {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
  }
  .festivals-page .map-header-toggle .toggle-label {
    font-size: 0.75rem;
  }
  .festivals-page .festival-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .festivals-page .festival-dates {
    order: -1;
    align-self: flex-start;
    margin-bottom: 0.25rem;
  }
}
@media (max-width: 480px) {
  .festivals-page .calendar-dropdown-btn {
    padding: 0.5rem 0.5rem;
    font-size: 0.75rem;
  }
  .festivals-page .btn-icon {
    font-size: 0.75rem;
  }
  .festivals-page .calendar-dropdown-content {
    min-width: 200px;
    right: -20px;
  }
  .festivals-page .style-filter-btn {
    width: 180px;
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
  .festivals-page .filter-section {
    flex-direction: column;
    gap: 0.5rem;
  }
  .festivals-page .country-select {
    min-width: 160px;
  }
  .festivals-page .filter-label {
    font-size: 0.75rem;
  }
  .festivals-page .filter-toggle-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .festivals-page .filter-arrow {
    font-size: 0.75rem;
  }
  .festivals-page .map-header-toggle .date-filter-toggle {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0.5rem;
  }
  .festivals-page .map-header-toggle .toggle-label {
    font-size: 0.75rem;
  }
}
.festivals-page .website-button-section {
  display: flex;
  justify-content: flex-start;
  gap: 0.5rem;
  margin: 0.25rem 0 0.5rem 0;
}
.festivals-page .website-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.festivals-page .website-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.festivals-page .website-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.festivals-page .website-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.festivals-page .website-btn .btn-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.festivals-page .website-btn:hover .btn-icon {
  opacity: 1;
}
.festivals-page .website-btn.youtube-btn {
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: #FFFFFF;
  border-color: #CC0000;
}
.festivals-page .website-btn.youtube-btn:hover {
  background: linear-gradient(135deg, #CC0000 0%, #990000 100%);
  border-color: #990000;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(255, 0, 0, 0.3);
}
.festivals-page .website-btn.youtube-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(255, 0, 0, 0.3);
}
.festivals-page .website-btn.youtube-btn .btn-icon {
  opacity: 1;
}
.festivals-page .festival-link-section {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
}
.festivals-page .festival-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f9fafb;
  color: #64748b;
  text-decoration: none;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
}
.festivals-page .festival-link-btn:hover {
  background: #f3f4f6;
  color: #535a69;
  border-color: #535a69;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.festivals-page .festival-link-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.festivals-page .festival-link-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}
.festivals-page .festival-link-btn .link-icon {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.festivals-page .festival-link-btn:hover .link-icon {
  opacity: 1;
}

html, body {
  background-color: #f8fafc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  padding-top: 0;
  margin: 0;
  line-height: 1.6;
  color: #1e293b;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  color: #1e293b;
}

h1 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.875rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.125rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin: 0 0 1rem 0;
  color: #64748b;
}

a {
  color: #535a69;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #484848;
}

.modern-container, .today-page .today-list-container, .list-container {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.modern-header, .today-page .today-list-description, .list-header {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}
.modern-header p, .today-page .today-list-description p, .list-header p {
  margin: 0;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.btn, .map-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.btn:hover, .map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.btn:active, .map-view-btn:active {
  transform: translateY(0);
}
.btn:focus, .map-view-btn:focus {
  outline: 2px solid #535a69;
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.btn-primary:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.btn-large {
  padding: 1rem 1.5rem;
  font-size: 1.125rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.875rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
}

.form-input-modern, .search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  box-shadow: none;
  box-sizing: border-box;
}
.form-input-modern:focus, .search-input:focus {
  outline: none;
  border-color: #535a69;
  box-shadow: none;
  background: #ffffff;
}
.form-input-modern::placeholder, .search-input::placeholder {
  color: #94a3b8;
  opacity: 1;
  font-style: normal;
}

.map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.5rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: none;
}

.map-modern {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn .map-icon {
  flex-shrink: 0;
}

.vintage-popup-wrapper .leaflet-popup-content-wrapper,
.modern-popup-wrapper .leaflet-popup-content-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: none;
  padding: 0;
}
.vintage-popup-wrapper .leaflet-popup-content,
.modern-popup-wrapper .leaflet-popup-content {
  margin: 0;
  padding: 1.5rem;
  background: transparent;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  line-height: 1.6;
}
.vintage-popup-wrapper .leaflet-popup-tip,
.modern-popup-wrapper .leaflet-popup-tip {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-top: none;
  border-left: none;
}
.vintage-popup-wrapper .leaflet-popup-close-button,
.modern-popup-wrapper .leaflet-popup-close-button {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}
.vintage-popup-wrapper .leaflet-popup-close-button:hover,
.modern-popup-wrapper .leaflet-popup-close-button:hover {
  color: #1e293b;
}

.vintage-popup,
.modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.vintage-popup h3,
.modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.vintage-popup p,
.modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.vintage-popup a,
.modern-popup a {
  color: #535a69;
  text-decoration: underline;
}

.modern-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
  letter-spacing: 0.025em;
}

.modern-info {
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.modern-label {
  font-weight: 600;
  color: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.modern-list {
  margin: 0.5rem 0;
  padding-left: 1.25rem;
  list-style: none;
}
.modern-list li {
  margin: 0.25rem 0;
  position: relative;
  padding-left: 1rem;
}
.modern-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #535a69;
  font-size: 0.875rem;
  font-weight: bold;
}

.modern-link {
  color: #535a69;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid transparent;
}
.modern-link:hover {
  color: #484848;
  border-bottom: 1px solid #535a69;
}

@media (max-width: 768px) {
  .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
    width: 100%;
    border: none;
    border-radius: 0;
  }
  .modern-container, .today-page .today-list-container, .list-container {
    border-left: none;
    border-right: none;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 0;
    margin: 0;
  }
  h1 {
    font-size: 1.875rem;
  }
  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }
  .modern-header, .today-page .today-list-description, .list-header {
    padding: 1rem 1rem;
  }
  .modern-header p, .today-page .today-list-description p, .list-header p {
    font-size: 0.875rem;
  }
  .btn, .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}
.site-header {
  margin-bottom: 2rem;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-sizing: border-box;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  flex-shrink: 0;
  line-height: 1.2;
}
.site-title a {
  color: inherit;
  text-decoration: none;
}
.site-title a:hover {
  color: #535a69;
}

.main-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 1rem;
  }
  .site-title {
    text-align: center;
    font-size: 1.25rem;
  }
  .main-nav {
    justify-content: center;
    gap: 0.25rem;
  }
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.nav-link {
  color: #64748b;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover {
  color: #1e293b;
  background: #f9fafb;
}
.nav-link.active {
  color: #535a69;
  background: rgba(83, 90, 105, 0.1);
  font-weight: 600;
}
.nav-link.active:hover {
  color: #535a69;
  background: rgba(83, 90, 105, 0.15);
}

.site-footer {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem 0;
}
.site-footer a {
  color: #64748b;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover {
  color: #535a69;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s ease;
  box-shadow: none;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: none;
}

.card-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: none;
  transition: all 0.2s ease;
}
.card-modern:hover {
  border-color: #d1d5db;
  box-shadow: none;
  transform: translateY(-1px);
}

.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.list-header h3 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  margin: 0;
  font-size: 1.125rem;
}

.list-count {
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 600;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.list-content {
  padding: 0.75rem;
}

.list-item {
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
.list-item:last-child {
  border-bottom: none;
}
.list-item.expanded {
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  margin: 0.5rem 0.75rem;
  box-shadow: none;
  overflow: hidden;
}

.item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  user-select: none;
}
.item-row:hover {
  background: #f9fafb;
}

.item-info {
  flex: 1;
  pointer-events: none;
}
.item-info a {
  pointer-events: auto;
}

.item-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.item-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.2;
}

.item-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.flag-emoji {
  font-size: 1rem;
  cursor: help;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.3));
}
.flag-emoji:hover {
  transform: scale(1.1);
}

.item-toggle {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-toggle:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.toggle-icon {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.item-details {
  margin-top: 1rem;
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.detail-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-bottom: 0.25rem;
}

.detail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 0.75rem;
  margin-bottom: 0.25rem;
}
.detail-items--column {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.25rem;
}
.detail-items--column .detail-item {
  min-width: 0;
  flex: 1 1 100%;
  padding: 0.25rem 0.5rem;
  margin: 0;
}

.detail-item {
  display: flex;
  align-items: center;
  min-width: 180px;
  max-width: 100%;
  flex: 0 1 260px;
  padding: 0.5rem 0.75rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: background-color 0.2s ease;
  margin: 0;
  box-sizing: border-box;
}
.detail-item:hover {
  background: #f3f4f6;
}

.detail-time {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.875rem;
  flex-shrink: 0;
  margin-right: 0.75rem;
}

.detail-link {
  flex: 1;
  text-align: left;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #1e293b;
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: help;
}
.stat-icon:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  transform: translateY(-1px);
  box-shadow: none;
}
.stat-icon svg {
  flex-shrink: 0;
}

.stat-count {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.filter-container {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.filter-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
}
.filter-btn.active {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
  box-shadow: none;
}
.filter-btn.active:hover {
  background: #484848;
  border-color: #484848;
  transform: translateY(-1px);
}
.filter-btn .filter-icon {
  flex-shrink: 0;
}

.search-container {
  margin: 0;
  padding: 0;
  background: transparent;
  border-bottom: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  z-index: 2;
}

.search-input {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.clear-search-btn:hover {
  background: #f3f4f6;
  color: #1e293b;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin: 1rem 0;
  border: 1px solid #fecaca;
}

.no-results {
  text-align: center;
  color: #64748b;
  font-size: 1.125rem;
  padding: 3rem 1rem;
}

@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .search-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .search-box {
    flex: none;
  }
  .item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .detail-link {
    text-align: left;
    margin-left: 0;
    justify-content: flex-start;
  }
}
.map-container {
  position: relative;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  overflow: hidden;
}

#map {
  height: 600px;
  width: 100%;
  margin: 1.25rem 0;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-modern {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}

.map-controls {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.map-view-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
  color: #1e293b;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: none;
}
.map-view-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-view-btn .map-icon {
  flex-shrink: 0;
}

.map-toggle-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1000;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  color: #1e293b;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.875rem;
}
.map-toggle-btn:hover {
  background: #f9fafb;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: none;
  color: #1e293b;
}
.map-toggle-btn.map-show {
  background: #535a69;
  color: #FFFFFF;
  border-color: #535a69;
}
.map-toggle-btn.map-show:hover {
  background: #484848;
  border-color: #484848;
  color: #FFFFFF;
}

.map-toggle-text {
  white-space: nowrap;
}

.map-container.map-hidden {
  height: auto;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.map-container.map-hidden .map-toggle-btn {
  position: static;
  margin: 0;
}
.map-container.map-hidden #map {
  display: none;
}

.map-container.inside-list {
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-bottom: 1px solid #e5e7eb;
}
.map-container.inside-list #map {
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: none;
  margin: 0;
  padding: 0;
}

.map-loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d1d5db;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: none;
}

.spinner-ring {
  width: 40px;
  height: 40px;
  border: 4px solid #e5e7eb;
  border-top: 4px solid #535a69;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 0.75rem;
}

.spinner-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  text-align: center;
}

.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
  background: none !important;
  border: none !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #535a69 100%);
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  position: relative;
  margin: 0 auto;
}
.marker-cluster-small span,
.marker-cluster-medium span,
.marker-cluster-large span {
  color: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 14px;
  text-shadow: none;
  position: relative;
  left: 0;
  top: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  line-height: 1;
  display: block;
}

.band-marker {
  background: transparent;
  border: none;
}
.band-marker .band-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #D2691E 0%, #A0522D 70%, #8B4513 100%);
  border: 2px solid #D2B48C;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.band-marker .band-pin::after {
  content: "🎷";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  font-size: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vintage-marker,
.modern-marker {
  background: transparent;
  border: none;
}
.vintage-marker .marker-pin,
.modern-marker .marker-pin {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 70%, #64748b 100%);
  border: 2px solid #d1d5db;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.vintage-marker .marker-pin::after,
.modern-marker .marker-pin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: none;
}
.vintage-marker.no-dates .marker-pin,
.modern-marker.no-dates .marker-pin {
  border-color: #9ca3af;
  opacity: 0.6;
}
.vintage-marker.no-dates .marker-pin::after,
.modern-marker.no-dates .marker-pin::after {
  background: #e5e7eb;
  border: 1px solid #9ca3af;
}

.festival-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease;
  filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
  pointer-events: auto;
  z-index: 1;
}
.festival-marker:hover {
  transform: translateX(-50%) scale(1.1);
}
.festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}

.dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}

.leaflet-control-zoom a {
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #1e293b;
  font-weight: 500;
  box-shadow: none;
}
.leaflet-control-zoom a:hover {
  background: #f9fafb;
  color: #1e293b;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}
.leaflet-control-attribution a {
  color: #535a69;
}

#map::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(139, 69, 19, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(245, 222, 179, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1000;
  border-radius: 4px;
}

@media (max-width: 768px) {
  #map {
    height: 400px;
  }
  .map-toggle-btn {
    padding: 0.5rem;
    font-size: 0.75rem;
  }
  .map-view-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marker-cluster-small div,
  .marker-cluster-medium div,
  .marker-cluster-large div {
    width: 36px;
    height: 36px;
  }
  .marker-cluster-small span,
  .marker-cluster-medium span,
  .marker-cluster-large span {
    font-size: 18px;
  }
}
.today-page .container {
  max-width: 1200px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
}
.today-page .today-map-section {
  padding: 0;
  border-bottom: 1px solid #e5e7eb;
}
.today-page #today-map {
  aspect-ratio: 2/1;
  height: auto;
  width: 100%;
  border-radius: 8px;
  box-shadow: none;
  background: #ffffff;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 768px) {
  .today-page #today-map {
    aspect-ratio: 1.5/1;
  }
}
.today-page .today-events-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.today-page .events-section {
  position: relative;
}
.today-page .events-section h2 {
  color: #1e293b;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  padding: 1rem;
  margin: 1rem 0 1rem 0;
  text-align: center;
  background: none;
}
.today-page .events-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.today-page .event-item {
  background: #ffffff;
  padding: 1rem;
  transition: all 0.2s ease;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
}
.today-page .event-item:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}
.today-page .event-item p {
  margin: 0;
  color: #1e293b;
  font-size: 1rem;
  line-height: 1.4;
}
.today-page .event-item a {
  color: #535a69;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}
.today-page .event-item a:hover {
  color: #484848;
}
.today-page .no-events {
  text-align: center;
  color: #64748b;
  font-style: italic;
  padding: 1.25rem;
}
.today-page .festival-marker .marker-pin {
  background: linear-gradient(135deg, #535a69 0%, #484848 100%);
  border: 2px solid #484848;
  box-shadow: none;
}
.today-page .dance-marker .marker-pin {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border: 2px solid #d1d5db;
  box-shadow: none;
}
.today-page .marker-pin {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #FFFFFF;
  font-weight: 700;
}
.today-page .modern-popup {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.today-page .modern-popup h3 {
  color: #1e293b;
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
}
.today-page .modern-popup p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}
.today-page .modern-popup a {
  color: #535a69;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .today-page .today-events-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .today-page .events-section:first-child {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .today-page .today-list-description p {
    font-size: 0.875rem;
  }
}
.today-page .city-link {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
  pointer-events: auto;
}
.today-page .city-link:hover {
  color: #535a69;
  text-decoration: underline;
}

/*# sourceMappingURL=main.css.map */