.shift-schedule {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: 36rem;
    margin: 1.5rem auto 0;
}

.shift-schedule-card {
    padding: 1rem 1.25rem;
    border: 1px solid #edd5ce;
    border-radius: 1rem;
    background: #fff8f4;
    color: #402323;
}

.shift-schedule-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    color: #9f1237;
    font-size: 1rem;
}

.shift-schedule-duration {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #f9e3e1;
    font-size: 0.875rem;
    font-weight: 600;
}

.shift-schedule-date {
    margin: 0.65rem 0 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

@media (max-width: 479px) {
    .shift-schedule {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) {
    .shift-schedule-three {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        max-width: 50rem;
    }
}

@media (min-width: 480px) and (max-width: 767.98px) {
    .shift-schedule-three > :last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc((100% - 1rem) / 2);
    }
}
