/* ---------- variable ---------- */
@import url("https://redtoucan-admin.azurewebsites.net/media/uvdovbjb/variable.css");

/* ---------- mobile ---------- */
.mapping-section-wrapper .mapping-section-header {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    color: var(--color-green);
}

.mapping-section-wrapper .mapping-section-container {
    max-width: var(--section-container-width);
    margin: 0 auto;
}

.mapping-section-wrapper  .mapping-section-container .mapping-section-header svg {
    width: 6.25rem;
    height: auto;
    margin: 0 auto 1rem auto;
}

.mapping-section-wrapper .mapping-section-container article {
    padding: 0 2rem 2rem;
}

.mapping-section-wrapper .mapping-section-container article .article-body p:not(:last-of-type) {
    margin-bottom: 1rem;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group {
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation h3 {
    color: var(--color-green);
    margin-bottom: 1rem;
    margin-left: 2rem;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group a {
    font-size: 1rem;
    display: flex;
    align-items: center;
    padding: 1rem;
    color: var(--color-green);
    font-weight: bold;
    border: 2px solid var(--color-green);
    background: var(--color-white);
    text-decoration: none;
    border-radius: .5rem;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group a:not(:last-of-type) {
    margin-bottom: 1rem;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group a span {
    margin-right: 1rem;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group a i {
    height: 1rem;
    display: flex;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation .modal-videos-group {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 0 2rem 4rem 2rem;
    gap: 1rem;
}

.mapping-section-wrapper .mapping-section-container .mapping-documentation .modal-videos-group button {
    padding: 1rem;
    color: var(--color-green);
    font-weight: bold;
    border: 2px solid var(--color-green);
    background: var(--color-white);
    text-align: left;
    font-size: 1rem;
    border-radius: .5rem;
}

/* ---------- tablet ---------- */
@media screen and (min-width: 48rem) {
    .mapping-section-wrapper .mapping-section-container .mapping-section-header {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        margin-bottom: 1rem;
    }

    .mapping-section-wrapper .mapping-section-container .mapping-section-header svg {
        width: 8rem;
        margin-right: 1rem;
        margin-bottom: 0;
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .mapping-section-wrapper .mapping-section-container article {
        display: flex;
        flex-direction: row-reverse;
        gap: 1rem;
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group a {
        width: calc(50% - .5rem);
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group a:not(:last-of-type) {
        margin-bottom: 0;
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .modal-videos-group {
        flex-direction: row;
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .modal-videos-group button {
        width: calc(50% - .5rem);
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .modal-videos-group button:not(:last-of-type){
        margin-bottom: 0;
    }
}

/* ---------- laptop ---------- */
@media screen and (min-width: 62rem) {
    .mapping-section-wrapper .mapping-section-container .mapping-section-header {
        padding: 0;
    }

    .mapping-section-wrapper .mapping-section-container article {
        padding: 0;
        padding-top: 2rem;
    }

    .mapping-section-wrapper .mapping-section-container .pdf-external-ressources-group {
        padding: 0;
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation h3 {
        margin-left: 0;
        margin-top: 2rem;
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .pdf-external-ressources-group {
        padding: 0
    }

    .mapping-section-wrapper .mapping-section-container .mapping-documentation .modal-videos-group {
        padding: 0 0 4rem 0;
    }
}