/* Donation panel — /assets/js/give.js renders into <div class="give" data-…>.
   Shared by the three Borderlands Foundation sites; colours come from each site's tokens.css. */
.give{--g-ink:var(--color-navy-900,#0f1729);--g-mute:var(--color-stone-500,#6b6b6b);--g-line:var(--color-border,#e5e0d5);
  --g-gold:var(--color-gold-500,#d4a017);--g-gold-ink:var(--color-gold-600,#b8860b);--g-soft:var(--color-gold-100,#fbf3dc);
  background:var(--color-white,#fff);color:var(--g-ink);border:1px solid var(--g-line);border-radius:var(--radius-lg,16px);
  box-shadow:0 24px 60px -32px rgba(15,23,41,.45);overflow:hidden;text-align:left;max-width:640px;margin-inline:auto;width:100%}
.give[hidden]{display:none}
.give__form,.give__pay{padding:clamp(20px,4vw,36px)}
.give__head{display:grid;gap:6px;margin-bottom:22px}
.give__eyebrow{font-size:.875rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--g-gold-ink);margin:0}
.give__title{font-size:clamp(1.35rem,3vw,1.7rem);font-weight:800;line-height:1.15;letter-spacing:-.01em;margin:0;color:var(--g-ink);text-wrap:balance}
.give__sub{margin:0;color:var(--g-mute);font-size:.95rem;line-height:1.5}

.give__freq{display:grid;grid-template-columns:1fr 1fr;background:var(--color-stone-100,#f3f1ec);border-radius:999px;padding:4px;margin-bottom:18px}
.give__freq button{appearance:none;border:0;background:transparent;font:inherit;font-weight:700;font-size:.95rem;color:var(--g-mute);
  padding:10px 12px;border-radius:999px;cursor:pointer;transition:background .15s,color .15s}
.give__freq button[aria-pressed="true"]{background:var(--g-ink);color:#fff;box-shadow:0 2px 8px rgba(15,23,41,.25)}

.give__amts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:12px}
.give__amts[data-cols="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.give__amt{appearance:none;font:inherit;text-align:left;cursor:pointer;background:var(--color-white,#fff);color:var(--g-ink);
  border:1.5px solid var(--g-line);border-radius:12px;padding:14px 16px;display:grid;gap:4px;align-content:start;min-height:76px;
  transition:border-color .15s,background .15s,transform .15s}
.give__amt:hover{border-color:var(--g-gold)}
.give__amt b{font-size:1.45rem;font-weight:800;letter-spacing:-.01em;font-variant-numeric:tabular-nums;line-height:1.1}
.give__amt span{font-size:.9rem;line-height:1.35;color:var(--g-mute)}
.give__amt[aria-pressed="true"]{background:var(--g-ink);border-color:var(--g-ink);color:#fff}
.give__amt[aria-pressed="true"] b{color:var(--g-gold)}
.give__amt[aria-pressed="true"] span{color:rgba(255,255,255,.78)}

.give__other{display:flex;align-items:center;gap:8px;border:1.5px solid var(--g-line);border-radius:12px;padding:0 14px;margin-bottom:16px;background:var(--color-white,#fff)}
.give__other:focus-within{border-color:var(--g-gold);box-shadow:0 0 0 3px var(--g-soft)}
.give__other span{font-weight:800;font-size:1.2rem;color:var(--g-mute)}
.give__other input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:1.1rem;font-weight:700;color:var(--g-ink);padding:14px 0;font-variant-numeric:tabular-nums}
.give__other input::placeholder{font-weight:500;color:var(--g-mute)}

.give__fees{display:flex;gap:10px;align-items:flex-start;font-size:.9rem;line-height:1.45;color:var(--g-ink);margin-bottom:18px;cursor:pointer}
.give__fees input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--g-ink);flex:none}

.give__go{appearance:none;width:100%;border:0;cursor:pointer;font:inherit;font-size:1.1rem;font-weight:800;letter-spacing:.01em;
  background:var(--g-gold);color:var(--g-ink);border-radius:12px;padding:17px 20px;display:flex;justify-content:center;align-items:center;gap:10px;
  transition:filter .15s,transform .15s}
.give__go:hover{filter:brightness(1.05)}
.give__go:active{transform:translateY(1px)}
.give__go[disabled]{opacity:.55;cursor:not-allowed}
.give__go svg{width:18px;height:18px}

.give__msg{margin:12px 0 0;font-size:.9rem;color:var(--color-error,#b42318);min-height:1.2em}
.give__notes{list-style:none;margin:14px 0 0;padding:0;display:grid;gap:6px;font-size:.95rem;line-height:1.45;color:var(--g-ink)}
.give__notes li{display:flex;gap:8px;align-items:flex-start}
.give__notes li::before{content:"";flex:none;width:7px;height:12px;margin:3px 4px 0 2px;border:solid var(--g-gold-ink);border-width:0 2px 2px 0;transform:rotate(45deg)}
.give__trust{display:flex;gap:10px;align-items:flex-start;margin:16px 0 0;padding-top:16px;border-top:1px solid var(--g-line);font-size:.95rem;line-height:1.5;color:var(--color-stone-700,#44403c)}
.give__trust svg{flex:none;width:16px;height:16px;margin-top:1px;color:var(--g-gold-ink)}

.give__bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.give__back{appearance:none;border:0;background:none;font:inherit;font-weight:700;color:var(--g-ink);cursor:pointer;padding:6px 0;text-decoration:underline;text-decoration-color:var(--g-gold);text-underline-offset:3px}
.give__summary{font-size:.9rem;color:var(--g-mute)}
.give__summary b{color:var(--g-ink)}
.give__test{display:inline-block;font-size:.8rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--g-ink);background:var(--g-soft);border:1px dashed var(--g-gold);border-radius:999px;padding:2px 10px}
.give__mount{min-height:360px}
.give__loading{padding:60px 0;text-align:center;color:var(--g-mute)}

.give button:focus-visible,.give input:focus-visible{outline:2px solid var(--g-gold);outline-offset:2px}
.give .give__other input:focus,.give .give__other input:focus-visible{outline:0;box-shadow:none}
@media (max-width:480px){.give__amt{min-height:70px;padding:12px}.give__amt b{font-size:1.2rem}.give__amts[data-cols="3"]{gap:8px}.give__amts[data-cols="3"] .give__amt{padding:10px}}
@media (prefers-reduced-motion:reduce){.give *{transition:none!important}}
[data-give-fallback][hidden]{display:none!important}

/* Labelled tiles on phones: two columns, an odd last tile spans the row, labels wrap inside. */
.give__amt span{overflow-wrap:anywhere;hyphens:auto}
@media (max-width:480px){
  .give__amts[data-labelled="1"]{grid-template-columns:repeat(2,minmax(0,1fr))}
  .give__amts[data-labelled="1"] .give__amt:last-child:nth-child(odd){grid-column:1/-1}
  .give__amts[data-labelled="1"] .give__amt{min-height:0}
}
