/* ==========================================================
   TRAINING PAGE
   Only what site.css does not already cover.
   ========================================================== */

/* Icon at the top of each "ways to learn" card */
.format-icon {
    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;
    margin-bottom: 18px;

    background: #fdf8ec;
    border: 1px solid #efe3c2;

    color: var(--brown);

    font-size: 19px;
}

/* Cards in a row line up their lists at the same height */
.training-formats .card,
.course-card {
    display: flex;
    flex-direction: column;
}

.training-formats .card-list,
.course-card .card-list {
    margin-top: auto;
}

.training-formats .card > p,
.course-card > p {
    margin-bottom: 16px;
}

/* Course outline download band */
.download-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.download-band > div {
    max-width: 640px;
}

.download-band p {
    margin-top: 14px;

    color: rgba(255, 255, 255, 0.8);
}

.download-file {
    flex-shrink: 0;
    gap: 14px;

    min-height: 60px;
    padding: 0 26px;
}

.download-file i {
    font-size: 22px;
}

.download-file span {
    display: flex;
    flex-direction: column;

    line-height: 1.2;
    text-align: left;
}

.download-file small {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.75;
}

/* Questions: keep the column readable */
.training-faq {
    max-width: 860px;
}


/* ----------------------------------------------------------
   Phones
   ---------------------------------------------------------- */

@media (max-width: 768px) {

    .download-band {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .download-file {
        width: 100%;
        justify-content: center;
    }
}
