/* Community pages share the site's sidebar; these styles only affect the right-hand content. */
.site-main .community-page {
  --board-panel: #202a2d;
  --board-border: #3a4c50;
  --board-muted: #afc0c3;
  display: grid;
  gap: 20px;
  min-width: 0;
  color: #eef4f3;
}
.site-main .community-page > * { min-width: 0; }
.site-main .community-page .board-heading {
  display: flex; gap: 24px; align-items: center; justify-content: space-between;
  padding: 30px 34px; border: 1px solid #486169; border-radius: 14px;
  background: radial-gradient(ellipse at 100% 0, #325259, transparent 65%), linear-gradient(125deg, #263b40, #1d282c);
  box-shadow: inset 0 1px #a2c9c91a, 0 4px 0 #0e171a, 0 12px 24px #0002;
}
.community-page .board-heading > div:first-child { min-width: 0; }
.site-main .community-page .board-eyebrow { color: #a4d5d8; font-size: 12px; letter-spacing: .08em; margin-bottom: 6px; }
.site-main .community-page .board-heading h1 { font-size: clamp(26px, 2.5vw, 34px); line-height: 1.35; letter-spacing: -.04em; }
.site-main .community-page .board-description { margin-top: 10px; color: #c5d4d5; font-size: 14px; line-height: 1.7; }
.community-page .board-heading-mark {
  display: grid; place-items: center; flex: 0 0 68px; width: 68px; height: 68px; border: 1px solid #72969a;
  border-radius: 19px; background: linear-gradient(145deg, #4c757c, #2b444a); color: #d4efec;
  box-shadow: inset 0 2px #c4e9e644, 0 5px 0 #16272c, 0 10px 18px #08141770; transform: rotate(-6deg);
}
.community-page .board-heading-mark svg { width: 34px; height: 34px; }
.community-page .board-navigation { display: flex; flex-wrap: wrap; gap: 7px; padding: 5px 0; }
.community-page .board-navigation a {
  display: flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1px solid #374b50; border-radius: 7px;
  background: #222e32; color: #c1d0d2; text-decoration: none; font-size: 13px; box-shadow: inset 0 1px #ffffff09, 0 2px 0 #10181b;
}
.community-page .board-navigation a:hover { background: #30494e; border-color: #6d999f; color: #fff; }
.community-page .board-navigation a[aria-current="page"] { background: #376b76; border-color: #79aeb6; color: #fff; font-weight: 700; }
.site-main .community-page .board-panel, .site-main .community-page .board-article, .site-main .community-page .board-editor,
.site-main .community-page .comments, .site-main .community-page .faq {
  background: var(--board-panel); border: 1px solid var(--board-border); border-radius: 12px;
  box-shadow: inset 0 1px #ffffff09, 0 4px 0 #111a1d, 0 12px 24px #0002; overflow: hidden;
}
.community-page .board-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; }
.site-main .community-page .board-toolbar h1 { font-size: 19px; line-height: 1.4; }
.site-main .community-page .board-toolbar p { color: var(--board-muted); font-size: 12px; margin-top: 5px; }
.community-page .board-toolbar .button { flex: none; }
.site-main .community-page .button { min-height: 42px; border-radius: 8px; font-size: 13px; }
.site-main .community-page .button.is-primary { padding: 10px 18px; background: linear-gradient(#ffd398, #ecaa60); color: #322517; border: 1px solid #f5c790; box-shadow: inset 0 1px #ffead099, 0 3px 0 #80582e; font-weight: 700; }
.community-page .board-columns, .community-page .board-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) 120px 100px 66px; align-items: center; column-gap: 16px; padding-inline: 22px; }
.community-page .board-columns { padding-block: 12px; background: #192428; border-top: 1px solid #3a4c50; border-bottom: 1px solid #3a4c50; color: #a8bec2; font-size: 12px; text-align: center; }
.community-page .board-columns > :nth-child(2) { text-align: left; }
.site-main .community-page .board-rows { margin: 0; padding: 0; }
.community-page .board-row { min-height: 44px; border-bottom: 1px solid #34474b; }
.community-page .board-row:last-child { border-bottom: 0; }
.community-page .board-row:hover { background: #293c41; }
.community-page .board-row.is-notice { background: linear-gradient(90deg, #2a4247, #233237); }
.community-page .board-row-number, .community-page .board-row-author, .community-page .board-row-date, .community-page .board-row-views { text-align: center; font-size: 12px; color: var(--board-muted); overflow-wrap: anywhere; }
.community-page .board-row-number { font-variant-numeric: tabular-nums; }
.site-main .community-page .post-tag { display: inline-block; padding: 3px 9px; border: 1px solid #967449; background: #3d3326; color: #ffd398; border-radius: 5px; font-size: 11px; }
.community-page .board-row-title { display: flex; align-items: center; gap: 7px; min-width: 0; min-height: 44px; padding-block: 4px; text-decoration: none; }
.community-page .board-row-title > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.community-page .board-row-title:hover > span:first-child { color: #a5dbe0; }
.community-page .board-replies { flex: none; display: inline-flex; align-items: center; gap: 4px; color: #a5dbe0; font-size: 12px; }
.community-page .board-mobile-label { display: none; }
.community-page .board-list-bottom { display: grid; gap: 12px; padding: 12px 18px; background: #1b262a; border-top: 1px solid var(--board-border); }
.community-page .board-search { width: min(100%, 440px); max-width: none; margin: auto; gap: 8px; }
.site-main .community-page .board-search input { min-width: 0; border-radius: 8px; }
.community-page .board-search .button { flex: none; padding-inline: 18px; }
.community-page .board-search-result { display: flex; justify-content: space-between; gap: 14px; padding: 12px 24px; color: #c2d2d4; font-size: 13px; border-top: 1px solid var(--board-border); }
.community-page .board-search-result a { flex: none; color: #9dd6db; text-underline-offset: 3px; }
.community-page .board-empty { display: grid; justify-items: center; gap: 12px; padding: 64px 24px; text-align: center; border-top: 1px solid var(--board-border); }
.community-page .board-empty > svg { width: 40px; height: 40px; color: #89c5cd; margin-bottom: 6px; }
.community-page .board-empty h2 { font-size: 18px; }
.community-page .board-empty p { color: #b9c9cb; font-size: 14px; }
.site-main .community-page .faq { padding: 24px; gap: 20px; background: #1d272a; }
.site-main .community-page .faq h2 { padding-bottom: 16px; border-bottom: 1px solid #3a4c50; font-size: 18px; }
.site-main .community-page .faq h3 { font-size: 14px; color: #d5e2e3; }
.site-main .community-page .faq p { font-size: 13px; line-height: 1.8; }
.community-page .board-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding: 0 24px 24px; }
.community-page .board-photo-card { display: block; min-width: 0; border: 1px solid #41585d; border-radius: 10px; overflow: hidden; text-decoration: none; background: #26353a; box-shadow: 0 3px 0 #121d21; }
.community-page .board-photo-frame { position: relative; aspect-ratio: 4 / 3; background: #152024; overflow: hidden; }
.site-main .community-page .board-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.community-page .board-photo-card:hover { border-color: #8ccbd2; }
.community-page .board-photo-card:focus-visible { outline: 2px solid #f6b86e; outline-offset: -2px; }
.community-page .board-photo-empty { height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; background: radial-gradient(at 50% 0, #3c5c61, #17262c); color: #b8d9dc; font-size: 12px; }
.community-page .board-photo-empty > svg { width: 32px; height: 32px; }
.community-page .board-photo-count { position: absolute; bottom: 10px; right: 10px; padding: 4px 8px; border-radius: 5px; background: #102025e8; color: #e1f1f1; font-size: 11px; }
.community-page .board-photo-copy { padding: 15px; }
.site-main .community-page .board-photo-copy h3 { font-size: 15px; line-height: 1.6; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-main .community-page .board-photo-copy p { display: flex; justify-content: space-between; gap: 8px; margin-top: 10px; color: #b6c7ca; font-size: 12px; }
.community-page .board-photo-copy time { color: #b6c7ca; font-size: 11px; }
.site-main .community-page .board-article { padding: 0; gap: 0; }
.community-page .board-article .post-head { padding: 28px 30px 24px; gap: 18px; border-bottom: 1px solid #41565b; background: linear-gradient(120deg, #2a3d42, #222f33); }
.community-page .board-article-labels { display: flex; align-items: center; gap: 9px; font-size: 13px; }
.community-page .board-article-labels a { color: #a1d9dd; text-decoration: none; }
.community-page .board-reserved { padding: 2px 7px; border-radius: 4px; color: #ffd398; background: #493b28; font-size: 12px; }
.site-main .community-page .post-head h1 { font-size: clamp(23px, 2.2vw, 30px); line-height: 1.5; overflow-wrap: anywhere; }
.community-page .board-author-line { display: flex; gap: 12px; align-items: center; }
.community-page .board-avatar { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; background: linear-gradient(#4c777d, #2b4b53); border: 1px solid #698f96; color: #e0f4f3; border-radius: 12px; box-shadow: inset 0 1px #badbd633, 0 3px 0 #14282e; font-size: 16px; }
.community-page .board-author-line strong { display: block; font-size: 13px; }
.community-page .board-author-line time { color: #b1c4c7; font-size: 12px; }
.site-main .community-page .board-article-stats { margin-left: auto; display: flex; align-items: center; gap: 16px; color: #b9cdd0; font-size: 12px; }
.community-page .board-article-stats a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; text-decoration: none; }
.community-page .board-article .post-body { min-height: 280px; align-content: start; gap: 22px; padding: 34px 30px 42px; }
.site-main .community-page .post-body p { font-size: 16px; line-height: 1.95; color: #dfe9e9; }
.community-page .post-body a { color: #a2d9de; text-underline-offset: 4px; }
.community-page .board-article-photo { background: #172126; border: 1px solid #3c5056; border-radius: 10px; overflow: hidden; }
.site-main .community-page .board-article-photo .post-photo { width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 680px; object-fit: contain; }
.community-page .board-article-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 30px; border-top: 1px solid #3b5055; background: #1b282d; }
.community-page .board-article-footer .post-actions { gap: 8px; }
.site-main .community-page .comments { padding: 26px 30px; gap: 20px; }
.community-page .comments h2 { padding-bottom: 18px; border-bottom: 1px solid #3c5358; font-size: 19px; }
.community-page .comments h2 > span { color: #f6b86e; margin-left: 6px; }
.community-page .comment { padding: 10px 0; gap: 6px; border-color: #394c51; }
.community-page .comment-head { flex-wrap: wrap; gap: 8px 14px; font-size: 13px; }
.community-page .comment-body { padding-left: 14px; border-left: 2px solid #54828c; }
.site-main .community-page .comment-body p { font-size: 14px; line-height: 1.85; color: #d3e0e2; }
.community-page .comment-head time { color: #adc1c5; font-size: 12px; }
.community-page .comment-delete button { min-height: 40px; padding-inline: 8px; color: #c1d2d4; font-size: 12px; }
.community-page .comment-login { border: 1px dashed #536e75; border-radius: 8px; padding: 18px; background: #18272c; color: #bdcfd2; font-size: 13px; }
.community-page .comment-login a { color: #ffd398; font-weight: 700; margin-right: 4px; }
.community-page .comment-form { padding-top: 4px; gap: 12px; }
.site-main .community-page .comment-form textarea { min-height: 110px; padding: 16px; }
.community-page .comment-form button { min-width: 100px; }
.site-main .community-page .board-editor { padding: 0; gap: 0; }
.community-page .board-editor-fields, .community-page .board-publish-settings { padding: 28px 30px; display: grid; gap: 12px; }
.community-page .board-editor h2 { font-size: 18px; padding-bottom: 18px; border-bottom: 1px solid #3c5358; margin-bottom: 6px; }
.site-main .community-page .board-editor-fields > h1 { font-size: 18px; line-height: 1.4; letter-spacing: normal; padding-bottom: 18px; border-bottom: 1px solid #3c5358; margin-bottom: 6px; }
.community-page .board-field-label { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: 10px; }
.community-page .board-editor label { font-size: 14px; font-weight: 700; }
.community-page .board-field-label label > span { color: #f6c185; font-size: 11px; margin-left: 5px; }
.community-page .board-field-label > span, .community-page .board-field-optional { color: #aec5c9; font-size: 12px; font-weight: 400; }
.site-main .community-page .board-editor input:not([type="checkbox"]) { min-height: 48px; padding: 12px 16px; }
.site-main .community-page .board-editor textarea { padding: 18px; height: 540px; min-height: 240px; font-size: 15px; line-height: 1.9; }
.community-page .board-publish-settings { border-top: 1px solid #3c5358; background: #1c2b30; }
.community-page .board-publish-settings .check { min-height: 42px; font-size: 13px; }
.community-page .board-publish-settings .check input { accent-color: #88c4ca; width: 18px; height: 18px; }
.community-page .board-admin-settings { border-top: 1px dashed #8a6d45; background: #262219; }
.community-page .board-admin-settings h2 { color: #ffce98; }
.site-main .community-page .board-editor .board-admin-settings input[type="number"] { width: 100%; max-width: 240px; }
.community-page .board-editor .help { font-size: 12px; line-height: 1.8; color: #b7cbce; }
.community-page .board-editor > .notice { margin: 22px 30px 0; }
.community-page .board-editor-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 30px; background: #1a272c; border-top: 1px solid #3c5358; }
.community-page .board-editor-footer p { color: #b5c9cd; font-size: 12px; }
.community-page .board-editor-footer .form-actions { margin: 0; }
@media (max-width: 1200px) and (min-width: 1025px), (max-width: 760px) {
  .community-page .board-columns, .community-page .board-row { grid-template-columns: 48px minmax(0, 1fr) 82px 84px 44px; column-gap: 10px; padding-inline: 16px; }
  .community-page .board-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .site-main .community-page { gap: 15px; }
  .site-main .community-page .board-heading { padding: 22px 20px; gap: 14px; }
  .community-page .board-heading-mark { flex-basis: 48px; width: 48px; height: 48px; border-radius: 14px; }
  .community-page .board-heading-mark svg { width: 26px; height: 26px; }
  .community-page .board-navigation { gap: 6px; }
  .community-page .board-navigation a { padding: 8px 12px; font-size: 12px; }
  .community-page .board-toolbar { padding: 18px 16px; gap: 8px; }
  .site-main .community-page .board-toolbar h1 { font-size: 17px; }
  .community-page .board-toolbar .button.is-primary { padding-inline: 12px; font-size: 12px; }
  .community-page .board-columns { display: none; }
  .community-page .board-row { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 14px 16px; align-items: center; }
  .community-page .board-row-number { display: none; }
  .community-page .board-row.is-notice .board-row-number { display: block; flex: 0 0 auto; }
  .community-page .board-row-title { flex: 1 1 100%; min-height: 40px; padding: 0; }
  .community-page .board-row.is-notice .board-row-title { flex: 1 1 calc(100% - 65px); }
  .community-page .board-row-title > span:first-child { white-space: normal; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.65; }
  .community-page .board-row-author, .community-page .board-row-date, .community-page .board-row-views { text-align: left; font-size: 11px; }
  .community-page .board-mobile-label { display: inline; }
  .community-page .board-row-views { margin-left: auto; }
  .community-page .board-list-bottom { padding: 12px; }
  .community-page .board-search-result { padding-inline: 16px; font-size: 12px; }
  .site-main .community-page .faq { padding: 22px 18px; }
  .community-page .board-photos { gap: 12px; padding: 0 16px 18px; }
  .community-page .board-photo-copy { padding: 12px; }
  .community-page .board-photo-copy p { flex-wrap: wrap; }
  .community-page .board-article .post-head { padding: 22px 20px; }
  .community-page .board-author-line { flex-wrap: wrap; gap: 10px; }
  .site-main .community-page .board-article-stats { flex-basis: 100%; margin-left: 48px; gap: 18px; }
  .community-page .board-article .post-body { padding: 26px 20px 34px; min-height: 240px; }
  .site-main .community-page .post-body p { font-size: 15px; }
  .community-page .board-article-footer { padding: 16px 20px; }
  .site-main .community-page .comments { padding: 22px 20px; }
  .community-page .board-editor-fields, .community-page .board-publish-settings { padding: 24px 20px; }
  .community-page .board-editor > .notice { margin: 20px 20px 0; }
  .community-page .board-editor textarea { height: min(450px, 60vh); min-height: 200px; }
  .community-page .board-editor-footer { align-items: stretch; flex-direction: column; padding: 20px; }
  .community-page .board-editor-footer .form-actions { justify-content: flex-end; }
}
@media (max-width: 420px) {
  .community-page .board-photos { grid-template-columns: 1fr; }
  .community-page .board-heading--form .board-heading-mark { display: none; }
}
