/* Shared training list styles (homepage + training-courses page) */

.training-row {
    align-items: start;
}

.training-row .action .btn-small {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
    white-space: nowrap;
    border: 1px solid var(--slate-300);
    color: var(--slate-700);
    background: white;
    transition: all 0.2s;
    text-decoration: none;
}

.training-row .action .btn-small.primary {
    background: var(--red-600);
    border-color: var(--red-600);
    color: white;
}

.training-row .action .btn-small.primary:hover {
    background: var(--red-700);
    border-color: var(--red-700);
}

.training-schedule {
    margin-top: 14px;
}

.training-schedule-panel {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--slate-200);
}

.training-schedule-panel[hidden] {
    display: none;
}

.training-schedule-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--slate-500);
    margin-bottom: 8px;
}

.training-schedule-item {
    font-size: 12px;
    line-height: 1.5;
    color: var(--slate-600);
    padding: 4px 0;
}

.training-schedule-toggle {
    padding: 0;
    border: none;
    background: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--red-600);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.training-schedule-toggle:hover {
    text-decoration: underline;
}

.training-row .content .meta span.training-meta-location {
    flex-basis: 100%;
    font-weight: 500;
    color: var(--slate-500);
}

.training-row .content .meta span.training-meta-location::before {
    display: none;
}

@media (max-width: 768px) {
    .training-row .action .btn-small {
        width: 100%;
        justify-content: center;
    }
}
