
/* ---------- What to expect ---------- */

.course-expect {
    --ce-brand: #006699;
    --ce-tint: #e3f1f8;
    --ce-text: #1f2937;
    --ce-muted: #6b7280;
    --ce-line: #e5e7eb;
    --ce-radius: 20px;

    margin: 56px 0 0;
    font-family: Poppins, sans-serif;
    color: var(--ce-text);
}

.course-expect svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-expect .course-expect__title {
    margin: 0 0 24px;
    padding: 0;
    background: none;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: var(--ce-text);
}

/* ---------- Timeline ---------- */

.course-day {
    margin-bottom: 20px;
    padding: 28px;
    border-radius: var(--ce-radius);
    background: #f7f9fc;
}

.course-expect .course-day__title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ce-brand);
}

.course-day__title svg {
    width: 18px;
    height: 18px;
}

.course-day__timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    margin: 0 !important;
    padding: 0;
    list-style: none;
}

/* Connecting line behind the dots */
.course-day__timeline::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    height: 2px;
    background: var(--ce-line);
}

.course-day__step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 26px 0 0;
}

/* Dot */
.course-day__step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 14px;
    height: 14px;
    border: 2px solid var(--ce-brand);
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
}

.course-day__step--key::before {
    background: var(--ce-brand);
}

.course-day__step--break::before {
    border-color: #9cc3d8;
}

.course-day__step time {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ce-text);
    font-variant-numeric: tabular-nums;
}

.course-day__step--break time {
    font-weight: 500;
    color: var(--ce-muted);
}

.course-day__step span {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--ce-muted);
}

/* ---------- Info cards ---------- */

.course-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.course-info__card {
    padding: 24px;
    border: 1px solid var(--ce-line);
    border-radius: var(--ce-radius);
    background: #fff;
}

.course-info__icon {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 14px;
    color: var(--ce-brand);
}

.course-expect .course-info__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ce-text);
}

.course-info__card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--ce-muted);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .course-day__timeline {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }

    .course-day__timeline::before {
        display: none;
    }

    .course-info {
        grid-template-columns: 1fr;
    }
}

/* Vertical timeline on phones */
@media (max-width: 560px) {
    .course-day {
        padding: 22px 20px;
    }

    .course-day__timeline {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .course-day__timeline::before {
        display: block;
        top: 6px;
        bottom: 6px;
        left: 6px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .course-day__step {
        padding: 0 0 18px 30px;
    }

    .course-day__step:last-child {
        padding-bottom: 0;
    }

    .course-day__step::before {
        top: 3px;
    }

    .course-info__card {
        padding: 20px;
    }
}