/* Event Card Styles for GP Plugin */
/* 
 * Image Size Requirements:
 * - Current Events: 344px × 490px for desktop/tablet, 260px × 450px for mobile carousel
 * - HH Schedule Events: 135px × 90px for ALL display types (desktop, tablet, mobile)
 * 
 * When both categories are selected for an event, separate images should be provided for each category.
 * 
 * Default Image (default.event.jpg):
 * - Automatically fits to category dimensions using CSS object-fit: cover
 * - Current Events: Background image with cover sizing for 344x490 cards (desktop/tablet) and 260x450 (mobile)
 * - HH Schedule: img tag with object-fit: cover for 135x90 thumbnails
 * 
 * Mobile Carousel: 320px slide width ensures proper 1 slide + 10% preview layout
 */
@import url('https://fonts.googleapis.com/css?family=Lato:400,700&display=swap');

/* Base Event Card Styles */
.hh-em-card {
  width: 344px;
  height: 490px;
  position: relative;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-family: 'Lato', Arial, sans-serif;
}

/* Current Events cards: 4px border radius (per design) */
.hh-em-current-events-wrapper .hh-em-card {
  border-radius: 4px !important;
}

.hh-em-card-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.85);
  z-index: 1;
}

.hh-em-card-gradient {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}

.hh-em-card-content {
  position: relative;
  z-index: 3;
  padding: 24px 16px 20px 16px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hh-em-card-date-badge {
  display: inline-block;
  background: #c46b1c;
  color: #fff;
  padding: 3px 12px;
  border-radius: 14px;
  font-size: clamp(9px, 1.3vw, 11px); /* Smaller responsive font size: min 9px, max 11px */
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0.8px;
}

.hh-em-card-title {
  font-size: clamp(14px, 2.5vw, 20px); /* Optimized responsive font size: min 14px, max 20px */
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.hh-em-card-location {
  font-size: clamp(9px, 1.3vw, 11px); /* Smaller responsive font size: min 9px, max 11px */
  font-weight: 700;
  color: #F5C77A;
  margin-bottom: 0;
}

/* Current Events wrapper - center block and cards (single or multiple) */
.hh-em-current-events-wrapper {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Desktop Layout - Center Events - Full width 1600px */
@media (min-width: 769px) {
  .hh-em-events-desktop {
    display: block;
  }
  
  .hh-em-events-mobile {
    display: none;
  }
  
  .hh-em-calendar-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    max-width: 1600px !important;
    margin: 0 auto !important;
    justify-items: center !important;
  }
  
  .hh-em-current-events-grid {
    max-width: 1600px !important;
    margin: 0 auto !important;
  }
  
  .hh-em-calendar-date-group {
    width: 100% !important;
    min-width: unset !important;
    max-width: unset !important;
    flex: unset !important;
    margin-bottom: 16px !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  .hh-em-carousel-slide {
    width: 344px !important;
    min-width: 344px !important;
    max-width: 344px !important;
    flex: 0 0 344px !important;
    margin: 0 !important;
  }
  
  /* Desktop Current Events: center single or multiple cards */
  .hh-em-current-events-grid:has(.hh-em-event-item:only-child) {
    justify-content: center !important;
  }
  
  .hh-em-current-events-grid:has(.hh-em-event-item:only-child) .hh-em-event-item {
    margin-left: 0 !important;
  }
  
  .hh-em-current-events.count-1,
  .hh-em-current-events.count-2,
  .hh-em-current-events.count-3,
  .hh-em-current-events.count-4 {
    justify-content: center !important;
  }

  /* Current Events Desktop - responsive: prevent left/right cutoff when zooming or narrow viewport */
  .hh-em-current-events-wrapper {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hh-em-current-carousel-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hh-em-current-slide {
    padding: 0;
    box-sizing: border-box;
  }
  .hh-em-current-slide .hh-em-event-item {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    max-width: 344px !important;
    width: auto !important;
  }
  .hh-em-current-slide .hh-em-event-item .hh-em-card {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 344 / 490;
  }
}

/* Small Laptop Layout - Prevent wrapping (desktop current events use flexible sizing below) */
@media (max-width: 1200px) and (min-width: 769px) {
  .hh-em-current-events {
    flex-wrap: nowrap !important;
  }
  
  .hh-em-event-item {
    flex: 0 0 calc(25% - 12px) !important;
    max-width: calc(25% - 12px) !important;
    min-width: 280px !important;
  }
}

/* Tablet Layout - Responsive Grid */
@media (max-width: 1024px) and (min-width: 769px) {
  .hh-em-calendar-list {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    max-width: 1600px !important;
  }
  
  .hh-em-card {
    width: 344px;
    height: 490px;
  }
  
  .hh-em-card-title {
    font-size: clamp(12px, 2.2vw, 18px); /* Optimized responsive font size for tablet: min 12px, max 18px */
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  /* HH Schedule Tablet Layout - Smaller image, adjusted text sizes */
  .hh-em-schedule-image {
    width: 100px;
    height: 70px;
  }
  
  .hh-em-schedule-content {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 120px); /* 100px image + 20px gap */
    padding: 0;
    overflow: visible; /* Allow content to be visible */
  }
  
  .hh-em-schedule-content h3 {
    font-size: 16px; /* Tablet font size: 16px */
    letter-spacing: 0.1px;
    line-height: 120%;
    font-family: Lato;
    color: #472b20;
    text-align: left;
    display: block;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow: visible; /* Allow text to be visible */
  }
  
  .hh-em-schedule-meta {
    max-width: 100%;
    overflow: visible; /* Allow meta content to be visible */
  }
}

/* Mobile Layout - Carousel with 1 slide + 10% of next slide visible */
/* Mobile carousel uses 260px × 450px cards with 320px slide width for proper preview */
/* Carousel is centered to show proper slide positioning */
/* Track width dynamically calculated to show all slides */
@media (max-width: 768px) {
  .hh-em-events-desktop {
    display: none !important;
  }
  
  .hh-em-events-mobile {
    display: block !important;
  }
  
  .hh-em-calendar-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 32px !important;
    justify-content: center !important;
  }
  
  .hh-em-calendar-date-group {
    min-width: 344px !important;
    max-width: 344px !important;
    flex: 0 0 344px !important;
    margin-bottom: 24px !important;
  }
  
  /* Mobile Carousel Container - Full width 1600px */
  /* Shows 1 slide + 10% of next slide for better UX */
  /* Container has no padding, track handles centering and spacing */
  .hh-em-carousel-container {
    max-width: 1600px !important;
    width: 100% !important;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 0;
    /* Ensure proper slide visibility with 1 slide + 10% of next */
    box-sizing: border-box;
    /* Center the carousel content */
    display: flex;
    justify-content: center;
  }
  
  .hh-em-carousel-track {
    display: flex;
    gap: 0;
    width: 100%;
    transition: transform 0.3s ease;
    padding: 0 16px;
    justify-content: flex-start;
    /* Centers slides and provides left/right spacing */
    /* Ensure track can accommodate all slides */
    min-width: calc(320px * var(--total-slides, 3));
    /* Center the track when there are fewer slides than container width */
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Additional centering for mobile carousel when fewer slides */
  @media (max-width: 768px) {
    .hh-em-carousel-container {
      /* Ensure container is centered */
      text-align: center;
    }
    
    .hh-em-carousel-track {
      /* Center the track when there are fewer slides */
      margin: 0 auto;
      /* Ensure proper alignment */
      justify-content: flex-start;
    }
    
    /* When there are very few slides, center them better */
    .hh-em-carousel-track[style*="--total-slides: 1"],
    .hh-em-carousel-track[style*="--total-slides: 2"] {
      justify-content: center;
    }
  }
  
  .hh-em-carousel-slide {
    margin: 0;
    flex-shrink: 0;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex: 0 0 320px !important;
    padding-right: 20px;
  }
  
  /* Current Events Mobile Carousel - 2 cards per slide with proper sizing */
  .hh-em-current-events-mobile {
    max-width: 1600px !important;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-container {
    max-width: 1600px !important;
    width: 100% !important;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 0;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-track {
    display: flex;
    gap: 1px;
    width: 100%;
    transition: transform 0.3s ease;
    padding: 0 16px;
    justify-content: flex-start;
    /* Ensure track can accommodate all slides */
    min-width: calc(320px * var(--total-slides, 3));
    /* Center the track when there are fewer slides than container width */
    margin-left: auto;
    margin-right: auto;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-slide {
    margin: 0;
    flex-shrink: 0;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex: 0 0 320px !important;
    padding-right: 0;
    /* Center each event card within its slide */
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card {
    width: 260px !important;
    height: 450px !important;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card-content {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
    min-height: 0;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card-title {
    font-size: clamp(12px, 2vw, 14px) !important;
    line-height: 1.3;
    width: 100%;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  /* Ensure image and content are equal/aligned */
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card-bg {
    flex: 0 0 auto;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card-gradient {
    flex: 0 0 auto;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card-date-badge {
    font-size: clamp(7px, 1.5vw, 9px) !important; /* Smaller responsive font size for mobile carousel */
    padding: 2px 10px;
    margin-bottom: 10px;
  }
  
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card-location {
    font-size: clamp(12px, 1.8vw, 14px) !important; /* Increased by another 2px for mobile carousel */
  }
  
  /* Carousel Dots */
  .hh-em-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    position: relative;
    z-index: 10;
  }
  
  .hh-em-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #F5C77A;
    transition: background-color 0.3s ease;
  }
  
  .hh-em-carousel-dot.active {
    background: #c46b1c;
  }
  
  .hh-em-carousel-dot:hover {
    background: #c46b1c;
  }
  
  /* Current Events Mobile Layout */
  .hh-em-current-events-mobile {
    max-width: 1600px !important;
    margin: 0 auto;
    padding: 0 16px;
  }
  
  .hh-em-current-event-mobile-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    margin-bottom: 16px;
    background: #f8f4f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
    align-items: center;
  }
  
  .hh-em-current-event-mobile-item:last-child {
    margin-bottom: 0;
  }
  
  .hh-em-current-event-mobile-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }
  
  .hh-em-current-event-mobile-image {
    flex-shrink: 0;
  }
  
  .hh-em-current-event-mobile-image img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
  }
  
  .hh-em-current-event-mobile-item:hover .hh-em-current-event-mobile-image img {
    transform: scale(1.05);
  }
  
  .hh-em-current-event-mobile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }
  
  .hh-em-current-event-mobile-content h3 {
    margin: 0 0 10px 0;
    font-size: clamp(13px, 3vw, 15px); /* Smaller responsive font size for mobile current events */
    color: #2c2c2c;
    line-height: 1.4;
  }
  
  .hh-em-current-event-mobile-content h3 a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
  }
  
  .hh-em-current-event-mobile-content h3 a:hover {
    color: #c46b1c;
  }
  
  .hh-em-current-event-mobile-date {
    color: #555;
    font-size: clamp(10px, 2.3vw, 12px); /* Smaller responsive font size for mobile current events */
    font-weight: 500;
    margin-bottom: 6px;
  }
  
  .hh-em-current-event-mobile-location {
    color: #666;
    font-size: clamp(9px, 2vw, 11px); /* Smaller responsive font size for mobile current events */
    font-weight: 400;
    margin-bottom: 10px;
  }
  
  .hh-em-current-event-mobile-link {
    color: #c46b1c;
    font-size: clamp(10px, 2.3vw, 12px); /* Smaller responsive font size for mobile current events */
    font-weight: 600;
    text-decoration: none;
    padding: 5px 10px;
    background: rgba(196, 107, 28, 0.1);
    border-radius: 5px;
    transition: all 0.2s ease;
    align-self: flex-start;
    white-space: nowrap;
  }
  
  .hh-em-current-event-mobile-link:hover {
    background: rgba(196, 107, 28, 0.2);
    color: #a55a15;
  }
}

/* Small Mobile - Ensure cards don't get cut off */
@media (max-width: 600px) {
  .hh-em-card {
    width: 260px;
    height: 450px;
  }
  
  .hh-em-card-title {
    font-size: clamp(14px, 3vw, 20px); /* Smaller responsive font size for small mobile */
  }
  
  .hh-em-carousel-container {
    max-width: calc(100vw - 32px) !important;
    padding: 0;
  }
  
  .hh-em-carousel-track {
    justify-content: center;
  }
  
  .hh-em-carousel-slide {
    margin: 0;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex: 0 0 320px !important;
    padding-right: 20px;
  }
  
  /* Ensure current events mobile carousel works properly */
  .hh-em-current-events-mobile .hh-em-carousel-slide {
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex: 0 0 320px !important;
    padding-right: 20px;
  }
  
  /* Ensure current events mobile carousel cards have correct height */
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card {
    width: 260px !important;
    height: 450px !important;
    min-height: 450px;
  }
}

/* Extra Small Mobile - Prevent card cutoff */
@media (max-width: 400px) {
  .hh-em-card {
    width: 260px;
    height: 450px;
    min-height: 450px;
  }
  
  .hh-em-card-content {
    padding: 16px;
  }
  
  .hh-em-card-title {
    font-size: clamp(12px, 2.5vw, 18px); /* Smaller responsive font size for extra small mobile */
  }
  
  .hh-em-carousel-track {
    justify-content: center;
  }
  
  .hh-em-carousel-slide {
    margin: 0;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex: 0 0 320px !important;
    padding-right: 20px;
  }
  
  /* Ensure current events mobile carousel works properly on very small screens */
  .hh-em-current-events-mobile .hh-em-carousel-slide {
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
    flex: 0 0 320px !important;
    padding-right: 20px;
  }
  
  /* Ensure current events mobile carousel cards have correct height */
  .hh-em-current-events-mobile .hh-em-carousel-slide .hh-em-card {
    width: 260px !important;
    height: 450px !important;
    min-height: 450px;
  }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
  .hh-em-carousel-dot {
    min-width: 16px;
    min-height: 16px;
  }
}

/* Default Image Styles - Ensure proper sizing for each category */
.hh-em-card-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* HH Schedule default image - 135x90 dimensions */
.hh-em-schedule-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Current Events default image - 344x490 dimensions */
.hh-em-card .hh-em-card-bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* HH Schedule Layout Styles */
.hh-em-schedule-events {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 16px;
}

.hh-em-schedule-item {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 0;
  transition: transform 0.2s ease;
  flex-wrap: nowrap;
  align-items: center;
  background: transparent;
  position: relative;
}

/* Add divider after each schedule item except the last one (full width, golden-brown) */
.hh-em-schedule-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #E4A840;
}

.hh-em-schedule-item:hover {
  transform: translateY(-2px);
}

.hh-em-schedule-image {
  flex-shrink: 0;
  width: 135px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hh-em-schedule-image img {
  width: 135px !important;
  height: 90px !important;
  object-fit: cover;
  border-radius: 4px !important;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.hh-em-schedule-item:hover .hh-em-schedule-image img {
  transform: scale(1.05);
}

.hh-em-schedule-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 0;
  overflow: visible;
}

/* HH Schedule Event Styles - Desktop; responsive font for long title/location */
.hh-em-schedule-content h3 {
  margin: 0 0 6px 0;
  font-size: clamp(14px, 1.8vw, 18px);
  letter-spacing: 0.1px;
  line-height: 120%;
  font-weight: 600;
  font-family: Lato, Arial, sans-serif;
  color: #472B20;
  text-align: left;
  display: inline-block;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hh-em-schedule-content h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.hh-em-schedule-content h3 a:hover {
  color: #c46b1c;
}

.hh-em-schedule-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  margin-top: 4px;
}

/* Date styling - #99563C (18px, 700 bold) */
.hh-em-schedule-date-top {
  margin-bottom: 4px;
}

.hh-em-schedule-date {
  font-size: 18px;
  font-family: Lato, Arial, sans-serif;
  color: #99563C;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  line-height: 1.2;
}

/* "to" word styling - #472B20 (18px, 700 bold) with spacing */
.hh-em-schedule-date-to {
  color: #472B20;
  font-size: 18px;
  font-weight: 700;
  margin: 0 8px;
  white-space: pre;
}

/* Location styling - responsive so long text doesn't overflow */
.hh-em-schedule-location-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #7E6252;
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 600;
  font-family: Lato, Arial, sans-serif;
  min-width: 0;
  overflow: visible;
}

.hh-em-schedule-location-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #7E6252;
  fill: currentColor;
}

.hh-em-schedule-location {
  color: #7E6252;
  font-size: clamp(12px, 1.4vw, 16px);
  font-weight: 600;
  font-family: Lato, Arial, sans-serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Dot between location and view schedule - #E4A840E5 */
.hh-em-schedule-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #E4A840E5;
  flex-shrink: 0;
  margin: 0 4px;
}

.hh-em-schedule-link {
  font-size: 16px;
  font-family: Lato, Arial, sans-serif;
  color: #99563C;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.hh-em-schedule-link:hover {
  color: #a55a15;
  text-decoration: underline;
}

.hh-em-schedule-separator {
  position: relative;
  border-radius: 50%;
  background-color: rgba(228, 168, 64, 0.9);
  height: 3px;
  width: 3px;
  white-space: nowrap;
  display: inline-block;
  flex-shrink: 0;
  margin: 0 3px;
}

/* Mobile HH Schedule Layout - All mobile devices get smaller fonts and inline date/link layout */
/* 
 * Mobile Font Sizing Strategy:
 * - ≤768px: Heading 12px, Date/Link 8px (main mobile)
 * - ≤600px: Heading 11px, Date/Link 7px (small mobile) 
 * - ≤480px: Heading 11px, Date/Link 7px (extra small mobile)
 * 
 * Date and View Schedule are always displayed side by side inline
 * Layout: [Date] • [View Schedule >] - No line breaks
 */
@media (max-width: 768px) {
  .hh-em-schedule-events {
    padding: 0 16px;
  }
  
  .hh-em-schedule-item {
    padding: 8px;
    gap: 10px;
    background: transparent;
    border-radius: 0;
    margin-bottom: 12px;
    flex-wrap: nowrap;
    align-items: center;
    max-width: 100%;
    overflow: visible;
    position: relative;
  }
  
  /* Add divider after each schedule item except the last one - Mobile */
  .hh-em-schedule-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #E4A840;
  }
  
  .hh-em-schedule-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
  }
  
  .hh-em-schedule-image img {
    width: 120px !important;
    height: 80px !important;
    border-radius: 4px !important;
    object-fit: cover;
    flex-shrink: 0;
  }
  
  .hh-em-schedule-content {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 132px); /* 120px image + 12px gap */
    padding: 0;
    overflow: visible;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hh-em-schedule-content h3 {
    font-size: clamp(12px, 2.5vw, 14px);
    letter-spacing: 0.1px;
    line-height: 120%;
    font-family: Lato, Arial, sans-serif;
    color: #472B20;
    font-weight: 600;
    text-align: left;
    display: block;
    margin-bottom: 6px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow: visible;
  }
  
  .hh-em-schedule-meta {
    gap: 4px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 4px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    max-width: 100%;
    overflow: visible;
  }
  
  .hh-em-schedule-date {
    font-size: 14px;
    letter-spacing: 0.1px;
    line-height: 120%;
    font-family: Lato, Arial, sans-serif;
    color: #99563C;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
  }
  
  .hh-em-schedule-date-to {
    color: #472B20;
    font-size: 14px;
    font-weight: 700;
    margin: 0 6px;
    white-space: pre;
  }
  
  .hh-em-schedule-location-wrapper {
    font-size: clamp(11px, 2.5vw, 13px);
    font-weight: 600;
    color: #7E6252;
    flex: 1;
    min-width: 0;
    overflow: visible;
  }
  
  .hh-em-schedule-location-icon {
    width: 14px;
    height: 14px;
  }
  
  .hh-em-schedule-location {
    font-size: clamp(11px, 2.5vw, 13px);
    font-weight: 600;
    color: #7E6252;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hh-em-schedule-dot {
    width: 3px;
    height: 3px;
    margin: 0 3px;
  }
  
  .hh-em-schedule-link {
    font-size: 13px;
    letter-spacing: 0.1px;
    line-height: 120%;
    font-family: Lato, Arial, sans-serif;
    color: #99563C;
    font-weight: 600;
    text-align: left;
    padding: 1px 3px;
    background: transparent;
    border-radius: 3px;
    transition: all 0.2s ease;
    white-space: nowrap; /* keep on one line */
    display: inline-block;
    flex-shrink: 0;
  }
  
  .hh-em-schedule-link:hover {
    background: rgba(196, 107, 28, 0.1);
    color: #a55a15;
  }
  
}

/* Small mobile devices */
@media (max-width: 600px) and (min-width: 481px) {
  .hh-em-schedule-content h3 {
    font-size: 14px;
    letter-spacing: 0.1px;
    line-height: 120%;
    font-family: Lato, Arial, sans-serif;
    color: #472B20;
    font-weight: 600;
    text-align: left;
    display: block;
    margin-bottom: 6px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    overflow: visible;
  }
  
  .hh-em-schedule-meta {
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: 3px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    max-width: 100%;
    overflow: visible;
  }
  
  .hh-em-schedule-date {
    font-size: 13px;
    letter-spacing: 0.1px;
    line-height: 120%;
    font-family: Lato, Arial, sans-serif;
    color: #99563C;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
  }
  
  .hh-em-schedule-date-to {
    color: #472B20;
    font-size: 13px;
    font-weight: 700;
  }
  
  .hh-em-schedule-location-wrapper {
    font-size: 12px;
    font-weight: 600;
    color: #7E6252;
  }
  
  .hh-em-schedule-location-icon {
    width: 13px;
    height: 13px;
  }
  
  .hh-em-schedule-location {
    font-size: 12px;
    font-weight: 600;
    color: #7E6252;
  }
  
  .hh-em-schedule-dot {
    width: 3px;
    height: 3px;
    margin: 0 3px;
  }
  
  .hh-em-schedule-link {
    font-size: 12px;
    letter-spacing: 0.1px;
    line-height: 120%;
    font-family: Lato, Arial, sans-serif;
    color: #99563C;
    font-weight: 600;
    text-align: left;
    padding: 1px 3px;
    background: transparent;
    border-radius: 3px;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
  }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
  .hh-em-schedule-item {
    padding: 8px;
    gap: 10px;
    margin-bottom: 12px;
    position: relative;
  }
  
  /* Add divider after each schedule item except the last one - Extra Small Mobile */
  .hh-em-schedule-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #E4A840;
  }
  
  .hh-em-schedule-image {
    width: 135px;
    height: 90px;
    overflow: hidden;
  }
  
  .hh-em-schedule-image img {
    width: 135px !important;
    height: 90px !important;
    object-fit: cover;
    border-radius: 4px !important;
    flex-shrink: 0;
  }
  
  .hh-em-schedule-content h3 {
    font-size: 13px;
    font-weight: 600;
    color: #472B20;
    margin-bottom: 6px;
  }
  
  .hh-em-schedule-meta {
    gap: 4px;
    margin-top: 3px;
    flex-wrap: nowrap;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    overflow: visible;
  }
  
  .hh-em-schedule-date {
    font-size: 12px;
    font-weight: 700;
    color: #99563C;
    display: inline-block;
    flex-shrink: 0;
  }
  
  .hh-em-schedule-date-to {
    color: #472B20;
    font-size: 12px;
    font-weight: 700;
    margin: 0 4px;
    white-space: pre;
  }
  
  .hh-em-schedule-location-wrapper {
    font-size: 11px;
    font-weight: 600;
    color: #7E6252;
  }
  
  .hh-em-schedule-location-icon {
    width: 12px;
    height: 12px;
  }
  
  .hh-em-schedule-location {
    font-size: 11px;
    font-weight: 600;
    color: #7E6252;
  }
  
  .hh-em-schedule-dot {
    width: 3px;
    height: 3px;
    margin: 0 3px;
  }
  
  .hh-em-schedule-link {
    font-size: 11px;
    font-weight: 600;
    color: #99563C;
    display: inline-block;
    flex-shrink: 0;
  }
}

/* Universal Carousel Styles for All Display Types */
.hh-em-carousel-container,
.hh-em-schedule-carousel-container,
.hh-em-current-carousel-container {
  max-width: 1600px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.hh-em-carousel-track,
.hh-em-schedule-carousel-track,
.hh-em-current-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  gap: 16px;
  padding: 0 16px;
}

/* Current Events Carousel: smaller gap, slides and cards centered */
.hh-em-current-carousel-track {
  gap: 0;
  padding: 0;
  justify-content: center;
}

.hh-em-carousel-slide,
.hh-em-schedule-slide,
.hh-em-current-slide {
  display: flex;
  gap: 16px;
  min-width: 100%;
  flex: 0 0 100%;
}

/* Current Events desktop: reduced gap between cards, center single or multiple */
.hh-em-current-slide {
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
  box-sizing: border-box;
}

/* Navigation Dots for All Carousel Types */
.hh-em-carousel-dots,
.hh-em-schedule-carousel-dots,
.hh-em-current-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0;
  list-style: none;
}

.hh-em-carousel-dot,
.hh-em-schedule-carousel-dot,
.hh-em-current-carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #F5C77A;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
}

.hh-em-carousel-dot:hover,
.hh-em-schedule-carousel-dot:hover,
.hh-em-current-carousel-dot:hover {
  background: #e6b85a;
  transform: scale(1.1);
}

.hh-em-carousel-dot.active,
.hh-em-schedule-carousel-dot.active,
.hh-em-current-carousel-dot.active {
  background: #c46b1c;
  transform: scale(1.2);
}

/* Current Events Carousel Dots - Ensure visibility */
.hh-em-current-carousel-dots {
  display: flex !important;
  z-index: 10;
  position: relative;
}

.hh-em-current-carousel-dot {
  display: block !important;
}

/* Responsive Carousel Adjustments */
@media (max-width: 1200px) {
  .hh-em-carousel-container,
  .hh-em-schedule-carousel-container,
  .hh-em-current-carousel-container {
    max-width: 100%;
    padding: 0 16px;
  }
  
  .hh-em-carousel-track,
  .hh-em-schedule-carousel-track,
  .hh-em-current-carousel-track {
    gap: 10px;
    padding: 0 8px;
  }
}

@media (max-width: 768px) {
  .hh-em-carousel-container,
  .hh-em-schedule-carousel-container,
  .hh-em-current-carousel-container {
    padding: 0 8px;
  }
  
  .hh-em-carousel-track,
  .hh-em-schedule-carousel-track,
  .hh-em-current-carousel-track {
    gap: 8px;
    padding: 0 4px;
  }
  
  .hh-em-carousel-dots,
  .hh-em-schedule-carousel-dots,
  .hh-em-current-carousel-dots {
    margin-top: 16px;
    margin-bottom: 16px;
    gap: 6px;
  }
  
  .hh-em-carousel-dot,
  .hh-em-schedule-carousel-dot,
  .hh-em-current-carousel-dot {
    width: 10px;
    height: 10px;
  }
  
  /* Current Events Carousel Mobile */
  .hh-em-current-carousel-track {
    gap: 1px;
    padding: 0;
  }
  
  .hh-em-current-carousel-dots {
    display: flex !important;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* Touch and Swipe Enhancements */
.hh-em-carousel-track,
.hh-em-schedule-carousel-track,
.hh-em-current-carousel-track {
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Smooth Transitions */
.hh-em-carousel-slide,
.hh-em-schedule-slide,
.hh-em-current-slide {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Focus States for Accessibility */
.hh-em-carousel-dot:focus,
.hh-em-schedule-carousel-dot:focus,
.hh-em-current-carousel-dot:focus {
  outline: 2px solid #c46b1c;
  outline-offset: 2px;
}

/* Loading States */
.hh-em-carousel-container.loading,
.hh-em-schedule-carousel-container.loading,
.hh-em-current-carousel-container.loading {
  opacity: 0.7;
  pointer-events: none;
}

.hh-em-carousel-container.loading::after,
.hh-em-schedule-carousel-container.loading::after,
.hh-em-current-carousel-container.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #c46b1c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Event Card Grid Layout for Carousel */
.hh-em-carousel-slide .hh-em-card,
.hh-em-schedule-slide .hh-em-schedule-item,
.hh-em-current-slide .hh-em-event-item {
  flex: 1;
  min-width: 0;
  max-width: calc(25% - 12px);
}

/* Current Events Carousel - Event Item Sizing: flexible on desktop (overridden in desktop media query), fixed fallback */
.hh-em-current-slide .hh-em-event-item {
  flex: 0 0 344px;
  width: 344px;
  min-width: 344px;
  max-width: 344px;
}

/* Ensure proper spacing in carousel slides */
.hh-em-carousel-slide .hh-em-card:not(:last-child),
.hh-em-schedule-slide .hh-em-schedule-item:not(:last-child),
.hh-em-current-slide .hh-em-event-item:not(:last-child) {
  margin-right: 0;
}

/* Mobile Optimization */
@media (max-width: 480px) {
  .hh-em-carousel-slide .hh-em-card,
  .hh-em-schedule-slide .hh-em-schedule-item,
  .hh-em-current-slide .hh-em-event-item {
    max-width: 100%;
    margin-right: 0;
    width: 100%;
  }
  
  .hh-em-carousel-track,
  .hh-em-schedule-carousel-track,
  .hh-em-current-carousel-track {
    gap: 0;
    padding: 0;
  }
  
  .hh-em-current-slide .hh-em-event-item {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  .hh-em-current-slide .hh-em-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}

/* Responsive display logic */
@media (min-width: 769px) {
  .hh-em-events-desktop {
    display: block !important;
  }
  
  .hh-em-events-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hh-em-events-desktop {
    display: none !important;
  }
  
  .hh-em-events-mobile {
    display: block !important;
  }
}

/* ============================================================
   ALL EVENTS GRID  [all_events_grid]  — NEW styles only
   Uses .hh-aeg-* prefix, no overlap with existing classes
   ============================================================ */

.hh-aeg-wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 16px;
    font-family: 'Lato', Arial, sans-serif;
    background: transparent;
    border: none;
    border-radius: 0;
}
.hh-aeg-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #2c1a0e;
    margin: 0 0 8px;
}
.hh-aeg-subtitle {
    text-align: center;
    color: #c46b1c;
    font-size: 15px;
    margin: 0 0 24px;
}

/* Filters bar */
.hh-aeg-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.hh-aeg-select {
    padding: 8px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    min-width: 150px;
    cursor: pointer;
    appearance: auto;
}
.hh-aeg-count {
    font-size: 13px;
    color: #777;
    margin-left: auto;
}

/* Grid */
.hh-aeg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Desktop: center whole block (filters + grid) when fewer than 4 events */
@media (min-width: 769px) {
    .hh-aeg-wrap.hh-aeg-wrap--count-1,
    .hh-aeg-wrap.hh-aeg-wrap--count-2,
    .hh-aeg-wrap.hh-aeg-wrap--count-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    .hh-aeg-wrap.hh-aeg-wrap--count-1 .hh-aeg-filters,
    .hh-aeg-wrap.hh-aeg-wrap--count-2 .hh-aeg-filters,
    .hh-aeg-wrap.hh-aeg-wrap--count-3 .hh-aeg-filters {
        width: 100%;
        max-width: max-content;
        justify-content: center;
    }
    .hh-aeg-grid.hh-aeg-grid--count-1 {
        grid-template-columns: 1fr;
        width: max-content;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    .hh-aeg-grid.hh-aeg-grid--count-2 {
        grid-template-columns: repeat(2, 1fr);
        width: max-content;
        max-width: calc(380px * 2 + 20px);
        margin-left: auto;
        margin-right: auto;
    }
    .hh-aeg-grid.hh-aeg-grid--count-3 {
        grid-template-columns: repeat(3, 1fr);
        width: max-content;
        max-width: calc(380px * 3 + 40px);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 1200px) {
    .hh-aeg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hh-aeg-grid { grid-template-columns: 1fr; gap: 16px; }
    .hh-aeg-title { font-size: 24px; }
    .hh-aeg-filters { gap: 8px; }
    .hh-aeg-select { min-width: 120px; font-size: 13px; }
}
@media (max-width: 480px) {
    .hh-aeg-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* Card */
.hh-aeg-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hh-aeg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.22);
}

/* Card image - fixed height 300px, cover */
.hh-aeg-card-img {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.hh-aeg-card-img img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
    transition: transform 0.3s ease;
}
.hh-aeg-card:hover .hh-aeg-card-img img {
    transform: scale(1.04);
}
.hh-aeg-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.72);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    z-index: 2;
}

/* Card body */
.hh-aeg-card-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hh-aeg-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1209;
    margin: 0 0 6px;
    line-height: 1.3;
    word-wrap: break-word;
    width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
}
.hh-aeg-card-location {
    font-size: 11px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}
.hh-aeg-attending {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(196,107,28,0.12);
    color: #c46b1c;
    border: 1px solid rgba(196,107,28,0.3);
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    margin: 4px 0 6px;
    width: fit-content;
}

/* Date display */
.hh-aeg-card-date {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 8px 0 10px;
    color: #c46b1c;
}
.hh-aeg-date-block {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.hh-aeg-date-day {
    font-size: 26px;
    font-weight: 700;
    display: block;
}
.hh-aeg-date-mon {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    color: #8a4a10;
}
.hh-aeg-date-to {
    font-size: 11px;
    color: #999;
    align-self: center;
    padding: 0 2px;
}

/* Buttons - unified bar with consistent border-radius (fix left/right corner mismatch) */
.hh-aeg-card-btns {
    display: flex;
    gap: 0;
    margin-top: auto;
    flex-wrap: nowrap;
    overflow: hidden;
    border-radius: 4px;
}
.hh-aeg-btn {
    flex: 1;
    text-align: center;
    display: inline-block;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
    border: none;
    border-radius: 0;
}
.hh-aeg-btn:first-child {
    border-radius: 4px 0 0 4px;
    border-right: 1px solid rgba(0,0,0,0.15);
}
.hh-aeg-btn:last-child {
    border-radius: 0 4px 4px 0;
}
.hh-aeg-btn:only-child {
    border-radius: 4px;
}
.hh-aeg-btn:hover { opacity: 0.85; }
.hh-aeg-btn-1 { background: #D04D25; color: #fff; }
.hh-aeg-btn-2 { background: #D04D25; color: #fff; }

/* ============================================================
   UPDATED STYLES — v3
   1. Mobile fullscreen carousel for [current_events_display]
   2. Date/month/year colors → black
   3. All Events Grid responsive fixes
   4. hh-aeg-count hidden
   ============================================================ */

/* --- Hide event count --- */
.hh-aeg-count { display: none !important; }

/* --- Date colors black for hh_schedule_events --- */
.hh-em-schedule-date { color: #000 !important; }
.hh-em-schedule-date-to { color: #000 !important; }

/* --- Date colors black for all_events_grid --- */
.hh-aeg-date-day { color: #000 !important; }
.hh-aeg-date-mon { color: #000 !important; }
.hh-aeg-date-to  { color: #000 !important; }
.hh-aeg-card-date { color: #000 !important; }

/* ============================================================
   Mobile fullscreen carousel [current_events_display] mobile
   ============================================================ */
.hh-em-mob-fc-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.hh-em-mob-fc-track {
    display: flex;
    transition: transform 0.4s ease;
    width: 100%;
}

.hh-em-mob-fc-slide {
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 360px;
    overflow: hidden;
    border-radius: 12px;
    flex-shrink: 0;
}

.hh-em-mob-fc-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: brightness(0.8);
    z-index: 1;
}

.hh-em-mob-fc-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

.hh-em-mob-fc-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 20px 16px 16px;
    text-align: center;
    color: #fff;
}

.hh-em-mob-fc-date {
    display: inline-block;
    background: #c46b1c;
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.6px;
}

.hh-em-mob-fc-title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hh-em-mob-fc-location {
    font-size: 13px;
    font-weight: 600;
    color: #F5C77A;
}

.hh-em-mob-fc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    margin-bottom: 6px;
}

.hh-em-mob-fc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: #F5C77A;
    transition: all 0.3s ease;
    padding: 0;
}

.hh-em-mob-fc-dot.active {
    background: #c46b1c;
    transform: scale(1.2);
}

/* ============================================================
   All Events Grid — fully responsive
   ============================================================ */
.hh-aeg-wrap {
    box-sizing: border-box;
    width: 100%;
}

.hh-aeg-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .hh-aeg-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .hh-aeg-grid { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 600px) {
    .hh-aeg-wrap { padding: 16px 10px; }
    .hh-aeg-grid { grid-template-columns: 1fr; gap: 12px; }
    .hh-aeg-title { font-size: 20px !important; }
    .hh-aeg-subtitle { font-size: 13px !important; }
    .hh-aeg-filters { flex-wrap: wrap; gap: 8px; }
    .hh-aeg-select { min-width: calc(50% - 4px); font-size: 13px; flex: 1; }
    .hh-aeg-card-title { font-size: 12px !important; }
    .hh-aeg-date-day { font-size: 20px !important; }
    .hh-aeg-date-mon { font-size: 9px !important; }
    .hh-aeg-btn { font-size: 10px !important; padding: 6px 6px !important; }
    .hh-aeg-card-body { padding: 8px 10px 10px !important; }
    .hh-aeg-attending { font-size: 9px !important; padding: 2px 6px !important; }
}

@media (max-width: 380px) {
    .hh-aeg-grid { grid-template-columns: 1fr; }
    .hh-aeg-card { max-width: 100%; }
}

/* HH Schedule mobile list layout improvements */
@media (max-width: 768px) {
    .hh-em-schedule-date-top {
        margin-bottom: 4px;
    }
    .hh-em-schedule-content h3 {
        margin-bottom: 6px !important;
        margin-top: 4px !important;
    }
}
