/* MADW 1.6.5: independent content sections and configurable story cards */
.madw-independent-section { box-sizing: border-box; width: 100%; margin: 0 auto 2rem; }
.madw-independent-section > .madw-info-card { width: 100%; }
.madw-independent-section .madw-eyebrow { margin: 0 0 .55rem; color: #257b56; font-family: Poppins, sans-serif; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.madw-independent-section .madw-info-card h2,
.madw-independent-section .madw-give-details h2,
.madw-welcome-movement h2 { margin-top: 0; }
.madw-independent-section .madw-info-card blockquote { margin: 1.25rem 0; padding: 1rem 1.2rem; border-left: 4px solid #f1c94b; background: rgba(255,255,255,.7); border-radius: 0 .75rem .75rem 0; }
.madw-independent-section .madw-info-card small { display: block; margin-top: .75rem; color: #52616b; }
.madw-support.madw-support-only { display: flex; align-items: flex-start; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.25rem; background: #eef7f1; }
.madw-support-only .madw-support-copy { flex: 1; }
.madw-give-details.madw-give-details-standalone { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid #d7e5dc; border-radius: 1.25rem; background: #fff; box-shadow: 0 10px 30px rgba(28, 67, 48, .06); }
.madw-give-details-standalone p { overflow-wrap: anywhere; }
.madw-editable-registration.madw-independent-section { padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.25rem; background: #f3f8fc; }
.madw-welcome-movement { padding: clamp(2rem, 6vw, 4rem) 1rem; text-align: center; border-radius: 1.25rem; background: linear-gradient(135deg, #edf7f1 0%, #f1f7fc 58%, #fff8df 100%); }
.madw-welcome-movement-inner { max-width: 760px; margin: 0 auto; }
.madw-welcome-icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: .8rem; border-radius: 50%; background: #fff; color: #248052; font-size: 1.7rem; box-shadow: 0 6px 20px rgba(24, 75, 49, .1); }
.madw-welcome-movement p:not(.madw-eyebrow) { max-width: 660px; margin: 0 auto 1.25rem; line-height: 1.8; }
/* Stories columns: the selected desktop count remains responsive on smaller screens. */
.madw-story-grid[class*="madw-story-columns-"] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.madw-story-grid.madw-story-columns-1 { grid-template-columns: minmax(0, 1fr); }
.madw-story-grid.madw-story-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.madw-story-grid.madw-story-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.madw-story-grid.madw-story-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.madw-story-preview { margin-bottom: .7rem; }
.madw-story .madw-story-attribution { margin: .2rem 0 .8rem; color: #315a49; font-size: .9rem; font-weight: 700; }
.madw-story .madw-story-readmore { display: inline-block; }
.madw-story .madw-story-date { display: block; margin-top: .8rem; }
@media (max-width: 1024px) {
  .madw-story-grid.madw-story-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .madw-story-grid.madw-story-columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .madw-story-grid[class*="madw-story-columns-"] { grid-template-columns: minmax(0, 1fr); }
  .madw-support.madw-support-only { display: block; }
  .madw-support-only .madw-support-symbol { margin-bottom: .75rem; }
}
