@charset "utf-8";

/* ==========================================
   File: /css/TixBroadway-Eventlist.css
   Purpose: TixBroadway Event List Widget styles

   Includes:
   - Event list wrapper
   - Header/title/subtitle
   - TicketNetwork event-list container support
   - Responsive event rows/cards
   - Event date/title/venue/location text
   - Blue CTA buttons with gold hover
   - Mobile-friendly layout

   Notes:
   - General site layout belongs in TixBroadway.css.
   - Carousel styling belongs in /css/TixBroadway-Carousel.css.
   - Event list styling belongs in this file.
========================================== */


/* ==========================================
   EVENT LIST WRAPPER
========================================== */
.tb-eventlist-wrap,
.tb-event-list-wrap {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 16px;
  box-sizing: border-box;
  font-family: system-ui, Arial, Helvetica, sans-serif;
  color: #000;
}

.tb-eventlist,
.tb-event-list {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  box-sizing: border-box;
}


/* ==========================================
   EVENT LIST HEADER
========================================== */
.tb-eventlist-header,
.tb-event-list-header {
  display: block;
  text-align: center;
  margin: 0 0 16px 0;
}

.tb-eventlist-title,
.tb-event-list-title {
  margin: 0 0 6px 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
}

.tb-eventlist-subtitle,
.tb-event-list-subtitle {
  margin: 0 auto;
  max-width: 900px;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
}


/* ==========================================
   TICKETNETWORK / EVENT WIDGET CONTAINER
========================================== */
.tb-eventlist-widget,
.tb-event-list-widget,
.tb-events-widget,
.tb-events-container {
  display: block;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Common TicketNetwork container support */
.tb-eventlist-wrap .tner-container,
.tb-eventlist-wrap .tner-list-container,
.tb-event-list-wrap .tner-container,
.tb-event-list-wrap .tner-list-container {
  display: block !important;
  width: 100% !important;
  max-width: 1290px !important;
  margin: 0 auto !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid #cccccc !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 5px #999 !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 200px !important;
}


/* ==========================================
   EVENT LIST ROWS / CARDS
========================================== */
.tb-event-row,
.tb-event-card,
.tb-eventlist-item,
.tb-event-list-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 12px 0;
  padding: 12px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 10px;
  box-shadow: 0 6px 4px rgba(0,0,0,.18);
  color: #000;
}

.tb-event-row:last-child,
.tb-event-card:last-child,
.tb-eventlist-item:last-child,
.tb-event-list-item:last-child {
  margin-bottom: 0;
}


/* ==========================================
   EVENT DATE BLOCK
========================================== */
.tb-event-date,
.tb-eventlist-date,
.tb-event-list-date {
  flex: 0 0 92px;
  max-width: 92px;
  min-width: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #241c34;
  color: #ffffff;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  box-sizing: border-box;
}

.tb-event-month,
.tb-eventlist-month,
.tb-event-list-month {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #fda83c;
}

.tb-event-day,
.tb-eventlist-day,
.tb-event-list-day {
  display: block;
  margin: 2px 0;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.tb-event-year,
.tb-eventlist-year,
.tb-event-list-year,
.tb-event-time,
.tb-eventlist-time,
.tb-event-list-time {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}


/* ==========================================
   EVENT CONTENT
========================================== */
.tb-event-info,
.tb-eventlist-info,
.tb-event-list-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  text-align: left;
}

.tb-event-title,
.tb-eventlist-event-title,
.tb-event-list-event-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  color: #000;
}

.tb-event-title a,
.tb-eventlist-event-title a,
.tb-event-list-event-title a {
  color: #000;
  text-decoration: none;
}

.tb-event-title a:hover,
.tb-event-title a:focus,
.tb-eventlist-event-title a:hover,
.tb-eventlist-event-title a:focus,
.tb-event-list-event-title a:hover,
.tb-event-list-event-title a:focus {
  color: #0099ff;
  text-decoration: underline;
}

.tb-event-venue,
.tb-eventlist-venue,
.tb-event-list-venue {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: #333333;
}

.tb-event-location,
.tb-eventlist-location,
.tb-event-list-location {
  margin: 0;
  font-size: 12px;
  line-height: 1.3;
  color: #555555;
}

.tb-event-desc,
.tb-eventlist-desc,
.tb-event-list-desc {
  margin: 4px 0 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #333333;
}


/* ==========================================
   EVENT ACTION / BUTTON
========================================== */
.tb-event-action,
.tb-eventlist-action,
.tb-event-list-action {
  flex: 0 0 140px;
  max-width: 140px;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-event-btn,
.tb-eventlist-btn,
.tb-event-list-btn,
.tb-event-row .tner-btn,
.tb-event-card .tner-btn,
.tb-eventlist-wrap .tner-btn,
.tb-event-list-wrap .tner-btn {
  display: inline-block !important;
  width: auto !important;
  min-width: 120px;
  max-width: 100%;
  padding: 9px 12px !important;
  box-sizing: border-box;
  border-radius: 50px !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  background: #0099ff !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  box-shadow: 0 6px 4px rgba(0,0,0,.25);
  cursor: pointer;
}

.tb-event-btn:hover,
.tb-event-btn:focus,
.tb-eventlist-btn:hover,
.tb-eventlist-btn:focus,
.tb-event-list-btn:hover,
.tb-event-list-btn:focus,
.tb-event-row .tner-btn:hover,
.tb-event-card .tner-btn:hover,
.tb-eventlist-wrap .tner-btn:hover,
.tb-event-list-wrap .tner-btn:hover {
  background: #fda83c !important;
  color: #000000 !important;
  text-decoration: none !important;
}

.tb-event-btn:focus,
.tb-eventlist-btn:focus,
.tb-event-list-btn:focus {
  outline: 2px solid #0099ff;
  outline-offset: 2px;
}


/* ==========================================
   TICKETNETWORK DATE/TEXT CLEANUP SUPPORT
========================================== */
.tb-eventlist-wrap .tner-day-full,
.tb-eventlist-wrap .tner-month-num,
.tb-eventlist-wrap .tner-month-full,
.tb-event-list-wrap .tner-day-full,
.tb-event-list-wrap .tner-month-num,
.tb-event-list-wrap .tner-month-full {
  display: none;
}

.tb-eventlist-wrap .tner-year-full,
.tb-event-list-wrap .tner-year-full {
  display: block;
}


/* ==========================================
   EMPTY / LOADING STATES
========================================== */
.tb-eventlist-empty,
.tb-event-list-empty,
.tb-eventlist-loading,
.tb-event-list-loading {
  width: 100%;
  margin: 0 auto;
  padding: 18px;
  box-sizing: border-box;
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: #333333;
  background: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 10px;
}


/* ==========================================
   RESPONSIVE EVENT LIST
========================================== */
@media (max-width: 768px) {
  .tb-eventlist-wrap,
  .tb-event-list-wrap {
    padding: 12px;
  }

  .tb-eventlist-title,
  .tb-event-list-title {
    font-size: 20px;
  }

  .tb-event-row,
  .tb-event-card,
  .tb-eventlist-item,
  .tb-event-list-item {
    gap: 10px;
    padding: 10px;
  }

  .tb-event-date,
  .tb-eventlist-date,
  .tb-event-list-date {
    flex-basis: 78px;
    max-width: 78px;
    min-width: 78px;
  }

  .tb-event-day,
  .tb-eventlist-day,
  .tb-event-list-day {
    font-size: 21px;
  }

  .tb-event-title,
  .tb-eventlist-event-title,
  .tb-event-list-event-title {
    font-size: 15px;
  }

  .tb-event-action,
  .tb-eventlist-action,
  .tb-event-list-action {
    flex-basis: 120px;
    max-width: 120px;
    min-width: 120px;
  }

  .tb-event-btn,
  .tb-eventlist-btn,
  .tb-event-list-btn,
  .tb-event-row .tner-btn,
  .tb-event-card .tner-btn,
  .tb-eventlist-wrap .tner-btn,
  .tb-event-list-wrap .tner-btn {
    min-width: 105px;
    padding: 8px 10px !important;
  }
}

@media (max-width: 560px) {
  .tb-event-row,
  .tb-event-card,
  .tb-eventlist-item,
  .tb-event-list-item {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .tb-event-date,
  .tb-eventlist-date,
  .tb-event-list-date {
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    flex-direction: row;
    gap: 8px;
    min-height: 48px;
  }

  .tb-event-month,
  .tb-eventlist-month,
  .tb-event-list-month,
  .tb-event-day,
  .tb-eventlist-day,
  .tb-event-list-day,
  .tb-event-year,
  .tb-eventlist-year,
  .tb-event-list-year,
  .tb-event-time,
  .tb-eventlist-time,
  .tb-event-list-time {
    display: inline-block;
  }

  .tb-event-info,
  .tb-eventlist-info,
  .tb-event-list-info {
    text-align: center;
  }

  .tb-event-action,
  .tb-eventlist-action,
  .tb-event-list-action {
    flex: 0 0 auto;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .tb-event-btn,
  .tb-eventlist-btn,
  .tb-event-list-btn,
  .tb-event-row .tner-btn,
  .tb-event-card .tner-btn,
  .tb-eventlist-wrap .tner-btn,
  .tb-event-list-wrap .tner-btn {
    width: 100% !important;
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .tb-eventlist-wrap,
  .tb-event-list-wrap {
    padding: 10px;
  }

  .tb-eventlist-title,
  .tb-event-list-title {
    font-size: 18px;
  }

  .tb-eventlist-subtitle,
  .tb-event-list-subtitle {
    font-size: 12px;
  }

  .tb-event-title,
  .tb-eventlist-event-title,
  .tb-event-list-event-title {
    font-size: 14px;
  }
}

