/* ── QUVO En Desarrollo v2.1.0 ──────────────────────────────────── */

/* ─── SHORTCODE TIMELINE ─────────────────────────────────────── */

.qed-wrap {
  border-top: 3px solid #111;
  padding: 32px 0;
  background: transparent;
}

.qed-heading {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid #111;
  color: #111;
  font-family: 'Archivo', sans-serif;
}

.qed-track {
  position: relative;
  padding-left: 22px;
}

.qed-track::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: #ddd;
}

.qed-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  border-bottom: 1px solid #ebebeb;
  padding: 16px 4px 16px 0;
  text-decoration: none;
  transition: background .12s;
}

.qed-item:last-child { border-bottom: none; }
.qed-item:hover { background: rgba(0,71,55,.04); }

.qed-dot {
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #111;
  margin-top: 5px;
  margin-left: -22px;
  position: relative;
  z-index: 1;
  transition: background .18s, transform .18s;
}

.qed-item:hover .qed-dot {
  background: #004737;
  border-color: #004737;
  transform: scale(1.2);
}

.qed-content { flex: 1; min-width: 0; }

.qed-cat {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #004737;
  margin-bottom: 5px;
  font-family: 'Archivo', sans-serif;
}

.qed-txt {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: #1a1a1a;
  font-family: 'Archivo', sans-serif;
  transition: color .12s;
}

.qed-item:hover .qed-txt { color: #004737; }

.qed-arrow {
  color: #555;
  font-size: 16px;
  align-self: center;
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s, transform .18s;
}

.qed-item:hover .qed-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ─── SINGLE — CABECERA ───────────────────────────────────────── */

.qed-post-header-wrap {
  padding: 32px 0 24px;
}

.qed-post-header { max-width: 860px; }

/* categoría — igual al resto del sitio */
.qed-post-cat {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #004737;
  margin: 0 0 12px;
  font-family: 'Archivo', sans-serif;
}

/* h1 hereda del tema — solo ajustamos márgenes */
.qed-post-header h1 {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
}

.qed-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #888;
  font-family: 'Inter', system-ui, sans-serif;
}

/* badge que distingue estas notas de las regulares */
.qed-post-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: #111;
  padding: 3px 9px;
  border-radius: 3px;
  font-family: 'Archivo', sans-serif;
}

.qed-post-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #B6FC4E;
  flex-shrink: 0;
}

/* línea divisoria debajo del header, igual a las notas regulares */
.qed-post-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 0 0 32px;
}

/* ─── SINGLE — CONTENIDO ──────────────────────────────────────── */

.qed-post-content {
  font-size: 16px;
  line-height: 1.75;
  color: #1a1a1a;
  font-family: 'Inter', system-ui, sans-serif;
  padding-bottom: 32px;
}

.qed-post-content p { margin-bottom: 1.4em; }

/* ─── SINGLE — SIDEBAR ────────────────────────────────────────── */

/* El sidebar usa los mismos widgets que las notas regulares —
   no se necesita CSS extra, hereda los estilos del tema */
.qed-sidebar {
  padding-top: 4px;
}

/* ─── SINGLE — META ───────────────────────────────────────────── */

/* Badge arriba solo, fecha abajo sola */
.qed-post-meta {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.qed-post-badge {
  margin-bottom: 20px;
}

.qed-post-meta time {
  font-size: 13px;
  color: #888;
}

/* ─── SINGLE — FOOTER ─────────────────────────────────────────── */

.qed-post-footer {
  padding: 28px 0 48px;
  border-top: 1px solid #e8e8e8;
  margin-top: 64px;
}

.qed-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #004737;
  text-decoration: none;
  font-family: 'Archivo', sans-serif;
  transition: opacity .15s;
}

.qed-post-back::before {
  content: '';
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.qed-post-back:hover { opacity: .6; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .qed-wrap         { padding: 24px 0; }
  .qed-txt          { font-size: 14px; }
  .qed-post-content { font-size: 15px; }
}
