/* One shared content grid for the DM footer and its copyright row. */
body.theme-doncenmotor .page-footer {
    background: #0078D2;
    border: 0;
    color: rgba(255, 255, 255, .85);
    padding: 0;
}

.dm-footer__inner {
    align-items: start;
    box-sizing: border-box;
    display: grid;
    gap: 38px 48px;
    grid-template-columns: minmax(0, 370fr) minmax(0, 150fr) minmax(0, 180fr) minmax(0, 196fr);
    margin-inline: auto;
    max-width: 1040px;
    padding-top: 68px;
    width: calc(100% - 64px);
}

.dm-footer a,
.dm-footer a:visited {
    color: inherit;
    text-decoration: none;
}

.dm-footer a:hover,
.dm-footer a:focus-visible {
    color: #fff;
    text-decoration: underline;
}

.dm-footer__logo {
    display: inline-block;
    width: 168px;
}

.dm-footer__logo img {
    display: block;
    filter: brightness(0) invert(1);
    height: auto;
    width: 100%;
}

.dm-footer__brand p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    margin-block-start: 10px;
    max-width: 340px;
}

.dm-footer__group ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dm-footer__group li {
    margin: 0;
}

.dm-footer__group ul,
.dm-footer__contact address {
    display: grid;
    font-size: 14px;
    gap: 7px;
    line-height: 1.4;
}

.dm-footer__contact address {
    font-style: normal;
}

.dm-footer__contact strong {
    color: #fff;
    font-weight: 700;
    margin-top: 2px;
}

.dm-footer__contact strong:not(:first-child) {
    margin-top: 4px;
}

.dm-footer__contact address a {
    text-underline-offset: 3px;
}

.dm-footer__social {
    align-items: center;
    color: #fff;
    display: flex;
    gap: 16px;
    margin-block-start: 20px;
}

.dm-footer__social a {
    display: block;
    height: 24px;
    width: 24px;
}

.dm-footer__social a:hover,
.dm-footer__social a:focus-visible {
    color: rgba(255, 255, 255, .75);
}

.dm-footer__social svg {
    display: block;
    fill: currentColor;
    height: 100%;
    width: 100%;
}

.dm-footer__bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, .6);
    box-sizing: border-box;
    color: #fff;
    display: flex;
    gap: 24px;
    grid-column: 1 / -1;
    justify-content: space-between;
    min-height: 80px;
    padding-block: 24px;
}

.dm-footer__bottom small,
.dm-footer__legal {
    font-size: clamp(12px, .95vw, 14px);
    line-height: 1.4;
}

.dm-footer__legal {
    display: flex;
    gap: 18px;
}

.dm-footer__group > summary {
    cursor: default;
    list-style: none;
}

.dm-footer__group > summary::-webkit-details-marker {
    display: none;
}

@media (min-width: 768px) {
    .dm-footer__group > summary {
        pointer-events: none;
    }

    .dm-footer__group > summary h4 {
        margin: 0;
        margin-block-end: 20px;
    }
}

@media (max-width: 1023px) {
    .dm-footer__inner {
        gap: 46px 56px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding-top: 54px;
        width: calc(100% - 48px);
    }

    .dm-footer__brand {
        grid-column: 1 / -1;
    }

    .dm-footer__brand p {
        max-width: 620px;
    }

    .dm-footer__bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        justify-content: center;
        min-height: 94px;
        padding-block: 18px;
    }
}

@media (max-width: 767px) {
    .dm-footer__inner {
        display: block;
        padding-top: 40px;
    }

    .dm-footer__brand {
        margin-bottom: 28px;
    }

    .dm-footer__brand p {
        max-width: none;
    }

    .dm-footer__group {
        border-top: 1px solid rgba(255, 255, 255, .35);
    }

    .dm-footer__group > summary {
        align-items: center;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        padding-block: 18px;
    }

    .dm-footer__group > summary h4 {
        margin: 0;
    }

    .dm-footer__group > summary::after {
        border-bottom: 2px solid currentColor;
        border-right: 2px solid currentColor;
        content: "";
        height: 8px;
        margin-right: 3px;
        transform: rotate(45deg) translate(-2px, 2px);
        transition: transform .2s ease;
        width: 8px;
    }

    .dm-footer__group[open] > summary::after {
        transform: rotate(225deg) translate(-2px, 2px);
    }

    .dm-footer__group > nav,
    .dm-footer__group > address {
        padding-bottom: 22px;
    }

    .dm-footer__bottom {
        min-height: 0;
        padding-block: 22px 24px;
    }

    .dm-footer__legal {
        flex-direction: column;
        gap: 6px;
    }
}
