/* “Schedule” Elementor widget. Colors overridable from the widget (Style tab). */

.jits-schedule {
    --jits-schedule-title: var(--button-primary-bg, #163cdb);
    --jits-schedule-text: var(--footer-bg, #0e1b56);
    --jits-schedule-separator: #d9dce6;
}

.jits-schedule__heading {
    margin: 0 0 2.5rem;
    color: var(--jits-schedule-title);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
}

.jits-schedule__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Thin line between the time slots. */
.jits-schedule__slot {
    padding-block: 1.5rem;
    border-top: 1px solid var(--jits-schedule-separator);
    color: var(--jits-schedule-text);

    &:first-child {
        padding-top: 0;
        border-top: 0;
    }

    &:last-child {
        padding-bottom: 0;
    }
}

.jits-schedule__title {
    margin: 0 0 0.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.35;
}

.jits-schedule__time {
    font-variant-numeric: tabular-nums;
}

.jits-schedule__text {
    font-size: 1.125rem;
    line-height: 1.35;

    p {
        margin: 0 0 0.75em;
    }

    > :last-child {
        margin-bottom: 0;
    }

    a {
        color: inherit;
        text-decoration: underline;
    }
}

@media (max-width: 767px) {
    .jits-schedule__heading {
        margin-bottom: 1.75rem;
        font-size: 1.625rem;
    }

    .jits-schedule__title,
    .jits-schedule__text {
        font-size: 1rem;
    }
}
