/* The editable Divi ticket section and its WordPress menu item. */
.njr-site .njr-ticket-strip {
    --ticket-surround: #101016;
    --ticket-accent: var(--njr-orange, #ff9b00);
    padding: clamp(24px, 3.2vw, 48px) 0;
    background: var(--ticket-surround);
}

.njr-site .njr-ticket-strip .njr-ticket-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(13rem, 27%);
    align-items: stretch;
    gap: 0;
    width: calc(100% - clamp(40px, 7vw, 96px));
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
    border: 1px solid #494950;
    border-inline-start: 5px solid var(--ticket-accent);
    background: #23232c;
    color: #fff;
}

.njr-ticket-strip .njr-ticket-row::after {
    display: none;
}

.njr-site .njr-ticket-strip :is(.njr-ticket-copy, .njr-ticket-action) {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: clamp(22px, 3vw, 44px);
}

.njr-ticket-strip .njr-ticket-title .et_pb_module_header {
    margin: 0;
    padding: 0;
    font: 400 clamp(1.7rem, 3vw, 2.8rem)/1.12 var(--njr-display);
    color: #fff;
    overflow-wrap: anywhere;
}

.njr-site .njr-ticket-strip .njr-ticket-intro {
    max-width: 64ch;
    margin: 12px 0 0;
}

.njr-site .njr-ticket-strip .njr-ticket-intro :is(.et_pb_text_inner, p) {
    padding: 0;
    color: #eeedf0;
    font: 400 clamp(1rem, 1.25vw, 1.125rem)/1.5 var(--njr-font);
}

.njr-site .njr-ticket-strip .njr-ticket-action {
    position: relative;
    display: grid;
    place-items: center;
    border-inline-start: 2px dashed #71717a;
}

/* The two notches meet the perforated edge of the ticket. */
.njr-ticket-strip .njr-ticket-action::before,
.njr-ticket-strip .njr-ticket-action::after {
    content: "";
    position: absolute;
    inset-inline-start: -8px;
    width: 14px;
    height: 7px;
    background: var(--ticket-surround);
    pointer-events: none;
}

.njr-ticket-strip .njr-ticket-action::before {
    top: -1px;
    border-radius: 0 0 7px 7px;
}

.njr-ticket-strip .njr-ticket-action::after {
    bottom: -1px;
    border-radius: 7px 7px 0 0;
}

.njr-site .njr-ticket-strip .njr-ticket-action .et_pb_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 3px;
    background: var(--ticket-accent);
    color: #101016;
    font: 700 0.9375rem/1.35 var(--njr-font);
    text-align: center;
}

.njr-site .njr-ticket-strip .njr-ticket-action .et_pb_button:hover {
    padding: 12px 22px;
    background: #ffc05c;
    color: #101016;
}

.njr-ticket-strip .njr-ticket-action .et_pb_button::after {
    display: none;
}

.njr-site .njr-navigation .njr-wp-menu > .njr-nav-tickets > a {
    justify-content: center;
    min-height: 44px;
    padding: 9px 13px;
    border: 1px solid var(--njr-orange);
    border-radius: 3px;
    color: #ffba52;
}

.njr-site .njr-navigation .njr-wp-menu > .njr-nav-tickets > a:is(:hover, :focus-visible) {
    background: var(--njr-orange);
    color: #101016;
}

.njr-site .njr-ticket-strip .njr-ticket-action .et_pb_button:focus-visible,
.njr-site .njr-navigation .njr-wp-menu > .njr-nav-tickets > a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 700px) {
    .njr-site .njr-ticket-strip .njr-ticket-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .njr-site .njr-ticket-strip .njr-ticket-copy {
        padding-inline: clamp(14px, 4vw, 22px);
    }

    .njr-site .njr-ticket-strip .njr-ticket-title .et_pb_module_header {
        font-size: clamp(1.05rem, 5.05vw, 1.7rem);
        letter-spacing: -.02em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: auto;
    }

    .njr-site .njr-ticket-strip .njr-ticket-action {
        justify-items: start;
        padding-block: 18px;
        border-inline-start: 0;
        border-top: 2px dashed #71717a;
    }

    .njr-ticket-strip .njr-ticket-action::before,
    .njr-ticket-strip .njr-ticket-action::after {
        display: none;
    }
}
