/* v1.7.4 — editable WordPress widget-only footer. No theme-added logos,
   marketing copy, seller CTA, fabricated menus, or payment banners. */
body #page .cms-shared-footer {background:#fff!important;border:0!important;}
body #page .cms-modern-footer.cms-footer-widget-only {
  color:#26354e;background:#fff!important;border-top:1px solid #e8edf4;
  font-size:14px;line-height:1.75;
}
body #page .cms-modern-footer.cms-footer-widget-only * {box-sizing:border-box;}
body #page .cms-modern-footer.cms-footer-widget-only .cms-footer-main {
  max-width:1360px;margin:0 auto;padding:48px 24px 54px!important;
}
body #page .cms-modern-footer .cms-footer-widget-grid {
  display:grid;grid-template-columns:repeat(var(--cms-footer-columns,4),minmax(0,1fr));
  gap:24px 30px;align-items:start;
}
body #page .cms-modern-footer .cms-footer-widget-col {
  min-width:0;margin:0;padding:0;border:0;box-shadow:none;background:transparent;
}
body #page .cms-modern-footer .cms-footer-widget-col .widget,
body #page .cms-modern-footer .cms-footer-widget-col .widget_block {
  margin:0 0 20px!important;padding:0!important;background:transparent!important;
  box-shadow:none!important;border:0!important;
}
body #page .cms-modern-footer .cms-footer-widget-col :is(h2,h3,h4,.widget-title,.widgettitle) {
  color:#19243b!important;font-size:15px!important;line-height:1.4!important;
  font-weight:800!important;letter-spacing:0!important;text-transform:none!important;
  margin:0 0 18px!important;padding:0 0 13px!important;
  position:relative;border:0!important;background:none!important;
}
body #page .cms-modern-footer .cms-footer-widget-col :is(h2,h3,h4,.widget-title,.widgettitle)::after {
  content:"";position:absolute;left:0;bottom:0;height:3px;width:32px;
  border-radius:99px;background:#e52332;
}
body #page .cms-modern-footer .cms-footer-widget-col :is(ul,.wp-block-navigation__container) {
  list-style:none!important;margin:0!important;padding:0!important;
}
body #page .cms-modern-footer .cms-footer-widget-col li {
  list-style:none!important;margin:0!important;padding:0!important;
}
body #page .cms-modern-footer .cms-footer-widget-col a {
  display:inline-block;padding:7px 0!important;color:#617189!important;
  text-decoration:none!important;font-weight:550;font-size:13px;line-height:1.65;
  transition:color .18s ease,transform .18s ease;
}
body #page .cms-modern-footer .cms-footer-widget-col a:hover {
  color:#e52332!important;transform:translateX(4px);
}
body #page .cms-modern-footer .cms-footer-widget-col a:focus-visible {
  outline:2px solid #e52332;outline-offset:3px;border-radius:3px;
}
body #page .cms-modern-footer .cms-footer-widget-col p {
  font-size:13px;line-height:1.8;color:#617189!important;margin:0 0 12px!important;
}
/* A logo can still be inserted or removed from Appearance > Widgets. */
body #page .cms-modern-footer .cms-footer-widget-col img {
  max-width:100%;height:auto;object-fit:contain;
}
body #page .cms-modern-footer .cms-footer-widget-col :is(.wp-block-social-links,.social-icons) {
  display:flex;gap:12px;flex-wrap:wrap;margin-top:12px!important;
}
@media(max-width:900px) {
  body #page .cms-modern-footer .cms-footer-widget-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;}
}
@media(max-width:580px) {
  body #page .cms-modern-footer.cms-footer-widget-only .cms-footer-main {padding:35px 20px 40px!important;}
  body #page .cms-modern-footer .cms-footer-widget-grid {grid-template-columns:1fr;gap:27px;}
}
@media(prefers-reduced-motion:reduce) {
  body #page .cms-modern-footer .cms-footer-widget-col a {transition:none!important;}
}

/* v1.7.5 — align the four widget columns with the centered site content.
   Keep equal columns and avoid the excessive leftward start on wide screens. */
body #page .cms-modern-footer.cms-footer-widget-only .cms-footer-main {
  width:100%; max-width:1280px; margin-left:auto!important; margin-right:auto!important;
  padding:48px 40px 54px!important;
}
body #page .cms-modern-footer .cms-footer-widget-grid {
  grid-template-columns:repeat(var(--cms-footer-columns,4),minmax(0,1fr));
  gap:28px;
}
@media(max-width:900px) {
  body #page .cms-modern-footer .cms-footer-widget-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  body #page .cms-modern-footer.cms-footer-widget-only .cms-footer-main {padding:38px 28px!important;}
}
@media(max-width:580px) {
  body #page .cms-modern-footer .cms-footer-widget-grid {grid-template-columns:1fr;}
  body #page .cms-modern-footer.cms-footer-widget-only .cms-footer-main {padding:34px 20px!important;}
}


/* v1.7.6 — four columns distributed farther toward the right, no content changes. */
@media (min-width: 1101px) {
  body #page .cms-modern-footer.cms-footer-widget-only .cms-footer-main {
    max-width: 1360px!important;
    padding: 48px 28px 54px clamp(64px, 6.5vw, 112px)!important;
  }
  body #page .cms-modern-footer .cms-footer-widget-grid {
    grid-template-columns: repeat(var(--cms-footer-columns,4), minmax(0, 1fr));
    column-gap: clamp(28px, 3vw, 55px);
    row-gap: 30px;
  }
}

/* v1.7.8 — shift the actual widget columns 25px right on desktop.
   A left margin (rather than translate) prevents horizontal overflow. */
@media (min-width:1101px) {
  body #page .cms-modern-footer.cms-footer-widget-only .cms-footer-widget-grid {
    margin-left:25px!important;
  }
}
