/* The Communities directory uses the shared Printer page frame and controls. */
.community-home{width:100%;max-width:none!important;margin:0!important}
.community-home .community-home-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 26px}
.community-home .community-heading-copy{min-width:0}
.community-home .community-home-heading h1{margin:0 0 8px}
.community-home .community-home-heading p{margin:0;max-width:620px;line-height:1.6}
.community-home .community-heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;padding-top:3px}
.community-home .community-home-grid{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px;align-items:stretch}
.community-home .printer-community-home{padding:24px;display:flex;flex-direction:column;gap:22px}
.community-home .printer-community-identity{margin:0;gap:16px}
.community-home .printer-community-identity h2{font-size:21px;margin:0 0 6px;line-height:1.3}
.community-home .printer-community-identity p{margin:0;font-size:14px;line-height:1.5}
.community-home .community-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;flex:1}
.community-home .community-feature{display:flex;align-items:flex-start;gap:12px;min-height:94px;padding:17px 15px;box-sizing:border-box;border:1px solid var(--ui-line,var(--line));border-radius:8px;color:var(--ui-ink,var(--ink));background:var(--ui-panel,var(--paper));text-decoration:none;transition:background-color .15s,border-color .15s}
.community-home .community-feature>svg{width:20px;height:20px;flex:none;margin-top:1px;color:var(--ui-blue-text,var(--accent))}
.community-home .community-feature>span{display:grid;gap:5px;min-width:0}
.community-home .community-feature strong{font-size:14px;font-weight:650;line-height:1.4}
.community-home .community-feature small{font-size:13px;line-height:1.5;color:var(--ui-muted,var(--muted))}
.community-home .community-feature:hover{border-color:var(--ui-blue-text,var(--accent));background:color-mix(in srgb,var(--ui-blue,var(--accent)) 4%,var(--ui-panel,var(--paper)))}
.community-home .community-feature:focus-visible,.community-home .community-manage-link:focus-visible{outline:2px solid var(--ui-blue-text,var(--accent));outline-offset:3px}
.community-home .community-world-home{display:flex;flex-direction:column;overflow:hidden}
.community-home .community-world-picture{width:100%;height:auto;aspect-ratio:2.5/1;flex:1 1 auto;min-height:160px;object-fit:cover}
.community-home .community-world-copy{display:flex;flex-direction:column;align-items:flex-start;padding:22px 24px 24px;gap:10px}
.community-home .community-world-title{font-size:21px;line-height:1.3;margin:0}
.community-home .community-world-copy p{margin:0 0 4px;font-size:14px;line-height:1.5;color:var(--ui-muted,var(--muted))}
.community-home .community-project-links,.community-home .community-projects-home{margin-top:30px}
.community-home .community-directory-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.community-home .community-directory-heading h2{font-size:18px;line-height:1.4;margin:0}
.community-home .community-manage-link{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:600;color:var(--ui-blue-text,var(--accent));text-decoration:none}
.community-home .community-manage-link:hover{text-decoration:underline;text-underline-offset:3px}
.community-home .community-directory-browse{min-height:82px;align-items:center;padding:18px 20px}
.community-home .community-directory-browse>svg{margin:0;width:24px;height:24px}
@media(max-width:1100px){.community-home .community-home-heading{flex-direction:column;gap:16px}.community-home .community-heading-actions{padding:0}.community-home .community-home-grid{grid-template-columns:minmax(0,1fr) minmax(0,.85fr)}.community-home .community-feature{flex-direction:column;gap:8px}.community-home .printer-community-identity h2{font-size:19px}}
@media(max-width:760px){.community-home .community-home-heading{margin-bottom:22px}.community-home .community-heading-actions{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.community-home .community-heading-actions>a{padding-inline:10px!important;font-size:12px!important;text-align:center;white-space:normal}.community-home .community-home-grid{grid-template-columns:1fr;gap:18px}.community-home .printer-community-home{padding:18px;gap:18px}.community-home .printer-community-identity{gap:12px}.community-home .printer-community-identity img{width:44px;height:44px}.community-home .printer-community-identity p{font-size:13px}.community-home .community-feature-grid{gap:10px}.community-home .community-feature{min-height:112px;padding:14px 12px;gap:8px}.community-home .community-feature strong{font-size:13px}.community-home .community-feature small{font-size:12px}.community-home .community-world-picture{flex:none;min-height:0;aspect-ratio:2.2/1}.community-home .community-world-copy{padding:18px;gap:8px}.community-home .community-world-copy>a{width:auto}.community-home .community-project-links,.community-home .community-projects-home{margin-top:22px}.community-home .community-directory-heading{align-items:flex-start;gap:4px;flex-direction:column;margin-bottom:10px}.community-home .community-manage-link{min-height:38px}.community-home .community-directory-browse{flex-direction:row;min-height:86px;gap:14px;padding:16px}}
@media(prefers-reduced-motion:reduce){.community-home .community-feature{transition:none}}
.community-home .community-heading-actions{align-items:stretch}
@media(max-width:360px){body:has(.community-home) .topbar{padding-inline:12px;gap:8px}body:has(.community-home) .topbar>.brand{min-width:0;flex:0 0 74px}body:has(.community-home) .topbar>.brand img{width:74px!important;max-width:74px!important;height:auto}body:has(.community-home) .topbar .printer-header-actions{gap:6px}body:has(.community-home) .topbar .printer-wallet{padding-inline:8px!important;font-size:12px!important}}
