/*CARROUSEL NEW_IN*/
.now-in-container{
  flex-wrap: nowrap !important;
}

.divider {
  border-bottom: 1px solid #ccc; /* Línea de 1px de color gris */
  margin-bottom: 0; /* Asegura que esté pegado al margen inferior */
}

/* Contenedor de filas */
.ast-row {
  display: flex;
  gap: 20px;
}

.ast-single-post .entry-title, .ast-single-post .entry-title a {
  line-height: 0.9;
  margin-top: 0;
}

/* Columnas de igual tamaño */
.ast-col-md-4 {
  flex: 1 1 25%; /* Asegura que cada columna ocupe el 25% del ancho del contenedor */
  box-sizing: border-box;
  padding: 0 1rem; /* Ajustar padding a los costados */
}

.ast-post-thumbnail {
  position: relative; /* Necesario para posicionar el pseudo-elemento correctamente */
  border-radius: 0.4rem; /* Mantiene el borde redondeado del contenedor */
  width: 100%;
  height: 12rem;
	z-index:80;
}

.ast-post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-in-out; /* Efecto progresivo */
  display: block; /* Elimina el espacio de margen inferior */
  border-radius:0.2rem;
}

.ast-post-thumbnail a{
  z-index: 900;
  position:relative;
}

/* Capa de superposición */
.ast-post-thumbnail::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* Inicialmente invisible */
  transition: background-color 0.7s ease-in-out; /* Transición progresiva */
  border-radius: 0.2rem; /* Coincide con la imagen */
}

.ast-post-thumbnail:hover img {
  transform: scale(1.1); /* Zoom del 110% y rotación de 5 grados */
  background-color: rgba(0, 0, 0, 0.3); /* Superposición negra con 30% de opacidad */
}

/* Superposición al hacer hover */
.ast-post-thumbnail:hover::after {
  background-color: rgba(0, 0, 0, 0.3); /* Superposición negra con 30% de opacidad */
}

/* Estilo del título del post */
.new-in-posts .entry-title a {
  text-decoration: none !important;
  font-size: 1vw;
  color: inherit;        
}

/* Estilo de la categoría */
.entry-header .category {
  text-transform: uppercase;
  text-decoration: none;
  background-color: #009BD9;
  padding: 2px 18px 1px 18px;
  border-radius: 2rem;
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}


/*CATEGORY UNDERLINE*/

.category a{
  text-decoration: none !important;
  font-size: 0.8rem;
}

.entry-header{
  margin-top: 1rem !important;
      height: 27% !important;
}

.entry-title{
  line-height: 1.1;
}

.page .entry-header {
  margin-bottom: 1rem;
}

/* Estilo del título del post */
.entry-title a {
  text-decoration: none !important;    
  text-transform: none; /* No convertir a mayúsculas */
  font-size: 1.1rem;  
  color: inherit; /* Mantener el color del texto del contenedor */
  font-weight: normal; /* Peso de fuente normal */
}

/* Estilo de la metadata */
.meta {
  font-size: 0.7rem; /* Ajustar tamaño de fuente si es necesario */
  text-transform: uppercase !important; /* Convertir fecha a mayúsculas */
  font-weight: normal; /* Sin negrita */
  margin-bottom: 1.5vw;
}

.meta .author {
  text-transform: uppercase !important; /* Convertir nombre del autor a mayúsculas */
  font-weight: bold; /* Negrita */
}

.author-name {
  font-weight: bold;
}

article.ast-article-single {
 
  height: 100%;
}

article.ast-article-single .meta {
  margin-top: auto;
}

.ast-page-builder-template .entry-header{
  margin-left:0 !important;
}