/* ============================================================
   하단부: 커뮤니티 위젯, 태그 클라우드, 다크 푸터 (3단 가로)
   ============================================================ */

/* ---------- 커뮤니티 활동 위젯 (푸터 바로 위) ---------- */
.footer-bottom-wrap {
  background: rgba(10, 14, 23, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.footer-community-widget {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-community-widget .widget-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #8b95a5;
  margin: 0 0 0.75rem 0;
  padding-left: 0.5rem;
  border-left: 3px solid #00d1ff;
}

.footer-community-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.footer-community-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #e8ecf1;
  flex-shrink: 0;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.footer-community-item:hover {
  background: rgba(0, 209, 255, 0.12);
  border-color: rgba(0, 209, 255, 0.3);
  color: #00d1ff;
}

.footer-community-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1a2332 0%, #0f1420 100%);
  border: 2px solid rgba(0, 209, 255, 0.4);
  overflow: hidden;
  flex-shrink: 0;
}

.footer-community-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-community-avatar .avatar-initial {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: #00d1ff;
  background: rgba(0, 209, 255, 0.15);
}

.footer-community-label {
  font-size: 0.8125rem;
  font-weight: 500;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-community-meta {
  font-size: 0.75rem;
  color: #8b95a5;
}

/* ---------- 검색어 / 태그 클라우드 (푸터 바로 위) ---------- */
.footer-tag-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-tag-section .widget-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #8b95a5;
  margin: 0 0 0.75rem 0;
  padding-left: 0.5rem;
  border-left: 3px solid #a855f7;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-cloud li { display: inline; }

.tag-cloud a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  font-size: 0.8125rem;
  color: #8b95a5;
  text-decoration: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tag-cloud a:hover {
  color: #00d1ff;
  background: rgba(0, 209, 255, 0.1);
  border-color: rgba(0, 209, 255, 0.25);
}

/* ---------- 다크 푸터 (#000, 3단 가로) ---------- */
#nt_footer.footer-dark {
  background: #000000 !important;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 1.5rem;
}

#nt_footer.footer-dark .footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

#nt_footer.footer-dark .footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2rem;
}

@media (min-width: 576px) {
  #nt_footer.footer-dark .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  #nt_footer.footer-dark .footer-grid {
    grid-template-columns: 1fr auto 1fr;
    align-items: start;
  }
}

#nt_footer.footer-dark .footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin: 0 0 0.75rem 0;
}

#nt_footer.footer-dark .footer-col p,
#nt_footer.footer-dark .footer-col a {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0 0 0.35rem 0;
  text-decoration: none;
}

#nt_footer.footer-dark .footer-col a:hover {
  color: #00d1ff;
}

#nt_footer.footer-dark .footer-sns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#nt_footer.footer-dark .footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  transition: background 0.2s ease, color 0.2s ease;
}

#nt_footer.footer-dark .footer-sns a:hover {
  background: rgba(0, 209, 255, 0.2);
  color: #00d1ff;
}

#nt_footer.footer-dark .footer-copyright {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

#nt_footer.footer-dark .nt-links {
  border-top: none !important;
  border-bottom: none !important;
  padding: 0 0 1rem 0 !important;
}

#nt_footer.footer-dark .nt-links ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#nt_footer.footer-dark .nt-links li::after {
  display: none;
}

#nt_footer.footer-dark .nt-links a {
  color: #9ca3af;
  font-size: 0.8125rem;
}

#nt_footer.footer-dark .nt-links a:hover {
  color: #00d1ff;
}
