/* Community hub: compact navigation, focused preferences and community discovery. */
#community-happening{--hub-emerald:#123e33;--hub-gold:#a87b28;--hub-border:#d9e4de;border:1px solid var(--hub-border);border-radius:24px;background:#fff;padding:28px;box-shadow:0 8px 30px #153f3308;}
#community-happening .community-hub-heading{margin:0 0 22px;align-items:center;gap:16px;}
#community-happening .community-hub-heading h2{font-size:clamp(26px,3vw,36px);line-height:1.15;color:var(--hub-emerald);margin:6px 0 0;}
#community-happening .community-hub-heading .eyebrow{font-size:11px;letter-spacing:.12em;color:#70531e;}
.community-hub-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.hub-view-selector{display:flex;padding:4px;background:#edf3ef;border-radius:12px;gap:4px;}
.hub-view-selector button{border:0;background:transparent;border-radius:9px;padding:11px 18px;min-height:44px;font:inherit;font-size:14px;font-weight:650;color:#38584d;cursor:pointer;}
.hub-view-selector button[aria-selected=true]{background:#123e33;color:#fff;box-shadow:0 2px 5px #123e3320;}
.community-filter-trigger{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid #cbd9d1;background:#fff;color:#123e33;border-radius:10px;font:inherit;font-size:14px;font-weight:650;cursor:pointer;}
[data-hub-filter-count]:not(:empty){display:grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:#123e33;color:white;font-size:11px;}
#community-happening .community-update-toolbar{display:flex!important;flex-wrap:nowrap!important;gap:6px;padding:0 0 10px;margin:0;overflow:auto;scrollbar-width:thin;border:0;background:transparent;}
#community-happening .community-update-toolbar button{flex:0 0 auto;min-height:44px;width:auto!important;white-space:nowrap;padding:10px 13px;border-radius:9px;border:1px solid transparent;background:transparent;color:#496257;font-size:13px;box-shadow:none;}
#community-happening .community-update-toolbar button[aria-selected=true]{border-color:#d9e4de;background:#edf3ef;color:#123e33;}
#community-happening .community-update-toolbar [data-filter-count]{background:#e4ece6;color:#345247;min-width:20px;font-size:11px;}
#community-happening .community-date-filters{display:flex;flex-wrap:nowrap;gap:4px;border-top:1px solid #edf1ee;padding-top:12px;margin:0;overflow:auto;}
#community-happening .community-date-filters button{min-height:44px;white-space:nowrap;border:0;border-radius:8px;padding:10px 13px;background:transparent;color:#52675d;font-size:13px;}
#community-happening .community-date-filters button[aria-pressed=true]{background:#f5efe2;color:#694b15;font-weight:700;}
#community-happening .community-hub-status{font-size:12px;line-height:1.65;color:#62736a;margin:12px 0 18px;max-width:88ch;}
#community-happening .community-happening-grid{gap:16px;}
#community-happening .community-hub-card{border:1px solid #dfe7e1;border-radius:15px;box-shadow:none;}
#community-happening .community-happening-empty{background:#f6f8f5;border:1px dashed #c9d8ce;border-radius:14px;padding:30px 22px;text-align:center;}
#community-happening .community-happening-empty strong{font-size:16px;color:#234b3e;}
#community-happening .community-happening-empty p{font-size:13px;color:#617067;margin-top:8px;}
.community-directory-search{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding-top:4px;}
.community-directory-search label{flex:1;min-width:190px;font-size:12px;font-weight:650;color:#345448;}
.community-directory-search input{display:block;width:100%;min-height:46px;margin-top:6px;border:1px solid #cad8cf;border-radius:10px;padding:11px 14px;background:#fbfcfa;font:inherit;font-size:14px;color:#123e33;}
.community-directory-search p{flex:1;min-width:190px;font-size:12px;color:#5a6c61;line-height:1.6;}
.community-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;}
.community-directory-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dce5de;border-radius:16px;padding:20px;background:linear-gradient(150deg,#f8faf7,#fff 55%);transition:border-color .15s,box-shadow .15s;}
.community-directory-card:hover{border-color:#9db9a9;box-shadow:0 5px 18px #174e3910;}
.community-directory-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;}
.community-directory-emblem{display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#e6eee5;color:#174839;font-size:16px;font-weight:700;}
.community-directory-top .favorite-button{position:static;min-width:44px;min-height:44px;border:1px solid #e1e7df;background:#fff;color:#486455;border-radius:50%;font-size:22px;cursor:pointer;}
.community-directory-top .favorite-button.active{background:#f6efdf;color:#785919;border-color:#ddcca6;}
.community-directory-category{color:#705521;font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 7px;}
.community-directory-card h3{font-size:18px;line-height:1.4;margin:0 0 10px;}
.community-directory-card h3 a{color:#153f32;text-decoration:none;}
.community-directory-place{font-size:13px;color:#617064;margin:0 0 5px;}
.community-directory-distance{font-size:12px;color:#4a6354;margin:0 0 18px;}
.community-directory-open{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;margin-top:auto;border-top:1px solid #e5eae2;padding-top:12px;color:#164534;font-size:13px;font-weight:700;text-decoration:none;}
.community-directory-grid>.community-happening-empty{grid-column:1/-1;}
.community-filter-dialog{padding:0!important;width:min(540px,calc(100% - 28px));max-width:540px!important;max-height:calc(100dvh - 36px);border:1px solid #d9e4de;border-radius:20px!important;box-shadow:0 24px 90px #123e3340;background:#fff;color:#183c30;}
.community-filter-dialog::backdrop{background:#102b246b;backdrop-filter:blur(3px);}
.community-filter-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #e3e9e1;}
.community-filter-head p{margin:0 0 3px;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#73571d;}
.community-filter-head h2{font-size:23px;margin:0;color:#153f32;}
.community-filter-head button{min-width:44px;min-height:44px;border:1px solid #dbe5dc;border-radius:10px;background:#fff;color:#234b3d;font-size:24px;cursor:pointer;}
.community-filter-body{padding:20px 24px;overflow:auto;max-height:calc(100dvh - 222px);}
.community-filter-dialog .community-preference-controls{margin:0;}
.community-filter-dialog .community-source-scope{display:flex;gap:6px;padding:4px;background:#eff4ee;border-radius:10px;margin:0 0 20px;}
.community-filter-dialog .community-source-scope button{flex:1;min-height:44px;padding:10px;border:0;background:transparent;border-radius:8px;font:inherit;font-size:13px;color:#476252;cursor:pointer;}
.community-filter-dialog .community-source-scope button[aria-pressed=true]{background:#123e33;color:#fff;}
.community-filter-dialog .community-preference-panel{border:0;background:transparent;padding:0;}
.community-filter-dialog .community-preference-panel>p{font-size:12px;line-height:1.65;color:#657269;margin:0 0 18px;}
.community-filter-dialog fieldset{border:0;border-top:1px solid #e6eae4;padding:17px 0 8px;margin:0 0 15px;display:flex;flex-wrap:wrap;gap:8px;}
.community-filter-dialog legend{font-weight:700;font-size:13px;color:#234d3c;padding:0 8px 0 0;}
.community-filter-dialog fieldset label{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 11px;border:1px solid #dce5dc;border-radius:9px;font-size:12px;cursor:pointer;}
.community-filter-dialog input[type=checkbox]{accent-color:#164f3b;width:17px;height:17px;}
.community-filter-dialog .community-choice-search{display:block;font-size:13px;font-weight:700;margin:12px 0;}
.community-filter-dialog .community-choice-search input{width:100%;min-height:44px;border:1px solid #cbdace;border-radius:9px;padding:10px 12px;margin-top:8px;font:inherit;font-size:13px;}
.community-filter-dialog .community-follow-choices{max-height:210px;overflow:auto;border:1px solid #e0e7df;border-radius:12px;display:block;}
.community-filter-dialog .community-follow-choices label{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 13px;border-bottom:1px solid #edf0e9;font-size:13px;cursor:pointer;}
.community-filter-dialog .community-follow-choices label[hidden]{display:none;}
.community-filter-dialog .community-follow-choices small{display:block;font-size:11px;color:#68766c;margin-top:4px;}
.community-filter-dialog .community-preference-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;}
.community-filter-dialog .community-preference-actions button{min-height:44px;border:1px solid #d3dfd5;border-radius:9px;padding:10px 12px;background:#fff;color:#264d3b;font:inherit;font-size:12px;cursor:pointer;}
.community-filter-dialog .community-preference-actions button:disabled{opacity:.55;cursor:default;}
.community-filter-dialog .community-preference-panel>small{font-size:11px;color:#6a756b;line-height:1.5;}
.community-filter-footer{padding:16px 24px;border-top:1px solid #e3e9e1;background:#f8faf6;}
.community-filter-footer button{width:100%;min-height:46px;border:0;border-radius:10px;background:#123e33;color:#fff;font:inherit;font-size:14px;font-weight:650;cursor:pointer;}
.community-profile-feed{border-top:1px solid #dde6dd;padding-top:24px;margin-top:24px;}
.community-profile-feed-head h3{margin:5px 0 8px!important;}
.community-profile-feed-head>p:last-child{font-size:12px;color:#647166;line-height:1.6;}
.community-profile-tabs{display:flex;gap:6px;overflow:auto;margin:16px 0;}
.community-profile-tabs button{flex:0 0 auto;min-height:44px;padding:9px 12px;border:1px solid #d6e2d6;border-radius:9px;background:#fff;color:#315743;font:inherit;font-size:12px;cursor:pointer;}
.community-profile-tabs button[aria-pressed=true]{background:#143f32;color:#fff;}
.community-profile-post{width:100%;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0;border:0;border-bottom:1px solid #e2e9df;background:transparent;text-align:start;font:inherit;color:#234c37;cursor:pointer;}
.community-profile-post small,.community-profile-post strong,.community-profile-post time{display:block;}
.community-profile-post small{font-size:10px;text-transform:uppercase;color:#74551c;letter-spacing:.05em;}
.community-profile-post strong{font-size:15px;line-height:1.5;margin:5px 0;}
.community-profile-post time,.community-profile-empty{font-size:12px;color:#667567;line-height:1.65;}
#community-happening button:focus-visible,#community-happening a:focus-visible,#community-happening input:focus-visible,.community-filter-dialog :focus-visible,.community-profile-feed :focus-visible{outline:3px solid #a77b25;outline-offset:3px;}
#community-happening [hidden],.community-filter-dialog [hidden]{display:none!important;}
@media(max-width:1000px){.community-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px){#community-happening{padding:20px 16px;border-radius:18px;margin-left:14px;margin-right:14px;width:auto;}#community-happening .community-hub-heading{display:flex;flex-direction:column;align-items:stretch;gap:18px;margin-bottom:16px;}.community-hub-tools{gap:8px;flex-wrap:nowrap;}.hub-view-selector{flex:1;}.hub-view-selector button{flex:1;padding:10px 12px;font-size:13px;}.community-filter-trigger{padding:10px 12px;font-size:13px;}#community-happening .community-update-toolbar button{padding:9px 11px;}#community-happening .community-date-filters button{padding:9px 11px;font-size:12px;}#community-happening .community-hub-status{margin:10px 0 16px;font-size:11px;}.community-directory-grid{grid-template-columns:minmax(0,1fr);gap:12px;}.community-directory-card{padding:18px;}.community-directory-top{margin-bottom:12px;}.community-directory-search{gap:4px;}.community-directory-search p{margin:8px 0 16px;flex-basis:100%;}.community-filter-dialog{margin:auto auto 12px;border-radius:18px!important;width:calc(100% - 20px);max-height:calc(100dvh - 24px);}.community-filter-head{padding:18px;}.community-filter-body{padding:18px;max-height:calc(100dvh - 215px);}.community-filter-footer{padding:14px 18px;}}
@media(prefers-reduced-motion:reduce){.community-directory-card{transition:none;}}

/* Override legacy toolbar emphasis within the redesigned hub only. */
.community-filter-dialog{width:min(680px,calc(100% - 28px));max-width:680px!important;}
.community-hub-tools{flex-wrap:wrap;}
.community-preferred-trigger{min-height:44px;padding:10px 14px;border:1px solid #cbdace;border-radius:10px;background:#fff;color:#234d3c;font:inherit;font-size:13px;cursor:pointer;}
.community-filter-dialog .community-state-choices{border:0;margin:0 0 12px;padding:0;gap:7px;}
.community-state-choices legend{margin-bottom:10px;}
.community-state-choices button,.community-selection-summary button{min-height:44px;border:1px solid #d3dfd5;border-radius:9px;background:#fff;color:#264d3b;padding:9px 13px;font:inherit;font-size:12px;cursor:pointer;}
.community-state-choices button[aria-pressed=true]{background:#123e33;color:#fff;border-color:#123e33;}
.community-selection-summary{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;font-size:13px;}
.community-filter-dialog .community-follow-choices{max-height:none;overflow:visible;border:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.community-filter-dialog .community-follow-choices label{position:relative;min-height:82px;padding:12px;gap:10px;border:1px solid #dce5dc;border-radius:12px;line-height:1.4;background:#fff;transition:background .15s,border-color .15s;}
.community-filter-dialog .community-follow-choices label:hover{border-color:#7d9c89;}
.community-filter-dialog .community-follow-choices label.is-selected{background:#edf5ef;border-color:#2c664f;box-shadow:inset 0 0 0 1px #2c664f;}
.community-follow-choices input{flex:0 0 auto;}
.community-choice-logo{flex:0 0 42px;width:42px;height:42px;}
.community-choice-logo .community-brand-mark{display:flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:10px;background:#f4f5ef;border:1px solid #e0e5dc;overflow:hidden;color:#496447;font-size:13px;font-weight:700;}
.community-choice-logo .community-brand-dark{background:#172e26;}
.community-choice-logo img{width:100%;height:100%;object-fit:contain;}
.community-choice-name{min-width:0;overflow-wrap:anywhere;font-weight:600;font-size:12px;}
.community-filter-dialog .community-follow-choices small{font-weight:400;font-size:10px;line-height:1.4;}
.community-language-options{margin-top:22px;border-top:1px solid #e0e7df;padding-top:8px;}
.community-language-options summary{min-height:44px;cursor:pointer;padding:12px 0;font-weight:650;font-size:13px;}
.community-language-options p{font-size:12px;color:#657269;}
.community-filter-dialog [data-save-community-preferences]{background:#123e33;color:#fff;border-color:#123e33;}
.community-filter-dialog .community-preference-actions{margin-bottom:14px;}
@media(max-width:680px){.community-preferred-trigger{flex:1 0 100%;order:3;}.community-hub-tools{flex-wrap:wrap;}.community-filter-dialog .community-follow-choices{grid-template-columns:minmax(0,1fr);}.community-choice-name{font-size:13px;}.community-selection-summary{align-items:flex-start;}.community-selection-summary button{max-width:60%;}.community-filter-dialog .community-source-scope button{font-size:12px;}}
.community-hub#community-happening .community-update-toolbar{box-shadow:none!important;background:transparent!important;}
.community-hub#community-happening .community-update-toolbar button{background:#f2f6f1!important;color:#38584d!important;border-color:transparent;}
.community-hub#community-happening .community-update-toolbar button[aria-selected=true]{background:#123e33!important;color:#fff!important;border-color:#123e33;}
.community-hub#community-happening .community-update-toolbar button:before{display:none!important;}
.community-hub#community-happening .community-date-filters button[aria-pressed=true]{background:#f5efe2!important;color:#694b15!important;border-color:transparent;}

/* No-media notices are reading surfaces, not incomplete poster cards. */
#community-happening .community-hub-card--text{padding:22px;gap:12px;background:#fffdf8;}
#community-happening .community-hub-card--text h3{font-size:20px!important;line-height:1.4!important;}
#community-happening .community-hub-card--text .community-hub-summary{font-size:15px;line-height:1.7;color:#304d3f;white-space:pre-line;display:block;-webkit-line-clamp:unset;overflow-wrap:anywhere;}
#community-happening .community-hub-card--text .community-hub-date,
#community-happening .community-hub-card--text .community-hub-location{font-size:12px;line-height:1.6;}
#community-happening .community-hub-card--text .community-hub-actions{padding-top:12px;margin-top:auto;border-top:1px solid #e4e9df;}
#community-happening .community-hub-card--text .community-hub-actions button,
#community-happening .community-hub-card--text .community-hub-actions a{min-height:44px;display:inline-flex;align-items:center;font-size:12px;}
#detailContent .community-detail-hero--text{display:block;}
#detailContent .community-detail-hero--text>div{width:100%;}
#detailContent .community-event-detail-main--text{grid-template-columns:minmax(0,1fr) minmax(220px,.48fr);align-items:start;gap:32px;}
#detailContent .community-event-detail-main--text>div:first-child{min-width:0;}
#detailContent .community-event-detail-main--text .detail-description{font-size:16px;line-height:1.8;color:#263f33;max-width:70ch;overflow-wrap:anywhere;}
#detailContent .community-event-detail-main--text .detail-description:first-of-type{margin-top:8px;}
@media(max-width:760px){
  #community-happening .community-hub-card--text{padding:20px;}
  #detailContent .community-event-detail-main--text{grid-template-columns:minmax(0,1fr);gap:24px;}
}

