/* ASM Hosted Giving — every rule scoped under .asmhg so nothing leaks into the theme. */
.asmhg{
  /* ASM brand (Elementor kit: primary #50B748, tints #DBF1DA / #A6DBA3, text #242424, Lato).
     Fills use --brand #36932F ("Balanced": ASM's hue, deeper, chosen Oct 8 2026) with white
     text at 3.9:1. That meets WCAG AA only for LARGE text, so everything white-on-green is
     19px bold (tiles, main button) or a graphic (the check mark in completed steps). Don't put small
     white text on --brand. Green TEXT and focus outlines on white use --g #367C31 (5.1:1). */
  --brand:#36932F; --brand-hover:#30852A; --brand-soft:#9BCB97; --on-brand:#FFFFFF;
  --g:#367C31; --g-light:#EEF8ED; --g-line:#CFEBCC; --ring:rgba(80,183,72,.35);
  --ink:#242424; --ink2:#4A4F4A; --ink3:#5F665F; --line:#DDE4DC; --line2:#F1F4F1; --bg:#F7FAF7;
  --danger:#B3261E; --r:10px;
  font-family:"Lato",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:16px; line-height:1.5; color:var(--ink); max-width:680px; margin:0 auto; text-align:left;
}
.asmhg *,.asmhg *::before,.asmhg *::after{box-sizing:border-box}
.asmhg button,.asmhg input,.asmhg select,.asmhg textarea{font-family:inherit;font-size:inherit;line-height:inherit;text-transform:none;letter-spacing:normal;margin:0}
/* Page builders (Elementor) and themes often set label{line-height:1}; keep wrapped labels readable. */
.asmhg label,.asmhg .asmhg-check span,.asmhg .asmhg-hint,.asmhg p{line-height:1.45}
.asmhg .asmhg-lbl{line-height:1.35}
.asmhg p{margin:0}
.asmhg [hidden]{display:none !important}
.asmhg .asmhg-sr{position:absolute !important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.asmhg .asmhg-test{background:#FFF8E6;border:1px solid #F2E0B0;color:#6B5312;border-radius:var(--r);padding:11px 14px;font-size:13.5px;margin:0 0 16px}
.asmhg .asmhg-test code{background:rgba(0,0,0,.06);padding:1px 5px;border-radius:4px}
.asmhg .asmhg-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;box-shadow:0 1px 2px rgba(16,24,18,.05),0 8px 24px rgba(16,24,18,.06)}
@media (max-width:600px){ .asmhg .asmhg-card{padding:20px 16px} }
.asmhg .asmhg-title,.asmhg .asmhg-h{font-family:inherit}
.asmhg .asmhg-title{font-size:22px;line-height:1.25;font-weight:700;margin:0 0 4px;padding:0;color:var(--ink);letter-spacing:-.01em}
.asmhg .asmhg-sub{color:var(--ink3);font-size:14.5px;margin:0 0 20px}
.asmhg .asmhg-lead{font-size:17px;margin:6px 0 12px;color:var(--ink2)}
.asmhg .asmhg-notice{background:var(--g-light);border:1px solid var(--g-line);border-radius:var(--r);padding:12px 14px;font-size:14px;color:var(--ink2);margin:0 0 16px}

/* stepper */
.asmhg .asmhg-stepper{display:flex;list-style:none;margin:6px 0 22px;padding:0}
.asmhg .asmhg-stepper li{flex:1;text-align:center;position:relative;min-width:0;margin:0;padding:0}
.asmhg .asmhg-stepper li::before{content:"";position:absolute;top:15px;left:-50%;width:100%;height:2px;background:var(--line);z-index:0}
.asmhg .asmhg-stepper li:first-child::before{display:none}
.asmhg .asmhg-dot{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0 auto 6px;border-radius:50%;border:2px solid var(--line);background:#fff;color:var(--ink3);font-size:13.5px;font-weight:700}
.asmhg .asmhg-stepname{font-size:12.5px;font-weight:600;color:var(--ink3)}
.asmhg .asmhg-stepper li[aria-current="step"] .asmhg-dot{border-color:var(--brand);color:var(--g);box-shadow:0 0 0 4px var(--ring)}
.asmhg .asmhg-stepper li[aria-current="step"] .asmhg-stepname{color:var(--ink)}
.asmhg .asmhg-stepper li.is-done .asmhg-dot{background:var(--brand);border-color:var(--brand);color:var(--on-brand);font-size:0}
.asmhg .asmhg-stepper li.is-done .asmhg-dot::after{content:"\2713";font-size:16px;font-weight:700;line-height:1}
.asmhg .asmhg-stepper li.is-done::before{background:var(--brand)}

/* type */
.asmhg .asmhg-h{font-size:17px;font-weight:700;margin:0 0 14px;padding:0;color:var(--ink)}
.asmhg .asmhg-h:focus{outline:none}
.asmhg .asmhg-lbl{display:block;font-size:13.5px;font-weight:600;color:var(--ink2);margin:0 0 6px;padding:0}
.asmhg .asmhg-req,.asmhg .asmhg-opt{font-weight:500;color:var(--ink3);font-size:12.5px}
.asmhg .asmhg-hint{font-size:13px;color:var(--ink3);margin:5px 0 0}
.asmhg .asmhg-fs{border:0;margin:0 0 18px;padding:0;min-width:0}
.asmhg .asmhg-field{margin:0 0 16px}

/* controls */
.asmhg input[type=text],.asmhg input[type=email],.asmhg input[type=tel],.asmhg select,.asmhg textarea{
  width:100%;font-size:15px;color:var(--ink);background:#fff;border:1px solid #B9C4BC;border-radius:var(--r);padding:10px 12px;min-height:44px;transition:border-color .15s,box-shadow .15s}
.asmhg textarea{resize:vertical;min-height:80px;display:block}
.asmhg input:focus-visible,.asmhg select:focus-visible,.asmhg textarea:focus-visible{outline:none;border-color:var(--brand);box-shadow:0 0 0 3px var(--ring)}
.asmhg [aria-invalid="true"],.asmhg input:user-invalid{border-color:var(--danger)}
.asmhg .asmhg-err{color:var(--danger);font-size:13px;font-weight:600;margin:6px 0 0}
.asmhg .asmhg-form-err{background:#FDECEA;border-radius:var(--r);padding:10px 12px;margin:0 0 12px}

/* segmented radios (frequency, tribute type) */
.asmhg .asmhg-seg{display:grid;grid-template-columns:1fr 1fr;gap:4px;background:var(--line2);border-radius:var(--r);padding:4px}
.asmhg .asmhg-seg label{position:relative;margin:0}
.asmhg .asmhg-seg input,.asmhg .asmhg-tile input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.asmhg .asmhg-seg span{display:block;text-align:center;font-weight:600;font-size:14.5px;color:var(--ink2);padding:9px 12px;border-radius:7px;cursor:pointer}
.asmhg .asmhg-seg input:checked + span{background:#fff;color:var(--g);box-shadow:0 1px 3px rgba(16,24,18,.15),inset 0 -3px 0 var(--brand)}
.asmhg .asmhg-seg input:focus-visible + span,.asmhg .asmhg-tile input:focus-visible + span{outline:2px solid var(--g);outline-offset:2px}

/* amount tiles */
.asmhg .asmhg-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0 0 12px}
@media (max-width:480px){ .asmhg .asmhg-tiles{grid-template-columns:repeat(2,1fr)} }
.asmhg .asmhg-tile{position:relative;margin:0}
.asmhg .asmhg-tile span{display:flex;flex-direction:row;align-items:baseline;justify-content:center;gap:0;min-height:56px;padding:12px 6px;border:1.5px solid var(--line);border-radius:var(--r);background:#fff;color:var(--g);font-size:19px;font-weight:700;cursor:pointer;transition:all .14s}
.asmhg .asmhg-tile small{font-size:inherit;font-weight:inherit;color:inherit}
.asmhg .asmhg-tile span:hover{border-color:var(--brand);background:var(--g-light)}
.asmhg .asmhg-tile input:checked + span{background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.asmhg .asmhg-tile input:checked + span small{color:inherit}
.asmhg .asmhg-money{position:relative}
.asmhg .asmhg-money span{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--ink3);pointer-events:none}
.asmhg .asmhg-money input{padding-left:26px}
.asmhg .asmhg-other{margin:0}

/* checkboxes */
.asmhg .asmhg-check{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--ink2);cursor:pointer;margin:0 0 14px}
.asmhg .asmhg-sms .asmhg-check{margin:2px 0 0}
.asmhg .asmhg-sms .asmhg-hint{margin:2px 0 0 28px}
.asmhg .asmhg-check input{width:18px;height:18px;margin:2px 0 0;flex:none;accent-color:var(--brand);cursor:pointer}
.asmhg .asmhg-fee{background:var(--g-light);border:1px solid var(--g-line);border-radius:var(--r);padding:13px 14px 1px;margin:0 0 18px}
.asmhg .asmhg-fee b{color:var(--ink)}
.asmhg .asmhg-ach-opt{font-size:14px;margin:-6px 0 12px}
.asmhg .asmhg-tribute{border-top:1px solid var(--line2);padding-top:16px;margin-top:4px}

/* summary + review */
.asmhg .asmhg-summary{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}
.asmhg .asmhg-row{display:flex;justify-content:space-between;gap:12px;font-size:14.5px;color:var(--ink2);margin-bottom:5px}
.asmhg .asmhg-total{font-size:19px;font-weight:700;color:var(--ink);border-top:1px solid var(--line2);padding-top:10px;margin-top:8px}
.asmhg .asmhg-review{display:grid;grid-template-columns:max-content 1fr;gap:8px 16px;margin:0 0 10px;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:var(--r);font-size:14.5px}
.asmhg .asmhg-review dt{font-weight:600;color:var(--ink2);margin:0}
.asmhg .asmhg-review dd{margin:0;color:var(--ink);overflow-wrap:anywhere}
@media (max-width:480px){ .asmhg .asmhg-review{grid-template-columns:1fr} .asmhg .asmhg-review dd{margin-bottom:6px} }
.asmhg .asmhg-edits{font-size:13.5px;margin:0 0 16px;color:var(--ink3)}
.asmhg .asmhg-link{background:none;border:0;padding:0;color:var(--g);font-weight:600;text-decoration:underline;cursor:pointer}
.asmhg .asmhg-ach{font-size:13.5px;color:var(--ink3);margin:0 0 14px}
.asmhg .asmhg-status{font-size:14px;color:var(--ink2);min-height:1.2em;margin:0}

/* grid */
.asmhg .asmhg-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.asmhg .asmhg-full{grid-column:1/-1}
@media (max-width:560px){ .asmhg .asmhg-grid{grid-template-columns:1fr} }
.asmhg .asmhg-more summary{cursor:pointer;color:var(--g);font-weight:600;font-size:14px;padding:6px 0;margin-bottom:8px}

/* buttons */
.asmhg .asmhg-nav{display:flex;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid var(--line2)}
.asmhg .asmhg-btn{display:inline-block;cursor:pointer;font-size:16px;font-weight:600;border-radius:var(--r);padding:13px 22px;min-height:48px;border:1.5px solid transparent;text-decoration:none;transition:background .14s}
.asmhg .asmhg-primary{background:var(--brand);color:var(--on-brand);font-size:19px;font-weight:700;flex:1;text-align:center}
.asmhg .asmhg-primary:hover{background:var(--brand-hover);color:var(--on-brand)}
.asmhg .asmhg-primary:disabled{background:var(--brand-soft);color:#FFFFFF;cursor:progress}
.asmhg .asmhg-ghost{background:#fff;border-color:var(--line);color:var(--ink2)}
.asmhg .asmhg-ghost:hover{border-color:var(--brand);color:var(--g)}
.asmhg .asmhg-btn:focus-visible,.asmhg .asmhg-link:focus-visible,.asmhg summary:focus-visible{outline:2px solid var(--g);outline-offset:3px}
.asmhg .asmhg-trust{display:flex;gap:8px;align-items:flex-start;font-size:12.5px;line-height:1.55;color:var(--ink3);margin-top:14px}
.asmhg .asmhg-trust svg{flex:none;margin-top:2px}

@media (prefers-reduced-motion: reduce){ .asmhg *{transition:none !important} }
