/* School Prayer — ESA / Love INC */
:root {
  --sp-navy: #122559;
  --sp-gold: #edae26;
  --sp-gold-bright: #f5c040;
  --sp-white: #ffffff;
  --sp-paper: #f7f6f2;
  --sp-ink: #1a1f36;
  --sp-muted: #5c6578;
  --sp-line: rgba(18, 37, 89, 0.12);
  --sp-on: #122559;
  --sp-radius: 18px;
  --sp-font: "Inter", "Open Sans", system-ui, sans-serif;
}

body.sp-active #content-wrap.container,
body.sp-active #content-wrap {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.sp-active #primary,
body.sp-active #content,
body.sp-active .single-page-article,
body.sp-active .entry,
body.sp-active .content-area {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

.sp {
  font-family: var(--sp-font);
  color: var(--sp-ink);
  font-size: 1.125rem;
  line-height: 1.6;
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(237, 174, 38, 0.28), transparent 50%),
    radial-gradient(ellipse 50% 40% at 0% 20%, rgba(237, 174, 38, 0.1), transparent 45%),
    var(--sp-white);
  padding-bottom: 3.5rem;
  overflow-x: hidden;
}

.sp *,
.sp *::before,
.sp *::after {
  box-sizing: border-box;
}

.sp a {
  color: var(--sp-navy);
}

.sp-wrap {
  width: min(100% - 1.5rem, 1120px);
  margin-inline: auto;
}

.sp-hero {
  padding: 2.6rem 0 2rem;
}

.sp-hero-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 860px) {
  .sp-hero-grid {
    grid-template-columns: 1.3fr 0.7fr;
    align-items: center;
    gap: 2.5rem;
  }
}

.sp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b8860b;
}

.sp-live {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #e23b3b;
  box-shadow: 0 0 0 0 rgba(226, 59, 59, 0.55);
  animation: sp-pulse 1.6s ease-out infinite;
  flex-shrink: 0;
}

@keyframes sp-pulse {
  0% { box-shadow: 0 0 0 0 rgba(226, 59, 59, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(226, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(226, 59, 59, 0); }
}

.sp-hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.4rem, 9vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  max-width: 12ch;
  color: var(--sp-navy);
}

.sp-hero h1 span {
  color: #c49212;
  background: linear-gradient(transparent 62%, rgba(237, 174, 38, 0.45) 62%);
}

.sp-hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--sp-muted);
  max-width: 44ch;
}

.sp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.sp-bus-link {
  display: block;
  max-width: 640px;
  justify-self: center;
}

.sp-bus {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(18, 37, 89, 0.22));
  transform: rotate(-1.5deg);
  transition: transform 0.2s ease;
}

.sp-bus-link:hover .sp-bus {
  transform: rotate(0deg) scale(1.03);
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 1.08rem;
  text-decoration: none !important;
  border: 1px solid transparent;
  min-height: 50px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.sp-btn:hover {
  transform: translateY(-2px);
}

.sp-btn-gold {
  background: var(--sp-gold);
  color: var(--sp-on) !important;
  box-shadow: 0 8px 0 #c49212, 0 14px 28px rgba(196, 146, 18, 0.28);
}

.sp-btn-gold:hover {
  background: var(--sp-gold-bright);
  color: var(--sp-on) !important;
}

.sp-btn-ghost {
  background: var(--sp-white);
  color: var(--sp-navy) !important;
  border-color: var(--sp-line);
}

.sp-path {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 2.4rem;
}

@media (min-width: 800px) {
  .sp-path {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
  }
}

.sp-step {
  display: block;
  background: var(--sp-white);
  border: 1px solid var(--sp-line);
  border-top: 6px solid var(--sp-gold);
  border-radius: var(--sp-radius);
  padding: 1.3rem 1.2rem 1.25rem;
  box-shadow: 0 10px 28px rgba(18, 37, 89, 0.07);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.sp-step:hover {
  border-color: var(--sp-gold);
  border-top-color: var(--sp-gold);
  color: inherit;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(18, 37, 89, 0.12);
}

.sp-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sp-gold);
  color: var(--sp-on);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.sp-step h2 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--sp-navy);
}

.sp-step p {
  margin: 0 0 0.85rem;
  color: var(--sp-muted);
  font-size: 1.28rem;
  line-height: 1.5;
}

.sp-step-go {
  font-size: 0.95rem;
  font-weight: 800;
  color: #b8860b;
}

.sp-section {
  padding: 0.15rem 0 2.1rem;
}

.sp-map-head {
  margin-bottom: 1rem;
}

.sp-section h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.85rem, 4.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--sp-navy);
}

.sp-section-lead {
  margin: 0 0 0.2rem;
  color: var(--sp-muted);
  max-width: 52ch;
  font-size: 1.12rem;
}

.sp-map-card {
  background: linear-gradient(180deg, rgba(237, 174, 38, 0.18), var(--sp-paper));
  border: 1px solid rgba(237, 174, 38, 0.35);
  border-radius: 22px;
  padding: 0.85rem 0.7rem 1rem;
  box-shadow: 0 18px 44px rgba(18, 37, 89, 0.1);
}

@media (min-width: 800px) {
  .sp-map-card {
    padding: 1.2rem;
  }
}

.sp-map-wrap {
  background: var(--sp-white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--sp-line);
  -webkit-overflow-scrolling: touch;
}

.sp-map {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 560px;
  height: 560px;
  border: 0;
  background: var(--sp-white);
}

.sp-invite {
  display: grid;
  gap: 1rem;
  background: var(--sp-navy);
  color: var(--sp-white);
  border-radius: 24px;
  padding: 1.6rem 1.35rem;
  box-shadow: 0 18px 40px rgba(18, 37, 89, 0.2);
}

.sp-invite .sp-kicker {
  color: var(--sp-gold);
}

.sp-invite h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  color: var(--sp-white);
}

.sp-invite p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
}

@media (min-width: 720px) {
  .sp-invite {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.9rem 1.8rem;
  }
}

.sp-invite-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sp-invite .sp-btn-ghost {
  background: transparent;
  color: var(--sp-white) !important;
  border-color: rgba(255, 255, 255, 0.28);
}

@media (max-width: 719px) {
  .sp-hero-actions,
  .sp-invite-actions {
    width: 100%;
  }

  .sp-hero-actions .sp-btn,
  .sp-invite-actions .sp-btn {
    width: 100%;
  }

  .sp-hero h1 {
    max-width: none;
  }

  .sp-bus {
    transform: none;
  }

  .sp-bus-link {
    order: -1;
    max-width: none;
    margin-bottom: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-live,
  .sp-btn,
  a.sp-step {
    animation: none;
    transition: none;
  }
}

body.sp-active .sp .sp-btn,
body.sp-active .sp a.sp-step {
  background-image: none;
  text-transform: none;
  letter-spacing: 0;
  height: auto;
}

body.sp-active .sp .sp-btn-gold,
body.sp-active .sp .sp-btn-gold:hover {
  background: var(--sp-gold);
  color: var(--sp-on);
  border-color: var(--sp-gold);
}

body.sp-active .sp-hero h1 {
  font-size: clamp(2.4rem, 9vw, 4.2rem) !important;
  line-height: 1.05 !important;
  color: var(--sp-navy) !important;
}
