/*
Theme Name: Humanity First
Theme URI: https://humanityfrist.online
Author: Humanity First
Author URI: https://humanityfrist.online
Description: A lightweight, modern charity theme for Humanity First. Campaign cards, progress bars, donation flows, news grid and Customizer options. Companion plugin provides the [hf_campaigns_grid], [hf_campaign_progress] and [hf_donate] shortcodes.
Version: 1.1.7
Requires at least: 6.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: humanity-first
*/
/* === HF hardening (v1.0.1): SVG icons can never blow up the layout;
   presentation width/height attrs on SVGs lose to the specific rules below === */
svg { max-width: 100%; }
.hf-cat-cards--6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }


/* ============================================================
   HUMANITY FIRST — brand tokens & base
   ============================================================ */
:root {
    --hf-green: #16a34a;
    --hf-green-dark: #15803d;
    --hf-navy: #0f2a4a;
    --hf-navy-light: #143a5e;
    --hf-bg: #f6f8f7;
    --hf-gold: #d4a017;
    --hf-text: #333333;
    --hf-text-muted: #6b7280;
    --hf-white: #ffffff;
    --hf-radius: 14px;
    --hf-shadow: 0 8px 28px rgba(15, 42, 74, 0.08);
    --hf-shadow-hover: 0 14px 40px rgba(15, 42, 74, 0.14);
    --hf-font: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--hf-font);
    color: var(--hf-text);
    background: var(--hf-white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--hf-green-dark); text-decoration: none; }
a:hover { color: var(--hf-green); }

h1, h2, h3, h4 { color: var(--hf-navy); line-height: 1.25; margin: 0 0 0.6em; }

.hf-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hf-section { padding: 72px 0; }
.hf-section.bg-gray { background: var(--hf-bg); }

.hf-section-title { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.hf-section-title h2 { font-size: 2rem; margin-bottom: 12px; }
.hf-section-title p { color: var(--hf-text-muted); margin: 0; }

/* Script-style accent text */
.hf-script {
    font-family: "Segoe Script", "Brush Script MT", "Dancing Script", cursive;
    color: var(--hf-green-dark);
    font-size: 1.35rem;
    display: block;
    margin-bottom: 10px;
}

/* Buttons */
.hf-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    text-align: center;
}
.hf-btn-green { background: var(--hf-green); color: #fff; box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35); }
.hf-btn-green:hover { background: var(--hf-green-dark); color: #fff; transform: translateY(-2px); }
.hf-btn-outline { background: transparent; color: #fff; border-color: #fff; }
.hf-btn-outline:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.hf-btn-outline-dark { background: transparent; color: var(--hf-navy); border-color: var(--hf-navy); }
.hf-btn-outline-dark:hover { background: var(--hf-navy); color: #fff; }
.hf-btn-sm { padding: 10px 24px; font-size: 0.9rem; }

/* ============================================================
   HEADER
   ============================================================ */
.hf-topbar {
    background: var(--hf-navy);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    padding: 8px 0;
}
.hf-topbar .hf-container { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hf-topbar .hf-tagline { margin: 0; letter-spacing: 0.3px; }
.hf-topbar-right { display: flex; align-items: center; gap: 18px; }
.hf-currency { display: flex; align-items: center; gap: 8px; }
.hf-currency .hf-cur { padding: 2px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.35); color: #fff; font-size: 0.78rem; font-weight: 600; cursor: pointer; background: transparent; }
.hf-currency .hf-cur.active { background: var(--hf-green); border-color: var(--hf-green); }
.hf-social { display: flex; gap: 10px; }
.hf-social a {
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; transition: background 0.15s ease;
}
.hf-social a:hover { background: var(--hf-green); color: #fff; }
.hf-social svg { width: 13px; height: 13px; fill: currentColor; }

.hf-header { background: #fff; box-shadow: 0 2px 12px rgba(15,42,74,0.06); position: relative; z-index: 100; }
.hf-header.sticky { position: fixed; top: 0; left: 0; right: 0; animation: hf-slide-down 0.25s ease; }
@keyframes hf-slide-down { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.hf-header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }

.hf-logo { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.hf-logo svg { width: 48px; height: 48px; flex-shrink: 0; }
.hf-logo .hf-wordmark { font-size: 1.45rem; font-weight: 800; color: var(--hf-navy); line-height: 1.1; }
.hf-logo .hf-wordmark span { color: var(--hf-green); }
.hf-logo .hf-logo-tagline { font-size: 0.72rem; color: var(--hf-text-muted); display: block; font-weight: 400; }

.hf-nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hf-nav a { padding: 10px 14px; color: var(--hf-navy); font-weight: 600; font-size: 0.95rem; border-radius: 8px; }
.hf-nav a:hover { color: var(--hf-green-dark); background: var(--hf-bg); }
.hf-nav .current-menu-item > a { color: var(--hf-green-dark); }

.hf-header-actions { display: flex; align-items: center; gap: 14px; }
.hf-login-link { font-weight: 600; color: var(--hf-navy); font-size: 0.95rem; }
.hf-login-link:hover { color: var(--hf-green-dark); }

.hf-hamburger { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.hf-hamburger span { display: block; width: 26px; height: 3px; background: var(--hf-navy); border-radius: 3px; margin: 5px 0; transition: 0.2s; }
.hf-mobile-nav { display: none; background: #fff; border-top: 1px solid #eee; padding: 8px 20px 18px; }
.hf-mobile-nav.open { display: block; }
.hf-mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.hf-mobile-nav a { display: block; padding: 12px 4px; color: var(--hf-navy); font-weight: 600; border-bottom: 1px solid #f1f1f1; }
.hf-mobile-nav .hf-btn { display: block; margin-top: 14px; }

/* ============================================================
   HERO
   ============================================================ */
.hf-hero {
    position: relative;
    min-height: 560px;
    display: flex; align-items: center;
    color: #fff;
    overflow: hidden;
    background: var(--hf-navy);
}
.hf-hero-bg { position: absolute; inset: 0; }
.hf-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hf-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,42,74,0.92) 20%, rgba(15,42,74,0.55) 55%, rgba(15,42,74,0.15) 100%); }
.hf-hero-content { position: relative; z-index: 2; max-width: 620px; padding: 80px 0; }
.hf-hero .hf-script { color: #ffd873; }
.hf-hero h1 { color: #fff; font-size: 3.4rem; font-weight: 800; margin-bottom: 18px; }
.hf-hero p.hf-hero-sub { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 32px; max-width: 540px; }
.hf-hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

/* Trust badges */
.hf-trust { background: #fff; border-bottom: 1px solid #eef2f0; }
.hf-trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 30px 0; }
.hf-trust-item { display: flex; align-items: center; gap: 14px; }
.hf-trust-item .hf-trust-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: #e8f7ee; color: var(--hf-green-dark);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hf-trust-item .hf-trust-icon svg { width: 24px; height: 24px; fill: currentColor; }
.hf-trust-item strong { display: block; color: var(--hf-navy); font-size: 0.95rem; }
.hf-trust-item small { color: var(--hf-text-muted); font-size: 0.82rem; }

/* Category cards */
.hf-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hf-card {
    background: #fff; border-radius: var(--hf-radius);
    box-shadow: var(--hf-shadow); overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hf-card:hover { transform: translateY(-6px); box-shadow: var(--hf-shadow-hover); }
.hf-card img { width: 100%; height: 200px; object-fit: cover; }
.hf-card-body { padding: 26px; }
.hf-card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.hf-card-body p { color: var(--hf-text-muted); font-size: 0.95rem; margin: 0 0 16px; }
.hf-cat-icon {
    width: 56px; height: 56px; border-radius: 16px; margin-top: -52px; margin-bottom: 16px;
    background: var(--hf-green); color: #fff; position: relative; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 16px rgba(22,163,74,0.4);
}
.hf-cat-icon svg { width: 28px; height: 28px; fill: currentColor; }

/* Campaign cards */
.hf-campaign-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hf-campaign-card .hf-progress { margin: 18px 0 12px; }
.hf-progress-track { height: 10px; background: #e7efe9; border-radius: 999px; overflow: hidden; }
.hf-progress-bar { height: 100%; background: linear-gradient(90deg, var(--hf-green), var(--hf-green-dark)); border-radius: 999px; transition: width 0.6s ease; }
.hf-progress-meta { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--hf-text-muted); margin-top: 8px; }
.hf-progress-meta strong { color: var(--hf-navy); }
.hf-card-actions { display: flex; gap: 10px; margin-top: 18px; }
.hf-card-actions .hf-btn { flex: 1; }

/* Change band */
.hf-change-band {
    background: linear-gradient(120deg, var(--hf-navy) 0%, var(--hf-navy-light) 60%, var(--hf-green-dark) 100%);
    color: #fff; text-align: center;
}
.hf-change-band h2 { color: #fff; font-size: 2.2rem; }
.hf-change-band p { color: rgba(255,255,255,0.85); max-width: 680px; margin: 0 auto 30px; }

/* Steps */
.hf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: hf-step; }
.hf-step { text-align: center; padding: 30px 20px; background: #fff; border-radius: var(--hf-radius); box-shadow: var(--hf-shadow); position: relative; }
.hf-step-num {
    width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 16px;
    background: var(--hf-green); color: #fff; font-size: 1.4rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
}
.hf-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.hf-step p { color: var(--hf-text-muted); font-size: 0.92rem; margin: 0; }

/* Why choose us */
.hf-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hf-why-item { display: flex; gap: 16px; align-items: flex-start; background: #fff; padding: 26px; border-radius: var(--hf-radius); box-shadow: var(--hf-shadow); }
.hf-why-icon { width: 48px; height: 48px; border-radius: 12px; background: #e8f7ee; color: var(--hf-green-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hf-why-icon svg { width: 24px; height: 24px; fill: currentColor; }
.hf-why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hf-why-item p { color: var(--hf-text-muted); font-size: 0.92rem; margin: 0; }

/* Stats band */
.hf-stats { background: var(--hf-green-dark); color: #fff; }
.hf-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.hf-stat-num { font-size: 2.6rem; font-weight: 800; color: #fff; }
.hf-stat-num .hf-gold { color: var(--hf-gold); }
.hf-stat-label { font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.hf-sample-tag {
    display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 1px;
    color: var(--hf-navy); background: var(--hf-gold); border-radius: 4px; padding: 2px 8px;
    text-transform: uppercase; vertical-align: middle; margin-left: 6px;
}

/* News cards */
.hf-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hf-news-card .hf-card-body .hf-date { font-size: 0.82rem; color: var(--hf-green-dark); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* Newsletter band */
.hf-newsletter { background: var(--hf-bg); }
.hf-newsletter-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.hf-newsletter form { display: flex; gap: 10px; margin-top: 26px; }
.hf-newsletter input[type="email"] {
    flex: 1; padding: 14px 20px; border: 1px solid #dfe7e2; border-radius: 999px; font-size: 1rem;
}
.hf-newsletter input[type="email"]:focus { outline: 2px solid var(--hf-green); border-color: var(--hf-green); }

/* Final CTA */
.hf-final-cta { background: var(--hf-navy); color: #fff; text-align: center; }
.hf-final-cta h2 { color: #fff; font-size: 2.2rem; }
.hf-final-cta p { color: rgba(255,255,255,0.85); max-width: 620px; margin: 0 auto 30px; }

/* Campaign archive / single */
.hf-page-hero { background: linear-gradient(120deg, var(--hf-navy), var(--hf-navy-light)); color: #fff; padding: 56px 0; text-align: center; }
.hf-page-hero h1 { color: #fff; margin-bottom: 8px; }
.hf-page-hero p { color: rgba(255,255,255,0.8); margin: 0; }
.hf-campaign-single .hf-single-hero img { border-radius: var(--hf-radius); box-shadow: var(--hf-shadow); width: 100%; max-height: 440px; object-fit: cover; }
.hf-single-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 36px; margin-top: 36px; }
.hf-donate-box { background: var(--hf-bg); border-radius: var(--hf-radius); padding: 28px; box-shadow: var(--hf-shadow); position: sticky; top: 90px; }
.hf-donate-box h3 { margin-top: 0; }
.hf-updates { margin-top: 40px; }
.hf-update-item { background: #fff; border: 1px solid #eef2f0; border-radius: 12px; padding: 20px 24px; margin-bottom: 14px; }
.hf-update-item .hf-date { font-size: 0.82rem; color: var(--hf-green-dark); font-weight: 600; }

/* FAQ accordion */
.hf-faq { max-width: 760px; margin: 0 auto; }
.hf-faq-item { border: 1px solid #e5ebe7; border-radius: 12px; margin-bottom: 12px; overflow: hidden; background: #fff; }
.hf-faq-q { width: 100%; background: none; border: 0; padding: 18px 22px; font-size: 1rem; font-weight: 700; color: var(--hf-navy); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hf-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.hf-faq-a p { padding: 0 22px 20px; margin: 0; color: var(--hf-text-muted); }
.hf-faq-item.open .hf-faq-a { max-height: 400px; }
.hf-faq-q .hf-plus { font-size: 1.3rem; color: var(--hf-green-dark); transition: transform 0.2s; }
.hf-faq-item.open .hf-plus { transform: rotate(45deg); }

/* Forms */
.hf-form input[type="text"], .hf-form input[type="email"], .hf-form textarea {
    width: 100%; padding: 13px 16px; border: 1px solid #dfe7e2; border-radius: 10px; font-size: 1rem; font-family: inherit;
}
.hf-form input:focus, .hf-form textarea:focus { outline: 2px solid var(--hf-green); border-color: var(--hf-green); }

/* 404 */
.hf-404 { text-align: center; padding: 90px 0; }
.hf-404 .hf-404-code { font-size: 6rem; font-weight: 800; color: var(--hf-green); line-height: 1; }
.hf-404 .hf-search { max-width: 420px; margin: 30px auto; display: flex; gap: 10px; }

/* Pagination */
.hf-pagination { text-align: center; margin-top: 44px; }
.hf-pagination .page-numbers { display: inline-block; padding: 10px 16px; border-radius: 10px; background: #fff; box-shadow: var(--hf-shadow); color: var(--hf-navy); font-weight: 600; margin: 0 4px; }
.hf-pagination .page-numbers.current { background: var(--hf-green); color: #fff; }

/* ============================================================
   FOOTER
   ============================================================ */
.hf-footer { background: var(--hf-navy); color: rgba(255,255,255,0.8); font-size: 0.94rem; }
.hf-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 34px; padding: 60px 0 40px; }
.hf-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 18px; }
.hf-footer .hf-logo .hf-wordmark { color: #fff; }
.hf-footer .hf-logo .hf-logo-tagline { color: rgba(255,255,255,0.6); }
.hf-footer p.hf-about { font-size: 0.92rem; }
.hf-footer ul { list-style: none; margin: 0; padding: 0; }
.hf-footer ul li { margin-bottom: 10px; }
.hf-footer ul a { color: rgba(255,255,255,0.75); }
.hf-footer ul a:hover { color: var(--hf-green); }
.hf-pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hf-pay-badge {
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    color: #fff; font-size: 0.8rem; font-weight: 700; padding: 7px 14px; border-radius: 8px; letter-spacing: 0.4px;
}
.hf-footer .hf-social { margin-top: 18px; }
.hf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0;
    display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
    font-size: 0.86rem; color: rgba(255,255,255,0.6);
}
.hf-footer-bottom nav a { color: rgba(255,255,255,0.6); margin-left: 18px; }
.hf-footer-bottom nav a:hover { color: #fff; }
.hf-footer .hf-newsletter-mini { display: flex; gap: 8px; margin-top: 6px; }
.hf-footer .hf-newsletter-mini input[type="email"] { flex: 1; padding: 11px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.08); color: #fff; font-size: 0.9rem; }
.hf-footer .hf-newsletter-mini input::placeholder { color: rgba(255,255,255,0.5); }
.hf-footer .hf-newsletter-mini button { white-space: nowrap; }

/* Screen reader / a11y */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hf-cat-grid, .hf-campaign-grid, .hf-news-grid, .hf-why-grid { grid-template-columns: repeat(2, 1fr); }
    .hf-steps { grid-template-columns: repeat(2, 1fr); }
    .hf-footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .hf-single-grid { grid-template-columns: 1fr; }
    .hf-donate-box { position: static; }
}
@media (max-width: 860px) {
    .hf-nav, .hf-header-actions .hf-login-link, .hf-header-actions .hf-btn { display: none; }
    .hf-hamburger { display: block; }
    .hf-trust-inner { grid-template-columns: repeat(2, 1fr); }
    .hf-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 640px) {
    .hf-section { padding: 52px 0; }
    .hf-hero h1 { font-size: 2.3rem; }
    .hf-hero-content { padding: 60px 0; }
    .hf-cat-grid, .hf-campaign-grid, .hf-news-grid, .hf-why-grid, .hf-steps { grid-template-columns: 1fr; }
    .hf-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hf-footer-bottom { justify-content: center; text-align: center; }
    .hf-newsletter form { flex-direction: column; }
    .hf-topbar .hf-tagline { display: none; }
    .hf-topbar .hf-container { justify-content: flex-end; }
}

/* ============================================================
   Humanity First — mockup rebuild styles (appended 2026-10-23)
   ============================================================ */

/* ---------- Logo (official logo.png) ---------- */
.hf-logo { display: inline-flex; align-items: center; line-height: 0; }
.hf-logo .custom-logo-link { display: inline-block; line-height: 0; }
.hf-logo img, .hf-logo .custom-logo, img.hf-logo-fallback {
	height: 56px; width: auto; max-width: 240px; object-fit: contain;
}
.hf-footer-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; line-height: 0; box-shadow: 0 4px 14px rgba(0,0,0,.25); }
.hf-footer-logo img { height: 52px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Topbar ---------- */
.hf-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hf-topbar-left { display: flex; align-items: center; gap: 8px; margin: 0; }
.hf-top-select { position: relative; }
.hf-top-select-btn { display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid rgba(255,255,255,.35); color: #fff; border-radius: 8px; padding: 5px 10px; font-size: .8rem; cursor: pointer; }
.hf-top-select-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: #fff; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); padding: 6px; z-index: 60; min-width: 110px; }
.hf-top-select.open .hf-top-select-menu { display: block; }
.hf-top-select-menu .hf-cur { display: block; width: 100%; text-align: left; background: transparent; border: 0; padding: 8px 12px; border-radius: 6px; font-size: .85rem; color: #0f2a4a; cursor: pointer; }
.hf-top-select-menu .hf-cur:hover { background: #f0fdf4; }
.hf-top-select-menu .hf-cur.active { background: #16a34a; color: #fff; font-weight: 700; }
.hf-search-btn { background: transparent; border: 0; color: #fff; cursor: pointer; display: inline-flex; padding: 6px; }

/* ---------- Section scaffolding ---------- */
.hf-section-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.hf-section-head--split { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 20px; }
.hf-section-head--split > div { max-width: 640px; }
.hf-section-head h2 { margin: 10px 0 8px; color: #0f2a4a; font-size: 2rem; }
.hf-section-sub { color: #64748b; margin: 0; }
.hf-section-tint { background: #f6faf7; }
.hf-eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 800; color: #16a34a; background: #e8f8ee; border-radius: 999px; padding: 6px 14px; }
.hf-eyebrow--light { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }
.hf-link-arrow { color: #16a34a; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hf-link-arrow:hover { text-decoration: underline; }
.hf-accent { color: #4ade80; }
.hf-empty { color: #64748b; }

/* ---------- Buttons ---------- */
.hf-btn { display: inline-block; border-radius: 10px; padding: 13px 30px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: .95rem; transition: transform .15s, box-shadow .15s; }
.hf-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.hf-btn-green { background: #16a34a; color: #fff; }
.hf-btn-green:hover { background: #15803d; color: #fff; }
.hf-btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.hf-btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.hf-btn-block { display: block; width: 100%; text-align: center; }
.hf-btn-sm { padding: 9px 18px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hf-hero2 { position: relative; background-size: cover; background-position: center; color: #fff; overflow: hidden; }
.hf-hero2-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,25,45,.82) 0%, rgba(10,25,45,.55) 45%, rgba(10,25,45,.15) 75%, rgba(10,25,45,0) 100%); }
.hf-hero2-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 110px 0 70px; }
.hf-hero2-copy { max-width: 620px; }
.hf-hero2-copy h1 { color: #fff; font-size: 3.4rem; line-height: 1.05; margin: 16px 0; }
.hf-hero2-sub { font-size: 1.12rem; color: #e2e8f0; max-width: 560px; margin: 0 0 28px; }
.hf-hero2-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hf-script { font-family: 'Segoe Script', 'Brush Script MT', 'Snell Roundhand', cursive; }
.hf-script--hero { font-size: 2rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); text-align: center; line-height: 1.35; margin: 0; padding: 0 14px; max-width: 100%; }
.hf-trust { position: relative; z-index: 2; padding: 0 0 34px; }
.hf-trust--2col { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hf-trust-item { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 14px 18px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.hf-trust-check { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%; background: #16a34a; display: inline-flex; align-items: center; justify-content: center; }
.hf-trust-check svg { width: 18px; height: 18px; fill: #fff; }
.hf-trust-text { display: flex; flex-direction: column; line-height: 1.25; }
.hf-trust-text strong { color: #0f2a4a; font-size: .92rem; }
.hf-trust-text span span { color: #64748b; font-size: .82rem; }

/* ---------- Category cards ---------- */
.hf-cat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hf-cat-card { display: block; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 6px 24px rgba(15,42,74,.08); transition: transform .18s, box-shadow .18s; text-align: center; }
.hf-cat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,42,74,.14); }
.hf-cat-photo { position: relative; display: block; height: 150px; overflow: hidden; }
.hf-cat-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-cat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,74,0) 40%, rgba(15,42,74,.45) 100%); }
.hf-cat-icon { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #16a34a; margin: -29px auto 10px; position: relative; z-index: 2; box-shadow: 0 6px 16px rgba(22,163,74,.4); border: 3px solid #fff; }
.hf-cat-icon svg { width: 28px; height: 28px; fill: #fff; }
.hf-cat-title { display: block; font-weight: 800; color: #0f2a4a; font-size: 1.08rem; padding: 0 16px; }
.hf-cat-tag { display: block; color: #64748b; font-size: .88rem; padding: 4px 16px 20px; }

/* ---------- Campaign cards ---------- */
.hf-campaigns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hf-campaign-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 24px rgba(15,42,74,.08); display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s; }
.hf-campaign-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(15,42,74,.14); }
.hf-campaign-photo { position: relative; height: 200px; overflow: hidden; }
.hf-campaign-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-campaign-badge { position: absolute; top: 14px; left: 14px; background: #16a34a; color: #fff; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; border-radius: 999px; padding: 6px 14px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.hf-sample-badge { position: absolute; top: 14px; right: 14px; background: #f59e0b; color: #fff; font-size: .68rem; font-weight: 800; border-radius: 999px; padding: 5px 12px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.hf-campaign-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.hf-campaign-body h3 { margin: 0; font-size: 1.12rem; color: #0f2a4a; line-height: 1.35; }
.hf-campaign-body h3 a { color: inherit; text-decoration: none; }
.hf-campaign-body h3 a:hover { color: #16a34a; }
.hf-campaign-excerpt { color: #64748b; font-size: .9rem; margin: 0; flex: 1; }
.hf-campaign-progress-top { display: flex; justify-content: space-between; align-items: baseline; }
.hf-funded { color: #16a34a; font-weight: 800; font-size: 1.02rem; }
.hf-raised-goal { color: #64748b; font-size: .85rem; }
.hf-progress-bar { height: 9px; background: #e8eef3; border-radius: 999px; overflow: hidden; }
.hf-progress-fill { height: 100%; background: linear-gradient(90deg, #16a34a, #4ade80); border-radius: 999px; transition: width .6s ease; }
.hf-campaign-meta { display: flex; gap: 16px; color: #64748b; font-size: .85rem; }
.hf-campaign-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hf-campaign-meta svg { width: 15px; height: 15px; fill: #16a34a; }

/* ---------- Donation progress split ---------- */
.hf-progress-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.hf-progress-photo img { width: 100%; height: 380px; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 34px rgba(15,42,74,.16); display: block; }
.hf-progress-list { display: flex; flex-direction: column; gap: 16px; }
.hf-progress-item { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 6px 20px rgba(15,42,74,.08); }

/* ---------- Change band ---------- */
.hf-band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 70px; }
.hf-band-copy h2 { color: #0f2a4a; font-size: 2rem; margin: 0 0 14px; }
.hf-band-copy p { color: #475569; font-size: 1.05rem; margin: 0 0 24px; }
.hf-band-card img { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; box-shadow: 0 16px 40px rgba(15,42,74,.18); display: block; }
.hf-play-btn { display: inline-flex; align-items: center; gap: 14px; background: transparent; border: 0; cursor: pointer; font-size: 1rem; font-weight: 700; color: #0f2a4a; padding: 0; }
.hf-play-circle { width: 58px; height: 58px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 8px 22px rgba(15,42,74,.2); }
.hf-play-circle svg { width: 26px; height: 26px; fill: #16a34a; margin-left: 3px; }
button.hf-play-btn:hover .hf-play-circle { transform: scale(1.06); }

/* ---------- How it works ---------- */
.hf-how { margin-top: 10px; }
.hf-how .hf-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.hf-how .hf-steps li { position: relative; background: #fff; border-radius: 16px; padding: 32px 20px 26px; text-align: center; box-shadow: 0 6px 20px rgba(15,42,74,.08); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hf-step-icon { width: 60px; height: 60px; border-radius: 50%; background: #e8f8ee; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.hf-step-icon svg { width: 30px; height: 30px; fill: #16a34a; }
.hf-how .hf-steps li strong { color: #0f2a4a; font-size: 1rem; }
.hf-how .hf-steps li > span:last-child, .hf-how .hf-steps li span:not(.hf-step-icon):not(.hf-step-arrow) { color: #64748b; font-size: .88rem; }
.hf-step-arrow { position: absolute; right: -18px; top: 50%; transform: translateY(-50%); color: #16a34a; font-size: 1.4rem; font-weight: 800; z-index: 2; }

/* ---------- Why choose us ---------- */
.hf-why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hf-why-item { background: #fff; border: 1px solid #e8eef3; border-radius: 16px; padding: 30px 26px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .18s, box-shadow .18s; }
.hf-why-item:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15,42,74,.1); }
.hf-why-icon { width: 62px; height: 62px; border-radius: 50%; background: #e8f8ee; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.hf-why-icon svg { width: 30px; height: 30px; fill: #16a34a; }
.hf-why-item strong { color: #0f2a4a; font-size: 1.05rem; }
.hf-why-item > span:last-child { color: #64748b; font-size: .9rem; }

/* ---------- Stats band ---------- */
.hf-stats-band { background: linear-gradient(120deg, #0b2240 0%, #0f2a4a 60%, #14402a 130%); color: #fff; text-align: center; padding: 70px 0; }
.hf-stats-band h2 { color: #fff; font-size: 2rem; margin: 0 0 12px; }
.hf-stats-band > .hf-container > p { color: #cbd5e1; max-width: 640px; margin: 0 auto 36px; }
.hf-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 36px; }
.hf-stat strong { display: block; font-size: 2.6rem; color: #4ade80; line-height: 1.1; }
.hf-stat > span { color: #e2e8f0; font-size: .95rem; }
.hf-sample-tag { font-style: normal; font-size: .65rem; background: rgba(245,158,11,.2); color: #fbbf24; border: 1px solid rgba(251,191,36,.5); border-radius: 999px; padding: 2px 8px; margin-left: 6px; vertical-align: middle; }

/* ---------- Story card ---------- */
.hf-story-card { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; box-shadow: 0 16px 44px rgba(15,42,74,.16); }
.hf-story-photo img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block; }
.hf-story-copy { background: #0f2a4a; color: #fff; padding: 60px 54px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hf-story-copy h2 { color: #fff; font-size: 2.4rem; line-height: 1.15; margin: 0; }
.hf-story-copy p { color: #cbd5e1; margin: 0; }
.hf-story-copy .hf-play-btn { color: #fff; }
.hf-story-copy .hf-play-btn .hf-play-circle { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); }

/* ---------- News ---------- */
.hf-news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hf-news-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 6px 20px rgba(15,42,74,.08); transition: transform .18s; }
.hf-news-card:hover { transform: translateY(-4px); }
.hf-news-photo { height: 160px; overflow: hidden; }
.hf-news-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hf-news-body { padding: 20px; }
.hf-news-date { color: #16a34a; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.hf-news-body h3 { margin: 8px 0; font-size: 1rem; color: #0f2a4a; line-height: 1.4; }
.hf-news-body p { margin: 0; color: #64748b; font-size: .88rem; }

/* ---------- Newsletter band ---------- */
.hf-newsletter-band { background: linear-gradient(100deg, #16a34a, #15803d); color: #fff; padding: 46px 0; position: relative; overflow: hidden; }
.hf-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.hf-newsletter-copy { display: flex; align-items: center; gap: 18px; }
.hf-newsletter-icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; }
.hf-newsletter-icon svg { width: 26px; height: 26px; }
.hf-newsletter-copy h3 { color: #fff; margin: 0 0 4px; font-size: 1.3rem; }
.hf-newsletter-copy p { color: #e8f8ee; margin: 0; font-size: .92rem; }
.hf-newsletter-form { display: flex; gap: 10px; flex: 0 1 460px; }
.hf-newsletter-form input[type="email"] { flex: 1; border: 0; border-radius: 10px; padding: 13px 18px; font-size: .95rem; }
.hf-script--band { font-size: 1.5rem; color: rgba(255,255,255,.9); margin: 0; text-align: center; line-height: 1.3; }

/* ---------- Donate panel (plugin shortcode) ---------- */
.hf-donate-panel { background: #fff; border-radius: 18px; box-shadow: 0 10px 34px rgba(15,42,74,.12); padding: 34px 30px; max-width: 640px; margin: 0 auto; }
.hf-donate-panel h3 { color: #0f2a4a; margin: 0 0 6px; font-size: 1.4rem; text-align: center; }
.hf-donate-sub { text-align: center; color: #64748b; margin: 0 0 22px; font-size: .92rem; }
.hf-field-label { display: block; font-weight: 700; color: #0f2a4a; margin: 20px 0 10px; font-size: .95rem; }
.hf-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hf-pill { border: 2px solid #e2e8f0; background: #fff; border-radius: 12px; padding: 11px 20px; font-weight: 800; color: #0f2a4a; cursor: pointer; font-size: .95rem; }
.hf-pill:hover { border-color: #16a34a; }
.hf-pill.active { background: #16a34a; border-color: #16a34a; color: #fff; }
.hf-amount-input { width: 100%; border: 2px solid #e2e8f0; border-radius: 12px; padding: 12px 16px; font-size: 1rem; margin-top: 10px; }
.hf-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hf-donate-panel select, .hf-donate-panel input[type="text"], .hf-donate-panel input[type="email"], .hf-donate-panel input[type="tel"] { width: 100%; border: 2px solid #e2e8f0; border-radius: 12px; padding: 12px 14px; font-size: .95rem; }
.hf-pay-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hf-pay-card { position: relative; display: block; border: 2px solid #e2e8f0; border-radius: 12px; padding: 12px 12px 12px 40px; cursor: pointer; transition: border-color .15s, background .15s; }
.hf-pay-card:hover { border-color: #86efac; }
.hf-pay-card.selected { border-color: #16a34a; background: #f0fdf4; }
.hf-pay-card.disabled { opacity: .55; cursor: not-allowed; background: #f8fafc; }
.hf-pay-radio { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; accent-color: #16a34a; }
.hf-pay-badge { display: inline-block; font-weight: 800; font-size: .82rem; color: #0f2a4a; background: #eef2f7; border-radius: 6px; padding: 3px 9px; margin-right: 8px; }
.hf-pay-text { font-size: .85rem; color: #334155; }
.hf-pay-soon { display: block; font-size: .72rem; color: #b45309; font-weight: 700; margin-top: 4px; }
.hf-pay-or { text-align: center; color: #94a3b8; font-size: .8rem; margin: 12px 0 4px; text-transform: uppercase; letter-spacing: .1em; }
.hf-pay-empty { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; border-radius: 10px; padding: 12px 16px; font-size: .88rem; }
.hf-check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: .85rem; color: #475569; }
.hf-check input { margin-top: 3px; accent-color: #16a34a; }
.hf-secure-note { text-align: center; color: #64748b; font-size: .82rem; margin: 14px 0 0; }
.hf-error { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; border-radius: 10px; padding: 10px 14px; font-size: .88rem; margin: 10px 0; }

/* ---------- Campaign single ---------- */
.hf-camp-hero { position: relative; background-size: cover; background-position: center; min-height: 380px; display: flex; align-items: flex-end; color: #fff; }
.hf-camp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,45,.15) 0%, rgba(10,25,45,.78) 100%); }
.hf-camp-hero-inner { position: relative; z-index: 2; padding: 70px 0 44px; width: 100%; }
.hf-camp-hero-inner h1 { color: #fff; font-size: 2.6rem; margin: 14px 0 0; max-width: 760px; }
.hf-camp-badge { display: inline-block; background: #16a34a; color: #fff; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; border-radius: 999px; padding: 7px 16px; }
.hf-camp-layout { display: grid; grid-template-columns: 1fr 380px; gap: 44px; align-items: start; }
.hf-camp-main { min-width: 0; }
.hf-camp-side { position: sticky; top: 110px; }
.hf-camp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.hf-camp-feature { background: #f6faf7; border-radius: 12px; padding: 18px 14px; text-align: center; font-size: .85rem; color: #334155; }
.hf-camp-feature svg { width: 30px; height: 30px; fill: #16a34a; margin-bottom: 8px; }
.hf-camp-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0; }
.hf-camp-gallery img { width: 100%; height: 170px; object-fit: cover; border-radius: 12px; display: block; }
.hf-camp-note { display: flex; gap: 14px; align-items: center; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 14px; padding: 18px 20px; margin: 26px 0; }
.hf-camp-note svg { flex: 0 0 34px; width: 34px; height: 34px; fill: #16a34a; }
.hf-camp-note strong { display: block; color: #0f2a4a; }
.hf-camp-note small { color: #475569; }
.hf-camp-progress { background: #fff; border: 1px solid #e8eef3; border-radius: 16px; padding: 26px; margin: 26px 0; box-shadow: 0 6px 20px rgba(15,42,74,.06); }
.hf-camp-progress h3 { margin: 0 0 16px; color: #0f2a4a; }
.hf-camp-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 18px; }
.hf-camp-stat { background: #f8fafc; border-radius: 10px; padding: 14px 10px; text-align: center; }
.hf-camp-stat strong { display: block; color: #0f2a4a; font-size: 1.05rem; }
.hf-camp-stat span { font-size: .75rem; color: #64748b; }
.hf-why-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 20px 0; }
.hf-why-cards .hf-why-item { text-align: left; align-items: flex-start; }
.hf-quote-card { display: grid; grid-template-columns: 220px 1fr; border-radius: 18px; overflow: hidden; background: #0f2a4a; color: #fff; margin: 30px 0; align-items: stretch; }
.hf-quote-card img { width: 100%; height: 100%; min-height: 230px; object-fit: cover; display: block; }
.hf-quote-copy { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.hf-quote-copy blockquote { margin: 0; font-size: 1.25rem; font-style: italic; color: #fff; line-height: 1.5; }
.hf-quote-copy cite { color: #4ade80; font-style: normal; font-size: .9rem; }

/* ---------- Footer additions ---------- */
.hf-footer-brand .hf-about { color: #cbd5e1; font-size: .9rem; margin: 18px 0; max-width: 300px; }
.hf-footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.hf-footer-links a { color: #cbd5e1; text-decoration: none; font-size: .9rem; }
.hf-footer-links a:hover { color: #4ade80; }
.hf-footer h4 { color: #fff; margin: 0 0 16px; font-size: 1rem; }
.hf-pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hf-pay-badge--stripe { font-style: italic; text-transform: lowercase; letter-spacing: .02em; }
.hf-more-networks { color: #94a3b8; font-size: .8rem; margin: 6px 0 0; }
.hf-newsletter-mini { display: flex; gap: 8px; }
.hf-newsletter-mini input[type="email"] { flex: 1; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; border-radius: 10px; padding: 10px 14px; font-size: .88rem; min-width: 0; }
.hf-newsletter-mini input::placeholder { color: #94a3b8; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.hf-campaigns-grid { grid-template-columns: repeat(2, 1fr); }
	.hf-news-grid { grid-template-columns: repeat(2, 1fr); }
	.hf-cat-cards { grid-template-columns: repeat(2, 1fr); }
	.hf-how .hf-steps { grid-template-columns: repeat(2, 1fr); }
	.hf-step-arrow { display: none; }
	.hf-why-grid { grid-template-columns: repeat(2, 1fr); }
	.hf-camp-layout { grid-template-columns: 1fr; }
	.hf-camp-side { position: static; }
	.hf-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.hf-hero2-inner { flex-direction: column; align-items: flex-start; padding: 80px 0 50px; }
	.hf-script--hero { text-align: left; padding-left: 16px; margin-top: 22px; }
	.hf-trust--2col { grid-template-columns: repeat(2, 1fr); }
	.hf-progress-split, .hf-band-grid, .hf-story-card { grid-template-columns: 1fr; }
	.hf-band-card img { height: 300px; }
	.hf-section-head--split { flex-direction: column; align-items: flex-start; }
	.hf-quote-card { grid-template-columns: 1fr; }
	.hf-quote-card img { min-height: 200px; max-height: 260px; }
	.hf-newsletter-inner { flex-direction: column; align-items: stretch; }
	.hf-newsletter-form { flex: 1; }
}
@media (max-width: 640px) {
	.hf-logo img, .hf-logo .custom-logo, img.hf-logo-fallback { height: 42px; max-width: 180px; }
	.hf-footer-logo img { height: 44px; }
	.hf-hero2-copy h1 { font-size: 2.3rem; }
	.hf-hero2-sub { font-size: 1rem; }
	.hf-hero2-cta .hf-btn { width: 100%; text-align: center; }
	.hf-script--hero { font-size: 1.5rem; }
	.hf-trust--2col { grid-template-columns: 1fr 1fr; gap: 10px; }
	.hf-trust-item { padding: 10px 12px; }
	.hf-cat-cards, .hf-campaigns-grid, .hf-news-grid, .hf-why-grid { grid-template-columns: 1fr; }
	.hf-how .hf-steps { grid-template-columns: 1fr; }
	.hf-stats-grid { grid-template-columns: repeat(2, 1fr); }
	.hf-stat strong { font-size: 2rem; }
	.hf-camp-features { grid-template-columns: 1fr 1fr; }
	.hf-camp-stats { grid-template-columns: repeat(2, 1fr); }
	.hf-camp-gallery { grid-template-columns: 1fr 1fr; }
	.hf-why-cards { grid-template-columns: 1fr; }
	.hf-field-row { grid-template-columns: 1fr; }
	.hf-pay-cards { grid-template-columns: 1fr; }
	.hf-donate-panel { padding: 24px 18px; }
	.hf-section-head h2 { font-size: 1.6rem; }
	.hf-story-copy { padding: 36px 26px; }
	.hf-story-copy h2 { font-size: 1.8rem; }
	.hf-footer-grid { grid-template-columns: 1fr; }
	.hf-newsletter-form { flex-direction: column; }
	.hf-camp-hero-inner h1 { font-size: 1.9rem; }
}

/* ---------- Campaign single: detailed elements ---------- */
.hf-camp-hero { position: relative; }
.hf-camp-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,25,45,.25) 0%, rgba(10,25,45,.82) 100%); }
.hf-camp-hero-inner { position: relative; z-index: 2; padding: 80px 0 46px; width: 100%; }
.hf-camp-hero-inner h1 { color: #fff; font-size: 2.6rem; margin: 16px 0 0; max-width: 780px; line-height: 1.15; }
.hf-camp-hero-sub { color: #e2e8f0; font-size: 1.1rem; max-width: 680px; margin: 12px 0 0; }
.hf-camp-hero-sub p { margin: 0; }
.hf-camp-hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; padding: 0; }
.hf-camp-hero-badges li { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 14px; padding: 10px 18px 10px 10px; backdrop-filter: blur(4px); }
.hf-camp-hero-badge-icon { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: #16a34a; display: inline-flex; align-items: center; justify-content: center; }
.hf-camp-hero-badge-icon svg { width: 22px; height: 22px; }
.hf-camp-hero-badges strong { display: block; color: #fff; font-size: .92rem; }
.hf-camp-hero-badges small { display: block; color: #cbd5e1; font-size: .78rem; }
.hf-campaign-single .hf-eyebrow { margin-bottom: 6px; }
.hf-campaign-single h2 { color: #0f2a4a; margin: 0 0 14px; font-size: 1.7rem; }
.hf-campaign-single .hf-sample-badge { position: static; margin: 0 0 14px; display: inline-block; }
.hf-campaign-photo .hf-sample-badge { position: absolute; top: 14px; right: 14px; margin: 0; }
.hf-content { color: #475569; line-height: 1.75; }
.hf-content p { margin: 0 0 1em; }
.hf-camp-feature-icon { width: 52px; height: 52px; border-radius: 50%; background: #16a34a; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 10px; box-shadow: 0 6px 14px rgba(22,163,74,.35); }
.hf-camp-feature-icon svg { width: 26px; height: 26px; }
.hf-camp-feature strong { display: block; color: #0f2a4a; font-size: .92rem; margin-bottom: 2px; }
.hf-camp-feature small { color: #64748b; font-size: .8rem; }
.hf-camp-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.hf-camp-gallery .hf-camp-gallery-main { width: 100%; height: 100%; min-height: 354px; object-fit: cover; border-radius: 14px; display: block; }
.hf-camp-gallery-side { display: grid; grid-template-rows: 1fr 1fr; gap: 14px; }
.hf-camp-gallery-side img { width: 100%; height: 170px; object-fit: cover; border-radius: 14px; display: block; }
.hf-camp-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.hf-camp-progress-head h3 { margin: 0; }
.hf-camp-active { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 700; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px; padding: 6px 14px; }
.hf-dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; animation: hf-pulse 1.8s infinite; }
@keyframes hf-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.hf-progress-bar--lg { height: 14px; }
.hf-camp-progress-pct { font-size: 2rem; font-weight: 800; color: #16a34a; margin: 10px 0 2px; }
.hf-camp-stat { display: flex; align-items: center; gap: 12px; text-align: left; }
.hf-camp-stat-icon { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; background: #f0fdf4; display: inline-flex; align-items: center; justify-content: center; }
.hf-camp-stat-icon svg { width: 22px; height: 22px; }
.hf-progress-currencies { margin: 14px 0 0; font-size: .85rem; color: #64748b; }
.hf-why-grid--4 { grid-template-columns: repeat(4, 1fr); }
.hf-why-grid--4 .hf-why-item { text-align: left; align-items: flex-start; padding: 22px; }
.hf-why-item h3 { margin: 6px 0 4px; font-size: 1rem; color: #0f2a4a; }
.hf-why-item p { margin: 0; color: #64748b; font-size: .86rem; }
.hf-quote-text { font-size: 1.4rem; font-style: italic; color: #fff; line-height: 1.5; margin: 0; }
.hf-quote-sub { color: #cbd5e1; margin: 0; }
.hf-quote-by { color: #4ade80; font-weight: 700; margin: 0; font-size: .92rem; }

/* ---------- Header search button variant / topbar label ---------- */
.hf-search-btn--header { color: #fff; }
.hf-top-select-label { font-weight: 700; }

/* ---------- Generic card meta / footer widget ---------- */
.hf-card-meta { color: #94a3b8; font-size: .82rem; margin-bottom: 8px; }
.hf-footer-widget { margin-bottom: 6px; }

@media (max-width: 1024px) {
	.hf-why-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.hf-camp-gallery { grid-template-columns: 1fr; }
	.hf-camp-gallery-main { min-height: 260px; }
}
@media (max-width: 640px) {
	.hf-camp-hero-inner h1 { font-size: 1.9rem; }
	.hf-camp-hero-badges li { flex: 1 1 100%; }
	.hf-why-grid--4 { grid-template-columns: 1fr; }
	.hf-camp-progress-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Plugin shortcode elements ---------- */
.hf-sample-badge { position: static; display: inline-block; }
.hf-campaign-photo .hf-sample-badge { position: absolute; top: 14px; right: 14px; }
.hf-notice { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; border-radius: 12px; padding: 16px 20px; }
.hf-donate-title { text-align: center; color: #0f2a4a; font-size: 1.35rem; margin: 6px 0 4px; }
.hf-donate-form { margin-top: 6px; }
.hf-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.hf-amount-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hf-pill-custom { display: inline-flex; align-items: center; gap: 6px; }
.hf-pill-custom svg { fill: currentColor; }
.hf-field { margin: 16px 0; }
.hf-field > label { display: block; font-weight: 700; color: #0f2a4a; font-size: .92rem; margin-bottom: 8px; }
.hf-opt { font-weight: 400; color: #94a3b8; font-size: .82rem; }
button.hf-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: #16a34a; color: #fff; border: 0; border-radius: 12px; padding: 15px 24px; font-size: 1.05rem; font-weight: 800; cursor: pointer; transition: background .15s, transform .15s; }
button.hf-submit:hover { background: #15803d; transform: translateY(-1px); }
.hf-progress { background: #fff; border: 1px solid #e8eef3; border-radius: 12px; padding: 18px; }
.hf-progress-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 12px 0 0; padding: 0; font-size: .88rem; color: #64748b; }
.hf-progress-stats strong { color: #0f2a4a; }
.hf-meta-days, .hf-meta-donations { display: inline-flex; align-items: center; gap: 6px; }
.hf-receipt { max-width: 640px; margin: 60px auto; background: #fff; border-radius: 18px; box-shadow: 0 12px 40px rgba(15,42,74,.14); padding: 44px; font-family: inherit; }
.hf-receipt h1 { color: #0f2a4a; }
.hf-receipt table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.hf-receipt td { padding: 10px 4px; border-bottom: 1px solid #eef2f7; font-size: .95rem; }
.hf-receipt td:first-child { color: #64748b; }
.hf-receipt td:last-child { text-align: right; font-weight: 700; color: #0f2a4a; }
@media (max-width: 640px) {
	.hf-receipt { margin: 24px 12px; padding: 28px 20px; }
	.hf-amount-pills .hf-pill { flex: 1 1 calc(33% - 10px); text-align: center; padding: 11px 8px; }
}
.hf-campaign-progress { display: flex; flex-direction: column; gap: 10px; }

/* ============================================================
   Perfection pass — mockup-accurate refinements (2026-10-23)
   ============================================================ */

/* ---------- Hero refinements ---------- */
.hf-hero-badge { display: inline-block; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.92); }
.hf-script-heart { color: #4ade80; }
.hf-trust { position: relative; z-index: 2; padding: 0 0 30px; }
.hf-trust--row { display: flex; flex-wrap: wrap; gap: 10px 34px; }
.hf-trust--row .hf-trust-item { background: transparent; box-shadow: none; padding: 0; }
.hf-trust--row .hf-trust-text strong { color: #fff; font-size: .88rem; }
.hf-trust--row .hf-trust-text > span { color: rgba(255,255,255,.75); font-size: .78rem; }
.hf-hero-story { position: absolute; right: 34px; bottom: 96px; z-index: 3; display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; background: rgba(10,25,45,.45); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 18px 8px 8px; backdrop-filter: blur(4px); }
.hf-hero-story:hover { background: rgba(10,25,45,.65); color: #fff; }
.hf-hero-story-text { display: flex; flex-direction: column; line-height: 1.2; font-size: .85rem; font-weight: 700; }
.hf-hero-story-text small { font-weight: 400; color: rgba(255,255,255,.75); font-size: .72rem; }
.hf-play-circle--sm { width: 40px; height: 40px; }
.hf-play-circle--sm svg { width: 18px; height: 18px; }
.hf-play-btn--light { color: #fff; }

/* ---------- Section head variants ---------- */
.hf-section-head--left { text-align: left; margin: 0 0 36px; max-width: none; }
.hf-section--tight { padding: 60px 0; }
.hf-eyebrow--dash::before { content: "— "; }

/* ---------- Category cards: 6-across, colored icons ---------- */
.hf-cat-cards--6 { grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hf-cat-card--plain { padding: 26px 12px 22px; }
.hf-cat-card--plain .hf-cat-icon { margin: 0 auto 14px; border: 0; box-shadow: 0 8px 18px rgba(15,42,74,.18); width: 56px; height: 56px; }
.hf-cat-card--plain .hf-cat-icon svg { width: 26px; height: 26px; }
.hf-cat-card--plain .hf-cat-title { font-size: .95rem; padding: 0 6px; }
.hf-cat-card--plain .hf-cat-tag { font-size: .78rem; padding: 4px 6px 0; }

/* ---------- Featured carousel ---------- */
.hf-carousel-nav { display: flex; gap: 10px; }
.hf-car-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #dbe4ec; background: #fff; color: #0f2a4a; font-size: 1.4rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: all .15s; }
.hf-car-btn:hover { background: #16a34a; border-color: #16a34a; color: #fff; }
.hf-featured-grid { position: relative; }
@media (min-width: 1200px) {
	.hf-featured-grid .hf-campaigns-grid { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: thin; }
	.hf-featured-grid .hf-campaign-card { flex: 0 0 calc(16.666% - 19px); scroll-snap-align: start; min-width: 0; }
	.hf-featured-grid .hf-campaign-body { padding: 16px; gap: 9px; }
	.hf-featured-grid .hf-campaign-body h3 { font-size: .98rem; }
	.hf-featured-grid .hf-campaign-excerpt { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.hf-featured-grid .hf-campaign-photo { height: 150px; }
}

/* ---------- Campaign card: badge bottom-left, meta spread ---------- */
.hf-campaign-badge { top: auto; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; }
.hf-campaign-meta { justify-content: space-between; }
.hf-campaign-meta svg { fill: #16a34a; }

/* ---------- Split band: visual + how-it-works ---------- */
.hf-split-band { display: grid; grid-template-columns: 5fr 7fr; gap: 44px; align-items: stretch; }
.hf-band-visual { position: relative; border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; min-height: 460px; display: flex; align-items: flex-end; box-shadow: 0 16px 40px rgba(15,42,74,.18); }
.hf-band-visual-overlay { position: absolute; inset: 0; background: linear-gradient(200deg, rgba(10,25,45,.05) 30%, rgba(10,25,45,.85) 100%); }
.hf-band-visual-copy { position: relative; z-index: 2; padding: 38px 34px; color: #fff; }
.hf-band-visual-copy h2 { color: #fff; font-size: 1.9rem; margin: 0 0 12px; line-height: 1.2; }
.hf-band-visual-copy p { color: #e2e8f0; font-size: .95rem; margin: 0 0 22px; }
.hf-how--side .hf-section-head { margin-bottom: 24px; }
.hf-steps--plain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.hf-steps--plain li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 6px 4px; }
.hf-steps--plain .hf-step-icon { width: 54px; height: 54px; background: #16a34a; margin-bottom: 4px; }
.hf-steps--plain .hf-step-icon svg { fill: #fff; width: 26px; height: 26px; }
.hf-steps--plain li strong { color: #0f2a4a; font-size: .86rem; }
.hf-steps--plain li > span:last-child { color: #64748b; font-size: .76rem; }
.hf-steps--plain .hf-step-arrow { right: -12px; top: 26px; transform: none; font-size: 1.1rem; }

/* ---------- Why: horizontal rows ---------- */
.hf-why-grid--rows { grid-template-columns: repeat(3, 1fr); }
.hf-why-item--row { flex-direction: row; text-align: left; align-items: flex-start; border: 0; padding: 10px 6px; background: transparent; }
.hf-why-item--row:hover { transform: none; box-shadow: none; }
.hf-why-item--row .hf-why-icon { flex: 0 0 52px; width: 52px; height: 52px; margin: 0; }
.hf-why-item--row .hf-why-icon svg { width: 26px; height: 26px; }
.hf-why-copy { display: flex; flex-direction: column; gap: 2px; }
.hf-why-copy strong { color: #0f2a4a; font-size: .95rem; }
.hf-why-copy > span { color: #64748b; font-size: .84rem; }

/* ---------- Impact: stats panel + story overlay ---------- */
.hf-impact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; align-items: stretch; }
.hf-stats-panel { background: linear-gradient(130deg, #0b2240 0%, #0f2a4a 55%, #14532d 130%); border-radius: 22px; padding: 44px 40px; color: #fff; box-shadow: 0 16px 40px rgba(15,42,74,.2); }
.hf-stats-panel h2 { color: #fff; font-size: 1.7rem; margin: 0 0 10px; }
.hf-stats-panel > p { color: #cbd5e1; font-size: .92rem; margin: 0 0 28px; max-width: 520px; }
.hf-stats-grid--panel { grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 30px; }
.hf-stats-grid--panel .hf-stat { text-align: left; }
.hf-stat-icon { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.12); align-items: center; justify-content: center; margin-bottom: 8px; }
.hf-stat-icon svg { width: 18px; height: 18px; fill: #4ade80; }
.hf-stats-grid--panel .hf-stat strong { font-size: 1.9rem; }
.hf-stats-grid--panel .hf-stat > span { font-size: .8rem; }
.hf-story-card { position: relative; border-radius: 22px; overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; box-shadow: 0 16px 40px rgba(15,42,74,.2); }
.hf-story-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hf-story-overlay { position: relative; z-index: 2; width: 100%; padding: 34px 30px; background: linear-gradient(180deg, rgba(10,25,45,0) 0%, rgba(10,25,45,.85) 70%); color: #fff; }
.hf-story-overlay h2 { color: #fff; font-size: 2rem; margin: 0 0 8px; line-height: 1.15; }
.hf-story-overlay p { color: #e2e8f0; font-size: .9rem; margin: 0 0 16px; }

/* ---------- News read more ---------- */
.hf-read-more { display: inline-block; margin-top: 12px; font-size: .86rem; }

/* ---------- Responsive: refined layouts ---------- */
@media (max-width: 1199px) {
	.hf-cat-cards--6 { grid-template-columns: repeat(3, 1fr); }
	.hf-split-band { grid-template-columns: 1fr; }
	.hf-band-visual { min-height: 380px; }
	.hf-impact-grid { grid-template-columns: 1fr; }
	.hf-story-card { min-height: 380px; }
}
@media (max-width: 900px) {
	.hf-hero-story { display: none; }
	.hf-steps--plain { grid-template-columns: repeat(2, 1fr); gap: 20px; }
	.hf-steps--plain .hf-step-arrow { display: none; }
	.hf-why-grid--rows { grid-template-columns: 1fr 1fr; }
	.hf-stats-grid--panel { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.hf-cat-cards--6 { grid-template-columns: repeat(2, 1fr); }
	.hf-trust--row { gap: 8px 18px; }
	.hf-hero2-inner { padding: 70px 0 40px; }
	.hf-why-grid--rows { grid-template-columns: 1fr; }
	.hf-stats-panel { padding: 32px 24px; }
	.hf-carousel-nav { display: none; }
}

/* ---------- Campaign page: mockup refinements ---------- */
.hf-camp-hero-inner { position: relative; }
.hf-script--camp-hero { position: absolute; right: 10px; top: 44px; font-size: 1.7rem; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.5); text-align: center; line-height: 1.35; margin: 0; z-index: 2; }
.hf-camp-features--row { grid-template-columns: repeat(3, 1fr); background: none; }
.hf-camp-features--row .hf-camp-feature { background: none; border-radius: 0; padding: 6px 18px; text-align: left; display: flex; align-items: center; gap: 14px; border-left: 1px solid #e2e8f0; }
.hf-camp-features--row .hf-camp-feature:first-child { border-left: 0; padding-left: 0; }
.hf-camp-features--row .hf-camp-feature-icon { margin: 0; flex: 0 0 52px; }
.hf-progress-bar-row { display: flex; align-items: center; gap: 14px; }
.hf-progress-bar-row .hf-progress-bar { flex: 1; }
.hf-camp-progress-pct { font-size: 1.1rem; font-weight: 800; color: #16a34a; margin: 0; white-space: nowrap; }
.hf-camp-stats--row { grid-template-columns: repeat(4, 1fr); background: none; }
.hf-camp-stats--row .hf-camp-stat { background: transparent; padding: 4px; }
.hf-quote-card--light { background: #e8f8ee; color: #0f2a4a; position: relative; }
.hf-quote-card--light .hf-quote-copy { position: relative; z-index: 2; }
.hf-quote-card--light .hf-quote-text { color: #0f2a4a; }
.hf-quote-card--light .hf-quote-sub { color: #475569; }
.hf-quote-card--light .hf-quote-by { color: #15803d; }
.hf-quote-globe { position: absolute; right: -30px; top: 50%; transform: translateY(-50%); width: 260px; height: 260px; opacity: .12; z-index: 1; pointer-events: none; }
.hf-quote-globe svg { width: 100%; height: 100%; fill: #16a34a; }
.hf-donate-panel .hf-pay-badge { width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.05rem; color: #fff; margin-right: 10px; padding: 0; flex: 0 0 40px; }
.hf-donate-panel .hf-pay-card { display: flex; align-items: center; padding: 12px 40px 12px 12px; }
.hf-donate-panel .hf-pay-text { display: flex; flex-direction: column; gap: 1px; }
.hf-donate-panel .hf-pay-text strong { color: #0f2a4a; font-size: .9rem; }
.hf-donate-panel .hf-pay-text small { color: #64748b; font-size: .76rem; }
.hf-check a { color: #16a34a; font-weight: 600; }
@media (max-width: 900px) {
	.hf-script--camp-hero { display: none; }
	.hf-camp-features--row { grid-template-columns: 1fr; }
	.hf-camp-features--row .hf-camp-feature { border-left: 0; border-top: 1px solid #e2e8f0; padding: 14px 0; }
	.hf-camp-features--row .hf-camp-feature:first-child { border-top: 0; }
	.hf-camp-stats--row { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Trust badges — definitive v1.0.2 (fresh classes, explicit colors) ---------- */
.hf-trust-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 26px 0; }
.hf-trust-grid .hf-trust-item { display: flex; align-items: center; gap: 12px; background: #ffffff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(15,42,74,.10); border: 1px solid #eef2f0; }
.hf-trust-grid .hf-trust-check { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; background: #16a34a; display: inline-flex; align-items: center; justify-content: center; }
.hf-trust-grid .hf-trust-check svg { width: 18px; height: 18px; fill: #ffffff; }
.hf-trust-grid .hf-trust-text { display: flex; flex-direction: column; line-height: 1.3; }
.hf-trust-grid .hf-trust-text strong { display: block; color: #0f2a4a; font-size: .92rem; font-weight: 700; }
.hf-trust-grid .hf-trust-text > span { display: block; color: #64748b; font-size: .8rem; }
@media (max-width: 900px) { .hf-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
	.hf-trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 20px 0; }
	.hf-trust-grid .hf-trust-item { padding: 10px 12px; gap: 10px; }
	.hf-trust-grid .hf-trust-text strong { font-size: .82rem; }
	.hf-trust-grid .hf-trust-text > span { font-size: .72rem; }
}

/* ---------- Footer payment brand badges v1.0.2 ---------- */
.hf-pay-brands { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 4px; }
.hf-pay-brand { display: inline-flex; align-items: center; gap: 8px; background: #ffffff; border-radius: 10px; padding: 7px 13px; font-weight: 800; font-size: .85rem; color: #0f2a4a; box-shadow: 0 2px 10px rgba(0,0,0,.14); line-height: 1; }
.hf-pay-brand svg { width: 22px; height: 22px; flex: 0 0 22px; }
.hf-pay-brand--paypal { color: #003087; font-style: italic; }
.hf-pay-brand--paypal .hf-pp2 { color: #009cde; }
.hf-pay-brand--stripe { color: #0a2540; letter-spacing: -.02em; }
.hf-pay-brand--donorbox { color: #166534; }
.hf-pay-brand--usdt { color: #0f766e; }
.hf-footer-logo .custom-logo-link { display: inline-block; line-height: 0; }

/* ---------- v1.0.4: progress card titles + custom payment brands ---------- */
.hf-progress-title { font-size: 1.05rem; margin: 0 0 12px; font-weight: 700; }
.hf-progress-title a { color: #0f2a4a; }
.hf-progress-title a:hover { color: #15803d; }
.hf-pay-brand--custom { color: #0f2a4a; }

/* ---------- v1.0.6: donate form on top of campaign pages, progress card polish, CTA buttons ---------- */
.hf-camp-donate-top { background: #f6faf7; border-top: 1px solid #e8eef3; border-bottom: 1px solid #e8eef3; }
.hf-camp-layout--single { grid-template-columns: 1fr; }
.hf-camp-layout--single .hf-camp-main { max-width: 880px; margin: 0 auto; width: 100%; }

/* Progress card ([hf_campaign_progress]) — cleaner card, proper stat grid. */
.hf-progress { background: #fff; border: 1px solid #e8eef3; border-radius: 18px; padding: 24px; box-shadow: 0 12px 34px rgba(15,42,74,.08); }
.hf-progress-title { font-size: 1.3rem; margin: 0 0 14px; font-weight: 800; }
.hf-progress-title a { color: #0f2a4a; text-decoration: none; }
.hf-progress-title a:hover { color: #15803d; }
.hf-progress .hf-progress-bar { height: 12px; }
.hf-progress-stats { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0 0; padding: 0; }
.hf-progress-stats li { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px; padding: 10px 14px; font-size: .82rem; color: #64748b; }
.hf-progress-stats strong { display: block; font-size: 1.15rem; color: #0f2a4a; margin-bottom: 2px; }
.hf-progress-currencies { margin: 14px 0 0; font-size: .85rem; color: #64748b; }
@media (min-width: 640px) {
	.hf-progress-stats { grid-template-columns: repeat(4, 1fr); }
}

/* "Donate Now / How Donations Work" as real buttons on campaign pages. */
.hf-camp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.hf-camp-cta-row .hf-btn { text-decoration: none; }

/* GoFundMe-style donation summary card (v1.0.9). In-flow, NOT fixed. */
.hf-camp-popup-wrap { max-width: 560px; margin: 36px auto 8px; padding: 0 16px; }
.hf-dpop { background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; box-shadow: 0 8px 28px rgba(15, 40, 25, .10); padding: 22px 22px 20px; }
.hf-dpop-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.hf-dpop-ring { position: relative; width: 72px; height: 72px; flex: 0 0 72px; }
.hf-dpop-ring svg { display: block; }
.hf-dpop-pct { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; color: #14532d; }
.hf-dpop-meta { min-width: 0; }
.hf-dpop-raised { font-size: 21px; color: #1f2937; line-height: 1.3; }
.hf-dpop-raised strong { font-weight: 800; }
.hf-dpop-goal { color: #6b7280; font-weight: 400; }
.hf-dpop-donor { margin-top: 6px; font-size: 15px; color: #4b5563; }
.hf-dpop-btns { display: flex; gap: 12px; }
.hf-dpop-donate, .hf-dpop-share { flex: 1; display: inline-flex; align-items: center; justify-content: center; padding: 15px 10px; border-radius: 999px; font-size: 19px; font-weight: 700; cursor: pointer; text-decoration: none; border: none; }
.hf-dpop-donate { background: #d9f99d; color: #14532d; }
.hf-dpop-donate:hover { background: #bef264; }
.hf-dpop-share { background: #14532d; color: #d9f99d; }
.hf-dpop-share:hover { background: #166534; }
@media (max-width: 480px) {
	.hf-dpop-raised { font-size: 18px; }
	.hf-dpop-donate, .hf-dpop-share { font-size: 17px; padding: 13px 8px; }
}

/* === v1.1.0: Share Flyers page (page-share.php) === */
.hf-share-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.hf-share-card { background: #fff; border: 1px solid #e6e8f0; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(15, 23, 66, 0.06); }
.hf-share-img img { display: block; width: 100%; height: auto; }
.hf-share-title { font-size: 1.05rem; margin: 14px 16px 10px; color: #1a2340; }
.hf-share-btns { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px; }
.hf-share-btn { display: inline-block; padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; font-weight: 600; border: 1px solid #dfe3f0; background: #f6f7fb; color: #1a2340; text-decoration: none; cursor: pointer; font-family: inherit; }
.hf-share-btn:hover { filter: brightness(0.96); }
.hf-share-native { background: #0f9d58; border-color: #0f9d58; color: #fff; }
.hf-share-wa { background: #25d366; border-color: #25d366; color: #fff; }
.hf-share-fb { background: #1877f2; border-color: #1877f2; color: #fff; }
.hf-share-x { background: #111; border-color: #111; color: #fff; }
.hf-share-tg { background: #229ed9; border-color: #229ed9; color: #fff; }
.hf-share-note { font-size: 0.78rem; color: #6b7280; margin: 10px 16px 16px; }
