.jd-gigs-heading {
    margin-bottom: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
}

.jd-merged-gigs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jd-gig-list-item {
    padding: 1rem 0;
    margin: 0.7rem 0;
    border-bottom: 0.5px solid #eee;
}

.jd-item-date {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.jd-item-musician {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.jd-item-venue {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.4rem;
}

.jd-directions {
    font-size: 0.85rem;
    color: #0073aa;
}

.jd-calendar-filter-wrapper {
    margin-bottom: 1rem;
}

.jd-monthlist-wrapper {
    margin-top: 1rem;
}

.jd-monthlist-date {
    margin-top: 1rem;
    font-weight: 600;
}

.jd-monthlist-item {
    margin-bottom: 0.5rem;
}

/* ============================
   MOBILE OPTIMISATION
   ============================ */

@media (max-width: 600px) {

    /* Make venue link a full-width tap target */
    #jd-merged-calendar .fc-event a {
        display: block;
        padding: 6px 8px;
        font-size: 1rem;
        line-height: 1.3;
        border-radius: 4px;
        background: #f7f7f7;
        color: #0073aa !important;
        text-decoration: none;
        margin-bottom: 4px;
    }

    /* Show musician name always on mobile */
    #jd-merged-calendar .jd-musician-hover {
        display: block !important;
        font-size: 0.9rem;
        margin-top: 2px;
        color: #444;
    }

    /* Improve spacing between list items */
    #jd-merged-calendar .fc-list-event {
        padding: 10px 0 !important;
    }

    /* Prevent cramped text */
    #jd-merged-calendar .fc-list-event-title {
        white-space: normal !important;
    }

    /* Make list view headings more readable */
    #jd-merged-calendar .fc-list-day-text {
        font-size: 1.1rem;
        font-weight: 600;
        padding: 6px 0;
    }

    /* Reduce excessive padding in list view */
    #jd-merged-calendar .fc-list-day {
        padding: 4px 0 !important;
    }
}

/* ============================
   FullCalendar List View Mobile Optimisation
   ============================ */

@media (max-width: 768px) {

  /* Make list view headings clearer */
  #jd-merged-calendar .fc-list-day-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4a4a4a;
    padding: 8px 0;
  }

  /* Event rows: more vertical space */
  #jd-merged-calendar .fc-list-event {
    padding: 10px 12px !important;
    border-bottom: 1px solid #eee;
  }

  /* Venue link: full-width, readable, easy to tap */
  #jd-merged-calendar .fc-list-event a {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #0073aa !important;
    text-decoration: none;
    line-height: 1.3;
    word-break: break-word;
    padding: 4px 0;
  }

  /* Musician name: smaller, secondary text */
  #jd-merged-calendar .jd-musician-hover {
    display: block !important;
    font-size: 0.9rem;
    color: #555;
    margin-top: 2px;
  }

  /* Reduce horizontal clutter */
  #jd-merged-calendar .fc-list-event-time {
    font-size: 0.85rem;
    color: #666;
  }

  /* Slightly larger day headers for touch readability */
  #jd-merged-calendar .fc-list-day {
    padding: 6px 10px !important;
  }
}

/* ============================
   FullCalendar List View Mobile Optimisation
   ============================ */

@media (max-width: 768px) {

  /* Event container */
  #jd-merged-calendar .fc-list-event {
    padding: 12px 14px !important;
    border-bottom: 1px solid #eee;
  }

  /* FullCalendar's wrapper link */
  #jd-merged-calendar .fc-list-event-title {
    display: block;
    padding: 0;
    white-space: normal !important;
  }
  /*Heading */
.fc .fc-toolbar-title {
    font-size: 1em;
    margin: 0;
   
}

.jd-top-main-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    padding: 6px 0;
    color: #333;
}

  /* Time column */
  #jd-merged-calendar .fc-list-event-time {
    font-size: 0.9rem;
    color: #666;
    padding-bottom: 4px;
  }

  /* Venue (your span) */
  #jd-merged-calendar .fc-list-event-title span {
    font-size: 1rem;
    font-weight: 600;
    color: #0073aa;
    display: block;
    margin-bottom: 2px;
  }

  /* Musician name */
  #jd-merged-calendar .jd-musician-hover {
    font-size: 0.9rem;
    color: #444;
    margin-top: 2px;
  }

  /* Day headers */
  #jd-merged-calendar .fc-list-day-text {
    font-size: 1.2rem;
    font-weight: 700;
    padding: 8px 0;
  }
  .jd-top-date-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    padding: 6px 0;
    color: #333;
}
.jd-top-main-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    padding: 6px 0;
    color: #333;
    text-align: left;
}
.fc-toolbar-title {
    display: none !important;
}

  
}