.arcade-atlas:is([data-atlas-program="festival-program"], [data-atlas-program="my-schedule"]) .samc-atlas-artist-profile-lightbox-trigger {
    display: inline-block;
}

.arcade-atlas:is([data-atlas-program="festival-program"], [data-atlas-program="my-schedule"]) .samc-atlas-artist-profile-lightbox-trigger[data-samc-country]::after {
    content: attr(data-samc-country);
    display: block;
    margin-top: 0.2rem;
    font-family: var(--font-body, inherit);
    font-size: 0.72em;
    font-style: normal;
    font-weight: 400;
    line-height: 1.35;
}

/* Keep the artist programme affiliation smaller and on the artist's name line. */
.arcade-atlas:is([data-atlas-program="festival-program"], [data-atlas-program="my-schedule"]) .samc-atlas-artist-program-label {
    font-family: var(--font-body, inherit);
    font-size: 0.6em;
    font-style: normal;
    font-weight: 400;
    letter-spacing: normal;
}

/* Shared opening programme layout on the showcase and dedicated opening pages. */
:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-day {
    gap: 0;
}

:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-day__header {
    display: block;
    padding-bottom: 32px;
    border-bottom: 0;
    text-align: center;
}

:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-day__header h2 {
    font-size: 34px;
    font-style: italic;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: normal;
    color: #ffffff;
}

:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-item__title {
    font-size: 28px;
    color: #ffffff;
}

/* Keep the human-readable day heading and show venue details in the lightbox. */
:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-day__header p,
:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-item__meta {
    display: none !important;
}

/* Place the opening description directly below its title, before the type badge. */
:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-item__content > .arcade-atlas-item__excerpt {
    order: 1;
}

:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-item__content > .arcade-atlas-item__badges {
    order: 2;
}

/* Match the two-line, centered opening date in the festival day labels. */
:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-day__header .arcade-atlas-entity-label__text {
    font-size: 34px;
    line-height: 1.1;
    max-width: 180px;
    margin: 0 auto;
}

/* Opening location follows the Party badge in the event content grid. */
:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .samc-opening-location {
    order: 3;
    margin: 0;
    color: #ffffff;
}

:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .samc-opening-location a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

/* Match festival day-tab icons: centered 100px artwork with a 20px label gap. */
:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-day__header .arcade-atlas-entity-label--heading {
    gap: 20px !important;
    justify-items: center;
}

:is(.page-id-793, .page-id-4465) .arcade-atlas[data-atlas-program="opening-program"] .arcade-atlas-day__header .arcade-atlas-entity-label__image {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
}
