.custom-post-widget {
    display: block;
}

.featured-post {
    width: 100%;
    max-width: 50%;
    float: left;
    padding-bottom: 10px;
	padding: 10px;
    border-radius: 8px;
    border: 1px solid #fff;
    padding-right: 10px;
    padding-left: 10px;
}

.featured-post > .post-date {
    margin-top: 10px;
}

.featured-post img {
    height: 500px !important;
    object-fit: cover;
    border-radius: 8px !important;
}

.featured-post p {
  color: #727272;
  font-size: 18px;
  font-weight: 400;
}

.featured-post h2 {
    font-size: 24px !important;
	font-weight: 700 !important;
	color: #290c97 !important;
}

.custom-post-widget .post-date {
    color: #D81F90;
    font-weight: 700;
    margin-bottom: 5px;
}

.recent-posts {
    width: 100%;
    max-width: 50%;
    float: right;
    padding-left: 20px;
    align-items: flex-start;
}

.recent-post {
    display: flex;
    margin-bottom: 10px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #fff;
    padding-bottom: 10px;
    border-radius: 8px;
    padding-right: 10px;
    padding-left: 10px;
}

.recent-post .recent-image {
    margin-right: 20px;
    width: auto;
}

.recent-post .recent-image img {
    max-width: 250px; /* Ajusta según sea necesario */
    height: 215px;
    border-radius: 8px;
    object-fit: cover;
}

.recent-post .recent-text {
    display: flex;
    flex-direction: column;
}

.recent-post .recent-text p {
    color: #727272;
    font-size: 18px;
    font-weight: 400;
}

.recent-post .recent-text h2 {
   margin-top: 0px;
   font-size: 16px;
   font-weight: 700;
   color: #290c97;
	/* 
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; 
  overflow: hidden;
	*/
}


.recent-post .read-more {
    color: #DD128F;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
}

.recent-post .read-more i {
    margin-left: 10px;
    font-size: 18px;
}

.recent-post .read-more:hover {
    color: #00CCFF;
}

.recent-post .read-more:hover i {
    margin-left: 15px;
}

.boton-interna-plugin {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
	color: #DD128F !important;
}

.boton-interna-plugin:hover {
	color: #00CCFF !important;
}

.boton-interna-plugin i {
    margin-left: 10px;
    font-size: 18px;
}

.boton-interna-plugin:hover i {
    margin-left: 15px;
}

.featured-post:hover {
    cursor: pointer;
    background-color: #FAFAFC;
    border: 1px solid #d4d4d4;
}

.recent-post:hover {
    cursor: pointer;
    background-color: #FAFAFC;
    border: 1px solid #d4d4d4;
}

.boton-interna-plugin:hover {
    color: #101828;
}



/* Responsiveness */
@media (max-width: 1024px) {
    .custom-post-widget {
		display: flex;
        flex-direction: column;
    }

    .featured-post {
        width: 100%;
        max-width: 100%;
    }

    .featured-post h2 {
       font-size: 21px !important;
    }

    .featured-post img {
        height: 350px !important;
        object-fit: cover;
    }

    .recent-posts {
        width: 100%;
        max-width: 100%;
        padding-left: 0px;
		margin-top: 20px;
    }
    .recent-post .recent-text p {
       display: none;
    }
    .recent-post .recent-image {
        margin-right: 20px;
        width: auto;
    }

    .recent-post .recent-image img {
        width: 200px; /* Ajusta según sea necesario */
        height: 130px;
        object-fit: cover;
    }

    .recent-post .recent-text {
        width: 100%;
    }

    .recent-post {
        padding: 0px;
    }

    .recent-post .recent-text h2 {
        font-size: 16px;
    }

    .recent-post .read-more {
        font-size: 14px;
    }

    .recent-post .read-more i {
        font-size: 14px;
    }

    .boton-interna-plugin {
        font-size: 14px !important;
    }

    .boton-interna-plugin i {
        margin-left: 10px;
        font-size: 14px;
    }

    .custom-post-widget .post-date {
        font-size: 14px;
    }

    .recent-post .recent-text p {
        font-size: 16px;
    }

    .featured-post p {
        font-size: 16px;
      }
}


.featured-content, .recent-content {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 769px) {
    .featured-content {
        -webkit-line-clamp: 3; /* Número de líneas para truncar el contenido */
    }

    .recent-content {
        -webkit-line-clamp: 2; /* Número de líneas para truncar el contenido */
    }
}

@media (max-width: 550px) { 
    .featured-post img {
        height: 250px !important;
        object-fit: cover;
    }
    
    .recent-post:hover {
        cursor: pointer;
        background-color: #ffff;
        border: none;
    } 	
	.featured-post:hover {
        cursor: pointer;
        background-color: #ffff;
        border: none;
}

}
