/* ==========================================================================
   COMUNIDAD EFECTO METAL – style10.css
   Autocontenido (NO depende de style.css) + adjuntar imagen
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #c1121f;
  --primary-dark: #8f0e18;
  --dark: #212529;
  --bg: #0a0a0a;
  --card: #141414;
  --card-hover: #1c1c1c;
  --border: rgba(193, 18, 31, 0.35);
  --text: #e8e8e8;
  --muted: #999;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
}

/* ---------- HEADER ---------- */
header {
  background: var(--dark);
  color: white;
  padding: 1rem;
  position: relative;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
  position: relative;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary);
  text-decoration: none;
  flex-shrink: 0;
}

.header-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  flex-shrink: 0;
}

.copyright {
  font-size: 0.85rem;
  color: #ccc;
  margin: 0;
}

.menu-toggle {
  display: none;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 300;
  margin-left: auto;
  width: 52px;              /* ancho fijo */
  height: 52px;
  flex-shrink: 0;
  display: none;            /* se muestra en mobile abajo */
  align-items: center;
  justify-content: center;
  line-height: 1;
}

#mainNav {
  margin-left: auto;
  transition: all 0.3s ease;
}

#mainNav ul {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
}

#mainNav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

#mainNav a:hover,
#mainNav a.active {
  background: var(--primary);
  color: white;
}

@media (min-width: 993px) {
  #mainNav {
    display: block !important;
  }
  #mainNav ul {
    display: flex !important;
    flex-wrap: nowrap;
  }
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 992px) {
  .menu-toggle {
    display: flex !important;   /* flex para centrar el ícono */
  }

  .nav-container {
    flex-wrap: nowrap;          /* NO wrap: logo + botón en una sola fila */
    align-items: center;
  }

  .header-left {
    flex: 1;
    min-width: 0;
    /* NO cambia de posición al abrir el menú */
  }

  #mainNav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #1a1a1a;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.7);
    z-index: 200;
    margin-left: 0;
  }

  #mainNav.show,
  #mainNav ul.show {
    display: block !important;
  }

  #mainNav.show ul,
  #mainNav ul.show {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    padding: 0 15px;
    width: 100%;
  }

  #mainNav a {
    padding: 15px 20px;
    font-size: 1.2rem;
    display: block;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: normal;
  }

  #mainNav li:last-child a {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .header-left {
    flex-direction: column;
    align-items: flex-start;   /* antes: center */
    text-align: left;          /* antes: center */
  }
}

@media (max-width: 480px) {
  .copyright {
    display: none;
  }
}

/* ---------- COMUNIDAD ---------- */
.community-main {
  min-height: calc(100vh - 80px);
  background: var(--bg);
  color: var(--text);
}

.community-hero {
  background: linear-gradient(135deg, rgba(193, 18, 31, 0.25) 0%, rgba(10, 10, 10, 0.95) 60%),
              radial-gradient(ellipse at top, rgba(193, 18, 31, 0.15), transparent 70%);
  border-bottom: 2px solid var(--border);
  padding: 2.5rem 1rem 2rem;
  text-align: center;
}

.community-hero-content h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 20px rgba(193, 18, 31, 0.8);
  margin-bottom: 0.6rem;
}

.community-hero-content h1 i {
  color: var(--primary);
  margin-right: 0.4rem;
}

.community-hero-content p {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.community-toolbar {
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 50;
}

.toolbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.user-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(193, 18, 31, 0.5);
  text-transform: uppercase;
}

.user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user-label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-info strong {
  font-size: 1rem;
  color: #fff;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrap i {
  position: absolute;
  left: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  pointer-events: none;
}

.search-wrap input {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 0.55rem 1rem 0.55rem 2.2rem;
  color: #fff;
  font-size: 0.95rem;
  width: 220px;
  transition: border-color 0.2s, width 0.25s;
}

.search-wrap input:focus {
  outline: none;
  border-color: var(--primary);
  width: 260px;
}

.search-wrap input::placeholder {
  color: #666;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 0 18px rgba(193, 18, 31, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #ccc;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: #fff;
  background: rgba(193, 18, 31, 0.12);
}

.btn-sm {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.btn-danger {
  background: transparent;
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.4);
  border-radius: 6px;
  padding: 0.3rem 0.6rem;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-danger:hover {
  background: rgba(231, 76, 60, 0.15);
}

.community-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: start;
}

.categories-panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
  position: sticky;
  top: 90px;
}

.categories-panel h2 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  color: #ccc;
  font-size: 0.92rem;
  transition: background 0.2s, color 0.2s;
  margin-bottom: 2px;
}

.category-list li:hover {
  background: rgba(193, 18, 31, 0.12);
  color: #fff;
}

.category-list li.active {
  background: rgba(193, 18, 31, 0.22);
  color: #fff;
  font-weight: 600;
  border-left: 3px solid var(--primary);
}

.category-list li i {
  width: 18px;
  text-align: center;
  color: var(--primary);
  opacity: 0.85;
}

.cat-count {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 0.75rem;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  font-weight: 600;
}

.category-list li.active .cat-count {
  background: var(--primary);
  color: #fff;
}

.community-stats {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.community-stats h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.community-stats p {
  font-size: 0.9rem;
  color: #bbb;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.community-stats p i {
  color: var(--primary);
  width: 16px;
}

.community-stats strong {
  color: #fff;
  margin-left: auto;
}

/* ---------- FEED + POSTS ---------- */
.feed-panel {
  min-width: 0;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.feed-header h2 {
  font-size: 1.35rem;
  color: #fff;
  letter-spacing: 1px;
}

#sortSelect {
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ddd;
  border-radius: 8px;
  padding: 0.45rem 0.8rem;
  font-size: 0.9rem;
  cursor: pointer;
}

#sortSelect:focus {
  outline: none;
  border-color: var(--primary);
}

.posts-container {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.post-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  animation: fadeIn 0.35s ease;
}

.post-card:hover {
  border-color: var(--border);
  background: var(--card-hover);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.post-header {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.post-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c1121f, #5a0a10);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.post-meta {
  flex: 1;
  min-width: 0;
}

.post-author {
  font-weight: 700;
  color: #fff;
  font-size: 0.98rem;
}

.post-time {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 2px;
}

.post-cat-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: rgba(193, 18, 31, 0.2);
  color: #f08080;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.post-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  word-break: break-word;
}

.post-body {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  margin-bottom: 1rem;
}

.post-image {
  margin: 0 0 1rem 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
}

.post-image img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.post-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.action-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  border-radius: 20px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.action-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.action-btn.liked {
  color: var(--primary);
  border-color: rgba(193, 18, 31, 0.35);
  background: rgba(193, 18, 31, 0.1);
}

.action-btn.liked i {
  animation: heartPop 0.3s ease;
}

@keyframes heartPop {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.post-owner-actions {
  margin-left: auto;
  display: flex;
  gap: 0.4rem;
}

/* ---------- COMENTARIOS ---------- */
.comments-section {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  display: none;
}

.comments-section.open {
  display: block;
  animation: fadeIn 0.3s ease;
}

.comment {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.6rem 0.75rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #444, #222);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-author {
  font-weight: 700;
  font-size: 0.85rem;
  color: #eee;
}

.comment-time {
  font-size: 0.7rem;
  color: var(--muted);
  margin-left: 0.4rem;
}

.comment-text {
  font-size: 0.88rem;
  color: #bbb;
  margin-top: 0.2rem;
  line-height: 1.45;
  word-break: break-word;
}

.comment-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.comment-form input {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  color: #fff;
  font-size: 0.9rem;
}

.comment-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.comment-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.comment-form button:hover {
  background: var(--primary-dark);
}

.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.6;
  margin-bottom: 0.75rem;
  display: block;
}

/* ---------- MODALES ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal {
  background: #161616;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: slideUp 0.3s ease;
}

.modal-sm {
  max-width: 380px;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #888;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.modal-close:hover {
  color: #fff;
}

.modal h2 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 1.25rem;
  padding-right: 1.5rem;
}

.modal label {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 1rem;
  font-weight: 600;
}

.modal input[type="text"],
.modal select,
.modal textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
}

.modal input:focus,
.modal select:focus,
.modal textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.modal .hint {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -0.5rem 0 1rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* ---------- ADJUNTAR IMAGEN ---------- */
.image-upload-label {
  display: block;
  font-size: 0.85rem;
  color: #aaa;
  margin-bottom: 1rem;
  font-weight: 600;
}

.image-upload-box {
  margin-top: 0.35rem;
  position: relative;
}

.image-upload-box input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.image-upload-ui {
  border: 2px dashed rgba(193, 18, 31, 0.4);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  background: rgba(193, 18, 31, 0.06);
  transition: border-color 0.2s, background 0.2s;
  pointer-events: none;
}

.image-upload-box:hover .image-upload-ui {
  border-color: var(--primary);
  background: rgba(193, 18, 31, 0.12);
}

.image-upload-ui i {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.image-upload-ui span {
  display: block;
  color: #ddd;
  font-size: 0.95rem;
  font-weight: 600;
}

.image-upload-ui small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 400;
}

.image-preview-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0f0f0f;
}

.image-preview-wrap img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  background: #0a0a0a;
}

.btn-remove-image {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  transition: background 0.2s;
}

.btn-remove-image:hover {
  background: #e74c3c;
}

/* ---------- TOAST + FOOTER ---------- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a1a1a;
  border: 1px solid var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 8px 30px rgba(193, 18, 31, 0.35);
  animation: toastIn 0.3s ease;
}

.toast[hidden] {
  display: none !important;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.community-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 1rem;
  text-align: center;
}

.community-footer p {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #888;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .community-layout {
    grid-template-columns: 1fr;
  }
  .categories-panel {
    position: static;
  }
  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .category-list li {
    flex: 0 0 auto;
    margin-bottom: 0;
    padding: 0.5rem 0.7rem;
    font-size: 0.85rem;
  }
  .category-list li.active {
    border-left: none;
    border-bottom: 2px solid var(--primary);
  }
  .community-stats {
    display: none;
  }
}

@media (max-width: 600px) {
  .community-hero {
    padding: 1.75rem 0.75rem 1.5rem;
  }
  .toolbar-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .user-box {
    justify-content: center;
  }
  .toolbar-actions {
    justify-content: center;
  }
  .search-wrap,
  .search-wrap input,
  .search-wrap input:focus {
    width: 100%;
  }
  .post-card {
    padding: 1rem;
  }
  .post-title {
    font-size: 1.05rem;
  }
  .post-owner-actions {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
    margin-top: 0.4rem;
  }
  .community-footer p {
    flex-direction: column;
    text-align: center;
  }
  .modal {
    padding: 1.25rem;
  }
}