.shedule__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;

    @media (min-width: 979px) {
        margin-bottom: 4.5rem;
        gap: 4rem;
        grid-template-columns: auto 16rem;
    }
}

.shedule__dates-wrap {
    width: 100%;
    padding-top: 1rem;
    gap: 1rem;
    display: flex;
    flex-wrap: wrap;

    @media (min-width: 560px) {
        flex-wrap: nowrap;
    }

    @media (min-width: 979px) {
        flex-direction: column;
    }
}

.shedule__header {
    margin-bottom: 2rem;

    @media (min-width: 979px) {
        margin-bottom: 4rem;
    }
}

.shedule__date {
    width: 100%;
    padding: 0.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    font-size: 16px;
    line-height: 1.2;

    @media (min-width: 979px) {
        width: 80%;
    }
}

.shedule__image-caption {
    max-width: 15rem;
    margin: 0 auto;
}

.shedule__date-image {
    max-width: 20rem;
    width: 100%;
}

.shedule__image-wrap {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;

    @media (min-width: 979px) {
        flex-direction: column;
    }
}

.shedule__date--registration {
    background-color: var(--aok-blue);
    color: var(--aok-black);
}

.shedule__date--challange {
    background-color: var(--aok-orange);
    color: var(--aok-black);

    @media (min-width: 979px) {
        margin-left: 20%;
    }
}

.shedule__cta {
    display: grid;

    @media (min-width: 979px) {
        grid-template-columns: 22rem auto;
        gap: 3rem;
    }

    @media (min-width: 1440px) {
        grid-template-columns: 28rem auto;
    }
}

.shedule__cta-content {
    @media (min-width: 979px) {
        grid-column: 2/3;
        max-width: 26rem;
    }
}


/**
* Schedule with map element
 */

.event-schedule-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;

    @media (min-width: 979px) {
        column-gap: 4rem;
        grid-template-columns: 2fr 1fr;
    }

    @media (min-width: 1440px) {
        column-gap: 6rem;
    }
}

.event-schedule__heading {
    @media (min-width: 979px) {
        grid-column: auto / span 2;
        width: 100%;
    }
}

.event-schedule__list {
    padding-left: 4rem;
    position: relative;

    &::before {
        content: '';
        left: 15px;
        width: 10px;
        position: absolute;
        top: 0;
        height: 100%;
        display: block;
        background: linear-gradient(0deg, rgba(232, 244, 242, 0) 0%, rgba(232, 244, 242, 1) 25%, rgba(232, 244, 242, 1) 75%, rgba(232, 244, 242, 0) 100%);
    }
}

.event-schedule__item {
    color: var(--aok-black);
    position: relative;

    &::before {
        left: -4rem;
        transform: translate(5px, -50%);
        top: 50%;
        width: 30px;
        height: 30px;
        display: block;
        position: absolute;
        content: '';
        border-radius: 50%;
    }

    &:not(:last-child) {
        margin-bottom: 3rem;
    }

    &:nth-child(1n)::before {
        background: #83eaf2;
    }

    &:nth-child(2n)::before {
        background: #fff133;
    }

    &:nth-child(3n)::before {
        background: #ffc027;
    }
}

.event-schedule__item h4 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}
