/* City Events Grid */
.city-events-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 1280px) {
  .city-events-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
  }
}

@media (max-width: 980px) {
  .city-events-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
  }
}

@media (max-width: 767px) {
  .city-events-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Event Item */
.city-event-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.city-event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.city-event-item .event-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.city-event-item .event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.city-event-item:hover .event-image img {
  transform: scale(1.05);
}

.city-event-item .event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.city-event-item .event-title {
  font-size: 1.2em;
  padding: 0;
  font-weight: bold;

  color: #333;
  line-height: 1.3;
}

.city-event-item .event-date,
.city-event-item .event-type,
.city-event-item .event-location,
.city-event-item .event-price {
  color: #666;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* No Events Message */
.city-events-no-events {
  text-align: center;
  padding: 40px 20px;
  background: #f9f9f9;
  border-radius: 8px;
  margin: 20px 0;
}

.no-events-message h3 {
  color: #333;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.no-events-message p {
  color: #666;
  margin-bottom: 20px;
}

.event-submit-button {
  display: inline-block;
}

/* Call-to-Action Card */
.event-submit-card {
  background: var(--brand-color, #ec9b4a);
  color: white;
  text-align: center;
  padding: 30px 20px;
  border-radius: 8px;
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
}

.event-submit-card:hover {
  transform: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.event-submit-card .submit-card-content h3 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.2em;
  font-weight: bold;
}

.event-submit-card .submit-card-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  line-height: 1.4;
}

.submit-card-button,
.event-details-button {
  display: inline-block;
  background: white;
  color: var(--brand-color, #ec9b4a) !important;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 3px;
  font-weight: bold;
  transition: all 0.3s;
  cursor: pointer;
}
.event-details-button {
  border: 2px solid var(--brand-color, #ec9b4a);
  width: 100%;
}

.submit-card-button:hover {
  background: #f8f8f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* Lightbox Styles */
#event-lightbox {
  font-family: inherit !important;
}
.lightbox-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.lightbox-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 15px;
}

.lightbox-overlay {
  position: relative !important;
  border-radius: 5px;
}

.lightbox-close {
  align-self: start;
  cursor: pointer;
  color: white;
  display: flex;
  background: var(--brand-color);
  padding: 6px;
  border-radius: 5px;
}

.lightbox-close svg {
  width: 20px;
  height: 20px;
}

.lightbox-close:hover {
  background: color-mix(in srgb, var(--brand-color) 90%, black 15%);
}

.lightbox-image {
  width: 100%;

  border-radius: 5px;
}

.lightbox-title {
  font-weight: bold;
  padding-bottom: 0px;
  font-size: 20px;
}
.lightbox-meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.event-meta-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pill {
  background: #eee;
  width: fit-content;
  border-radius: 3px;
  padding: 4px 10px;
  line-height: 1;
  border: 2px solid color-mix(in srgb, black 10%, white 30%);
  display: flex;
  gap: 3px;
  font-size: 14px;
  align-items: center;
}

.pill svg {
  color: var(--brand-color);
}

.lightbox-description {
  line-height: 1.6;
}

.lightbox-website a {
  text-decoration: none;
  display: flex;
  align-items: center;
  color: var(--brand-color, #ec9b4a);
}

.lightbox-website a:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .event-submit-card {
    padding: 25px 15px;
  }

  .event-submit-card .submit-card-content h3 {
    font-size: 1.1em;
  }
}

@media (max-width: 767px) {
  .event-submit-card {
    padding: 20px 12px;
  }

  .event-submit-card .submit-card-content h3 {
    font-size: 1em;
  }
}
