body.donations-page .layout-grid.layout-grid--no-sidebars {
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px;
}

body.donations-page .main-content {
  gap: 0;
}

.donations-shell {
  --donation-green: #16843a;
  --donation-green-dark: #0f6b2c;
  --donation-green-soft: #e9f8ee;
  --donation-mint: #f4fbf5;
  --donation-text: var(--text, #101828);
  --donation-muted: var(--muted, #667085);
  --donation-line: color-mix(in srgb, var(--line, #d7dde5) 78%, transparent);
  --donation-card: var(--card, #fff);
  --donation-bg: var(--bg, #fff);
  --donation-shadow: 0 24px 70px rgba(15, 23, 42, .1);
  color: var(--donation-text);
  display: grid;
  gap: 28px;
  padding: 10px 0 34px;
}

.donation-svg-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.donations-hero {
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  align-items: center;
  gap: 32px;
  padding: 34px 40px 28px;
  border: 1px solid rgba(22, 132, 58, .1);
  border-radius: 24px;
  background:
    radial-gradient(circle at 76% 18%, rgba(133, 209, 116, .2), transparent 30%),
    linear-gradient(180deg, color-mix(in srgb, var(--donation-card) 96%, #e9f8ee), var(--donation-card));
  box-shadow: 0 26px 80px rgba(15, 23, 42, .08);
  overflow: hidden;
  position: relative;
}

.donations-hero:after {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 132, 58, .22), transparent);
}

.donations-kicker {
  display: block;
  color: var(--donation-green-dark);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.donations-hero h1 {
  margin: 0;
  color: var(--donation-text);
  font-size: clamp(34px, 5.3vw, 56px);
  line-height: .95;
  font-weight: 950;
  letter-spacing: 0;
}

.donations-hero p {
  margin: 18px 0 0;
  max-width: 620px;
  color: var(--donation-muted);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 650;
}

.donations-hero-login {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--donation-green);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(22, 132, 58, .24);
}

.donations-hero-art {
  min-height: 245px;
  position: relative;
  display: grid;
  place-items: center;
}

.donation-heart-mark {
  width: 126px;
  height: 126px;
  transform: rotate(-45deg);
  border-radius: 30px 30px 18px 30px;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, .72), transparent 27%),
    linear-gradient(135deg, #95d779, #14833b 74%);
  box-shadow: 0 22px 38px rgba(22, 132, 58, .24);
  position: relative;
  z-index: 3;
}

.donation-heart-mark:before,
.donation-heart-mark:after {
  content: "";
  position: absolute;
  width: 126px;
  height: 126px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .7), transparent 26%),
    linear-gradient(135deg, #a8df86, #16843a 74%);
}

.donation-heart-mark:before {
  top: -64px;
  left: 0;
}

.donation-heart-mark:after {
  left: 64px;
  top: 0;
}

.donation-heart-mark span {
  position: absolute;
  inset: 28px 0 0 28px;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  transform: rotate(45deg);
  z-index: 4;
  border: 5px solid rgba(255, 255, 255, .95);
  border-radius: 999px;
  background: rgba(255, 255, 255, .82);
  color: #0f6b2c;
  font-size: 36px;
  font-weight: 950;
  box-shadow: inset 0 0 0 4px rgba(22, 132, 58, .18);
}

.donation-hand {
  position: absolute;
  bottom: 8px;
  width: 128px;
  height: 104px;
  border-radius: 64px 64px 24px 24px;
  background:
    radial-gradient(circle at 36% 20%, #ffd2ac, transparent 34%),
    linear-gradient(180deg, #ffc99d, #f29b61);
  filter: drop-shadow(0 18px 24px rgba(168, 92, 35, .18));
  opacity: .95;
  z-index: 2;
}

.donation-hand-left {
  left: 42px;
  transform: rotate(28deg);
}

.donation-hand-right {
  right: 42px;
  transform: scaleX(-1) rotate(28deg);
}

.donation-leaf {
  position: absolute;
  width: 34px;
  height: 20px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, rgba(184, 230, 165, .92), rgba(116, 190, 93, .62));
  box-shadow: 0 14px 30px rgba(22, 132, 58, .14);
}

.donation-leaf-one { top: 44px; left: 48px; transform: rotate(34deg); }
.donation-leaf-two { top: 38px; right: 54px; transform: rotate(-18deg) scale(.86); }
.donation-leaf-three { bottom: 70px; right: 22px; transform: rotate(38deg) scale(.72); }

.donation-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: -42px;
  padding: 17px 20px;
  border: 1px solid rgba(22, 132, 58, .1);
  border-radius: 18px;
  background: var(--donation-card);
  box-shadow: 0 18px 50px rgba(15, 23, 42, .1);
  position: relative;
  z-index: 5;
}

.donation-trust-strip article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 12px;
}

.donation-trust-strip article + article {
  border-left: 1px solid rgba(22, 132, 58, .1);
}

.donation-trust-strip article > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--donation-green-soft);
  color: var(--donation-green-dark);
  font-size: 19px;
}

.donation-trust-strip strong {
  display: block;
  color: var(--donation-text);
  font-size: 13px;
  font-weight: 950;
}

.donation-trust-strip small {
  display: block;
  color: var(--donation-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 650;
  margin-top: 3px;
}

.donation-builder-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .94fr);
  gap: 22px;
  align-items: start;
}

.donation-editor-panel,
.donation-preview-panel,
.donation-login-panel,
.donation-community-section,
.donation-info-panel {
  border: 1px solid var(--donation-line);
  border-radius: 18px;
  background: var(--donation-card);
  box-shadow: var(--donation-shadow);
}

.donation-editor-panel,
.donation-preview-panel {
  padding: 26px;
}

.donation-section-heading h2,
.donation-community-head h2,
.donation-info-panel h2 {
  margin: 0;
  color: var(--donation-text);
  font-size: 24px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
}

.donation-section-heading p,
.donation-community-head p,
.donation-info-panel p {
  margin: 8px 0 0;
  color: var(--donation-muted);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 650;
}

.donation-editor-grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.donation-field {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.donation-field-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--donation-green-soft);
  color: var(--donation-green-dark);
  font-size: 20px;
}

.donation-field-control {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.donation-field-control > span {
  color: var(--donation-text);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.donation-field input,
.donation-field textarea {
  width: 100%;
  border: 1px solid var(--donation-line) !important;
  border-radius: 8px !important;
  background: var(--donation-card) !important;
  color: var(--donation-text) !important;
  padding: 12px 13px !important;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
  box-shadow: none !important;
}

.donation-field textarea {
  resize: vertical;
  min-height: 92px;
}

.donation-field input:focus,
.donation-field textarea:focus {
  outline: none;
  border-color: var(--donation-green) !important;
  box-shadow: 0 0 0 4px rgba(22, 132, 58, .12) !important;
}

.donation-public-toggle {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--donation-text);
  cursor: pointer;
}

.donation-public-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donation-check-ui {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  border: 2px solid rgba(22, 132, 58, .5);
  display: grid;
  place-items: center;
}

.donation-check-ui:after {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
  opacity: 0;
}

.donation-public-toggle input:checked + .donation-check-ui {
  background: var(--donation-green);
  border-color: var(--donation-green);
}

.donation-public-toggle input:checked + .donation-check-ui:after {
  opacity: 1;
}

.donation-public-toggle strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.donation-public-toggle small {
  display: block;
  margin-top: 4px;
  color: var(--donation-muted);
  font-size: 12px;
  font-weight: 650;
}

.donation-editor-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.donation-save-btn,
.donation-remove-btn,
.donation-login-panel a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
}

.donation-save-btn,
.donation-login-panel a {
  background: linear-gradient(180deg, #1a9546, #107333);
  color: #fff;
  box-shadow: 0 14px 28px rgba(22, 132, 58, .22);
}

.donation-remove-btn {
  background: transparent;
  color: var(--donation-green-dark);
  border-color: rgba(22, 132, 58, .42);
}

.donation-preview-card {
  margin-top: 22px;
  padding: 0 0 20px;
  border: 1px solid var(--donation-line);
  border-radius: 14px;
  background: var(--donation-card);
  overflow: hidden;
  text-align: center;
  box-shadow: 0 20px 50px rgba(15, 23, 42, .08);
}

.donation-preview-cover {
  height: 178px;
  background:
    radial-gradient(circle at 15% 18%, rgba(255, 208, 130, .78), transparent 20%),
    linear-gradient(145deg, rgba(17, 88, 61, .05), rgba(15, 23, 42, .12)),
    linear-gradient(158deg, transparent 58%, rgba(19, 88, 52, .95) 59%),
    linear-gradient(148deg, transparent 48%, rgba(36, 109, 65, .92) 49%),
    linear-gradient(138deg, transparent 38%, rgba(64, 130, 78, .86) 39%),
    linear-gradient(180deg, #f4b86d 0%, #c7d7d5 44%, #73966d 100%);
  position: relative;
}

.donation-preview-cover:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(165deg, transparent 58%, rgba(12, 72, 48, .95) 59%),
    linear-gradient(150deg, transparent 42%, rgba(30, 98, 62, .86) 43%);
}

.donation-preview-avatar {
  width: 92px;
  height: 92px;
  margin: -48px auto 14px;
  display: block;
  border-radius: 999px;
  border: 5px solid var(--donation-card);
  object-fit: cover;
  background: var(--donation-card);
  box-shadow: 0 18px 32px rgba(15, 23, 42, .2);
  position: relative;
  z-index: 2;
}

.donation-preview-card h3 {
  margin: 0;
  color: var(--donation-text);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 950;
}

.donation-preview-card p {
  max-width: 300px;
  margin: 14px auto 0;
  color: var(--donation-muted);
  font-size: 13px;
  line-height: 1.65;
  font-weight: 650;
}

.donation-preview-button,
.donation-link-button {
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.donation-preview-button {
  width: min(320px, calc(100% - 38px));
  min-height: 56px;
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 8px;
  background: linear-gradient(180deg, #1a9546, #107333);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 16px 32px rgba(22, 132, 58, .22);
}

.donation-preview-button .donation-svg-icon {
  margin-left: auto;
}

.donation-preview-button.is-disabled {
  filter: grayscale(.15);
  opacity: .72;
}

.donation-preview-card small {
  width: min(320px, calc(100% - 38px));
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px auto 0;
  color: var(--donation-muted);
  text-align: left;
  font-size: 11px;
  line-height: 1.45;
  font-weight: 700;
}

.donation-preview-card small .donation-svg-icon {
  flex: 0 0 auto;
  color: var(--donation-green);
  font-size: 17px;
}

.donation-login-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
}

.donation-login-panel h2 {
  margin: 0;
  font-size: 24px;
}

.donation-login-panel p {
  margin: 8px 0 0;
  color: var(--donation-muted);
  line-height: 1.55;
  font-weight: 650;
}

.donation-login-panel a {
  text-decoration: none;
  flex: 0 0 auto;
}

.donation-community-section {
  padding: 24px;
}

.donation-community-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.donation-community-head h2 {
  display: flex;
  align-items: center;
  gap: 9px;
}

.donation-community-head h2 .donation-svg-icon {
  color: var(--donation-green);
  font-size: 24px;
}

.donation-community-head > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--donation-green-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.donation-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.donation-cause-card,
.donation-empty-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--donation-line);
  border-radius: 14px;
  background: var(--donation-card);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.donation-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.donation-card-head img {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  object-fit: cover;
  border: 3px solid rgba(22, 132, 58, .12);
  background: var(--donation-mint);
}

.donation-card-head div {
  min-width: 0;
}

.donation-cause-card h3,
.donation-empty-card h3 {
  margin: 0;
  color: var(--donation-text);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
}

.donation-user-link {
  display: inline-flex;
  max-width: 100%;
  margin-top: 5px;
  color: var(--donation-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  text-decoration: none;
}

.donation-cause-card p,
.donation-empty-card p {
  margin: 0;
  color: var(--donation-muted);
  font-size: 12px;
  line-height: 1.65;
  font-weight: 650;
}

.donation-link-button {
  min-height: 48px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #20a350, #10813a);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(22, 132, 58, .22);
}

.donation-link-button.provider-paypal,
.donation-link-button.provider-venmo,
.donation-link-button.provider-kofi {
  background: linear-gradient(180deg, #1684d7, #0767b1);
  box-shadow: 0 14px 28px rgba(7, 103, 177, .2);
}

.donation-link-button.provider-cashapp {
  background: linear-gradient(180deg, #24c464, #11a64c);
}

.donation-provider-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--donation-muted);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
}

.provider-mark {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: #19a64f;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.provider-mark.provider-paypal,
.provider-mark.provider-venmo,
.provider-mark.provider-kofi {
  background: #0969b4;
}

.provider-mark.provider-cashapp {
  background: #19b957;
}

.donation-empty-card {
  grid-column: 1 / -1;
  text-align: center;
  align-items: center;
  padding: 30px;
}

.donation-empty-card a {
  color: var(--donation-green-dark);
  font-weight: 900;
  text-decoration: none;
}

.donation-info-panel {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 24px 28px;
  background:
    radial-gradient(circle at 8% 20%, rgba(22, 132, 58, .14), transparent 24%),
    linear-gradient(135deg, color-mix(in srgb, var(--donation-card) 88%, #e9f8ee), var(--donation-card));
}

.donation-info-panel > span {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--donation-green-soft);
  color: var(--donation-green-dark);
  font-size: 36px;
}

.donation-preview-button:hover,
.donation-link-button:hover,
.donation-save-btn:hover,
.donations-hero-login:hover,
.donation-login-panel a:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

html[data-theme="high_contrast"] .donations-shell {
  --donation-green: var(--accent, #ffea00);
  --donation-green-dark: var(--accent, #ffea00);
  --donation-green-soft: var(--bg, #000);
}

html[data-theme="high_contrast"] .donation-save-btn,
html[data-theme="high_contrast"] .donation-preview-button,
html[data-theme="high_contrast"] .donation-link-button,
html[data-theme="high_contrast"] .donations-hero-login,
html[data-theme="high_contrast"] .donation-login-panel a {
  color: #000;
}

@media (max-width: 1080px) {
  .donations-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .donations-hero-art {
    min-height: 220px;
  }

  .donation-trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -24px;
  }

  .donation-trust-strip article + article {
    border-left: 0;
  }

  .donation-trust-strip article:nth-child(2n) {
    border-left: 1px solid rgba(22, 132, 58, .1);
  }

  .donation-trust-strip article:nth-child(n+3) {
    border-top: 1px solid rgba(22, 132, 58, .1);
  }

  .donation-builder-grid {
    grid-template-columns: 1fr;
  }

  .donation-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.donations-page .layout-grid.layout-grid--no-sidebars {
    width: min(100%, calc(100% - 18px));
  }

  .donations-shell {
    gap: 18px;
    padding-top: 0;
  }

  .donations-hero {
    padding: 26px 20px 20px;
    border-radius: 18px;
  }

  .donations-hero h1 {
    font-size: 38px;
  }

  .donations-hero p {
    font-size: 14px;
  }

  .donations-hero-art {
    min-height: 190px;
    transform: scale(.88);
    transform-origin: center;
  }

  .donation-trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding: 10px;
  }

  .donation-trust-strip article,
  .donation-trust-strip article:nth-child(2n) {
    border-left: 0;
  }

  .donation-trust-strip article:nth-child(n+2) {
    border-top: 1px solid rgba(22, 132, 58, .1);
  }

  .donation-editor-panel,
  .donation-preview-panel,
  .donation-community-section,
  .donation-login-panel,
  .donation-info-panel {
    padding: 18px;
    border-radius: 14px;
  }

  .donation-field {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px;
  }

  .donation-field-icon {
    width: 38px;
    height: 38px;
  }

  .donation-editor-actions,
  .donation-login-panel,
  .donation-community-head {
    align-items: stretch;
    flex-direction: column;
  }

  .donation-save-btn,
  .donation-remove-btn,
  .donation-login-panel a {
    width: 100%;
  }

  .donation-directory-grid {
    grid-template-columns: 1fr;
  }

  .donation-preview-cover {
    height: 150px;
  }

  .donation-info-panel {
    grid-template-columns: 1fr;
  }
}
