/* Klepson — Blog Style (2025) */

/* ------------------------- */
/* Tipografia base articoli  */
/* ------------------------- */

article.section {
  padding: 4rem 1rem;
  line-height: 1.7;
  font-size: 1.05rem;
  color: #222;
}

article .container {
  max-width: 860px;
  margin: auto;
}

article h1 {
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: #111;
}

article h2 {
  font-size: 1.4rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  color: #333;
  border-left: 4px solid #a786ff;
  padding-left: 0.6rem;
}

article p {
  margin-bottom: 1rem;
  color: #333;
}

article strong {
  color: #111;
}

article em {
  color: #5b3be0;
}

/* ------------------------- */
/* Meta e intestazioni       */
/* ------------------------- */

.meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 2rem;
  background: #f8f8ff;
  padding: 0.6rem 1rem;
  border-left: 3px solid #ccc;
  border-radius: 4px;
}

.meta time {
  font-family: monospace;
  color: #444;
}

/* ------------------------- */
/* Link, bottoni e azioni    */
/* ------------------------- */

a {
  color: #5b3be0;
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  text-decoration: underline;
  color: #3d1ebf;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  border: 1px solid #5b3be0;
  background: #5b3be0;
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn:hover {
  background: #3d1ebf;
  border-color: #3d1ebf;
}

.btn-ghost {
  background: transparent;
  color: #5b3be0;
}

.btn-ghost:hover {
  background: #ece8ff;
}

/* ------------------------- */
/* Footer articolo           */
/* ------------------------- */

.article-footer {
  border-top: 1px solid #eee;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  color: #555;
}

.article-footer time {
  color: #444;
}

/* ------------------------- */
/* Responsive                */
/* ------------------------- */

@media (max-width: 768px) {
  article.section {
    padding: 2.5rem 1rem;
  }

  article h1 {
    font-size: 1.6rem;
  }

  article h2 {
    font-size: 1.2rem;
  }
}
