.newsletter-hero {
    position: relative;
    display: flex;
    /* right-hand & top/bottom gutter */
    min-height: 360px;
    /* matches screenshot height */
    overflow: hidden;
}

/* 70 % image slice */
.nh-img {
    flex: 0 0 100%;
    position: relative;
}

.nh-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(.7);
    /* subtle dark overlay */
    border-radius: 5px;
}

/* Caption ribbon at bottom of image */
.nh-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 80%;
    background: rgba(255, 255, 255, .7);
    /* deep navy */
    color: #000000;
    /* TMU orange */
    padding: .9rem 1.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 5px;
}

/* Orange meta panel (30 %), vertically centred */
.nh-meta {
    position: absolute;
    /* sit on top of black gutter */
    right: 20%;
    top: 50%;
    transform: translateY(-50%);
    width: 30%;
    max-width: 420px;
    background: #ff7900;
    text-align: center;
    padding: 2rem 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    color: #000;
    /* dark text */
    border-radius: 5px;
}

.nh-meta h4 {
    margin: 0;
    font-weight: 700;
    line-height: 1.45;
    color: white;
}

.nh-btn {
    display: inline-block;
    background: #001e64;
    color: #fff;
    font-weight: 600;
    padding: .55rem 1.9rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background .2s;
}

.nh-btn:hover {
    background: #ffffff;
}

.p-50 {
    padding: 0 10rem;
}

.p-70 {
    padding: 0 13rem;
}

@media (max-width:1100px) {
    .p-70 {
        padding: 0 5rem;
    }
}
/* ------------  Responsive (≤ 991 px) ------------ */
@media (max-width:768.99px) {
    .newsletter-hero {
        flex-direction: column;
        min-height: 380px
    }

    .nh-img {
        flex: 0 0 100%;
        height: 80%;
        width: auto;
    }

    .nh-meta {
        position: absolute;
        right: 10%;
        top: 60%;
        width: 80%;
        max-width: none;
        transform: none;
        margin: 1rem 0 0;
        padding: 1rem 0.8rem;
    }

    .nh-meta h4 {
        font-size: 1rem;
    }

    .nh-caption {
        display: none;
    }

    .p-70 {
        padding: 0 2rem;
    }
}




@media (max-width:600px) {
    .newsletter-hero {
        flex-direction: column;
        min-height: 360px
    }

    .nh-meta {
        right: 10%;
        top: 35%;
    }

    .p-70 {
        padding: 0 2rem;
    }
}

@media (max-width:500px) {
    .newsletter-hero {
        flex-direction: column;
        min-height: 330px
    }

    .nh-meta {
        right: 10%;
        top: 30%;
    }

    .p-70 {
        padding: 0 2rem;
    }
}

/* Optional for better spacing */
[data-lightbox] img {
    transition: transform 0.2s ease;
    cursor: zoom-in;
}

[data-lightbox] img:hover {
    transform: scale(1.03);
}