<!-- Enhanced Event Card Styles -->

/* Brand color variables for GreatAmerica */
:root {
  --ga-dark-blue: #003A70;
  --ga-blue: #0066BA;
  --ga-medium-blue: #44C8F5;
  --ga-light-blue: #D4EFFC;
  --ga-black: #231F20;
  --ga-mid-gray: #888787;
  --ga-light-gray: #DBD0DE;
  --ga-white: #FFFFFF;
  --ga-bronze: #C0692D;
}

/* Carousel Container */
.events-carousel-container {
  position: relative;
  margin: 20px 0;
  overflow: hidden;
}

/* Carousel Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  z-index: 10;
  pointer-events: none;
}

.carousel-btn {
  background: #0066BA;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: #003A70;
  transform: scale(1.1);
}

.carousel-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: scale(1);
}

.carousel-prev {
  left: -25px;
}

.carousel-next {
  right: -25px;
}

/* Carousel Track Container */
.carousel-track-container {
  overflow: hidden;
  padding: 0 30px;
}

/* Carousel Track */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 30px;
}

/* Carousel Slides */
.carousel-slide {
  min-width: calc(33.333% - 20px);
  flex-shrink: 0;
}

.carousel-slide .event-grid-item {
  width: 100%;
}

/* Responsive carousel adjustments */
@media (max-width: 1023px) {
  .carousel-slide {
    min-width: calc(50% - 15px);
  }
  
  .carousel-track {
    gap: 20px;
  }
  
  .carousel-track-container {
    padding: 0 20px;
  }
  
  .carousel-prev {
    left: -15px;
  }
  
  .carousel-next {
    right: -15px;
  }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .carousel-slide {
    min-width: calc(100% - 10px);
  }
  
  .carousel-track {
    gap: 20px;
  }
  
  .carousel-track-container {
    padding: 0 15px;
  }
  
  .carousel-prev {
    left: -10px;
  }
  
  .carousel-next {
    right: -10px;
  }
}

/* Enhanced Event Card Styles */
.event-card.enhanced {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  margin-bottom: 24px;
  position: relative;
}

.event-card.enhanced:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Event header with thumbnail/logo */
.event-header {
  padding: 24px;
  background: linear-gradient(135deg, var(--ga-dark-blue) 0%, var(--ga-blue) 100%) !important;
  background: linear-gradient(135deg, #003A70 0%, #0066BA 100%) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  min-height: 120px;
  max-height: 120px;
  position: relative;
}

.event-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  max-height: 80px;
  height: 80px;
  padding: 10px;
  width: 100%;
}

.event-logo img {
  max-width: 180px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Filter removed - logos will show in their original colors */
  background: rgba(255, 255, 255, 0.9);
  padding: 8px;
  border-radius: 8px;
}

.event-logo-placeholder {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
}

/* Event content styling */
.event-content {
  padding: 24px;
}

.event-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  padding-top: 0;
  color: #2c3e50;
  line-height: 1.3;
}

.event-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.event-title a:hover {
  color: var(--ga-blue);
}

/* Event details styling */
.event-details {
  margin-bottom: 20px;
}

.event-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  color: #0066BA;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.event-detail-item span {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.event-detail-item i {
  margin-right: 12px;
  margin-top: 2px;
  color: #0066BA;
  font-size: 1.1rem;
  width: 16px;
  flex-shrink: 0;
}

.event-detail-item:last-child {
  margin-bottom: 0;
}

/* View toggle button */
.view-toggle-btn {
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .event-header {
    padding: 20px;
    height: 100px;
    min-height: 100px;
    max-height: 100px;
  }
  
  .event-logo {
    height: 60px;
    min-height: 60px;
    max-height: 60px;
  }
  
  .event-logo img {
    max-width: 120px;
    max-height: 40px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  .event-logo-placeholder {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .event-content {
    padding: 20px;
  }
  
  .event-title {
    font-size: 1.1rem;
  }
}

