.hhb-footer-container {
    box-sizing: border-box;
    width: min(1440px, calc(100% - 208px));
    margin: 0 auto;
}

.hhb-footer-benefits {
    padding: 44px 0 30px;
    background: var(--hhb-page-bg, #fff9e8);
}

.hhb-footer-benefits ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    list-style: none;
}

.hhb-footer-benefits li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    color: #505868;
    font-size: 16px;
    line-height: 24px;
}

.hhb-footer-benefits img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.hhb-footer {
    padding: 36px 0 28px;
    background: #fff0be;
    border-top: 1px solid #efdfab;
    color: #82745a;
    font: 14px/1.6 Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.hhb-footer a {
    color: #77674d;
    text-decoration: none;
    transition: color .18s ease;
}

.hhb-footer > .hhb-footer-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 392px;
    gap: 24px 32px;
}

.hhb-footer-main {
    grid-column: 1;
    grid-row: 1;
}

.hhb-footer a:hover {
    color: #a2680e;
}

.hhb-footer a:focus-visible {
    outline: 2px solid #dca32c;
    outline-offset: 5px;
}

.hhb-footer-brand > a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #49391c;
}

.hhb-footer-brand img {
    width: 42px;
    height: 50px;
    object-fit: contain;
}

.hhb-footer-brand span {
    font-size: 30px;
    font-weight: 600;
    line-height: 42px;
}

.hhb-footer-links {
    margin-top: 32px;
}

.hhb-footer-links nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;
}

.hhb-footer-links a {
    white-space: nowrap;
    font-size: 14px;
}

.hhb-footer-bottom {
    display: contents;
}

.hhb-footer-legal {
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    min-height: 44px;
    min-width: 0;
    font-size: 12px;
    line-height: 24px;
}

.hhb-footer-records {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 24px;
}

.hhb-footer-records a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hhb-footer-records img {
    width: 16px;
    height: 18px;
    object-fit: contain;
}

.hhb-footer-certifications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-column: 2;
    grid-row: 1 / 3;
    align-self: end;
    align-items: center;
    gap: 16px;
}

.hhb-footer-certifications a {
    display: flex;
    overflow: hidden;
    border-radius: 4px;
}

.hhb-footer-certifications img {
    display: block;
    width: 120px;
    height: 44px;
    object-fit: contain;
    background: #fff;
}

@media (max-width: 1100px) {
    .hhb-footer > .hhb-footer-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .hhb-footer-certifications {
        grid-column: 1;
        grid-row: 3;
        width: 392px;
        max-width: 100%;
    }

    .hhb-footer-benefits li {
        font-size: 14px;
    }
}

@media (max-width: 700px) {
    .hhb-footer-container {
        width: calc(100% - 40px);
    }

    .hhb-footer-benefits ul {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .hhb-footer-benefits {
        padding: 28px 0;
    }

    .hhb-footer-certifications {
        width: 100%;
        gap: 12px;
    }

    .hhb-footer-certifications a {
        min-width: 0;
    }

    .hhb-footer-certifications img {
        width: 100%;
        height: auto;
        aspect-ratio: 30 / 11;
    }
}
