/* Přehled soutěží po měsících - viz docs/plan-registrations-jako-jablicko.md */
.contest-month-title {
    margin: 25px 0 15px 0;
}

.contest-month-title:first-of-type {
    margin-top: 0;
}

.contest-row {
    display: flex;
    align-items: center;
}

.contest-date {
    flex-shrink: 0;
    width: 120px;
    margin-right: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    background-color: rgba(var(--phoenix-primary-rgb, 56, 116, 255), 0.15);
    padding: 8px 12px;
    border-radius: 6px;
}

html[data-bs-theme="dark"] .contest-date,
[data-bs-theme="dark"] .contest-date {
    color: #fff;
}

html[data-bs-theme="light"] .contest-date,
[data-bs-theme="light"] .contest-date {
    color: #1e2022;
}

.contest-details {
    flex-grow: 1;
}

.contest-details-title {
    margin-bottom: 5px;
}

.contest-details-list {
    margin: 0;
    padding-left: 18px;
    color: inherit;
    font-size: 13px;
}

.contest-details-list li {
    margin-bottom: 2px;
}

.contest-details-list svg,
.contest-details-list [data-feather] {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
}

.contest-logo {
    flex-shrink: 0;
    width: 80px;
    margin: 0 15px;
    text-align: center;
}

.contest-logo img {
    max-height: 50px;
    max-width: 80px;
    background-color: #fff;
    padding: 4px;
    border-radius: 4px;
}

.contest-action {
    flex-shrink: 0;
    text-align: right;
}

@media (max-width: 576px) {
    .contest-row {
        flex-wrap: wrap;
    }

    .contest-date {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 15px;
        text-align: left;
    }

    .contest-details {
        width: 100%;
        order: 2;
        margin-bottom: 10px;
    }

    .contest-details-title {
        font-size: 15px;
    }

    .contest-details-list {
        font-size: 12px;
        padding-left: 15px;
    }

    .contest-logo {
        display: none;
    }

    .contest-action {
        width: 100%;
        order: 3;
        text-align: left;
    }

    .contest-action .btn {
        width: 100%;
    }
}
