/**
 * The following styles get applied both on the front of your site
 * and in the editor.
 *
 * Replace them with your own styles or remove the file completely.
 */
.timeline-block {
    background-image: var(--background-image);
}
.timeline-block {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-color: #F2F2F2;
    position: relative;
    color: #292D34;
}
.timeline-label{
    position: absolute;
    bottom: 0;
}
.timeline-block-inner {
    margin: 0 auto;
    max-width: 1180px;
    padding: 200px 0;
    display: flex;
}
.timeline-label {
    position: absolute;
    bottom: 0;
    font-size: 250px;
    line-height: 195px;
    left: 90px;
    color: rgba(0, 0, 0, 0.05);
}
.timeline-headings {
    width: calc(50% - 20px);
    margin-right: 20px;
}
.timeline-entries {
    width: 50%;
}
.timeline-heading {
    margin: 0;
    font-size: 60px;
    line-height: 77px;
    font-weight: bold;
}
.timeline-subheading {
    font-size: 16px;
    font-weight: normal;
    letter-spacing: 4.8px;
    text-transform: uppercase;
    margin: 0 0 40px 0;
}
.timeline-entries {
    margin: 16px 0;
    padding: 0;
    list-style: none;
}
.timeline-entries h3 {
    margin: 0;
    padding: 30px 0 0;
}
.timeline-entry {
    border-left: 1px solid #292D34;
    padding-left: 40px;
}
.timeline-entry p {
    margin: 0;
    padding-bottom: 30px;
    padding-top: 5px;
}
.timeline-entry:before {
    position: absolute;
    content: " ";
    width: 14px;
    height: 14px;
    background-color: #292D34;
    border-radius: 7px;
    transform: translateX(-47px);
}
.timeline-entry:last-child {
    border-left: none;
}
.entry-index {
    font-size: 32px;
    font-weight: 500;
    line-height: 48px;
    transform: translateY(-16px);
    position: absolute;
}

.timeline-block.light {
    color: #ffffff;
}
.timeline-block.light .timeline-entry {
    border-left: 1px solid #ffffff;
}
.timeline-block.light .timeline-entry::before{
    background-color: #ffffff;
}
.timeline-block.light .timeline-entry:last-child {
    border: none;
}

@media (max-width: 1180px) {
    .timeline-label {
        left: 0;
        margin: 0 20px;
        font-size: 100px;
        line-height: 79px;
    }
    .timeline-block-inner {
        padding: 80px 35px;
        flex-direction: column;
    }
    .timeline-headings {
        width: 100%;
        margin: 0 0 40px 0;
    }
    .timeline-subheading {
        font-size: 11px;
        letter-spacing: 3.3px;
        line-height: 16px;
    }
    .timeline-heading {
        font-size: 30px;
        line-height: 35px;
    }
    .timeline-entry:before {
        width: 8px;
        height: 8px;
        transform: translateX(-44.5px);
    }
    .entry-index {
        font-size: 22px;
        line-height: 32px;
        transform: translateY(-11px);
    }
    .timeline-entries {
        width: 100%;
    }
    .timeline-entries h3 {
        font-size: 17px;
        padding: 22px 0 0;
    }
    .timeline-entry p {
        padding-top: 10px;
        font-size: 15px;
    }
    .timeline-block {
        background-image: var(--mobile-background-image);
    }
}
