/* =========================
   SPORTINA – FOOTER FTP
   ========================= */

footer.wp-block-template-part {
  display: none !important;
}

.sp2f-custom {
  color: #eef4ff;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(3, 9, 18, 0.92) 0%, rgba(3, 9, 18, 0.98) 100%);
}

.sp2f-custom,
.sp2f-custom * {
  box-sizing: border-box;
}

.sp2f-custom a {
  color: inherit;
  text-decoration: none;
}

.sp2f {
  width: min(1880px, calc(100% - 72px));
  margin: 0 auto;
  padding: clamp(42px, 4vw, 70px) 0 22px;
}

.sp2f__top {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 140px);
  align-items: start;
}

.sp2f__brand {
  min-width: 0;
}

.sp2f__brand-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.sp2f__brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  height: auto;
}

.sp2f__title {
  margin: 0 0 10px;
  font-size: clamp(1.18rem, 1.04rem + 0.4vw, 1.55rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #f7f9ff;
}

.sp2f__tagline {
  margin: 0;
  max-width: 32ch;
  color: rgba(238, 244, 255, 0.72);
  font-size: 1rem;
  line-height: 1.62;
}

.sp2f__grid {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(3, minmax(170px, 1fr));
  gap: 22px;
  align-items: start;
}

.sp2f__card {
  min-width: 0;
  padding: 24px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.sp2f__heading {
  margin: 0 0 16px;
  color: rgba(238, 244, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.sp2f__links li {
  margin: 0;
}

.sp2f__links a {
  display: block;
  padding: 11px 0;
  color: rgba(245, 248, 255, 0.84);
  font-size: 1rem;
  line-height: 1.42;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.sp2f__links li:last-child a {
  border-bottom: 0;
}

.sp2f__links a:hover,
.sp2f__links a:focus-visible,
.sp2f__brand-link:hover + .sp2f__title,
.sp2f__brand-link:focus-visible + .sp2f__title {
  color: #ffffff;
}

.sp2f__socials {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.sp2f__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #f7fbff;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.sp2f__social:hover,
.sp2f__social:focus-visible {
  transform: translateY(-1px);
  background: rgba(77, 163, 255, 0.18);
  border-color: rgba(77, 163, 255, 0.32);
}

.sp2f__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex: 0 0 18px;
}
.sp2f__bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sp2f__bottom p {
  margin: 0;
  color: rgba(238, 244, 255, 0.58);
  font-size: 0.9rem;
}

/* duże laptopy */
@media (max-width: 1500px) {
  .sp2f {
    width: min(100% - 48px, 1880px);
  }

  .sp2f__top {
    gap: 34px;
  }

  .sp2f__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

/* tablet */
@media (max-width: 1100px) {
  .sp2f__top {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .sp2f__grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

/* mobile */
@media (max-width: 700px) {
  .sp2f {
    width: min(100% - 24px, 1880px);
  }

  .sp2f__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .sp2f__card {
    padding: 20px 18px;
    border-radius: 22px;
  }

  .sp2f__brand-logo {
    max-width: 180px;
  }

  .sp2f__tagline {
    max-width: 100%;
    font-size: 0.95rem;
  }

  .sp2f__links a {
    font-size: 0.96rem;
    padding: 9px 0;
  }

.sp2f__socials {
  gap: 8px;
  flex-wrap: nowrap;
}

.sp2f__social {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}
}