/* Community subcategories use ordinary page links; no script or content changes. */
.community-board-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  margin: 0 0 20px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.community-board-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 39px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
}
.community-board-tab:hover {
  color: var(--text);
  background: var(--surface-soft);
}
.community-board-tab[aria-current="page"],
.community-board-tab.active {
  color: var(--brand);
  background: var(--tint);
}
.community-board-tab:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
@media (max-width: 560px) {
  .community-board-tabs {
    gap: 4px;
    padding: 5px;
    margin-bottom: 17px;
  }
  .community-board-tab {
    flex: 1 1 auto;
    min-height: 40px;
    padding: 8px 9px;
    font-size: 11px;
  }
}
.community-nav-children{display:grid;gap:2px;margin:0 0 7px 41px;padding-left:11px;border-left:1px solid var(--line)}
.community-nav-child{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;color:var(--muted);font-size:12px;border-radius:7px}
.community-nav-child:hover,.community-nav-child.active{background:var(--tint);color:var(--brand)}
.community-nav-child.active{font-weight:700}
.community-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
.post-body[data-imported-content] video{display:block;width:auto;max-width:100%;height:auto;max-height:80vh;margin:16px auto;border-radius:8px;background:#10131a}
.post-body[data-imported-content] .source-video-link{display:inline-flex;margin:8px 0}
@media(max-width:1250px){.community-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:800px){.community-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}}
/* Uploaded images can sit between text blocks or appear in the attachment gallery. */
.post-body img{display:block;max-width:100%;height:auto;margin:18px auto;border-radius:10px}
.post-body p{overflow-wrap:anywhere}
.post-attachments{margin:26px 0;padding-top:22px;border-top:1px solid var(--line)}
.post-attachments h2{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:15px}
.post-attachments h2 span{color:var(--muted);font-size:12px;font-weight:500}
.post-attachment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.post-attachment-grid a{display:block;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface-soft)}
.post-attachment-grid img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.post-attachment-grid a:focus-visible{outline:3px solid var(--brand);outline-offset:3px}
.verification-details{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}
.verification-details h2{margin:0 0 14px;font-size:15px}
.verification-details dl{display:grid;gap:12px;margin:0}
.verification-details dl>div{display:grid;grid-template-columns:90px minmax(0,1fr);gap:12px;font-size:13px;line-height:1.7}
.verification-details dt{color:var(--muted)}
.verification-details dd{margin:0;font-weight:600;overflow-wrap:anywhere}
.verification-site{color:var(--text);user-select:text}
.community-gallery.event-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
.event-gallery .slot-card-cover{aspect-ratio:4/3}
@media(max-width:760px){.community-gallery.event-gallery{grid-template-columns:minmax(0,1fr)}}
@media(max-width:560px){.post-attachment-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.verification-details{padding:16px}.verification-details dl>div{grid-template-columns:74px minmax(0,1fr);gap:8px}}
