/* ========================================
   Rigoberto Chandomi Blog - Custom Styles
   ========================================= */

/* Navbar logo */
.navbar-logo {
  max-height: 40px;
  border-radius: 50%;
}

/* Post listing cards */
.quarto-post {
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.quarto-post:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Category badges */
.quarto-category {
  border-radius: 20px;
  font-size: 0.8em;
}

/* Code blocks */
pre.sourceCode {
  border-radius: 6px;
}

/* Banner image on index */
img[alt="Banner Rigoberto Chandomi Blog"] {
  border-radius: 8px;
  margin-bottom: 2rem;
}

/* Footer */
.nav-footer {
  border-top: 1px solid #dee2e6;
  padding-top: 1rem;
}

/* Headings in posts */
h2, h3 {
  margin-top: 1.8rem;
}

/* Callout blocks */
.callout {
  border-radius: 6px;
}

/* Back button style (reemplaza bac_button.html) */
.back-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1.2rem;
  background-color: #2c3e50;
  color: white !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9em;
  transition: background-color 0.2s;
}

.back-btn:hover {
  background-color: #3d5166;
  color: white !important;
}
