.nmb-festival,
.nmb-events,
.nmb-event-card {
    --nmb-ink: #222;
    --nmb-ink-soft: #333;
    --nmb-muted: #666;
    --nmb-line: #d9d9d9;
    --nmb-line-strong: currentColor;
    --nmb-paper: transparent;
    --nmb-surface: transparent;
    --nmb-surface-warm: transparent;
    --nmb-surface-cool: transparent;
    --nmb-accent: currentColor;
    --nmb-accent-dark: currentColor;
    --nmb-focus: #555;
    --nmb-shadow: none;

    --nmb-space-xs: 0.5rem;
    --nmb-space-sm: 0.75rem;
    --nmb-space-md: 1rem;
    --nmb-space-lg: 1.5rem;
    --nmb-space-xl: 2rem;
    --nmb-space-2xl: 3rem;
    --nmb-space-3xl: 4.5rem;

    color: var(--nmb-ink);
    font-size: clamp(1rem, 0.92rem + 0.22vw, 1.08rem);
    line-height: 1.58;
}

.nmb-festival *,
.nmb-events *,
.nmb-event-card * {
    box-sizing: border-box;
}

.nmb-festival a,
.nmb-events a,
.nmb-event-card a {
    color: inherit;
}

.nmb-festival {
    container-type: inline-size;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2rem);
}

.nmb-events {
    display: grid;
    gap: var(--nmb-space-xl);
    max-width: 1040px;
    margin: 0 auto;
}

.nmb-festival p,
.nmb-events p,
.nmb-event-card p {
    overflow-wrap: anywhere;
}

.nmb-festival img,
.nmb-events img,
.nmb-event-card img {
    max-width: 100%;
    height: auto;
}

/**
 * Festival header.
 */
.nmb-festival-header {
    display: grid;
    gap: clamp(1rem, 3vw, 2.25rem);
    margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.nmb-festival-header__intro {
    position: relative;
    display: grid;
    gap: 0.35rem;
    padding-top: var(--nmb-space-lg);
    border-top: 3px solid var(--nmb-line-strong);
}

.nmb-festival-header__intro::after {
    content: "";
    width: min(10rem, 38vw);
    margin-top: var(--nmb-space-sm);
    border-top: 0.45rem solid currentColor;
    opacity: 0.18;
}

.nmb-festival-header__dates {
    margin: 0;
    color: var(--nmb-muted);
    font-size: clamp(1.05rem, 1.4vw, 1.35rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: none;
}

.nmb-festival .nmb-festival-header__title,
h1.nmb-festival-header__title,
.nmb-festival-header__title {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    margin-bottom:1rem;
    font-size: clamp(1.25rem, 4.6vw, 2.9rem);
    font-size: clamp(1.25rem, 4.6cqw, 2.9rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 0.95;
    hyphens: manual;
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: keep-all;
}

@media (max-width: 560px) {
    .nmb-festival .nmb-festival-header__title,
    h1.nmb-festival-header__title,
    .nmb-festival-header__title {
        font-size: clamp(1.08rem, 3.75vw, 1.45rem);
        font-size: clamp(1.08rem, 3.75cqw, 1.45rem);
    }
}

@media (max-width: 420px) {
    .nmb-festival .nmb-festival-header__title,
    h1.nmb-festival-header__title,
    .nmb-festival-header__title {
        font-size: clamp(1rem, 4vw, 1.2rem);
        font-size: clamp(1rem, 4cqw, 1.2rem);
    }
}

.nmb-festival-header__name {
    max-width: 28ch;
    margin: 0;
    color: var(--nmb-ink-soft);
    font-size: clamp(1.35rem, 3vw, 2.25rem);
    font-weight: 750;
    line-height: 1.02;
}

.nmb-festival-header__identity {
    display: grid;
    gap: 0;
}

.nmb-festival-header__second-name {
    max-width: 42rem;
    margin: 0;
    color: var(--nmb-muted);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.18;
}

.nmb-festival-header__name + .nmb-festival-header__second-name {
    margin-top: 0.05rem;
}

.nmb-festival-header__media,
.nmb-festival-header__flyer {
    width: 100%;
    margin: 0;
}

.nmb-festival-header__image,
.nmb-festival-header__flyer-image {
    display: block;
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--nmb-shadow);
}

.nmb-festival-header__image {
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.nmb-festival-header__flyer {
    max-width: 760px;
}

.nmb-festival-header__flyer-image {
    background: var(--nmb-surface);
}

.nmb-festival-header__flyer-caption,
.nmb-opening-credit__caption,
.nmb-program-point__caption {
    margin-top: 0.55rem;
    color: var(--nmb-muted);
    font-size: 0.86rem;
    line-height: 1.35;
}

.nmb-festival-header__description {
    width: min(100%, 780px);
    color: var(--nmb-ink-soft);
    font-size: clamp(1rem, 0.45vw + 0.95rem, 1.12rem);
    line-height: 1.62;
}

.nmb-festival-header__description-accordion {
    display: none;
}

.nmb-festival-header__description-lead {
    color: var(--nmb-ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.nmb-festival-header__description-summary {
    display: inline-flex;
    align-items: center;
    color: var(--nmb-ink-soft);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    list-style: none;
    margin-top: var(--nmb-space-sm);
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.nmb-festival-header__description-summary::-webkit-details-marker {
    display: none;
}

.nmb-festival .nmb-festival-header__description-more:not([open]) .nmb-festival-header__description-summary-text--open {
    display: none !important;
}

.nmb-festival .nmb-festival-header__description-more[open] .nmb-festival-header__description-summary-text--closed {
    display: none !important;
}

.nmb-festival .nmb-festival-header__description-more[open] .nmb-festival-header__description-summary-text--open {
    display: inline !important;
}

.nmb-festival-header__description-summary::after {
    content: "+";
    display: inline-block;
    margin-left: 0.45rem;
    font-weight: 700;
}

.nmb-festival-header__description-more[open] .nmb-festival-header__description-summary::after {
    content: "-";
}

.nmb-festival-header__description-panel {
    margin-top: var(--nmb-space-sm);
    color: var(--nmb-ink-soft);
    font-size: 1rem;
    line-height: 1.6;
}

.nmb-festival-header__description > :first-child,
.nmb-festival-header__description-lead > :first-child,
.nmb-festival-header__description-panel > :first-child,
.nmb-opening-credit__text > :first-child,
.nmb-program-point__text > :first-child,
.nmb-festival-bottom-text > :first-child,
.nmb-accordion__content > :first-child,
.nmb-event-card__teaser > :first-child {
    margin-top: 0;
}

.nmb-festival-header__description > :last-child,
.nmb-festival-header__description-lead > :last-child,
.nmb-festival-header__description-panel > :last-child,
.nmb-opening-credit__text > :last-child,
.nmb-program-point__text > :last-child,
.nmb-festival-bottom-text > :last-child,
.nmb-accordion__content > :last-child,
.nmb-event-card__teaser > :last-child {
    margin-bottom: 0;
}

.nmb-festival__empty {
    margin: 0;
    padding: var(--nmb-space-lg);
    background: var(--nmb-surface-warm);
    border: 1px solid var(--nmb-line);
    border-radius: 8px;
}

/**
 * Opening credits.
 */
.nmb-festival-opening-credits {
    margin: 0 0 clamp(3rem, 7vw, 5.5rem);
}

.nmb-festival-opening-credits__title,
.nmb-festival-day__title {
    margin: 0;
    font-size: clamp(1.45rem, 3vw, 2.3rem);
    font-weight: 820;
    line-height: 1.05;
}

.nmb-festival-opening-credits__items {
    display: grid;
    gap: var(--nmb-space-xl);
    margin-top: var(--nmb-space-lg);
}

.nmb-festival-opening-credits__tabs > .nmb-festival-opening-credits__items {
    margin-top: 0;
}

.nmb-festival-opening-credits__tabs {
    display: grid;
    gap: var(--nmb-space-lg);
    margin-top: var(--nmb-space-lg);
}

.nmb-festival-opening-credits__tablist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    align-items: flex-end;
}

.nmb-festival button.nmb-festival-opening-credits__tab,
.nmb-festival-opening-credits__tab {
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    min-height: 2.25rem;
    position: relative;
    margin: 0;
    padding: 0.35rem 0 0.55rem;
    border: 0;
    background: none;
    background-color: transparent;
    box-shadow: none;
    color: var(--nmb-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: left;
    text-shadow: none;
    transition: color 160ms ease;
}

.nmb-festival button.nmb-festival-opening-credits__tab::after,
.nmb-festival-opening-credits__tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.25rem;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 180ms ease;
}

.nmb-festival button.nmb-festival-opening-credits__tab[aria-selected="true"],
.nmb-festival-opening-credits__tab[aria-selected="true"] {
    background: none;
    background-color: transparent;
    color: var(--nmb-ink);
}

.nmb-festival button.nmb-festival-opening-credits__tab[aria-selected="true"]::after,
.nmb-festival-opening-credits__tab[aria-selected="true"]::after,
.nmb-festival button.nmb-festival-opening-credits__tab:hover::after,
.nmb-festival-opening-credits__tab:hover::after,
.nmb-festival button.nmb-festival-opening-credits__tab:focus-visible::after,
.nmb-festival-opening-credits__tab:focus-visible::after {
    transform: scaleX(1);
}

.nmb-festival button.nmb-festival-opening-credits__tab:hover,
.nmb-festival button.nmb-festival-opening-credits__tab:focus,
.nmb-festival-opening-credits__tab:hover,
.nmb-festival-opening-credits__tab:focus {
    background: none;
    background-color: transparent;
    box-shadow: none;
    color: var(--nmb-ink);
}

.nmb-festival-opening-credits__tab:focus-visible {
    outline: 2px solid var(--nmb-focus);
    outline-offset: 3px;
}

.nmb-festival-opening-credits__panel[hidden] {
    display: none;
}

.nmb-festival-opening-credits__accordions {
    display: none;
}

.nmb-opening-credit {
    display: grid;
    gap: var(--nmb-space-lg);
    padding: 0;
    background: var(--nmb-paper);
    border: 0;
    border-radius: 0;
}

.nmb-opening-credit__figure {
    margin: 0;
}

.nmb-opening-credit__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.nmb-opening-credit__content {
    width: min(100%, 680px);
}

.nmb-opening-credit__text {
    color: var(--nmb-ink-soft);
    font-size: clamp(1rem, 0.45vw + 0.95rem, 1.12rem);
    line-height: 1.62;
}

.nmb-opening-credit__name {
    margin: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.2;
}

.nmb-opening-credit__occupation {
    margin: 0.25rem 0 var(--nmb-space-md);
    color: var(--nmb-accent-dark);
    font-size: 0.95rem;
    font-weight: 700;
}

.nmb-opening-credit-accordion {
    border-top: 1px solid var(--nmb-line);
    padding: var(--nmb-space-md) 0;
}

.nmb-opening-credit-accordion:last-child {
    border-bottom: 1px solid var(--nmb-line);
}

.nmb-opening-credit-accordion__summary {
    cursor: pointer;
    color: var(--nmb-ink);
    font-weight: 700;
    list-style: none;
}

.nmb-opening-credit-accordion__summary::-webkit-details-marker {
    display: none;
}

.nmb-opening-credit-accordion__summary::after {
    content: "+";
    display: inline-block;
    margin-left: 0.45rem;
}

.nmb-opening-credit-accordion[open] .nmb-opening-credit-accordion__summary::after {
    content: "-";
}

.nmb-opening-credit-accordion__panel {
    margin-top: var(--nmb-space-md);
}

/**
 * Festival days and event rows.
 */
.nmb-festival__days {
    display: grid;
    gap: clamp(2.5rem, 6vw, 5rem);
}

.nmb-festival-day {
    display: grid;
    gap: var(--nmb-space-lg);
}

.nmb-festival-day__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: var(--nmb-space-md);
    padding-top: var(--nmb-space-lg);
    border-top: 3px solid var(--nmb-line-strong);
}

.nmb-festival-day__header::after {
    content: "";
    width: clamp(3rem, 12vw, 9rem);
    height: 0.45rem;
    background: transparent;
    border-top: 1px solid var(--nmb-line);
    border-bottom: 1px solid var(--nmb-line);
}

.nmb-festival-day__events {
    display: grid;
    gap: var(--nmb-space-md);
}

.nmb-festival-event {
    display: grid;
    gap: var(--nmb-space-md);
    padding: clamp(1rem, 2vw, 1.35rem) 0;
    background: var(--nmb-surface);
    border: 0;
    border-top: 1px solid var(--nmb-line);
    border-radius: 0;
    box-shadow: none;
}

.nmb-festival-event__meta,
.nmb-festival-event__body {
    min-width: 0;
}

.nmb-festival-event-meta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: var(--nmb-space-md);
    color: var(--nmb-muted);
    font-size: 0.94rem;
    line-height: 1.35;
}

.nmb-festival-event-meta__time {
    color: var(--nmb-ink);
    font-size: clamp(2rem, 12vw, 3.35rem);
    font-weight: 850;
    letter-spacing: 0;
    line-height: 0.9;
    white-space: nowrap;
}

.nmb-festival-event-meta__venue {
    display: block;
    min-width: 0;
    text-align: right;
    justify-self: end;
}

.nmb-festival-event-meta__venue-title {
    display: block;
    color: var(--nmb-ink-soft);
    font-size: 1.2rem;
    font-weight: 800;
}

.nmb-festival-event-meta__venue-street,
.nmb-festival-event-meta__venue-city,
.nmb-festival-event-meta__venue-address {
    color: inherit;
}

.nmb-festival-event-meta__venue-street,
.nmb-festival-event-meta__venue-city {
    display: inline;
}

.nmb-festival-event-meta__venue-city::before {
    content: " ";
}

/**
 * Event cards.
 */
.nmb-event-card {
    background: var(--nmb-surface);
    border: 1px solid var(--nmb-line);
    border-radius: 8px;
    padding: clamp(1rem, 2.5vw, 1.5rem);
}

.nmb-events > .nmb-event-card {
    box-shadow: none;
}

.nmb-festival-event__body > .nmb-event-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.nmb-event-card__layout {
    display: grid;
    gap: var(--nmb-space-lg);
}

.nmb-event-card__main {
    min-width: 0;
    padding-top: 10px;
}

.nmb-event-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.65rem 1.1rem;
    color: var(--nmb-muted);
}

.nmb-festival-event .nmb-event-card__meta {
    display: none;
}

.nmb-event-card__header {
    margin-bottom: var(--nmb-space-sm);
}

.nmb-event-card__title {
    margin: 0;
    color: var(--nmb-ink);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 900;
    line-height: 1.08;
}

.nmb-event-card__festival {
    margin: 0.35rem 0 0;
    color: var(--nmb-muted);
    font-size: 0.92rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-transform: uppercase;
}

.nmb-event-card__teaser {
    max-width: 760px;
    margin: var(--nmb-space-md) 0 0;
    color: var(--nmb-ink-soft);
    font-size: 1.03rem;
    line-height: 1.62;
}

.nmb-event-card__program,
.nmb-event-card__people {
    margin-top: var(--nmb-space-xl);
}

.nmb-event-card__section-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 var(--nmb-space-md);
    color: var(--nmb-muted);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-transform: uppercase;
}

.nmb-event-card__section-title::after {
    content: "";
    flex: 1 1 auto;
    min-width: 2rem;
    height: 1px;
    background: var(--nmb-line);
}

.nmb-event-card__program-points {
    display: grid;
    gap: var(--nmb-space-lg);
}

/**
 * Standalone event metadata.
 */
.nmb-event-meta {
    font-size: 0.94rem;
    line-height: 1.4;
}

.nmb-event-meta__label {
    display: none;
}

.nmb-event-meta__value {
    margin: 0;
}

.nmb-event-meta--datetime time {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: baseline;
}

.nmb-event-meta__date,
.nmb-event-meta__time {
    color: var(--nmb-ink-soft);
    font-size: inherit;
    font-weight: 800;
    line-height: inherit;
}

.nmb-event-meta--venue .nmb-event-meta__value strong {
    color: var(--nmb-ink-soft);
    font-weight: 800;
}

.nmb-event-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: var(--nmb-space-sm);
}

.nmb-event-card__links--after-program {
    margin-top: var(--nmb-space-2xl);
}

.nmb-festival-event-meta__links {
    margin-top: var(--nmb-space-sm);
}

.nmb-festival-event-meta__links .nmb-button,
.nmb-event-card__links--after-program .nmb-button {
    color: var(--nmb-ink) !important;
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.1;
}

.nmb-festival-event-meta__links .nmb-button:hover,
.nmb-festival-event-meta__links .nmb-button:focus,
.nmb-festival-event-meta__links .nmb-button:active,
.nmb-event-card__links--after-program .nmb-button:hover,
.nmb-event-card__links--after-program .nmb-button:focus,
.nmb-event-card__links--after-program .nmb-button:active {
    color: var(--nmb-ink) !important;
}

/**
 * Buttons and links.
 */
.nmb-button,
.nmb-event-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit !important;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.1;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}

.nmb-button--detail {
    background: transparent;
    color: inherit !important;
}

.nmb-button:hover,
.nmb-button:focus,
.nmb-event-card__link:hover,
.nmb-event-card__link:focus {
    background: transparent;
    border-color: transparent;
    color: inherit !important;
    text-decoration-thickness: 0.12em;
}

.nmb-festival a:focus-visible,
.nmb-events a:focus-visible,
.nmb-event-card a:focus-visible,
.nmb-accordion__summary:focus-visible {
    outline: 3px solid rgba(22, 112, 115, 0.55);
    outline-offset: 3px;
}

/**
 * Program points.
 */
.nmb-program-point {
    padding: var(--nmb-space-lg) 0 0;
    border-top: 1px solid var(--nmb-line);
}

.nmb-event-card__program-points > .nmb-program-point:first-child {
    padding-top: 0;
    border-top: 0;
}

.nmb-program-point__layout {
    display: grid;
    gap: var(--nmb-space-lg);
}

.nmb-program-point__content {
    min-width: 0;
}

.nmb-program-point__title {
    margin: 0 0 var(--nmb-space-sm);
    font-size: clamp(1.05rem, 1.3vw, 1.2rem);
    font-weight: 800;
    line-height: 1.28;
}

.nmb-program-point__text {
    max-width: 760px;
    margin-bottom: var(--nmb-space-md);
    color: var(--nmb-ink-soft);
}

.nmb-program-point__participants {
    margin-top: var(--nmb-space-lg);
}

.nmb-program-point__participants + .nmb-program-point__pieces {
    margin-top: var(--nmb-space-lg);
}

.nmb-program-point__participants > .nmb-participant-list,
.nmb-program-point__participants > .nmb-ensemble-list {
    margin-left: 0;
    padding-left: 0;
}

.nmb-program-point__figure {
    margin: 0;
}

.nmb-program-point__image,
.nmb-program-point__figure img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.nmb-program-point__subheading {
    display: inline-flex;
    margin: var(--nmb-space-md) 0 var(--nmb-space-xs);
    color: var(--nmb-muted);
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

/**
 * Pieces.
 */
.nmb-piece-cards {
    display: grid;
    gap: 0.45rem;
}

.nmb-piece-card {
    position: relative;
    padding: 0;
    background: transparent;
    border: 0;
}

.entry .nmb-festival h6.nmb-piece-card__title,
.entry .nmb-events h6.nmb-piece-card__title,
.nmb-festival h6.nmb-piece-card__title,
.nmb-events h6.nmb-piece-card__title,
h6.nmb-piece-card__title,
.nmb-piece-card__title {
    margin: 0;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 450;
    line-height: 1.4;
    text-wrap: pretty;
    text-transform: none;
}

.nmb-piece-card__composer {
    color: var(--nmb-ink);
    font-size: inherit;
    font-weight: 820;
    text-transform: none;
}

.nmb-piece-card__work-title {
    font-style: italic;
    font-weight: 450;
    text-transform: none;
}

.nmb-festival button.nmb-piece-card__inline-toggle,
.nmb-events button.nmb-piece-card__inline-toggle,
.nmb-piece-card__inline-toggle {
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    background-color: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    display: inline;
    cursor: pointer;
    text-align: inherit;
    text-shadow: none;
}

.nmb-festival button.nmb-piece-card__inline-toggle:hover,
.nmb-festival button.nmb-piece-card__inline-toggle:focus,
.nmb-events button.nmb-piece-card__inline-toggle:hover,
.nmb-events button.nmb-piece-card__inline-toggle:focus,
.nmb-piece-card__inline-toggle:hover,
.nmb-piece-card__inline-toggle:focus {
    background: none;
    background-color: transparent;
    box-shadow: none;
}

.nmb-piece-card__inline-toggle::after {
    content: none;
    display: none;
}

.nmb-piece-card__inline-toggle .nmb-piece-card__composer,
.nmb-piece-card__inline-toggle .nmb-piece-card__work-title {
    position: relative;
}

.nmb-piece-card__inline-toggle .nmb-piece-card__composer::after,
.nmb-piece-card__inline-toggle .nmb-piece-card__work-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 160ms ease;
}

.nmb-piece-card__inline-toggle:hover .nmb-piece-card__composer::after,
.nmb-piece-card__inline-toggle:focus-visible .nmb-piece-card__composer::after,
.nmb-piece-card__inline-toggle:hover .nmb-piece-card__work-title::after,
.nmb-piece-card__inline-toggle:focus-visible .nmb-piece-card__work-title::after,
.nmb-piece-card__inline-toggle[aria-expanded="true"] .nmb-piece-card__composer::after,
.nmb-piece-card__inline-toggle[aria-expanded="true"] .nmb-piece-card__work-title::after {
    transform: scaleX(1);
}

.nmb-piece-card__inline-panels {
    position: relative;
    height: 0;
}

.nmb-piece-card__inline-content {
    position: absolute;
    z-index: 20;
    top: 0.35rem;
    left: 0;
    display: block;
    width: min(100%, 760px);
    max-width: 760px;
    margin: 0;
    padding: var(--nmb-space-md);
    border: 1px solid var(--nmb-line);
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    color: var(--nmb-ink-soft);
    font-size: 0.96rem;
    line-height: 1.58;
}

.nmb-piece-card__inline-content[hidden] {
    display: none;
}

.nmb-piece-card__inline-content > :first-child {
    margin-top: 0;
}

.nmb-piece-card__inline-content > :last-child {
    margin-bottom: 0;
}

.nmb-piece-card__composer-image {
    float: left;
    width: clamp(72px, 18vw, 112px);
    height: auto;
    margin: 0.2rem var(--nmb-space-md) var(--nmb-space-sm) 0;
    border-radius: 4px;
}

.nmb-piece-card__inline-content::after {
    content: "";
    display: table;
    clear: both;
}

.nmb-piece-card__inline-close {
    display: inline-flex;
    margin: var(--nmb-space-md) 0 0;
    position: relative;
    padding: 0.25rem 0;
    color: var(--nmb-ink);
    cursor: pointer;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    text-shadow: none;
}

.nmb-piece-card__inline-close::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.15rem;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 160ms ease;
}

.nmb-piece-card__inline-close:hover,
.nmb-piece-card__inline-close:focus,
.nmb-piece-card__inline-close:active,
.nmb-piece-card__inline-close:focus-visible {
    color: var(--nmb-ink);
}

.nmb-piece-card__inline-close:hover::after,
.nmb-piece-card__inline-close:focus-visible::after {
    transform: scaleX(1);
}

.nmb-piece-card__instrumentation,
.nmb-piece-card__year {
    color: var(--nmb-muted);
    font-style: normal;
    font-weight: 450;
    text-transform: none;
}

.nmb-piece-card__premiere {
    display: inline;
    min-height: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    border: 0;
    border-radius: 0;
    font-size: inherit;
    font-weight: 850;
    line-height: inherit;
    white-space: nowrap;
}

.nmb-piece-card__premiere--ea {
    background: transparent;
    color: inherit;
}

.nmb-piece-card__details {
    display: grid;
    gap: var(--nmb-space-xs);
    margin-top: var(--nmb-space-xs);
    margin-bottom: var(--nmb-space-sm);
}

.nmb-piece-card__external-link {
    margin: 0;
    font-size: 0.95rem;
}

.nmb-piece-card__external-link a,
.nmb-accordion__external-link a,
.nmb-participant-list__name[href] {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

.nmb-piece-card__external-link a:hover,
.nmb-piece-card__external-link a:focus,
.nmb-accordion__external-link a:hover,
.nmb-accordion__external-link a:focus,
.nmb-participant-list__name[href]:hover,
.nmb-participant-list__name[href]:focus {
    color: var(--nmb-accent-dark);
    text-decoration-thickness: 0.12em;
}

/**
 * Native accordions.
 */
.nmb-accordion {
    padding-top: 0.25rem;
}

.nmb-accordion__summary {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    color: var(--nmb-muted);
    font-size: 0.94rem;
    font-weight: 750;
    line-height: 1.35;
    list-style: none;
}

.nmb-accordion__summary::-webkit-details-marker {
    display: none;
}

.nmb-accordion__triangle {
    display: inline-grid;
    place-items: center;
    width: 1.05rem;
    height: 1.05rem;
    border: 1px solid var(--nmb-line);
    border-radius: 999px;
}

.nmb-accordion__triangle::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 0.25rem solid transparent;
    border-bottom: 0.25rem solid transparent;
    border-left: 0.36rem solid currentColor;
    transform: translateX(0.05rem);
    transition: transform 160ms ease;
}

.nmb-accordion[open] .nmb-accordion__triangle::before {
    transform: rotate(90deg) translateX(0.05rem);
}

.nmb-accordion__content {
    max-width: 760px;
    margin-top: var(--nmb-space-xs);
    padding: var(--nmb-space-sm) 0 0 1.55rem;
    color: var(--nmb-ink-soft);
}

.nmb-accordion__external-link {
    margin-bottom: 0;
}

/**
 * Performer lists and ensembles.
 */
.nmb-participant-list {
    display: grid;
    gap: 0.15rem;
    margin: 0;
    padding: 0;
}

.nmb-participant-list__item {
    position: relative;
    margin: 0;
    padding: 0;
    line-height: 1.45;
}

.nmb-participant-list__name {
    font-weight: 720;
}

.nmb-festival button.nmb-participant-list__toggle,
.nmb-events button.nmb-participant-list__toggle,
.nmb-participant-list__toggle {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-weight: 720;
    text-align: inherit;
    text-shadow: none;
}

.nmb-festival button.nmb-participant-list__toggle:hover,
.nmb-festival button.nmb-participant-list__toggle:focus,
.nmb-festival button.nmb-participant-list__toggle:active,
.nmb-festival button.nmb-participant-list__toggle:focus-visible,
.nmb-events button.nmb-participant-list__toggle:hover,
.nmb-events button.nmb-participant-list__toggle:focus,
.nmb-events button.nmb-participant-list__toggle:active,
.nmb-events button.nmb-participant-list__toggle:focus-visible,
.nmb-participant-list__toggle:hover,
.nmb-participant-list__toggle:focus,
.nmb-participant-list__toggle:active,
.nmb-participant-list__toggle:focus-visible {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.nmb-participant-list__toggle::after {
    content: none;
    display: none;
}

.nmb-participant-list__toggle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 160ms ease;
}

.nmb-participant-list__toggle:hover::before,
.nmb-participant-list__toggle:focus-visible::before,
.nmb-participant-list__toggle[aria-expanded="true"]::before {
    transform: scaleX(1);
}

.nmb-participant-list__role {
    color: var(--nmb-muted);
}

.nmb-participant-list__content {
    position: absolute;
    z-index: 25;
    top: calc(100% + 0.35rem);
    left: 0;
    display: block;
    width: min(100%, 760px);
    max-width: 760px;
    margin: 0;
    padding: var(--nmb-space-md);
    border: 1px solid var(--nmb-line);
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    color: var(--nmb-ink-soft);
    font-size: 0.96rem;
    line-height: 1.58;
}

.nmb-participant-list__content[hidden] {
    display: none;
}

.nmb-participant-list__content > :first-child {
    margin-top: 0;
}

.nmb-participant-list__content > :last-child {
    margin-bottom: 0;
}

.nmb-participant-list__content::after {
    content: "";
    display: block;
    clear: both;
}

.nmb-participant-list__image {
    float: left;
    width: min(34vw, 120px);
    height: auto;
    margin: 0 var(--nmb-space-md) var(--nmb-space-xs) 0;
}

.nmb-ensemble-list {
    display: grid;
    gap: 0.35rem;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nmb-ensemble-block {
    position: relative;
    list-style: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
    padding-top: 20px;
}

.entry .nmb-festival h5.nmb-ensemble-block__title,
.entry .nmb-events h5.nmb-ensemble-block__title,
.nmb-festival h5.nmb-ensemble-block__title,
.nmb-events h5.nmb-ensemble-block__title,
h5.nmb-ensemble-block__title,
.nmb-ensemble-block__title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    font-weight: 820;
    line-height: 1.35;
    text-transform: none;
}

.nmb-ensemble-block .nmb-participant-list {
    margin-left: 0;
}

.nmb-ensemble-block__header {
    position: relative;
}

.nmb-festival button.nmb-ensemble-block__toggle,
.nmb-events button.nmb-ensemble-block__toggle,
.nmb-ensemble-block__toggle {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: inherit;
    text-shadow: none;
}

.nmb-festival button.nmb-ensemble-block__toggle:hover,
.nmb-festival button.nmb-ensemble-block__toggle:focus,
.nmb-festival button.nmb-ensemble-block__toggle:active,
.nmb-festival button.nmb-ensemble-block__toggle:focus-visible,
.nmb-events button.nmb-ensemble-block__toggle:hover,
.nmb-events button.nmb-ensemble-block__toggle:focus,
.nmb-events button.nmb-ensemble-block__toggle:active,
.nmb-events button.nmb-ensemble-block__toggle:focus-visible,
.nmb-ensemble-block__toggle:hover,
.nmb-ensemble-block__toggle:focus,
.nmb-ensemble-block__toggle:active,
.nmb-ensemble-block__toggle:focus-visible {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

.nmb-ensemble-block__toggle::after {
    content: none;
    display: none;
}

.nmb-ensemble-block__toggle::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.1em;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 160ms ease;
}

.nmb-ensemble-block__toggle:hover::before,
.nmb-ensemble-block__toggle:focus-visible::before,
.nmb-ensemble-block__toggle[aria-expanded="true"]::before {
    transform: scaleX(1);
}

.nmb-ensemble-block__content {
    position: absolute;
    z-index: 20;
    top: calc(100% + 0.35rem);
    left: 0;
    display: block;
    width: min(100%, 760px);
    max-width: 760px;
    margin: 0;
    padding: var(--nmb-space-md);
    border: 1px solid var(--nmb-line);
    background: #fff;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
    color: var(--nmb-ink-soft);
    font-size: 0.96rem;
    line-height: 1.58;
}

.nmb-ensemble-block__content[hidden] {
    display: none;
}

.nmb-ensemble-block__content > :first-child {
    margin-top: 0;
}

.nmb-ensemble-block__content > :last-child {
    margin-bottom: 0;
}

.nmb-ensemble-block__content::after {
    content: "";
    display: table;
    clear: both;
}

.nmb-ensemble-block__image {
    float: left;
    width: clamp(72px, 18vw, 112px);
    height: auto;
    margin: 0.2rem var(--nmb-space-md) var(--nmb-space-sm) 0;
    border-radius: 4px;
}

/**
 * Festival footer content.
 */
.nmb-festival-bottom-text {
    max-width: 820px;
    margin: clamp(3rem, 7vw, 5rem) 0 0;
    padding-top: var(--nmb-space-xl);
    border-top: 1px solid var(--nmb-line);
    color: var(--nmb-ink-soft);
}

.nmb-festival-logos {
    margin-top: var(--nmb-space-2xl);
    padding-top: var(--nmb-space-xl);
    border-top: 1px solid var(--nmb-line);
}

.nmb-festival-logos__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--nmb-space-lg) var(--nmb-space-xl);
}

.nmb-festival-logo {
    --nmb-logo-width: 200px;

    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
}

.nmb-festival-logo--small {
    --nmb-logo-width: 160px;
}

.nmb-festival-logo--medium {
    --nmb-logo-width: 200px;
}

.nmb-festival-logo--large {
    --nmb-logo-width: 260px;
}

.nmb-festival-logo--xlarge {
    --nmb-logo-width: 340px;
}

.nmb-festival-logo__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nmb-festival-logo__image {
    display: block;
    width: clamp(88px, 28vw, var(--nmb-logo-width));
    max-width: 100%;
    max-height: 110px;
    object-fit: contain;
}

/**
 * Responsive layout.
 */
@media (min-width: 760px) {
    .nmb-festival-header {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
        align-items: start;
        column-gap: clamp(1rem, 3vw, 2.25rem);
        row-gap: clamp(0.5rem, 1.4vw, 1.25rem);
    }

    .nmb-festival-header__intro {
        display: contents;
    }

    .nmb-festival-header__intro::after {
        content: none;
    }

    .nmb-festival .nmb-festival-header__title,
    h1.nmb-festival-header__title,
    .nmb-festival-header__title {
        grid-column: 1 / -1;
        grid-row: 1;
        padding-top: var(--nmb-space-lg);
        border-top: 3px solid var(--nmb-line-strong);
    }

    .nmb-festival-header__dates {
        grid-column: 1;
        grid-row: 2;
        align-self: start;
    }

    .nmb-festival-header__identity {
        grid-column: 1;
        grid-row: 3;
    }

    .nmb-festival-header__media,
    .nmb-festival-header__flyer {
        grid-column: 2 / 3;
        grid-row: 2 / span 2;
        justify-self: end;
        max-width: none;
    }

    .nmb-festival-header__description {
        grid-column: 1 / -1;
        grid-row: 4;
        margin-top: clamp(0.5rem, 2vw, 1.5rem);
    }

    .nmb-festival-header__description-accordion {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .nmb-opening-credit:not(:has(.nmb-opening-credit__figure)) {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (min-width: 980px) {
    .nmb-opening-credit {
        grid-template-columns: minmax(150px, 240px) minmax(0, 680px);
        align-items: start;
    }
}

@media (min-width: 840px) {
    .nmb-festival-event {
        grid-template-columns: minmax(5.5rem, 8rem) minmax(0, 1fr);
        column-gap: clamp(0.75rem, 2vw, 1.75rem);
        align-items: start;
    }

    .nmb-festival-event-meta {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        position: sticky;
        top: var(--nmb-space-md);
        font-size: 0.86rem;
    }

    .nmb-festival-event-meta__time {
        font-size: clamp(1.25rem, 2vw, 1.65rem);
        line-height: 0.95;
    }

    .nmb-festival-event-meta__venue {
        display: grid;
        gap: 0.1rem;
        text-align: left;
        justify-self: start;
    }

    .nmb-festival-event-meta__venue-title,
    .nmb-festival-event-meta__venue-street,
    .nmb-festival-event-meta__venue-city,
    .nmb-festival-event-meta__venue-address {
        display: block;
    }

    .nmb-festival-event-meta__venue-city::before {
        content: "";
    }

    .nmb-event-card__layout {
        grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
    }

    .nmb-event-card__meta {
        display: grid;
        align-content: start;
        gap: var(--nmb-space-md);
        padding-right: var(--nmb-space-lg);
        border-right: 1px solid var(--nmb-line);
    }

    .nmb-festival-event .nmb-event-card__layout {
        display: block;
    }
}

@media (min-width: 1280px) {
    .nmb-program-point.has-photo .nmb-program-point__layout {
        grid-template-columns: minmax(24rem, 1fr) clamp(200px, 22vw, 300px);
        align-items: start;
        gap: clamp(0.75rem, 2.2vw, 2rem);
    }
}

@media (min-width: 980px) and (max-width: 1279px) {
    .nmb-program-point.has-photo .nmb-program-point__layout {
        grid-template-columns: 1fr;
    }

    .nmb-program-point.has-photo .nmb-program-point__figure {
        max-width: 520px;
        margin-top: var(--nmb-space-md);
    }
}

@media (max-width: 839px) {
    .nmb-event-card__meta {
        padding-bottom: var(--nmb-space-md);
        border-bottom: 1px solid var(--nmb-line);
    }

    .nmb-festival-event .nmb-event-card__meta {
        padding-bottom: 0;
        border-bottom: 0;
    }
}

@media (max-width: 699px) {
    .entry:has(.nmb-festival).group,
    .hu-pad.group:has(.nmb-festival) {
        padding-inline: 1.5%;
    }

    .nmb-festival {
        padding-inline: 0.35rem;
    }

    .nmb-festival-header__description {
        display: none;
    }

    .nmb-festival-header__description-accordion {
        display: block;
    }

    .nmb-festival-opening-credits__tabs {
        display: none;
    }

    .nmb-festival-opening-credits__accordions {
        display: block;
        margin-top: var(--nmb-space-lg);
    }

    .nmb-festival-day__header {
        grid-template-columns: 1fr;
    }

    .nmb-festival-day__header::after {
        width: 6rem;
    }

    .nmb-festival-event,
    .nmb-event-card {
        padding: var(--nmb-space-md);
    }

    .nmb-festival-event-meta {
        column-gap: var(--nmb-space-sm);
    }

    .nmb-festival-event-meta__venue {
        font-size: 0.88rem;
    }

    .nmb-participant-list {
        display: grid;
        gap: 0.15rem;
    }

    .nmb-piece-card__composer-image {
        float: none;
        display: block;
        width: min(46vw, 150px);
        margin: 0 0 var(--nmb-space-sm);
    }

    .nmb-ensemble-block__image {
        float: none;
        display: block;
        width: min(46vw, 150px);
        margin: 0 0 var(--nmb-space-sm);
    }

    .nmb-participant-list__image {
        float: none;
        display: block;
        width: min(46vw, 150px);
        margin: 0 0 var(--nmb-space-sm);
    }

}

@media (max-width: 500px) {
    .entry:has(.nmb-festival).group,
    .hu-pad.group:has(.nmb-festival) {
        padding-inline: 0.75%;
    }

    .nmb-festival {
        padding-inline: 0.2rem;
    }

    .nmb-festival-event {
        padding-inline: 0.15rem;
    }
}

@media (max-width: 520px) {
    .nmb-festival-event-meta__time {
        font-size: clamp(1.85rem, 16vw, 2.8rem);
    }

    .nmb-festival-logos__items {
        gap: var(--nmb-space-md) var(--nmb-space-lg);
    }

    .nmb-festival-logo--large {
        --nmb-logo-width: 260px;
    }

    .nmb-festival-logo--xlarge {
        --nmb-logo-width: 300px;
    }

    .nmb-festival-logo__image {
        width: clamp(88px, 38vw, var(--nmb-logo-width));
        max-height: 100px;
    }
}
