.custom-referral-content { --custom-referral-color: var(--primary-color, #176d69); --custom-referral-bg: #fff; color:inherit; }
.custom-referral-content .custom-referral-banner { width:100%; overflow:hidden; margin:0 auto 22px; border-radius:10px; }
.custom-referral-content .custom-referral-banner img { display:block; width:100%; max-height:360px; object-fit:cover; }
.custom-referral-content .custom-referral-inner { max-width:920px; margin:0 auto; }
.custom-referral-content .custom-referral-intro { margin:0 auto 30px; text-align:center; }
.custom-referral-content .custom-referral-intro .main-title { margin-bottom:10px; }
.custom-referral-content .custom-referral-intro .main-subtitle { white-space:pre-wrap; overflow-wrap:anywhere; }
.custom-referral-content .custom-referral-logo { display:block; max-width:200px; max-height:64px; object-fit:contain; margin:0 auto 18px; }
.custom-referral-content .custom-referral-benefits { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr)); gap:16px; margin:26px 0 34px; }
.custom-referral-content .benefit-card { min-width:0; height:100%; }
.custom-referral-content .benefit-card h3,
.custom-referral-content .benefit-card p,
.custom-referral-content .main-title { overflow-wrap:anywhere; white-space:pre-wrap; }
.custom-referral-content .custom-benefit-icon { display:grid; place-items:center; width:44px; height:44px; margin:0 auto 12px; border-radius:12px; background:color-mix(in srgb,var(--custom-referral-color) 12%,white); color:var(--custom-referral-color); }
.custom-referral-content .custom-benefit-icon svg { width:22px; height:22px; }
.custom-referral-content .custom-referral-instructions { margin:34px auto 0; max-width:780px; }
.custom-referral-content .custom-referral-instructions h2 { color:var(--custom-referral-color); }
.custom-referral-content .custom-step-list { display:grid; gap:12px; }
.custom-referral-content .custom-step-item { display:flex; gap:13px; align-items:flex-start; padding:14px 16px; border-radius:9px; background:rgba(23,109,105,.055); line-height:1.55; }
.custom-referral-content .custom-step-number { display:grid; place-items:center; flex:none; width:28px; height:28px; border-radius:50%; background:var(--custom-referral-color); color:#fff; font-size:13px; font-weight:700; }
.custom-referral-content .custom-step-text { white-space:pre-wrap; overflow-wrap:anywhere; }
@media(max-width:600px) {
 .custom-referral-content .custom-referral-banner { margin-bottom:18px; border-radius:7px; }
 .custom-referral-content .custom-referral-benefits { grid-template-columns:1fr; gap:12px; margin:20px 0 26px; }
 .custom-referral-content .custom-step-item { padding:12px; gap:10px; }
}
