.hrl-footer-compact .hrl-footer-registration,.hrl-footer-compact .hrl-footer-bottom{max-width:1240px;margin:0 auto;display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:16px;overflow-x:auto;scrollbar-width:thin;line-height:1.8}
.hrl-footer-compact .hrl-footer-registration{padding:14px 0;border-bottom:1px solid #e1e5ea;font-size:10px}
.hrl-footer-compact .hrl-footer-bottom{padding:14px 0 0;font-size:10px;gap:12px}
.hrl-footer-compact .hrl-footer-registration>*,.hrl-footer-compact .hrl-footer-bottom>*{flex-shrink:0;white-space:nowrap}
.hrl-footer-compact .hrl-footer-registration>:first-child,.hrl-footer-compact .hrl-footer-bottom>:first-child{margin-left:auto}
.hrl-footer-compact .hrl-footer-registration>:last-child,.hrl-footer-compact .hrl-footer-bottom>:last-child{margin-right:auto}
.hrl-footer-compact .hrl-footer-iso{font-size:10px;font-weight:500}
.hrl-footer-compact .hrl-footer-bottom nav{flex-wrap:nowrap;gap:12px;font-size:10px}
.hrl-footer-compact .hrl-footer-credit{padding:0;font-size:10px}
.hrl-footer-compact .hrl-newsletter-content{position:fixed;right:20px;left:auto;bottom:30px;width:310px;max-width:calc(100vw - 40px);white-space:normal;text-align:left;box-sizing:border-box}
:root[data-theme="dark"] .hrl-footer-compact .hrl-footer-registration{border-color:#30435b}

/* Shared homepage and footer palette. */
:root {
    --hrl-home-surface: #fff;
    --hrl-home-ink: #102b49;
    --hrl-home-muted: #50667e;
    --hrl-home-rule: #254d7926;
    --hrl-home-accent: #006da6;
}

:root[data-theme="dark"] {
    --hrl-home-surface: #060d18;
    --hrl-home-ink: #f3f7ff;
    --hrl-home-muted: #a4b6cc;
    --hrl-home-rule: #a5c8ee26;
    --hrl-home-accent: #6ed8ff;
}

:root body .hrl-site-footer.hrl-footer-modern {
    background: var(--hrl-footer-surface);
    color: var(--hrl-home-ink);
    border-top: 1px solid var(--hrl-home-rule);
    padding: 52px 0 24px;
}

.hrl-footer-modern {
    --hrl-footer-surface: #eef5fb;
    --hrl-footer-menu: #fff;
}

:root[data-theme="dark"] .hrl-footer-modern {
    --hrl-footer-surface: #0a1728;
    --hrl-footer-menu: #112238;
}

.hrl-footer-columns {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 34px;
}

.hrl-footer-modern .hrl-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--hrl-home-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.hrl-footer-logo img {
    object-fit: contain;
}

.hrl-footer-logo small {
    display: block;
    margin-top: 4px;
    color: var(--hrl-home-muted);
    font-size: 9px;
    letter-spacing: .18em;
}

.hrl-footer-identity p {
    margin: 16px 0 0;
    max-width: 28ch;
    color: var(--hrl-home-muted);
    font-size: 13px;
    line-height: 1.7;
}

.hrl-footer-modern .hrl-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    align-self: stretch;
    padding: 16px;
    background: var(--hrl-footer-menu);
    border: 1px solid var(--hrl-home-rule);
    border-radius: 8px;
}

.hrl-footer-modern .hrl-footer-links h2 {
    margin: 0 0 8px;
    color: var(--hrl-home-accent);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hrl-footer-modern .hrl-footer-links a,
.hrl-footer-modern .hrl-footer-bottom a,
.hrl-footer-modern .hrl-newsletter summary {
    color: var(--hrl-home-ink);
    font-size: 13px;
    text-decoration: none;
}

.hrl-footer-modern a:hover,
.hrl-footer-modern .hrl-newsletter summary:hover {
    color: var(--hrl-home-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hrl-footer-socials {
    display: flex;
    gap: 8px;
}

.hrl-footer-modern .hrl-footer-socials a {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--hrl-home-rule);
    border-radius: 50%;
    font-size: 15px;
    line-height: 1;
    text-decoration: none;
}

.hrl-footer-modern .hrl-footer-registration {
    margin-top: 24px;
}

.hrl-footer-modern .hrl-footer-registration,
.hrl-footer-modern .hrl-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 18px;
    border-top: 1px solid var(--hrl-home-rule);
    padding: 13px 0;
    color: var(--hrl-home-muted);
    font-size: 11px;
}

.hrl-footer-modern .hrl-footer-bottom a {
    font-size: inherit;
}

.hrl-footer-modern .hrl-footer-bottom nav {
    display: flex;
    gap: 14px;
}

.hrl-footer-modern .hrl-footer-credit {
    padding: 0;
    color: inherit;
    font-size: inherit;
}

@media (max-width: 820px) {
    .hrl-footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 20px;
    }
}

@media (max-width: 540px) {
    :root body .hrl-site-footer.hrl-footer-modern {
        padding: 32px 0 16px;
    }

    .hrl-footer-identity {
        grid-column: 1 / -1;
    }

    .hrl-footer-modern .hrl-footer-registration,
    .hrl-footer-modern .hrl-footer-bottom {
        justify-content: flex-start;
    }
}
