/* Homepage composition; scoped rules load after the shared base styles. */
#main{padding-bottom:24px}
.hero{padding:54px 0 42px;overflow:visible}
.hero-grid{margin-inline:auto;padding:0;grid-template-columns:minmax(0,.78fr) minmax(0,1.22fr);gap:clamp(28px,5vw,72px);align-items:center}
.hero-portrait{width:100%;margin:0;border-radius:26px;align-self:center;justify-self:start}
.hero-portrait figcaption{padding:12px;font-size:.85rem;text-align:center;white-space:normal}
.hero-copy{padding:0;min-width:0}.hero-copy>.eyebrow{margin:0 0 18px}
.hero h1{font-size:clamp(3rem,6.7vw,6.25rem);line-height:1.16;letter-spacing:-.035em;margin:0 0 22px}
.hero-intro{font-size:1rem;line-height:1.9;margin:0}
.hero + .campaign-entry-compact{margin-top:6px}
.campaign-entry-compact{width:min(900px,calc(100% - 64px))}
.home-contact,.home-account,.home-facebook{width:min(960px,calc(100% - 64px));margin-inline:auto;border:1px solid var(--line);border-radius:26px;background:#fff;box-shadow:0 12px 36px #17392d05}
.home-contact{padding:28px 32px;margin-bottom:20px}
.home-contact h2,.home-account h2{font-size:1.4rem;margin:0 0 14px}
.home-contact-columns{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:24px;align-items:start}
.home-contact-info{display:grid;gap:4px;min-width:0}
.home-office-hours{padding-left:24px;border-left:1px solid var(--line);min-width:0}
.home-office-hours h3{font-size:1rem;margin:0 0 8px}.home-office-hours dl{margin:0;font-size:.85rem;line-height:1.6}.home-office-hours dt{font-weight:700;margin-top:8px}.home-office-hours dd{margin:2px 0 8px;font-variant-numeric:tabular-nums}.home-office-hours p{font-size:.8rem;color:var(--muted);margin:8px 0 0}
.home-contact-info a{display:inline-flex;align-items:center;min-height:44px;overflow-wrap:anywhere;font-size:.9rem}
.home-contact-info .home-phone{font-size:1.4rem;font-weight:800;color:var(--green)}
.home-contact-actions{display:flex;gap:12px;margin-top:14px}
.home-contact-actions .button{justify-content:center;min-height:48px;font-size:.9rem;padding:10px 20px}
.home-contact-actions .button-outline{border:1px solid var(--line);border-radius:999px;background:var(--green-soft)}
.home-account{padding:28px 32px}
.home-account dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:10px 18px;margin:0}
.home-account dt{color:var(--muted);font-size:.9rem}.home-account dd{margin:0;overflow-wrap:anywhere}
.home-account-number{font-size:1.8rem;font-weight:800;letter-spacing:.04em;color:var(--green)}
.home-donation-notes{text-decoration:underline;text-underline-offset:3px;font-weight:700;display:inline-block;min-height:44px;padding-block:8px}
.home-account p{font-size:.875rem;line-height:1.8;margin:18px 0 0;padding-top:12px;border-top:1px solid var(--line)}
.home-facebook{width:min(900px,calc(100% - 64px));margin-top:28px;padding:28px 34px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,460px);gap:20px 28px;align-items:start}
.home-facebook h2{font-size:1.4rem;margin:0 0 12px}.facebook-page-name{font-size:1.15rem;font-weight:700;line-height:1.7;overflow-wrap:anywhere}
.home-facebook .facebook-frame{width:100%;max-width:460px;padding:0;min-height:600px;overflow:hidden;justify-self:center}
.home-facebook iframe{display:block;border:0;width:100%;height:600px;max-width:100%}
.home-facebook .source-note{grid-column:1/-1;margin:0;font-size:.85rem}
.home-facebook .source-note a{display:inline-block;min-height:44px;padding-block:10px}
.home-footer{padding-block:20px;font-size:.85rem}
@media(max-width:900px){.home-facebook{grid-template-columns:1fr}.facebook-heading{text-align:center}}
@media(min-width:781px){
 .home-contact{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);grid-template-areas:"heading heading" "info hours" "actions hours";column-gap:24px;align-items:start}
 .home-contact h2{grid-area:heading}
 .home-contact-columns{display:contents}
 .home-contact-info{grid-area:info}
 .home-office-hours{grid-area:hours}
 .home-contact-actions{grid-area:actions}
}
@media(max-width:780px){
 .campaign-entry-compact{width:calc(100% - 32px)}
 .home-contact,.home-account,.home-facebook{width:calc(100% - 32px);border-radius:22px;padding:20px}
 .home-contact-columns{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:12px}.home-office-hours{padding-left:12px}.home-office-hours h3{font-size:.85rem}.home-office-hours dl,.home-office-hours p{font-size:.75rem}.home-contact-info a{font-size:.8rem}.home-contact-info .home-phone{font-size:1.15rem}
 .home-contact-info{display:grid;gap:0}.home-contact-info a{min-height:40px}.home-contact h2,.home-account h2{font-size:1.2rem}
 .home-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.home-contact-actions .button{padding-inline:8px;font-size:.85rem}
 .home-account dl{grid-template-columns:1fr;gap:3px}.home-account dt{margin-top:5px;font-size:.75rem}
 .home-account dd{font-size:.9rem}.home-account dd.home-account-number{font-size:1.65rem}
 .home-account p{font-size:.8rem}.home-facebook{padding:22px 0 12px;gap:14px}.facebook-heading,.home-facebook .source-note{padding-inline:20px}
 .home-facebook .facebook-frame{width:calc(100% - 32px)}
}

/* Donation and contact are one service cluster: donation first, public contact second. */
.home-account{margin-top:28px;margin-bottom:0;border-radius:26px 26px 10px 10px;border-bottom-color:rgba(7,85,72,.09);background:linear-gradient(145deg,var(--green-soft),#fff 68%);box-shadow:0 14px 34px rgba(23,57,45,.045)}
.home-contact{margin-top:10px;border-radius:10px 10px 26px 26px;box-shadow:0 14px 34px rgba(23,57,45,.045)}
.home-account h2,.home-contact h2{color:var(--green-dark);letter-spacing:.01em}
.home-account-number{font-size:2rem;line-height:1.2}
.home-contact-actions .button{border-radius:999px}
@media(min-width:901px){
 .home-account,.home-contact{width:min(900px,calc(100% - 64px));padding:26px 34px}
 .home-contact{grid-template-columns:minmax(0,1.25fr) minmax(240px,.75fr);column-gap:34px}
 .home-contact-actions{margin-top:20px}
}
@media(max-width:780px){
 .home-account{margin-top:18px;margin-bottom:0;border-radius:22px 22px 9px 9px}
 .home-contact{margin-top:8px;border-radius:9px 9px 22px 22px}
 .home-account-number{font-size:1.7rem}
}

/* UI-01: readable contact details rather than small type in a narrow split card. */
.home-contact-info a:not(.home-phone){font-size:.9375rem;line-height:1.8}
.home-contact-info a{min-height:44px;display:flex;align-items:center;overflow-wrap:anywhere}
.home-office-hours dl,.home-office-hours p{font-size:.9375rem;line-height:1.8}
@media(max-width:480px){
 .home-contact-columns{grid-template-columns:1fr;gap:20px}
 .home-office-hours{border-left:0;border-top:1px solid var(--line);padding:18px 0 0}
 .home-office-hours dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px}
 .home-office-hours dt:nth-of-type(2){grid-column:2;grid-row:1}
 .home-office-hours dd:nth-of-type(2){grid-column:2;grid-row:2}
 .home-office-hours dd{margin:0}
 .home-contact-actions{gap:10px}
}

/* Compact election status belongs to the hero message, directly below the slogan. */
.hero-election-status{display:inline-flex;align-items:baseline;gap:10px;max-width:100%;margin:0 0 24px;padding:10px 14px;border:1px solid rgba(255,255,255,.38);border-radius:999px;background:#033f37;color:#fff;font-size:.9rem;font-weight:750;line-height:1.4;transition:background .2s,transform .2s}
.hero-election-status:hover{background:#022f2a;transform:translateY(-1px)}
.hero-election-status strong{min-width:2ch;color:var(--yellow);font-size:1.35rem;font-variant-numeric:tabular-nums;text-align:right}
.hero-election-status time{padding-left:10px;border-left:1px solid rgba(255,255,255,.3);font-variant-numeric:tabular-nums;letter-spacing:.02em}

/* Facebook embed presentation is centralized in embeds.css. */
@media(max-width:780px){
 .hero-election-status{gap:7px;margin:12px 0 0;padding:8px 11px;font-size:.76rem;white-space:normal;flex-wrap:wrap}
 .hero-election-status strong{font-size:1.05rem}
 .hero-election-status time{padding-left:7px}
}
