.schedule-layout {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--content-max-width);
    max-height: 600px;
    margin-inline: auto;
    position: relative;
}

.schedule-layout::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: calc(-1 * var(--space-lg));
    bottom: calc(-1 * var(--space-lg));
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: linear-gradient(to right, #dfe7e2 0%, transparent 100%);
    pointer-events: none;
}

.schedule__left {
    display: none;
    position: relative;
    z-index: 1;
    justify-items:center;
}

.schedule__left img {
    width: 350px;
    max-width: none;
    aspect-ratio: 3 / 5;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--radius-md);
    display: block;
}

.schedule__right {
    display: grid;
    gap: var(--space-xl);
    justify-content: center;
    justify-items: start;
    position: relative;
    z-index: 1;
}

.schedule__right .button {
    border: none;
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 1s ease;
}

.schedule__right .button.is-glowing {
    box-shadow: 0 0 16px 2px red;
}

.schedule__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
}

@media (min-width: 48rem) {
    .schedule-layout {
        flex-direction: row;
        align-items: center;
        gap: var(--space-2xl);
    }

    .schedule-layout::before {
        left: calc((100% - var(--space-2xl)) / 4);
        right: 0;
        width: auto;
        transform: none;
        border-radius: var(--space-3xl) 0 0 var(--space-3xl);
    }

    .schedule__left {
        display: block;
        flex: 1;
    }

    .schedule__left img {
        margin-left: auto;
    }

    .schedule__right {
        flex: 1;
    }
}
