.community-page { min-height: 100vh; color: #234c37; background: linear-gradient(180deg, #edf8d9 0, #fffbea 440px, #f6f3dc 100%); }
.community-main { min-height: calc(100vh - 190px); padding-top: clamp(42px, 7vw, 90px); padding-bottom: 70px; }
.community-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.community-heading h1 { margin: 6px 0 10px; color: #174e37; font-size: clamp(32px, 5vw, 52px); line-height: 1; }
.community-heading p { max-width: 640px; margin: 0; color: #5c765a; font-size: 15px; line-height: 1.55; }
.community-status { min-height: 22px; color: #5c765a; font-size: 13px; }
.community-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 20px; }
.community-photo-card { overflow: hidden; border: 2px solid #9acb66; border-radius: 19px; background: #fffdf1; box-shadow: 0 6px 0 #d5e8b8, 0 12px 28px #244e3212; }
.community-photo-open { display: block; width: 100%; padding: 13px 13px 0; border: 0; background: transparent; cursor: zoom-in; }
.community-photo-open img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 5px solid #9a6b31; border-radius: 6px; background: #e6efd7; }
.community-photo-copy { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 15px; }
.community-photo-copy strong { overflow: hidden; color: #20553a; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.community-photo-copy time { flex: 0 0 auto; color: #738468; font-size: 11px; }
.community-empty { padding: 25px; border: 1px solid #c8dfa5; border-radius: 16px; color: #607a5c; background: #f8f9e9; text-align: center; }
.community-viewer { width: min(980px, calc(100% - 30px)); padding: 25px; border: 7px solid #754f26; border-radius: 9px; background: #fff8dc; box-shadow: 0 6px 0 #442f18; }
.community-viewer::backdrop { background: #142d26b3; backdrop-filter: blur(5px); }
.community-viewer form { position: absolute; top: 8px; right: 8px; }
.community-viewer-close { width: 35px; height: 35px; border: 2px solid #fff; border-radius: 50%; color: #704915; background: #ffd842; font-size: 23px; cursor: pointer; }
.community-viewer figure { margin: 0; padding: 9px 9px 13px; background: #fff; box-shadow: 0 2px 12px #2a261d30; }
.community-viewer figure img { display: block; width: 100%; max-height: 75vh; object-fit: contain; background: #e4ead8; }
.community-viewer figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 3px 0; color: #36593a; }
.community-viewer figcaption time { color: #71836b; font-size: 12px; }
.community-heading { margin-bottom:30px; }
.community-heading > .button { flex:0 0 auto; }
.community-challenge { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr); gap:clamp(18px,4vw,38px); align-items:center; margin:0 0 26px; padding:clamp(24px,4vw,42px); border:3px solid #fff; border-radius:24px; color:#fff7df; background:radial-gradient(circle at 86% 18%,#82bc4b 0 8%,transparent 8.5%),linear-gradient(125deg,#176a42,#238d49 58%,#327c38); box-shadow:0 7px 0 #cfe3aa,0 16px 34px #234e3217; }
.community-challenge-copy .eyebrow { color:#ffdf75; }
.community-challenge h2 { margin:9px 0 10px; color:#fffbea; font:900 clamp(30px,4vw,44px)/1.05 'Trebuchet MS',sans-serif; letter-spacing:-.04em; }
.community-challenge-copy > p { max-width:580px; margin:0 0 20px; color:#e4f1d8; font-size:15px; line-height:1.6; }
.community-challenge .button-primary { color:#315c32; border-color:#dbac27; background:linear-gradient(#ffe77a,#ffcf47); box-shadow:0 4px 0 #b77f24; }
.community-challenge-note { position:relative; display:grid; gap:10px; padding:23px; border:1px solid #d7e3b6; border-radius:17px; color:#355c43; background:#fbf9e9; box-shadow:0 4px 0 #d4e2b8; }
.community-challenge-stamp { position:absolute; top:-16px; right:15px; display:grid; width:43px; height:43px; place-items:center; border:3px solid #fff; border-radius:50%; background:#ffd95b; font-size:21px; box-shadow:0 2px 5px #173e2b55; }
.community-challenge-note > strong { padding-right:36px; color:#286d37; font-size:16px; }
.community-challenge-note p { margin:0; color:#60715d; font-size:12px; line-height:1.65; }
.community-activities,.community-gallery { margin-top:25px; padding:clamp(20px,3vw,30px); border:2px solid #d0dea8; border-radius:21px; background:#fffdf1; box-shadow:0 5px 0 #d7e8bd,0 12px 28px #244e3210; }
.community-section-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:20px; }
.community-section-heading h2 { margin:6px 0 6px; color:#174e37; font:900 clamp(24px,3vw,31px)/1.1 'Trebuchet MS',sans-serif; letter-spacing:-.03em; }
.community-section-heading p { margin:0; color:#5c765a; font-size:13px; line-height:1.55; }
.community-week-label { flex:0 0 auto; padding:8px 11px; border:1px solid #d9e5bd; border-radius:99px; color:#55734e; background:#f4f7e6; font-size:11px; font-weight:800; }
.community-week { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:9px; margin:0; padding:0; list-style:none; }
.community-day { display:flex; min-width:0; flex-direction:column; padding:12px 11px; border:1px solid #d7e3bc; border-radius:13px; background:#f8f9ed; }
.community-day.is-today { border:2px solid #5d9d41; padding:11px 10px; background:#edf6de; box-shadow:0 3px 0 #d0e4b4; }
.community-day.has-challenge { background:#fff7d7; }
.community-day-heading { display:flex; align-items:center; justify-content:space-between; gap:7px; padding-bottom:9px; border-bottom:1px solid #dce5c5; }
.community-day-heading strong { overflow:hidden; color:#345c43; font-size:11px; text-overflow:ellipsis; text-transform:capitalize; }
.community-day-heading time { flex:0 0 auto; color:#778467; font-size:10px; }
.community-day-kicker { margin-top:12px; color:#629044; font-size:9px; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.community-day h3 { margin:4px 0 5px; color:#23543d; font-size:13px; line-height:1.25; }
.community-day > p:not(.community-day-challenge) { margin:0 0 11px; color:#6b7b63; font-size:10px; line-height:1.45; }
.community-day-challenge { margin:0 0 10px; padding:7px; border-radius:8px; color:#725318; background:#ffedab; font-size:10px; font-weight:800; line-height:1.4; }
.community-day > a { margin-top:auto; color:#378337; font-size:10px; font-weight:900; text-decoration:none; }
.community-day > a:hover { text-decoration:underline; text-underline-offset:3px; }
.community-gallery { margin-top:25px; }
.community-gallery-heading { margin-bottom:17px; }
.community-gallery-tools { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:11px; }
.community-filter-list { display:flex; flex-wrap:wrap; gap:7px; }
.community-filter-list button { min-height:37px; padding:8px 13px; border:1px solid #cbdca9; border-radius:999px; color:#4f6d4e; background:#f7f8eb; font:800 11px Arial,sans-serif; cursor:pointer; }
.community-filter-list button:hover { border-color:#75af4b; }
.community-filter-list button[aria-pressed="true"] { border-color:#2b8535; color:#fff; background:#378f38; box-shadow:0 2px 0 #256d2e; }
.community-search { display:grid; grid-template-columns:auto minmax(160px,230px); align-items:center; gap:9px; color:#476649; font-size:11px; font-weight:800; }
.community-search input { min-width:0; min-height:38px; padding:8px 11px; border:1px solid #c8dca7; border-radius:10px; color:#315744; background:#fffef8; font:12px Arial,sans-serif; }
.community-search input:focus { outline:3px solid #8aba6338; border-color:#629c42; }
.community-gallery .community-status { margin:0 0 10px; }
.community-gallery .community-photo-grid { min-height:110px; }
.community-gallery .community-empty { margin:0; }
@media (max-width: 900px) { .community-week { grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); }.community-challenge { grid-template-columns:1fr minmax(230px,.8fr); } }
@media (max-width: 650px) { .community-heading { align-items:start; flex-direction:column; }.community-heading > .button { width:100%; }.community-challenge { grid-template-columns:1fr; }.community-challenge-note { max-width:none; }.community-section-heading { align-items:flex-start; flex-direction:column; }.community-week-label { align-self:flex-start; }.community-gallery-tools { align-items:stretch; flex-direction:column; }.community-search { grid-template-columns:1fr; gap:5px; }.community-search input { width:100%; box-sizing:border-box; }.community-filter-list { display:grid; grid-template-columns:repeat(3,1fr); }.community-filter-list button { padding-inline:7px; } }
