/* xCpace Core v4.6.7 - responsive, admin-configurable public footer */
.xc-footer-builder{
  --xc-footer-max-width:1720px;
  --xc-footer-side-pad:24px;
  --xc-footer-column-gap:30px;
  --xc-footer-logo-width:190px;
  --xc-footer-link-cols:5;
  margin:0!important;
  padding:0!important;
  width:100%!important;
  box-sizing:border-box!important;
  border-top:1px solid var(--xc-border,#dfe9f7)!important;
  background:var(--xc-surface,#fff)!important;
  overflow:hidden!important;
}
.xc-footer-builder .xc-footer-frame{
  width:calc(100% - (var(--xc-footer-side-pad) * 2))!important;
  max-width:var(--xc-footer-max-width)!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}
.xc-footer-builder .xc-footer-grid{
  display:grid!important;
  grid-template-columns:minmax(180px,1.15fr) repeat(var(--xc-footer-link-cols),minmax(110px,.8fr)) minmax(250px,1.35fr)!important;
  gap:var(--xc-footer-column-gap)!important;
  align-items:start!important;
  padding-top:34px!important;
  padding-bottom:32px!important;
}
.xc-footer-builder.without-brand .xc-footer-grid{
  grid-template-columns:repeat(var(--xc-footer-link-cols),minmax(110px,1fr)) minmax(250px,1.35fr)!important;
}
.xc-footer-builder.without-newsletter .xc-footer-grid{
  grid-template-columns:minmax(180px,1.15fr) repeat(var(--xc-footer-link-cols),minmax(110px,1fr))!important;
}
.xc-footer-builder.without-brand.without-newsletter .xc-footer-grid{
  grid-template-columns:repeat(var(--xc-footer-link-cols),minmax(110px,1fr))!important;
}
.xc-footer-builder .xc-footer-brand,
.xc-footer-builder .xc-footer-link-column,
.xc-footer-builder .xc-footer-newsletter{min-width:0!important;margin:0!important;padding:0!important}
.xc-footer-builder .xc-footer-logo{display:inline-flex!important;width:var(--xc-footer-logo-width)!important;max-width:100%!important;height:auto!important;margin:0 0 14px!important;align-items:center!important}
.xc-footer-builder .xc-footer-logo img{display:block!important;width:100%!important;height:auto!important;max-height:72px!important;object-fit:contain!important;object-position:left center!important}
.xc-footer-builder .xc-footer-brand p,
.xc-footer-builder .xc-footer-newsletter p{margin:0 0 16px!important;color:var(--xc-muted,#687b9c)!important;font-size:13px!important;line-height:1.55!important}
.xc-footer-builder h3{margin:0 0 18px!important;color:var(--xc-text,#0d1b3e)!important;font-size:14px!important;line-height:1.25!important;font-weight:800!important}
.xc-footer-builder .xc-footer-link-column a{display:block!important;margin:0 0 13px!important;color:var(--xc-muted,#687b9c)!important;text-decoration:none!important;font-size:13px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
.xc-footer-builder .xc-footer-link-column a:hover{color:var(--xc-primary,#1266f6)!important;text-decoration:underline!important;text-underline-offset:3px!important}
.xc-footer-builder .xc-footer-socials{display:flex!important;flex-wrap:wrap!important;gap:9px!important;margin:0!important}
.xc-footer-builder .xc-footer-socials a{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;margin:0!important;border:1px solid var(--xc-border,#dfe9f7)!important;border-radius:50%!important;text-decoration:none!important;color:var(--xc-text,#0d1b3e)!important;font-size:12px!important;font-weight:800!important;background:var(--xc-surface,#fff)!important}
.xc-footer-builder .xc-footer-socials a:hover{border-color:var(--xc-primary,#1266f6)!important;color:var(--xc-primary,#1266f6)!important}
.xc-footer-builder .xc-footer-newsletter form{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;margin:0!important}
.xc-footer-builder .xc-footer-newsletter input{min-width:0!important;width:100%!important;height:44px!important;padding:0 13px!important;border:1px solid var(--xc-border,#dfe9f7)!important;border-radius:9px!important;background:var(--xc-surface,#fff)!important;color:var(--xc-text,#0d1b3e)!important;font:inherit!important;font-size:13px!important;box-sizing:border-box!important}
.xc-footer-builder .xc-footer-newsletter button{height:44px!important;padding:0 18px!important;border:0!important;border-radius:9px!important;background:var(--xc-primary,#1266f6)!important;color:#fff!important;font:inherit!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;cursor:pointer!important}
.xc-footer-builder .xc-footer-bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;min-height:64px!important;padding-top:14px!important;padding-bottom:14px!important;border-top:1px solid var(--xc-border,#dfe9f7)!important;color:var(--xc-muted,#687b9c)!important;font-size:12px!important;line-height:1.4!important}
.xc-footer-builder .xc-footer-bottom span:last-child{text-align:right!important}
@media(max-width:1350px){
  .xc-footer-builder .xc-footer-grid,
  .xc-footer-builder.without-brand .xc-footer-grid,
  .xc-footer-builder.without-newsletter .xc-footer-grid,
  .xc-footer-builder.without-brand.without-newsletter .xc-footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .xc-footer-builder .xc-footer-newsletter{grid-column:span 2}
}
@media(max-width:820px){
  .xc-footer-builder .xc-footer-frame{width:calc(100% - 32px)!important}
  .xc-footer-builder .xc-footer-grid,
  .xc-footer-builder.without-brand .xc-footer-grid,
  .xc-footer-builder.without-newsletter .xc-footer-grid,
  .xc-footer-builder.without-brand.without-newsletter .xc-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 20px!important;padding-top:28px!important;padding-bottom:28px!important}
  .xc-footer-builder .xc-footer-newsletter{grid-column:1/-1}
  .xc-footer-builder .xc-footer-bottom{align-items:flex-start!important;flex-direction:column!important;min-height:0!important;padding-block:18px!important}
  .xc-footer-builder .xc-footer-bottom span:last-child{text-align:left!important}
}
@media(max-width:520px){
  .xc-footer-builder .xc-footer-grid,
  .xc-footer-builder.without-brand .xc-footer-grid,
  .xc-footer-builder.without-newsletter .xc-footer-grid,
  .xc-footer-builder.without-brand.without-newsletter .xc-footer-grid{grid-template-columns:1fr!important}
  .xc-footer-builder .xc-footer-newsletter{grid-column:auto}
  .xc-footer-builder .xc-footer-newsletter form{grid-template-columns:1fr!important}
  .xc-footer-builder .xc-footer-newsletter button{width:100%!important}
}

/* xCpace Core v4.6.8 - shared public frame + one logo per theme. */
.xc-footer-builder.xc-footer-v468{
  --xc-footer-logo-width:var(--xc-footer-logo-light-width,190px);
}
html[data-theme="dark"] .xc-footer-builder.xc-footer-v468{--xc-footer-logo-width:var(--xc-footer-logo-dark-width,190px)}
.xc-footer-v468 .xc-footer-frame.xc-public-frame{
  width:min(calc(100% - (var(--xc-public-frame-side,20px) * 2)),var(--xc-public-frame-max,1720px))!important;
  max-width:var(--xc-public-frame-max,1720px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  box-sizing:border-box!important;
}
.xc-footer-v468 .xc-footer-logo{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  width:var(--xc-footer-logo-width)!important;
  max-width:100%!important;
  min-height:0!important;
  height:auto!important;
  margin:0 0 14px!important;
  overflow:hidden!important;
}
.xc-footer-v468 .xc-footer-logo img{
  position:static!important;
  inset:auto!important;
  display:none!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  max-height:76px!important;
  margin:0!important;
  object-fit:contain!important;
  object-position:left center!important;
}
html:not([data-theme="dark"]) .xc-footer-v468 .xc-footer-logo .footer-logo-light,
html[data-theme="light"] .xc-footer-v468 .xc-footer-logo .footer-logo-light{display:block!important}
html[data-theme="dark"] .xc-footer-v468 .xc-footer-logo .footer-logo-light{display:none!important}
html:not([data-theme="dark"]) .xc-footer-v468 .xc-footer-logo .footer-logo-dark,
html[data-theme="light"] .xc-footer-v468 .xc-footer-logo .footer-logo-dark{display:none!important}
html[data-theme="dark"] .xc-footer-v468 .xc-footer-logo .footer-logo-dark{display:block!important}
@media(max-width:820px){
  .xc-footer-v468 .xc-footer-frame.xc-public-frame{width:calc(100% - 24px)!important}
}
