body.site-page main :is(.home-refresh,.join-page){display:grid;gap:20px;color:#23443d}
body.site-page main .home-label{margin:0 0 10px;color:#46695f;font-size:.875rem;font-weight:700;line-height:1.7}
body.site-page main .home-welcome{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr);gap:40px;align-items:center;padding:44px;border:1px solid #bfd7d0;border-radius:22px;background:linear-gradient(120deg,#e6f3ed,#f6f9ff)}
body.site-page main .home-welcome h1{margin:16px 0 20px;font-size:clamp(2.2rem,4.4vw,3.8rem);line-height:1.35;letter-spacing:-.02em;color:#173f36}
body.site-page main .home-welcome h1 span{color:#2a6593}
body.site-page main .home-welcome-intro{max-width:52ch;margin:0 0 24px;font-size:1.1rem;line-height:1.9;color:#3e5e54}
body.site-page main .home-action-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
body.site-page main :is(.home-refresh,.join-page) .button{display:inline-flex;justify-content:center;align-items:center;min-height:48px;box-sizing:border-box;padding:10px 16px;border-radius:9px;font-size:1rem;line-height:1.65;text-align:center;white-space:normal;text-decoration:none}
body.site-page main .home-welcome-note{margin:20px 0 0;font-size:.875rem;color:#526c63}
body.site-page main .home-feature{min-width:0;overflow:hidden;background:#fff;border:1px solid #c9ded4;border-radius:16px;box-shadow:0 12px 30px #1f4b3610}
body.site-page main .home-feature-art{display:flex;justify-content:center;background:#eef5ee;padding:14px}
body.site-page main .home-feature-art img{display:block;max-width:100%;width:240px;height:150px;object-fit:contain}
body.site-page main .home-feature-copy{padding:24px}
body.site-page main .home-feature h2{margin:0 0 10px;font-size:1.35rem;line-height:1.65;color:#234b3e}
body.site-page main .home-feature-copy>p:not(.home-label){margin:0 0 16px;line-height:1.85}
body.site-page main .home-feature a{color:#235f8a;font-weight:700;text-underline-offset:4px;line-height:1.8}
body.site-page main .home-refresh .home-services{padding:0;border:0;background:none;box-shadow:none}
body.site-page main .home-refresh .portal-section-heading{margin-bottom:18px}
body.site-page main .home-refresh .community-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.site-page main .home-refresh .community-shortcuts>a{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:22px;background:#fff;border:1px solid #c9dad5;border-radius:14px;box-shadow:none;text-decoration:none;color:#254d42;transition:border-color .15s,box-shadow .15s}
body.site-page main .home-refresh .community-shortcuts>a:hover{border-color:#4d8270;box-shadow:0 5px 16px #234b3710}
body.site-page main .home-refresh .community-shortcuts img{width:72px;height:64px;object-fit:contain;margin:0}
body.site-page main .home-refresh .community-shortcuts strong{font-size:1.15rem;line-height:1.65}
body.site-page main .home-refresh .community-shortcuts small{font-size:1rem;color:#4d635a;line-height:1.85}
body.site-page main .home-refresh .shortcut-action{margin-top:auto;padding-top:10px;font-size:.95rem;color:#245d87;font-weight:700}
body.site-page main .home-refresh .campaign-teaser{background:#fff;border:1px solid #ceded6;border-radius:16px;padding:26px}
body.site-page main .home-refresh .campaign-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
body.site-page main .home-refresh .home-conferences .portal-card-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,360px),1fr))}
body.site-page main .home-refresh .home-conferences .portal-card-footer a.button{background:#20554c;border-color:#20554c;color:#fff!important}
body.site-page main .home-refresh .home-institution{margin:0;border-radius:16px;box-shadow:none}
body.site-page main .home-join-banner{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:32px;background:#194c40;border:1px solid #194c40;border-radius:16px;color:#fff}
body.site-page main .home-join-banner h2{color:#fff;margin:0 0 10px;font-size:1.7rem;line-height:1.6}
body.site-page main .home-join-banner p{margin:0;color:#e0efe6;line-height:1.85}
body.site-page main .home-join-banner .home-label{margin-bottom:8px;color:#cde8db}
body.site-page main .home-join-banner>a.button{flex-shrink:0;background:#fff;color:#194c40;border:1px solid #fff;box-shadow:none}
body.site-page main .join-heading{padding:22px;border:1px solid #bfd7d0;border-radius:18px;background:linear-gradient(115deg,#eaf5ed,#f3f6fc)}
body.site-page main .join-heading h1{margin:6px 0 10px;font-size:clamp(1.6rem,2.5vw,2.1rem);line-height:1.5}
body.site-page main .join-heading>p:last-child{max-width:72ch;margin:0;line-height:1.85}
body.site-page main .join-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.site-page main .join-option{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid #c9dbd3;border-radius:16px;background:#fff;overflow:hidden}
body.site-page main .join-option>img{position:absolute;inset:16px 16px auto auto;display:block;box-sizing:border-box;width:76px;height:76px;object-fit:contain;padding:8px;border-radius:10px;background:#edf5ef}
body.site-page main .join-volunteer>img{background:#eef3fc}
body.site-page main .join-family>img{background:#f6f0fa}
body.site-page main .join-events>img{background:#fff5e7}
body.site-page main .join-option>div{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:20px}
body.site-page main .join-option h2{margin:0 0 12px;font-size:1.2rem;line-height:1.65}
body.site-page main .join-option p:not(.home-label){margin:0 0 14px;line-height:1.8;color:#425d52}
body.site-page main .join-option .button{margin-top:auto;width:100%}
body.site-page main .join-option small{display:block;margin-top:10px;font-size:.875rem;line-height:1.85;color:#52685f}
body.site-page main .join-help{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:20px;border:1px solid #ccdbd5;border-radius:14px;background:#fff}
body.site-page main .join-help h2{margin:0 0 8px}
body.site-page main .join-help p{margin:0;line-height:1.85}
body.site-page main :is(.home-refresh,.join-page) a:focus-visible{outline:3px solid #9a5918;outline-offset:4px}
@media(max-width:1000px){body.site-page main .home-welcome{gap:24px;padding:28px}body.site-page main .home-refresh .community-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.site-page main :is(.home-refresh,.join-page){gap:16px}body.site-page main .home-welcome{grid-template-columns:minmax(0,1fr);padding:24px 20px;gap:24px}body.site-page main .home-welcome h1{font-size:2.4rem}body.site-page main .home-welcome-intro{font-size:1rem}body.site-page main .home-feature-art img{height:110px}body.site-page main .home-feature-copy{padding:20px}body.site-page main .home-action-row{align-items:stretch;width:100%}body.site-page main .home-action-row>.button{flex:1 1 150px}body.site-page main .home-refresh .community-shortcuts{grid-template-columns:minmax(0,1fr)}body.site-page main .home-refresh .community-shortcuts>a{display:grid;grid-template-columns:60px minmax(0,1fr);gap:8px 16px;padding:18px}body.site-page main .home-refresh .community-shortcuts img{grid-row:1/4;align-self:center;width:60px;height:60px}body.site-page main .home-refresh .community-shortcuts :is(strong,small,.shortcut-action){grid-column:2}body.site-page main .home-refresh .campaign-teaser{padding:20px}body.site-page main .home-join-banner{flex-direction:column;align-items:stretch;padding:24px}body.site-page main .home-join-banner h2{font-size:1.4rem}body.site-page main .join-options{grid-template-columns:minmax(0,1fr);gap:14px}body.site-page main .join-heading{padding:20px 16px}body.site-page main .join-option>div{padding:18px}body.site-page main .join-help{flex-direction:column;align-items:stretch;padding:22px}}

/* Retain the compact join page while restoring the previous home layout. */
body.site-page main .home-refresh{gap:32px}
body.site-page main .home-refresh .button{padding:12px 20px}
body.site-page main .join-option :is(.home-label,h2){padding-inline-end:84px}
body.site-page main .join-option h2{min-height:48px}
@media(max-width:700px){body.site-page main .home-refresh{gap:22px}body.site-page main .join-option>img{width:64px;height:64px;padding:6px}body.site-page main .join-option :is(.home-label,h2){padding-inline-end:74px}}
