/* Season Timeline — frontend styles.
 * Loaded automatically when the block is present (block.json "style").
 *
 * A horizontal track of season nodes joined by a connecting line, each node
 * capped by a snowflake marker. Collapses to a stacked vertical timeline on
 * narrow screens. Uses shared design tokens (--surface, --line, --accent,
 * --ink-soft) from widget-frame.css.
 */

.b-seasontl { margin: 32px 0; }

.b-seasontl__head {
    text-align: center;
    margin-bottom: 28px;
}

.b-seasontl__kicker { display: block; margin-bottom: 6px; }

.b-seasontl__title {
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.15;
}

.b-seasontl__track {
    display: grid;
    grid-template-columns: repeat(var(--seasons, 4), minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

/* the connecting line runs behind the markers, across the top band */
.b-seasontl__track::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(
        to right,
        color-mix(in srgb, var(--accent, #9c3a52) 40%, transparent),
        color-mix(in srgb, var(--accent, #9c3a52) 40%, transparent)
    );
    z-index: 0;
}

.b-seasontl__node {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 6px;
}

.b-seasontl__marker {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--surface, #fff);
    border: 2px solid var(--accent, #9c3a52);
    color: var(--accent, #9c3a52);
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
}

.b-seasontl__range {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent, #9c3a52);
    font-weight: 600;
    margin-bottom: 4px;
}

.b-seasontl__t {
    margin: 0 0 8px;
    font-size: 1.15rem;
    line-height: 1.2;
}

.b-seasontl__b {
    margin: 0;
    color: var(--ink-soft, #6b6255);
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 860px) {
    .b-seasontl__track {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .b-seasontl__track::before {
        top: 4px;
        bottom: 4px;
        left: 12px;
        right: auto;
        width: 2px;
        height: auto;
        background: color-mix(in srgb, var(--accent, #9c3a52) 40%, transparent);
    }
    .b-seasontl__node {
        text-align: left;
        padding: 0 0 22px 40px;
    }
    .b-seasontl__marker {
        position: absolute;
        left: 0;
        top: 0;
        margin-bottom: 0;
    }
}
