/*
Theme Name: DonateFound
Author: DonateFound Studio
Description: DonateFound is a complete WordPress donation platform for transparent campaigns, verified manual Binance Pay contributions, donor records, receipts, reports, and frontend fundraising dashboards.
Version: 2.6.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hopebridge-fundraising
Tags: charity, fundraising, donations, nonprofit, custom-logo, featured-images, translation-ready
*/

:root {
  --hbf-primary: #126b5f;
  --hbf-primary-dark: #0d5048;
  --hbf-accent: #f4a62a;
  --hbf-bg: #f7faf9;
  --hbf-surface: #ffffff;
  --hbf-text: #18312e;
  --hbf-muted: #647773;
  --hbf-border: #dbe7e4;
  --hbf-danger: #b42318;
  --hbf-success: #15803d;
  --hbf-radius: 18px;
  --hbf-shadow: 0 18px 45px rgba(15, 73, 66, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--hbf-bg);
  color: var(--hbf-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
a { color: var(--hbf-primary); text-decoration: none; }
a:hover { color: var(--hbf-primary-dark); }
img { max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
.hbf-container { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }
.hbf-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(219,231,228,.9);
}
.hbf-header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hbf-brand { display: flex; align-items: center; gap: 12px; color: var(--hbf-text); font-weight: 800; font-size: 1.18rem; }
.hbf-brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--hbf-primary), #20a58f); box-shadow: 0 9px 20px rgba(18,107,95,.22); }
.custom-logo { max-height: 52px; width: auto; }
.hbf-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.hbf-nav a { color: var(--hbf-text); font-weight: 650; }
.hbf-nav a:hover { color: var(--hbf-primary); }
.hbf-menu-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; }
.hbf-button, .wp-block-button__link, button.hbf-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px; border: 0; border-radius: 999px;
  background: var(--hbf-primary); color: #fff; font-weight: 750; cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hbf-button:hover { color: #fff; background: var(--hbf-primary-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(18,107,95,.2); }
.hbf-button--accent { background: var(--hbf-accent); color: #2b210d; }
.hbf-button--ghost { background: transparent; color: var(--hbf-primary); border: 1px solid var(--hbf-primary); }
.hbf-button--small { min-height: 38px; padding: 0 15px; font-size: .92rem; }
.hbf-main { min-height: 60vh; }
.hbf-hero { padding: 90px 0 70px; overflow: hidden; position: relative; background: radial-gradient(circle at 80% 20%, rgba(244,166,42,.22), transparent 26%), linear-gradient(145deg, #eefaf7, #fffaf0); }
.hbf-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; }
.hbf-kicker { display: inline-block; padding: 7px 12px; border-radius: 999px; background: #dff5ef; color: var(--hbf-primary-dark); font-weight: 800; font-size: .83rem; letter-spacing: .04em; text-transform: uppercase; }
.hbf-hero h1 { margin: 20px 0 18px; max-width: 780px; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.055em; }
.hbf-hero p { max-width: 650px; margin: 0 0 28px; font-size: 1.14rem; color: var(--hbf-muted); }
.hbf-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hbf-hero-card { padding: 26px; border-radius: 28px; background: rgba(255,255,255,.88); box-shadow: var(--hbf-shadow); border: 1px solid rgba(255,255,255,.9); transform: rotate(2deg); }
.hbf-hero-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 21px; background: #dcefeb; }
.hbf-section { padding: 72px 0; }
.hbf-section--white { background: #fff; }
.hbf-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 30px; }
.hbf-section-head h2 { margin: 0; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; }
.hbf-section-head p { margin: 6px 0 0; color: var(--hbf-muted); }
.hbf-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.hbf-campaign-card { overflow: hidden; display: flex; flex-direction: column; background: var(--hbf-surface); border: 1px solid var(--hbf-border); border-radius: var(--hbf-radius); box-shadow: 0 10px 25px rgba(24,49,46,.05); transition: transform .25s ease, box-shadow .25s ease; }
.hbf-campaign-card:hover { transform: translateY(-5px); box-shadow: var(--hbf-shadow); }
.hbf-campaign-thumb { display: block; aspect-ratio: 16/10; overflow: hidden; background: linear-gradient(135deg, #cce8e2, #fce6bf); }
.hbf-campaign-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hbf-campaign-card:hover .hbf-campaign-thumb img { transform: scale(1.04); }
.hbf-campaign-content { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.hbf-campaign-content h3 { margin: 0 0 10px; font-size: 1.3rem; line-height: 1.25; }
.hbf-campaign-content p { color: var(--hbf-muted); margin: 0 0 18px; }
.hbf-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--hbf-muted); font-size: .9rem; }
.hbf-progress { height: 10px; overflow: hidden; border-radius: 999px; background: #e7efed; margin: 18px 0 10px; }
.hbf-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--hbf-primary), #29ae95); }
.hbf-progress-data { display: flex; justify-content: space-between; gap: 16px; font-size: .92rem; }
.hbf-progress-data strong { color: var(--hbf-text); }
.hbf-campaign-footer { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; }
.hbf-single-hero { padding: 55px 0; background: linear-gradient(145deg,#edf9f6,#fff); }
.hbf-single-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(320px,.7fr); gap: 38px; align-items: start; }
.hbf-single-media img { width: 100%; border-radius: 24px; aspect-ratio: 16/10; object-fit: cover; box-shadow: var(--hbf-shadow); }
.hbf-campaign-panel, .hbf-card, .hbf-form-wrap { background: #fff; border: 1px solid var(--hbf-border); border-radius: var(--hbf-radius); padding: 26px; box-shadow: 0 10px 28px rgba(24,49,46,.06); }
.hbf-sticky { position: sticky; top: 104px; }
.hbf-form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.hbf-field { display: flex; flex-direction: column; gap: 7px; }
.hbf-field--full { grid-column: 1 / -1; }
.hbf-field label { font-weight: 700; font-size: .94rem; }
.hbf-field input, .hbf-field textarea, .hbf-field select {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #cbdcd8; border-radius: 11px; background: #fff; color: var(--hbf-text); outline: none;
}
.hbf-field textarea { min-height: 120px; resize: vertical; }
.hbf-field input:focus, .hbf-field textarea:focus, .hbf-field select:focus { border-color: var(--hbf-primary); box-shadow: 0 0 0 3px rgba(18,107,95,.12); }
.hbf-amounts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.hbf-amount-option { position: relative; }
.hbf-amount-option input { position: absolute; opacity: 0; pointer-events: none; }
.hbf-amount-option label { display: grid; place-items: center; min-height: 48px; border: 1px solid var(--hbf-border); border-radius: 11px; cursor: pointer; font-weight: 800; }
.hbf-amount-option input:checked + label { color: #fff; background: var(--hbf-primary); border-color: var(--hbf-primary); }
.hbf-notice { padding: 14px 16px; margin: 0 0 20px; border-radius: 12px; background: #edf7f4; border: 1px solid #cce5df; }
.hbf-notice--error { background: #fff1f0; border-color: #f2c4c0; color: var(--hbf-danger); }
.hbf-notice--success { background: #edf9f0; border-color: #bfe3c7; color: var(--hbf-success); }
.hbf-table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--hbf-border); border-radius: 14px; }
.hbf-table { width: 100%; border-collapse: collapse; min-width: 700px; }
.hbf-table th, .hbf-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hbf-border); }
.hbf-table th { background: #f2f7f6; font-size: .88rem; text-transform: uppercase; letter-spacing: .03em; }
.hbf-badge { display: inline-flex; align-items: center; min-height: 27px; padding: 0 10px; border-radius: 999px; background: #eef3f2; font-size: .82rem; font-weight: 800; text-transform: capitalize; }
.hbf-badge--paid { color: #166534; background: #dcfce7; }
.hbf-badge--pending { color: #92400e; background: #fef3c7; }
.hbf-badge--cancelled, .hbf-badge--refunded { color: #991b1b; background: #fee2e2; }
.hbf-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.hbf-stat { padding: 20px; border-radius: 15px; background: #fff; border: 1px solid var(--hbf-border); }
.hbf-stat strong { display: block; font-size: 1.7rem; line-height: 1.15; }
.hbf-stat span { color: var(--hbf-muted); font-size: .9rem; }
.hbf-donor-list { display: grid; gap: 12px; }
.hbf-donor { display: flex; align-items: center; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--hbf-border); }
.hbf-avatar { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #dff4ef; color: var(--hbf-primary); font-weight: 900; }
.hbf-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 30px; }
.hbf-pagination .page-numbers { display: grid; place-items: center; min-width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--hbf-border); }
.hbf-pagination .current { color: #fff; background: var(--hbf-primary); border-color: var(--hbf-primary); }
.hbf-article { width: min(850px, calc(100% - 32px)); margin: 0 auto; padding: 60px 0; }
.hbf-entry-content > * { max-width: 100%; }
.hbf-site-footer { margin-top: 70px; padding: 52px 0 24px; background: #102d29; color: #d7e6e3; }
.hbf-footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 36px; }
.hbf-site-footer h3, .hbf-site-footer h4 { color: #fff; }
.hbf-site-footer a { color: #d7e6e3; }
.hbf-footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #9eb6b2; font-size: .9rem; }
.hbf-empty { padding: 50px 24px; text-align: center; background: #fff; border: 1px dashed #b9ccc8; border-radius: var(--hbf-radius); }
.hbf-screen-reader { position: absolute!important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.hbf-honeypot { position: absolute !important; left: -9999px !important; opacity: 0 !important; }


.hbf-auth-shell { width: min(760px, 100%); margin: 0 auto; }
.hbf-auth-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-bottom: 16px; padding: 6px; border: 1px solid var(--hbf-border); border-radius: 14px; background: #eef5f3; }
.hbf-auth-tabs a { display: grid; place-items: center; min-height: 44px; border-radius: 10px; color: var(--hbf-muted); font-weight: 800; }
.hbf-auth-tabs a.is-active { background: #fff; color: var(--hbf-primary); box-shadow: 0 5px 16px rgba(24,49,46,.08); }
.hbf-form-wrap > .hbf-field, .hbf-form-wrap form > .hbf-field { margin-bottom: 16px; }
.hbf-form-wrap .hbf-form-grid { margin-bottom: 20px; }
.hbf-form-heading { align-items: center; }
.hbf-form-help { display: block; color: var(--hbf-muted); font-size: .88rem; font-weight: 500; }
.hbf-form-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.hbf-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 22px; color: var(--hbf-muted); font-size: .94rem; }
.hbf-check input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 4px; accent-color: var(--hbf-primary); }
.hbf-account-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.hbf-account-summary { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.hbf-account-summary h2 { margin: 6px 0 0; }
.hbf-account-summary p { margin: 2px 0 0; color: var(--hbf-muted); overflow-wrap: anywhere; }
.hbf-account-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 10px; }
.hbf-avatar--large { width: 64px; height: 64px; flex-basis: 64px; font-size: 1.2rem; }
.hbf-text-link { font-weight: 700; padding: 8px 4px; }
.hbf-login-required { width: min(720px,100%); margin: 0 auto; text-align: center; }
.hbf-login-required h2 { margin: 16px 0 8px; }
.hbf-login-required .hbf-form-actions { justify-content: center; }
.hbf-current-image { margin-bottom: 10px; }
.hbf-current-image img { width: min(260px,100%); border-radius: 12px; border: 1px solid var(--hbf-border); }
.hbf-row-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hbf-row-actions form { display: inline; margin: 0; }
.hbf-link-button { border: 0; padding: 0; background: transparent; color: var(--hbf-primary); cursor: pointer; font-weight: 650; }
.hbf-link-button:hover { color: var(--hbf-primary-dark); text-decoration: underline; }
.hbf-link-button--danger { color: var(--hbf-danger); }
.hbf-campaign-manager td:first-child { min-width: 240px; }
.hbf-campaign-manager td:last-child { min-width: 160px; }
.hbf-menu-account > a { padding: 8px 14px; border-radius: 999px; background: #edf7f4; color: var(--hbf-primary-dark); }

@media (max-width: 900px) {
  .hbf-hero-grid, .hbf-single-grid, .hbf-account-layout { grid-template-columns: 1fr; }
  .hbf-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hbf-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hbf-nav { display: none; position: absolute; top: 78px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--hbf-border); padding: 20px 16px; }
  .hbf-nav.is-open { display: block; }
  .hbf-nav ul { align-items: stretch; flex-direction: column; }
  .hbf-menu-toggle { display: block; }
  .hbf-sticky { position: static; }
}
@media (max-width: 640px) {
  .hbf-grid, .hbf-form-grid, .hbf-footer-grid { grid-template-columns: 1fr; }
  .hbf-stats { grid-template-columns: 1fr 1fr; }
  .hbf-amounts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hbf-section-head { align-items: start; flex-direction: column; }
  .hbf-hero { padding-top: 55px; }
  .hbf-hero h1 { font-size: 2.8rem; }
  .hbf-field--full { grid-column: auto; }
}

/* Creator withdrawal system */
.hbf-badge--approved { color: #1d4ed8; background: #dbeafe; }
.hbf-badge--rejected { color: #991b1b; background: #fee2e2; }
.hbf-withdrawal-stats { margin: 0 0 26px; }
.hbf-withdrawal-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 24px; align-items: start; }
.hbf-withdrawal-help { position: sticky; top: 104px; }
.hbf-withdrawal-help h3, .hbf-form-wrap h3, .hbf-withdrawal-history h3 { margin-top: 0; }
.hbf-withdrawal-help ol { margin: 0; padding-left: 22px; }
.hbf-withdrawal-help li + li { margin-top: 12px; }
.hbf-withdrawal-history { margin-top: 36px; }
.hbf-withdrawal-history .hbf-section-head { margin-bottom: 16px; }
.hbf-withdrawal-history small { display: inline-block; max-width: 240px; color: var(--hbf-muted); overflow-wrap: anywhere; }
.hbf-withdrawal-head .hbf-button { flex: 0 0 auto; }
@media (max-width: 900px) {
  .hbf-withdrawal-layout { grid-template-columns: 1fr; }
  .hbf-withdrawal-help { position: static; }
}


/* Withdrawal verification documents and rejection causes */
.hbf-upload-field { padding: 16px; border: 1px dashed #a9c8c1; border-radius: 12px; background: #f7fbfa; }
.hbf-upload-field input[type="file"] { min-height: 0; padding: 12px; background: #fff; }
.hbf-document-links { display: grid; gap: 6px; margin-top: 6px; }
.hbf-document-link { font-weight: 700; overflow-wrap: anywhere; }
.hbf-document-link small { font-weight: 500; color: var(--hbf-muted); }
.hbf-no-documents { color: var(--hbf-muted); font-size: .88rem; }
.hbf-rejection-cause { margin-top: 8px; padding: 10px; border-radius: 9px; background: #fff1f0; border: 1px solid #f2c4c0; color: var(--hbf-danger); max-width: 300px; white-space: normal; }

/* =========================================================
   DonateFound 1.3.0 — motion and interface refinement
   ========================================================= */
:root {
  --hbf-primary: #087968;
  --hbf-primary-dark: #075b50;
  --hbf-primary-soft: #dff7f1;
  --hbf-accent: #ffb547;
  --hbf-accent-dark: #e79820;
  --hbf-bg: #f5faf8;
  --hbf-surface: #ffffff;
  --hbf-text: #122d29;
  --hbf-muted: #607570;
  --hbf-border: #dceae6;
  --hbf-radius-sm: 12px;
  --hbf-radius: 20px;
  --hbf-radius-lg: 30px;
  --hbf-shadow-sm: 0 8px 22px rgba(11, 73, 64, .07);
  --hbf-shadow: 0 20px 55px rgba(10, 67, 59, .12);
  --hbf-shadow-lg: 0 30px 80px rgba(7, 71, 61, .16);
  --hbf-ease: cubic-bezier(.2, .75, .25, 1);
}

::selection { background: rgba(8, 121, 104, .2); color: var(--hbf-text); }
body {
  background:
    radial-gradient(circle at 0 12%, rgba(34, 181, 151, .06), transparent 28rem),
    var(--hbf-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.hbf-menu-open { overflow: hidden; }

.hbf-skip-link:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  margin: 0;
  z-index: 9999;
  border-radius: 10px;
  background: #fff;
  color: var(--hbf-primary-dark);
  box-shadow: var(--hbf-shadow-sm);
}

.hbf-site-header {
  transition: min-height .3s var(--hbf-ease), box-shadow .3s ease, background .3s ease, border-color .3s ease;
}
.hbf-site-header.is-scrolled {
  background: rgba(255, 255, 255, .88);
  border-color: rgba(212, 231, 226, .85);
  box-shadow: 0 10px 35px rgba(10, 63, 55, .08);
}
.hbf-header-inner { transition: min-height .3s var(--hbf-ease); }
.hbf-site-header.is-scrolled .hbf-header-inner { min-height: 68px; }
.hbf-brand { letter-spacing: -.02em; transition: transform .25s var(--hbf-ease); }
.hbf-brand:hover { transform: translateY(-1px); }
.hbf-brand-mark {
  position: relative;
  isolation: isolate;
  background: linear-gradient(135deg, #0b8c78, #21b79b);
  box-shadow: 0 12px 28px rgba(8, 121, 104, .26);
  transition: transform .3s var(--hbf-ease), box-shadow .3s ease;
}
.hbf-brand:hover .hbf-brand-mark { transform: rotate(-7deg) scale(1.04); box-shadow: 0 15px 32px rgba(8, 121, 104, .3); }
.hbf-brand-mark::after {
  content: "";
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(8, 121, 104, .18);
  border-radius: 18px;
}

.hbf-nav a {
  position: relative;
  padding: 10px 0;
  transition: color .2s ease;
}
.hbf-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hbf-primary), #31b99f);
  transition: right .3s var(--hbf-ease);
}
.hbf-nav a:hover::after,
.hbf-nav .current-menu-item > a::after,
.hbf-nav .current_page_item > a::after { right: 0; }
.hbf-nav .hbf-menu-account > a {
  padding: 10px 16px;
  background: var(--hbf-primary-soft);
  border: 1px solid rgba(8, 121, 104, .12);
}
.hbf-nav .hbf-menu-account > a::after { display: none; }

.hbf-menu-toggle {
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  color: var(--hbf-text);
  transition: background .2s ease, transform .2s ease;
}
.hbf-menu-toggle:hover { background: #eef7f4; }
.hbf-menu-icon { width: 22px; display: grid; gap: 5px; }
.hbf-menu-icon i {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
  transition: transform .25s var(--hbf-ease), opacity .2s ease;
}
.hbf-menu-toggle.is-active .hbf-menu-icon i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hbf-menu-toggle.is-active .hbf-menu-icon i:nth-child(2) { opacity: 0; transform: scaleX(.2); }
.hbf-menu-toggle.is-active .hbf-menu-icon i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hbf-button,
.wp-block-button__link,
button.hbf-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 50px;
  padding: 0 23px;
  background: linear-gradient(135deg, var(--hbf-primary), #0b917b);
  box-shadow: 0 10px 24px rgba(8, 121, 104, .18);
  transition: transform .25s var(--hbf-ease), box-shadow .25s ease, background .25s ease, border-color .25s ease;
}
.hbf-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.22) 48%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .65s var(--hbf-ease);
}
.hbf-button:hover::before { transform: translateX(120%); }
.hbf-button:hover {
  background: linear-gradient(135deg, var(--hbf-primary-dark), var(--hbf-primary));
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(8, 121, 104, .25);
}
.hbf-button:active { transform: translateY(0) scale(.985); }
.hbf-button:focus-visible,
.hbf-card-link:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 181, 71, .55);
  outline-offset: 3px;
}
.hbf-button--ghost {
  color: var(--hbf-primary-dark);
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(8, 121, 104, .28);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.hbf-button--ghost:hover { background: #fff; color: var(--hbf-primary-dark); border-color: var(--hbf-primary); }
.hbf-button--accent {
  color: #2d220e;
  background: linear-gradient(135deg, #ffc25f, var(--hbf-accent));
  box-shadow: 0 13px 30px rgba(255, 181, 71, .28);
}
.hbf-button--accent:hover { color: #211706; background: linear-gradient(135deg, #ffca72, #f9a92f); }
.hbf-button--small { min-height: 40px; }
.hbf-button[disabled], .hbf-button.is-loading { opacity: .78; cursor: wait; transform: none; }
.hbf-button-spinner {
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: hbf-spin .75s linear infinite;
}
.hbf-ripple {
  position: absolute;
  z-index: -1;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  pointer-events: none;
  animation: hbf-ripple .65s ease-out forwards;
}

.hbf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border: 1px solid rgba(8, 121, 104, .1);
  background: rgba(223, 247, 241, .85);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.hbf-kicker--light { color: #eafff9; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.16); }

.hbf-hero {
  min-height: 690px;
  display: grid;
  align-items: center;
  padding: 105px 0 86px;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 181, 71, .25), transparent 27%),
    radial-gradient(circle at 8% 78%, rgba(26, 175, 145, .13), transparent 29%),
    linear-gradient(145deg, #ebfaf6 0%, #fffdf7 58%, #f7fffc 100%);
}
.hbf-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background-image: radial-gradient(rgba(8, 121, 104, .22) .7px, transparent .7px);
  background-size: 21px 21px;
  mask-image: linear-gradient(to right, #000, transparent 48%);
  pointer-events: none;
}
.hbf-hero-grid { position: relative; z-index: 2; grid-template-columns: 1.05fr .95fr; gap: 72px; }
.hbf-hero-copy { max-width: 690px; }
.hbf-hero h1 {
  margin-top: 22px;
  max-width: 760px;
  font-size: clamp(3.1rem, 6.2vw, 6rem);
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
  background: linear-gradient(120deg, #123a34 5%, #087968 58%, #144038 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hbf-hero p { max-width: 620px; font-size: clamp(1.04rem, 1.8vw, 1.2rem); }
.hbf-hero-actions { margin-top: 30px; }
.hbf-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 28px;
  color: #4f6762;
  font-size: .9rem;
  font-weight: 700;
}
.hbf-hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hbf-hero-trust i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: var(--hbf-primary);
  font-size: .72rem;
  font-style: normal;
  box-shadow: 0 5px 12px rgba(8,121,104,.2);
}
.hbf-hero-showcase { position: relative; perspective: 1100px; }
.hbf-hero-card {
  position: relative;
  padding: 20px 20px 24px;
  border-radius: 31px;
  border: 1px solid rgba(255,255,255,.9);
  background: rgba(255,255,255,.82);
  box-shadow: var(--hbf-shadow-lg);
  backdrop-filter: blur(16px);
  transform: rotate(1.4deg);
  animation: hbf-float 5.8s ease-in-out infinite;
}
.hbf-hero-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(8,121,104,.1), rgba(255,181,71,.25));
}
.hbf-hero-card-media { display: block; overflow: hidden; border-radius: 23px; }
.hbf-hero-card img { border-radius: 23px; transition: transform .65s var(--hbf-ease); }
.hbf-hero-card:hover img { transform: scale(1.035); }
.hbf-hero-card h2 { margin: 20px 4px 12px; line-height: 1.2; letter-spacing: -.025em; }
.hbf-hero-card h2 a { color: var(--hbf-text); }
.hbf-featured-label {
  position: absolute;
  top: 34px;
  left: 34px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(12, 48, 43, .78);
  backdrop-filter: blur(8px);
  font-size: .78rem;
  font-weight: 800;
}
.hbf-featured-label span { color: #64dfc4; animation: hbf-pulse-dot 1.8s ease-in-out infinite; }
.hbf-floating-chip {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 15px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 14px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--hbf-shadow-sm);
  color: var(--hbf-text);
  font-size: .86rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.hbf-floating-chip span { color: var(--hbf-primary); }
.hbf-floating-chip--top { top: -18px; right: 10%; animation: hbf-chip-float 4.6s ease-in-out infinite .4s; }
.hbf-floating-chip--bottom { bottom: -18px; left: -22px; animation: hbf-chip-float 5.2s ease-in-out infinite .9s; }
.hbf-hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .45; pointer-events: none; }
.hbf-hero-orb--one { width: 180px; height: 180px; right: 4%; top: 20%; border: 1px solid rgba(8,121,104,.22); animation: hbf-orbit 15s linear infinite; }
.hbf-hero-orb--two { width: 70px; height: 70px; right: 42%; bottom: 13%; background: rgba(255,181,71,.18); animation: hbf-float 7s ease-in-out infinite reverse; }

.hbf-impact-strip {
  position: relative;
  z-index: 4;
  margin-top: -34px;
}
.hbf-impact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(218, 235, 230, .9);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--hbf-shadow);
  backdrop-filter: blur(12px);
}
.hbf-impact-item { display: flex; align-items: center; gap: 15px; padding: 25px 30px; }
.hbf-impact-item + .hbf-impact-item { border-left: 1px solid var(--hbf-border); }
.hbf-impact-icon {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--hbf-primary-dark);
  background: linear-gradient(135deg, #e8faf5, #d4f4ec);
  font-size: 1.15rem;
}
.hbf-impact-item strong { display: block; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1; letter-spacing: -.035em; }
.hbf-impact-item span:last-child { display: block; margin-top: 6px; color: var(--hbf-muted); font-size: .87rem; }

.hbf-section { padding: 88px 0; }
.hbf-section--white { background: rgba(255,255,255,.88); }
.hbf-section-head { margin-bottom: 38px; }
.hbf-section-head h1,
.hbf-section-head h2,
.hbf-page-hero h1,
.hbf-single-hero h1,
.hbf-cta-card h2 {
  text-wrap: balance;
}
.hbf-section-head h2 { font-size: clamp(2.15rem, 4vw, 3.4rem); }
.hbf-section-head--center { justify-content: center; text-align: center; }
.hbf-section-head--center > div { max-width: 720px; }

.hbf-page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 76px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,181,71,.22), transparent 28%),
    linear-gradient(145deg, #eaf9f5, #fffdf8);
}
.hbf-page-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: 5%;
  top: -145px;
  border: 45px solid rgba(8,121,104,.05);
  border-radius: 50%;
}
.hbf-page-hero h1,
.hbf-single-hero h1 { margin: 17px 0 12px; font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1; letter-spacing: -.055em; }
.hbf-page-hero p,
.hbf-single-hero p { max-width: 720px; color: var(--hbf-muted); font-size: 1.1rem; }

.hbf-grid { gap: 28px; }
.hbf-campaign-card {
  --hbf-tilt-x: 0deg;
  --hbf-tilt-y: 0deg;
  position: relative;
  border-color: rgba(215, 232, 228, .95);
  border-radius: 22px;
  box-shadow: var(--hbf-shadow-sm);
  transform: perspective(900px) rotateX(var(--hbf-tilt-x)) rotateY(var(--hbf-tilt-y));
  transition: transform .35s var(--hbf-ease), box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.hbf-campaign-card:hover {
  transform: perspective(900px) translateY(-7px) rotateX(var(--hbf-tilt-x)) rotateY(var(--hbf-tilt-y));
  border-color: rgba(8,121,104,.18);
  box-shadow: 0 26px 60px rgba(10, 73, 64, .15);
}
.hbf-campaign-thumb { position: relative; aspect-ratio: 16 / 10.5; }
.hbf-campaign-thumb img { transition: transform .65s var(--hbf-ease), filter .35s ease; }
.hbf-campaign-card:hover .hbf-campaign-thumb img { transform: scale(1.065); filter: saturate(1.06); }
.hbf-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,44,39,.3), transparent 48%);
  opacity: .55;
  transition: opacity .3s ease;
}
.hbf-campaign-card:hover .hbf-card-overlay { opacity: .8; }
.hbf-category-pill {
  position: absolute;
  left: 16px;
  bottom: 15px;
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  color: #fff;
  background: rgba(9, 51, 45, .62);
  backdrop-filter: blur(8px);
  font-size: .76rem;
  font-weight: 800;
}
.hbf-campaign-content { padding: 24px; }
.hbf-campaign-content h3 { font-size: 1.35rem; letter-spacing: -.026em; }
.hbf-campaign-content h3 a { color: var(--hbf-text); transition: color .2s ease; }
.hbf-campaign-content h3 a:hover { color: var(--hbf-primary); }
.hbf-campaign-content p { line-height: 1.58; }
.hbf-progress {
  position: relative;
  height: 9px;
  overflow: visible;
  background: #e7f0ed;
  box-shadow: inset 0 1px 2px rgba(9,61,53,.06);
}
.hbf-progress > span {
  position: relative;
  background: linear-gradient(90deg, #087968, #25b99b);
  box-shadow: 0 4px 12px rgba(8,121,104,.2);
  transition: width 1.25s var(--hbf-ease);
}
.hbf-progress > span::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
  background-size: 160px 100%;
  animation: hbf-progress-shine 2.5s linear infinite;
}
.hbf-progress-data small { display: block; margin-top: 3px; color: var(--hbf-muted); font-size: .78rem; }
.hbf-progress-end { text-align: right; }
.hbf-campaign-footer { border-top: 1px solid #ecf2f0; }
.hbf-card-donors { color: var(--hbf-muted); font-size: .88rem; font-weight: 650; }
.hbf-card-donors span { color: #db5d69; }
.hbf-card-link {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--hbf-primary);
  font-size: .9rem;
  font-weight: 850;
}
.hbf-card-link span { transition: transform .25s var(--hbf-ease); }
.hbf-card-link:hover span { transform: translateX(4px); }

.hbf-how-section { overflow: hidden; background: linear-gradient(180deg, #f4faf8 0%, #ebf7f4 100%); }
.hbf-how-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.hbf-how-card {
  --hbf-tilt-x: 0deg;
  --hbf-tilt-y: 0deg;
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: 32px;
  border: 1px solid rgba(210,230,225,.95);
  border-radius: 24px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--hbf-shadow-sm);
  transform: perspective(900px) rotateX(var(--hbf-tilt-x)) rotateY(var(--hbf-tilt-y));
  transition: transform .35s var(--hbf-ease), box-shadow .35s ease, border-color .35s ease;
  backdrop-filter: blur(10px);
}
.hbf-how-card:hover { transform: perspective(900px) translateY(-6px) rotateX(var(--hbf-tilt-x)) rotateY(var(--hbf-tilt-y)); box-shadow: var(--hbf-shadow); border-color: rgba(8,121,104,.18); }
.hbf-how-number { position: absolute; right: 19px; top: 10px; color: rgba(8,121,104,.08); font-size: 4.8rem; line-height: 1; font-weight: 900; letter-spacing: -.08em; }
.hbf-how-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--hbf-primary), #27b79a);
  box-shadow: 0 13px 28px rgba(8,121,104,.22);
  font-size: 1.3rem;
  transition: transform .35s var(--hbf-ease);
}
.hbf-how-card:hover .hbf-how-icon { transform: rotate(-7deg) scale(1.06); }
.hbf-how-card h3 { margin: 0 0 12px; font-size: 1.3rem; letter-spacing: -.025em; }
.hbf-how-card p { margin: 0; color: var(--hbf-muted); }

.hbf-cta-section { padding-top: 18px; background: #ebf7f4; }
.hbf-cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 48px 52px;
  border-radius: 30px;
  color: #eafff9;
  background:
    radial-gradient(circle at 84% 20%, rgba(255,181,71,.22), transparent 24%),
    linear-gradient(135deg, #075b50, #0a7e6c 62%, #08685a);
  box-shadow: 0 28px 65px rgba(7,91,80,.22);
}
.hbf-cta-card::before,
.hbf-cta-card::after { content: ""; position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; pointer-events: none; }
.hbf-cta-card::before { width: 260px; height: 260px; right: -80px; top: -150px; }
.hbf-cta-card::after { width: 140px; height: 140px; right: 100px; bottom: -100px; }
.hbf-cta-card > * { position: relative; z-index: 2; }
.hbf-cta-card h2 { margin: 17px 0 10px; color: #fff; font-size: clamp(2rem,4vw,3.4rem); line-height: 1.05; letter-spacing: -.045em; }
.hbf-cta-card p { max-width: 650px; margin: 0; color: rgba(234,255,249,.77); }
.hbf-cta-card .hbf-button { flex: 0 0 auto; }

.hbf-single-hero {
  position: relative;
  overflow: hidden;
  padding: 75px 0 65px;
  background:
    radial-gradient(circle at 88% 20%, rgba(255,181,71,.2), transparent 25%),
    linear-gradient(145deg,#eaf9f5,#fffdf8);
}
.hbf-single-meta { align-items: center; }
.hbf-category-inline { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--hbf-primary-soft); font-weight: 750; }
.hbf-single-media { overflow: hidden; border-radius: 26px; box-shadow: var(--hbf-shadow); }
.hbf-single-media img { border-radius: 26px; transition: transform .8s var(--hbf-ease); }
.hbf-single-media:hover img { transform: scale(1.025); }
.hbf-card,
.hbf-campaign-panel {
  border-color: rgba(216,233,229,.95);
  border-radius: 22px;
  box-shadow: var(--hbf-shadow-sm);
}
.hbf-card { padding: 30px; }
.hbf-card-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 20px; }
.hbf-card-heading h2 { margin: 0; }
.hbf-card-heading-icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--hbf-primary);
  background: var(--hbf-primary-soft);
  font-size: 1rem;
}
.hbf-organizer { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--hbf-border); }
.hbf-organizer small, .hbf-organizer strong { display: block; }
.hbf-organizer small { color: var(--hbf-muted); }
.hbf-campaign-panel {
  padding: 30px;
  background: linear-gradient(180deg, #fff, #fbfefd);
  box-shadow: 0 20px 50px rgba(10,72,63,.13);
}
.hbf-panel-kicker { display: inline-block; margin-bottom: 16px; color: var(--hbf-primary); font-weight: 850; }
.hbf-progress--large { height: 12px; }
.hbf-progress-data--large { margin-top: 14px; }
.hbf-progress-data--large strong { font-size: 1.17rem; }
.hbf-progress-data--large small { display: block; color: var(--hbf-muted); font-size: .8rem; }
.hbf-days-left { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; padding: 9px 12px; border-radius: 11px; color: #775515; background: #fff5df; font-size: .9rem; }
.hbf-panel-divider { height: 1px; margin: 24px 0; background: var(--hbf-border); }
.hbf-secure-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 17px 0 0; color: var(--hbf-muted); text-align: center; font-size: .78rem; }

.hbf-form-wrap,
.hbf-auth-shell .hbf-card {
  border-radius: 22px;
  box-shadow: var(--hbf-shadow-sm);
}
.hbf-field { position: relative; }
.hbf-field label { color: #29443f; }
.hbf-field input,
.hbf-field textarea,
.hbf-field select {
  border-color: #cfe0dc;
  border-radius: 13px;
  background: #fbfdfc;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease, transform .2s ease;
}
.hbf-field input:hover,
.hbf-field textarea:hover,
.hbf-field select:hover { border-color: #aacbc3; background: #fff; }
.hbf-field input:focus,
.hbf-field textarea:focus,
.hbf-field select:focus { border-color: var(--hbf-primary); background: #fff; box-shadow: 0 0 0 4px rgba(8,121,104,.11); transform: translateY(-1px); }
.hbf-check { padding: 12px 14px; border-radius: 12px; background: #f5faf8; }
.hbf-amount-option label { border-radius: 13px; background: #fbfdfc; transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease; }
.hbf-amount-option label:hover { transform: translateY(-2px); border-color: rgba(8,121,104,.4); box-shadow: 0 8px 18px rgba(8,121,104,.08); }
.hbf-amount-option input:checked + label { background: linear-gradient(135deg, var(--hbf-primary), #20aa90); box-shadow: 0 10px 22px rgba(8,121,104,.2); transform: translateY(-2px); }
.hbf-upload-field { padding: 20px; border-width: 1.5px; border-radius: 15px; background: linear-gradient(145deg,#f8fcfb,#f1f9f7); transition: border-color .2s ease, background .2s ease; }
.hbf-upload-field:hover { border-color: var(--hbf-primary); background: #f5fbf9; }
.hbf-file-selection { display: block; margin-top: 8px; color: var(--hbf-primary-dark); font-size: .83rem; font-weight: 700; overflow-wrap: anywhere; }
.hbf-notice { border-radius: 14px; box-shadow: 0 6px 16px rgba(10,70,61,.05); animation: hbf-notice-in .45s var(--hbf-ease); }

.hbf-auth-tabs { padding: 7px; border-radius: 16px; }
.hbf-auth-tabs a { transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.hbf-auth-tabs a:hover { transform: translateY(-1px); }
.hbf-auth-tabs a.is-active { box-shadow: 0 8px 20px rgba(16,76,67,.09); }
.hbf-account-summary { padding-bottom: 4px; }
.hbf-avatar { box-shadow: inset 0 0 0 1px rgba(8,121,104,.08); }

.hbf-stats { gap: 20px; }
.hbf-stat {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: 18px;
  box-shadow: var(--hbf-shadow-sm);
  transition: transform .3s var(--hbf-ease), box-shadow .3s ease;
}
.hbf-stat::after { content: ""; position: absolute; width: 70px; height: 70px; right: -30px; top: -30px; border-radius: 50%; background: rgba(8,121,104,.07); }
.hbf-stat:hover { transform: translateY(-4px); box-shadow: var(--hbf-shadow); }

.hbf-table-wrap {
  border-radius: 17px;
  box-shadow: var(--hbf-shadow-sm);
}
.hbf-table th { padding-top: 16px; padding-bottom: 16px; color: #3c5751; background: #eef7f4; }
.hbf-table td { transition: background .18s ease; }
.hbf-table tbody tr:hover td { background: #f9fcfb; }
.hbf-badge { border: 1px solid rgba(0,0,0,.035); }
.hbf-withdrawal-layout { gap: 28px; }
.hbf-withdrawal-help { background: linear-gradient(180deg,#fff,#f8fcfb); }
.hbf-rejection-cause { border-radius: 11px; box-shadow: inset 0 0 0 1px rgba(180,35,24,.02); }

.hbf-donor { border-radius: 12px; padding: 12px; transition: background .2s ease, transform .2s ease; }
.hbf-donor:hover { background: #f5faf8; transform: translateX(3px); }
.hbf-pagination .page-numbers { border-radius: 12px; transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease; }
.hbf-pagination .page-numbers:hover { transform: translateY(-2px); border-color: var(--hbf-primary); }
.hbf-pagination .current { box-shadow: 0 8px 18px rgba(8,121,104,.2); }
.hbf-empty { border-radius: 22px; background: linear-gradient(145deg,#fff,#f7fbfa); }
.hbf-empty-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; color: var(--hbf-primary); background: var(--hbf-primary-soft); font-size: 1.7rem; }

.hbf-site-footer {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 68px 0 26px;
  background: linear-gradient(145deg, #092d28, #0d3a34 60%, #082923);
}
.hbf-footer-glow { position: absolute; width: 460px; height: 460px; right: -190px; top: -260px; border-radius: 50%; background: rgba(36,183,153,.1); filter: blur(3px); }
.hbf-footer-grid { grid-template-columns: 1.25fr .7fr .8fr; gap: 55px; position: relative; }
.hbf-brand--footer { color: #fff; }
.hbf-footer-brand p { max-width: 390px; color: #a9c1bc; }
.hbf-footer-trust { display: flex; flex-wrap: wrap; gap: 9px; }
.hbf-footer-trust span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #cfe3df; font-size: .78rem; font-weight: 700; }
.hbf-site-footer h4 { margin-top: 7px; }
.hbf-site-footer ul { list-style: none; margin: 0; padding: 0; }
.hbf-site-footer li + li { margin-top: 9px; }
.hbf-site-footer a { transition: color .2s ease, transform .2s ease; }
.hbf-site-footer li a { display: inline-block; }
.hbf-site-footer li a:hover { color: #72ddc5; transform: translateX(3px); }
.hbf-footer-bottom { display: flex; justify-content: space-between; gap: 20px; }

.hbf-js .hbf-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .72s var(--hbf-ease) var(--hbf-reveal-delay, 0ms), transform .72s var(--hbf-ease) var(--hbf-reveal-delay, 0ms);
}
.hbf-js .hbf-reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes hbf-spin { to { transform: rotate(360deg); } }
@keyframes hbf-ripple { from { transform: scale(0); opacity: .75; } to { transform: scale(18); opacity: 0; } }
@keyframes hbf-float { 0%,100% { transform: rotate(1.4deg) translateY(0); } 50% { transform: rotate(.6deg) translateY(-10px); } }
@keyframes hbf-chip-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes hbf-orbit { to { transform: rotate(360deg); } }
@keyframes hbf-pulse-dot { 0%,100% { opacity: .55; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes hbf-progress-shine { from { background-position: -180px 0; } to { background-position: 220px 0; } }
@keyframes hbf-notice-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1020px) {
  .hbf-hero { min-height: 0; }
  .hbf-hero-grid { gap: 45px; }
  .hbf-floating-chip--bottom { left: 5px; }
  .hbf-cta-card { padding: 42px; }
}

@media (max-width: 900px) {
  .hbf-menu-toggle { display: grid; }
  .hbf-nav {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    padding: 14px 16px 20px;
    box-shadow: 0 18px 35px rgba(8,60,52,.1);
    transition: visibility .25s ease, opacity .25s ease, transform .25s var(--hbf-ease);
  }
  .hbf-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  .hbf-nav ul { gap: 2px; }
  .hbf-nav a { display: block; padding: 12px 8px; border-radius: 9px; }
  .hbf-nav a:hover { background: #f2f8f6; }
  .hbf-nav a::after { display: none; }
  .hbf-nav .hbf-menu-account > a { margin-top: 5px; }
  .hbf-hero { padding: 76px 0 82px; }
  .hbf-hero-grid { grid-template-columns: 1fr; }
  .hbf-hero-copy { text-align: center; margin: 0 auto; }
  .hbf-hero p { margin-left: auto; margin-right: auto; }
  .hbf-hero-actions, .hbf-hero-trust { justify-content: center; }
  .hbf-hero-showcase { width: min(610px, 100%); margin: 15px auto 0; }
  .hbf-impact-grid { grid-template-columns: 1fr; }
  .hbf-impact-item + .hbf-impact-item { border-left: 0; border-top: 1px solid var(--hbf-border); }
  .hbf-how-grid { grid-template-columns: 1fr; }
  .hbf-how-card { min-height: 0; }
  .hbf-cta-card { align-items: flex-start; flex-direction: column; }
  .hbf-footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .hbf-container { width: min(100% - 24px, 1160px); }
  .hbf-hero { padding-top: 58px; }
  .hbf-hero h1 { font-size: clamp(2.75rem, 14vw, 4rem); }
  .hbf-hero-actions { flex-direction: column; }
  .hbf-hero-actions .hbf-button { width: 100%; }
  .hbf-hero-trust { align-items: flex-start; flex-direction: column; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; }
  .hbf-hero-card { padding: 14px 14px 20px; border-radius: 24px; }
  .hbf-hero-card img, .hbf-hero-card-media { border-radius: 18px; }
  .hbf-featured-label { top: 25px; left: 25px; }
  .hbf-floating-chip { display: none; }
  .hbf-impact-strip { margin-top: -25px; }
  .hbf-impact-item { padding: 20px; }
  .hbf-section { padding: 68px 0; }
  .hbf-section-head h2 { font-size: 2.2rem; }
  .hbf-campaign-content { padding: 21px; }
  .hbf-cta-card { padding: 34px 25px; border-radius: 24px; }
  .hbf-cta-card .hbf-button { width: 100%; }
  .hbf-card, .hbf-campaign-panel { padding: 22px; }
  .hbf-footer-grid { grid-template-columns: 1fr; }
  .hbf-footer-bottom { flex-direction: column; }
  .hbf-amounts { gap: 8px; }
  .hbf-table th, .hbf-table td { padding: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .hbf-js .hbf-reveal { opacity: 1; transform: none; }
  .hbf-campaign-card, .hbf-how-card, .hbf-campaign-card:hover, .hbf-how-card:hover { transform: none; }
}


/* --------------------------------------------------------------
   v1.3.1 performance and form-control fixes
-------------------------------------------------------------- */

/* Keep checkbox/radio controls compact inside generic form fields. */
.hbf-field input[type="checkbox"],
.hbf-field input[type="radio"] {
  width: 18px !important;
  min-width: 18px;
  height: 18px;
  min-height: 18px !important;
  flex: 0 0 18px;
  margin: 2px 0 0;
  padding: 0 !important;
  border-radius: 4px;
  box-shadow: none !important;
  transform: none !important;
  accent-color: var(--hbf-primary);
}
.hbf-field input[type="radio"] { border-radius: 50%; }
.hbf-field .hbf-check,
.hbf-check--anonymous {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dce9e6;
  border-radius: 12px;
  background: #f5faf8;
  color: #29443f;
  font-weight: 700;
  line-height: 1.45;
  cursor: pointer;
}
.hbf-field .hbf-check span,
.hbf-check--anonymous span { flex: 1 1 auto; }

/* Replace continuously running effects with short, event-driven motion. */
.hbf-site-header {
  background: rgba(255,255,255,.985);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hbf-hero-card,
.hbf-floating-chip,
.hbf-hero-orb,
.hbf-featured-label span,
.hbf-progress > span::after {
  animation: none !important;
}
.hbf-hero-card {
  transform: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hbf-floating-chip,
.hbf-featured-label,
.hbf-category-pill,
.hbf-how-card,
.hbf-button--ghost {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hbf-hero-orb { display: none; }
.hbf-progress > span::after { display: none; }

.hbf-campaign-card,
.hbf-how-card {
  --hbf-tilt-x: 0deg;
  --hbf-tilt-y: 0deg;
  transform: translateZ(0);
  will-change: auto;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.hbf-campaign-card:hover,
.hbf-how-card:hover {
  transform: translate3d(0,-4px,0);
}
.hbf-campaign-thumb img { transition-duration: .32s; }
.hbf-campaign-card:hover .hbf-campaign-thumb img {
  transform: scale(1.035);
  filter: none;
}
.hbf-how-icon,
.hbf-card-link span,
.hbf-button,
.hbf-auth-tabs a,
.hbf-stat {
  transition-duration: .2s;
}
.hbf-field input:focus,
.hbf-field textarea:focus,
.hbf-field select:focus { transform: none; }

/* Faster one-time entrance effects. */
.hbf-js .hbf-reveal {
  transform: translate3d(0,14px,0);
  transition: opacity .42s ease var(--hbf-reveal-delay, 0ms), transform .42s ease var(--hbf-reveal-delay, 0ms);
}
.hbf-progress > span { transition: width .72s ease-out; }

/* Skip rendering distant campaign cards until needed. */
.hbf-campaign-card {
  content-visibility: auto;
  contain-intrinsic-size: 420px;
}

/* Automatically use an even lighter motion profile on low-power/save-data devices. */
.hbf-lite-motion .hbf-js .hbf-reveal,
.hbf-lite-motion .hbf-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.hbf-lite-motion .hbf-campaign-card,
.hbf-lite-motion .hbf-how-card,
.hbf-lite-motion .hbf-button,
.hbf-lite-motion .hbf-stat,
.hbf-lite-motion .hbf-campaign-thumb img {
  transition: none !important;
}
.hbf-lite-motion .hbf-campaign-card:hover,
.hbf-lite-motion .hbf-how-card:hover,
.hbf-lite-motion .hbf-stat:hover,
.hbf-lite-motion .hbf-button:hover {
  transform: none !important;
}

@media (max-width: 900px) {
  .hbf-campaign-card,
  .hbf-how-card,
  .hbf-stat,
  .hbf-button,
  .hbf-campaign-thumb img {
    transition-duration: .15s;
  }
  .hbf-campaign-card:hover,
  .hbf-how-card:hover,
  .hbf-stat:hover { transform: none; }
  .hbf-campaign-card:hover .hbf-campaign-thumb img { transform: none; }
}

/* =========================================================
   DonateFound 1.4.0 — premium homepage matching the concept
   ========================================================= */
:root {
  --hbf-home-navy: #0b2b57;
  --hbf-home-navy-2: #08234a;
  --hbf-home-green: #08a678;
  --hbf-home-green-dark: #07825f;
  --hbf-home-green-soft: #e9fbf5;
  --hbf-home-blue: #1674d1;
  --hbf-home-purple: #8257d9;
  --hbf-home-yellow: #ffb316;
  --hbf-home-text: #15304e;
  --hbf-home-muted: #627386;
  --hbf-home-border: #dfe8f1;
  --hbf-home-shadow: 0 14px 38px rgba(20, 48, 79, .10);
}
body { background: #fff; color: var(--hbf-home-text); }
.hbf-container { width: min(1200px, calc(100% - 44px)); }

/* Header */
.hbf-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 72px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid #edf2f7;
  box-shadow: none;
  backdrop-filter: blur(12px);
}
.hbf-site-header.is-scrolled { box-shadow: 0 10px 30px rgba(15, 45, 78, .08); }
.hbf-header-inner { min-height: 72px; display: flex; align-items: center; gap: 30px; }
.hbf-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--hbf-home-navy); font-size: 1.35rem; font-weight: 900; letter-spacing: -.03em; white-space: nowrap; }
.hbf-brand:hover { color: var(--hbf-home-navy); }
.hbf-brand .custom-logo { max-height: 46px; width: auto; }
.hbf-brand-mark { position: relative; width: 34px; height: 30px; display: inline-block; }
.hbf-brand-mark::before,
.hbf-brand-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 19px;
  height: 19px;
  border: 5px solid var(--hbf-home-green);
  border-top: 0;
  border-left: 0;
  border-radius: 3px 12px 3px 12px;
  transform: rotate(45deg);
}
.hbf-brand-mark::before { left: 1px; }
.hbf-brand-mark::after { right: 1px; transform: scaleX(-1) rotate(45deg); }
.hbf-brand-mark i { position: absolute; left: 7px; right: 7px; bottom: 1px; height: 5px; border-radius: 999px; background: var(--hbf-home-blue); }
.hbf-home-nav { margin-left: auto; }
.hbf-home-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hbf-home-nav a { position: relative; display: flex; align-items: center; gap: 5px; min-height: 72px; padding: 0 11px; color: #233c5d; font-size: .91rem; font-weight: 750; }
.hbf-home-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 2px; border-radius: 99px; background: var(--hbf-home-green); transform: scaleX(0); transition: transform .2s ease; }
.hbf-home-nav a:hover::after, .hbf-home-nav a.is-active::after { transform: scaleX(1); }
.hbf-header-actions { display: flex; align-items: center; gap: 15px; }
.hbf-header-search { width: 32px; height: 32px; display: grid; place-items: center; color: var(--hbf-home-navy); font-size: 1.45rem; line-height: 1; }
.hbf-header-login { color: #233c5d; font-size: .91rem; font-weight: 750; }
.hbf-header-cta { min-height: 42px; display: inline-flex; align-items: center; gap: 8px; padding: 0 17px; border-radius: 6px; color: #fff; background: linear-gradient(135deg, #0bb17f, #078f68); box-shadow: 0 8px 18px rgba(8,166,120,.22); font-size: .86rem; font-weight: 850; }
.hbf-header-cta:hover { color: #fff; transform: translateY(-1px); }

/* Hero */
.hbf-home-hero { position: relative; overflow: hidden; min-height: 520px; background: linear-gradient(90deg, #f8fcff 0%, #eef8fb 48%, rgba(255,255,255,.1) 69%), var(--hbf-home-hero-bg) center right / 58% 100% no-repeat; }
.hbf-home-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(255,255,255,.2), transparent 62%); }
.hbf-home-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; min-height: 520px; padding-top: 38px; padding-bottom: 38px; }
.hbf-home-hero-copy { max-width: 590px; }
.hbf-home-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 7px 13px; border: 1px solid #9fe2d1; border-radius: 999px; color: #078a68; background: rgba(255,255,255,.78); font-size: .82rem; font-weight: 800; }
.hbf-home-eyebrow span { font-size: 1rem; }
.hbf-home-hero h1 { max-width: 610px; margin: 0 0 18px; color: var(--hbf-home-navy); font-size: clamp(3.3rem, 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.06em; }
.hbf-home-hero h1::after { content: "•"; color: var(--hbf-home-green); margin-left: 5px; }
.hbf-home-hero-copy > p { max-width: 530px; margin: 0; color: #53677e; font-size: 1.03rem; line-height: 1.75; }
.hbf-home-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hbf-button--home-primary, .hbf-home-donate-button, .hbf-button--home-small { color: #fff; background: linear-gradient(135deg, #0bb17f, #07956d); border: 1px solid #07956d; box-shadow: 0 8px 18px rgba(8,166,120,.18); }
.hbf-button--home-primary:hover, .hbf-home-donate-button:hover, .hbf-button--home-small:hover { color: #fff; background: #078c68; transform: translateY(-1px); }
.hbf-button--home-outline, .hbf-button--home-small-outline { color: #0a4a89; background: rgba(255,255,255,.92); border: 1px solid #8db6df; box-shadow: none; }
.hbf-button--home-outline:hover, .hbf-button--home-small-outline:hover { color: #073d73; background: #f5faff; border-color: #4f91d1; }
.hbf-home-community { display: flex; align-items: center; gap: 13px; margin-top: 25px; }
.hbf-home-community p { margin: 0; color: #53677e; font-size: .82rem; line-height: 1.4; }
.hbf-home-community strong { color: #193957; }
.hbf-home-avatar-stack { display: flex; padding-left: 7px; }
.hbf-home-avatar-stack span { width: 32px; height: 32px; display: grid; place-items: center; margin-left: -7px; border: 3px solid #fff; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #0b6b9d, #0bb17f); box-shadow: 0 3px 9px rgba(0,0,0,.12); font-size: .72rem; font-weight: 850; }
.hbf-home-avatar-stack span:nth-child(2) { background: linear-gradient(145deg, #7f5bd8, #5a85d8); }
.hbf-home-avatar-stack span:nth-child(3) { background: linear-gradient(145deg, #e99333, #f3b13f); }
.hbf-home-avatar-stack span:nth-child(4) { background: linear-gradient(145deg, #af5e69, #e28e7b); }
.hbf-home-feature-wrap { display: flex; justify-content: center; }
.hbf-home-feature-card { width: min(420px, 100%); overflow: hidden; border: 4px solid rgba(255,255,255,.96); border-radius: 12px; background: #fff; box-shadow: 0 22px 55px rgba(7,33,66,.22); }
.hbf-home-feature-media { position: relative; height: 190px; overflow: hidden; }
.hbf-home-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.hbf-home-feature-badge { position: absolute; top: 12px; left: 12px; padding: 6px 11px; border-radius: 999px; color: #fff; background: var(--hbf-home-green); font-size: .72rem; font-weight: 850; box-shadow: 0 5px 12px rgba(8,166,120,.25); }
.hbf-home-feature-content { padding: 20px 22px 18px; }
.hbf-home-feature-content h2 { margin: 0 0 9px; color: var(--hbf-home-navy); font-size: 1.25rem; line-height: 1.28; }
.hbf-home-feature-content h2 a { color: inherit; }
.hbf-home-feature-content p { margin: 0 0 17px; color: #65758a; font-size: .86rem; line-height: 1.55; }
.hbf-home-money-row, .hbf-home-percent-row, .hbf-home-card-money, .hbf-home-card-percent, .hbf-home-story-money { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #52667d; font-size: .78rem; }
.hbf-home-money-row strong, .hbf-home-card-money strong, .hbf-home-story-money strong { color: var(--hbf-home-navy); }
.hbf-home-feature-card .hbf-progress, .hbf-home-campaign-card .hbf-progress, .hbf-home-story .hbf-progress { height: 7px; margin: 10px 0 8px; background: #e8edf2; }
.hbf-home-feature-card .hbf-progress > span, .hbf-home-campaign-card .hbf-progress > span, .hbf-home-story .hbf-progress > span { background: linear-gradient(90deg, #0ab27e, #08a778); }
.hbf-home-percent-row { color: #173752; font-size: .78rem; }
.hbf-home-donate-button { width: 100%; justify-content: center; min-height: 45px; margin-top: 16px; border-radius: 6px; }

/* Stats */
.hbf-home-stats { position: relative; z-index: 3; margin-top: 0; background: #fff; }
.hbf-home-stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); padding: 26px 35px; border: 1px solid #e4edf5; border-radius: 15px; background: linear-gradient(100deg,#fafdff,#f2f8fd); box-shadow: 0 12px 32px rgba(22,65,105,.06); transform: translateY(14px); }
.hbf-home-stat { position: relative; display: grid; justify-items: center; gap: 3px; text-align: center; }
.hbf-home-stat:not(:last-child)::after { content: ""; position: absolute; top: 8px; right: 0; bottom: 8px; border-right: 1px dashed #cbd8e4; }
.hbf-home-stat-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 2px; border-radius: 50%; font-weight: 900; }
.hbf-home-stat-icon--green { color: #098665; background: #dff8ef; }
.hbf-home-stat-icon--blue { color: #136fc4; background: #e3f1ff; }
.hbf-home-stat-icon--yellow { color: #d58c00; background: #fff3cc; }
.hbf-home-stat-icon--purple { color: #7951c8; background: #efe8ff; }
.hbf-home-stat strong { color: #101c2e; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1.15; }
.hbf-home-stat small { color: #4e6074; font-size: .82rem; }

/* Shared homepage section */
.hbf-home-section { padding: 78px 0; background: #fff; }
.hbf-home-section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }
.hbf-home-section-head--compact { margin-bottom: 22px; }
.hbf-home-section-head--center { justify-content: center; text-align: center; }
.hbf-home-section-label { display: block; margin-bottom: 5px; color: var(--hbf-home-green); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.hbf-home-section-head h2, .hbf-home-story h2, .hbf-home-benefits-section h2 { margin: 0; color: var(--hbf-home-navy); font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.15; letter-spacing: -.035em; }
.hbf-home-view-link { display: inline-flex; align-items: center; gap: 7px; color: #0d4f8f; font-size: .82rem; font-weight: 850; }

/* Campaign cards */
.hbf-home-campaigns-section { padding-top: 85px; padding-bottom: 32px; }
.hbf-home-campaign-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; }
.hbf-home-campaign-card { overflow: hidden; border: 1px solid #dce7f0; border-radius: 10px; background: #fff; box-shadow: 0 8px 24px rgba(15,52,88,.07); transition: transform .22s ease, box-shadow .22s ease; }
.hbf-home-campaign-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,52,88,.12); }
.hbf-home-card-media { position: relative; display: block; height: 200px; overflow: hidden; }
.hbf-home-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.hbf-home-campaign-card:hover .hbf-home-card-media img { transform: scale(1.035); }
.hbf-home-card-media > span { position: absolute; top: 12px; left: 12px; padding: 5px 10px; border-radius: 999px; color: #fff; background: #7158d8; font-size: .7rem; font-weight: 850; }
.hbf-home-campaign-card:nth-child(2) .hbf-home-card-media > span { background: #0aa77a; }
.hbf-home-campaign-card:nth-child(3) .hbf-home-card-media > span { background: #68a916; }
.hbf-home-card-body { padding: 18px 16px 16px; }
.hbf-home-card-body h3 { margin: 0 0 8px; color: var(--hbf-home-navy); font-size: 1.12rem; line-height: 1.28; }
.hbf-home-card-body h3 a { color: inherit; }
.hbf-home-card-body > p { min-height: 46px; margin: 0 0 14px; color: #647489; font-size: .82rem; line-height: 1.55; }
.hbf-home-organizer { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; color: #667789; font-size: .75rem; }
.hbf-home-organizer-avatar { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#0b6b9d,#0bb17f); font-size: .63rem; font-weight: 900; }
.hbf-home-organizer strong { color: #0b9e75; }
.hbf-home-organizer i { width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #0ba579; font-size: .59rem; font-style: normal; }
.hbf-home-card-money, .hbf-home-card-percent { font-size: .72rem; }
.hbf-home-card-actions { display: grid; grid-template-columns: 1fr 1.18fr; gap: 9px; margin-top: 14px; }
.hbf-button--home-small, .hbf-button--home-small-outline { min-height: 39px; justify-content: center; padding: 0 9px; border-radius: 5px; font-size: .76rem; }

/* How it works */
.hbf-home-how { padding-top: 34px; padding-bottom: 54px; }
.hbf-home-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 44px; }
.hbf-home-step { position: relative; text-align: center; }
.hbf-home-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: calc(50% + 44px); width: calc(100% - 44px); border-top: 1px dashed #bacddd; }
.hbf-home-step-icon { position: relative; z-index: 1; width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 14px; border-radius: 50%; font-size: 1.45rem; font-weight: 900; }
.hbf-home-step-icon--green { color: #0a9b73; background: #ddf8ee; }
.hbf-home-step-icon--blue { color: #1b76ce; background: #e4f1fe; }
.hbf-home-step-icon--yellow { color: #e29a05; background: #fff0c5; }
.hbf-home-step-icon--purple { color: #8051cc; background: #efe7ff; }
.hbf-home-step h3 { margin: 0 0 8px; color: #193756; font-size: .93rem; }
.hbf-home-step p { max-width: 220px; margin: 0 auto; color: #67788c; font-size: .76rem; line-height: 1.5; }

/* Causes */
.hbf-home-causes { padding-top: 22px; padding-bottom: 58px; }
.hbf-home-cause-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 13px; }
.hbf-home-cause-card { min-height: 110px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 12px 8px; border: 1px solid #dfe8f0; border-radius: 9px; color: #18395a; background: #fff; box-shadow: 0 5px 15px rgba(18,52,85,.045); text-align: center; transition: transform .2s ease, border-color .2s ease; }
.hbf-home-cause-card:hover { color: #18395a; transform: translateY(-3px); border-color: #94d8c7; }
.hbf-home-cause-card > span { color: #0aa378; font-size: 1.6rem; line-height: 1; }
.hbf-home-cause-card strong { font-size: .8rem; }
.hbf-home-cause-card small { color: #6e7d8e; font-size: .66rem; }
.hbf-home-cause-card--all > span { color: #4c6178; }

/* Story */
.hbf-home-story-section { padding-top: 0; padding-bottom: 54px; }
.hbf-home-story { display: grid; grid-template-columns: 1.1fr 1.15fr .65fr; align-items: center; gap: 28px; }
.hbf-home-story-media { overflow: hidden; min-height: 270px; border-radius: 9px; box-shadow: var(--hbf-home-shadow); }
.hbf-home-story-media img { width: 100%; height: 100%; min-height: 270px; object-fit: cover; }
.hbf-home-story-copy > p { margin: 14px 0 20px; color: #65758a; font-size: .82rem; line-height: 1.65; }
.hbf-home-story-list { padding: 22px 18px; border: 1px solid #dfe8f0; border-radius: 10px; background: linear-gradient(150deg,#fbfdff,#f4f9fd); }
.hbf-home-story-list ul { display: grid; gap: 14px; margin: 0 0 20px; padding: 0; list-style: none; color: #39536e; font-size: .78rem; }
.hbf-home-story-list li::first-letter { color: var(--hbf-home-green); }

/* Testimonials */
.hbf-home-testimonials { padding-top: 42px; padding-bottom: 55px; background: #fff; }
.hbf-home-testimonial-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.hbf-home-testimonial { position: relative; padding: 23px 20px 18px; border: 1px solid #dfe8f0; border-radius: 10px; background: #fff; box-shadow: 0 6px 18px rgba(17,51,86,.045); }
.hbf-home-quote { position: absolute; top: 10px; left: 15px; color: var(--hbf-home-green); font-size: 2.4rem; font-weight: 900; line-height: 1; }
.hbf-home-testimonial > p { min-height: 72px; margin: 18px 0 18px; color: #52677d; font-size: .79rem; line-height: 1.6; }
.hbf-home-testimonial > div { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; }
.hbf-home-testimonial-avatar { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg,#0b6b9d,#0bb17f); font-size: .66rem; font-weight: 900; }
.hbf-home-testimonial strong { color: #1d3957; font-size: .77rem; }
.hbf-home-testimonial strong small { display: block; margin-top: 2px; color: #718092; font-size: .65rem; font-weight: 500; }
.hbf-home-stars { color: #ffb000; font-size: .75rem; letter-spacing: 1px; }

/* Benefits */
.hbf-home-benefits-section { padding: 32px 0 48px; background: #fff; }
.hbf-home-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); padding: 27px 25px; border: 1px solid #e1eaf2; border-radius: 13px; background: linear-gradient(110deg,#fbfdff,#f1f7fc); }
.hbf-home-benefits article { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 0 24px; }
.hbf-home-benefits article:not(:last-child) { border-right: 1px dashed #cbd8e4; }
.hbf-home-benefit-icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; font-size: 1.3rem; }
.hbf-home-benefit-icon--green { color: #0b8f6d; background: #dff8ef; }
.hbf-home-benefit-icon--blue { color: #126fc8; background: #e2f0ff; }
.hbf-home-benefit-icon--purple { color: #8152cf; background: #efe7ff; }
.hbf-home-benefits h3 { margin: 0 0 5px; color: #173858; font-size: .95rem; }
.hbf-home-benefits p { margin: 0 0 6px; color: #65758a; font-size: .72rem; line-height: 1.5; }
.hbf-home-benefits a { color: #0f5a9b; font-size: .7rem; font-weight: 800; }

/* CTA and footer */
.hbf-home-bottom-cta { position: relative; overflow: hidden; padding: 34px 0; color: #fff; background: radial-gradient(circle at 8% 50%, rgba(31,139,217,.25), transparent 18rem), radial-gradient(circle at 88% 50%, rgba(33,184,154,.17), transparent 20rem), linear-gradient(105deg,#0765b3,#003f83); }
.hbf-home-bottom-cta::before, .hbf-home-bottom-cta::after { content: ""; position: absolute; color: rgba(255,255,255,.12); font-size: 8rem; }
.hbf-home-bottom-cta::before { left: 5%; top: -32px; }
.hbf-home-bottom-cta::after { right: 6%; bottom: -48px; }
.hbf-home-bottom-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; align-items: center; justify-content: center; gap: 25px; text-align: center; }
.hbf-home-cta-icon { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; font-size: 2.1rem; }
.hbf-home-bottom-cta h2 { margin: 0 0 4px; color: #fff; font-size: clamp(1.6rem,3vw,2.35rem); }
.hbf-home-bottom-cta p { margin: 0 0 15px; color: #dbeeff; font-size: .85rem; }
.hbf-home-bottom-cta-inner > div:last-child > div { display: flex; justify-content: center; gap: 10px; }
.hbf-button--home-cta-outline { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.75); }
.hbf-button--home-cta-outline:hover { color: #fff; background: rgba(255,255,255,.1); }
.hbf-home-footer { margin-top: 0; padding: 38px 0 0; color: #d4e2ef; background: #06244a; }
.hbf-home-footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .7fr 1fr .85fr; gap: 34px; }
.hbf-brand--footer { color: #fff; font-size: 1.2rem; }
.hbf-brand--footer:hover { color: #fff; }
.hbf-home-footer h4 { margin: 3px 0 13px; color: #fff; font-size: .83rem; }
.hbf-home-footer p, .hbf-home-footer li, .hbf-home-footer a { color: #b9cadd; font-size: .7rem; line-height: 1.65; }
.hbf-home-footer ul { margin: 0; padding: 0; list-style: none; }
.hbf-home-footer a:hover { color: #fff; }
.hbf-home-socials { display: flex; gap: 7px; margin-top: 15px; }
.hbf-home-socials a { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; color: #fff; font-size: .63rem; }
.hbf-home-newsletter { display: flex; margin-top: 10px; }
.hbf-home-newsletter input { min-width: 0; width: 100%; height: 34px; padding: 0 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 4px 0 0 4px; color: #fff; background: rgba(255,255,255,.08); font-size: .68rem; }
.hbf-home-newsletter input::placeholder { color: #b9cadd; }
.hbf-home-newsletter button { border: 0; border-radius: 0 4px 4px 0; padding: 0 12px; color: #fff; background: var(--hbf-home-green); font-size: .66rem; font-weight: 800; }
.hbf-home-contact { display: grid; gap: 6px; }
.hbf-home-footer .hbf-footer-bottom { display: flex; justify-content: space-between; margin-top: 30px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.11); color: #92a8be; font-size: .66rem; }
.hbf-home-footer .hbf-footer-bottom b { color: #ff6a72; }

/* Existing global campaign cards aligned to the new visual system */
.hbf-campaign-card { border-radius: 10px; border-color: #dce7f0; box-shadow: 0 8px 24px rgba(15,52,88,.07); }
.hbf-campaign-content h3, .hbf-campaign-panel h1, .hbf-article h1 { color: var(--hbf-home-navy); }

/* Motion remains lightweight */
.hbf-js .hbf-reveal { opacity: 0; transform: translateY(14px); transition: opacity .42s ease, transform .42s ease; transition-delay: var(--hbf-reveal-delay,0ms); }
.hbf-js .hbf-reveal.is-visible { opacity: 1; transform: none; }
.hbf-lite-motion .hbf-reveal, .hbf-lite-motion .hbf-reveal.is-visible { opacity: 1; transform: none; transition: none; }

@media (max-width: 1100px) {
  .hbf-home-nav a { padding-inline: 7px; font-size: .84rem; }
  .hbf-header-actions { gap: 9px; }
  .hbf-header-cta { padding-inline: 12px; }
  .hbf-home-cause-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hbf-home-footer-grid { grid-template-columns: 1.2fr repeat(2,.7fr) 1fr; }
  .hbf-home-footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .hbf-header-inner { min-height: 66px; }
  .hbf-header-actions { margin-left: auto; }
  .hbf-header-search, .hbf-header-login { display: none; }
  .hbf-header-cta { min-height: 38px; }
  .hbf-nav { top: 66px; padding: 10px 22px 20px; box-shadow: 0 18px 30px rgba(15,45,78,.1); }
  .hbf-home-nav ul { flex-direction: column; align-items: stretch; }
  .hbf-home-nav a { min-height: 44px; padding: 0 8px; }
  .hbf-home-nav a::after { display: none; }
  .hbf-home-hero { background: linear-gradient(180deg,#f7fcff 0%,#eff8fb 60%,#fff 100%); }
  .hbf-home-hero-grid { grid-template-columns: 1fr; gap: 35px; padding-top: 55px; padding-bottom: 55px; }
  .hbf-home-hero-copy { text-align: center; margin: 0 auto; }
  .hbf-home-hero-copy > p { margin-inline: auto; }
  .hbf-home-hero-actions, .hbf-home-community { justify-content: center; }
  .hbf-home-feature-card { max-width: 520px; }
  .hbf-home-stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 0; }
  .hbf-home-stat:nth-child(2)::after { display: none; }
  .hbf-home-campaign-grid, .hbf-home-testimonial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hbf-home-campaign-card:nth-child(3), .hbf-home-testimonial:nth-child(3) { grid-column: 1 / -1; max-width: 580px; width: 100%; margin-inline: auto; }
  .hbf-home-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hbf-home-step::after { display: none; }
  .hbf-home-story { grid-template-columns: 1fr 1fr; }
  .hbf-home-story-list { grid-column: 1 / -1; }
  .hbf-home-benefits { grid-template-columns: 1fr; gap: 22px; }
  .hbf-home-benefits article { padding: 0; }
  .hbf-home-benefits article:not(:last-child) { padding-bottom: 22px; border-right: 0; border-bottom: 1px dashed #cbd8e4; }
  .hbf-home-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hbf-home-footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 640px) {
  .hbf-container { width: min(100% - 28px, 1200px); }
  .hbf-brand { font-size: 1.08rem; }
  .hbf-brand-mark { transform: scale(.84); transform-origin: left center; margin-right: -4px; }
  .hbf-header-cta { display: none; }
  .hbf-home-hero h1 { font-size: clamp(2.75rem,13vw,4rem); }
  .hbf-home-hero-actions { flex-direction: column; }
  .hbf-home-hero-actions .hbf-button { width: 100%; justify-content: center; }
  .hbf-home-community { align-items: flex-start; }
  .hbf-home-feature-media { height: 165px; }
  .hbf-home-stats-grid { padding: 22px 8px; }
  .hbf-home-stat { padding: 6px; }
  .hbf-home-stat::after { display: none; }
  .hbf-home-stat strong { font-size: 1.25rem; }
  .hbf-home-stat small { font-size: .68rem; }
  .hbf-home-section { padding: 55px 0; }
  .hbf-home-section-head { align-items: flex-start; flex-direction: column; }
  .hbf-home-campaign-grid, .hbf-home-testimonial-grid, .hbf-home-steps, .hbf-home-story, .hbf-home-footer-grid { grid-template-columns: 1fr; }
  .hbf-home-campaign-card:nth-child(3), .hbf-home-testimonial:nth-child(3) { grid-column: auto; }
  .hbf-home-card-media { height: 190px; }
  .hbf-home-cause-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hbf-home-story-list { grid-column: auto; }
  .hbf-home-bottom-cta-inner { grid-template-columns: 1fr; }
  .hbf-home-cta-icon { margin: 0 auto; }
  .hbf-home-bottom-cta-inner > div:last-child > div { flex-direction: column; }
  .hbf-home-footer .hbf-footer-bottom { flex-direction: column; gap: 7px; }
}

/* Reset legacy logo motion so the compact bridge-heart mark stays crisp. */
.hbf-brand-mark { background: transparent; border-radius: 0; box-shadow: none; isolation: auto; transition: none; }
.hbf-brand:hover .hbf-brand-mark { transform: none; box-shadow: none; }
.hbf-site-header { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* =========================================================
   Donation Preview / Checkout — DonateFound v1.5.0
   ========================================================= */
.hbf-dp-page { --dp-navy:#0b2b57; --dp-text:#183553; --dp-muted:#6c7c8e; --dp-green:#08a678; --dp-green-dark:#07815f; --dp-border:#dfe8f1; --dp-soft:#f5f9fc; --dp-blue:#1f73c9; background:#fff; color:var(--dp-text); }
.hbf-dp-page > .hbf-container { padding-top:28px; padding-bottom:44px; }
.hbf-dp-breadcrumb { display:flex; align-items:center; gap:10px; margin:0 0 26px; color:#718196; font-size:.78rem; font-weight:650; }
.hbf-dp-breadcrumb a { color:#1765ad; }
.hbf-dp-layout { display:grid; grid-template-columns:minmax(0,2.18fr) minmax(285px,.94fr); gap:28px; align-items:start; }
.hbf-dp-main, .hbf-dp-sidebar { display:grid; gap:18px; }
.hbf-dp-campaign-card, .hbf-dp-form, .hbf-dp-side-card, .hbf-dp-impact-section, .hbf-dp-faq { border:1px solid var(--dp-border); border-radius:11px; background:#fff; box-shadow:0 7px 22px rgba(22,56,89,.055); }
.hbf-dp-campaign-card { padding:18px; }
.hbf-dp-campaign-top { display:grid; grid-template-columns:minmax(220px,.91fr) minmax(0,1fr); gap:18px; }
.hbf-dp-campaign-image { position:relative; overflow:hidden; min-height:255px; border-radius:7px; background:#eef4f7; }
.hbf-dp-campaign-image img { width:100%; height:100%; object-fit:cover; display:block; }
.hbf-dp-campaign-image > span { position:absolute; top:10px; left:10px; padding:5px 10px; border-radius:999px; color:#fff; background:var(--dp-green); font-size:.67rem; font-weight:850; }
.hbf-dp-campaign-info { min-width:0; padding:3px 0 0; }
.hbf-dp-category { display:flex; align-items:center; gap:7px; color:#2367bd; font-size:.73rem; font-weight:800; }
.hbf-dp-category i { width:25px; height:25px; display:grid; place-items:center; border-radius:50%; color:#6547bb; background:#eee8ff; font-style:normal; }
.hbf-dp-campaign-info h1 { margin:8px 0 8px; color:var(--dp-navy); font-size:clamp(1.45rem,2.5vw,2.05rem); line-height:1.02; letter-spacing:-.035em; }
.hbf-dp-campaign-info > p { margin:0 0 13px; color:#455d75; font-size:.78rem; line-height:1.58; }
.hbf-dp-organizer { display:flex; align-items:center; gap:8px; margin-bottom:18px; font-size:.69rem; }
.hbf-dp-organizer img, .hbf-dp-organizer > span { width:28px; height:28px; display:grid; place-items:center; border-radius:50%; object-fit:cover; color:#fff; background:linear-gradient(145deg,#2d7dbd,#09a778); font-size:.64rem; font-weight:900; }
.hbf-dp-organizer strong { color:#1d3a57; }
.hbf-dp-organizer b { width:15px; height:15px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--dp-green); font-size:.55rem; }
.hbf-dp-organizer small { color:#50657a; font-size:.68rem; }
.hbf-dp-money { display:flex; justify-content:space-between; gap:12px; color:#1b3550; font-size:.73rem; }
.hbf-dp-money--small { margin-top:-3px; font-size:.7rem; }
.hbf-dp-campaign-info .hbf-progress { height:6px; margin:10px 0 8px; background:#e8eff4; }
.hbf-dp-impact-summary { margin-top:14px; padding:13px 16px; border:1px solid #cfece3; border-radius:7px; background:linear-gradient(100deg,#f2fdf9,#f5fbf8); }
.hbf-dp-impact-summary h2 { margin:0 0 7px; color:#137657; font-size:.78rem; }
.hbf-dp-impact-summary ul { display:grid; gap:4px; margin:0; padding:0; list-style:none; color:#38586f; font-size:.69rem; }
.hbf-dp-impact-summary li { color:#3b586f; }
.hbf-dp-impact-summary li::first-letter { color:var(--dp-green); }

.hbf-dp-form { padding:18px; }
.hbf-dp-form-head h2, .hbf-dp-side-card h2, .hbf-dp-impact-section h2, .hbf-dp-faq h2 { margin:0; color:var(--dp-navy); font-size:1.02rem; letter-spacing:-.015em; }
.hbf-dp-form-head p, .hbf-dp-impact-section > p { margin:3px 0 14px; color:var(--dp-muted); font-size:.68rem; }
.hbf-dp-frequency { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:14px; }
.hbf-dp-frequency button { min-height:42px; border:1px solid #d9e4ed; border-radius:6px; color:#334f6c; background:#fff; font-size:.76rem; font-weight:800; }
.hbf-dp-frequency button.is-active { border-color:var(--dp-green); color:#fff; background:linear-gradient(95deg,#08a678,#079269); box-shadow:0 8px 17px rgba(8,166,120,.15); }
.hbf-dp-frequency button.is-disabled { cursor:not-allowed; opacity:.75; }
.hbf-dp-amount-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.hbf-dp-amount-card { min-height:76px; padding:9px 6px; border:1px solid #dbe5ee; border-radius:7px; color:var(--dp-text); background:#fff; text-align:center; cursor:pointer; }
.hbf-dp-amount-card:hover, .hbf-dp-amount-card.is-selected { border-color:var(--dp-green); background:#f2fcf8; box-shadow:inset 0 0 0 1px rgba(8,166,120,.18); }
.hbf-dp-amount-card strong { display:block; color:#0c8a64; font-size:.82rem; }
.hbf-dp-amount-card span { display:block; margin-top:4px; color:#4f6579; font-size:.59rem; line-height:1.25; }
.hbf-dp-label, .hbf-dp-fields label > span, .hbf-dp-message > span { display:block; margin:0 0 5px; color:#243f5d; font-size:.68rem; font-weight:800; }
.hbf-dp-custom-amount { display:flex; align-items:center; min-height:43px; margin-bottom:10px; overflow:hidden; border:1px solid #d7e3ec; border-radius:6px; }
.hbf-dp-custom-amount:focus-within { border-color:var(--dp-green); box-shadow:0 0 0 3px rgba(8,166,120,.1); }
.hbf-dp-custom-amount span { padding:0 12px; color:#38526d; font-weight:800; }
.hbf-dp-custom-amount input { min-width:0; width:100%; height:41px; padding:0 10px 0 0; border:0; outline:0; color:#183553; background:#fff; font-size:.82rem; }
.hbf-dp-checkbox { display:flex; align-items:center; gap:8px; margin:2px 0 14px; color:#3e546b; font-size:.66rem; cursor:pointer; }
.hbf-dp-checkbox input { position:absolute; opacity:0; pointer-events:none; }
.hbf-dp-checkbox > span { width:15px; height:15px; flex:0 0 auto; display:grid; place-items:center; border:1px solid #bdccda; border-radius:3px; background:#fff; }
.hbf-dp-checkbox input:checked + span { border-color:#1573cb; background:#1573cb; }
.hbf-dp-checkbox input:checked + span::after { content:""; color:#fff; font-size:.67rem; font-weight:900; }
.hbf-dp-checkbox i, .hbf-dp-summary i { width:14px; height:14px; display:inline-grid; place-items:center; border:1px solid #8ea0b1; border-radius:50%; color:#718195; font-size:.55rem; font-style:normal; }
.hbf-dp-subheading { margin:0 0 8px; color:var(--dp-navy); font-size:.77rem; }
.hbf-dp-fields { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hbf-dp-fields label, .hbf-dp-message { min-width:0; }
.hbf-dp-fields input, .hbf-dp-message textarea { width:100%; border:1px solid #d7e3ec; border-radius:6px; color:#203c58; background:#fff; outline:0; }
.hbf-dp-fields input { height:38px; padding:0 10px; font-size:.69rem; }
.hbf-dp-fields input:focus, .hbf-dp-message textarea:focus { border-color:var(--dp-green); box-shadow:0 0 0 3px rgba(8,166,120,.09); }
.hbf-dp-message { position:relative; display:block; margin-top:10px; }
.hbf-dp-message small { display:block; margin:-2px 0 5px; color:#7a8998; font-size:.6rem; }
.hbf-dp-message textarea { min-height:72px; padding:9px 10px; resize:vertical; font-size:.68rem; }
.hbf-dp-message em { position:absolute; right:9px; bottom:7px; color:#8997a6; font-size:.57rem; font-style:normal; }
.hbf-dp-help { margin:-5px 0 8px; color:#7a8997; font-size:.61rem; }
.hbf-dp-gateways { display:grid; grid-template-columns:1fr; gap:9px; }
.hbf-dp-gateway { position:relative; min-height:82px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:7px; border:1px solid #dbe5ee; border-radius:7px; text-align:center; cursor:pointer; }
.hbf-dp-gateway:hover, .hbf-dp-gateway.is-selected { border-color:var(--dp-green); background:#f4fcf9; box-shadow:inset 0 0 0 1px rgba(8,166,120,.12); }
.hbf-dp-gateway input { position:absolute; opacity:0; }
.hbf-dp-gateway i { color:#126ab4; font-size:1.05rem; font-style:normal; font-weight:900; }
.hbf-dp-gateway:nth-child(2) i { color:#1a52ad; }
.hbf-dp-gateway:nth-child(3) i { color:#e31863; }
.hbf-dp-gateway strong { margin-top:2px; color:#1c3956; font-size:.68rem; }
.hbf-dp-gateway span { margin-top:2px; color:#6d7d8e; font-size:.55rem; line-height:1.2; }
.hbf-dp-secure-bar { margin-top:9px; padding:7px 10px; border-radius:5px; color:#188260; background:#e9f9f3; font-size:.61rem; }
.hbf-dp-submit { width:100%; min-height:42px; margin-top:7px; border:0; border-radius:5px; color:#fff; background:linear-gradient(95deg,#08a678,#049a6f); font-size:.77rem; font-weight:850; cursor:pointer; box-shadow:0 8px 18px rgba(8,166,120,.16); }
.hbf-dp-submit:hover { background:var(--dp-green-dark); }
.hbf-dp-submit:disabled { opacity:.55; cursor:not-allowed; }
.hbf-dp-submit-note { display:flex; justify-content:center; align-items:center; gap:8px; padding-top:7px; color:#718195; font-size:.58rem; }
.hbf-dp-submit-note::first-letter { color:var(--dp-green); }
.hbf-dp-submit-note span { color:#a1afbc; }

.hbf-dp-sidebar { position:sticky; top:92px; }
.hbf-dp-side-card { padding:18px; }
.hbf-dp-summary > div:not(.hbf-dp-secure-box):not(.hbf-dp-payment-logos):not(.hbf-dp-trust-row) { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:10px 0; border-bottom:1px solid #e6edf3; color:#334e69; font-size:.68rem; }
.hbf-dp-summary h2 { margin-bottom:7px; }
.hbf-dp-summary strong { color:#173858; }
.hbf-dp-support-label { display:grid; gap:6px; padding:9px 0; border-bottom:1px solid #e6edf3; color:#334e69; font-size:.67rem; }
.hbf-dp-support-label > span { display:flex; align-items:center; gap:5px; }
.hbf-dp-support-label select { width:100%; height:36px; padding:0 9px; border:1px solid #d5e2ec; border-radius:5px; color:#2e4b67; background:#fff; font-size:.62rem; }
.hbf-dp-summary .hbf-dp-total { padding:13px 0 !important; border-bottom:0 !important; font-size:.77rem !important; font-weight:800; }
.hbf-dp-total strong { color:var(--dp-green) !important; font-size:.94rem; }
.hbf-dp-secure-box { display:grid; grid-template-columns:auto 1fr; gap:10px; margin:4px 0 13px; padding:13px; border:1px solid #cce9df; border-radius:6px; background:linear-gradient(110deg,#eafaf4,#f3fbf8); }
.hbf-dp-secure-box > i { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--dp-green); font-style:normal; }
.hbf-dp-secure-box strong { display:block; color:#157957; font-size:.68rem; }
.hbf-dp-secure-box p { margin:4px 0 0; color:#526c65; font-size:.57rem; line-height:1.45; }
.hbf-dp-payment-logos { display:flex; justify-content:space-between; align-items:center; gap:7px; padding:4px 5px 12px; }
.hbf-dp-payment-logos b { color:#0d4da4; font-size:.67rem; font-weight:900; }
.hbf-dp-payment-logos b:nth-child(2) { color:#e23b31; letter-spacing:-4px; }
.hbf-dp-trust-row { display:grid; grid-template-columns:repeat(3,1fr); gap:4px; padding-top:10px; border-top:1px solid #e6edf3; }
.hbf-dp-trust-row span { color:#62778d; text-align:center; font-size:.53rem; font-weight:800; }
.hbf-dp-trust-row small { display:block; color:#8999a8; font-size:.48rem; font-weight:600; }
.hbf-dp-glance dl { margin:12px 0; }
.hbf-dp-glance dl > div { display:flex; justify-content:space-between; gap:12px; margin:7px 0; color:#405b74; font-size:.67rem; }
.hbf-dp-glance dt, .hbf-dp-glance dd { margin:0; }
.hbf-dp-glance dd { color:#1a3653; font-weight:800; }
.hbf-dp-glance dd.is-green { color:var(--dp-green); }
.hbf-dp-glance > a, .hbf-dp-supporters > a { display:grid; place-items:center; min-height:34px; border:1px solid #d7e3ec; border-radius:5px; color:#245daa; font-size:.65rem; font-weight:800; }
.hbf-dp-supporter-list { display:grid; gap:10px; margin:12px 0; }
.hbf-dp-supporter { display:grid; grid-template-columns:30px 1fr auto; align-items:center; gap:8px; }
.hbf-dp-supporter img { width:30px; height:30px; border-radius:50%; object-fit:cover; background:#eef3f7; }
.hbf-dp-supporter span strong { display:block; color:#24405d; font-size:.63rem; }
.hbf-dp-supporter span small { display:block; color:#8a98a7; font-size:.52rem; }
.hbf-dp-supporter > b { color:#183a58; font-size:.61rem; }
.hbf-dp-first-supporter { display:grid; place-items:center; padding:18px 6px; color:#6e8192; text-align:center; }
.hbf-dp-first-supporter > span { color:var(--dp-green); font-size:1.55rem; }
.hbf-dp-first-supporter strong { color:#23415f; font-size:.68rem; }
.hbf-dp-first-supporter small { font-size:.56rem; }
.hbf-dp-testimonial > span { display:block; color:var(--dp-green); font-size:2rem; font-weight:900; line-height:1; }
.hbf-dp-testimonial > p { margin:2px 0 15px; color:#38526c; font-size:.68rem; line-height:1.55; }
.hbf-dp-testimonial > div { display:flex; align-items:center; gap:9px; }
.hbf-dp-testimonial > div i { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; color:#fff; background:linear-gradient(145deg,#146fb6,#08a678); font-size:.57rem; font-style:normal; font-weight:900; }
.hbf-dp-testimonial > div strong { color:#28435e; font-size:.65rem; }
.hbf-dp-testimonial > div small { display:block; color:#82909e; font-size:.53rem; font-weight:500; }
.hbf-dp-testimonial > b { display:block; margin-top:8px; color:#ffb000; font-size:.72rem; letter-spacing:1px; }

.hbf-dp-impact-section, .hbf-dp-faq { margin-top:18px; padding:17px; }
.hbf-dp-impact-section > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.hbf-dp-impact-section article { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:10px; min-height:63px; padding:10px; border:1px solid #dfe8f0; border-radius:7px; }
.hbf-dp-impact-section article i { width:36px; height:36px; display:grid; place-items:center; border-radius:50%; color:#157bd1; background:#e8f3ff; font-style:normal; }
.hbf-dp-impact-section article:nth-child(2) i { color:#13835f; background:#e7f8f1; }
.hbf-dp-impact-section article:nth-child(3) i { color:#8055d4; background:#f0eaff; }
.hbf-dp-impact-section article:nth-child(4) i { color:#ef711d; background:#fff0e5; }
.hbf-dp-impact-section article strong { display:block; color:#213d59; font-size:.7rem; }
.hbf-dp-impact-section article small { display:block; color:#586d82; font-size:.55rem; line-height:1.28; }
.hbf-dp-faq > div { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin-top:9px; }
.hbf-dp-faq details { border-top:1px solid #e3ebf2; }
.hbf-dp-faq summary { padding:8px 0; color:#294662; font-size:.62rem; font-weight:800; cursor:pointer; }
.hbf-dp-faq details p { margin:0 0 8px; color:#6b7b8c; font-size:.58rem; line-height:1.45; }
.hbf-dp-bottom-cta { margin-top:0; }
.hbf-single-preview-button { width:100%; border-radius:8px; }
.hbf-quick-donation { margin-top:12px; }
.hbf-quick-donation > summary { color:#527087; font-size:.78rem; font-weight:750; cursor:pointer; text-align:center; }
.hbf-quick-donation[open] > summary { margin-bottom:15px; }

@media (max-width:1000px) {
  .hbf-dp-layout { grid-template-columns:1fr; }
  .hbf-dp-sidebar { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hbf-dp-summary { grid-row:span 2; }
  .hbf-dp-impact-section > div, .hbf-dp-faq > div { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:720px) {
  .hbf-dp-page > .hbf-container { padding-top:18px; }
  .hbf-dp-campaign-top { grid-template-columns:1fr; }
  .hbf-dp-campaign-image { min-height:230px; }
  .hbf-dp-sidebar { grid-template-columns:1fr; }
  .hbf-dp-summary { grid-row:auto; }
  .hbf-dp-amount-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hbf-dp-gateways { grid-template-columns:1fr; }
  .hbf-dp-fields { grid-template-columns:1fr; }
  .hbf-dp-faq > div { grid-template-columns:1fr; }
}
@media (max-width:480px) {
  .hbf-dp-campaign-card, .hbf-dp-form, .hbf-dp-side-card, .hbf-dp-impact-section, .hbf-dp-faq { padding:14px; border-radius:9px; }
  .hbf-dp-frequency { grid-template-columns:1fr 1fr; }
  .hbf-dp-amount-grid, .hbf-dp-impact-section > div { grid-template-columns:1fr 1fr; }
  .hbf-dp-gateways { grid-template-columns:1fr; }
  .hbf-dp-campaign-image { min-height:210px; }
  .hbf-dp-campaign-info h1 { font-size:1.55rem; }
  .hbf-dp-organizer small { display:none; }
  .hbf-dp-breadcrumb { overflow-x:auto; white-space:nowrap; }
}

/* --------------------------------------------------------------------------
   DonateFound professional campaign page — v1.6.0
   -------------------------------------------------------------------------- */
.single-hbf_campaign {
  --cp-navy:#0a2c62;
  --cp-blue:#1764c0;
  --cp-green:#079b6c;
  --cp-green-dark:#087d5b;
  --cp-text:#173552;
  --cp-muted:#64788c;
  --cp-border:#dce6ef;
  --cp-soft:#f4f9fd;
  --cp-card:#fff;
  background:#f8fbfe;
  color:var(--cp-text);
}
.single-hbf_campaign .hbf-main { overflow:visible; }
.hbf-cp-page { padding:0; background:linear-gradient(180deg,#f5faff 0,#fff 430px); }
.hbf-cp-page > .hbf-container { padding:26px 0 54px; }
.hbf-cp-breadcrumb { display:flex; align-items:center; gap:10px; min-height:34px; margin-bottom:17px; color:#6c8296; font-size:.78rem; white-space:nowrap; overflow-x:auto; scrollbar-width:none; }
.hbf-cp-breadcrumb::-webkit-scrollbar { display:none; }
.hbf-cp-breadcrumb a { color:#2866aa; font-weight:750; }
.hbf-cp-breadcrumb strong { color:#708497; font-weight:650; }
.hbf-cp-breadcrumb span { color:#a0afbc; }

.hbf-cp-top-layout { display:grid; grid-template-columns:minmax(0,2.15fr) minmax(300px,.85fr); gap:18px; align-items:start; }
.hbf-cp-overview-card,
.hbf-cp-donate-card,
.hbf-cp-glance-card,
.hbf-cp-security-card,
.hbf-cp-tabs-card,
.hbf-cp-impact-card,
.hbf-cp-latest-card,
.hbf-cp-supporters-card,
.hbf-cp-related-card,
.hbf-cp-organizer-card {
  background:var(--cp-card);
  border:1px solid var(--cp-border);
  border-radius:10px;
  box-shadow:0 7px 22px rgba(20,55,90,.055);
}
.hbf-cp-overview-card { display:grid; grid-template-columns:minmax(340px,1.13fr) minmax(300px,.87fr); gap:20px; padding:9px; }
.hbf-cp-gallery { min-width:0; }
.hbf-cp-main-image-wrap { position:relative; overflow:hidden; aspect-ratio:1.06/1; min-height:420px; border-radius:7px; background:#edf3f7; }
.hbf-cp-main-image { width:100%; height:100%; display:block; object-fit:cover; transition:opacity .16s ease; }
.hbf-cp-main-image.is-changing { opacity:.55; }
.hbf-cp-featured { position:absolute; top:12px; left:12px; z-index:2; padding:5px 11px; border-radius:5px; color:#fff; background:#08a778; font-size:.69rem; font-weight:850; box-shadow:0 5px 14px rgba(8,167,120,.25); }
.hbf-cp-gallery-open { position:absolute; right:10px; bottom:10px; display:grid; grid-template-columns:auto auto; column-gap:7px; align-items:center; min-width:100px; padding:8px 10px; border:0; border-radius:6px; color:#fff; background:rgba(6,25,45,.78); backdrop-filter:blur(5px); cursor:pointer; text-align:left; }
.hbf-cp-gallery-open > span { font-size:.65rem; font-weight:800; }
.hbf-cp-gallery-open > small { grid-column:2; color:#dce8f2; font-size:.51rem; }
.hbf-cp-thumbnails { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; margin-top:7px; }
.hbf-cp-thumbnail { height:62px; padding:0; overflow:hidden; border:2px solid transparent; border-radius:5px; background:#eef4f8; cursor:pointer; }
.hbf-cp-thumbnail img { width:100%; height:100%; display:block; object-fit:cover; }
.hbf-cp-thumbnail:hover,.hbf-cp-thumbnail.is-active { border-color:var(--cp-green); }

.hbf-cp-summary { min-width:0; display:flex; flex-direction:column; padding:18px 14px 14px 0; }
.hbf-cp-category { align-self:flex-start; display:inline-flex; align-items:center; gap:6px; padding:5px 9px; border-radius:999px; color:#5a40cc; background:#f1edff; font-size:.65rem; font-weight:850; }
.hbf-cp-summary h1 { margin:14px 0 8px; color:var(--cp-navy); font-size:clamp(1.75rem,3vw,2.45rem); line-height:1.02; letter-spacing:-.04em; }
.hbf-cp-excerpt { margin:0 0 15px; color:#405a73; font-size:.82rem; line-height:1.58; }
.hbf-cp-organizer-inline { display:flex; align-items:center; gap:8px; margin:4px 0 7px; color:#4f6478; font-size:.67rem; }
.hbf-cp-organizer-inline img,.hbf-cp-organizer-inline > span { width:31px; height:31px; flex:0 0 31px; border-radius:50%; object-fit:cover; }
.hbf-cp-organizer-inline > span { display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--cp-blue),var(--cp-green)); font-size:.58rem; font-weight:850; }
.hbf-cp-organizer-inline strong { color:#253f58; }
.hbf-cp-organizer-inline b { margin-left:4px; color:#258a66; font-size:.59rem; }
.hbf-cp-location { margin:0 0 20px; color:#687d91; font-size:.68rem; }
.hbf-cp-progress-head,.hbf-cp-progress-foot { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.hbf-cp-progress-head strong { color:#22425f; font-size:.78rem; }
.hbf-cp-progress-head small { color:#6e8295; font-size:.62rem; font-weight:650; }
.hbf-cp-progress { height:8px; overflow:hidden; margin:10px 0 7px; border-radius:999px; background:#e5edf3; }
.hbf-cp-progress span { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#08a97a,#05966d); }
.hbf-cp-progress-foot strong { color:#314e68; font-size:.67rem; }
.hbf-cp-actions { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-top:auto; padding-top:24px; }
.hbf-cp-action { min-height:40px; display:flex; align-items:center; justify-content:center; gap:6px; border:1px solid #d8e3ec; border-radius:6px; color:#335c88; background:#fff; font-size:.67rem; font-weight:800; cursor:pointer; }
.hbf-cp-action:hover,.hbf-cp-action.is-saved { color:var(--cp-green); border-color:#91d7c1; background:#f2fcf8; }

.hbf-cp-sidebar { position:sticky; top:91px; display:grid; gap:14px; }
.hbf-cp-donate-card,.hbf-cp-glance-card,.hbf-cp-security-card { padding:18px; }
.hbf-cp-donate-card h2,.hbf-cp-glance-card h3,.hbf-cp-security-card h3 { margin:0 0 14px; color:var(--cp-navy); font-size:1.02rem; letter-spacing:-.015em; }
.hbf-cp-frequency { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom:12px; }
.hbf-cp-frequency button { min-height:39px; border:1px solid #d9e4ec; border-radius:6px; color:#3c5871; background:#fff; font-size:.67rem; font-weight:800; }
.hbf-cp-frequency button.is-active { color:#fff; border-color:var(--cp-green); background:var(--cp-green); }
.hbf-cp-frequency button:disabled { opacity:.55; cursor:not-allowed; }
.hbf-cp-amounts { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.hbf-cp-amounts button { min-height:42px; border:1px solid #d9e4ec; border-radius:6px; color:#294765; background:#fff; font-size:.7rem; font-weight:800; cursor:pointer; }
.hbf-cp-amounts button:hover,.hbf-cp-amounts button.is-selected { color:var(--cp-green); border-color:var(--cp-green); background:#f3fcf9; }
.hbf-cp-custom-amount { height:46px; display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:7px; margin-top:11px; padding:0 11px; border:1px solid #d4e0ea; border-radius:6px; color:#1c3c5c; background:#fff; }
.hbf-cp-custom-amount input { min-width:0; height:100%; border:0; outline:0; color:#1e3c59; background:transparent; font-size:.89rem; font-weight:750; }
.hbf-cp-custom-amount b { color:#6b7e90; font-size:.63rem; }
.hbf-cp-donate-button { min-height:44px; display:flex; align-items:center; justify-content:center; margin-top:12px; border-radius:5px; color:#fff; background:linear-gradient(90deg,#08a979,#04976d); font-size:.76rem; font-weight:850; box-shadow:0 8px 17px rgba(8,165,119,.18); }
.hbf-cp-donate-button:hover { color:#fff; background:var(--cp-green-dark); }
.hbf-cp-secure-line { margin:9px 0 0; color:#788b9d; font-size:.58rem; text-align:center; }
.hbf-cp-glance-card dl { margin:0 0 13px; }
.hbf-cp-glance-card dl > div { display:flex; justify-content:space-between; gap:12px; margin:8px 0; color:#4c657c; font-size:.66rem; }
.hbf-cp-glance-card dt,.hbf-cp-glance-card dd { margin:0; }
.hbf-cp-glance-card dd { color:#1d3b58; font-weight:850; }
.hbf-cp-glance-card dd.is-green { color:var(--cp-green); }
.hbf-cp-glance-card > a,.hbf-cp-organizer-card > a { min-height:37px; display:flex; align-items:center; justify-content:center; border:1px solid #d8e3ec; border-radius:5px; color:#245ca5; font-size:.65rem; font-weight:800; }
.hbf-cp-security-head { display:grid; grid-template-columns:auto 1fr; gap:10px; padding:12px; border:1px solid #cce9df; border-radius:6px; background:linear-gradient(110deg,#eafaf4,#f5fcf9); }
.hbf-cp-security-head i { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--cp-green); font-style:normal; }
.hbf-cp-security-head strong { color:#14805c; font-size:.67rem; }
.hbf-cp-security-head p { margin:3px 0 0; color:#557267; font-size:.56rem; line-height:1.4; }
.hbf-cp-payment-brands { display:flex; justify-content:space-between; gap:7px; padding:15px 3px 12px; }
.hbf-cp-payment-brands b { color:#1457a8; font-size:.64rem; }
.hbf-cp-payment-brands b:nth-child(2) { color:#e44932; letter-spacing:-3px; }
.hbf-cp-trust-badges { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; padding-top:11px; border-top:1px solid #e3eaf0; }
.hbf-cp-trust-badges span { color:#60778c; text-align:center; font-size:.52rem; font-weight:850; }
.hbf-cp-trust-badges small { display:block; color:#90a0ae; font-size:.46rem; font-weight:600; }

.hbf-cp-tabs-card { margin-top:18px; overflow:hidden; }
.hbf-cp-tabs { display:flex; align-items:center; gap:26px; min-height:60px; padding:0 18px; border-bottom:1px solid var(--cp-border); overflow-x:auto; }
.hbf-cp-tabs button { position:relative; align-self:stretch; padding:0 1px; border:0; color:#526a80; background:transparent; font-size:.72rem; font-weight:800; white-space:nowrap; cursor:pointer; }
.hbf-cp-tabs button span { display:inline-grid; place-items:center; min-width:21px; height:21px; margin-left:5px; padding:0 5px; border-radius:999px; color:#698096; background:#edf3f7; font-size:.55rem; }
.hbf-cp-tabs button::after { content:""; position:absolute; right:0; bottom:0; left:0; height:2px; background:transparent; }
.hbf-cp-tabs button.is-active { color:#1f58b5; }
.hbf-cp-tabs button.is-active::after { background:#2c72e5; }
.hbf-cp-tab-panel { padding:22px 20px 20px; }
.hbf-cp-tab-panel[hidden] { display:none !important; }
.hbf-cp-tab-panel h2 { margin:0 0 12px; color:var(--cp-navy); font-size:1rem; }
.hbf-cp-story-content { color:#36536d; font-size:.74rem; line-height:1.7; }
.hbf-cp-story-content > :first-child { margin-top:0; }
.hbf-cp-story-content h2,.hbf-cp-story-content h3 { color:#173a5e; }
.hbf-cp-story-content img { border-radius:8px; }
.hbf-cp-video { overflow:hidden; margin:17px 0; border-radius:8px; }
.hbf-cp-video iframe { width:100%; min-height:400px; }
.hbf-cp-story-points { margin:16px 0; }
.hbf-cp-story-points p { margin:8px 0; color:#31546d; font-size:.71rem; }
.hbf-cp-story-points p::first-letter { color:var(--cp-green); }
.hbf-cp-facts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-top:20px; }
.hbf-cp-facts article { display:grid; grid-template-columns:auto 1fr; align-items:center; gap:10px; min-height:72px; padding:11px; border:1px solid #dfe7ee; border-radius:7px; }
.hbf-cp-facts i { width:34px; height:34px; display:grid; place-items:center; border-radius:50%; color:#337dd5; background:#e9f3ff; font-style:normal; }
.hbf-cp-facts article:nth-child(2) i { color:#d79b16; background:#fff5d9; }
.hbf-cp-facts article:nth-child(3) i { color:#169967; background:#e8f8f1; }
.hbf-cp-facts article:nth-child(4) i { color:#4f82d9; background:#edf3ff; }
.hbf-cp-facts small { display:block; color:#697f92; font-size:.55rem; }
.hbf-cp-facts strong { display:block; color:#23425e; font-size:.63rem; }
.hbf-cp-update-list { display:grid; gap:12px; }
.hbf-cp-update-list article { padding:14px; border:1px solid #e0e8ef; border-radius:7px; background:#fbfdff; }
.hbf-cp-update-list span { color:var(--cp-green); font-size:.58rem; font-weight:800; }
.hbf-cp-update-list h3 { margin:4px 0; color:#203f5d; font-size:.8rem; }
.hbf-cp-update-list p { margin:0; color:#64798d; font-size:.67rem; }
.hbf-cp-tab-panel .hbf-donor-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.hbf-cp-tab-panel .hbf-donor { margin:0; padding:12px; border:1px solid #e0e8ef; border-radius:7px; }
.hbf-cp-comment-list { margin:0 0 20px; padding:0; list-style:none; }
.hbf-cp-comment-list .comment { margin:0 0 10px; padding:13px; border:1px solid #e0e8ef; border-radius:7px; }
.hbf-cp-comment-list .comment-meta { font-size:.62rem; }
.hbf-cp-comment-list .comment-content { color:#536b80; font-size:.68rem; }
.hbf-cp-tab-panel .comment-respond { margin-top:20px; padding-top:18px; border-top:1px solid #e1e8ee; }
.hbf-cp-tab-panel .comment-reply-title { color:var(--cp-navy); font-size:.9rem; }
.hbf-cp-tab-panel .comment-form { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hbf-cp-tab-panel .comment-form-comment,.hbf-cp-tab-panel .comment-form-cookies-consent,.hbf-cp-tab-panel .form-submit,.hbf-cp-tab-panel .logged-in-as { grid-column:1/-1; }
.hbf-cp-tab-panel .comment-form label { display:block; margin-bottom:4px; color:#39546d; font-size:.63rem; font-weight:750; }
.hbf-cp-tab-panel .comment-form input:not([type="checkbox"]),.hbf-cp-tab-panel .comment-form textarea { width:100%; border:1px solid #d9e4ec; border-radius:6px; padding:9px; }
.hbf-cp-comment-submit { min-height:40px; padding:0 18px; border:0; border-radius:5px; color:#fff; background:var(--cp-green); font-weight:800; cursor:pointer; }
.hbf-cp-empty-note { color:#72869a; font-size:.68rem; }

.hbf-cp-middle-grid { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:18px; margin-top:18px; }
.hbf-cp-impact-card,.hbf-cp-latest-card,.hbf-cp-supporters-card,.hbf-cp-related-card,.hbf-cp-organizer-card { padding:18px; }
.hbf-cp-impact-card > header,.hbf-cp-latest-card > header,.hbf-cp-supporters-card > header,.hbf-cp-related-card > header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:13px; }
.hbf-cp-impact-card h2,.hbf-cp-latest-card h2,.hbf-cp-supporters-card h2,.hbf-cp-related-card h2,.hbf-cp-organizer-card h2 { margin:0; color:var(--cp-navy); font-size:.92rem; }
.hbf-cp-impact-card header p { margin:3px 0 0; color:#7b8d9d; font-size:.59rem; }
.hbf-cp-latest-card header button,.hbf-cp-supporters-card header button { padding:0; border:0; color:#2769c4; background:transparent; font-size:.6rem; font-weight:850; cursor:pointer; }
.hbf-cp-impact-card > div { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
.hbf-cp-impact-card article { min-height:155px; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:12px 8px; border:1px solid #dfe8ef; border-radius:7px; text-align:center; }
.hbf-cp-impact-card article i { width:42px; height:42px; display:grid; place-items:center; margin-bottom:8px; border-radius:50%; color:#167dd7; background:#e8f3ff; font-style:normal; }
.hbf-cp-impact-card article:nth-child(2) i { color:#118a61; background:#e8f8f1; }
.hbf-cp-impact-card article:nth-child(3) i { color:#8150d8; background:#f0eaff; }
.hbf-cp-impact-card article:nth-child(4) i { color:#ef711c; background:#fff0e4; }
.hbf-cp-impact-card article strong { color:#23415d; font-size:.63rem; }
.hbf-cp-impact-card article p { margin:6px 0; color:#667b8f; font-size:.53rem; line-height:1.35; }
.hbf-cp-impact-card article b { color:var(--cp-green); font-size:.72rem; }
.hbf-cp-latest-list { display:grid; }
.hbf-cp-latest-list article { display:grid; grid-template-columns:76px 1fr auto; gap:10px; align-items:center; padding:10px 0; border-top:1px solid #e4eaf0; }
.hbf-cp-latest-list article:first-child { border-top:0; padding-top:0; }
.hbf-cp-latest-list img { width:76px; height:65px; border-radius:6px; object-fit:cover; }
.hbf-cp-latest-list h3 { margin:0; color:#24425f; font-size:.67rem; }
.hbf-cp-latest-list small { color:#8998a7; font-size:.52rem; }
.hbf-cp-latest-list p { margin:4px 0 0; color:#5e7387; font-size:.56rem; line-height:1.4; }
.hbf-cp-latest-list > article > b { color:#597791; font-size:.55rem; white-space:nowrap; }

.hbf-cp-supporters-card { margin-top:18px; }
.hbf-cp-supporter-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.hbf-cp-supporter-grid article { min-width:0; display:grid; grid-template-columns:auto 1fr; column-gap:8px; align-items:center; }
.hbf-cp-supporter-grid img,.hbf-cp-supporter-grid article > span { grid-row:1/4; width:38px; height:38px; border-radius:50%; object-fit:cover; }
.hbf-cp-supporter-grid article > span { display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--cp-blue),var(--cp-green)); font-size:.6rem; font-weight:800; }
.hbf-cp-supporter-grid strong { overflow:hidden; color:#28455f; font-size:.61rem; text-overflow:ellipsis; white-space:nowrap; }
.hbf-cp-supporter-grid b { color:#183b5d; font-size:.59rem; }
.hbf-cp-supporter-grid small { color:#8999a7; font-size:.5rem; }
.hbf-cp-first-supporter { grid-column:1/-1; display:flex; align-items:center; justify-content:center; gap:10px; min-height:70px; color:#6e8294; }
.hbf-cp-first-supporter > span { color:var(--cp-green); font-size:1.4rem; }
.hbf-cp-first-supporter a { color:var(--cp-green); font-weight:800; }

.hbf-cp-bottom-grid { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr); gap:18px; margin-top:18px; }
.hbf-cp-related-card header a { color:#2468c4; font-size:.6rem; font-weight:850; }
.hbf-cp-related-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }
.hbf-cp-related-grid article { overflow:hidden; border:1px solid #dfe7ee; border-radius:7px; }
.hbf-cp-related-image { display:block; height:125px; overflow:hidden; }
.hbf-cp-related-image img { width:100%; height:100%; display:block; object-fit:cover; transition:transform .25s ease; }
.hbf-cp-related-grid article:hover .hbf-cp-related-image img { transform:scale(1.025); }
.hbf-cp-related-grid article > div { padding:10px; }
.hbf-cp-related-grid h3 { min-height:36px; margin:0 0 8px; font-size:.67rem; line-height:1.35; }
.hbf-cp-related-grid h3 a { color:#213f5c; }
.hbf-cp-related-grid p { display:flex; justify-content:space-between; gap:8px; margin:5px 0; color:#657b8e; font-size:.49rem; }
.hbf-cp-related-grid p strong { color:#31506a; }
.hbf-cp-mini-progress { height:5px; overflow:hidden; border-radius:999px; background:#e6edf3; }
.hbf-cp-mini-progress span { display:block; height:100%; border-radius:inherit; background:var(--cp-green); }
.hbf-cp-organizer-profile { display:flex; align-items:center; gap:10px; margin:15px 0; }
.hbf-cp-organizer-profile img,.hbf-cp-organizer-profile > span { width:48px; height:48px; border-radius:50%; object-fit:cover; }
.hbf-cp-organizer-profile > span { display:grid; place-items:center; color:#fff; background:linear-gradient(135deg,var(--cp-blue),var(--cp-green)); font-size:.7rem; font-weight:850; }
.hbf-cp-organizer-profile strong { display:block; color:#26445f; font-size:.69rem; }
.hbf-cp-organizer-profile small { display:block; color:#238763; font-size:.53rem; }
.hbf-cp-organizer-card > p { color:#587086; font-size:.61rem; line-height:1.55; }
.hbf-cp-organizer-stats { display:grid; grid-template-columns:repeat(3,1fr); margin:15px 0; }
.hbf-cp-organizer-stats span { padding:0 6px; border-left:1px solid #e0e8ee; text-align:center; }
.hbf-cp-organizer-stats span:first-child { border-left:0; }
.hbf-cp-organizer-stats b { display:block; color:#24425f; font-size:.67rem; }
.hbf-cp-organizer-stats small { display:block; color:#8294a4; font-size:.49rem; }

.hbf-cp-cta { margin-top:6px; color:#fff; background:linear-gradient(105deg,#0752b3,#073a7f); }
.hbf-cp-cta > .hbf-container { min-height:150px; display:grid; grid-template-columns:130px 1fr 130px; align-items:center; gap:20px; text-align:center; }
.hbf-cp-cta > .hbf-container > span { color:rgba(255,255,255,.18); font-size:5rem; }
.hbf-cp-cta h2 { margin:0; font-size:1.55rem; }
.hbf-cp-cta p { margin:4px 0 12px; color:#dbe8f8; font-size:.71rem; }
.hbf-cp-cta div div div { display:flex; justify-content:center; gap:10px; }
.hbf-cp-cta a { min-height:38px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border-radius:5px; color:#fff; background:var(--cp-green); font-size:.65rem; font-weight:850; }
.hbf-cp-cta a + a { border:1px solid rgba(255,255,255,.8); background:transparent; }

.hbf-cp-lightbox { position:fixed; inset:0; z-index:99999; display:grid; place-items:center; padding:35px; background:rgba(4,17,29,.9); }
.hbf-cp-lightbox[hidden] { display:none; }
.hbf-cp-lightbox img { max-width:min(1100px,92vw); max-height:88vh; border-radius:8px; box-shadow:0 25px 80px rgba(0,0,0,.4); }
.hbf-cp-lightbox-close { position:absolute; top:20px; right:25px; width:44px; height:44px; border:1px solid rgba(255,255,255,.5); border-radius:50%; color:#fff; background:rgba(0,0,0,.35); font-size:1.8rem; cursor:pointer; }
body.hbf-cp-modal-open { overflow:hidden; }

@media (max-width:1080px) {
  .hbf-cp-top-layout { grid-template-columns:minmax(0,1fr) 310px; }
  .hbf-cp-overview-card { grid-template-columns:1fr; }
  .hbf-cp-summary { padding:10px 12px 14px; }
  .hbf-cp-main-image-wrap { aspect-ratio:16/10; min-height:360px; }
  .hbf-cp-actions { margin-top:4px; }
  .hbf-cp-impact-card > div { grid-template-columns:repeat(2,1fr); }
  .hbf-cp-supporter-grid { grid-template-columns:repeat(3,1fr); row-gap:16px; }
}
@media (max-width:860px) {
  .hbf-cp-top-layout,.hbf-cp-middle-grid,.hbf-cp-bottom-grid { grid-template-columns:1fr; }
  .hbf-cp-sidebar { position:static; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .hbf-cp-donate-card { grid-row:span 2; }
  .hbf-cp-security-card { align-self:start; }
  .hbf-cp-facts { grid-template-columns:repeat(2,1fr); }
  .hbf-cp-related-image { height:145px; }
  .hbf-cp-cta > .hbf-container { grid-template-columns:70px 1fr 70px; }
}
@media (max-width:620px) {
  .hbf-cp-page > .hbf-container { padding-top:17px; }
  .hbf-cp-overview-card { padding:7px; }
  .hbf-cp-main-image-wrap { min-height:290px; }
  .hbf-cp-thumbnail { height:48px; }
  .hbf-cp-summary h1 { font-size:1.8rem; }
  .hbf-cp-organizer-inline { flex-wrap:wrap; }
  .hbf-cp-organizer-inline b { margin-left:39px; margin-top:-8px; }
  .hbf-cp-sidebar { grid-template-columns:1fr; }
  .hbf-cp-donate-card { grid-row:auto; }
  .hbf-cp-tabs { gap:18px; }
  .hbf-cp-tab-panel { padding:18px 14px; }
  .hbf-cp-tab-panel .hbf-donor-list,.hbf-cp-tab-panel .comment-form { grid-template-columns:1fr; }
  .hbf-cp-tab-panel .comment-form > * { grid-column:1; }
  .hbf-cp-impact-card > div,.hbf-cp-facts,.hbf-cp-related-grid { grid-template-columns:1fr 1fr; }
  .hbf-cp-related-grid article:last-child { grid-column:1/-1; }
  .hbf-cp-supporter-grid { grid-template-columns:1fr 1fr; }
  .hbf-cp-latest-list article { grid-template-columns:68px 1fr; }
  .hbf-cp-latest-list > article > b { display:none; }
  .hbf-cp-cta > .hbf-container { min-height:180px; grid-template-columns:1fr; padding:24px 0; }
  .hbf-cp-cta > .hbf-container > span { display:none; }
}
@media (max-width:420px) {
  .hbf-cp-main-image-wrap { min-height:240px; }
  .hbf-cp-gallery-open { min-width:auto; }
  .hbf-cp-gallery-open > span,.hbf-cp-gallery-open > small { display:none; }
  .hbf-cp-actions { grid-template-columns:1fr; }
  .hbf-cp-impact-card > div,.hbf-cp-facts,.hbf-cp-related-grid,.hbf-cp-supporter-grid { grid-template-columns:1fr; }
  .hbf-cp-related-grid article:last-child { grid-column:auto; }
  .hbf-cp-impact-card article { min-height:125px; }
  .hbf-cp-cta div div div { flex-direction:column; }
}
@media (prefers-reduced-motion:reduce) {
  .hbf-cp-main-image,.hbf-cp-related-image img { transition:none; }
}

/* v1.7.0 — SVG icon system and slightly larger interface text. */
html { font-size: 17px; }
.hbf-svg-icon {
  display: inline-block;
  width: 1.08em;
  height: 1.08em;
  flex: 0 0 auto;
  vertical-align: -0.16em;
  overflow: visible;
}
a .hbf-svg-icon,
button .hbf-svg-icon,
label .hbf-svg-icon { pointer-events: none; }
.hbf-home-stat-icon .hbf-svg-icon,
.hbf-home-step-icon .hbf-svg-icon,
.hbf-home-benefit-icon .hbf-svg-icon,
.hbf-home-cause-card > span .hbf-svg-icon { width: 1.35em; height: 1.35em; }
.hbf-home-stars,
.hbf-dp-stars { display: inline-flex; align-items: center; gap: 2px; color: #ffb000; letter-spacing: 0; }
.hbf-home-stars .hbf-svg-icon,
.hbf-dp-stars .hbf-svg-icon { width: .88rem; height: .88rem; }
.hbf-home-quote .hbf-svg-icon { width: 1.3em; height: 1.3em; }
.hbf-home-story-list li { display: flex; align-items: center; gap: 7px; }
.hbf-home-story-list li .hbf-svg-icon { color: var(--hbf-home-green); }
.hbf-cp-payment-brands b,
.hbf-dp-payment-logos b { display: inline-flex; align-items: center; justify-content: center; gap: 4px; }
.hbf-cp-payment-brands .hbf-svg-icon,
.hbf-dp-payment-logos .hbf-svg-icon { width: 1.15rem; height: 1.15rem; }
.hbf-cp-lightbox-close { display: grid; place-items: center; font-size: 1rem; }
.hbf-cp-lightbox-close .hbf-svg-icon { width: 1.45rem; height: 1.45rem; }
.hbf-cp-organizer-stats b { display: flex; align-items: center; justify-content: center; gap: 3px; }
.hbf-cp-organizer-stats b .hbf-svg-icon { color: #ffb000; }
.hbf-pagination .nav-links { display: flex; align-items: center; justify-content: center; gap: 8px; }
.hbf-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; }
.hbf-pagination .hbf-svg-icon { width: 1rem; height: 1rem; }

/* Use an SVG check mark instead of a font glyph in custom donation checkboxes. */
.hbf-dp-checkbox input:checked + span::after {
  content: "";
  width: 12px;
  height: 12px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E");
}

/* Decorative CTA hearts are SVG masks, not text characters. */
.hbf-home-bottom-cta::before,
.hbf-home-bottom-cta::after {
  content: "";
  width: 8rem;
  height: 8rem;
  background: rgba(255,255,255,.12);
  -webkit-mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M20.8 4.7a5.5 5.5 0 0 0-7.8 0L12 5.8l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.5 1-1a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
  mask: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7'%3E%3Cpath d='M20.8 4.7a5.5 5.5 0 0 0-7.8 0L12 5.8l-1-1.1a5.5 5.5 0 0 0-7.8 7.8l1 1L12 21l7.8-7.5 1-1a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E");
}

@media (max-width: 760px) {
  html { font-size: 16.5px; }
}

/* Replace legacy CSS-drawn brand and menu marks with inline SVG. */
.hbf-brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: var(--hbf-home-green, var(--hbf-primary));
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.hbf-brand-mark::before,
.hbf-brand-mark::after,
.hbf-brand-mark i { display: none !important; }
.hbf-brand-mark .hbf-svg-icon { width: 30px; height: 30px; }
.hbf-menu-toggle { place-items: center; }
.hbf-menu-icon { width: 24px; height: 24px; display: grid; place-items: center; }
.hbf-menu-icon .hbf-svg-icon { width: 24px; height: 24px; }
.hbf-menu-icon--close { display: none; }
.hbf-menu-toggle.is-active .hbf-menu-icon--open { display: none; }
.hbf-menu-toggle.is-active .hbf-menu-icon--close { display: grid; }

/* v1.8.0 — multi-gateway payment API controls. */


/* v2.4.1 — manual Binance Pay checkout and verification. */
.hbf-binance-manual-box{margin:28px 0;padding:24px;border:1px solid #ead89a;border-radius:16px;background:linear-gradient(180deg,#fffdf5,#fff)}
.hbf-binance-manual-head{display:flex;gap:14px;align-items:flex-start;margin-bottom:20px}
.hbf-binance-manual-head>span{display:grid;place-items:center;width:46px;height:46px;flex:0 0 46px;border-radius:12px;background:#f3ba2f;color:#171717}
.hbf-binance-manual-head svg{width:25px;height:25px}
.hbf-binance-manual-head h3{margin:0 0 5px;color:#192f45;font-size:1.25rem}
.hbf-binance-manual-head p{margin:0;color:#607286}
.hbf-binance-manual-grid{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:22px;align-items:start}
.hbf-binance-manual-details{display:grid;gap:10px}
.hbf-binance-manual-details>div{display:flex;justify-content:space-between;gap:18px;padding:11px 13px;border:1px solid #e6ebef;border-radius:10px;background:#fff}
.hbf-binance-manual-details span{color:#667789}
.hbf-binance-manual-details strong,.hbf-binance-manual-details code{max-width:65%;overflow-wrap:anywhere;text-align:right;color:#172f45}
.hbf-binance-manual-qr{text-align:center}
.hbf-binance-manual-qr img{display:block;width:210px;max-width:100%;height:auto;margin:0 auto 8px;padding:9px;border:1px solid #e0e5e9;border-radius:12px;background:#fff}
.hbf-binance-manual-qr span{font-size:.85rem;color:#607286}
.hbf-binance-manual-instructions{margin:18px 0;padding:14px 16px;border-left:4px solid #f3ba2f;border-radius:8px;background:#fff7dc;color:#34495c;line-height:1.65}
.hbf-binance-reference-form{display:flex;gap:12px;align-items:end;margin-top:18px}
.hbf-binance-reference-form label{display:grid;gap:7px;flex:1;color:#263d53;font-weight:700}
.hbf-binance-reference-form input{width:100%;min-height:46px;padding:10px 12px;border:1px solid #cfd9e2;border-radius:9px;background:#fff}
.hbf-notice--success{border-color:#79cba8;background:#eefbf5;color:#176344}
@media(max-width:700px){.hbf-binance-manual-grid{grid-template-columns:1fr}.hbf-binance-reference-form{display:grid}.hbf-binance-manual-details>div{display:grid;gap:4px}.hbf-binance-manual-details strong,.hbf-binance-manual-details code{max-width:100%;text-align:left}}

/* Safe campaign comments — v2.4.2 */
.hbf-cp-comment-item { display:flex; gap:12px; align-items:flex-start; }
.hbf-cp-comment-avatar { flex:0 0 48px; }
.hbf-cp-comment-avatar img { display:block; width:48px; height:48px; border-radius:50%; }
.hbf-cp-comment-body { min-width:0; flex:1; }
.hbf-cp-comment-item .comment-meta { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px; margin-bottom:5px; }
.hbf-cp-comment-item .comment-meta time { color:#7890a5; }
.hbf-cp-comment-item .comment-content p:last-child { margin-bottom:0; }
.hbf-comment-notice { margin:0 0 16px; padding:11px 13px; border-radius:7px; font-size:.72rem; font-weight:700; }
.hbf-comment-notice--success { color:#166534; background:#dcfce7; border:1px solid #86efac; }
.hbf-comment-notice--error { color:#991b1b; background:#fee2e2; border:1px solid #fca5a5; }
.hbf-comment-honeypot { position:absolute!important; left:-10000px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.hbf-cp-comment-form button[disabled] { opacity:.65; cursor:not-allowed; }

/* v2.5 informational page refinements. */
.hbf-entry-header h1{overflow-wrap:anywhere}
