.list-training-card:first-of-type .inner-wrapper {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.list-training-card:last-of-type .inner-wrapper {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.list-training-card .wrapper {
    position: relative;
}

.list-training-card .wrapper.disabled {
    cursor: not-allowed;
}

.list-training-card .wrapper.disabled .link {
    pointer-events: none;
}

.list-training-card .wrapper.disabled .link:hover+.inner-wrapper .btn {
    background-color: var(--color-grey);
    border-color: var(--color-grey);
    box-shadow: none;
    color: var(--color-grey-dark);
}

.list-training-card .wrapper .link {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.list-training-card .wrapper .link:hover+.inner-wrapper {
    background-color: var(--color-primary-5);
}

.list-training-card .wrapper .link:hover+.inner-wrapper .btn {
    background-color: #cd8300;
    border-color: #cd8300;
    box-shadow: 0 16px 24px rgba(0, 0, 0, 0.12);
    color: var(--color-white);
}

.list-training-card .inner-wrapper {
    background-color: var(--color-white);
    border: 1px solid var(--color-primary-5);
    display: block;
    padding: 1rem;
    transition: 0.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

@media screen and (min-width: 40rem) {
    .list-training-card .inner-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper {
        flex-wrap: nowrap;
        padding: 1.5rem;
    }
}

.list-training-card .inner-wrapper div {
    margin: 0 0 0.5rem;
}

@media screen and (min-width: 40rem) {
    .list-training-card .inner-wrapper div {
        margin: 0;
    }
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper div {
        margin: 0 1.5rem 0 0;
    }
}

.list-training-card .inner-wrapper .flex-wrapper {
    flex-basis: 40%;
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper .flex-wrapper {
        flex-basis: 22.5%;
    }
}

.list-training-card .inner-wrapper .flex-wrapper .title {
    margin: 0;
}

.list-training-card .inner-wrapper .flex-wrapper .open-spots {
    color: var(--color-green-alt);
    display: block;
    font-size: 0.8125rem;
}

.list-training-card .inner-wrapper .flex-wrapper .open-spots.almost-full {
    color: var(--color-secondary);
}

.list-training-card .inner-wrapper .flex-wrapper .open-spots.full {
    color: var(--color-red);
}

.list-training-card .inner-wrapper .date {
    flex-basis: 33%;
    order: 3;
    text-align: left;
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper .date {
        flex-basis: 18%;
        order: unset;
    }
}

.list-training-card .inner-wrapper .trainingdata {
    color: var(--color-tertiary);
    font-size: 0.8rem;
    line-height: 1.3;
    margin-top: 0.5rem;
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper .trainingdata {
        font-size: 0.9rem;
    }
}

.list-training-card .inner-wrapper .location {
    flex-basis: 33%;
    order: 4;
}

@media screen and (min-width: 40rem) {
    .list-training-card .inner-wrapper .location {
        text-align: center;
    }
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper .location {
        flex-basis: 20%;
        order: unset;
        text-align: unset;
    }
}

.list-training-card .inner-wrapper .date,
.list-training-card .inner-wrapper .location {
    color: var(--color-primary);
    font-size: 1rem;
}

.list-training-card .inner-wrapper .date i,
.list-training-card .inner-wrapper .location i {
    margin: 0 0.75rem 0 0;
}

.list-training-card .inner-wrapper .price {
    color: var(--color-tertiary);
    flex-basis: 33%;
    order: 5;
}

@media screen and (min-width: 40rem) {
    .list-training-card .inner-wrapper .price {
        text-align: right;
    }
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper .price {
        flex-basis: 8%;
        order: unset;
        text-align: unset;
    }
}

.list-training-card .inner-wrapper .btn-container {
    flex-basis: 35%;
    margin: 0;
    margin: 0 0 1rem;
    order: 2;
}

.list-training-card .inner-wrapper .btn-container.disabled {
    cursor: not-allowed;
}

@media screen and (min-width: 40rem) {
    .list-training-card .inner-wrapper .btn-container {
        text-align: right;
    }
}

@media screen and (min-width: 64rem) {
    .list-training-card .inner-wrapper .btn-container {
        flex-basis: unset;
        margin: 0 0 0.5rem;
        order: unset;
        text-align: unset;
    }
}