.elementor-742 .elementor-element.elementor-element-eac9c5d{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--margin-top:75px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-742 .elementor-element.elementor-element-510f0e4{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0%;--margin-bottom:0%;--margin-left:0%;--margin-right:0%;--padding-top:0%;--padding-bottom:0%;--padding-left:6%;--padding-right:6%;}.elementor-742 .elementor-element.elementor-element-bf92440{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-742 .elementor-element.elementor-element-150685b{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:80px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}:root{--page-title-display:none;}@media(min-width:768px){.elementor-742 .elementor-element.elementor-element-bf92440{--width:80%;}.elementor-742 .elementor-element.elementor-element-150685b{--width:20%;}}/* Start custom CSS for shortcode, class: .elementor-element-800308a *//* ── EDHUCO · Sidebar Comunidad ── */

.ec-sidebar {
  position: sticky;
  top: 20px;
  background: rgba(26, 18, 6, 0.97);
  border: 0.5px solid rgba(184, 154, 90, 0.2);
  border-radius: 20px;
  padding: 20px;
  color: #f0e6cc;
}

/* Login */
.ec-sidebar--login { text-align: center; }
.ec-login-icon { font-size: 2.5rem; margin-bottom: 12px; }
.ec-btn-login {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 22px;
  background: linear-gradient(135deg, #c9963c, #e8c06a);
  color: #1a1206;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-decoration: none;
}

/* Perfil */
.ec-profile-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 0.5px solid rgba(184, 154, 90, 0.15);
  margin-bottom: 14px;
}
.ec-avatar-wrap {
  position: relative;
  width: fit-content;
}
.ec-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid #b89a5a;
  display: block;
}
.ec-status-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 11px;
  height: 11px;
  background: #4ade80;
  border-radius: 50%;
  border: 2px solid #1a1206;
}
.ec-user-name { font-size: 15px; font-weight: 600; color: #f5dfa0; }
.ec-user-meta { font-size: 11px; color: #b89a5a; margin-top: 2px; }
.ec-stat { text-align: left; }
.ec-stat-value { font-size: 18px; font-weight: 700; color: #e8c06a; }
.ec-stat-label { font-size: 10px; color: #b89a5a; letter-spacing: 0.1em; text-transform: uppercase; }

/* Buscador */
.ec-search-wrap { margin-bottom: 12px; }
.ec-search-input {
  width: 100%;
  box-sizing: border-box;
  padding: 9px 14px;
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(184,154,90,0.25);
  border-radius: 8px;
  color: #f5dfa0;
  font-size: 13px;
  outline: none;
  transition: border-color 0.3s;
}
.ec-search-input:focus { border-color: rgba(184,154,90,0.7); }
.ec-search-input::placeholder { color: rgba(184,154,90,0.4); }

/* Menú */
.ec-menu { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.ec-menu-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(184,154,90,0.15);
  border-radius: 10px;
  color: #f0e6cc;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: left;
}
.ec-menu-btn:hover {
  background: rgba(184,154,90,0.12);
  border-color: rgba(184,154,90,0.35);
}
.ec-menu-btn--admin { border-color: rgba(239,159,75,0.2); }
.ec-menu-btn--admin:hover { background: rgba(239,159,75,0.1); }
.ec-divider {
  padding: 8px 0 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b89a5a;
}

/* Logout */
.ec-btn-logout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 0.5px solid rgba(239,68,68,0.3);
  border-radius: 10px;
  background: rgba(239,68,68,0.07);
  color: #f09595;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s;
}
.ec-btn-logout:hover { background: rgba(239,68,68,0.14); }

/* Feed — estados */
.ec-loading, .ec-empty {
  text-align: center;
  padding: 2rem;
  color: #b89a5a;
  font-size: 14px;
}

/* Post actions */
.ec-post-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
}
.ec-like-btn, .ec-reply-toggle {
  background: transparent;
  border: 0.5px solid rgba(184,154,90,0.2);
  border-radius: 20px;
  padding: 5px 12px;
  color: #b89a5a;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.ec-like-btn:hover, .ec-reply-toggle:hover {
  background: rgba(184,154,90,0.1);
  border-color: rgba(184,154,90,0.5);
}
.ec-like-btn.ec-liked { color: #f09595; border-color: rgba(240,149,149,0.4); }

/* Eliminar */
.ec-delete-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 14px;
  opacity: 0.4;
  transition: opacity 0.2s;
  padding: 2px 6px;
}
.ec-delete-btn:hover { opacity: 1; }

/* Comentarios */
.ec-comments {
  margin-top: 10px;
  border-top: 0.5px solid rgba(255,255,255,0.07);
  padding-top: 10px;
}
.ec-comment {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}
.ec-comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(184,154,90,0.3);
  color: #e8c06a;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ec-comment-name { font-size: 12px; font-weight: 600; color: #f5dfa0; margin-right: 6px; }
.ec-comment-date { font-size: 10px; color: #b89a5a; }
.ec-comment-text { margin: 3px 0 0; font-size: 13px; color: #d4c4a0; line-height: 1.5; }

/* Formulario de respuesta */
.ec-reply-form { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.ec-reply-input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(184,154,90,0.2);
  border-radius: 8px;
  color: #f0e6cc;
  font-size: 13px;
  resize: none;
  outline: none;
}
.ec-reply-input:focus { border-color: rgba(184,154,90,0.6); }
.ec-reply-send {
  align-self: flex-end;
  padding: 7px 18px;
  background: linear-gradient(135deg, #c9963c, #e8c06a);
  border: none;
  border-radius: 6px;
  color: #1a1206;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ec-reply-send:hover { opacity: 0.85; }
.ec-reply-send:disabled { opacity: 0.5; cursor: not-allowed; }/* End custom CSS */
/* Start custom CSS *//* ── EDHUCO · Comunidad ── */
/* Editable también desde Elementor → CSS adicional */

.edhuco-comunidad-container { padding: 20px; }

.edhuco-create-card,
.edhuco-post-card {
  background: #2a2a2a;
  color: #f0f0f0;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.edhuco-create-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.edhuco-create-input {
  flex: 1;
  padding: 10px;
  border: none;
  background: #1e1e1e;
  color: #f0f0f0;
  border-radius: 6px;
  cursor: pointer;
}

.edhuco-avatar {
  background: #b89a5a;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  flex-shrink: 0;
}

.edhuco-post-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.edhuco-name { font-weight: bold; color: #fff; }
.edhuco-date { font-size: 0.8em; color: #bbb; }
.edhuco-post-content { line-height: 1.6; }

.edhuco-empty {
  color: #999;
  font-style: italic;
  text-align: center;
  padding: 2rem;
}

/* Modal */
.edhuco-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.edhuco-modal.active { display: flex; }

.edhuco-modal-inner {
  background: #2e2e2e;
  border-radius: 12px;
  padding: 24px;
  width: min(90%, 480px);
  color: #f0f0f0;
}

.edhuco-textarea {
  width: 100%;
  height: 100px;
  background: #1e1e1e;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  resize: vertical;
  box-sizing: border-box;
}

.edhuco-publish-btn {
  width: 100%;
  padding: 12px;
  margin-top: 12px;
  background: #b89a5a;
  color: #1a1206;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.2s;
}
.edhuco-publish-btn:hover { opacity: 0.85; }/* End custom CSS */