/* HSM 5.5.131 - Giving card restore + approved public home polish.
   This file is intentionally loaded last so older experimental styles cannot override it. */

/* ------------------------------
   PUBLIC GIVING METHOD CARDS
   Restore blue/white cards and keep every payment image the same size.
------------------------------ */
body.page-giving #giving-options .hsm-giving-options-top{
  max-width:1320px!important;
  margin:28px auto!important;
  padding:22px!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#ffffff,#f8fbff)!important;
  border:1px solid rgba(13,58,128,.18)!important;
  box-shadow:0 14px 35px rgba(6,29,70,.10)!important;
  overflow:hidden!important;
}
body.page-giving #giving-options .hsm-giving-options-head-simple{
  margin:0 0 14px!important;
  text-align:center!important;
}
body.page-giving #giving-options .resource-kicker{
  color:#0b3f88!important;
  letter-spacing:.22em!important;
  font-weight:900!important;
}
body.page-giving #giving-options .hsm-public-method-strip,
body.page-giving #givingPlatformCards{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:16px!important;
  align-items:stretch!important;
  overflow:visible!important;
  width:100%!important;
}
body.page-giving #giving-options .hsm-public-method-card.hsm-image-method-card{
  min-width:0!important;
  min-height:318px!important;
  height:100%!important;
  padding:12px!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:linear-gradient(160deg,#ffffff 0%,#f8fbff 47%,#eaf3ff 100%)!important;
  border:2px solid rgba(13,58,128,.28)!important;
  box-shadow:0 12px 26px rgba(6,29,70,.12), inset 0 0 0 1px rgba(255,255,255,.75)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
  align-items:stretch!important;
  color:#061d46!important;
}
body.page-giving #giving-options .hsm-public-method-card.hsm-image-method-card.active,
body.page-giving #giving-options .hsm-public-method-card.hsm-image-method-card:focus-within{
  border-color:#d6a235!important;
  box-shadow:0 15px 34px rgba(6,29,70,.18),0 0 0 3px rgba(214,162,53,.20)!important;
}
body.page-giving #giving-options .hsm-image-method-button{
  width:100%!important;
  height:222px!important;
  min-height:222px!important;
  max-height:222px!important;
  padding:8px!important;
  margin:0!important;
  border:0!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff,#eef6ff)!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  cursor:pointer!important;
}
body.page-giving #giving-options .hsm-giving-option-image,
body.page-giving #giving-options .method-cashapp .hsm-giving-option-image,
body.page-giving #giving-options .method-zelle .hsm-giving-option-image,
body.page-giving #giving-options .method-venmo .hsm-giving-option-image,
body.page-giving #giving-options .method-square .hsm-giving-option-image,
body.page-giving #giving-options .method-stripe .hsm-giving-option-image,
body.page-giving #giving-options .method-paypal .hsm-giving-option-image{
  width:212px!important;
  height:212px!important;
  max-width:212px!important;
  max-height:212px!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  margin:0 auto!important;
  background:transparent!important;
}
body.page-giving #giving-options .hsm-method-action-label{
  margin:12px 0 0!important;
  padding:12px 10px!important;
  min-height:70px!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#0b3f88,#061d46)!important;
  color:#fff!important;
  text-align:center!important;
  border:1px solid rgba(214,162,53,.65)!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  align-items:center!important;
}
body.page-giving #giving-options .hsm-method-action-label strong{
  color:#fff!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:clamp(19px,1.8vw,25px)!important;
  line-height:1.05!important;
}
body.page-giving #giving-options .hsm-method-action-label span{
  color:#eaf3ff!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.25!important;
  margin-top:4px!important;
}
body.page-giving #giving-options .method-square .hsm-method-action-label strong{color:#fff!important;}
body.page-giving #giving-options .method-square .hsm-method-action-label span{color:#eaf3ff!important;}
body.page-giving #giving-options .hsm-text-method-button{
  color:#061d46!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:22px!important;
}
@media(max-width:940px){
  body.page-giving #giving-options .hsm-public-method-strip,
  body.page-giving #givingPlatformCards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:560px){
  body.page-giving #giving-options .hsm-giving-options-top{margin:18px 10px!important;padding:14px!important;}
  body.page-giving #giving-options .hsm-public-method-strip,
  body.page-giving #givingPlatformCards{grid-template-columns:1fr!important;}
  body.page-giving #giving-options .hsm-image-method-button{height:230px!important;min-height:230px!important;max-height:230px!important;}
  body.page-giving #giving-options .hsm-giving-option-image{width:220px!important;height:220px!important;max-width:220px!important;max-height:220px!important;}
}


/* HSM 5.5.142 - Giving QR scannability repair. Keep the approved blue/white theme; do not change brand direction. */
body.page-giving #giving-options .method-cashapp .hsm-image-method-button,
body.page-giving #giving-options .method-zelle .hsm-image-method-button,
body.page-giving #giving-options .method-venmo .hsm-image-method-button{
  background:linear-gradient(180deg,#ffffff 0%,#eef6ff 100%)!important;
}
body.page-giving #giving-options .method-cashapp .hsm-giving-option-image,
body.page-giving #giving-options .method-zelle .hsm-giving-option-image,
body.page-giving #giving-options .method-venmo .hsm-giving-option-image{
  width:220px!important;
  height:220px!important;
  max-width:220px!important;
  max-height:220px!important;
  image-rendering:auto!important;
}
body.page-giving #giving-options .method-stripe .hsm-method-action-label strong{font-size:clamp(18px,1.55vw,23px)!important;}
@media(max-width:940px){
  body.page-giving #giving-options .hsm-public-method-card.hsm-image-method-card{min-height:312px!important;}
}

/* ------------------------------
   PUBLIC HOME PAGE LOCK
   Keep the approved home direction and repair the lower areas without touching Giving.
------------------------------ */
body.home-page .hsm-home-hero-title,
body.home-page .hero-title,
body.home-page .hsm-mega-title,
body.home-page .hero h1{
  font-family:Georgia,'Times New Roman',serif!important;
  color:#f7f9ff!important;
  text-shadow:0 3px 16px rgba(0,0,0,.55)!important;
  -webkit-text-stroke:0!important;
  background:none!important;
  box-shadow:none!important;
  max-width:760px!important;
  letter-spacing:.06em!important;
  line-height:.98!important;
  font-size:clamp(44px,5.2vw,78px)!important;
}
body.home-page .hsm-home-hero-title .gold,
body.home-page .hero-title .gold,
body.home-page .hero h1 .gold{color:#e8c05f!important;}
body.home-page .welcome-script,
body.home-page .hsm-welcome-script,
body.home-page .hero .script,
body.home-page .hero-kicker{
  font-family:'Brush Script MT','Segoe Script','Apple Chancery',cursive!important;
  color:#f6c94f!important;
  font-size:clamp(32px,3.3vw,56px)!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  background:none!important;
  box-shadow:none!important;
  display:block!important;
  margin:0 0 .25rem!important;
  padding:0!important;
  text-shadow:0 3px 13px rgba(0,0,0,.55)!important;
}
body.home-page .pastor-signature,
body.home-page .signature,
body.home-page .pastor-card .signature{
  font-family:'Brush Script MT','Segoe Script','Apple Chancery',cursive!important;
  color:#f6c94f!important;
  background:none!important;
  box-shadow:none!important;
  text-shadow:0 2px 10px rgba(0,0,0,.45)!important;
}
body.home-page .home-feature-row,
body.home-page .hsm-home-feature-row,
body.home-page .purpose-row,
body.home-page .home-mission-strip{
  display:grid!important;
  grid-template-columns:repeat(6,minmax(0,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  padding:28px!important;
  border-radius:24px!important;
  border:1px solid rgba(214,162,53,.72)!important;
  background:linear-gradient(180deg,rgba(2,13,31,.98),rgba(6,29,70,.96))!important;
  color:#fff!important;
  overflow:hidden!important;
}
body.home-page .home-feature-row * ,
body.home-page .hsm-home-feature-row * ,
body.home-page .purpose-row * ,
body.home-page .home-mission-strip *{
  overflow-wrap:normal!important;
  word-break:normal!important;
  white-space:normal!important;
}
body.home-page .home-feature-card,
body.home-page .purpose-item,
body.home-page .home-mission-item{
  min-width:0!important;
  display:block!important;
  border-right:1px solid rgba(214,162,53,.32)!important;
  padding:0 16px 0 0!important;
}
body.home-page .home-feature-card:last-child,
body.home-page .purpose-item:last-child,
body.home-page .home-mission-item:last-child{border-right:0!important;}
body.home-page .home-feature-card h3,
body.home-page .purpose-item h3,
body.home-page .home-mission-item h3{
  font-family:Georgia,'Times New Roman',serif!important;
  color:#f6c94f!important;
  font-size:clamp(18px,1.4vw,24px)!important;
  line-height:1.1!important;
  margin:.45rem 0 .4rem!important;
}
body.home-page .home-feature-card p,
body.home-page .purpose-item p,
body.home-page .home-mission-item p{
  color:#fff!important;
  font-size:15px!important;
  line-height:1.5!important;
  margin:0!important;
}
body.home-page .social-link,
body.home-page .social-links a,
body.home-page .footer-social a{
  color:#f6c94f!important;
  border:1px solid rgba(214,162,53,.72)!important;
  background:#061d46!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:42px!important;
  height:42px!important;
  border-radius:50%!important;
  text-decoration:none!important;
  line-height:1!important;
  font-weight:900!important;
  vertical-align:middle!important;
}
body.home-page .home-train-signup,
body.home-page .hsm-train-public,
body.home-page .train-signup-section{
  background:linear-gradient(180deg,#fff,#fffaf0)!important;
  color:#061d46!important;
  border:1px solid rgba(214,162,53,.45)!important;
  border-radius:26px!important;
  box-shadow:0 16px 34px rgba(6,29,70,.10)!important;
  overflow:hidden!important;
}
body.home-page .home-train-signup h2,
body.home-page .hsm-train-public h2,
body.home-page .train-signup-section h2{
  background:none!important;
  box-shadow:none!important;
  color:#061d46!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
  font-size:clamp(28px,3vw,42px)!important;
  line-height:1.08!important;
  letter-spacing:.02em!important;
}
body.home-page .home-train-signup p,
body.home-page .hsm-train-public p,
body.home-page .train-signup-section p{
  color:#061d46!important;
  text-shadow:none!important;
  background:none!important;
  box-shadow:none!important;
  font-size:18px!important;
  line-height:1.6!important;
}
body.home-page footer,
body.home-page .site-footer{
  color:#fff!important;
  background:#061d46!important;
}
body.home-page footer a,
body.home-page .site-footer a{color:#d8e8ff!important;text-decoration:none!important;}
@media(max-width:1100px){
  body.home-page .home-feature-row,
  body.home-page .hsm-home-feature-row,
  body.home-page .purpose-row,
  body.home-page .home-mission-strip{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}
@media(max-width:700px){
  body.home-page .home-feature-row,
  body.home-page .hsm-home-feature-row,
  body.home-page .purpose-row,
  body.home-page .home-mission-strip{grid-template-columns:1fr!important;padding:20px!important;}
  body.home-page .home-feature-card,
  body.home-page .purpose-item,
  body.home-page .home-mission-item{border-right:0!important;border-bottom:1px solid rgba(214,162,53,.25)!important;padding:0 0 16px!important;}
  body.home-page .home-feature-card:last-child,
  body.home-page .purpose-item:last-child,
  body.home-page .home-mission-item:last-child{border-bottom:0!important;}
  body.home-page .hsm-home-hero-title,
  body.home-page .hero-title,
  body.home-page .hsm-mega-title,
  body.home-page .hero h1{font-size:clamp(39px,12vw,56px)!important;}
}
