/* Attaya V46: dynamic impact, institutional donation destination, project funding strip and footer identity. */
.project-funding-panel{margin-top:auto;padding-top:14px}.project-funding-top,.project-funding-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#708078;font-size:12px}.project-funding-top strong{color:#173d31;font-size:13px}.project-funding-top span:last-child,.project-funding-bottom span:last-child{direction:ltr;text-align:end}.project-funding-bottom i{margin-inline-end:5px}.project-progress-gradient,.attaya-progress.project-progress-gradient{height:10px!important;margin:10px 0!important;border-radius:999px!important;background:#e8eeeb!important;overflow:hidden}.project-progress-gradient>span,.attaya-progress.project-progress-gradient>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#10b981 0%,#eab308 100%)!important}.attaya-project-funding-panel{width:100%}.attaya-donation-destination{display:grid;gap:4px;margin-bottom:15px;padding:13px 15px;border:1px solid rgba(16,185,129,.22);border-radius:14px;background:rgba(16,185,129,.07)}.attaya-donation-destination>span{font-size:11px;color:#64748b;font-weight:700}.attaya-donation-destination>strong{color:var(--attaya-primary);font-size:15px}.attaya-donation-destination>small{color:#64748b;line-height:1.6}.stats-grid{grid-template-columns:repeat(auto-fit,minmax(155px,1fr))!important}.attaya-footer-brand img{display:block;width:auto!important;object-fit:contain!important;object-position:center}.attaya-footer-brand{align-items:center!important}.attaya-green-home .project-card-link{height:100%}.attaya-green-home .project-body{display:flex;flex-direction:column}.attaya-green-home .project-body>p{min-height:52px}.attaya-green-home .project-funding-panel{width:100%}.attaya-green-home .project-card .more{margin-top:14px}
@media(max-width:720px){.project-funding-top,.project-funding-bottom{font-size:11px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.attaya-footer-brand img{max-width:min(100%,280px)!important}}

/* Dynamic impact grid must not inherit the legacy fixed fifth-item span. */
.stats[data-count] .stat:last-child{grid-column:auto!important}
@media(max-width:720px){
  .stats[data-count="1"] .stat:last-child{grid-column:1/-1!important}
  .stats[data-count="3"] .stat:last-child{grid-column:1/-1!important}
  .stats[data-count="5"] .stat:last-child{grid-column:1/-1!important}
  .stats[data-count="7"] .stat:last-child{grid-column:1/-1!important}
  .stats[data-count="9"] .stat:last-child{grid-column:1/-1!important}
}
