/* Reusable credit campaign. Shared panel/card/control geometry surrounds proportional card artwork. */
.credit-section { --credit-blue: var(--fb-credit-blue); --credit-royal: var(--royal, #0647a8); --credit-navy: var(--navy, #000d45); --credit-yellow: var(--fb-focus-on-dark); --credit-paper: var(--paper, #f3f5f4); --credit-border: var(--border, #d9dfe8); --credit-white: var(--white, #fff); width: 100%; max-width: var(--max); margin-inline: auto; container-type: inline-size; color: var(--credit-navy); text-align: left; }
.credit-section *,
.credit-section *::before,
.credit-section *::after { box-sizing: border-box; }
.credit-section :where(h2, h3, h4, p) { margin: 0; }
.credit-section a { text-decoration: none; }
.credit-section a:focus-visible { outline: 3px solid var(--fb-focus-color); outline-offset: 4px; }
.credit-section .credit-cta:focus-visible { outline-color: var(--fb-focus-on-dark); }
.credit-section .credit-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); align-items: center; gap: var(--fb-grid-gap); padding: clamp(var(--fb-panel-padding), 3.75cqw, 42px); border-radius: var(--radius, 4px); color: var(--credit-white); background: var(--credit-blue); }
.credit-section .credit-hero__copy { min-width: 0; }
/* Credit copy uses the same text sizes as the surrounding homepage sections. */
.credit-section .credit-headline { max-inline-size: none; margin: 0 0 var(--fb-section-intro-gap); color: var(--credit-white); font-size: var(--bridge-heading-size); font-weight: var(--bridge-heading-weight); line-height: 1.18; letter-spacing: -.02em; text-wrap: initial; }
.credit-section .credit-headline span { display: block; }
.credit-section .credit-cards { min-width: 0; width: 100%; margin: 0; }
.credit-section .credit-cards__image { display: block; width: 100%; max-width: 100%; height: auto; object-fit: contain; }
.credit-section .credit-summary { max-inline-size: 44ch; margin: 0; color: var(--credit-white); font-size: var(--bridge-paragraph-size); line-height: 1.5; }
.credit-section .credit-cta { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-height: var(--fb-button-min-height); margin-top: var(--fb-section-intro-gap); padding: var(--fb-button-padding); border: 1px solid transparent; border-radius: var(--fb-button-radius); background: var(--red, #df1428); color: var(--credit-white); box-shadow: none; text-align: center; overflow-wrap: anywhere; transition: background-color var(--fb-state-duration) ease; }
.credit-section .credit-cta:hover { background: var(--fb-button-red-hover); }
@container (max-width: 760px) {
  .credit-section .credit-hero { grid-template-columns: minmax(0, 1fr); }
  .credit-section .credit-cards { max-width: 560px; margin-inline: auto; }
}
.credit-section .credit-explained { margin-top: var(--fb-grid-gap); padding: var(--fb-panel-padding); background: var(--credit-blue); border-left: 4px solid var(--red, #df1428); color: var(--credit-white); scroll-margin-top: 28px; }
.credit-section .credit-explained__eyebrow { color: #ffde86; margin-bottom: var(--bridge-heading-space); }
.credit-section .credit-explained h3 { color: var(--credit-white); margin-bottom: var(--bridge-subheading-space); }
.credit-section .credit-explained__intro { color: #edf3ff; max-width: var(--bridge-paragraph-width); }
.credit-section .credit-flow { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--fb-grid-gap); margin: var(--fb-grid-gap) auto; }
.credit-section .credit-flow__item { min-width: 0; padding: var(--fb-card-padding); border: 1px solid rgba(255,255,255,.36); border-radius: var(--radius, 4px); background: rgba(1,16,81,.24); }
.credit-section .credit-flow__number { display: inline-block; color: var(--credit-yellow); margin-bottom: var(--bridge-subheading-space); }
.credit-section .credit-flow__item h4 { color: var(--credit-white); margin-bottom: var(--bridge-subheading-space); }
.credit-section .credit-flow__item p { color: #ecf3ff; overflow-wrap: break-word; }
.credit-section .credit-explained__closing { margin-top: var(--bridge-paragraph-space); color: #ffde86; text-align: center; }
.credit-section .credit-resources { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--fb-grid-gap); margin-top: var(--fb-grid-gap); }
.credit-section .credit-resource { display: grid; grid-template-columns: var(--fb-icon-size) minmax(0,1fr) 12px; align-items: center; min-width: 0; min-height: 86px; gap: var(--fb-action-gap); padding: var(--fb-card-compact-padding); background: var(--credit-paper); color: var(--credit-navy); border: 1px solid var(--credit-border); border-radius: var(--radius, 4px); transition: background-color .15s ease, border-color .15s ease; }
.credit-section .credit-resource:hover { background: var(--fb-surface-selected); border-color: var(--red, #df1428); }
.credit-section .credit-resource__icon { width: var(--fb-icon-size); height: var(--fb-icon-size); color: var(--red, #df1428); }
.credit-section .credit-resource__chevron { width: 9px; height: 9px; border-top: 3px solid currentColor; border-right: 3px solid currentColor; transform: rotate(45deg); justify-self: end; }
.credit-section .credit-disclaimer { padding: var(--fb-card-compact-padding); color: var(--muted, #4e5c75); background: var(--credit-white); border: 1px solid var(--credit-border); border-top: 0; }
@container (max-width: 720px) {
  .credit-section .credit-flow { grid-template-columns: 1fr; }
  .credit-section .credit-resources { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .credit-section .credit-cta,
  .credit-section .credit-resource { transition: none; }
}
@media print {
  .credit-section .credit-hero, .credit-section .credit-explained { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
}
