
/* NN NEWS HP — Complete image display, no cropping */

.nn-lead-carousel > .nn-lead-slide.hero {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    background: #073d30 !important;
}

.nn-lead-carousel > .nn-lead-slide.hero::after {
    display: none !important;
    content: none !important;
}

.nn-lead-carousel .nn-lead-image-stage {
    width: 100%;
    height: 340px;
    flex: 0 0 340px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #164a3b;
}

/* Background may crop; the original foreground never does. */
.nn-lead-carousel .nn-lead-image-blur {
    position: absolute !important;
    inset: -30px !important;
    width: calc(100% + 60px) !important;
    height: calc(100% + 60px) !important;
    max-width: none !important;
    object-fit: cover !important;
    filter: blur(25px) brightness(.58) saturate(1.12);
    transform: scale(1.08);
    z-index: 0;
}

/* Entire original image always remains visible. */
.nn-lead-carousel .nn-lead-image-original {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    z-index: 1;
}

.nn-lead-carousel .hero-copy {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 12px 20px 14px;
    background: linear-gradient(120deg, #073d30, #14513f);
    color: #fff;
    flex: 1 0 auto;
    z-index: 2;
}

.nn-lead-carousel .hero-copy h1 {
    margin: 0 0 5px;
}

.nn-lead-carousel .hero-copy small {
    color: #e0ebe5;
}

.nn-lead-carousel .nn-lead-no-image {
    display: grid;
    place-items: center;
}

.nn-lead-carousel .nn-lead-no-image .hero-placeholder {
    padding: 0;
}

@media (max-width: 700px) {
    .nn-lead-carousel .nn-lead-image-stage {
        height: clamp(250px, 90vw, 400px);
        flex-basis: clamp(250px, 90vw, 400px);
    }

    .nn-lead-carousel .hero-copy {
        padding: 11px 15px 14px;
    }
}


/* NN NEWS — Original gradient overlay restored V2 */

.nn-lead-carousel > .nn-lead-slide.hero {
    display: block !important;
    position: relative !important;
    height: 450px !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

/* EXACT ORIGINAL GRADIENT */
.nn-lead-carousel > .nn-lead-slide.hero:after {
    content: '' !important;
    display: block !important;
    position: absolute !important;
    inset: 40% 0 0 !important;
    background: linear-gradient(transparent, #071b17eb) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

/* Image fills the original hero frame */
.nn-lead-carousel .nn-lead-image-stage {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    flex: none !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

/* Original image: NEVER crop */
.nn-lead-carousel .nn-lead-image-original {
    object-fit: contain !important;
    object-position: center center !important;
}

/* Original headline placement */
.nn-lead-carousel .hero-copy {
    position: absolute !important;
    left: 25px !important;
    right: 25px !important;
    bottom: 20px !important;
    z-index: 3 !important;
    padding: 0 !important;
    background: transparent !important;
    color: #fff !important;
    flex: none !important;
}

/* Restore previous responsive dimensions */
@media (max-width: 900px) {
    .nn-lead-carousel > .nn-lead-slide.hero {
        height: 380px !important;
    }
}

@media (max-width: 620px) {
    .nn-lead-carousel .hero-copy {
        left: 15px !important;
        right: 15px !important;
        bottom: 20px !important;
    }
}


/* NN News HP V3 — Bottom-aligned headline */
.nn-lead-carousel .hero-copy {
    bottom: 12px !important;
}

.nn-lead-carousel .hero-copy h1 {
    margin: 0 !important;
}

@media (max-width: 620px) {
    .nn-lead-carousel .hero-copy {
        bottom: 10px !important;
    }
}


/* NN NEWS Hindi headline spacing V4 */

/* Desktop and mobile: sufficient room for Hindi matras */
.nn-lead-carousel > .nn-lead-slide.hero .hero-copy h1 {
    line-height: 1.55 !important;
}

/* Preserve original headline bottom positioning */
.nn-lead-carousel > .nn-lead-slide.hero .hero-copy {
    bottom: 12px !important;
}

@media (max-width: 620px) {
    .nn-lead-carousel > .nn-lead-slide.hero .hero-copy {
        bottom: 10px !important;
    }
}
