/* Detail-only presentation. Forms, links, translations and app handlers are unchanged. */
@font-face {
  font-family: "Community Editorial";
  src: url("/static/fonts/pretendard/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
.community-detail-page .community-detail-main {
  padding-block: 36px 72px;
  background: #fff;
  color: #192638;
  font-family: "Community Editorial", -apple-system, BlinkMacSystemFont, sans-serif;
  --community-text: #192638;
  --community-muted: #667085;
}
.community-detail-page .community-detail-layout { gap: 44px; }
.community-detail-page .community-detail-article {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.community-detail-page .community-back-link {
  min-height: 44px;
  margin-bottom: 20px;
  font-size: 13px;
  font-weight: 500;
}
.community-detail-page .community-detail-header { padding-bottom: 22px; border-color: #e6eaf0; }
.community-detail-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13px; line-height: 1.6; }
.community-detail-page .community-post-category { padding: 0; border: 0; background: none; color: #3063b9; font-size: 13px; font-weight: 500; }
.community-detail-page .community-post-category > span { display: none; }
.community-detail-region { min-width: 0; color: #667085; overflow-wrap: anywhere; }
.community-detail-region > span { margin-inline-end: 4px; color: #98a2b3; }
.community-detail-page .community-detail-header h1 { margin: 10px 0 18px; font-size: clamp(28px, 3vw, 36px); font-weight: 650; line-height: 1.35; letter-spacing: -.035em; }
.community-detail-page .community-detail-author-row { flex-wrap: wrap; gap: 8px 16px; }
.community-detail-page .community-author { min-width: 0; max-width: 100%; gap: 8px; }
.community-detail-page .community-author__avatar { width: 30px; height: 30px; flex: 0 0 30px; display: grid; place-items: center; padding: 0; border: 0; background: #f2f4f7; color: #60728b; font-size: 12px; font-weight: 500; line-height: 1; text-align: center; }
.community-detail-page :is(.community-author__avatar,.community-comment__avatar) > span { display: block; line-height: 1; }
.community-detail-page .community-author > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 10px; min-width: 0; }
.community-detail-page .community-author strong { color: #526174; font-size: 13px; font-weight: 500; overflow-wrap: anywhere; white-space: normal; }
.community-detail-page .community-author small { margin: 0; color: #667085; font-size: 12px; }
.community-detail-page .community-detail-header-actions { width: auto; max-width: 100%; min-width: 0; flex: 0 1 auto; flex-wrap: wrap; justify-content: flex-end; margin-inline-start: auto; gap: 6px; }
.community-detail-page .community-view-count--detail > span { display: inline; }
.community-detail-page .community-view-count--detail strong { color: inherit; font-size: inherit; font-weight: 500; }
.community-detail-page .community-owner-delete { min-height: 44px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.community-detail-page .community-translation-status { margin: 14px 0 0; font-size: 12px; }
.community-detail-page .community-detail-translation[hidden] { display: none !important; }
.community-detail-page .community-original { margin: 4px 0 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.community-detail-page .community-original summary { width: fit-content; min-height: 44px; padding-block: 10px; font-size: 13px; color: #5f7390; }
.community-detail-page .community-original > div { padding: 14px 16px; border-inline-start: 2px solid #dce5f3; background: #f6f8fb; }
.community-detail-page .community-detail-body { min-height: 0; padding: 26px 0 30px; font-size: 17px; line-height: 1.85; }
.community-detail-page .community-detail-route {
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 20px;
  padding: 14px;
  border: 1px solid #dfe7f2;
  border-radius: 8px;
  background: #f8faff;
}
.community-detail-page .community-detail-route__visual { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 5px; background: #edf2f8; }
.community-detail-page .community-detail-route__visual .community-route-thumbnail-fallback { padding: 4px; font-size: 10px; line-height: 1.4; }
.community-detail-page .community-detail-route__copy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 0; }
.community-detail-page .community-detail-route__copy > span { grid-column: 1; color: #667085; font-size: 11px; font-weight: 400; letter-spacing: 0; }
.community-detail-page .community-detail-route__copy h2 { grid-column: 1; margin: 3px 0; color: #344d70; font-size: 15px; font-weight: 600; line-height: 1.4; }
.community-detail-page .community-detail-route__copy p { grid-column: 1; margin: 0; font-size: 12px; line-height: 1.5; }
.community-detail-page .community-detail-route__copy > a {
  grid-column: 2; grid-row: 1 / 4;
  min-height: 44px; max-width: 180px; min-width: 0;
  padding: 8px 10px; border: 1px solid #dce5f1; border-radius: 6px;
  box-shadow: none; background: #fff; color: #3766ae;
  font-size: 13px; font-weight: 500; line-height: 1.4; text-align: center;
}
.community-detail-page .community-detail-route__copy > a:hover { background: #edf4ff; border-color: #b8ccef; transform: none; }
.community-detail-page .community-detail-route__copy > a svg { flex-shrink: 0; }
.community-detail-page .community-detail-actions { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 12px; border-color: #e6eaf0; }
.community-detail-page :is(.community-view-count--detail,.community-detail-like,.community-share-button) { display: inline-flex; align-items: center; justify-content: center; flex: 0 1 auto; width: auto; max-width: 100%; min-height: 44px; gap: 6px; padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 999px; background: #f7f9fc; color: #526174; font-size: 13px; font-weight: 500; line-height: 1.5; }
.community-detail-page :is(.community-view-count--detail,.community-detail-like,.community-share-button) svg { width: 16px; height: 16px; flex: 0 0 16px; stroke-width: 1.8; }
.community-detail-page .community-detail-like [data-like-count] { padding: 0; border: 0; color: inherit; font-size: 13px; font-weight: 500; line-height: inherit; }
.community-detail-page .community-share-button { margin-inline-start: 0; color: #526174; }
.community-detail-page .community-detail-like:is(:hover,.is-liked) { color: var(--community-red); border-color: #fecdd3; background: #fff1f2; }
.community-detail-page .community-share-button:hover { color: #2454a2; border-color: #b8ccef; background: #edf4ff; }
.community-detail-page .community-comments { margin-top: 22px; padding-top: 24px; border-color: #e6eaf0; }
.community-detail-page .community-comments__header { gap: 8px; }
.community-detail-page .community-comments__header h2 { font-size: 18px; font-weight: 600; }
.community-detail-page .community-comments__header > span { min-width: 0; height: auto; background: none; color: #3063b9; font-size: 14px; font-weight: 500; }
.community-detail-page .community-comment-login { min-height: 48px; padding: 12px 16px; border: 1px solid #e3e8ef; border-radius: 8px; background: #f8faff; font-size: 14px; font-weight: 400; line-height: 1.6; }
.community-detail-page .community-comment-empty { margin-top: 12px; padding: 20px 0 12px; border-radius: 0; background: none; font-size: 13px; }
.community-detail-page .community-comment-form { padding: 16px; border-color: #e3e8ef; border-radius: 8px; background: #f8faff; }
.community-detail-page .community-comment-form__label { font-size: 13px; font-weight: 500; }
.community-detail-page .community-comment-form textarea { border-radius: 6px; font-size: 16px; }
.community-detail-page .community-comment-form__privacy { font-size: 12px; }
.community-detail-page .community-comment-form__footer > span { font-size: 12px; }
.community-detail-page .community-comment-form__footer .community-button { min-height: 44px; border-radius: 6px; box-shadow: none; font-size: 13px; font-weight: 500; }
.community-detail-page .community-comment__avatar { width: 32px; height: 32px; padding: 0; line-height: 1; text-align: center; background: #f2f4f7; color: #60728b; font-weight: 500; }
.community-detail-page .community-comment__head strong { font-size: 13px; font-weight: 500; }
.community-detail-page .community-comment__head time { font-size: 12px; color: #667085; white-space: normal; }
.community-detail-page .community-comment__head button { min-width: 44px; min-height: 44px; font-size: 12px; }
.community-detail-page .community-comment__main > p { font-size: 16px; line-height: 1.75; }
.community-detail-page .community-detail-sidebar { margin-top: 64px; padding: 0 0 0 24px; padding-inline: 24px 0; border: 0; border-inline-start: 1px solid #e6eaf0; border-radius: 0; box-shadow: none; }
.community-detail-page .community-detail-sidebar__head { padding-bottom: 18px; }
.community-detail-page .community-detail-sidebar__head > span { display: none; }
.community-detail-page .community-detail-sidebar__head small { font-size: 12px; font-weight: 500; color: #667085; }
.community-detail-page .community-detail-sidebar__head h2 { margin-top: 5px; font-size: 17px; font-weight: 600; }
.community-detail-page .community-related-card { padding: 16px 0; }
.community-detail-page .community-related-card > span { font-size: 12px; color: #667085; }
.community-detail-page .community-related-card h3 { margin: 6px 0; font-size: 15px; font-weight: 550; line-height: 1.5; overflow-wrap: anywhere; }
.community-detail-page .community-related-card h3 a { display: inline-flex; align-items: center; min-height: 44px; }
.community-detail-page .community-related-card > div { flex-wrap: wrap; gap: 4px 10px; margin-top: 4px; color: #667085; font-size: 12px; }
.community-detail-page .community-related-card small { font-size: inherit; overflow-wrap: anywhere; }
.community-detail-page .community-detail-sidebar > .community-button { min-height: 44px; border-radius: 6px; box-shadow: none; font-size: 13px; font-weight: 500; }
.community-detail-page .community-detail-main :is(a,button,summary,textarea):focus-visible { outline: 2px solid #426dc3; outline-offset: 3px; }
@media (max-width: 1023px) {
  .community-detail-page .community-detail-layout { gap: 28px; }
  .community-detail-page .community-detail-route__copy { grid-template-columns: minmax(0, 1fr); }
  .community-detail-page .community-detail-route__copy > a { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 4px; padding: 6px 0; border-color: transparent; background: transparent; }
}
@media (max-width: 820px) {
  .community-detail-page .community-detail-sidebar { margin-top: 0; padding: 28px 0 0; border-inline-start: 0; border-top: 1px solid #e6eaf0; }
  .community-detail-page .community-related-list { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .community-detail-page .community-detail-main { padding-block: 16px 44px; }
  .community-detail-page .community-detail-layout { width: calc(100% - 32px); gap: 28px; }
  .community-detail-page .community-back-link { margin-bottom: 14px; }
  .community-detail-page .community-detail-header { padding-bottom: 18px; }
  .community-detail-page .community-detail-header h1 { margin: 8px 0 14px; font-size: 28px; }
  .community-detail-page .community-detail-header-actions { width: 100%; }
  .community-detail-page .community-detail-body { padding-block: 22px 26px; font-size: 16px; line-height: 1.8; }
  .community-detail-page .community-detail-route { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .community-detail-page .community-detail-route__visual { width: 48px; height: 48px; align-self: start; }
  .community-detail-page .community-detail-route__copy > a { max-width: 100%; }
  .community-detail-page .community-comment-form__footer { flex-direction: row; align-items: center; flex-wrap: wrap; }
  .community-detail-page .community-comment-form__footer .community-button { width: auto; }
}
