/* Footer navigation moved out of the main header to keep primary journeys clear. */
.carry-main-footer-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 1.25rem 2rem;
}

.carry-main-footer-brand p {
    margin: .25rem 0 0;
}

.carry-main-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .65rem 1.15rem;
}

.carry-main-footer-links a,
.carry-main-footer-links .carry-main-footer-action {
    white-space: nowrap;
}

.carry-main-footer-links .carry-main-footer-action {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    cursor: pointer;
}

.carry-main-footer-copyright {
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .carry-main-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .carry-main-footer-links {
        order: 2;
    }

    .carry-main-footer-copyright {
        order: 3;
    }
}

/* Carry Food uses the same navy and gold frame above and below the page. */
.carry-main-footer.carry-main-footer--food {
    background: var(--food-navy-deep);
    color: #fff;
    border-top: 3px solid var(--food-yellow);
}

.carry-main-footer--food .carry-main-footer-brand strong,
.carry-main-footer--food .carry-main-footer-links a,
.carry-main-footer--food .carry-main-footer-action {
    color: #fff;
}

.carry-main-footer--food .carry-main-footer-brand p,
.carry-main-footer--food .carry-main-footer-copyright {
    color: #d5e0e8;
}

.carry-main-footer--food .carry-main-footer-links a:hover,
.carry-main-footer--food .carry-main-footer-links a:focus-visible,
.carry-main-footer--food .carry-main-footer-action:hover,
.carry-main-footer--food .carry-main-footer-action:focus-visible {
    color: var(--food-yellow);
}
