/* Footer adaptation of the approved gray canvas: logo separate from navigation,
 * no legacy group headings, divider and right-aligned verification badges.
 * Retain all eight navigation links plus privacy/contact/social/review utilities.
 * Three compact link columns preserve Blog/FAQ, absent from the two-column mock.
 */
footer.footer {
    font-family: Montserrat, sans-serif;
    line-height: 1.65;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 56px max(24px, calc((100vw - 1240px) / 2)) 40px;
    border-top: 0;
    background: #f7f7fb;
}
.footer .footer__links-block {
    display: grid;
    grid-template-columns: minmax(200px, 1.7fr) repeat(3, minmax(0, 1fr));
    gap: 16px 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding-bottom: 28px;
    border-bottom: 1px solid #d8dee7;
    align-items: start;
}
.footer .footer__links-item--logo { display: contents; }
.footer .footer__links-heading--logo {
    grid-column: 1;
    grid-row: 1 / span 3;
    align-self: start;
    justify-self: start;
    max-width: 200px;
    margin: 0;
    opacity: 1;
}
.footer .footer__link-logo { display: block; width: 200px; max-width: 100%; height: auto; margin: 0; }
.footer .footer__links-item--logo > .footer__item-link { grid-column: 2; }
.footer .footer__links-item--logo > .footer__item-link:nth-of-type(2) { grid-row: 1; }
.footer .footer__links-item--logo > .footer__item-link:nth-of-type(3) { grid-row: 2; }
.footer .footer__links-item--logo > .footer__item-link:nth-of-type(4) { grid-row: 3; }
.footer .footer__links-item:not(.footer__links-item--logo) {
    display: flex;
    flex-direction: column;
    gap: 16px;
    grid-row: 1 / span 3;
    min-width: 0;
    width: auto;
    margin: 0;
    order: initial;
}
.footer .footer__links-item--promote { grid-column: 3; }
.footer .footer__links-block > .footer__links-item:last-child { grid-column: 4; }
.footer .footer__links-item > p.footer__links-heading { display: none; }
.footer .footer__item-link {
    display: block;
    margin: 0;
    color: #24242c;
    font-size: 16px;
    line-height: 1.5;
    /* Native menu labels already carry the correct case for each language. */
    text-transform: none;
    overflow-wrap: anywhere;
}
.footer .footer__verified {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto 24px;
    padding-top: 24px;
    justify-content: flex-end;
}
/* Home's legacy badge order must not override the current native footer order. */
.footer .footer__verified img {
    width: 96px;
    height: 72px;
    object-fit: contain;
    order: 0;
    /* The source footer uses the original colours, including on Home where
     * the old in-page badge class otherwise applies a grayscale filter. */
    filter: none;
}
.footer .footer__other--shared {
    width: 100%;
    max-width: 1240px;
    margin: 24px auto 0;
}
.footer .footer__reviews { max-width: 1240px; margin: 24px auto 0; }
.footer :is(.footer__other-link, .footer__copyrights) { color: #62626c; }
.footer :is(.footer__item-link, .footer__other-link):hover { color: #ff8200; }
.footer :is(.footer__item-link, .footer__links-heading--logo):focus-visible {
    outline: 3px solid #ff8200;
    outline-offset: 3px;
}
@media (max-width: 989px) {
    .footer .footer__links-block { grid-template-columns: minmax(180px, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 16px 24px; }
    .footer .footer__item-link { font-size: 14px; }
}
@media (max-width: 759px) {
    footer.footer { padding: 40px 20px 32px; }
    .footer .footer__links-block { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
    .footer .footer__links-heading--logo { grid-column: 1 / -1; grid-row: 1; margin-bottom: 16px; }
    .footer .footer__links-item--logo > .footer__item-link { grid-column: 1; }
    .footer .footer__links-item--logo > .footer__item-link:nth-of-type(2) { grid-row: 2; }
    .footer .footer__links-item--logo > .footer__item-link:nth-of-type(3) { grid-row: 3; }
    .footer .footer__links-item--logo > .footer__item-link:nth-of-type(4) { grid-row: 4; }
    .footer .footer__links-item.footer__links-item--promote { grid-column: 2; grid-row: 2 / span 3; }
    .footer .footer__links-block > .footer__links-item:last-child { grid-column: 1 / -1; grid-row: 5; }
    .footer .footer__verified { justify-content: center; gap: 8px; }
    .footer .footer__verified img { width: 80px; height: 64px; }
}

/* Do not inherit article/FAQ paragraph spacing into the shared footer. */
.footer .footer__copyrights { margin: 0; }

