.home-seo-content { color: #eee9f7; background: #202122; font: 14px/1.5 system-ui, sans-serif; text-align: start; }
.home-seo-content * { box-sizing: border-box; }
.home-footer-inner { width: min(100% - 40px, 1200px); margin-inline: auto; padding-block: 18px 24px; border-top: 1px solid #5c5c5c; display: flex; align-items: start; justify-content: space-between; gap: 16px 32px; }
/* The standalone row supplies links until the main footer is rendered. */
body:has(.home-footer-nav) .home-footer-inner { display: none; }
.home-resource-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.home-seo-content a { color: inherit; text-decoration: none; text-underline-offset: .2em; }
.home-seo-content a:hover { text-decoration: underline; }
.home-seo-content :is(a, button):focus-visible, .home-footer-nav :is(a, button):focus-visible { outline: 2px solid #c9b8ff; outline-offset: 3px; }
.home-footer-nav, .unified-footer .home-footer-nav { display: flex; flex: 1; flex-wrap: wrap; align-items: center; gap: 14px 20px; width: 100%; color: #fff; font: 400 15px/1.1 'SF Pro Text', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.home-footer-nav a { color: inherit; text-decoration: none; }
.home-footer-nav .footer-cookie-settings { border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; font: inherit; text-align: start; }
.home-footer-settings { display: flex; flex: 1 0 max-content; max-width: 100%; justify-content: space-between; align-items: center; gap: 12px 20px; }
.home-language-trigger, .home-language-close { border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.home-language-trigger { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 0; text-align: start; }
.home-language-trigger::before { content: ''; width: 6px; height: 6px; margin-inline: 2px 5px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg) translateY(-2px); }
.home-footer-nav :is(a, .footer-cookie-settings, .home-language-trigger):hover { color: #bfa9ff; }
.home-language-trigger:hover { text-decoration: underline; text-underline-offset: .2em; }

/* Keep the same scrollbar space when the modal locks the background. */
html:has(.home-language-dialog) { scrollbar-gutter: stable; }
html:has(.home-language-dialog[open]) { overflow: hidden; }
.home-language-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #211f26;
  box-shadow: 0 16px 64px rgba(33, 31, 38, .22);
  overflow: hidden;
}
.home-language-dialog[open] { display: flex; flex-direction: column; }
.home-language-dialog::backdrop { background: rgba(33, 31, 38, .52); }
.home-language-heading { display: flex; flex: none; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 24px; border-bottom: 1px solid #ede6f7; }
.home-language-heading h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 750; }
.home-language-close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; font-size: 24px; line-height: 1; }
.home-language-close:hover { background: #f5f1fc; }
.home-language-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 8px; min-height: 0; padding: 12px 20px 20px; overflow: auto; overscroll-behavior: contain; }
.home-language-links a { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 10px; overflow-wrap: anywhere; }
.home-language-links a:hover { background: #f5f1fc; text-decoration: none; }
.home-language-links a[aria-current="page"] { background: #eee6ff; color: #5033a4; font-weight: 700; }
@media (max-width: 640px) {
  .home-footer-inner { flex-direction: column; }
  .home-language-heading { padding-inline: 16px; }
  .home-language-links { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 12px; }
}
