/* ==========================================================================
   QuickPaste Blog - Hoja de estilo compartida
   Misma paleta que popup.css / landing: morado-rosa sobre fondo oscuro.
   ========================================================================== */

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(ellipse 700px 400px at 10% -10%, rgba(168, 85, 247, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 400px at 100% 10%, rgba(236, 72, 153, 0.12), transparent 55%),
    #0b0712;
  color: #e9e2f7;
  line-height: 1.7;
}

a { color: #bb86fc; text-decoration: none; }
a:hover { text-decoration: underline; }

.blog-header, .blog-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.blog-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 17px;
  color: #ffffff;
}

.blog-brand img { width: 28px; height: 28px; border-radius: 7px; }

.blog-nav a { font-size: 13.5px; font-weight: 600; color: #cbb8ee; margin-left: 18px; }

.blog-cta {
  border: 1px solid rgba(187, 134, 252, 0.6);
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
}
.blog-cta:hover { text-decoration: none; box-shadow: 0 0 16px rgba(168, 85, 247, 0.6); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 24px 60px;
}

/* Índice del blog */
.post-list { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }

.post-card {
  display: block;
  border: 1px solid rgba(187, 134, 252, 0.25);
  border-radius: 12px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.post-card:hover { border-color: rgba(187, 134, 252, 0.6); transform: translateY(-2px); text-decoration: none; }

.post-card h2 { margin: 0 0 6px; font-size: 18px; color: #ffffff; }
.post-card p { margin: 0; font-size: 13.5px; color: #b6a6da; }
.post-date { display: block; font-size: 11.5px; color: #8a76b3; margin-bottom: 6px; }

/* Artículo individual */
article h1 {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 10px 0 6px;
}

article .post-meta { font-size: 12.5px; color: #8a76b3; margin-bottom: 28px; }

article h2 {
  font-size: 21px;
  color: #ffffff;
  margin-top: 38px;
  border-left: 3px solid #bb86fc;
  padding-left: 12px;
}

article p, article li { font-size: 15.5px; color: #d6c6ef; }
article ul, article ol { padding-left: 22px; }

article pre, article .template-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(187, 134, 252, 0.3);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13.5px;
  color: #f0ecf9;
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  margin: 14px 0;
}

.inline-cta {
  margin: 36px 0;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(187, 134, 252, 0.4);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(236, 72, 153, 0.08));
}

.inline-cta p { margin: 0 0 12px; color: #f0ecf9; font-weight: 600; }

.blog-footer { font-size: 12px; color: #766194; margin-top: 40px; }
