/* Spotlight — modern SVG backdrop + soft image edge only */
.export-spotlight {
    --es-bg: #eef3f9;
    --es-bg-rgb: 238, 243, 249;
    --es-ink: #0a1628;
    --es-navy: #0b3d91;
    --es-muted: #475569;
    position: relative;
    z-index: 2;
    background: var(--es-bg);
    margin: 0;
    margin-top: -2.5rem; /* tuck under hero wave — continuous surface */
    padding: 3.75rem 0 3.75rem;
    overflow: hidden;
}

.export-spotlight__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.export-spotlight__bg-svg {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.export-spotlight__container {
    position: relative;
    z-index: 1;
}

.export-spotlight__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* Left — title + description */
.export-spotlight__copy {
    position: relative;
    padding: 0.5rem 0 1rem;
}

.export-spotlight__title {
    margin: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--es-ink);
    line-height: 1.15;
}

.export-spotlight__rule {
    display: block;
    width: 52px;
    height: 3px;
    margin: 0.9rem 0 1.15rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--es-navy) 0%, #4e8cff 100%);
    box-shadow: 0 2px 8px rgba(11, 61, 145, 0.22);
}

.export-spotlight__text {
    margin: 0;
    max-width: 38ch;
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--es-muted);
}

/* Right — full image visible; only thin outer edge blends into bg */
.export-spotlight__media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: transparent;
    justify-self: stretch;
    isolation: isolate;
}

.export-spotlight__image {
    display: block;
    width: 100%;
    height: clamp(280px, 40vw, 480px);
    object-fit: cover;
    object-position: 72% center;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    /* Soften only the outer rim — photo stays fully visible */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 5%, #000 88%, transparent 100%);
    mask-image:
        linear-gradient(to right, transparent 0%, #000 6%, #000 94%, transparent 100%),
        linear-gradient(to bottom, transparent 0%, #000 5%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

/* Thin edge washes — hide the hard rectangle only */
.export-spotlight__fade {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.export-spotlight__fade--left {
    top: 0;
    bottom: 0;
    left: 0;
    width: 10%;
    background: linear-gradient(
        90deg,
        rgba(var(--es-bg-rgb), 0.95) 0%,
        rgba(var(--es-bg-rgb), 0.35) 55%,
        transparent 100%
    );
}

.export-spotlight__fade--right {
    top: 0;
    bottom: 0;
    right: 0;
    width: 8%;
    background: linear-gradient(
        270deg,
        rgba(var(--es-bg-rgb), 0.9) 0%,
        rgba(var(--es-bg-rgb), 0.25) 55%,
        transparent 100%
    );
}

.export-spotlight__fade--top {
    top: 0;
    left: 0;
    right: 0;
    height: 8%;
    background: linear-gradient(
        180deg,
        rgba(var(--es-bg-rgb), 0.9) 0%,
        rgba(var(--es-bg-rgb), 0.25) 55%,
        transparent 100%
    );
}

.export-spotlight__fade--bottom {
    bottom: 0;
    left: 0;
    right: 0;
    height: 14%;
    background: linear-gradient(
        0deg,
        rgba(var(--es-bg-rgb), 0.98) 0%,
        rgba(var(--es-bg-rgb), 0.4) 50%,
        transparent 100%
    );
}

@media (max-width: 991.98px) {
    .export-spotlight {
        margin-top: -2rem;
        padding: 2.75rem 0 2.75rem;
    }

    .export-spotlight__grid {
        grid-template-columns: 1fr;
        gap: 1.35rem;
    }

    .export-spotlight__copy {
        order: 1;
        padding: 0;
    }

    .export-spotlight__title {
        font-size: clamp(1.65rem, 4.5vw, 2.25rem);
    }

    .export-spotlight__text {
        max-width: none;
        font-size: 0.98rem;
    }

    .export-spotlight__media {
        order: 2;
        width: 100%;
        max-width: 100%;
    }

    .export-spotlight__image {
        height: clamp(220px, 40vw, 320px);
        object-position: 65% center;
    }

    .export-spotlight__fade--left {
        width: 12%;
    }

    .export-spotlight__fade--bottom {
        height: 16%;
    }
}

@media (max-width: 575.98px) {
    .export-spotlight {
        margin-top: -1.5rem;
        padding: 2rem 0 2.25rem;
    }

    .export-spotlight__title {
        font-size: clamp(1.45rem, 7vw, 1.85rem);
    }

    .export-spotlight__text {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .export-spotlight__image {
        height: auto;
        aspect-ratio: 16 / 10;
        max-height: 240px;
        min-height: 180px;
    }

    .export-spotlight__fade--left {
        width: 10%;
    }

    .export-spotlight__fade--bottom {
        height: 14%;
    }
}
