section.dpe-ges h4{
    font-weight: 400;
    font-size: 22px;
    line-height: 32px;
    text-transform: uppercase;
    color: var(--noir);
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bleu);
    text-align: left;
}

section.dpe-ges .energy-performance-wrapper,
section.dpe-ges .greenhouse-gas-diagnosis-wrapper {
    /*display: flex;*/
    /*grid-gap: 15px;*/
    margin-bottom: 16px;
    /*align-items: flex-start;*/
}

section.dpe-ges .energy-performance,
section.dpe-ges .greenhouse-gas-diagnosis {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

section.dpe-ges .energy-performance > div,
section.dpe-ges .greenhouse-gas-diagnosis > div {
    width: 100%;
    height: 0.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

section.dpe-ges .energy-performance > div:first-child,
section.dpe-ges .greenhouse-gas-diagnosis > div:first-child {
    border-bottom-left-radius: 0.25rem;
    border-top-left-radius: 0.25rem;
}

section.dpe-ges .energy-performance > div:last-child,
section.dpe-ges .greenhouse-gas-diagnosis > div:last-child {
    border-bottom-right-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

section.dpe-ges .energy-performance > div:not(:empty),
section.dpe-ges .greenhouse-gas-diagnosis > div:not(:empty) {
    height: 1.5rem;
    border-radius: 0.25rem;
}

section.dpe-ges .energy-performance .letter-a {
    background-color: #078748;
}
section.dpe-ges .energy-performance .letter-b {
    background-color: #60ad2e;
}
section.dpe-ges .energy-performance .letter-c {
    background-color: #cbda0f;
}
section.dpe-ges .energy-performance .letter-d {
    background-color: #f6ed02;
}
section.dpe-ges .energy-performance .letter-e {
    background-color: #eba902;
}
section.dpe-ges .energy-performance .letter-f {
    background-color: #e38102;
    color: #ffffff;
}
section.dpe-ges .energy-performance .letter-g {
    background-color: #d74202;
    color: #ffffff;
}

section.dpe-ges .greenhouse-gas-diagnosis .letter-a {
    background-color: #91d9f9;
}
section.dpe-ges .greenhouse-gas-diagnosis .letter-b {
    background-color: #80bcdd;
}
section.dpe-ges .greenhouse-gas-diagnosis .letter-c {
    background-color: #70a0c2;
}
section.dpe-ges .greenhouse-gas-diagnosis .letter-d {
    background-color: #587598;
    color: #ffffff;
}
section.dpe-ges .greenhouse-gas-diagnosis .letter-e {
    background-color: #47587c;
    color: #ffffff;
}
section.dpe-ges .greenhouse-gas-diagnosis .letter-f {
    background-color: #363b60;
    color: #ffffff;
}
section.dpe-ges .greenhouse-gas-diagnosis .letter-g {
    background-color: #1f1238;
    color: #ffffff;
}

section.dpe-ges #dpe-ges-details {
    display: none;
}

section.dpe-ges div.value-conso{
    flex-direction: column;
    grid-gap:0;
    margin-bottom: unset;
    align-items: center;
}

section.dpe-ges div.value-conso span{
    color: var(--dark, #727272);
    font-size: 6.841px;
    font-family: Lato;
    line-height: unset;
}

section.dpe-ges div.value-conso span:first-child{
    font-weight: 700;
}

section.dpe-ges > div figure{
    display: table;
    max-width: 210px;
}

section.dpe-ges > .graphique{
    display: none;
}

section.dpe-ges > .graphique figure img,
section.dpe-ges > div figure img{
    width: 100%;
    object-fit: cover;
}

section.dpe-ges div span{
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 11px;
    line-height: 15px;
    /*display: flex;*/
    /*align-items: center;*/
    color: var(--grisDark);
    /*max-width: 120px;*/
}

section.dpe-ges div span.value-consommation{
    color: #000;
}

section.dpe-ges div span.label-conso{
    max-width: unset;
    margin-bottom: 10Px;
}

section.dpe-ges p{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 15px;
    display: flex;
    align-items: center;
    text-decoration-line: underline;
    color: var(--bleuFonce);
    margin: 40px 0;
    cursor: pointer;
}

section.dpe-ges .graphique{
    grid-gap: 40px;
    flex-direction: column;
}

section.dpe-ges > .graphique figure{
    aspect-ratio: 0.91;
    max-width: 221px;
    display:block;
}

section.dpe-ges .row > div p {
    color: var(--grisDark);
    cursor: inherit;
    text-decoration: inherit;
    margin: 0;
    margin-bottom: 20px;
    font-weight: 600;
}

#modal-dpe-ges img {
    width: 100%;
}

#modal-dpe-ges .modal-wrapper .modal-title,
#modal-dpe-ges .modal-wrapper .modal-content {
    padding: 15px var(--gutter);
}

#modal-dpe-ges .modal-content p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    margin-bottom: var(--gutter-sm);
}
#modal-dpe-ges .modal-content > p:not(:first-child):before {
    content: '';
    display: block;
    border-top: 1px solid var(--grisclair);
    margin-top: 1em;
    margin-bottom: 1em;
}
#modal-dpe-ges .modal-content > img {
    margin-top: .6em;
    font-weight: 600;
}

@media screen and (min-width: 992px){

    section.dpe-ges div.value-conso span{
        font-size: 8.542px;
    }

    section.dpe-ges div span,
    section.dpe-ges p{
        font-size: 14px;
        line-height: 19px;
    }

    section.dpe-ges div span{
        /*max-width: 150px;*/
    }

    section.dpe-ges > div figure{
        aspect-ratio: 5;

    }

    section.dpe-ges div img{
        width: 100%;
    }

    section.dpe-ges .graphique{
        grid-gap: 200px;
        flex-direction: row;
    }

    section.dpe-ges .graphique figure{
        aspect-ratio: 0.97;
    }

    section.dpe-ges div.value-conso span{
        font-size: 8.54px;
    }
}

@media screen and (min-width: 1200px) {
    #modal-dpe-ges .modal-content,
    section.dpe-ges .row {
        display: flex;
        gap: var(--gutter);
    }

    #modal-dpe-ges .modal-content > div,
    section.dpe-ges .row > div {
        width: 50%;
    }
}
