/* Donation pages. Builds on colors_and_type.css, home.css (buttons) and pages.css (page shell). */
.dn { max-width: 640px; color: #3C3938; }
.dn-form { display: grid; gap: 22px; }
.dn-block { border: 1px solid #ececec; border-radius: 16px; padding: 20px 22px 22px; margin: 0; background: #fff; }
.dn-block legend { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.05rem; color: #111; padding: 0 8px; }
.dn label { display: block; font-family: "Poppins", sans-serif; font-size: 13.5px; font-weight: 500; margin: 14px 0 6px; }
.dn input[type="text"], .dn input[type="email"], .dn textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #cfcfcf; border-radius: 10px;
  font: inherit; background: #fff; color: #111;
}
.dn input:focus-visible, .dn textarea:focus-visible, .dn-preset:focus-visible { outline: 3px solid #586c8c; outline-offset: 2px; }
.dn-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 10px; margin-bottom: 6px; }
.dn-preset {
  padding: 14px 10px; border: 2px solid #ececec; border-radius: 12px; background: #fff; cursor: pointer;
  font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.15rem; color: #111; transition: .2s;
}
.dn-preset:hover { border-color: var(--asuk-accent, #DD7878); }
.dn-preset[aria-pressed="true"] { border-color: #1F2B4B; background: #fdf2f2; color: #8f3f3d; }
.dn .dn-pay, .dn .dn-check { display: flex; gap: 10px; align-items: center; margin: 8px 0; cursor: pointer; }
.dn .dn-check { align-items: flex-start; font-weight: 400; font-size: 14.5px; line-height: 1.5; }
.dn .dn-check input { margin-top: 4px; }
.dn-small { font-size: 13px; color: #666; line-height: 1.55; margin: 10px 0 0; }
.dn-error { color: #b3261e; font-size: 13.5px; margin-top: 6px; }
.dn-note { background: #fdf2f2; border: 1px solid #ececec; border-radius: 12px; padding: 16px 18px; }
.dn-submit { justify-self: start; min-width: 240px; }
.dn-result { font-size: 1.05rem; line-height: 1.65; }
.dn-big { font-family: "Raleway", sans-serif; font-size: 1.35rem; }
@media (max-width: 520px) { .dn-submit { width: 100%; } .dn-block { padding: 16px; } }

/* Our pledge, above the form */
.dn-pledge { max-width: 640px; margin-bottom: 30px; color: #3C3938; }
.dn-pledge h2 { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 1.4rem; color: #111; margin: 0 0 12px; }
.dn-pledge ul { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; line-height: 1.6; }
.dn-thanks { background: #fdf2f2; border-radius: 12px; padding: 14px 18px; margin: 0; line-height: 1.6; }
