/* NSD_PARTYS_MOBILE_DATE_LEFT_V1_20261112
 * Shared party listing cards: restore the desktop-style date rail on phones.
 * Scoped to directory event cards: no store/market/festival cards, event detail
 * hero, homepage mini-cards or desktop/tablet changes.
 * Depends on existing edge-to-edge mobile content frame, but does not modify it.
 */
@media (max-width: 767px) {
  /* Keep the date in its own narrow left column; no fixed content width. */
  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) {
    grid-template-columns: 64px minmax(0, 1fr);
    column-gap: 0.6rem;
    align-items: start;
  }

  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__date {
    grid-column: 1;
    width: 100%;
    min-width: 0;
    align-self: start;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 0.22rem;
    margin: 0;
    padding: 0;
    text-align: center;
  }

  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__content {
    grid-column: 2;
    min-width: 0;
    max-width: 100%;
  }

  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__date > .ns-card__weekday,
  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__date > .ns-card__month,
  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__date > .ns-card__time {
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    text-align: center;
  }

  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__date > .ns-card__day-badge {
    width: 46px;
    height: 46px;
    min-width: 46px;
    flex: 0 0 46px;
    margin: 0;
  }

  /* Desktop-style separator between date and clock (mobile hid this). */
  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__date > .ns-card__divider {
    display: block;
    width: 30px;
    height: 1px;
    margin: 0.1rem auto 0;
  }

  /* New indicator belongs to the date rail, not over the event heading. */
  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__date > .ns-card__new-badge {
    position: static;
    inset: auto;
    transform: none;
    order: 5;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0.28rem 0 0;
    padding: 0.14rem 0.36rem;
    font-size: 0.62rem;
  }

  /* Keep actions inside the right column on 320px phones. */
  body.nsd .nsd-directory-page .ns-card-list .ns-card:not(.ns-card--store):not(.ns-card--market):not(.ns-card--festival) > .ns-card__content .ns-card__link {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    max-width: 100%;
  }
}
/* NSD_PARTYS_MOBILE_DATE_LEFT_V1_20261112 END */
