/* Institution colors are inherited from the bank's existing admin brand color. */
.bank-profile{--bank-soft:color-mix(in srgb,var(--brand) 7%,white);--bank-line:color-mix(in srgb,var(--brand) 17%,white);--bank-ink:color-mix(in srgb,var(--brand) 65%,#17202e);--bank-button:color-mix(in srgb,var(--brand) 65%,#111827)}
.bank-profile .bank-hero{margin:0 0 40px;padding:42px 0 46px;border-radius:0;border:0;border-top:1px solid var(--bank-line);border-bottom:1px solid var(--bank-line);background:radial-gradient(ellipse at 95% 0%,color-mix(in srgb,var(--brand) 14%,white),transparent 65%),linear-gradient(115deg,#fff,var(--bank-soft))}
.bank-profile .bank-hero::before{background-image:none;mask-image:none;border-top:4px solid var(--brand);opacity:.8}
.bank-profile .bh-grid{grid-template-columns:minmax(0,1.65fr) minmax(270px,.85fr);gap:48px;align-items:start}.bank-profile .bh-grid-solo{grid-template-columns:minmax(0,1fr)}.bank-profile .bh-left,.bank-profile .bh-right{min-width:0}.bank-profile .bh-left h1{font-size:clamp(26px,2.8vw,38px);line-height:1.22;max-width:800px;margin:0 0 18px;text-wrap:balance}.bank-profile .bh-tagline{font-size:15px;line-height:1.85;max-width:700px;margin:0 0 24px;color:#657080}
.bank-profile .bh-logo-wrap{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-color:var(--bank-line);margin-bottom:24px;min-height:86px;min-width:170px;border-radius:16px;box-shadow:0 6px 20px #24324505}.bank-profile .bh-logo-wrap .bank-logo{width:145px;height:55px;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent}.bank-profile .bh-logo-wrap .bank-logo img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.bank-profile .bh-logo-wrap .bank-logo-fallback{border-radius:10px;color:white}
.bank-profile .social-proof{display:flex;align-items:stretch;flex-wrap:wrap;gap:10px;margin:0 0 22px}.bank-profile .sp-item{white-space:normal;max-width:100%;min-width:0;height:auto;padding:8px 12px;font-size:11px;line-height:1.6;display:flex;gap:8px;align-items:center;border-radius:9px;background:#ffffffba;border:1px solid var(--bank-line)}.bank-profile .sp-item>span:last-child{min-width:0}.bank-profile .sp-dot{flex-shrink:0}
.bank-profile .bh-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:0}.bank-profile .bh-stat{padding:14px 12px;border:1px solid var(--bank-line);min-width:0;border-radius:12px;gap:4px;background:#ffffffdb}.bank-profile .bh-stat-num{font-size:21px;color:var(--bank-ink)}.bank-profile .bh-stat-lbl{font-size:11px;line-height:1.5}
.bank-profile .bh-right{align-self:center}.bank-profile .bh-best{max-width:none;border-color:var(--bank-line);padding:30px;border-radius:20px;box-shadow:0 12px 32px #17202e08}.bank-profile .bh-best::before{height:4px;background:var(--brand)}.bank-profile .bh-best-eyebrow{color:var(--bank-ink)}.bank-profile .bh-best-rate{flex-wrap:wrap;gap:8px}.bank-profile .bh-best-rate .num{font-size:clamp(36px,4vw,52px);line-height:1.15;color:var(--bank-ink)}.bank-profile .bh-best-rate .lbl{font-size:12px}.bank-profile .bh-best-product{line-height:1.6;margin:12px 0 22px}.bank-profile .bh-best-cta{display:flex;align-items:center;justify-content:center;width:100%;background:var(--bank-button);color:white;padding:14px 16px;border-radius:10px}.bank-profile .bh-best-cta:hover{background:color-mix(in srgb,var(--bank-button) 85%,black)}
.bank-profile .bank-campaign-card{background:linear-gradient(110deg,var(--bank-soft),#fff);border-color:var(--bank-line);gap:24px}.bank-profile .bcc-eyebrow,.bank-profile .bcc-rate .num,.bank-profile .bpr-rate,.bank-profile .bpr-cta{color:var(--bank-ink)}.bank-profile .bcc-info{min-width:0}.bank-profile .bcc-info h3{overflow-wrap:anywhere}.bank-profile .bcc-cta{background:var(--bank-button);color:white}.bank-profile .bpr-icon{background:var(--bank-soft);color:var(--bank-ink)}.bank-profile .bpr-card{min-width:0}.bank-profile .bpr-card:hover{border-color:var(--bank-line);box-shadow:0 8px 24px #17202e08}.bank-profile .bc-row-active,.bank-profile .bc-row-active:hover{background:var(--bank-soft)}.bank-profile .bc-row-active .bc-tag{background:var(--bank-soft);color:var(--bank-ink)}.bank-profile .bc-row-active .bc-action{background:var(--bank-button);color:white}.bank-profile .bank-about{border-color:var(--bank-line)}.bank-profile .preset-links a:hover{color:var(--bank-ink);border-color:var(--bank-line);background:var(--bank-soft)}.bank-profile a:focus-visible{outline:3px solid var(--bank-ink);outline-offset:3px}
@media(max-width:1000px){.bank-profile .bh-grid{grid-template-columns:minmax(0,1fr);gap:26px}.bank-profile .bh-best{max-width:none}.bank-profile .bh-right{justify-content:stretch}.bank-profile .bh-stats{max-width:650px}}
@media(max-width:600px){.bank-profile .bank-hero{padding:28px 0 30px}.bank-profile .bh-left h1{font-size:27px;text-wrap:initial}.bank-profile .bh-tagline{font-size:13px}.bank-profile .bh-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-profile .bh-best{padding:24px}.bank-profile .social-proof{gap:8px}.bank-profile .sp-item{width:100%;font-size:10px}.bank-profile .bh-logo-wrap{margin-bottom:20px}.bank-profile .bank-campaign-card{gap:16px}.bank-profile .bc-row{gap:12px}.bank-profile .bc-bank{min-width:0}.bank-profile .bc-name{overflow-wrap:anywhere}}
