/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 30 2025 | 16:38:43 */
.title_highlight {
	font-style: italic;
}

.text_highlight {
	font-style: italic;
	color: #628bff;
}

/* --- Widget Entradas Hover Vertical --- */

/* 1. Contenedor Grid (Rejilla) */
.custom-hover-posts-grid {
    display: grid;
    /* Ajusta automáticamente columnas de mínimo 280px */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
}

/* 2. Caja de la entrada (Item) */
.hover-post-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px; /* Bordes redondeados */
    aspect-ratio: 2 / 3; /* Formato Vertical Rectangular */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 0 !important;
}

/* 3. Enlace que cubre todo */
.hover-post-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none !important;
    border: none !important;
}

/* 4. Imagen de fondo */
.hover-post-bg-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* 5. Capa oscura (Overlay) */
.hover-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fondo negro al 75% de opacidad */
    background: rgba(20, 20, 20, 0.75); 
    opacity: 0; /* Invisible por defecto */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    text-align: center;
    transition: all 0.4s ease-in-out;
}

/* 6. Título */
.hover-post-title {
    color: #fff !important;
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 0 0 20px 0 !important;
    /* Empieza desplazado hacia abajo */
    transform: translateY(30px);
    transition: transform 0.5s ease;
}

/* 7. Botón CTA */
.hover-post-cta-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #628bff;
    color: white !important;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    /* Empieza desplazado hacia abajo */
    transform: translateY(30px);
    transition: transform 0.5s ease 0.1s, background-color 0.3s;
}

.hover-post-cta-btn:hover {
    background-color: #f0f0f0;
    color: #000 !important;
}

/* --- ANIMACIONES HOVER --- */

/* Mostrar overlay al pasar ratón */
.hover-post-item:hover .hover-post-overlay {
    opacity: 1;
}

/* Zoom suave en la imagen */
.hover-post-item:hover .hover-post-bg-image {
    transform: scale(1.1);
}

/* Subir textos a su posición original */
.hover-post-item:hover .hover-post-title,
.hover-post-item:hover .hover-post-cta-btn {
    transform: translateY(0);
}