.site-footer:has(.j2p-footer) {
  background: transparent !important;
  padding: 0 !important;
}

.j2p-footer {
  background: var(--j2p-footer-bg, #1b1222);
  color: #f7f3f8;
  font-size: 0.98rem;
  line-height: 1.5;
}

.j2p-footer__strip {
  height: 4px;
  background: linear-gradient(90deg, #ff8c3a, #ff5b8a, #c44bff, #3b82f6);
}

.j2p-footer__inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 32px;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.15fr 1fr;
  gap: 32px 28px;
}

.j2p-footer h2,
.j2p-footer h3 {
  margin: 0 0 12px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
}

.j2p-footer h2 {
  font-size: 1.45rem;
}

.j2p-footer h3 {
  font-size: 1.05rem;
}

.j2p-footer p {
  margin: 0 0 10px;
  color: #ddd4e2;
}

.j2p-footer a {
  color: #fff;
  text-decoration: none;
}

.j2p-footer a:hover,
.j2p-footer a:focus {
  color: var(--theme-color);
}

.j2p-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.j2p-footer__links li {
  margin: 0 0 8px;
}

.j2p-footer__base {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: #cbbfd2;
  font-size: 0.9rem;
}

@media (max-width: 800px) {
  .j2p-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .j2p-footer__inner,
  .j2p-footer__base {
    width: calc(100% - 32px);
  }

  .j2p-footer__inner {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }
}
