.site-footer {
  position: relative;
  padding: 54px 24px 0;
  overflow: hidden;
  border-top: 3px solid #ff6a13;
  background: #111315;
  color: #fff;
}

.site-footer,
.site-footer * {
  box-sizing: border-box;
  letter-spacing: 0;
}

.site-footer__inner {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(400px, 0.95fr) minmax(700px, 2.05fr);
  gap: 52px;
  align-items: start;
}

.site-footer__brand {
  max-width: none;
  container-type: inline-size;
}

.site-footer__logo {
  display: block;
  width: 176px;
  text-decoration: none;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.96;
}

.site-footer__positioning {
  margin: 25px 0 0;
  color: #fff;
  font-size: 18px;
  font-size: clamp(15px, 4.3cqw, 20px);
  line-height: 1.45;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer__description {
  max-width: none;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.75;
  white-space: nowrap;
}

.site-footer__mobile-break {
  display: none;
}

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding-top: 65px;
}

.site-footer__group {
  min-width: 0;
  padding: 0 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.11);
}

.site-footer__group:first-child {
  padding-left: 0;
  border-left: 0;
}

.site-footer__group:last-child {
  padding-right: 0;
}

.site-footer__group-title {
  display: block;
  margin-bottom: 15px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 800;
}

.site-footer__group a {
  display: inline-flex;
  align-items: center;
  width: auto;
  margin: 0 18px 11px 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 14px;
  line-height: 1.45;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer__group a:hover,
.site-footer__group a:focus-visible {
  color: #ff7a24;
  transform: translateX(2px);
}

.site-footer__bottom {
  width: min(100%, 1400px);
  min-height: 64px;
  margin: 46px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.5;
}

.site-footer__bottom strong {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.site-footer__icp {
  width: min(100%, 1400px);
  margin: 0 auto;
  padding-bottom: 20px;
  text-align: center;
  color: #fff;
  font-size: 0.9rem;
}

.site-footer__icp a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__icp a:hover {
  color: #ff7a24;
}

@media (max-width: 1240px) {
  .site-footer {
    padding-top: 44px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .site-footer__brand {
    max-width: 620px;
  }

  .site-footer__nav {
    padding-top: 0;
  }

  .site-footer__group {
    padding-right: 28px;
    padding-left: 28px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 38px 20px 0;
  }

  .site-footer__logo {
    width: 154px;
  }

  .site-footer__positioning {
    margin-top: 20px;
    font-size: 18px;
    white-space: normal;
  }

  .site-footer__description {
    font-size: 13px;
    white-space: normal;
  }

  .site-footer__mobile-break {
    display: block;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer__group,
  .site-footer__group:first-child,
  .site-footer__group:last-child {
    padding: 25px 0 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    border-left: 0;
  }

  .site-footer__group:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .site-footer__bottom {
    min-height: 76px;
    margin-top: 38px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer__group a {
    transition: none;
  }
}

/* Shared floating actions: aligned with the Police Gospel page */
.site-floating-actions {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 9000;
  display: grid;
  gap: 12px;
  pointer-events: none;
}

.site-floating-actions a,
.site-floating-actions button {
  position: relative;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(17, 19, 21, 0.11);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #ff6b16;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 15px 28px -20px rgba(17, 19, 21, 0.56);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.site-floating-actions button {
  appearance: none;
  font: inherit;
}

.site-float-top {
  color: #ff6b16 !important;
}

.site-float-top::before,
.site-float-top::after {
  content: none !important;
  display: none !important;
}

.site-float-top-mark {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  color: #ff6b16;
  transform: none;
}

.site-float-top-mark span {
  display: block;
  color: #ff6b16;
  font-size: 21px;
  line-height: 0.78;
}

.site-float-top-mark i {
  width: 11px;
  height: 2px;
  display: block;
  flex: 0 0 2px;
  border-radius: 1px;
  background: #ff6b16;
}

.site-float-home-mark {
  width: 22px;
  height: 22px;
  display: block;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b16' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15%2021v-8a1%201%200%200%200-1-1h-4a1%201%200%200%200-1%201v8'/%3E%3Cpath d='M3%2010a2%202%200%200%201%20.709-1.528l7-6a2%202%200%200%201%202.582%200l7%206A2%202%200%200%201%2021%2010v9a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  font-size: 0;
  line-height: 0;
  transform: none;
}

.site-float-back-icon {
  width: 22px;
  height: 22px;
  display: block;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath d='M970.112 906.304s-9.473 24.385-22.08 0c0 0-140.929-425.344-484.48-318.208v132.032s-5.504 77.632-73.216 27.072L52.544 455.616s-71.616-38.976 4.352-92.288L398.272 70.016s51.327-36.608 63.68 23.424l0.384 142.464c0.064 0.064 640.32 30.72 507.776 670.4z' fill='%23ff6b16'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.site-floating-actions [data-float-tip]::after {
  display: none !important;
}

@media (hover: hover) {
  .site-floating-actions a:hover,
  .site-floating-actions a:focus-visible,
  .site-floating-actions button:hover,
  .site-floating-actions button:focus-visible {
    border-color: rgba(255, 107, 22, 0.30);
    transform: translateY(-2px);
    box-shadow: 0 18px 32px -20px rgba(17, 19, 21, 0.62);
  }

}

@media (max-width: 640px) {
  .site-floating-actions {
    right: 14px;
    bottom: 18px;
    gap: 10px;
  }

  .site-floating-actions a,
  .site-floating-actions button {
    width: 42px;
    height: 42px;
  }

  .site-float-top-mark span {
    font-size: 20px;
  }

  .site-float-home-mark {
    width: 20px;
    height: 20px;
  }

  .site-float-top-mark i {
    width: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-floating-actions a,
  .site-floating-actions button {
    transition: none;
  }
}

@media (max-width: 900px) {
    nav {
        display: none !important;
    }
}