/* Start page ("Vorbereitung") — intro, date callout and the preparation
   step cards. Loaded globally but every selector is scoped to .prep-* markup
   that only appears on the start page. */

.prep-intro {
    margin-bottom: 22px;
    max-width: 760px;
}

/* Compact callout that holds the upcoming C-Test dates. */
.prep-callout {
    margin: 0 0 30px;
    padding: 12px 16px;
    background: #f7f7f7;
    border: 1px solid #e3e3e3;
    border-left: 4px solid #7ab51d;
    border-radius: 3px;
}

.prep-callout.is-empty {
    border-left-color: #bec6c8;
}

.prep-callout-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #8c9598;
}

.prep-callout ul {
    margin: 0;
    padding-left: 18px;
}

.prep-steps-heading {
    margin: 0 0 16px;
}

/* Equal-height step cards laid out across the available width. */
.prep-cards {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.prep-card-col {
    flex: 1 1 33.333%;
    max-width: 33.333%;
    padding: 0 10px;
    margin-bottom: 20px;
}

.prep-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.prep-card:hover {
    border-color: #7ab51d;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.prep-card-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 14px;
    font-weight: 700;
    color: #fff;
    background: #7ab51d;
    border-radius: 50%;
}

.prep-card-title {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
}

.prep-card-text {
    flex: 1 1 auto;
    margin: 0 0 18px;
    color: #555;
}

.prep-card .btn {
    align-self: flex-start;
}

/* Stack the cards on narrow screens. */
@media (max-width: 767px) {
    .prep-card-col {
        flex-basis: 100%;
        max-width: 100%;
    }
}
