/*
 * Phase 3 of the legacy WPCode CSS migration.
 * This file is loaded only when the training_content_typography feature flag
 * is enabled, and only for training single pages.
 */
body.single-trainings .trng_titel {
    font-weight: 800;
    margin-bottom: 10px !important;
    font-size: 2.4em;
    line-height: 1.2em;
    color: #333;
    hyphens: none;
    -webkit-hyphens: none;
    overflow-wrap: normal;
    word-break: keep-all;
    font-size: clamp(1.25rem, 3.8vw, 2.6rem);
    line-height: 1.25;
    text-wrap: balance;
    margin: 0;
}

@media (max-width: 900px) {
    body.single-trainings .trng_titel {
        line-height: 1.4;
    }
}

@media (max-width: 700px) {
    body.single-trainings .trng_titel {
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    body.single-trainings .trng_titel {
        line-height: 1.4;
    }
}

body.single-trainings .trng_untertitel {
    font-weight: 600;
    margin-bottom: 0 !important;
    font-size: 1.1em;
    line-height: 1.4em;
    color: #333;
}

body.single-trainings .trng_kurzbeschreibung,
body.single-trainings .trng_nutzen,
body.single-trainings .trng_inhalte,
body.single-trainings .trng_zielgruppe,
body.single-trainings .trng_methoden,
body.single-trainings .trng_format_dauer {
    padding-top: 1.1em;
}

body.single-trainings .trng_kurzbeschreibung p,
body.single-trainings .trng_nutzen p,
body.single-trainings .trng_inhalte p,
body.single-trainings .trng_zielgruppe p,
body.single-trainings .trng_methoden p,
body.single-trainings .trng_format_dauer p {
    line-height: 1.7em;
}

body.single-trainings .trng_p {
    line-height: 1.55em;
}

body.single-trainings .trng_p p {
    padding-bottom: 1.1em;
}
