/**
 * Full Image Separator - Editorial Styles & Card Phase
 */

.full-image-sep-v1.editorial-style {
    width: 100% !important;
    margin: 0 !important;
    padding: 100px 0 !important;
    position: relative;
    background: #ffffff;
    /* Clean white background */
    overflow: hidden;
    min-height: 100vh;
}

.sep-blueprint-grid {
    display: none;
    /* Removed for a clean white background */
}

.sep-sticky-wrapper {
    position: relative;
    width: 100%;
    height: 80vh;
    /* Target editorial height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.sep-image-container {
    width: 90%;
    /* Initial card width */
    max-width: 1400px;
    height: 65vh;
    /* Initial card height */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.3);
    will-change: transform, border-radius, width, height;
}

.sep-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
}

/* 🎥 Cinematic Editorial Overlay */
.editorial-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.55) 0%,
            rgba(0, 0, 0, 0.35) 40%,
            rgba(0, 0, 0, 0.7) 100%) !important;
    opacity: 0;
    /* Animated by GSAP */
    z-index: 5;
    pointer-events: none;
}

/* Editorial Content Box */
.sep-content-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 90%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sep-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    /* Premium wide spacing */
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-bottom: 20px;
}

/* Decorative 1px line */
.sep-deco-line {
    width: 0px;
    /* Animated to 80px */
    height: 1px;
    background: white;
    opacity: 0.6;
    margin-bottom: 30px;
}

.sep-main-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: clamp(2rem, 5vw, 4rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em;
    color: white !important;
    text-transform: uppercase;
    margin: 0;
    max-width: 1200px;
}

/* 💎 Branding Gradient for "RESULTADOS" */
.txt-gradient {
    background: linear-gradient(90deg, #EC4899, #3B82F6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* SVG Bridge Styles */
.sep-connector-svg-wrapper {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 320px;
    pointer-events: none;
    z-index: 20;
}

.sep-path {
    stroke: var(--color-primary, #EC4899);
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    /* Animated by GSAP */
    opacity: 0.8;
}

/* Editor Adjustments */
.full-image-sep-editor {
    background: #ffffff;
    padding: 40px;
}

.editorial-content .sep-main-title {
    font-size: 2.5rem !important;
}

@media (max-width: 768px) {
    section.full-image-sep-v1.editorial-style.alignfull.wp-block-castellondigital-full-image-separator {
    display: none;
}
    .sep-image-container {
        width: 100%;
        height: 60vh;
        border-radius: 0;
    }

    .sep-main-title {
        font-size: 2rem !important;
    }

    .sep-eyebrow {
        font-size: 0.9rem;
        letter-spacing: 0.3em;
    }
}