.nm-event {
    margin-top: 2rem;
}

.nm-notice {
    margin: 0 0 1rem;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.06);
}

.nm-seats {
    font-weight: 600;
}

.nm-tickets {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.nm-tickets li {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nm-rsvp label {
    display: block;
    margin: 0.9rem 0;
}

.nm-rsvp input,
.nm-rsvp select {
    display: block;
    width: 100%;
    max-width: 28rem;
    margin-top: 0.25rem;
}

.nm-hp {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.nm-cal-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.75rem;
}

.nm-calendar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.nm-calendar th,
.nm-calendar td {
    width: 14.28%;
    padding: 0.35rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    vertical-align: top;
}

.nm-calendar .is-out {
    opacity: 0.45;
}

.nm-calendar .is-today {
    background: rgba(0, 0, 0, 0.04);
}

.nm-cal-event {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    line-height: 1.3;
    text-decoration: none;
}

.nm-cal-event span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.nm-cal-event.is-sold_out {
    text-decoration: line-through;
}

.nm-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nm-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.nm-list a {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    padding: 0.75rem 0;
    text-decoration: none;
}

.nm-list .is-sold_out {
    text-decoration: line-through;
}

.nm-notice[hidden],
.nm-modal[hidden] {
    display: none !important;
}

body.nm-modal-open {
    overflow: hidden;
}

.nm-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.nm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.nm-modal-dialog {
    position: relative;
    width: min(36rem, 100%);
    max-height: min(85vh, 42rem);
    overflow: auto;
    background: #fff;
    color: #1a1a1a;
    padding: 1rem 1.25rem 1.5rem;
}

.nm-modal-close {
    float: right;
    margin: 0 0 0.5rem 1rem;
}

.nm-modal-event h2 {
    margin: 0 0 0.75rem;
    font-size: 1.4rem;
}

.nm-modal-copy {
    margin-bottom: 1rem;
}

.nm-modal .nm-event {
    margin-top: 0;
}

.nm-rsvp button:disabled {
    opacity: 0.6;
}
