/* Season pages (/jul/). Loaded only there, see templates/next/season/. */

.season {
    --season-green: #2f6b3a;
    --season-border: #e3dcd5;
    --season-muted: #6b7280;
}

@media (max-width: 1060px) {
    .season {
        padding: 0 1em;
    }
}

.season-lead {
    max-width: 42em;
    line-height: 1.5;
}

.season-actions {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6em 1em;
    margin: 1em 0;
    padding: 0.7em 0;
    border-bottom: 1px solid var(--season-border);
    /* The page's own background (it covers the list when it sticks). */
    background: #fafafa;
}

.season-button {
    padding: 0.5em 1.2em;
    border: 1px solid #2987B2;
    border-radius: 6px;
    background: #2987B2;
    color: #fff;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
}

.season-button:hover {
    border-color: #1d6587;
    background: #1d6587;
}

/* The second choice: an outline button, like on the songbook page. */
.season-button-okt {
    background: #fff;
    color: #2987B2;
    font-weight: normal;
}

.season-button-okt:hover {
    background: #e6f2f8;
    color: #1d6587;
}

.season-button:disabled {
    opacity: 0.45;
    cursor: default;
}

.season-count,
.season-pick {
    color: var(--season-muted);
}

.season-pick button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.season-group h4 {
    margin: 1.4em 0 0.4em;
    font-size: 1.05em;
    color: var(--season-green);
}

.season-songs {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2 22em;
    column-gap: 2em;
}

.season-songs li {
    display: flex;
    align-items: baseline;
    gap: 0.5em;
    padding: 0.3em 0;
    border-bottom: 1px solid var(--season-border);
    break-inside: avoid;
}

@media (max-width: 575px) {
    .season-songs li {
        padding: 0.45em 0;
    }

    .season-row input {
        width: 1.3em;
        height: 1.3em;
    }
}

/* The whole row is the label that ticks the song. */
.season-row {
    display: flex;
    flex: 1;
    align-items: baseline;
    gap: 0.5em;
    min-width: 0;
    margin: 0;
    padding: 0.1em 0;
    font-weight: normal;
    cursor: pointer;
}

.season-row input {
    flex: none;
    width: 1.1em;
    height: 1.1em;
    margin: 0;
    align-self: center;
}

.season-song {
    font-weight: bold;
}

.season-artist {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--season-muted);
    font-size: 0.9em;
}

/* Opening the song: a quiet arrow with room to tap. */
.season-open {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 2.2em;
    margin: -0.3em 0;
    border-radius: 4px;
    color: #9aa3ad;
}

.season-open:hover {
    background: #e6f2f8;
    color: #2987B2;
}

.season-note {
    margin-top: 1.5em;
    color: var(--season-muted);
    font-size: 0.9em;
}
