.activity-more { display: flex; justify-content: center; margin-top: 50px; }

.activity-board-page {
  --green: #27634f;
  --deep: #183f35;
  --line: #dce4df;
  --ink: #1e2b26;
  --muted: #67736e;
  margin: 0;
  color: var(--ink);
  background: #f7faf8;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.7;
}

.activity-board-page * { box-sizing: border-box; }
.activity-board-page a { color: inherit; text-decoration: none; }
.activity-board-header { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(22px,5vw,76px); background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(39,99,79,.1); }
.activity-board-brand img { display: block; width: auto; height: 48px; }
.activity-board-home { color: var(--deep); font-size: 14px; font-weight: 800; }
.activity-board-home:hover { color: var(--green); }
.activity-board-main { min-height: calc(100vh - 140px); padding: 90px 6vw 120px; }
.activity-board-inner { width: min(100%, 1040px); margin: 0 auto; }
.activity-board-kicker { margin: 0 0 14px; color: var(--green); font-size: 13px; font-weight: 800; letter-spacing: .16em; }
.activity-board-heading { margin: 0; color: var(--deep); font-size: clamp(38px,5vw,60px); line-height: 1.15; letter-spacing: -.045em; }
.activity-board-intro { margin: 18px 0 0; color: var(--muted); }
.activity-category-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.activity-category-filters button, .activity-category-filters a { display: inline-flex; align-items: center; justify-content: center; min-width: 76px; min-height: 42px; padding: 8px 18px; color: var(--deep); background: #fff; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: color .2s, background .2s, border-color .2s; }
.activity-category-filters button:hover, .activity-category-filters button:focus-visible, .activity-category-filters button.is-active, .activity-category-filters a:hover, .activity-category-filters a:focus-visible, .activity-category-filters a.is-active { color: #fff; background: var(--green); border-color: var(--green); }

.activity-post-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 52px; }
.activity-post-row { display: flex; min-width: 0; overflow: hidden; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 10px 28px rgba(31,63,51,.06); transition: border-color .2s, box-shadow .2s, transform .2s; }
.activity-post-row:hover, .activity-post-row:focus-visible { border-color: rgba(39,99,79,.45); box-shadow: 0 16px 36px rgba(31,63,51,.13); transform: translateY(-4px); }
.activity-post-thumbnail { display: grid; width: 100%; overflow: hidden; place-items: center; aspect-ratio: 16/10; color: rgba(255,255,255,.9); background: linear-gradient(145deg,var(--green),var(--deep)); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.activity-post-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.activity-post-row:hover .activity-post-thumbnail img, .activity-post-row:focus-visible .activity-post-thumbnail img { transform: scale(1.035); }
.activity-post-text { min-width: 0; padding: 22px 22px 12px; }
.activity-post-text strong, .activity-post-text small { display: block; }
.activity-category-badge { display: inline-flex; align-items: center; min-height: 26px; margin-bottom: 10px; padding: 3px 10px; color: var(--green); background: #edf5f1; border-radius: 999px; font-size: 12px; font-weight: 800; }
.activity-post-text strong { color: var(--deep); font-size: 19px; line-height: 1.45; word-break: keep-all; }
.activity-post-text small { display: -webkit-box; margin-top: 8px; overflow: hidden; color: var(--muted); font-size: 14px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.activity-post-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 4px 22px 20px; color: var(--muted); font-size: 13px; }
.activity-post-meta time, .activity-photo-count { color: inherit; font-size: inherit; }
.activity-empty { margin: 0; padding: 56px 24px; color: var(--muted); text-align: center; }

.activity-detail-board-title { display: block; width: fit-content; color: var(--deep); font-size: clamp(38px,5vw,60px); font-weight: 800; line-height: 1.15; letter-spacing: -.045em; }
.activity-detail-filters { margin-top: 30px; }
.activity-detail-card { margin-top: 36px; padding: clamp(28px,5vw,58px); background: #fff; border-top: 2px solid var(--green); border-radius: 0 0 24px 24px; }
.activity-detail-card > .activity-category-badge { display: flex; width: max-content; margin-bottom: 14px; }
.activity-detail-card h1 { margin: 0; color: var(--deep); font-size: clamp(28px,4vw,42px); line-height: 1.35; letter-spacing: -.035em; word-break: keep-all; }
.activity-detail-card time { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }
.activity-detail-body { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.activity-detail-body p { margin: 0 0 18px; white-space: pre-line; word-break: keep-all; }
.activity-detail-photos { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; margin-top: 36px; }
.activity-detail-photo { position: relative; width: 100%; padding: 0; overflow: hidden; background: #e5eee8; border: 0; border-radius: 16px; cursor: zoom-in; }
.activity-detail-photo img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .25s ease; }
.activity-detail-photo:hover img, .activity-detail-photo:focus-visible img { transform: scale(1.025); }
.activity-detail-photo::after { content: "확대"; position: absolute; right: 12px; bottom: 12px; padding: 6px 10px; color: #fff; background: rgba(20,40,32,.72); border-radius: 999px; font-size: 12px; font-weight: 800; }
.activity-detail-actions { margin-top: 42px; }
.activity-detail-back { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; color: #fff !important; background: var(--green); border-radius: 999px; font-weight: 800; }
.activity-board-footer { min-height: 58px; display: flex; align-items: center; justify-content: center; padding: 16px; color: var(--muted); background: #fff; border-top: 1px solid #eef1ef; font-size: 12px; }

.gallery-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 36px; background: rgba(9,18,15,.88); }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox-inner { position: relative; width: min(100%,1120px); max-height: 90vh; display: grid; place-items: center; }
.gallery-lightbox-image { display: block; max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 14px; box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.gallery-lightbox-nav { position: absolute; top: 50%; z-index: 2; display: grid; width: 52px; height: 52px; padding: 0; place-items: center; color: #fff; background: rgba(24,63,53,.88); border: 2px solid rgba(255,255,255,.75); border-radius: 50%; font-size: 0; line-height: 1; cursor: pointer; transform: translateY(-50%); transition: background .2s, transform .2s; }
.gallery-lightbox-nav svg { display: block; width: 26px; height: 26px; overflow: visible; }
.gallery-lightbox-nav path { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gallery-lightbox-nav:hover, .gallery-lightbox-nav:focus-visible { background: var(--green); transform: translateY(-50%) scale(1.06); }
.gallery-lightbox-nav[hidden] { display: none; }
.gallery-lightbox-prev { left: 18px; }
.gallery-lightbox-next { right: 18px; }
.gallery-lightbox-close { position: absolute; top: -18px; right: -18px; width: 46px; height: 46px; color: #fff; background: var(--green); border: 2px solid rgba(255,255,255,.8); border-radius: 50%; font-size: 28px; line-height: 1; cursor: pointer; }
.gallery-lightbox-open { overflow: hidden; }

@media (max-width: 700px) {
  .activity-more { margin-top: 36px; }
  .activity-board-header { height: 68px; padding: 0 20px; }
  .activity-board-brand img { height: 40px; }
  .activity-board-main { padding: 66px 22px 90px; }
  .activity-post-list { margin-top: 38px; }
  .activity-post-list { grid-template-columns: 1fr; gap: 18px; }
  .activity-post-text { padding: 19px 18px 10px; }
  .activity-post-meta { padding: 4px 18px 18px; }
  .activity-detail-photos { grid-template-columns: 1fr; }
  .activity-detail-photo img { max-width: 100%; height: auto; }
  .gallery-lightbox { padding: 16px; }
  .gallery-lightbox-nav { width: 44px; height: 44px; font-size: 32px; }
  .gallery-lightbox-prev { left: 6px; }
  .gallery-lightbox-next { right: 6px; }
  .gallery-lightbox-close { top: 4px; right: 4px; }
}
@media (max-width: 420px) {
  .activity-board-main { padding-right: 16px; padding-left: 16px; }
  .activity-detail-card { padding: 24px 18px; }
  .activity-detail-back { width: 100%; }
}
