/* ===================
    MOBILE VERSION
===================== */

.articles {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    line-height: 2.5rem;
}

.articles .bold {
    font-weight: 600;
}

.articles h2 {
    margin-left: 0;
    margin-right: auto;
    line-height: 3.5rem;
}

.articles > img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin: 1.5rem 0;
}

.articles > div {
    width: 100%;
}

.articles > p:first-of-type,
.articles > div:first-of-type,
.articles > div,
.articles > dl {
    background-color: #F8F8F8;
    border-radius: 6px;
    border: 1px solid #e9e9e9;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 1.5rem 2rem;
    margin-top: 1.5rem;
    box-sizing: border-box;
}

.articles div ul {
    padding: 1rem 1.5rem;
    list-style-type: disc;
    list-style-position: inside;
}

.articles > div:last-of-type > p:last-of-type,
.articles > div:last-of-type > p:nth-of-type(3) {
    text-align: right;
}

.articles .image-batiment {
    width: 70%;
}

.articles div p:not(:last-of-type) {
    margin-bottom: 1.5rem;
}

.articles > div > .exception {
    text-align: left !important;
}

.articles > .pdf > a > img {
    width: 100%;
    border-radius: 6px;
}

.articles > .pdf img {
    width: 80%;
    border-radius: 6px;
}

.articles > .pdf > a {
    width: 50%;
}

.articles dt {
    font-size: 13px;
    color: gray;
    font-weight: 500;
    margin-top: .5rem;
}

.articles dd {
    font-size: 1.4rem;
}

/* ===================
    DESKTOP VERSION
===================== */
@media (min-width: 1024px) {
    .articles {
        width: 60vw;
    }

    .articles > .pdf {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .articles > .pdf:last-of-type {
        flex-direction: column;
    }

    .articles > .pdf > .text-right {
        width: 40%;
    }

    .articles > .pdf > .text-right-timisoara {
        width: 50%;
    }

    .articles > .pdf > p {
        width: 50%;
    }

    .articles > .pdf img {
        width: 40%;
    }

    .articles > .methodologie {
        display: grid;
        grid-template-columns: repeat(2, auto);
        grid-template-rows: repeat(4, auto);
        row-gap: .5rem;
        column-gap: 1rem;
    }

    .articles > .methodologie h4 {
        grid-column: 1/3;
        grid-row: 1/2;
    }

    .articles > .methodologie img {
        grid-column: 1/2;
        grid-row: 2/3;
        width: 90%;
    }

    .articles > .methodologie > div {
        grid-column: 2/3;
        grid-row: 2/3;
    }

    .articles > .methodologie > p {
        width: 100%;
    }

    .articles > .methodologie > p:first-of-type {
        grid-column: 1/3;
        grid-row: 3/4;
    }

    .articles > .methodologie > p:last-of-type {
        grid-column: 1/3;
        grid-row: 4/5;
    }
}