.fund-page {
  --fund-ink: #163e35;
  --fund-green: #327d66;
  --fund-paper: #f8f5ed;
  --fund-line: #dce5db;
  max-width: 1450px;
  margin: auto;
  padding: 0 clamp(16px, 4vw, 60px) 64px;
}
.fund-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 490px;
  overflow: hidden;
  background: var(--fund-ink);
  color: white;
  border-radius: 18px;
}
.fund-hero-copy { padding: clamp(28px, 5vw, 76px); font-size: 13px; }
.fund-back { text-decoration: underline; text-underline-offset: 3px; }
.fund-divider { margin: 0 9px; opacity: .6; }
.fund-hero .eyebrow { color: #bce6d3; margin-top: 28px; }
.fund-page h1 {
  font-size: clamp(38px, 6vw, 75px);
  letter-spacing: -.055em;
  line-height: 1.02;
  margin: 16px 0 20px;
  overflow-wrap: anywhere;
}
.fund-hero h1 { color: white; }
.fund-hero .original-copy { color: #e5f1e9; font-size: 15px; line-height: 1.6; }
.fund-hero .original-copy p { color: inherit; }
.fund-hero .original-copy p:first-child { font-size: 17px; color: white; }
.fund-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 25px; }
.fund-actions .button { background: #f2eddb; color: var(--fund-ink); }
.fund-secondary { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.fund-resume { display: inline-block; margin-top: 18px; text-decoration: underline; color: #d1ecdf; }
.fund-hero-image { position: relative; min-height: 260px; }
.fund-hero-image img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.fund-hero-image>div {
  position: absolute; inset: auto 0 0; padding: 55px 26px 24px;
  background: linear-gradient(transparent,#122f29dd); display: grid; gap: 5px;
}
.fund-hero-image span { font-size: 10px; letter-spacing: .15em; }
.fund-hero-image strong { font-size: 23px; }
.fund-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--fund-line); border-radius: 13px; margin: 24px 0;
  background: #f4f8f3;
}
.fund-steps>div { display: flex; gap: 14px; padding: 24px; }
.fund-steps>div+div { border-left: 1px solid var(--fund-line); }
.fund-steps b {
  background: #e1eee5; color: var(--fund-ink); width: 38px; height: 38px;
  border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
}
.fund-steps strong { font-size: 16px; }
.fund-steps p { color: #52675a; margin: 6px 0 0; font-size: 13px; }
.fund-community { padding: 36px 0 48px; }
.fund-section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.fund-section-head h2,.fund-end h2,.fund-story h2 { margin: 6px 0; font-size: clamp(26px, 4vw, 46px); letter-spacing: -.04em; }
.fund-community .appeal-card h3 { padding: 3px 0 17px; }
.fund-end {
  background: var(--fund-paper); border-radius: 14px; padding: 24px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.fund-builder-head,.fund-campaign-head { padding: 28px 0 24px; max-width: 900px; }
.fund-builder-head>.eyebrow { margin-top: 28px; }
.fund-builder-head h1 { font-size: clamp(38px, 5vw, 64px); }
.fund-builder-head>p:not(.eyebrow),.fund-campaign-head>p { color: #51695c; font-size: 16px; }
.fund-editor-grid,.fund-campaign-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(0,1fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.fund-builder .preview-form { padding: clamp(20px, 4vw, 40px); background: #fff; }
.fund-field-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.fund-field-heading:not(:first-child) { margin-top: 26px; border-top: 1px solid var(--fund-line); padding-top: 22px; }
.fund-field-heading>span { background: #e6f0e8; color: var(--fund-ink); border-radius: 50%; padding: 11px; font-size: 12px; }
.fund-field-heading h2 { margin: 0; font-size: 22px; }
.fund-field-heading p { margin: 4px 0 0; font-size: 13px; color: #52675a; }
.fund-field-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; }
.fund-editor-note { margin: 16px 0; padding: 12px; background: var(--fund-paper); border-radius: 8px; color: #4d6256; font-size: 12px; line-height: 1.5; }
#fund-error { color: #a53029; }
.fund-live-card,.fund-support-card { border: 1px solid var(--fund-line); border-radius: 14px; overflow: hidden; background: #f6f9f4; }
.fund-live-card img,.fund-campaign-cover { width: 100%; display: block; object-fit: cover; aspect-ratio: 16/10; }
.fund-live-card>div,.fund-support-card { padding: 25px; }
.fund-live-card h2 { font-size: 26px; margin: 8px 0; overflow-wrap: anywhere; }
.fund-live-card strong { color: var(--fund-green); font-size: 19px; }
.fund-editor-tips { padding: 18px 0; }
.fund-editor-tips img { max-width: 100%; }
.fund-badges { display: flex; gap: 7px; margin-top: 26px; flex-wrap: wrap; }
.fund-badges span { background: #e3f0e6; color: var(--fund-ink); font-size: 10px; letter-spacing: .08em; font-weight: 700; border-radius: 5px; padding: 6px 9px; }
.fund-badges span+span { background: #f3ead5; }
.fund-campaign-cover { border-radius: 14px; }
.fund-campaign-head h1 { font-size: clamp(39px, 6vw, 70px); }
.fund-story { padding: 25px 0; }
#campaign-story { white-space: pre-wrap; overflow-wrap: anywhere; color: #3d574a; line-height: 1.75; }
.fund-support-card { position: sticky; top: 20px; }
.fund-support-card .eyebrow { margin: 0 0 8px; }
.fund-target { display: block; font-size: clamp(32px, 4vw, 54px); letter-spacing: -.045em; color: var(--fund-ink); overflow-wrap: anywhere; }
#campaign-appeal { text-decoration: underline; text-underline-offset: 3px; }
.fund-support-rule { border-top: 1px solid var(--fund-line); margin: 19px 0; }
.fund-support-card button { width: 100%; justify-content: space-between; }
.fund-secondary-button {
  display: flex; margin-top: 10px; padding: 12px 14px;
  background: white; color: var(--fund-ink); border: 1px solid #9ebdaf; border-radius: 7px; font-weight: 650;
}
#campaign-share-url { width: 100%; margin-top: 8px; }
#campaign-share-status { min-height: 1em; color: var(--fund-green); font-size: 13px; }
@media (max-width: 740px) {
  .fund-hero,.fund-editor-grid,.fund-campaign-grid,.fund-steps { grid-template-columns: 1fr; }
  .fund-hero-image { min-height: 240px; }
  .fund-steps>div { padding: 17px; }
  .fund-steps>div+div { border-left: 0; border-top: 1px solid var(--fund-line); }
  .fund-section-head { align-items: start; flex-direction: column; }
  .fund-community .appeal-grid { grid-template-columns: 1fr; }
  .fund-support-card { position: static; }
}
.fund-progress { margin: 20px 0; padding: 17px; background: #e7f1e8; border-radius: 10px; }
.fund-progress .fund-target { margin: 3px 0 12px; font-size: clamp(28px, 3.5vw, 44px); }
.fund-progress progress { appearance: none; width: 100%; height: 12px; border: 0; border-radius: 20px; overflow: hidden; background: #cddfd0; }
.fund-progress progress::-webkit-progress-bar { background: #cddfd0; }
.fund-progress progress::-webkit-progress-value { background: linear-gradient(90deg, #26725b, #61a77d); }
.fund-progress progress::-moz-progress-bar { background: #327d66; }
.fund-progress-meta,.fund-donors li { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fund-progress-meta { margin-top: 7px; font-size: 12px; }
.fund-donors { max-width: 790px; margin-top: 24px; padding: 24px; border: 1px solid var(--fund-line); border-radius: 14px; background: #f6f9f4; }
.fund-donors h2 { margin-top: 4px; }
.fund-donors ul { list-style: none; padding: 0; margin: 0; }
.fund-donors li { border-top: 1px solid var(--fund-line); padding: 14px 0; overflow-wrap: anywhere; }
#campaign-gift label:not(.check-row) { display: block; margin: 12px 0 6px; }
#campaign-gift input:not([type=checkbox]) { width: 100%; background: white; color: var(--fund-ink); border: 1px solid #a5b9ab; border-radius: 6px; padding: 10px; }
#campaign-gift .check-row { margin-top: 15px; }
