/* Shared footer presentation. Content and destinations stay in their existing views.
   Scoped selectors also override older page-local footer rules. */
footer.site-footer {
    --footer-bg: #f5f8fc;
    --footer-surface: #fff;
    --footer-ink: #26384e;
    --footer-muted: #607086;
    --footer-line: #dfe7f1;
    --footer-blue: #0a4ea3;
    --footer-hover: #eaf1fa;
    box-sizing: border-box;
    width: 100%;
    margin: 40px 0 0;
    padding: 0;
    background: var(--footer-bg) !important;
    border: 0 !important;
    border-top: 1px solid var(--footer-line) !important;
    color: var(--footer-ink) !important;
    font-family: ui-sans-serif, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.65;
    text-align: start;
    color-scheme: light;
    isolation: isolate;
    z-index: 1;
}
footer.site-footer *, footer.site-footer *::before, footer.site-footer *::after { box-sizing: border-box; }
footer.site-footer .footer-wrap {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, .95fr) minmax(0, 1.5fr);
    align-items: start;
    gap: 48px;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 44px 32px 36px;
}
footer.site-footer .footer-col { min-width: 0; width: auto; max-width: none; margin: 0; text-align: start; }
footer.site-footer .brand-link { display: inline-flex; max-width: 100%; margin: 0; padding: 0; gap: 0; background: none; border: 0; color: var(--footer-ink) !important; box-shadow: none; }
footer.site-footer .brand-link .logo-img { display: block; width: 196px !important; max-width: 100%; height: auto !important; max-height: none; margin: 0; object-fit: contain; }
footer.site-footer .brand-meta:empty, footer.site-footer .footer-contact:empty { display: none; }
footer.site-footer .follow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
footer.site-footer .follow-label { margin: 0; font-size: 13px; font-weight: 500; color: var(--footer-muted); }
footer.site-footer .follow-icons { display: flex; flex-wrap: wrap; gap: 8px; }
footer.site-footer .icon-btn {
    display: inline-flex;
    position: relative;
    width: 40px;
    height: 40px;
    border: 1px solid var(--footer-line);
    border-radius: 10px;
    background: var(--footer-surface) !important;
    color: var(--footer-blue) !important;
    box-shadow: none;
    transition: background-color .15s ease, border-color .15s ease;
}
footer.site-footer .icon-btn::before { width: 17px; height: 17px; background: var(--footer-blue); mask-position: center; }
footer.site-footer .icon-btn.ig::before {
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3C/g%3E%3Ccircle cx='17.5' cy='6.5' r='1.2'/%3E%3C/svg%3E");
}
footer.site-footer .icon-btn:hover { transform: none; border-color: var(--footer-blue); background: var(--footer-hover) !important; box-shadow: none; }
footer.site-footer .footer-quick { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; max-width: 250px; margin: 24px 0 0; }
footer.site-footer .footer-quick .cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid var(--footer-blue);
    border-radius: 9px;
    background: transparent !important;
    color: var(--footer-blue) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    box-shadow: none;
    transform: none;
}
footer.site-footer .footer-quick .cta-primary { background: var(--footer-blue) !important; color: #fff !important; }
footer.site-footer .footer-quick .cta:hover { background: var(--footer-hover) !important; }
footer.site-footer .footer-quick .cta-primary:hover { background: #073f85 !important; }
footer.site-footer .footer-contact { margin: 16px 0 0; }
footer.site-footer .footer-nav { grid-column: auto; align-self: start; padding: 0; }
footer.site-footer .footer-nav .footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    justify-content: normal;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
footer.site-footer .footer-nav-grid li { min-width: 0; margin: 0; padding: 0; list-style: none; }
footer.site-footer .footer-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    margin: 0;
    padding: 8px 0;
    border: 0;
    background: none;
    color: var(--footer-ink) !important;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}
footer.site-footer .footer-nav a:hover { color: var(--footer-blue) !important; text-decoration: underline; text-underline-offset: 4px; }
/* Old global nav hover rules add a second, full-width gradient underline. */
footer.site-footer .footer-nav a::after { content: none !important; display: none !important; }
/* Explicitly replace the legacy mobile font-size and gold-rail padding overrides. */
footer.site-footer .about-card { position: static; padding: 0 !important; border: 0; background: none; box-shadow: none; font-size: 14px !important; line-height: 1.75 !important; }
footer.site-footer .about-card::before { content: none; }
footer.site-footer .about-card h3 { display: flex; gap: 8px; align-items: center; margin: 0 0 12px !important; color: var(--footer-ink); font-size: 15px !important; font-weight: 650; line-height: 1.5; }
footer.site-footer .about-icon { display: none; }
footer.site-footer .about-card p { margin: 0 0 18px !important; color: var(--footer-muted); font-size: 14px; line-height: 1.75; overflow-wrap: anywhere; }
footer.site-footer .about-card .about-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0 0 20px !important; padding: 0; list-style: none; }
footer.site-footer .about-card .about-list li { position: relative; margin: 0 !important; padding: 0; padding-inline-start: 13px; color: var(--footer-ink); font-size: 12px !important; line-height: 1.6 !important; overflow-wrap: anywhere; }
footer.site-footer .about-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .55em; width: 5px; height: 5px; border-radius: 2px; background: #d5a51b; }
footer.site-footer .about-signoff { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-top: 16px; border-top: 1px solid var(--footer-line); color: var(--footer-ink); font-size: 13px; font-weight: 600; }
footer.site-footer .about-signoff small { color: var(--footer-muted); font-size: 12px; font-weight: 400; }
footer.site-footer .footer-bar { margin: 0; padding: 0; border-top: 1px solid var(--footer-line); background: transparent; }
footer.site-footer .footer-bar .bar-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; width: 100%; max-width: 1240px; margin: 0 auto; padding: 16px 32px; color: var(--footer-muted); font-size: 12px; line-height: 1.6; }
footer.site-footer .bar-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px; }
footer.site-footer .bar-links a { display: inline-flex; align-items: center; min-height: 32px; color: var(--footer-muted) !important; text-decoration: none; }
footer.site-footer .bar-links a:hover { color: var(--footer-blue) !important; text-decoration: underline; text-underline-offset: 4px; }
footer.site-footer :is(a, button):focus-visible { outline: 2px solid var(--footer-blue); outline-offset: 4px; border-radius: 4px; }

html[data-theme="dark"] footer.site-footer {
    background: var(--footer-bg) !important;
    color: var(--footer-ink) !important;
    border: 0 !important;
    border-top: 1px solid var(--footer-line) !important;
}
html[data-theme="dark"] footer.site-footer .brand-link { color: var(--footer-ink) !important; }
html[data-theme="dark"] footer.site-footer .footer-nav a { color: var(--footer-ink) !important; }
html[data-theme="dark"] footer.site-footer .footer-nav a:hover { color: var(--footer-blue) !important; }
html[data-theme="dark"] footer.site-footer .footer-quick .cta { color: var(--footer-blue) !important; }
html[data-theme="dark"] footer.site-footer .icon-btn { background: var(--footer-surface) !important; color: var(--footer-blue) !important; }
html[data-theme="dark"] footer.site-footer .footer-quick .cta-primary { background: var(--footer-blue) !important; border-color: var(--footer-blue); color: #fff !important; }
html[data-theme="dark"] footer.site-footer .footer-quick .cta-primary:hover { background: #073f85 !important; }

@media (max-width: 1050px) {
    footer.site-footer .footer-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; padding: 36px 28px 28px; }
    footer.site-footer .about-card { grid-column: 1 / -1; padding-top: 24px !important; border-top: 1px solid var(--footer-line); }
    footer.site-footer .about-card p { max-width: 76ch; }
    footer.site-footer .about-card .about-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    footer.site-footer .footer-bar .bar-inner { padding-inline: 28px; }
}
@media (max-width: 600px) {
    footer.site-footer { margin-top: 28px; }
    footer.site-footer .footer-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px 20px; }
    footer.site-footer .brand-link .logo-img { width: 180px !important; }
    footer.site-footer .follow { margin-top: 18px; }
    footer.site-footer .icon-btn { width: 44px; height: 44px; }
    footer.site-footer .footer-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; margin-top: 18px; }
    footer.site-footer .footer-quick .cta { padding: 10px; font-size: 12px; }
    footer.site-footer .footer-nav { padding-top: 18px; border-top: 1px solid var(--footer-line); }
    footer.site-footer .footer-nav a { font-size: 14px; }
    footer.site-footer .about-card { grid-column: auto; padding-top: 24px !important; }
    footer.site-footer .about-card .about-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    footer.site-footer .footer-bar .bar-inner { flex-direction: column; align-items: flex-start; padding: 16px 20px 20px; }
    footer.site-footer .bar-links a { min-height: 44px; }
}
@media (max-width: 359px) {
    footer.site-footer .footer-quick { grid-template-columns: minmax(0, 1fr); }
    footer.site-footer .about-card .about-list { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    footer.site-footer .icon-btn { transition: none; }
}
