/* v4.21.1 — Funding card-specific contrast and header layout correction.
   Deliberately scoped: preserve photos, offer terms, destinations and other cards. */
html body.ab360-inner-page #funding-options .fund-grid .choice-card.ab360-card-photo {
  background-color: #0b2132 !important;
  border: 1px solid #7896a8 !important;
}
/* Existing photographs may contain very bright regions; ensure the lower third is dark. */
html body.ab360-inner-page #funding-options .fund-grid .choice-card.ab360-card-photo::before {
  background: linear-gradient(180deg,rgba(4,16,29,.53) 0%,rgba(4,16,29,.65) 38%,rgba(4,16,29,.93) 100%) !important;
}
html body.ab360-inner-page #funding-options .fund-grid .choice-card.ab360-card-photo :is(h3,ul,li,p:not(.fund-req):not(.fund-note)) {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.58) !important;
}
/* Qualification callouts: explicit light surface / dark foreground pairing. */
html body.ab360-inner-page #funding-options .fund-grid .choice-card .fund-req,
html body.ab360-inner-page #funding-options .fund-grid .choice-card.ab360-card-photo .fund-req {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: #f0f6fa !important;
  color: #152e43 !important;
  opacity: 1 !important;
  text-shadow: none !important;
  border: 1px solid #a9c0d0 !important;
  padding: 12px 14px !important;
  line-height: 1.55 !important;
  font-weight: 600 !important;
}
html body.ab360-inner-page #funding-options .fund-grid .choice-card .fund-req :is(strong,span,small,a) {
  color: #152e43 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
html body.ab360-inner-page #funding-options .fund-grid .choice-card .choice-label {
  display:inline-block;
  background: #e6f3fa !important;
  color: #153a53 !important;
  border: 1px solid #abc8d7 !important;
  text-shadow: none !important;
  opacity:1 !important;
  font-weight: 850 !important;
  padding: 7px 12px !important;
}
/* Caution note needs its own warm, readable treatment. */
html body.ab360-inner-page #funding-options .fund-grid .choice-card .fund-note {
  background: #fff2d3 !important;
  color: #422e10 !important;
  text-shadow: none !important;
  opacity:1 !important;
  border: 1px solid #e5c783 !important;
  line-height:1.6 !important;
  padding:12px 14px !important;
}
html body.ab360-inner-page #funding-options .fund-grid .choice-card .fund-note :is(strong,span,small) {
  color: #422e10 !important;
  text-shadow: none !important;
}
html body.ab360-inner-page #funding-options .fund-grid .choice-card .fund-note a {
  color: #153b59 !important;
  background: #ffe2a0 !important;
  border: 1px solid #c9a456 !important;
  text-shadow:none !important;
  font-weight:850 !important;
}
/* Make CTA alignment and legibility reliable even for tall third card. */
html body.ab360-inner-page #funding-options .fund-grid .choice-card .action-row {position:relative;z-index:2;margin-top:auto}
html body.ab360-inner-page #funding-options .fund-grid .choice-card .action-row .btn.primary {
  color: #10263b !important;
  background: #c9f762 !important;
  border: 2px solid #c9f762 !important;
  text-shadow: none !important;
  font-weight: 850 !important;
}
/* Keep the unified header above content, but don't overlay the card section on desktop. */
@media (min-width: 861px) {
  html body.ab360-inner-page header.site-header.ab360-unified-header {
    position:relative !important;
    top:auto !important;
  }
}
@media (max-width: 860px) {
  html body.ab360-inner-page #funding-options .fund-grid .choice-card .fund-req,
  html body.ab360-inner-page #funding-options .fund-grid .choice-card .fund-note {padding:12px !important;}
}
