/* Scoped to Funding components; inherits the site's typography. */
.mwh-funding { --mwh-fund-teal:#235062; --mwh-fund-orange:#f29a3f; color:#213840; max-width:1180px; margin-inline:auto; }
.mwh-funding *, .mwh-funding *::before, .mwh-funding *::after { box-sizing:border-box; }
.mwh-funding [hidden] { display:none !important; }
.mwh-funding-intro { max-width:860px; margin-bottom:24px; }
.mwh-funding h2 { font-size:clamp(28px,3vw,44px); line-height:1.15; }
.mwh-funding h3 { font-size:24px; line-height:1.2; margin:18px 0 12px; }
.mwh-funding p, .mwh-funding li { line-height:1.6; }
.mwh-funding-checker { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; padding:28px; background:#fffaf2; border:1px solid #d9d3c7; border-radius:18px; }
.mwh-funding-field label { display:block; margin-bottom:8px; font-weight:700; }
.mwh-funding-field select { width:100%; min-height:48px; padding:10px; font:inherit; color:#213840; background:white; border:1px solid #8b999f; border-radius:8px; }
.mwh-funding-checker__actions { grid-column:1/-1; display:flex; gap:14px; flex-wrap:wrap; }
.mwh-funding button, .mwh-fund-button { min-height:46px; display:inline-flex; align-items:center; justify-content:center; padding:12px 20px; border:1px solid #235062; border-radius:8px; background:#235062; color:#fffaf2; font:inherit; font-weight:700; cursor:pointer; text-decoration:none; }
.mwh-funding .mwh-funding-reset { background:transparent; color:#235062; }
.mwh-funding button:hover, .mwh-fund-button:hover { background:#173845; color:white; }
.mwh-funding :is(a,button,select):focus-visible { outline:3px solid #bc640c; outline-offset:4px; }
.mwh-funding-result { margin:20px 0; font-weight:700; }
.mwh-funding-section { margin-top:36px; }
.mwh-funding-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.mwh-fund-card { padding:28px; border:1px solid #d9d3c7; border-top:5px solid #235062; border-radius:18px; background:white; overflow-wrap:anywhere; }
.mwh-fund-card--closed { border-top-color:#7d4646; background:#faf5f4; }
.mwh-fund-card--ending { border-top-color:#b56510; }
.mwh-fund-card--delivery { border-top-color:#5b557e; }
.mwh-fund-card__top { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center; }
.mwh-fund-status { display:inline-block; padding:5px 10px; border-radius:99px; background:#e2f0e5; color:#20552a; font-size:13px; font-weight:800; line-height:1.4; }
.mwh-fund-status--ending { background:#ffedd1; color:#704008; }
.mwh-fund-status--closed { background:#f1dede; color:#713434; }
.mwh-fund-status--delivery { background:#e9e4f4; color:#4c4169; }
.mwh-fund-area { font-size:14px; }
.mwh-fund-amount { font-size:22px; font-weight:800; }
.mwh-fund-note, .mwh-funding-disclaimer { padding:14px; background:#fffaf2; border-left:3px solid #bc640c; }
.mwh-fund-reviewed { font-size:13px; margin-bottom:0; }
.mwh-fund-card__actions { margin-top:20px; }
@media(max-width:900px) { .mwh-funding-checker { grid-template-columns:1fr; } }
@media(max-width:680px) { .mwh-funding-grid { grid-template-columns:1fr; } .mwh-fund-card,.mwh-funding-checker { padding:20px; } .mwh-funding-checker__actions { flex-direction:column; } }

.mwh-council input { box-sizing:border-box; width:100%; min-width:0; padding:12px; border:1px solid #8b979b; border-radius:8px; background:#fff; color:#213840; font:inherit; }
.mwh-council [data-mwh-council-result] { margin-top:24px; }
.mwh-council .mwh-fund-card { margin:16px 0; }
.mwh-council a { overflow-wrap:anywhere; }
.mwh-council input:focus-visible { outline:3px solid #f29a3f; outline-offset:2px; }
