/* Huuguu Starter 0.3.36: compact footer. Separate from the complete footer. */
.huuguu-starter-site-footer.hsfs{background:var(--hsfs-background,#fff);color:var(--hsfs-text,#536176);border-top:1px solid var(--hsfs-border,#e4e8ef);padding:0}
.hsfs *{box-sizing:border-box}
.hsfs a{color:var(--hsfs-links,#102743);text-decoration:var(--hs-footer-decoration,none)}
.hsfs a:hover,.hsfs a:focus-visible{color:var(--hsfs-hover,#0046dc);text-decoration:var(--hs-footer-decoration-hover,none)}
.hsfs-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;gap:24px;padding:28px 0}
.hsfs-brand{min-width:0}
.hsfs-brand>a{display:inline-flex;align-items:center;max-width:100%;min-width:0}
.hsfs-logo{display:block;width:auto;max-width:min(100%,240px);height:auto;max-height:65px;object-fit:contain}
.hsfs-site-name{font-weight:750;font-size:22px;line-height:1.2;overflow-wrap:anywhere}
.hsfs-nav{min-width:0}
.hsfs-menu,.hsfs-legal{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px 22px;list-style:none;padding:0;margin:0}
.hsfs-menu li,.hsfs-legal li{margin:0;padding:0;list-style:none}
.hsfs-menu a{font-size:14px;font-weight:500;line-height:1.5}
.hsfs-social{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:13px}
.hsfs-social a{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:24px}
.hsfs-social .hsf-social-icon{display:block;width:18px;height:18px;fill:currentColor}
.hsfs .huuguu-starter-footer-widgets{margin:0;padding:20px 0 28px;gap:24px}
.hsfs-bottom{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 24px;border-top:1px solid var(--hsfs-border,#e4e8ef);padding:17px 0 22px;font-size:12px;line-height:1.6;color:var(--hsfs-text,#536176)}
.hsfs-legal{gap:8px 20px;justify-content:flex-end}
.hsfs-legal a{color:var(--hsfs-text,#536176)}
.hsfs .hsfs-legal a:hover,.hsfs .hsfs-legal a:focus-visible{color:var(--hsfs-hover,#0046dc)}
.hsfs .huuguu-starter-footer-credit{color:inherit}
/* Tablet: use the available preview width; keep identity and social on the
   first row, with the navigation genuinely centered on its own row. */
@media (min-width:701px) and (max-width:900px){
  .hsfs > .huuguu-starter-wrap{width:calc(100% - 40px);max-width:var(--huuguu-starter-wrap,1240px)}
  .hsfs-main{grid-template-columns:minmax(0,1fr) auto;column-gap:22px;row-gap:20px;padding:28px 0 24px}
  .hsfs-brand{grid-column:1;grid-row:1}
  .hsfs-logo{max-width:min(100%,220px)}
  .hsfs-social{grid-column:2;grid-row:1;justify-content:flex-end}
  .hsfs-nav{grid-column:1/-1;grid-row:2;min-width:0}
  /* On tablet, long menus wrap into centered rows instead of scrolling sideways. */
  .hsfs-nav{overflow-x:visible}
  .hsfs-menu{flex-wrap:wrap;width:100%;min-width:0;justify-content:center;gap:10px 24px}
  .hsfs-menu li{flex:0 1 auto;max-width:100%;white-space:normal}
  .hsfs-menu a{overflow-wrap:anywhere}
  .hsfs-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;align-items:center}
  .hsfs-bottom > nav{min-width:0}
  .hsfs-legal{justify-content:flex-end}
  .hsfs-bottom > .huuguu-starter-footer-credit{grid-column:1/-1;text-align:center}
}
/* Mobile: a centered, wrapping navigation, not a cramped desktop row.
   Keep the simple footer independent of the complete-footer breakpoints. */
@media (max-width:700px){
  .hsfs > .huuguu-starter-wrap{width:calc(100% - 32px);max-width:440px}
  .hsfs-main{display:flex;flex-direction:column;align-items:center;gap:18px;padding:28px 0 25px;text-align:center}
  .hsfs-brand,.hsfs-nav,.hsfs-social{width:100%;min-width:0;max-width:100%}
  .hsfs-brand>a{justify-content:center}
  .hsfs-logo{max-width:min(100%,220px);max-height:64px;margin-inline:auto}
  /* Short menus stay centered and horizontal; wrapping is allowed on narrow phones. */
  .hsfs-nav{overflow-x:visible}
  .hsfs-menu{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 18px;width:100%;min-width:0;max-width:100%;margin:0;padding:0}
  .hsfs-menu li{flex:0 1 auto;max-width:100%}
  .hsfs-menu a{display:inline-block;max-width:100%;overflow-wrap:anywhere}
  /* Six or more items, long labels or a crowded menu: a clean vertical list. */
  .hsfs-nav--stacked .hsfs-menu{flex-direction:column;align-items:center;gap:11px}
  .hsfs-nav--stacked .hsfs-menu li{width:100%;max-width:100%;text-align:center}
  .hsfs-nav--stacked .hsfs-menu a{white-space:normal;line-height:1.55}
  .hsfs-social{justify-content:center;gap:14px}
  .hsfs-bottom{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:18px 0 24px;text-align:center}
  .hsfs-bottom > span,.hsfs-bottom > nav{max-width:100%;min-width:0}
  .hsfs-legal{justify-content:center;gap:8px 16px;max-width:100%;padding:0;margin:0}
  .hsfs-legal li{max-width:100%}
  .hsfs-legal a{overflow-wrap:break-word}
  .hsfs .huuguu-starter-footer-widgets{grid-template-columns:1fr}
}
@media (max-width:360px){
  .hsfs-menu{column-gap:14px;row-gap:11px}
  .hsfs-legal{column-gap:12px}
}

/* Clear keyboard focus for the individual navigation links. */
@media (max-width:900px){
  .hsfs-menu a:focus-visible{outline:2px solid var(--hsfs-hover,#0046dc);outline-offset:3px;border-radius:3px}
}

/* 0.4.1.24: keep simple footer link colors isolated from global styles. */
footer.hsfs a:not(.button),footer.hsfs a:not(.button):visited{color:var(--hsfs-links,#102743)}
footer.hsfs a:not(.button):hover,footer.hsfs a:not(.button):focus-visible{color:var(--hsfs-hover,#0046dc)}
