/* Estilos para single posts del blog */

/* Banner con imagen destacada */
.single-post-banner {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: 0px 20%;
  background-repeat: no-repeat;
  position: relative;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.single-post-banner .banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* Contenedor principal del post */
.single-post .entry-content {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

.single-post .site-content > div.ast-container{
  max-width: unset;
  padding: 0 10vw;
}

@media (max-width:768px) {
  .single-post .site-content > div.ast-container{
    padding: 0 1rem;
  }
}

.single-post .entry-content[data-ast-blocks-layout] > *{
  max-width: unset;
}

.single-post .site-content > div.ast-container .ast-article-single{
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* Título del post */
.single-post .entry-title {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #383F45;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 20px;
}

/* Ocultar meta información del post (autor y fecha) */
.single-post .entry-meta,
.single-post .posted-on,
.single-post .byline,
.single-post .posted-by,
.single-post .ast-author-meta,
.single-post .post-meta-container,
.single-post .entry-header .entry-meta {
  display: none !important;
}

/* Imágenes del post */
.single-post .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}

/* Párrafos */
.single-post .entry-content p {
  margin-bottom: 20px;
}

/* Enlaces */
.single-post .entry-content a {
  color: #e30d13;
  text-decoration: none;
  transition: color 0.3s ease;
}

.single-post .entry-content a:hover {
  color: #303b92;
  text-decoration: underline;
}

/* Listas */
.single-post .entry-content ul,
.single-post .entry-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

.single-post .entry-content li {
  margin-bottom: 10px;
}

/* Blockquotes */
.single-post .entry-content blockquote {
  border-left: 4px solid #e30d13;
  padding-left: 20px;
  margin: 20px 0;
  font-style: italic;
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .single-post-banner {
    height: 250px;
  }

  .single-post .entry-title {
    font-size: 28px;
  }

  .single-post .entry-content {
    font-size: 14px;
  }
}
