/* Canonical shared PlanMyCrew footer. Mirrors the homepage footer. */
.home-footer,
.home-footer * {
    box-sizing: border-box;
}

.home-footer {
    padding: 48px 0 24px;
    background: #10244d;
    color: #ffffff;
    font-family: "DM Sans", ui-sans-serif, system-ui, sans-serif;
}

.home-footer .container-page {
    width: min(calc(100% - 32px), 1152px);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.home-footer-main {
    display: grid;
    grid-template-columns: minmax(250px, 1.45fr) minmax(0, 4fr);
    gap: clamp(40px, 5vw, 64px);
    padding-bottom: 38px;
}

.home-footer-logo {
    display: inline-flex;
}

.home-footer-logo img {
    display: block;
    width: 93px;
    height: auto;
}

.home-footer-brand > p {
    max-width: 320px;
    margin: 16px 0 0;
    color: rgb(255 255 255 / 0.64);
    font-size: 13.5px;
    line-height: 1.65;
}

.home-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-top: 17px;
}

.home-footer-contact a,
.home-footer-social a,
.home-footer-group a,
.home-footer-legal a {
    color: rgb(255 255 255 / 0.68) !important;
    text-decoration: none;
    transition: color 160ms ease;
}

.home-footer-contact a {
    font-size: 12.5px;
}

.home-footer-contact a:hover,
.home-footer-group a:hover,
.home-footer-legal a:hover {
    color: #ffffff !important;
}

.home-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 14px;
}

.home-footer-social a {
    font-size: 12px;
}

.home-footer-social a:hover {
    color: #f58b73 !important;
}

.home-footer-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.home-footer-apps a {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid rgb(255 255 255 / 0.14);
    border-radius: 6px;
}

.home-footer-apps img {
    display: block;
    width: auto;
    height: 26px;
}

.home-footer-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.home-footer-heading {
    margin-bottom: 14px;
    color: rgb(255 255 255 / 0.44);
    font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.home-footer-group ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-footer-group a {
    font-size: 13px;
    line-height: 1.45;
}

.home-footer-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding-top: 22px;
    border-top: 1px solid rgb(255 255 255 / 0.10);
    color: rgb(255 255 255 / 0.42);
    font-size: 11.5px;
    line-height: 1.5;
}

.home-footer-bottom > :last-child {
    justify-self: end;
    text-align: right;
}

.home-footer-legal {
    display: flex;
    gap: 16px;
}

.home-footer-legal a {
    font-size: 11.5px;
}

@media (min-width: 640px) {
    .home-footer .container-page {
        width: min(calc(100% - 48px), 1152px);
    }
}

@media (max-width: 1023px) {
    .home-footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .home-footer-brand > p {
        max-width: 560px;
    }
}

@media (max-width: 700px) {
    .home-footer-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 24px;
    }

    .home-footer-bottom {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .home-footer-bottom > :last-child {
        justify-self: start;
        text-align: left;
    }
}

@media (max-width: 600px) {
    .home-footer {
        padding: 40px 0 72px;
    }
}
