.pt-portada {
    position: relative;
    width: 100%;
    height: 75vh;/**/
    min-height: 600px;
    background-color: var(--color-white, #ffffff);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding: 90px 20px 20px;/*60px 20px*/
}

.pt-portada-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.pt-portada-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Combined gradients for a perfect fade-out at edges, especially bottom */
    background: 
        radial-gradient(circle at center, transparent 20%, var(--color-grey, #fdfdfd) 90%),
        linear-gradient(to bottom, transparent 70%, var(--color-grey, #fdfdfd) 100%),
        linear-gradient(to top, transparent 85%, var(--color-grey, #fdfdfd) 100%);
    z-index: 40;
    pointer-events: none;
}

.pt-logo-central {
    width: 20%;
    max-width: 350px;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 50;
    pointer-events: auto;
}

.pt-logo-central img {
    width: 90%;/*100*/
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.02));
}

/* Premium Editorial Tunnel Effect - RECOVERED BLUR (7px) */
.pt-floating-img {
    position: absolute;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(0.05);
    /* Set to 7px for a balanced depth feel */
    filter: blur(7px);
    
    transition: 
        opacity 5s ease-in, 
        transform 12s cubic-bezier(0.55, 0.055, 0.675, 0.19), 
        left 12s cubic-bezier(0.55, 0.055, 0.675, 0.19), 
        top 12s cubic-bezier(0.55, 0.055, 0.675, 0.19),
        filter 6s ease-out;
        
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    z-index: 2;
}

.pt-floating-img.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.5);
    filter: blur(0px);
}

.pt-floating-img.fade-out {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.8);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .pt-logo-central { width: 30%; }
    .pt-floating-img { width: 130px; height: 130px; }
}

@media (max-width: 768px) {
    .pt-portada { height: 80vh; min-height: 500px; }
    .pt-logo-central { width: 70%; max-height: 50vh; }
    .pt-floating-img { width: 90px; height: 90px; }
}
