h3 {
    color: #3c4296;
    font-size: 1.5em;
}
.schedule-card {
    display: flex;
    flex-direction: column;
    margin-top: 16px;
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 32px;
}
.schedule-card > h2 {
    font-weight: normal;
    font-size: 1.28571rem;
    margin-bottom: 32px;
}
.schedule-card > h2:last-of-type {
    margin-bottom: 0;
}
.schedule-card > h2:first-of-type {
    margin-bottom: 32px;
}
.schedule-card .schedule {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}
.schedule-card .schedule .block {
    display: flex;
    flex-direction: column;
    position: relative;
    height: auto;
    align-items: center;
    padding: 0;
}
.schedule-card .schedule .block:first-child {
    align-items: flex-start;
}
.schedule-card .schedule .block:first-child:after {
    position: absolute;
    content: '';
    top: 0;
    left: 100%;
    width: 3px;
    height: 100%;
    background-color: #CCC;
    margin-left: 16px;
}
.schedule-card .schedule .block:nth-child(3):after {
    position: absolute;
    content: '';
    top: 0;
    left: -10%;
    width: 3px;
    height: 100%;
    background-color: #CCC;
    margin-left: 16px;
}
.schedule-card .schedule .block h2 {
    display: flex;
    gap: 8px;
    /*height: 60px;*/
    color: #8e8e8e;
    font-size: 1.2em;
}
.schedule-card .schedule .block h2 div {
    display: flex;
    flex-direction: column;
}
.schedule-card .schedule .block h2 span:last-child {
    font-size: 1.25em;
}
.schedule-card .schedule .block .time {
    color: #fff;
    padding: 16px 32px;
    border-radius: 8px;
    /*height: 80px;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    margin-top: 32px;

    background-color: #bc147e;
}
.schedule-card .schedule .block:first-child .time {
    background-color: #aeac01;
    font-size: 1.8em;
}
.schedule-card .schedule .block:last-child .time {
    color: #3c4296;
    background-color: #fff;
}
.schedule-card .schedule .block .time p {
    font-weight: bold;
    font-size: 1.4em;
}
.schedule-card .schedule .block .time small {
    float: right;
    font-size: 1em;
}

.schedule-card .today-hours {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 16px;
}
.schedule-card .today-hours .item h2 {
    font-size: 1.2em;
    color: #8e8e8e;
}
.schedule-card .today-hours .item.download-button {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.schedule-card .today-hours .item.download-button a {
    padding: 16px 32px;
    border-radius: 8px;
    background-color: #bc147e;
    color: #fff;
    text-align: center;
}

color: #fff;

@media screen and (max-width: 1200px) {
    .schedule-card {
        padding: 16px;
    }

    .ligne-hour, .schedule-card .schedule .block .time p {
        font-size: 1.1em;
    }

    .schedule-card .schedule .block .time {
        padding: 8px;
    }
}

@media screen and (max-width: 800px) {
    .schedule-card > h2 {
        font-size: 20px;
    }

    .schedule-card .schedule {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
    }

    .ligne-hour, .schedule-card .schedule .block .time p {
        font-size: 20px;
    }

    .schedule-card .schedule .block {
        flex-direction: row;
        align-items: center !important;
        justify-content: space-between;
        padding: 0;
    }

    .schedule-card .schedule .block .time {
        margin-top: 0;
    }

    .schedule-card .schedule .block h2 svg {
        display: none;
    }

    .schedule-card .schedule .block h2 span:last-child {
        font-size: 1.1em;
    }
}

@media screen and (max-width: 600px) {
    .schedule-card .schedule {
        grid-template-columns: repeat(1, 1fr);
        gap: 32px;
    }

    .ligne-hour, .schedule-card .schedule .block .time p {
        font-size: 20px;
    }

    .schedule-card .schedule .block {
        flex-direction: column;
        align-items: center !important;
    }
    .schedule-card .schedule .block:first-child .time {
        text-align: center;
        align-items: center;
    }
    .schedule-card .schedule .block:first-child .time .ligne-hour {
        font-size: 1.5em;
    }
    .schedule-card .schedule .block .time {
        margin-top: 16px;
        width: 75%;
        padding: 8px 16px;
    }

    .schedule-card .schedule .block h2 div {
        text-align: center;
    }
    .schedule-card .schedule .block:not(:first-child) h2 div {
        display: inline-block;
    }
    .schedule-card .schedule .block h2 div span:last-child {
        font-size: 1em;
    }
}
