/* ========================================
   CUSTOM VER3
   Legacy page-specific leftovers only
   Keep this file lean while older pages
   are being migrated to the shared system.
======================================== */

/* Footer newsletter layout */
#mc_embed_signup_footer .mc-inline{
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Email field */
#mc_embed_signup_footer input[type="email"]{
  padding: 10px 12px;
  border: none;
  border-radius: 4px;
  width: 220px;
}

/* Subscribe button */
#mc_embed_signup_footer button{
  background: #bb1654;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background .18s ease;
}

#mc_embed_signup_footer button:hover{
  background: #a3154a;
}

/* Final CTA */
.pf-final-cta{
  position: relative;
  width: 100%;
  min-height: 720px;
  background-image: url('../img/community/phoenix-family-child-science-learning.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 24px 80px;
}

.pf-final-cta::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.10) 22%,
    rgba(0,0,0,0.12) 55%,
    rgba(0,0,0,0.22) 100%
  );
  pointer-events: none;
}

.pf-final-cta__content{
  position: relative;
  z-index: 1;
  width: min(900px, calc(100% - 32px));
  text-align: center;
  margin: 0 auto;
}

.pf-final-cta__title{
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(40px, 4.6vw, 68px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pf-final-cta__text{
  margin: 0 auto 28px;
  max-width: 28ch;
  color: #fff;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
}

.pf-final-cta__button{
  display: inline-block;
  padding: 14px 32px;
  background: #bb1654;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1.2;
  border-radius: 0;
  transition: background .18s ease;
}

.pf-final-cta__button:hover{
  background: #333333;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 991px){
  .pf-final-cta{
    min-height: 620px;
    padding: 72px 20px 64px;
    background-position: 62% center;
  }
}

@media (max-width: 767px){
  .pf-final-cta{
    min-height: 520px;
    padding: 56px 16px 48px;
    background-position: 68% center;
  }

  .pf-final-cta__text{
    max-width: 22ch;
  }

  .pf-final-cta__button{
    padding: 13px 26px;
    font-size: 14px;
  }
}