/* ==========================================================================
   Iguazu Noticias — Hero
   Full-bleed photo, purple scrim running left to right, text on the dark side.
   ========================================================================== */

.ig-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    /* Stands in for the photo when no featured image is set. */
    background: var(--purple-950);
}

.ig-hero__media {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ig-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The scrim is a pseudo-element, so it needs no wrapper div and cannot be
   mistaken for content. Heaviest on the left, where the copy sits. */
.ig-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(38, 18, 63, 0.85) 0%,
        rgba(38, 18, 63, 0.55) 48%,
        rgba(38, 18, 63, 0.12) 100%
    );
    pointer-events: none;
}

.ig-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding-block: 96px;
}

.ig-hero__eyebrow {
    color: var(--green-400);
}

.ig-hero__eyebrow::before {
    box-shadow: 0 0 0 3px rgba(152, 56, 148, 0.45);
}

.ig-hero__title {
    max-width: 640px;
    font-size: clamp(34px, 4.6vw, 54px);
    line-height: var(--leading-tight);
    color: #fff;
}

/* Mint, not forest: the highlight has to hold up on a dark photo. */
.ig-hero__hl {
    color: var(--green-400);
}

.ig-hero__lead {
    max-width: 52ch;
    color: var(--green-100);
    font-size: var(--text-lg);
}

.ig-hero__actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

@media (max-width: 960px) {
    .ig-hero {
        min-height: 520px;
    }

    .ig-hero__inner {
        padding-block: 72px 96px;
    }

    /* Vertical scrim on narrow screens: the photo has no room to breathe
       sideways, so the copy needs cover above and below instead. */
    .ig-hero::after {
        background: linear-gradient(
            180deg,
            rgba(38, 18, 63, 0.72) 0%,
            rgba(38, 18, 63, 0.82) 60%,
            rgba(38, 18, 63, 0.9) 100%
        );
    }
}
