#footer {
    padding-bottom: 0rem;
}

.doe-logo-footer img {
    max-width: 202px;
    padding-left: 1rem;
}

.subfooter .col-md-4 {
    max-width: 100%;
    width: 100%;
}

.subfooter .copyright-text {
    margin-bottom: 0;
}

@media (max-width: 47.94rem) {
    .footer .layout--fourcol-25-25-25-25 > .layout-inner-container {
        gap: 0 2rem;
    }

    .footer .layout-block-padding-medium.layout[class*=fourcol] .layout__region--quarters {
        width: 47%;
        margin: 0;
    }

    .footer .text-align-right {
        text-align: left;
    }
}

@media (max-width: 35.94rem) {
    .footer .layout-block-padding-medium.layout[class*=fourcol] .layout__region--quarters {
        width: 100%;
    }
    
    .doe-logo-footer {
        order: 1;
    }

    .subfooter .copyright {
        order: 2;
        margin-bottom: 0.5rem;
        margin-left: 0.25rem;
    }

    .subfooter .row .col-md-4:nth-child(2) {
        order: 3;
    }

    .subfooter .row .col-md-4:nth-child(3) {
        order: 4;
        padding-bottom: 1rem;
    }
}

@media (min-width: 36rem) {
   .subfooter .row {
        display: grid;
        grid-template-areas:
        "doe princeton"
        "accessibility ."
        "copyright .";
    }

    .doe-logo-footer {
        grid-area: doe;
    }

    .subfooter .row .col-md-4:nth-child(2) {
        grid-area: accessibility;
    }

    .subfooter .row .col-md-4:nth-child(3) {
        grid-area: copyright;
    }

    .subfooter .copyright {
        grid-area: princeton;
    }
}

@media (min-width: 48rem) {
    .subfooter .row {
        display: grid;
        grid-template-areas:
        "subfooter-left subfooter-middle-top subfooter-right"
        "subfooter-left subfooter-middle-bottom subfooter-right";
    }

    .doe-logo-footer {
        grid-area: subfooter-left;
        grid-row: span 2;
    }

    .subfooter .row .col-md-4:nth-child(2) {
        text-align: center;
        grid-area: subfooter-middle-bottom;
    }

    .subfooter .row .col-md-4:nth-child(3) {
        grid-area: subfooter-middle-top;
    }

    .subfooter .copyright {
        grid-area: subfooter-right;
        grid-row: span 2;
    }
}