/* Estilos para la sección de biografías */
#mas-biografias {
    padding: 4rem 0;
    background: #f9f9f9;
}

.spotlight-grid {
    margin-top: 2rem;
}

.box.style2 {
    position: relative;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.box.style2:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.box.style2 .image {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.box.style2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.box.style2 .hover-zoom:hover {
    transform: scale(1.1);
}

.box.style2 .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.box.style2:hover .overlay {
    opacity: 1;
}

.box.style2 h3 {
    margin: 1.5rem 1rem 0.5rem;
    font-size: 1.25rem;
}

.box.style2 p {
    margin: 0 1rem 1.5rem;
    color: #666;
    font-size: 0.9rem;
}

.box.style2 .actions {
    padding: 0 1rem 1.5rem;
}

@media screen and (max-width: 768px) {
    .box.style2 .image {
        height: 150px;
    }
}