/* Homepage cards mirror the compact Central da Bondade layout. */
.home-action-list,.completed-home .completed-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;max-width:600px;margin:0 auto}
.home-action-card,.completed-home .completed-grid .completed-card{display:block;min-width:0;width:100%;max-width:none;margin:0;padding:22px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 5px 20px #07334c06;color:var(--navy);text-decoration:none}
.home-action-card.home-featured{border:2px solid var(--orange)}
.home-card-head,.completed-home .completed-grid .completed-card>.home-card-head{display:grid;grid-template-columns:86px minmax(0,1fr);gap:16px;align-items:center;margin:0 0 16px;padding:0}
.home-card-head img,.completed-home .completed-grid .home-card-head img{display:block;width:86px;height:96px;max-height:none;aspect-ratio:auto;object-fit:cover;border-radius:12px}
.home-card-head h3,.completed-home .completed-grid .completed-card h3{font-family:Arial,Helvetica,sans-serif;font-size:20px;line-height:1.2;letter-spacing:normal;min-height:0;margin:0 0 8px}
.home-card-head p{font-size:14px;line-height:1.5;color:var(--muted);margin:0}
.home-card-tag{display:inline-block;font:800 11px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.04em;background:#fff0dc;border-radius:6px;padding:5px 8px;margin:0 0 10px}
.home-card-button{display:block;width:100%;padding:14px;border-radius:12px;background:var(--orange);color:var(--navy);font:800 16px/1.5 Arial,Helvetica,sans-serif;text-align:center;text-decoration:none}
.home-card-button:hover{background:#ffb96f}.home-card-story{display:block;text-align:center;font-size:14px;color:var(--navy);padding-top:12px;text-underline-offset:3px}
.home-action-card .funding-compact{--burnt:var(--navy);margin:0 0 14px}.home-action-card .funding-bar{height:6px}.home-action-card .funding-compact-row,.home-result-row{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:3px 10px;margin-top:7px;font-size:14px}.home-action-card .funding-compact-row span,.home-result-row>span{color:var(--muted);font-size:13px}
.home-action-card .funding-details{margin-top:4px;font-size:12px;color:var(--muted)}.home-action-card .funding-details summary{cursor:pointer;padding:3px 0}.home-action-card .funding-details .funding-note{font-size:12px;margin-top:5px}
.completed-home .completed-grid .completed-card>.home-result-progress,.completed-home .completed-grid .completed-card>.home-result-summary{display:block;padding:0;margin:0 0 14px}
.home-result-track{height:6px;border-radius:99px;background:#dbe5eb;overflow:hidden}.home-result-track span{display:block;height:100%;background:var(--navy);border-radius:inherit}
.completed-home .completed-grid .completed-card .home-result-meta{font-size:12px;line-height:1.5;color:var(--muted);margin:5px 0 0}
.completed-home .completed-grid .completed-card .home-result-summary{font-size:14px;line-height:1.5}.completed-home .completed-grid .completed-card .home-result-summary p{margin:0}.completed-home .completed-grid .completed-card .home-result-summary strong{display:inline;font-size:14px}
.home-action-card a:focus-visible,.home-action-card summary:focus-visible,.completed-home .completed-card:focus-visible{outline:3px solid #176b97;outline-offset:4px}
@media(max-width:700px){.home-action-card,.completed-home .completed-grid .completed-card{padding:18px}}
@media(max-width:360px){.home-card-head,.completed-home .completed-grid .completed-card>.home-card-head{grid-template-columns:70px minmax(0,1fr);gap:12px}.home-card-head img,.completed-home .completed-grid .home-card-head img{width:70px;height:84px}.home-card-head h3,.completed-home .completed-grid .completed-card h3{font-size:18px}}

.featured-rotation{max-width:600px;margin:0 auto 30px}.featured-rotation>.home-card-tag{margin-bottom:10px}.featured-slides{display:grid;touch-action:pan-y}.featured-slides>.campaign-slide{grid-area:1/1}.featured-rotation.is-ready .campaign-slide[hidden]{display:block!important;visibility:hidden;pointer-events:none}.featured-rotation.is-ready .campaign-slide:not([hidden]){animation:campaign-reveal .3s ease-out}.featured-controls{display:flex;justify-content:center;align-items:center;gap:14px;margin-top:12px}.featured-controls[hidden]{display:none}.featured-controls button{min-height:44px;min-width:44px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--navy);padding:8px 14px;font:700 14px Arial,sans-serif;cursor:pointer}.featured-controls button:focus-visible{outline:3px solid #176b97;outline-offset:3px}.featured-controls span{font-size:14px}.home-more-campaigns{text-align:center;font-size:20px;margin:0 0 20px}@keyframes campaign-reveal{from{opacity:.25}to{opacity:1}}@media(prefers-reduced-motion:reduce){.featured-rotation.is-ready .campaign-slide:not([hidden]){animation:none}}

.campaign-whatsapp{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:12px;padding:10px 12px;border:1px solid #b9d7c6;border-radius:10px;background:#f1f9f4;color:#17653b;text-decoration:none;text-align:center;font:700 13px/1.4 Arial,sans-serif}.campaign-whatsapp:hover{background:#e4f3ea}.campaign-whatsapp:focus-visible{outline:3px solid #176b97;outline-offset:4px}

/* Highlight existing accountability section without changing campaign sizes. */
#finalizadas{scroll-margin-top:110px}
.completed-home .section-heading{border-top:3px solid var(--orange);padding-top:28px}
.accountability-highlight{max-width:600px;margin:0 auto 24px;padding:22px;border-radius:18px;background:var(--navy);color:#fff}
.accountability-highlight>strong{display:block;font-size:20px;line-height:1.35}
.accountability-highlight>p{font-size:15px;line-height:1.65;margin:10px 0 16px;color:#fff}
.accountability-labels{display:flex;gap:8px;flex-wrap:wrap}
.accountability-labels span{border:1px solid #ffffff55;border-radius:8px;padding:7px 10px;font-size:12px;line-height:1.4}
@media(max-width:600px){.accountability-highlight{padding:18px}.accountability-highlight>strong{font-size:18px}.completed-home #completed-title{font-size:clamp(28px,8vw,40px);overflow-wrap:break-word}}
